solvimon-python-sdk 0.0.4b0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- solvimon_python_sdk/__init__.py +2413 -0
- solvimon_python_sdk/api/__init__.py +74 -0
- solvimon_python_sdk/api/alert_rules_api.py +1700 -0
- solvimon_python_sdk/api/alerts_api.py +1038 -0
- solvimon_python_sdk/api/api_keys_api.py +1973 -0
- solvimon_python_sdk/api/approval_policy_api.py +2573 -0
- solvimon_python_sdk/api/approval_request_api.py +2673 -0
- solvimon_python_sdk/api/attachments_api.py +1329 -0
- solvimon_python_sdk/api/audit_records_api.py +786 -0
- solvimon_python_sdk/api/authentication_api.py +2714 -0
- solvimon_python_sdk/api/authentication_providers_api.py +1638 -0
- solvimon_python_sdk/api/billing_entities_api.py +1698 -0
- solvimon_python_sdk/api/bulk_actions_api.py +2150 -0
- solvimon_python_sdk/api/contacts_api.py +2036 -0
- solvimon_python_sdk/api/coupons_api.py +3059 -0
- solvimon_python_sdk/api/credit_types_api.py +2597 -0
- solvimon_python_sdk/api/custom_fields_api.py +1724 -0
- solvimon_python_sdk/api/customers_api.py +4667 -0
- solvimon_python_sdk/api/documents_api.py +1274 -0
- solvimon_python_sdk/api/features_api.py +2003 -0
- solvimon_python_sdk/api/file_processing_settings_api.py +991 -0
- solvimon_python_sdk/api/files_api.py +1716 -0
- solvimon_python_sdk/api/ingest_api.py +5989 -0
- solvimon_python_sdk/api/integrations_api.py +3297 -0
- solvimon_python_sdk/api/invoices_api.py +9743 -0
- solvimon_python_sdk/api/meter_properties_api.py +1648 -0
- solvimon_python_sdk/api/meter_property_variables_api.py +2473 -0
- solvimon_python_sdk/api/meter_value_calculations_api.py +1688 -0
- solvimon_python_sdk/api/meter_values_api.py +1648 -0
- solvimon_python_sdk/api/meters_api.py +1990 -0
- solvimon_python_sdk/api/payment_acceptors_api.py +1971 -0
- solvimon_python_sdk/api/payment_methods_api.py +2370 -0
- solvimon_python_sdk/api/payment_schedules_api.py +2641 -0
- solvimon_python_sdk/api/payments_api.py +3133 -0
- solvimon_python_sdk/api/platforms_api.py +1584 -0
- solvimon_python_sdk/api/portal_urls_api.py +1703 -0
- solvimon_python_sdk/api/pricing_groups_api.py +1290 -0
- solvimon_python_sdk/api/pricing_plan_groups_api.py +2579 -0
- solvimon_python_sdk/api/pricing_plan_schedules_api.py +3507 -0
- solvimon_python_sdk/api/pricing_plan_subscription_groups_api.py +1736 -0
- solvimon_python_sdk/api/pricing_plan_subscriptions_api.py +4918 -0
- solvimon_python_sdk/api/pricing_plan_versions_api.py +1629 -0
- solvimon_python_sdk/api/pricing_plans_api.py +2475 -0
- solvimon_python_sdk/api/pricings_api.py +1008 -0
- solvimon_python_sdk/api/product_categories_api.py +2339 -0
- solvimon_python_sdk/api/product_items_api.py +3443 -0
- solvimon_python_sdk/api/products_api.py +3478 -0
- solvimon_python_sdk/api/promotion_codes_api.py +2727 -0
- solvimon_python_sdk/api/quote_templates_api.py +1987 -0
- solvimon_python_sdk/api/quote_versions_api.py +3908 -0
- solvimon_python_sdk/api/quotes_api.py +2743 -0
- solvimon_python_sdk/api/report_configurations_api.py +1356 -0
- solvimon_python_sdk/api/report_definitions_api.py +391 -0
- solvimon_python_sdk/api/report_subscriptions_api.py +1996 -0
- solvimon_python_sdk/api/reports_api.py +4754 -0
- solvimon_python_sdk/api/reprocess_api.py +1092 -0
- solvimon_python_sdk/api/roles_api.py +1701 -0
- solvimon_python_sdk/api/seat_assignments_api.py +1732 -0
- solvimon_python_sdk/api/signature_requests_api.py +992 -0
- solvimon_python_sdk/api/tax_id_types_api.py +343 -0
- solvimon_python_sdk/api/teams_api.py +1322 -0
- solvimon_python_sdk/api/usage_limits_api.py +2306 -0
- solvimon_python_sdk/api/users_api.py +3961 -0
- solvimon_python_sdk/api/wallet_grants_api.py +1076 -0
- solvimon_python_sdk/api/wallet_types_api.py +2576 -0
- solvimon_python_sdk/api/wallets_api.py +4168 -0
- solvimon_python_sdk/api/webhook_events_api.py +1042 -0
- solvimon_python_sdk/api/webhooks_api.py +3557 -0
- solvimon_python_sdk/api/workflow_action_executions_api.py +1409 -0
- solvimon_python_sdk/api/workflow_actions_api.py +1630 -0
- solvimon_python_sdk/api/workflow_triggers_api.py +1451 -0
- solvimon_python_sdk/api/workflows_api.py +3259 -0
- solvimon_python_sdk/api_client.py +843 -0
- solvimon_python_sdk/api_response.py +21 -0
- solvimon_python_sdk/configuration.py +688 -0
- solvimon_python_sdk/exceptions.py +219 -0
- solvimon_python_sdk/models/__init__.py +1130 -0
- solvimon_python_sdk/models/account_membership_representation.py +132 -0
- solvimon_python_sdk/models/account_membership_representation_create_request.py +132 -0
- solvimon_python_sdk/models/account_membership_representation_update_request.py +132 -0
- solvimon_python_sdk/models/account_number_and_bic.py +124 -0
- solvimon_python_sdk/models/account_representation.py +101 -0
- solvimon_python_sdk/models/address.py +109 -0
- solvimon_python_sdk/models/address_create_request.py +109 -0
- solvimon_python_sdk/models/address_update_request.py +109 -0
- solvimon_python_sdk/models/adyen_auto_rescue.py +95 -0
- solvimon_python_sdk/models/adyen_direct_payment_context.py +95 -0
- solvimon_python_sdk/models/adyen_integration_details.py +89 -0
- solvimon_python_sdk/models/adyen_issuer.py +91 -0
- solvimon_python_sdk/models/adyen_payment_action.py +91 -0
- solvimon_python_sdk/models/adyen_payment_gateway_integration.py +152 -0
- solvimon_python_sdk/models/adyen_payment_method_option.py +110 -0
- solvimon_python_sdk/models/adyen_required_action.py +97 -0
- solvimon_python_sdk/models/adyen_tokenization_request.py +97 -0
- solvimon_python_sdk/models/adyen_tokenization_request_create_request.py +97 -0
- solvimon_python_sdk/models/adyen_verify_details.py +95 -0
- solvimon_python_sdk/models/adyen_verify_details_create_request.py +95 -0
- solvimon_python_sdk/models/agent_context.py +100 -0
- solvimon_python_sdk/models/agent_context_create_request.py +100 -0
- solvimon_python_sdk/models/agent_context_update_request.py +100 -0
- solvimon_python_sdk/models/alert.py +141 -0
- solvimon_python_sdk/models/alert_create_request.py +138 -0
- solvimon_python_sdk/models/alert_data.py +99 -0
- solvimon_python_sdk/models/alert_data_create_request.py +99 -0
- solvimon_python_sdk/models/alert_data_entitlement.py +105 -0
- solvimon_python_sdk/models/alert_data_invoice.py +95 -0
- solvimon_python_sdk/models/alert_data_invoice_overdue.py +96 -0
- solvimon_python_sdk/models/alert_data_value.py +95 -0
- solvimon_python_sdk/models/alert_response_wrapper.py +108 -0
- solvimon_python_sdk/models/alert_rule.py +193 -0
- solvimon_python_sdk/models/alert_rule_create_request.py +187 -0
- solvimon_python_sdk/models/alert_rule_create_request_event.py +193 -0
- solvimon_python_sdk/models/alert_rule_entitlement.py +115 -0
- solvimon_python_sdk/models/alert_rule_entitlement_create_request.py +115 -0
- solvimon_python_sdk/models/alert_rule_entitlement_update_request.py +115 -0
- solvimon_python_sdk/models/alert_rule_invoice.py +105 -0
- solvimon_python_sdk/models/alert_rule_invoice_create_request.py +105 -0
- solvimon_python_sdk/models/alert_rule_invoice_overdue.py +105 -0
- solvimon_python_sdk/models/alert_rule_invoice_update_request.py +105 -0
- solvimon_python_sdk/models/alert_rule_response_wrapper.py +108 -0
- solvimon_python_sdk/models/alert_rule_update_request.py +193 -0
- solvimon_python_sdk/models/amount.py +112 -0
- solvimon_python_sdk/models/amount_create_request.py +112 -0
- solvimon_python_sdk/models/amount_update_request.py +112 -0
- solvimon_python_sdk/models/api_error.py +123 -0
- solvimon_python_sdk/models/api_key.py +157 -0
- solvimon_python_sdk/models/api_key_create_request.py +157 -0
- solvimon_python_sdk/models/api_key_paginated_response_wrapper.py +108 -0
- solvimon_python_sdk/models/api_key_update_request.py +157 -0
- solvimon_python_sdk/models/applied_coupon.py +109 -0
- solvimon_python_sdk/models/applied_coupon_update_request.py +109 -0
- solvimon_python_sdk/models/approval_group.py +98 -0
- solvimon_python_sdk/models/approval_policy.py +169 -0
- solvimon_python_sdk/models/approval_policy_approver.py +105 -0
- solvimon_python_sdk/models/approval_policy_billing_entity.py +89 -0
- solvimon_python_sdk/models/approval_policy_billing_period.py +89 -0
- solvimon_python_sdk/models/approval_policy_commitment.py +93 -0
- solvimon_python_sdk/models/approval_policy_create_request.py +160 -0
- solvimon_python_sdk/models/approval_policy_custom_field.py +91 -0
- solvimon_python_sdk/models/approval_policy_discount.py +95 -0
- solvimon_python_sdk/models/approval_policy_due_date.py +89 -0
- solvimon_python_sdk/models/approval_policy_payment_acceptor.py +89 -0
- solvimon_python_sdk/models/approval_policy_pricing.py +89 -0
- solvimon_python_sdk/models/approval_policy_rule.py +159 -0
- solvimon_python_sdk/models/approval_policy_rule_group.py +96 -0
- solvimon_python_sdk/models/approval_policy_rule_group_create_request.py +96 -0
- solvimon_python_sdk/models/approval_policy_rule_group_update_request.py +96 -0
- solvimon_python_sdk/models/approval_policy_update_request.py +169 -0
- solvimon_python_sdk/models/approval_policy_user.py +89 -0
- solvimon_python_sdk/models/approval_request.py +183 -0
- solvimon_python_sdk/models/approval_request_action_result.py +121 -0
- solvimon_python_sdk/models/approval_request_response_wrapper.py +108 -0
- solvimon_python_sdk/models/approvers.py +109 -0
- solvimon_python_sdk/models/approvers_create_request.py +109 -0
- solvimon_python_sdk/models/approvers_update_request.py +109 -0
- solvimon_python_sdk/models/ar_local.py +124 -0
- solvimon_python_sdk/models/attachment.py +115 -0
- solvimon_python_sdk/models/attachment_create_request.py +115 -0
- solvimon_python_sdk/models/attachment_response_wrapper.py +96 -0
- solvimon_python_sdk/models/audit_record.py +154 -0
- solvimon_python_sdk/models/audit_record_diff_entry.py +103 -0
- solvimon_python_sdk/models/audit_record_response_wrapper.py +108 -0
- solvimon_python_sdk/models/authentication_provider.py +138 -0
- solvimon_python_sdk/models/authentication_provider_create_request.py +135 -0
- solvimon_python_sdk/models/authentication_provider_request.py +91 -0
- solvimon_python_sdk/models/authentication_provider_request_create_request.py +91 -0
- solvimon_python_sdk/models/authentication_provider_response_wrapper.py +108 -0
- solvimon_python_sdk/models/authentication_provider_update_request.py +138 -0
- solvimon_python_sdk/models/authentication_settings.py +105 -0
- solvimon_python_sdk/models/authentication_settings_api_key.py +91 -0
- solvimon_python_sdk/models/authentication_settings_api_key_create_request.py +91 -0
- solvimon_python_sdk/models/authentication_settings_create_request.py +105 -0
- solvimon_python_sdk/models/authentication_settings_update_request.py +105 -0
- solvimon_python_sdk/models/authorize_payment_request.py +133 -0
- solvimon_python_sdk/models/authorize_payment_request_create_request.py +133 -0
- solvimon_python_sdk/models/auto_topup_config.py +135 -0
- solvimon_python_sdk/models/auto_topup_config_create_request.py +135 -0
- solvimon_python_sdk/models/auto_topup_config_response_wrapper.py +108 -0
- solvimon_python_sdk/models/auto_topup_threshold.py +99 -0
- solvimon_python_sdk/models/ava_tax_calculation_integration.py +89 -0
- solvimon_python_sdk/models/available_custom_field_column.py +95 -0
- solvimon_python_sdk/models/available_custom_field_column_create_request.py +95 -0
- solvimon_python_sdk/models/available_custom_field_column_update_request.py +95 -0
- solvimon_python_sdk/models/balance_platform_details.py +95 -0
- solvimon_python_sdk/models/bank_account.py +228 -0
- solvimon_python_sdk/models/bank_account_create_request.py +228 -0
- solvimon_python_sdk/models/big_query.py +99 -0
- solvimon_python_sdk/models/billing_entity.py +218 -0
- solvimon_python_sdk/models/billing_entity_create_request.py +215 -0
- solvimon_python_sdk/models/billing_entity_create_request_transaction.py +218 -0
- solvimon_python_sdk/models/billing_entity_response_wrapper.py +96 -0
- solvimon_python_sdk/models/billing_entity_update_request.py +218 -0
- solvimon_python_sdk/models/billing_period_option.py +95 -0
- solvimon_python_sdk/models/billing_period_settings.py +96 -0
- solvimon_python_sdk/models/billing_period_settings_create_request.py +96 -0
- solvimon_python_sdk/models/billing_period_settings_update_request.py +96 -0
- solvimon_python_sdk/models/br_local.py +124 -0
- solvimon_python_sdk/models/branding.py +108 -0
- solvimon_python_sdk/models/branding_update_request.py +108 -0
- solvimon_python_sdk/models/bulk_action_check.py +110 -0
- solvimon_python_sdk/models/bulk_action_item.py +109 -0
- solvimon_python_sdk/models/bulk_action_item_generated_resource.py +101 -0
- solvimon_python_sdk/models/bulk_action_item_resource.py +101 -0
- solvimon_python_sdk/models/bulk_action_item_response_wrapper.py +108 -0
- solvimon_python_sdk/models/bulk_action_request.py +111 -0
- solvimon_python_sdk/models/bulk_action_request_create_request.py +108 -0
- solvimon_python_sdk/models/bulk_action_response.py +115 -0
- solvimon_python_sdk/models/bulk_action_response_wrapper.py +108 -0
- solvimon_python_sdk/models/bulk_approval_request_action.py +89 -0
- solvimon_python_sdk/models/bulk_approval_request_action_create_request.py +89 -0
- solvimon_python_sdk/models/bulk_approval_request_action_response_wrapper.py +96 -0
- solvimon_python_sdk/models/captcha_request.py +91 -0
- solvimon_python_sdk/models/captcha_request_create_request.py +91 -0
- solvimon_python_sdk/models/charge.py +96 -0
- solvimon_python_sdk/models/charge_data_period.py +94 -0
- solvimon_python_sdk/models/charge_data_period_create_request.py +94 -0
- solvimon_python_sdk/models/charge_on_demand_payment_context.py +101 -0
- solvimon_python_sdk/models/charge_on_demand_payment_context_pricing_item.py +101 -0
- solvimon_python_sdk/models/charge_on_demand_pricing_item.py +103 -0
- solvimon_python_sdk/models/charge_on_demand_pricing_items.py +107 -0
- solvimon_python_sdk/models/charge_on_demand_pricing_items_create_request.py +107 -0
- solvimon_python_sdk/models/charge_on_demand_pricing_items_pricing_item_config.py +101 -0
- solvimon_python_sdk/models/charge_on_demand_pricing_items_pricing_item_config_create_request.py +101 -0
- solvimon_python_sdk/models/client_credentials.py +91 -0
- solvimon_python_sdk/models/client_credentials_create_request.py +91 -0
- solvimon_python_sdk/models/colors.py +112 -0
- solvimon_python_sdk/models/column_mapping.py +91 -0
- solvimon_python_sdk/models/commitment.py +123 -0
- solvimon_python_sdk/models/commitment_update_request.py +123 -0
- solvimon_python_sdk/models/configured_meter_value.py +104 -0
- solvimon_python_sdk/models/configured_meter_value_included_volume.py +104 -0
- solvimon_python_sdk/models/configured_meter_value_included_volume_update_request.py +104 -0
- solvimon_python_sdk/models/configured_meter_value_update_request.py +104 -0
- solvimon_python_sdk/models/contact.py +155 -0
- solvimon_python_sdk/models/contact_create_request.py +152 -0
- solvimon_python_sdk/models/contact_response_wrapper.py +108 -0
- solvimon_python_sdk/models/contact_update_request.py +155 -0
- solvimon_python_sdk/models/cost_prediction.py +129 -0
- solvimon_python_sdk/models/cost_prediction_create_request.py +129 -0
- solvimon_python_sdk/models/cost_prediction_details.py +128 -0
- solvimon_python_sdk/models/coupon.py +180 -0
- solvimon_python_sdk/models/coupon_create_request.py +174 -0
- solvimon_python_sdk/models/coupon_discount.py +119 -0
- solvimon_python_sdk/models/coupon_discount_create_request.py +119 -0
- solvimon_python_sdk/models/coupon_discount_update_request.py +119 -0
- solvimon_python_sdk/models/coupon_discount_usage.py +97 -0
- solvimon_python_sdk/models/coupon_duration.py +105 -0
- solvimon_python_sdk/models/coupon_duration_create_request.py +105 -0
- solvimon_python_sdk/models/coupon_duration_update_request.py +105 -0
- solvimon_python_sdk/models/coupon_limited_to.py +126 -0
- solvimon_python_sdk/models/coupon_limited_to_create_request.py +126 -0
- solvimon_python_sdk/models/coupon_limited_to_update_request.py +126 -0
- solvimon_python_sdk/models/coupon_redemption.py +127 -0
- solvimon_python_sdk/models/coupon_redemption_response_wrapper.py +108 -0
- solvimon_python_sdk/models/coupon_response_wrapper.py +108 -0
- solvimon_python_sdk/models/coupon_update_request.py +180 -0
- solvimon_python_sdk/models/create_payment_method_payment_context.py +89 -0
- solvimon_python_sdk/models/create_pricing_plan_schedule_payment_context.py +96 -0
- solvimon_python_sdk/models/credit_and_copy_invoice_request.py +103 -0
- solvimon_python_sdk/models/credit_and_copy_invoice_request_create_request.py +103 -0
- solvimon_python_sdk/models/credit_and_copy_invoice_response.py +93 -0
- solvimon_python_sdk/models/credit_invoice_group.py +104 -0
- solvimon_python_sdk/models/credit_invoice_group_create_request.py +104 -0
- solvimon_python_sdk/models/credit_invoice_line.py +95 -0
- solvimon_python_sdk/models/credit_invoice_period.py +104 -0
- solvimon_python_sdk/models/credit_invoice_period_create_request.py +104 -0
- solvimon_python_sdk/models/credit_type.py +158 -0
- solvimon_python_sdk/models/credit_type_create_request.py +158 -0
- solvimon_python_sdk/models/credit_type_response_wrapper.py +108 -0
- solvimon_python_sdk/models/credit_type_update_request.py +158 -0
- solvimon_python_sdk/models/credits.py +110 -0
- solvimon_python_sdk/models/credits_create_request.py +110 -0
- solvimon_python_sdk/models/crm_integrations.py +93 -0
- solvimon_python_sdk/models/crm_integrations_update_request.py +93 -0
- solvimon_python_sdk/models/currency.py +107 -0
- solvimon_python_sdk/models/custom_field.py +154 -0
- solvimon_python_sdk/models/custom_field_create_request.py +148 -0
- solvimon_python_sdk/models/custom_field_response_wrapper.py +108 -0
- solvimon_python_sdk/models/custom_field_update_request.py +154 -0
- solvimon_python_sdk/models/custom_field_value.py +116 -0
- solvimon_python_sdk/models/custom_field_value_create_request.py +116 -0
- solvimon_python_sdk/models/custom_field_value_update_request.py +116 -0
- solvimon_python_sdk/models/custom_tax_code.py +101 -0
- solvimon_python_sdk/models/customer.py +222 -0
- solvimon_python_sdk/models/customer_action_options.py +95 -0
- solvimon_python_sdk/models/customer_create_request.py +219 -0
- solvimon_python_sdk/models/customer_create_request_event.py +222 -0
- solvimon_python_sdk/models/customer_create_request_transaction.py +222 -0
- solvimon_python_sdk/models/customer_portal_url.py +99 -0
- solvimon_python_sdk/models/customer_portal_url_create_request.py +99 -0
- solvimon_python_sdk/models/customer_portal_url_update_request.py +99 -0
- solvimon_python_sdk/models/customer_references.py +93 -0
- solvimon_python_sdk/models/customer_references_create_request.py +93 -0
- solvimon_python_sdk/models/customer_references_update_request.py +93 -0
- solvimon_python_sdk/models/customer_response_wrapper.py +108 -0
- solvimon_python_sdk/models/customer_seller_details.py +89 -0
- solvimon_python_sdk/models/customer_seller_details_create_request.py +89 -0
- solvimon_python_sdk/models/customer_seller_details_update_request.py +89 -0
- solvimon_python_sdk/models/customer_update_request.py +222 -0
- solvimon_python_sdk/models/customer_update_request_transaction.py +222 -0
- solvimon_python_sdk/models/customer_wallet_balance_status.py +118 -0
- solvimon_python_sdk/models/customer_wallet_balances_status.py +102 -0
- solvimon_python_sdk/models/data_export_integration.py +125 -0
- solvimon_python_sdk/models/data_export_integration_create_request.py +125 -0
- solvimon_python_sdk/models/data_export_integration_update_request.py +125 -0
- solvimon_python_sdk/models/default_portal_url_settings.py +93 -0
- solvimon_python_sdk/models/default_portal_url_settings_update_request.py +93 -0
- solvimon_python_sdk/models/default_value.py +91 -0
- solvimon_python_sdk/models/delete_invoice_group.py +98 -0
- solvimon_python_sdk/models/delete_invoice_line.py +89 -0
- solvimon_python_sdk/models/delete_invoice_period.py +98 -0
- solvimon_python_sdk/models/delete_invoice_period_create_request.py +98 -0
- solvimon_python_sdk/models/direct_auto_rescue.py +95 -0
- solvimon_python_sdk/models/direct_payment_context.py +93 -0
- solvimon_python_sdk/models/discount.py +159 -0
- solvimon_python_sdk/models/discount_condition.py +105 -0
- solvimon_python_sdk/models/discount_condition_value.py +93 -0
- solvimon_python_sdk/models/discount_update_request.py +159 -0
- solvimon_python_sdk/models/display_config.py +95 -0
- solvimon_python_sdk/models/document.py +126 -0
- solvimon_python_sdk/models/document_action_settings.py +99 -0
- solvimon_python_sdk/models/document_create_request.py +126 -0
- solvimon_python_sdk/models/document_number_configuration.py +106 -0
- solvimon_python_sdk/models/document_number_configuration_reset_period.py +101 -0
- solvimon_python_sdk/models/download_settings.py +93 -0
- solvimon_python_sdk/models/download_settings_create_request.py +93 -0
- solvimon_python_sdk/models/download_settings_update_request.py +93 -0
- solvimon_python_sdk/models/download_url.py +103 -0
- solvimon_python_sdk/models/due_date.py +105 -0
- solvimon_python_sdk/models/due_date_update_request.py +105 -0
- solvimon_python_sdk/models/duplicate.py +91 -0
- solvimon_python_sdk/models/e_invoice.py +116 -0
- solvimon_python_sdk/models/e_invoice_create_request.py +116 -0
- solvimon_python_sdk/models/e_invoice_file_format.py +95 -0
- solvimon_python_sdk/models/e_invoice_status.py +99 -0
- solvimon_python_sdk/models/e_invoice_update_request.py +116 -0
- solvimon_python_sdk/models/e_invoicing_condition.py +103 -0
- solvimon_python_sdk/models/e_invoicing_condition_group.py +96 -0
- solvimon_python_sdk/models/e_invoicing_integration.py +108 -0
- solvimon_python_sdk/models/e_invoicing_integration_create_request.py +108 -0
- solvimon_python_sdk/models/e_invoicing_integration_update_request.py +108 -0
- solvimon_python_sdk/models/e_invoicing_mandate.py +124 -0
- solvimon_python_sdk/models/e_invoicing_mapping.py +93 -0
- solvimon_python_sdk/models/email_identifier.py +91 -0
- solvimon_python_sdk/models/email_provider_integration.py +111 -0
- solvimon_python_sdk/models/email_provider_integration_create_request.py +111 -0
- solvimon_python_sdk/models/email_provider_integration_update_request.py +111 -0
- solvimon_python_sdk/models/enabled_pricing.py +94 -0
- solvimon_python_sdk/models/enabled_pricing_create_request.py +94 -0
- solvimon_python_sdk/models/enabled_pricing_update_request.py +94 -0
- solvimon_python_sdk/models/entitlement.py +128 -0
- solvimon_python_sdk/models/entitlement_create_request.py +128 -0
- solvimon_python_sdk/models/entitlement_summary.py +98 -0
- solvimon_python_sdk/models/entitlement_summary_item.py +109 -0
- solvimon_python_sdk/models/entitlement_update_request.py +128 -0
- solvimon_python_sdk/models/entitlements.py +105 -0
- solvimon_python_sdk/models/entitlements_create_request.py +105 -0
- solvimon_python_sdk/models/erp_integration.py +99 -0
- solvimon_python_sdk/models/erp_integration_create_request.py +99 -0
- solvimon_python_sdk/models/erp_integration_update_request.py +99 -0
- solvimon_python_sdk/models/event_trace.py +130 -0
- solvimon_python_sdk/models/event_trace_link.py +143 -0
- solvimon_python_sdk/models/expiry_date.py +92 -0
- solvimon_python_sdk/models/export_report_location.py +121 -0
- solvimon_python_sdk/models/export_report_location_big_query_details.py +89 -0
- solvimon_python_sdk/models/export_report_location_create_request.py +121 -0
- solvimon_python_sdk/models/export_report_location_gcs_details.py +103 -0
- solvimon_python_sdk/models/export_report_location_s3_details.py +103 -0
- solvimon_python_sdk/models/export_report_location_update_request.py +121 -0
- solvimon_python_sdk/models/export_to_erp_action.py +101 -0
- solvimon_python_sdk/models/export_to_erp_action_update_request.py +101 -0
- solvimon_python_sdk/models/feature.py +156 -0
- solvimon_python_sdk/models/feature_create_request.py +150 -0
- solvimon_python_sdk/models/feature_resource_reference.py +102 -0
- solvimon_python_sdk/models/feature_response_wrapper.py +96 -0
- solvimon_python_sdk/models/feature_update_request.py +156 -0
- solvimon_python_sdk/models/file.py +214 -0
- solvimon_python_sdk/models/file_create_request.py +202 -0
- solvimon_python_sdk/models/file_download_settings.py +89 -0
- solvimon_python_sdk/models/file_download_settings_create_request.py +89 -0
- solvimon_python_sdk/models/file_download_settings_update_request.py +89 -0
- solvimon_python_sdk/models/file_line.py +107 -0
- solvimon_python_sdk/models/file_line_response_wrapper.py +108 -0
- solvimon_python_sdk/models/file_meter_data.py +92 -0
- solvimon_python_sdk/models/file_meter_data_create_request.py +92 -0
- solvimon_python_sdk/models/file_meter_data_update_request.py +92 -0
- solvimon_python_sdk/models/file_processing_settings.py +151 -0
- solvimon_python_sdk/models/file_processing_settings_create_request.py +145 -0
- solvimon_python_sdk/models/file_processing_settings_update_request.py +151 -0
- solvimon_python_sdk/models/file_response_wrapper.py +108 -0
- solvimon_python_sdk/models/file_update_request.py +214 -0
- solvimon_python_sdk/models/filter_field.py +95 -0
- solvimon_python_sdk/models/filter_field_create_request.py +95 -0
- solvimon_python_sdk/models/finalize_invoices_parameters.py +100 -0
- solvimon_python_sdk/models/finalize_invoices_parameters_create_request.py +100 -0
- solvimon_python_sdk/models/fixed_installment.py +96 -0
- solvimon_python_sdk/models/gcs.py +95 -0
- solvimon_python_sdk/models/get_all_approval_policies_response.py +96 -0
- solvimon_python_sdk/models/get_quotes_list.py +96 -0
- solvimon_python_sdk/models/hubspot_integration.py +89 -0
- solvimon_python_sdk/models/image.py +108 -0
- solvimon_python_sdk/models/inactive_period.py +106 -0
- solvimon_python_sdk/models/inactive_period_update_request.py +106 -0
- solvimon_python_sdk/models/indexing_settings.py +103 -0
- solvimon_python_sdk/models/indexing_settings_create_request.py +103 -0
- solvimon_python_sdk/models/indexing_target.py +95 -0
- solvimon_python_sdk/models/indexing_target_create_request.py +95 -0
- solvimon_python_sdk/models/individual.py +99 -0
- solvimon_python_sdk/models/individual_create_request.py +99 -0
- solvimon_python_sdk/models/individual_update_request.py +99 -0
- solvimon_python_sdk/models/ingest_data_response_wrapper.py +108 -0
- solvimon_python_sdk/models/ingest_data_summary.py +104 -0
- solvimon_python_sdk/models/ingest_reference_mapping.py +95 -0
- solvimon_python_sdk/models/init_pricing_plan_subscription_payment_context.py +119 -0
- solvimon_python_sdk/models/init_pricing_plan_subscription_portal_url.py +91 -0
- solvimon_python_sdk/models/init_pricing_plan_subscription_portal_url_create_request.py +91 -0
- solvimon_python_sdk/models/init_pricing_plan_subscription_portal_url_update_request.py +91 -0
- solvimon_python_sdk/models/integration.py +229 -0
- solvimon_python_sdk/models/integration_create_request.py +223 -0
- solvimon_python_sdk/models/integration_details.py +119 -0
- solvimon_python_sdk/models/integration_details_update_request.py +119 -0
- solvimon_python_sdk/models/integration_link_detail.py +91 -0
- solvimon_python_sdk/models/integration_linked_resource_configuration.py +98 -0
- solvimon_python_sdk/models/integration_linked_resource_configuration_create_request.py +98 -0
- solvimon_python_sdk/models/integration_linked_resource_configuration_update_request.py +98 -0
- solvimon_python_sdk/models/integration_response_wrapper.py +108 -0
- solvimon_python_sdk/models/integration_update_request.py +229 -0
- solvimon_python_sdk/models/interval_installment.py +105 -0
- solvimon_python_sdk/models/invoice.py +566 -0
- solvimon_python_sdk/models/invoice_action_credit.py +124 -0
- solvimon_python_sdk/models/invoice_action_credit_create_request.py +124 -0
- solvimon_python_sdk/models/invoice_action_delete_line.py +96 -0
- solvimon_python_sdk/models/invoice_action_delete_line_create_request.py +96 -0
- solvimon_python_sdk/models/invoice_action_options.py +91 -0
- solvimon_python_sdk/models/invoice_commitment.py +98 -0
- solvimon_python_sdk/models/invoice_coupon.py +95 -0
- solvimon_python_sdk/models/invoice_coupon_create_request.py +95 -0
- solvimon_python_sdk/models/invoice_coupon_update_request.py +95 -0
- solvimon_python_sdk/models/invoice_create_request.py +566 -0
- solvimon_python_sdk/models/invoice_create_request_transaction.py +563 -0
- solvimon_python_sdk/models/invoice_credit_detail.py +111 -0
- solvimon_python_sdk/models/invoice_credit_detail_create_request.py +111 -0
- solvimon_python_sdk/models/invoice_credit_detail_update_request.py +111 -0
- solvimon_python_sdk/models/invoice_dunning_action.py +107 -0
- solvimon_python_sdk/models/invoice_dunning_action_create_request.py +107 -0
- solvimon_python_sdk/models/invoice_dunning_action_update_request.py +107 -0
- solvimon_python_sdk/models/invoice_extra_open_period.py +91 -0
- solvimon_python_sdk/models/invoice_grace_period.py +95 -0
- solvimon_python_sdk/models/invoice_grace_period_configuration.py +91 -0
- solvimon_python_sdk/models/invoice_group.py +187 -0
- solvimon_python_sdk/models/invoice_line.py +207 -0
- solvimon_python_sdk/models/invoice_line_coupon_data.py +91 -0
- solvimon_python_sdk/models/invoice_line_meter_value.py +99 -0
- solvimon_python_sdk/models/invoice_meter_property_variable.py +113 -0
- solvimon_python_sdk/models/invoice_meter_property_variable_create_request.py +113 -0
- solvimon_python_sdk/models/invoice_meter_property_variable_update_request.py +113 -0
- solvimon_python_sdk/models/invoice_overdue.py +96 -0
- solvimon_python_sdk/models/invoice_payment_action.py +117 -0
- solvimon_python_sdk/models/invoice_payment_action_bank_account_details.py +123 -0
- solvimon_python_sdk/models/invoice_payment_action_create_request.py +117 -0
- solvimon_python_sdk/models/invoice_payment_action_custom_redirect_details.py +89 -0
- solvimon_python_sdk/models/invoice_payment_action_payment_gateway_details.py +103 -0
- solvimon_python_sdk/models/invoice_payment_action_update_request.py +117 -0
- solvimon_python_sdk/models/invoice_period.py +128 -0
- solvimon_python_sdk/models/invoice_period_create_request.py +128 -0
- solvimon_python_sdk/models/invoice_period_update_request.py +128 -0
- solvimon_python_sdk/models/invoice_portal_url.py +95 -0
- solvimon_python_sdk/models/invoice_portal_url_create_request.py +95 -0
- solvimon_python_sdk/models/invoice_portal_url_update_request.py +95 -0
- solvimon_python_sdk/models/invoice_preview_action.py +120 -0
- solvimon_python_sdk/models/invoice_preview_action_create_request.py +120 -0
- solvimon_python_sdk/models/invoice_preview_action_response.py +107 -0
- solvimon_python_sdk/models/invoice_preview_invoices_info.py +98 -0
- solvimon_python_sdk/models/invoice_pricing.py +91 -0
- solvimon_python_sdk/models/invoice_promotion_code.py +99 -0
- solvimon_python_sdk/models/invoice_promotion_code_create_request.py +99 -0
- solvimon_python_sdk/models/invoice_promotion_code_update_request.py +99 -0
- solvimon_python_sdk/models/invoice_reprocess.py +95 -0
- solvimon_python_sdk/models/invoice_reprocess_create_request.py +95 -0
- solvimon_python_sdk/models/invoice_reprocess_update_request.py +95 -0
- solvimon_python_sdk/models/invoice_response_wrapper.py +108 -0
- solvimon_python_sdk/models/invoice_settings.py +151 -0
- solvimon_python_sdk/models/invoice_settings_update_request.py +151 -0
- solvimon_python_sdk/models/invoice_sub_line.py +119 -0
- solvimon_python_sdk/models/invoice_sub_line_usage_based_conversion.py +93 -0
- solvimon_python_sdk/models/invoice_tax_amounts.py +111 -0
- solvimon_python_sdk/models/invoice_tax_category_summary.py +126 -0
- solvimon_python_sdk/models/invoice_tax_category_summary_create_request.py +126 -0
- solvimon_python_sdk/models/invoice_tax_category_summary_rate.py +97 -0
- solvimon_python_sdk/models/invoice_tax_category_summary_update_request.py +126 -0
- solvimon_python_sdk/models/invoice_tax_total_summary.py +113 -0
- solvimon_python_sdk/models/invoice_tax_total_summary_create_request.py +113 -0
- solvimon_python_sdk/models/invoice_tax_total_summary_update_request.py +113 -0
- solvimon_python_sdk/models/invoice_trigger.py +103 -0
- solvimon_python_sdk/models/invoice_trigger_create_request.py +103 -0
- solvimon_python_sdk/models/invoice_trigger_event.py +107 -0
- solvimon_python_sdk/models/invoice_trigger_manual.py +109 -0
- solvimon_python_sdk/models/invoice_trigger_overdue.py +93 -0
- solvimon_python_sdk/models/invoice_upcoming_payment.py +96 -0
- solvimon_python_sdk/models/invoice_update_request.py +566 -0
- solvimon_python_sdk/models/invoice_validation_result.py +91 -0
- solvimon_python_sdk/models/invoice_validation_result_create_request.py +91 -0
- solvimon_python_sdk/models/invoice_validation_result_update_request.py +91 -0
- solvimon_python_sdk/models/invoice_workflow.py +111 -0
- solvimon_python_sdk/models/invoice_workflow_create_request.py +111 -0
- solvimon_python_sdk/models/invoice_workflow_update_request.py +111 -0
- solvimon_python_sdk/models/jwt_token.py +116 -0
- solvimon_python_sdk/models/legal_entity_manager_details.py +93 -0
- solvimon_python_sdk/models/link_detail.py +91 -0
- solvimon_python_sdk/models/linked_integration.py +98 -0
- solvimon_python_sdk/models/linked_integration_create_request.py +98 -0
- solvimon_python_sdk/models/linked_integration_update_request.py +98 -0
- solvimon_python_sdk/models/linked_invoice_detail.py +103 -0
- solvimon_python_sdk/models/linked_invoice_detail_create_request.py +103 -0
- solvimon_python_sdk/models/linked_invoice_detail_update_request.py +103 -0
- solvimon_python_sdk/models/mailgun_email_provider.py +114 -0
- solvimon_python_sdk/models/markup.py +96 -0
- solvimon_python_sdk/models/markup_update_request.py +96 -0
- solvimon_python_sdk/models/meter.py +162 -0
- solvimon_python_sdk/models/meter_condition_expression.py +108 -0
- solvimon_python_sdk/models/meter_condition_operand.py +95 -0
- solvimon_python_sdk/models/meter_conditions.py +104 -0
- solvimon_python_sdk/models/meter_create_request.py +159 -0
- solvimon_python_sdk/models/meter_data.py +193 -0
- solvimon_python_sdk/models/meter_data_create_request.py +190 -0
- solvimon_python_sdk/models/meter_data_file_processing_settings.py +104 -0
- solvimon_python_sdk/models/meter_data_file_processing_settings_create_request.py +104 -0
- solvimon_python_sdk/models/meter_data_file_processing_settings_update_request.py +104 -0
- solvimon_python_sdk/models/meter_data_mapping_settings.py +119 -0
- solvimon_python_sdk/models/meter_data_meter_property.py +99 -0
- solvimon_python_sdk/models/meter_data_meter_property_create_request.py +99 -0
- solvimon_python_sdk/models/meter_data_meter_value.py +107 -0
- solvimon_python_sdk/models/meter_data_meter_value_create_request.py +107 -0
- solvimon_python_sdk/models/meter_data_processed_details.py +121 -0
- solvimon_python_sdk/models/meter_data_processed_details_create_request.py +121 -0
- solvimon_python_sdk/models/meter_datas.py +97 -0
- solvimon_python_sdk/models/meter_datas_create_request.py +97 -0
- solvimon_python_sdk/models/meter_meter_property.py +112 -0
- solvimon_python_sdk/models/meter_meter_property_create_request.py +112 -0
- solvimon_python_sdk/models/meter_meter_property_update_request.py +112 -0
- solvimon_python_sdk/models/meter_meter_value.py +112 -0
- solvimon_python_sdk/models/meter_meter_value_create_request.py +112 -0
- solvimon_python_sdk/models/meter_meter_value_update_request.py +112 -0
- solvimon_python_sdk/models/meter_property.py +158 -0
- solvimon_python_sdk/models/meter_property_condition.py +125 -0
- solvimon_python_sdk/models/meter_property_create_request.py +149 -0
- solvimon_python_sdk/models/meter_property_dynamic_validation_settings.py +101 -0
- solvimon_python_sdk/models/meter_property_mapping.py +99 -0
- solvimon_python_sdk/models/meter_property_response_wrapper.py +96 -0
- solvimon_python_sdk/models/meter_property_split_pricing.py +101 -0
- solvimon_python_sdk/models/meter_property_update_request.py +158 -0
- solvimon_python_sdk/models/meter_property_variable.py +174 -0
- solvimon_python_sdk/models/meter_property_variable_create_request.py +168 -0
- solvimon_python_sdk/models/meter_property_variable_response_wrapper.py +108 -0
- solvimon_python_sdk/models/meter_property_variable_update_request.py +174 -0
- solvimon_python_sdk/models/meter_property_variable_value.py +95 -0
- solvimon_python_sdk/models/meter_property_variable_value_response_wrapper.py +108 -0
- solvimon_python_sdk/models/meter_property_variable_values_update.py +91 -0
- solvimon_python_sdk/models/meter_property_variable_values_update_result.py +103 -0
- solvimon_python_sdk/models/meter_property_variable_values_update_update_request.py +91 -0
- solvimon_python_sdk/models/meter_response_wrapper.py +96 -0
- solvimon_python_sdk/models/meter_update_request.py +162 -0
- solvimon_python_sdk/models/meter_value.py +156 -0
- solvimon_python_sdk/models/meter_value_calculation.py +176 -0
- solvimon_python_sdk/models/meter_value_calculation_commitment.py +95 -0
- solvimon_python_sdk/models/meter_value_calculation_create_request.py +170 -0
- solvimon_python_sdk/models/meter_value_calculation_response_wrapper.py +96 -0
- solvimon_python_sdk/models/meter_value_calculation_update_request.py +176 -0
- solvimon_python_sdk/models/meter_value_create_request.py +147 -0
- solvimon_python_sdk/models/meter_value_create_request_transaction.py +156 -0
- solvimon_python_sdk/models/meter_value_dynamic_validation_settings.py +101 -0
- solvimon_python_sdk/models/meter_value_mapping.py +103 -0
- solvimon_python_sdk/models/meter_value_mapping_amount_default_value.py +98 -0
- solvimon_python_sdk/models/meter_value_mapping_column.py +95 -0
- solvimon_python_sdk/models/meter_value_mapping_column_amount.py +91 -0
- solvimon_python_sdk/models/meter_value_mapping_default_value.py +99 -0
- solvimon_python_sdk/models/meter_value_response_wrapper.py +96 -0
- solvimon_python_sdk/models/meter_value_update_request.py +156 -0
- solvimon_python_sdk/models/mx_local.py +124 -0
- solvimon_python_sdk/models/name.py +93 -0
- solvimon_python_sdk/models/name_create_request.py +93 -0
- solvimon_python_sdk/models/name_update_request.py +93 -0
- solvimon_python_sdk/models/next_action.py +95 -0
- solvimon_python_sdk/models/next_action_redirect_to_url.py +91 -0
- solvimon_python_sdk/models/next_invoice.py +96 -0
- solvimon_python_sdk/models/next_invoice_update_request.py +96 -0
- solvimon_python_sdk/models/not_matched.py +91 -0
- solvimon_python_sdk/models/notification_channel.py +101 -0
- solvimon_python_sdk/models/notification_preference.py +108 -0
- solvimon_python_sdk/models/notification_preference_create_request.py +108 -0
- solvimon_python_sdk/models/notification_preference_update_request.py +108 -0
- solvimon_python_sdk/models/o_auth_callback.py +124 -0
- solvimon_python_sdk/models/o_auth_callback_create_request.py +115 -0
- solvimon_python_sdk/models/o_auth_credential_request.py +93 -0
- solvimon_python_sdk/models/o_auth_credential_request_create_request.py +93 -0
- solvimon_python_sdk/models/on_demand_pricing_items_response.py +110 -0
- solvimon_python_sdk/models/one_off_invoice_line.py +149 -0
- solvimon_python_sdk/models/one_off_invoice_line_create_request.py +146 -0
- solvimon_python_sdk/models/organization.py +132 -0
- solvimon_python_sdk/models/organization_create_request.py +132 -0
- solvimon_python_sdk/models/organization_update_request.py +132 -0
- solvimon_python_sdk/models/original_invoice_info.py +91 -0
- solvimon_python_sdk/models/other_custom_field_value.py +103 -0
- solvimon_python_sdk/models/other_custom_field_value_create_request.py +103 -0
- solvimon_python_sdk/models/other_custom_field_value_update_request.py +103 -0
- solvimon_python_sdk/models/pagination_links.py +95 -0
- solvimon_python_sdk/models/paragon_settings.py +89 -0
- solvimon_python_sdk/models/paragon_settings_create_request.py +89 -0
- solvimon_python_sdk/models/paragon_settings_update_request.py +89 -0
- solvimon_python_sdk/models/password_reset_request.py +89 -0
- solvimon_python_sdk/models/password_reset_request_create_request.py +89 -0
- solvimon_python_sdk/models/patch_e_invoice.py +93 -0
- solvimon_python_sdk/models/patch_e_invoice_update_request.py +93 -0
- solvimon_python_sdk/models/pay_invoice_payment_context.py +89 -0
- solvimon_python_sdk/models/payment.py +172 -0
- solvimon_python_sdk/models/payment_acceptor.py +178 -0
- solvimon_python_sdk/models/payment_acceptor_create_request.py +172 -0
- solvimon_python_sdk/models/payment_acceptor_custom_redirect.py +100 -0
- solvimon_python_sdk/models/payment_acceptor_custom_redirect_create_request.py +100 -0
- solvimon_python_sdk/models/payment_acceptor_payment_method_options.py +108 -0
- solvimon_python_sdk/models/payment_acceptor_payment_method_options_request.py +123 -0
- solvimon_python_sdk/models/payment_acceptor_payment_method_options_request_create_request.py +123 -0
- solvimon_python_sdk/models/payment_acceptor_response_wrapper.py +96 -0
- solvimon_python_sdk/models/payment_acceptor_update_request.py +178 -0
- solvimon_python_sdk/models/payment_context.py +152 -0
- solvimon_python_sdk/models/payment_context_create_request.py +152 -0
- solvimon_python_sdk/models/payment_create_request.py +172 -0
- solvimon_python_sdk/models/payment_create_request_transaction.py +169 -0
- solvimon_python_sdk/models/payment_dunning_action_details.py +93 -0
- solvimon_python_sdk/models/payment_dunning_action_details_create_request.py +93 -0
- solvimon_python_sdk/models/payment_gateway_integration.py +111 -0
- solvimon_python_sdk/models/payment_gateway_integration_create_request.py +111 -0
- solvimon_python_sdk/models/payment_gateway_integration_update_request.py +111 -0
- solvimon_python_sdk/models/payment_gateway_payment_acceptor.py +125 -0
- solvimon_python_sdk/models/payment_gateway_payment_acceptor_adyen.py +97 -0
- solvimon_python_sdk/models/payment_gateway_payment_acceptor_create_request.py +125 -0
- solvimon_python_sdk/models/payment_gateway_payment_acceptor_link.py +93 -0
- solvimon_python_sdk/models/payment_method.py +192 -0
- solvimon_python_sdk/models/payment_method_action_refresh.py +95 -0
- solvimon_python_sdk/models/payment_method_action_refresh_create_request.py +95 -0
- solvimon_python_sdk/models/payment_method_buy_now_pay_later.py +89 -0
- solvimon_python_sdk/models/payment_method_buy_now_pay_later_update_request.py +89 -0
- solvimon_python_sdk/models/payment_method_card.py +111 -0
- solvimon_python_sdk/models/payment_method_card_update_request.py +111 -0
- solvimon_python_sdk/models/payment_method_create_request.py +192 -0
- solvimon_python_sdk/models/payment_method_details.py +135 -0
- solvimon_python_sdk/models/payment_method_details_buy_now_pay_later.py +89 -0
- solvimon_python_sdk/models/payment_method_details_card.py +101 -0
- solvimon_python_sdk/models/payment_method_details_create_request.py +135 -0
- solvimon_python_sdk/models/payment_method_details_digital_wallet.py +89 -0
- solvimon_python_sdk/models/payment_method_details_direct_debit.py +107 -0
- solvimon_python_sdk/models/payment_method_details_online_banking.py +107 -0
- solvimon_python_sdk/models/payment_method_details_unknown.py +89 -0
- solvimon_python_sdk/models/payment_method_digital_wallet.py +89 -0
- solvimon_python_sdk/models/payment_method_digital_wallet_update_request.py +89 -0
- solvimon_python_sdk/models/payment_method_direct_debit.py +107 -0
- solvimon_python_sdk/models/payment_method_direct_debit_update_request.py +107 -0
- solvimon_python_sdk/models/payment_method_fallback.py +91 -0
- solvimon_python_sdk/models/payment_method_fallback_create_request.py +91 -0
- solvimon_python_sdk/models/payment_method_fallback_update_request.py +91 -0
- solvimon_python_sdk/models/payment_method_online_banking.py +107 -0
- solvimon_python_sdk/models/payment_method_online_banking_update_request.py +107 -0
- solvimon_python_sdk/models/payment_method_option.py +105 -0
- solvimon_python_sdk/models/payment_method_payment_response.py +117 -0
- solvimon_python_sdk/models/payment_method_response_wrapper.py +108 -0
- solvimon_python_sdk/models/payment_method_tokenization_request.py +137 -0
- solvimon_python_sdk/models/payment_method_tokenization_request_create_request.py +134 -0
- solvimon_python_sdk/models/payment_method_update_request.py +192 -0
- solvimon_python_sdk/models/payment_method_update_request_transaction.py +192 -0
- solvimon_python_sdk/models/payment_modification_response.py +105 -0
- solvimon_python_sdk/models/payment_request.py +145 -0
- solvimon_python_sdk/models/payment_request_create_request.py +145 -0
- solvimon_python_sdk/models/payment_request_payment_context.py +89 -0
- solvimon_python_sdk/models/payment_request_response_wrapper.py +108 -0
- solvimon_python_sdk/models/payment_response_wrapper.py +108 -0
- solvimon_python_sdk/models/payment_result_details.py +95 -0
- solvimon_python_sdk/models/payment_result_details_create_request.py +95 -0
- solvimon_python_sdk/models/payment_schedule.py +204 -0
- solvimon_python_sdk/models/payment_schedule_create_request.py +198 -0
- solvimon_python_sdk/models/payment_schedule_dunning.py +89 -0
- solvimon_python_sdk/models/payment_schedule_dunning_create_request.py +89 -0
- solvimon_python_sdk/models/payment_schedule_dunning_update_request.py +89 -0
- solvimon_python_sdk/models/payment_schedule_init.py +116 -0
- solvimon_python_sdk/models/payment_schedule_init_create_request.py +116 -0
- solvimon_python_sdk/models/payment_schedule_installments.py +120 -0
- solvimon_python_sdk/models/payment_schedule_installments_create_request.py +120 -0
- solvimon_python_sdk/models/payment_schedule_installments_update_request.py +120 -0
- solvimon_python_sdk/models/payment_schedule_one_off.py +93 -0
- solvimon_python_sdk/models/payment_schedule_one_off_create_request.py +93 -0
- solvimon_python_sdk/models/payment_schedule_one_off_update_request.py +93 -0
- solvimon_python_sdk/models/payment_schedule_recurring.py +104 -0
- solvimon_python_sdk/models/payment_schedule_recurring_create_request.py +104 -0
- solvimon_python_sdk/models/payment_schedule_recurring_update_request.py +104 -0
- solvimon_python_sdk/models/payment_schedule_response_wrapper.py +108 -0
- solvimon_python_sdk/models/payment_schedule_update_request.py +204 -0
- solvimon_python_sdk/models/payment_trigger.py +111 -0
- solvimon_python_sdk/models/payment_trigger_create_request.py +111 -0
- solvimon_python_sdk/models/payment_trigger_event.py +99 -0
- solvimon_python_sdk/models/payment_trigger_manual.py +103 -0
- solvimon_python_sdk/models/payment_verify_detail.py +97 -0
- solvimon_python_sdk/models/payment_verify_detail_create_request.py +97 -0
- solvimon_python_sdk/models/payment_verify_detail_response.py +89 -0
- solvimon_python_sdk/models/payment_workflow.py +99 -0
- solvimon_python_sdk/models/payment_workflow_create_request.py +99 -0
- solvimon_python_sdk/models/payment_workflow_update_request.py +99 -0
- solvimon_python_sdk/models/penalty_box_data.py +95 -0
- solvimon_python_sdk/models/penalty_box_data_create_request.py +95 -0
- solvimon_python_sdk/models/penalty_box_data_update_request.py +95 -0
- solvimon_python_sdk/models/period.py +101 -0
- solvimon_python_sdk/models/period_create_request.py +101 -0
- solvimon_python_sdk/models/period_update_request.py +101 -0
- solvimon_python_sdk/models/persist_data.py +157 -0
- solvimon_python_sdk/models/persist_data_create_request.py +157 -0
- solvimon_python_sdk/models/platform.py +227 -0
- solvimon_python_sdk/models/platform_pricing_plan_subscription_settings.py +149 -0
- solvimon_python_sdk/models/platform_pricing_plan_subscription_settings_update_request.py +149 -0
- solvimon_python_sdk/models/platform_up_to_date.py +111 -0
- solvimon_python_sdk/models/platform_up_to_date_reprocess.py +99 -0
- solvimon_python_sdk/models/platform_update_request.py +227 -0
- solvimon_python_sdk/models/portal_url.py +183 -0
- solvimon_python_sdk/models/portal_url_create_request.py +180 -0
- solvimon_python_sdk/models/portal_url_link.py +101 -0
- solvimon_python_sdk/models/portal_url_link_create_request.py +101 -0
- solvimon_python_sdk/models/portal_url_link_update_request.py +101 -0
- solvimon_python_sdk/models/portal_url_response_wrapper.py +108 -0
- solvimon_python_sdk/models/portal_url_settings.py +93 -0
- solvimon_python_sdk/models/portal_url_update_request.py +183 -0
- solvimon_python_sdk/models/portal_url_widgets.py +93 -0
- solvimon_python_sdk/models/portal_url_widgets_create_request.py +93 -0
- solvimon_python_sdk/models/portal_url_widgets_update_request.py +93 -0
- solvimon_python_sdk/models/pricing.py +167 -0
- solvimon_python_sdk/models/pricing_category.py +126 -0
- solvimon_python_sdk/models/pricing_category_create_request.py +126 -0
- solvimon_python_sdk/models/pricing_category_update_request.py +126 -0
- solvimon_python_sdk/models/pricing_commitment.py +100 -0
- solvimon_python_sdk/models/pricing_create_request.py +167 -0
- solvimon_python_sdk/models/pricing_currency_settings.py +91 -0
- solvimon_python_sdk/models/pricing_currency_settings_create_request.py +91 -0
- solvimon_python_sdk/models/pricing_currency_settings_update_request.py +91 -0
- solvimon_python_sdk/models/pricing_discount.py +108 -0
- solvimon_python_sdk/models/pricing_group.py +137 -0
- solvimon_python_sdk/models/pricing_group_create_request.py +137 -0
- solvimon_python_sdk/models/pricing_group_update_request.py +137 -0
- solvimon_python_sdk/models/pricing_item.py +156 -0
- solvimon_python_sdk/models/pricing_item_billing_period_config.py +102 -0
- solvimon_python_sdk/models/pricing_item_commitment.py +100 -0
- solvimon_python_sdk/models/pricing_item_config.py +209 -0
- solvimon_python_sdk/models/pricing_item_config_band.py +131 -0
- solvimon_python_sdk/models/pricing_item_config_band_create_request.py +131 -0
- solvimon_python_sdk/models/pricing_item_config_commitment.py +107 -0
- solvimon_python_sdk/models/pricing_item_config_conditions.py +100 -0
- solvimon_python_sdk/models/pricing_item_config_details.py +119 -0
- solvimon_python_sdk/models/pricing_item_config_discount.py +108 -0
- solvimon_python_sdk/models/pricing_item_config_markup.py +102 -0
- solvimon_python_sdk/models/pricing_item_config_meter_value.py +97 -0
- solvimon_python_sdk/models/pricing_item_config_meter_value_included_volume.py +99 -0
- solvimon_python_sdk/models/pricing_item_config_split_pricing.py +96 -0
- solvimon_python_sdk/models/pricing_item_config_top_up.py +89 -0
- solvimon_python_sdk/models/pricing_item_config_wallet_grant.py +127 -0
- solvimon_python_sdk/models/pricing_item_config_wallet_grant_amount_grant.py +95 -0
- solvimon_python_sdk/models/pricing_item_config_wallet_grant_credits_grant.py +99 -0
- solvimon_python_sdk/models/pricing_item_config_wallet_grant_credits_grant_conversion.py +91 -0
- solvimon_python_sdk/models/pricing_item_config_wallet_grant_expiry_policy.py +93 -0
- solvimon_python_sdk/models/pricing_item_create_request.py +156 -0
- solvimon_python_sdk/models/pricing_item_discount.py +108 -0
- solvimon_python_sdk/models/pricing_item_pricing_currency_config.py +129 -0
- solvimon_python_sdk/models/pricing_item_summary_included_volume_details.py +103 -0
- solvimon_python_sdk/models/pricing_item_summary_meter_value.py +115 -0
- solvimon_python_sdk/models/pricing_item_summary_price_details.py +204 -0
- solvimon_python_sdk/models/pricing_item_summary_price_details_band.py +138 -0
- solvimon_python_sdk/models/pricing_item_summary_price_details_conversion.py +95 -0
- solvimon_python_sdk/models/pricing_item_summary_wallet_balance.py +113 -0
- solvimon_python_sdk/models/pricing_item_summary_wallet_balance_details.py +103 -0
- solvimon_python_sdk/models/pricing_item_update_request.py +156 -0
- solvimon_python_sdk/models/pricing_plan.py +220 -0
- solvimon_python_sdk/models/pricing_plan_create_request.py +217 -0
- solvimon_python_sdk/models/pricing_plan_group.py +175 -0
- solvimon_python_sdk/models/pricing_plan_group_create_request.py +163 -0
- solvimon_python_sdk/models/pricing_plan_group_member.py +91 -0
- solvimon_python_sdk/models/pricing_plan_group_member_create_request.py +91 -0
- solvimon_python_sdk/models/pricing_plan_group_member_update_request.py +91 -0
- solvimon_python_sdk/models/pricing_plan_group_response_wrapper.py +108 -0
- solvimon_python_sdk/models/pricing_plan_group_update_request.py +175 -0
- solvimon_python_sdk/models/pricing_plan_response_wrapper.py +108 -0
- solvimon_python_sdk/models/pricing_plan_schedule.py +290 -0
- solvimon_python_sdk/models/pricing_plan_schedule_copy.py +149 -0
- solvimon_python_sdk/models/pricing_plan_schedule_copy_create_request.py +149 -0
- solvimon_python_sdk/models/pricing_plan_schedule_create_request.py +290 -0
- solvimon_python_sdk/models/pricing_plan_schedule_customization.py +135 -0
- solvimon_python_sdk/models/pricing_plan_schedule_customization_create_request.py +135 -0
- solvimon_python_sdk/models/pricing_plan_schedule_info.py +139 -0
- solvimon_python_sdk/models/pricing_plan_schedule_info_update_request.py +139 -0
- solvimon_python_sdk/models/pricing_plan_schedule_migrate.py +126 -0
- solvimon_python_sdk/models/pricing_plan_schedule_migrate_create_request.py +126 -0
- solvimon_python_sdk/models/pricing_plan_schedule_response_wrapper.py +96 -0
- solvimon_python_sdk/models/pricing_plan_schedule_template.py +89 -0
- solvimon_python_sdk/models/pricing_plan_schedule_template_create_request.py +89 -0
- solvimon_python_sdk/models/pricing_plan_schedule_template_update_request.py +89 -0
- solvimon_python_sdk/models/pricing_plan_schedule_update_request.py +290 -0
- solvimon_python_sdk/models/pricing_plan_subscription.py +396 -0
- solvimon_python_sdk/models/pricing_plan_subscription_cancel.py +117 -0
- solvimon_python_sdk/models/pricing_plan_subscription_cancel_create_request.py +114 -0
- solvimon_python_sdk/models/pricing_plan_subscription_change_plan.py +98 -0
- solvimon_python_sdk/models/pricing_plan_subscription_change_plan_create_request.py +98 -0
- solvimon_python_sdk/models/pricing_plan_subscription_copy.py +100 -0
- solvimon_python_sdk/models/pricing_plan_subscription_copy_create_request.py +100 -0
- solvimon_python_sdk/models/pricing_plan_subscription_create_request.py +396 -0
- solvimon_python_sdk/models/pricing_plan_subscription_group.py +126 -0
- solvimon_python_sdk/models/pricing_plan_subscription_group_create_request.py +123 -0
- solvimon_python_sdk/models/pricing_plan_subscription_group_response_wrapper.py +108 -0
- solvimon_python_sdk/models/pricing_plan_subscription_group_update_request.py +126 -0
- solvimon_python_sdk/models/pricing_plan_subscription_info.py +95 -0
- solvimon_python_sdk/models/pricing_plan_subscription_info_create_request.py +95 -0
- solvimon_python_sdk/models/pricing_plan_subscription_info_update_request.py +95 -0
- solvimon_python_sdk/models/pricing_plan_subscription_init.py +148 -0
- solvimon_python_sdk/models/pricing_plan_subscription_init_create_request.py +148 -0
- solvimon_python_sdk/models/pricing_plan_subscription_payment_method_update.py +91 -0
- solvimon_python_sdk/models/pricing_plan_subscription_payment_method_update_create_request.py +91 -0
- solvimon_python_sdk/models/pricing_plan_subscription_response_wrapper.py +108 -0
- solvimon_python_sdk/models/pricing_plan_subscription_selector.py +126 -0
- solvimon_python_sdk/models/pricing_plan_subscription_selector_create_request.py +126 -0
- solvimon_python_sdk/models/pricing_plan_subscription_selector_data.py +101 -0
- solvimon_python_sdk/models/pricing_plan_subscription_selector_filter.py +113 -0
- solvimon_python_sdk/models/pricing_plan_subscription_selector_rule.py +111 -0
- solvimon_python_sdk/models/pricing_plan_subscription_selector_update_request.py +126 -0
- solvimon_python_sdk/models/pricing_plan_subscription_template.py +112 -0
- solvimon_python_sdk/models/pricing_plan_subscription_template_create_request.py +112 -0
- solvimon_python_sdk/models/pricing_plan_subscription_template_update_request.py +112 -0
- solvimon_python_sdk/models/pricing_plan_subscription_trigger.py +124 -0
- solvimon_python_sdk/models/pricing_plan_subscription_trigger_create_request.py +124 -0
- solvimon_python_sdk/models/pricing_plan_subscription_trigger_event.py +99 -0
- solvimon_python_sdk/models/pricing_plan_subscription_trigger_manual.py +103 -0
- solvimon_python_sdk/models/pricing_plan_subscription_update_request.py +396 -0
- solvimon_python_sdk/models/pricing_plan_subscription_workflow.py +108 -0
- solvimon_python_sdk/models/pricing_plan_subscription_workflow_create_request.py +108 -0
- solvimon_python_sdk/models/pricing_plan_subscription_workflow_update_request.py +108 -0
- solvimon_python_sdk/models/pricing_plan_update_request.py +220 -0
- solvimon_python_sdk/models/pricing_plan_version.py +159 -0
- solvimon_python_sdk/models/pricing_plan_version_create_request.py +159 -0
- solvimon_python_sdk/models/pricing_plan_version_info.py +99 -0
- solvimon_python_sdk/models/pricing_plan_version_info_create_request.py +99 -0
- solvimon_python_sdk/models/pricing_plan_version_info_update_request.py +99 -0
- solvimon_python_sdk/models/pricing_plan_version_selector.py +105 -0
- solvimon_python_sdk/models/pricing_plan_version_selector_create_request.py +105 -0
- solvimon_python_sdk/models/pricing_plan_version_selector_update_request.py +105 -0
- solvimon_python_sdk/models/pricing_plan_version_update_request.py +159 -0
- solvimon_python_sdk/models/pricing_update_request.py +167 -0
- solvimon_python_sdk/models/processing_settings.py +89 -0
- solvimon_python_sdk/models/processing_settings_update_request.py +89 -0
- solvimon_python_sdk/models/product.py +221 -0
- solvimon_python_sdk/models/product_category.py +148 -0
- solvimon_python_sdk/models/product_category_create_request.py +142 -0
- solvimon_python_sdk/models/product_category_discount.py +119 -0
- solvimon_python_sdk/models/product_category_response_wrapper.py +108 -0
- solvimon_python_sdk/models/product_category_update_request.py +148 -0
- solvimon_python_sdk/models/product_create_request.py +221 -0
- solvimon_python_sdk/models/product_discount.py +119 -0
- solvimon_python_sdk/models/product_item.py +243 -0
- solvimon_python_sdk/models/product_item_create_request.py +234 -0
- solvimon_python_sdk/models/product_item_credits.py +97 -0
- solvimon_python_sdk/models/product_item_credits_create_request.py +97 -0
- solvimon_python_sdk/models/product_item_credits_update_request.py +97 -0
- solvimon_python_sdk/models/product_item_discount.py +119 -0
- solvimon_python_sdk/models/product_item_meter_property_condition_discount.py +126 -0
- solvimon_python_sdk/models/product_item_response_wrapper.py +108 -0
- solvimon_python_sdk/models/product_item_update_request.py +243 -0
- solvimon_python_sdk/models/product_item_usage_based.py +114 -0
- solvimon_python_sdk/models/product_item_usage_based_create_request.py +114 -0
- solvimon_python_sdk/models/product_item_usage_based_update_request.py +114 -0
- solvimon_python_sdk/models/product_response_wrapper.py +108 -0
- solvimon_python_sdk/models/product_update_request.py +221 -0
- solvimon_python_sdk/models/promotion_code.py +137 -0
- solvimon_python_sdk/models/promotion_code_create_request.py +137 -0
- solvimon_python_sdk/models/promotion_code_details.py +95 -0
- solvimon_python_sdk/models/promotion_code_limited_to.py +100 -0
- solvimon_python_sdk/models/promotion_code_limited_to_create_request.py +100 -0
- solvimon_python_sdk/models/promotion_code_response_wrapper.py +108 -0
- solvimon_python_sdk/models/quote.py +166 -0
- solvimon_python_sdk/models/quote_create_request.py +166 -0
- solvimon_python_sdk/models/quote_init_action.py +113 -0
- solvimon_python_sdk/models/quote_init_action_create_request.py +113 -0
- solvimon_python_sdk/models/quote_init_action_pricing_plan_subscription.py +138 -0
- solvimon_python_sdk/models/quote_init_action_pricing_plan_subscription_create_request.py +138 -0
- solvimon_python_sdk/models/quote_init_action_quote.py +117 -0
- solvimon_python_sdk/models/quote_init_action_quote_create_request.py +117 -0
- solvimon_python_sdk/models/quote_init_action_quote_pricing_plan_schedule.py +125 -0
- solvimon_python_sdk/models/quote_init_action_quote_pricing_plan_schedule_create_request.py +125 -0
- solvimon_python_sdk/models/quote_init_action_quote_version.py +91 -0
- solvimon_python_sdk/models/quote_init_action_quote_version_create_request.py +91 -0
- solvimon_python_sdk/models/quote_pdf_configuration.py +91 -0
- solvimon_python_sdk/models/quote_settings.py +93 -0
- solvimon_python_sdk/models/quote_settings_update_request.py +93 -0
- solvimon_python_sdk/models/quote_template.py +176 -0
- solvimon_python_sdk/models/quote_template_create_request.py +170 -0
- solvimon_python_sdk/models/quote_template_response_wrapper.py +108 -0
- solvimon_python_sdk/models/quote_template_update_request.py +176 -0
- solvimon_python_sdk/models/quote_update_request.py +166 -0
- solvimon_python_sdk/models/quote_upgrade_action_request.py +105 -0
- solvimon_python_sdk/models/quote_upgrade_action_request_create_request.py +105 -0
- solvimon_python_sdk/models/quote_upgrade_action_request_pricing_plan_schedule.py +94 -0
- solvimon_python_sdk/models/quote_upgrade_action_request_pricing_plan_schedule_create_request.py +94 -0
- solvimon_python_sdk/models/quote_upgrade_action_request_pricing_plan_subscription.py +124 -0
- solvimon_python_sdk/models/quote_upgrade_action_request_pricing_plan_subscription_create_request.py +124 -0
- solvimon_python_sdk/models/quote_upgrade_action_request_quote.py +114 -0
- solvimon_python_sdk/models/quote_upgrade_action_request_quote_create_request.py +114 -0
- solvimon_python_sdk/models/quote_upgrade_action_response.py +111 -0
- solvimon_python_sdk/models/quote_version.py +180 -0
- solvimon_python_sdk/models/quote_version_action.py +147 -0
- solvimon_python_sdk/models/quote_version_action_accept.py +95 -0
- solvimon_python_sdk/models/quote_version_action_accept_create_request.py +95 -0
- solvimon_python_sdk/models/quote_version_action_create_request.py +147 -0
- solvimon_python_sdk/models/quote_version_action_create_subscription.py +91 -0
- solvimon_python_sdk/models/quote_version_action_create_subscription_create_request.py +91 -0
- solvimon_python_sdk/models/quote_version_action_reject.py +97 -0
- solvimon_python_sdk/models/quote_version_action_reject_create_request.py +97 -0
- solvimon_python_sdk/models/quote_version_action_request_signature.py +99 -0
- solvimon_python_sdk/models/quote_version_action_send.py +95 -0
- solvimon_python_sdk/models/quote_version_action_send_create_request.py +95 -0
- solvimon_python_sdk/models/quote_version_action_sign.py +91 -0
- solvimon_python_sdk/models/quote_version_action_update_request.py +147 -0
- solvimon_python_sdk/models/quote_version_content.py +107 -0
- solvimon_python_sdk/models/quote_version_content_create_request.py +107 -0
- solvimon_python_sdk/models/quote_version_content_update_request.py +107 -0
- solvimon_python_sdk/models/quote_version_create_request.py +180 -0
- solvimon_python_sdk/models/quote_version_default_content.py +91 -0
- solvimon_python_sdk/models/quote_version_info.py +103 -0
- solvimon_python_sdk/models/quote_version_info_create_request.py +103 -0
- solvimon_python_sdk/models/quote_version_info_update_request.py +103 -0
- solvimon_python_sdk/models/quote_version_invoices_info.py +95 -0
- solvimon_python_sdk/models/quote_version_invoices_info_create_request.py +95 -0
- solvimon_python_sdk/models/quote_version_invoices_info_update_request.py +95 -0
- solvimon_python_sdk/models/quote_version_portal_url.py +89 -0
- solvimon_python_sdk/models/quote_version_portal_url_create_request.py +89 -0
- solvimon_python_sdk/models/quote_version_portal_url_update_request.py +89 -0
- solvimon_python_sdk/models/quote_version_recipient_data.py +125 -0
- solvimon_python_sdk/models/quote_version_recipient_data_create_request.py +125 -0
- solvimon_python_sdk/models/quote_version_recipient_data_update_request.py +125 -0
- solvimon_python_sdk/models/quote_version_response_wrapper.py +108 -0
- solvimon_python_sdk/models/quote_version_template.py +95 -0
- solvimon_python_sdk/models/quote_version_template_create_request.py +95 -0
- solvimon_python_sdk/models/quote_version_template_update_request.py +95 -0
- solvimon_python_sdk/models/quote_version_update_request.py +180 -0
- solvimon_python_sdk/models/quotes_response_wrapper.py +108 -0
- solvimon_python_sdk/models/rate_card.py +90 -0
- solvimon_python_sdk/models/rate_card_create_request.py +90 -0
- solvimon_python_sdk/models/rate_card_update_request.py +90 -0
- solvimon_python_sdk/models/recipient_contact_data.py +97 -0
- solvimon_python_sdk/models/recipient_details_data.py +95 -0
- solvimon_python_sdk/models/reference_mapping_interface.py +95 -0
- solvimon_python_sdk/models/refresh_invoice.py +112 -0
- solvimon_python_sdk/models/refresh_invoice_create_request.py +112 -0
- solvimon_python_sdk/models/refund_payment_request.py +93 -0
- solvimon_python_sdk/models/refund_payment_request_create_request.py +93 -0
- solvimon_python_sdk/models/report.py +164 -0
- solvimon_python_sdk/models/report_column.py +103 -0
- solvimon_python_sdk/models/report_configuration.py +128 -0
- solvimon_python_sdk/models/report_configuration_create_request.py +125 -0
- solvimon_python_sdk/models/report_configuration_response_wrapper.py +108 -0
- solvimon_python_sdk/models/report_configuration_update_request.py +128 -0
- solvimon_python_sdk/models/report_definition.py +179 -0
- solvimon_python_sdk/models/report_definition_create_request.py +179 -0
- solvimon_python_sdk/models/report_definition_response_wrapper.py +108 -0
- solvimon_python_sdk/models/report_definition_update_request.py +179 -0
- solvimon_python_sdk/models/report_generate_request.py +141 -0
- solvimon_python_sdk/models/report_generate_request_create_request.py +141 -0
- solvimon_python_sdk/models/report_generate_request_response_wrapper.py +108 -0
- solvimon_python_sdk/models/report_ingest_data_summary.py +106 -0
- solvimon_python_sdk/models/report_parameter.py +113 -0
- solvimon_python_sdk/models/report_parameter_value.py +101 -0
- solvimon_python_sdk/models/report_parameter_value_create_request.py +101 -0
- solvimon_python_sdk/models/report_parameter_value_update_request.py +101 -0
- solvimon_python_sdk/models/report_response_wrapper.py +108 -0
- solvimon_python_sdk/models/report_subscription.py +148 -0
- solvimon_python_sdk/models/report_subscription_create_request.py +148 -0
- solvimon_python_sdk/models/report_subscription_response_wrapper.py +108 -0
- solvimon_python_sdk/models/report_subscription_schedule.py +104 -0
- solvimon_python_sdk/models/report_subscription_schedule_create_request.py +104 -0
- solvimon_python_sdk/models/report_subscription_schedule_update_request.py +104 -0
- solvimon_python_sdk/models/report_subscription_update_request.py +148 -0
- solvimon_python_sdk/models/reprocess.py +137 -0
- solvimon_python_sdk/models/reprocess_create_request.py +134 -0
- solvimon_python_sdk/models/reprocess_customer.py +104 -0
- solvimon_python_sdk/models/reprocess_customer_create_request.py +104 -0
- solvimon_python_sdk/models/reprocess_invoice.py +91 -0
- solvimon_python_sdk/models/reprocess_invoice_create_request.py +91 -0
- solvimon_python_sdk/models/reprocess_not_matched.py +94 -0
- solvimon_python_sdk/models/reprocess_not_matched_create_request.py +94 -0
- solvimon_python_sdk/models/reprocess_response_wrapper.py +108 -0
- solvimon_python_sdk/models/reprocessing_delay.py +102 -0
- solvimon_python_sdk/models/reprocessing_settings.py +93 -0
- solvimon_python_sdk/models/reprocessing_settings_update_request.py +93 -0
- solvimon_python_sdk/models/request_usage_reports_parameters.py +100 -0
- solvimon_python_sdk/models/request_usage_reports_parameters_create_request.py +100 -0
- solvimon_python_sdk/models/required_action.py +107 -0
- solvimon_python_sdk/models/reset_password.py +91 -0
- solvimon_python_sdk/models/reset_password_create_request.py +91 -0
- solvimon_python_sdk/models/resource_identifier.py +101 -0
- solvimon_python_sdk/models/resource_identifier_create_request.py +101 -0
- solvimon_python_sdk/models/resubmit_e_invoice.py +91 -0
- solvimon_python_sdk/models/resubmit_e_invoice_create_request.py +91 -0
- solvimon_python_sdk/models/reviewer.py +101 -0
- solvimon_python_sdk/models/role.py +109 -0
- solvimon_python_sdk/models/role_create_request.py +109 -0
- solvimon_python_sdk/models/role_paginated_response_wrapper.py +108 -0
- solvimon_python_sdk/models/role_update_request.py +109 -0
- solvimon_python_sdk/models/rounding_setting.py +111 -0
- solvimon_python_sdk/models/rounding_setting_update_request.py +111 -0
- solvimon_python_sdk/models/s3.py +109 -0
- solvimon_python_sdk/models/search.py +114 -0
- solvimon_python_sdk/models/search_create_request.py +114 -0
- solvimon_python_sdk/models/search_field.py +97 -0
- solvimon_python_sdk/models/search_field_create_request.py +97 -0
- solvimon_python_sdk/models/seat_assignment.py +128 -0
- solvimon_python_sdk/models/seat_assignment_create_request.py +128 -0
- solvimon_python_sdk/models/seat_assignment_response_wrapper.py +108 -0
- solvimon_python_sdk/models/seat_assignment_update_request.py +128 -0
- solvimon_python_sdk/models/selection_rule.py +105 -0
- solvimon_python_sdk/models/selection_rule_create_request.py +105 -0
- solvimon_python_sdk/models/selection_rule_field.py +91 -0
- solvimon_python_sdk/models/selection_rule_field_create_request.py +91 -0
- solvimon_python_sdk/models/selection_rule_resource.py +127 -0
- solvimon_python_sdk/models/selection_rule_update_request.py +105 -0
- solvimon_python_sdk/models/seller_details.py +89 -0
- solvimon_python_sdk/models/seller_details_create_request.py +89 -0
- solvimon_python_sdk/models/seller_details_update_request.py +89 -0
- solvimon_python_sdk/models/send_email_invoice_configuration.py +105 -0
- solvimon_python_sdk/models/send_email_payment_configuration.py +89 -0
- solvimon_python_sdk/models/send_email_pricing_plan_subscription_configuration.py +89 -0
- solvimon_python_sdk/models/send_email_to_customer.py +175 -0
- solvimon_python_sdk/models/send_email_to_customer_update_request.py +175 -0
- solvimon_python_sdk/models/send_email_wallet_configuration.py +89 -0
- solvimon_python_sdk/models/send_webhook_action.py +89 -0
- solvimon_python_sdk/models/send_webhook_action_update_request.py +89 -0
- solvimon_python_sdk/models/signature_request.py +148 -0
- solvimon_python_sdk/models/signature_request_quote_version.py +91 -0
- solvimon_python_sdk/models/signature_request_recipient_action.py +101 -0
- solvimon_python_sdk/models/signature_request_recipient_action_create_request.py +98 -0
- solvimon_python_sdk/models/signature_request_recipient_data.py +135 -0
- solvimon_python_sdk/models/snowflake.py +97 -0
- solvimon_python_sdk/models/sso_authentication_provider_variant_settings.py +89 -0
- solvimon_python_sdk/models/sso_variant.py +113 -0
- solvimon_python_sdk/models/sso_variant_create_request.py +113 -0
- solvimon_python_sdk/models/sso_variant_update_request.py +113 -0
- solvimon_python_sdk/models/stripe_integration_details.py +89 -0
- solvimon_python_sdk/models/stripe_payment_action.py +91 -0
- solvimon_python_sdk/models/stripe_payment_gateway_integration.py +91 -0
- solvimon_python_sdk/models/stripe_payment_method_option.py +89 -0
- solvimon_python_sdk/models/stripe_required_action.py +95 -0
- solvimon_python_sdk/models/stripe_tokenization_request.py +89 -0
- solvimon_python_sdk/models/stripe_tokenization_request_create_request.py +89 -0
- solvimon_python_sdk/models/system_ownership_details.py +95 -0
- solvimon_python_sdk/models/tax_calculation_integration.py +118 -0
- solvimon_python_sdk/models/tax_calculation_integration_create_request.py +118 -0
- solvimon_python_sdk/models/tax_calculation_integration_update_request.py +118 -0
- solvimon_python_sdk/models/tax_id.py +111 -0
- solvimon_python_sdk/models/tax_id_create_request.py +111 -0
- solvimon_python_sdk/models/tax_id_type_response.py +97 -0
- solvimon_python_sdk/models/tax_id_validation.py +107 -0
- solvimon_python_sdk/models/tax_id_validation_wrapper.py +96 -0
- solvimon_python_sdk/models/tax_registration.py +112 -0
- solvimon_python_sdk/models/tax_registration_create_request.py +112 -0
- solvimon_python_sdk/models/tax_registration_update_request.py +112 -0
- solvimon_python_sdk/models/tax_settings.py +89 -0
- solvimon_python_sdk/models/tax_settings_create_request.py +89 -0
- solvimon_python_sdk/models/team_member_paginated_response_wrapper.py +96 -0
- solvimon_python_sdk/models/team_member_representation.py +109 -0
- solvimon_python_sdk/models/team_member_representation_create_request.py +109 -0
- solvimon_python_sdk/models/team_member_representation_update_request.py +109 -0
- solvimon_python_sdk/models/team_representation.py +106 -0
- solvimon_python_sdk/models/team_representation_create_request.py +106 -0
- solvimon_python_sdk/models/template_pricing_plan_subscription.py +101 -0
- solvimon_python_sdk/models/template_pricing_plan_subscription_update_request.py +101 -0
- solvimon_python_sdk/models/test_connection_response.py +109 -0
- solvimon_python_sdk/models/threshold.py +97 -0
- solvimon_python_sdk/models/total_discount.py +117 -0
- solvimon_python_sdk/models/trigger_report_request.py +96 -0
- solvimon_python_sdk/models/trigger_report_request_create_request.py +96 -0
- solvimon_python_sdk/models/uk_local.py +112 -0
- solvimon_python_sdk/models/unit_name.py +112 -0
- solvimon_python_sdk/models/unit_name_create_request.py +112 -0
- solvimon_python_sdk/models/unit_name_update_request.py +112 -0
- solvimon_python_sdk/models/us_local.py +136 -0
- solvimon_python_sdk/models/usage_limit.py +139 -0
- solvimon_python_sdk/models/usage_limit_create_request.py +136 -0
- solvimon_python_sdk/models/usage_limit_response_wrapper.py +108 -0
- solvimon_python_sdk/models/usage_limit_status.py +118 -0
- solvimon_python_sdk/models/usage_limit_status_response.py +106 -0
- solvimon_python_sdk/models/usage_limit_status_update.py +99 -0
- solvimon_python_sdk/models/usage_limit_status_update_create_request.py +96 -0
- solvimon_python_sdk/models/usage_limit_update_request.py +139 -0
- solvimon_python_sdk/models/usage_limit_value.py +112 -0
- solvimon_python_sdk/models/usage_limit_value_create_request.py +112 -0
- solvimon_python_sdk/models/usage_limit_value_update_request.py +112 -0
- solvimon_python_sdk/models/usage_threshold.py +124 -0
- solvimon_python_sdk/models/usage_trigger.py +97 -0
- solvimon_python_sdk/models/usage_trigger_create_request.py +97 -0
- solvimon_python_sdk/models/usage_trigger_event.py +131 -0
- solvimon_python_sdk/models/usage_workflow.py +110 -0
- solvimon_python_sdk/models/usage_workflow_create_request.py +110 -0
- solvimon_python_sdk/models/usage_workflow_update_request.py +110 -0
- solvimon_python_sdk/models/used_exchange_rate.py +97 -0
- solvimon_python_sdk/models/used_exchange_rate_create_request.py +97 -0
- solvimon_python_sdk/models/used_exchange_rate_update_request.py +97 -0
- solvimon_python_sdk/models/used_wallet_grant_detail.py +111 -0
- solvimon_python_sdk/models/user.py +158 -0
- solvimon_python_sdk/models/user_create_request.py +158 -0
- solvimon_python_sdk/models/user_create_request_identity.py +158 -0
- solvimon_python_sdk/models/user_invite.py +109 -0
- solvimon_python_sdk/models/user_invite_create_request.py +109 -0
- solvimon_python_sdk/models/user_paginated_response_wrapper.py +108 -0
- solvimon_python_sdk/models/user_search_filter.py +95 -0
- solvimon_python_sdk/models/user_search_filter_create_request.py +95 -0
- solvimon_python_sdk/models/user_update_request.py +158 -0
- solvimon_python_sdk/models/user_update_request_identity.py +158 -0
- solvimon_python_sdk/models/username_password.py +91 -0
- solvimon_python_sdk/models/username_password_create_request.py +91 -0
- solvimon_python_sdk/models/volume.py +95 -0
- solvimon_python_sdk/models/volume_create_request.py +95 -0
- solvimon_python_sdk/models/wallet.py +151 -0
- solvimon_python_sdk/models/wallet_balance_status.py +131 -0
- solvimon_python_sdk/models/wallet_balance_status_request.py +92 -0
- solvimon_python_sdk/models/wallet_balance_status_request_create_request.py +92 -0
- solvimon_python_sdk/models/wallet_balance_value.py +103 -0
- solvimon_python_sdk/models/wallet_balance_value_create_request.py +103 -0
- solvimon_python_sdk/models/wallet_create_request.py +148 -0
- solvimon_python_sdk/models/wallet_customer_balance_detail.py +113 -0
- solvimon_python_sdk/models/wallet_grant.py +200 -0
- solvimon_python_sdk/models/wallet_grant_create_request.py +200 -0
- solvimon_python_sdk/models/wallet_grant_response_wrapper.py +108 -0
- solvimon_python_sdk/models/wallet_grant_seat.py +95 -0
- solvimon_python_sdk/models/wallet_grant_seat_create_request.py +95 -0
- solvimon_python_sdk/models/wallet_response_wrapper.py +108 -0
- solvimon_python_sdk/models/wallet_threshold.py +112 -0
- solvimon_python_sdk/models/wallet_trigger.py +127 -0
- solvimon_python_sdk/models/wallet_trigger_create_request.py +127 -0
- solvimon_python_sdk/models/wallet_trigger_event.py +99 -0
- solvimon_python_sdk/models/wallet_trigger_wallet_balance.py +102 -0
- solvimon_python_sdk/models/wallet_type.py +164 -0
- solvimon_python_sdk/models/wallet_type_balance.py +89 -0
- solvimon_python_sdk/models/wallet_type_balance_update_request.py +89 -0
- solvimon_python_sdk/models/wallet_type_create_request.py +164 -0
- solvimon_python_sdk/models/wallet_type_credit.py +111 -0
- solvimon_python_sdk/models/wallet_type_credit_amount_grant.py +111 -0
- solvimon_python_sdk/models/wallet_type_credit_credits_grant.py +89 -0
- solvimon_python_sdk/models/wallet_type_credit_update_request.py +111 -0
- solvimon_python_sdk/models/wallet_type_response_wrapper.py +108 -0
- solvimon_python_sdk/models/wallet_type_update_request.py +164 -0
- solvimon_python_sdk/models/wallet_wallet_balance.py +107 -0
- solvimon_python_sdk/models/wallet_workflow.py +105 -0
- solvimon_python_sdk/models/wallet_workflow_create_request.py +105 -0
- solvimon_python_sdk/models/wallet_workflow_update_request.py +105 -0
- solvimon_python_sdk/models/webhook.py +200 -0
- solvimon_python_sdk/models/webhook_action.py +91 -0
- solvimon_python_sdk/models/webhook_action_response_wrapper.py +98 -0
- solvimon_python_sdk/models/webhook_connection_response.py +95 -0
- solvimon_python_sdk/models/webhook_create_request.py +200 -0
- solvimon_python_sdk/models/webhook_event.py +131 -0
- solvimon_python_sdk/models/webhook_event_failure_data.py +95 -0
- solvimon_python_sdk/models/webhook_event_response_wrapper.py +108 -0
- solvimon_python_sdk/models/webhook_response_wrapper.py +108 -0
- solvimon_python_sdk/models/webhook_update_request.py +200 -0
- solvimon_python_sdk/models/workflow.py +202 -0
- solvimon_python_sdk/models/workflow_action.py +160 -0
- solvimon_python_sdk/models/workflow_action_create_request.py +160 -0
- solvimon_python_sdk/models/workflow_action_execution.py +149 -0
- solvimon_python_sdk/models/workflow_action_execution_create_request.py +146 -0
- solvimon_python_sdk/models/workflow_action_execution_update_request.py +149 -0
- solvimon_python_sdk/models/workflow_action_executions_paginated_response.py +108 -0
- solvimon_python_sdk/models/workflow_action_update_request.py +160 -0
- solvimon_python_sdk/models/workflow_action_update_request_transaction.py +160 -0
- solvimon_python_sdk/models/workflow_conditions.py +111 -0
- solvimon_python_sdk/models/workflow_conditions_comparison.py +103 -0
- solvimon_python_sdk/models/workflow_conditions_create_request.py +111 -0
- solvimon_python_sdk/models/workflow_conditions_group.py +101 -0
- solvimon_python_sdk/models/workflow_conditions_result_comparison.py +105 -0
- solvimon_python_sdk/models/workflow_conditions_result_group.py +101 -0
- solvimon_python_sdk/models/workflow_conditions_result_tree.py +123 -0
- solvimon_python_sdk/models/workflow_conditions_result_tree_create_request.py +123 -0
- solvimon_python_sdk/models/workflow_conditions_result_tree_update_request.py +123 -0
- solvimon_python_sdk/models/workflow_conditions_update_request.py +111 -0
- solvimon_python_sdk/models/workflow_create_request.py +190 -0
- solvimon_python_sdk/models/workflow_create_request_transaction.py +202 -0
- solvimon_python_sdk/models/workflow_init.py +102 -0
- solvimon_python_sdk/models/workflow_init_create_request.py +102 -0
- solvimon_python_sdk/models/workflow_paginated_response.py +108 -0
- solvimon_python_sdk/models/workflow_trigger.py +157 -0
- solvimon_python_sdk/models/workflow_trigger_create_request.py +154 -0
- solvimon_python_sdk/models/workflow_trigger_paginated_response.py +108 -0
- solvimon_python_sdk/models/workflow_trigger_update_request.py +157 -0
- solvimon_python_sdk/models/workflow_update_request.py +202 -0
- solvimon_python_sdk/py.typed +0 -0
- solvimon_python_sdk/rest.py +335 -0
- solvimon_python_sdk-0.0.4b0.dist-info/METADATA +1725 -0
- solvimon_python_sdk-0.0.4b0.dist-info/RECORD +1196 -0
- solvimon_python_sdk-0.0.4b0.dist-info/WHEEL +5 -0
- solvimon_python_sdk-0.0.4b0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,3297 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Solvimon API
|
|
3
|
+
|
|
4
|
+
Unified Solvimon API covering Configuration, Event, Identity, and Transaction domains.
|
|
5
|
+
|
|
6
|
+
The version of the OpenAPI document: 0.0.4-beta
|
|
7
|
+
Contact: contact@solvimon.com
|
|
8
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
9
|
+
|
|
10
|
+
Do not edit the class manually.
|
|
11
|
+
""" # noqa: E501
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
import warnings
|
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
18
|
+
|
|
19
|
+
from pydantic import Field, StrictInt, StrictStr
|
|
20
|
+
from typing import List, Optional
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from solvimon_python_sdk.models.authentication_settings_create_request import AuthenticationSettingsCreateRequest
|
|
23
|
+
from solvimon_python_sdk.models.e_invoicing_mandate import EInvoicingMandate
|
|
24
|
+
from solvimon_python_sdk.models.integration import Integration
|
|
25
|
+
from solvimon_python_sdk.models.integration_create_request import IntegrationCreateRequest
|
|
26
|
+
from solvimon_python_sdk.models.integration_response_wrapper import IntegrationResponseWrapper
|
|
27
|
+
from solvimon_python_sdk.models.integration_update_request import IntegrationUpdateRequest
|
|
28
|
+
from solvimon_python_sdk.models.test_connection_response import TestConnectionResponse
|
|
29
|
+
|
|
30
|
+
from solvimon_python_sdk.api_client import ApiClient, RequestSerialized
|
|
31
|
+
from solvimon_python_sdk.api_response import ApiResponse
|
|
32
|
+
from solvimon_python_sdk.rest import RESTResponseType
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class IntegrationsApi:
|
|
36
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
37
|
+
Ref: https://openapi-generator.tech
|
|
38
|
+
|
|
39
|
+
Do not edit the class manually.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
def __init__(self, api_client=None) -> None:
|
|
43
|
+
if api_client is None:
|
|
44
|
+
api_client = ApiClient.get_default()
|
|
45
|
+
self.api_client = api_client
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@validate_call
|
|
49
|
+
def delete_integrations_by_resource_id_or_reference(
|
|
50
|
+
self,
|
|
51
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
52
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
53
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
54
|
+
_request_timeout: Union[
|
|
55
|
+
None,
|
|
56
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
+
Tuple[
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
60
|
+
]
|
|
61
|
+
] = None,
|
|
62
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
+
_content_type: Optional[StrictStr] = None,
|
|
64
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
66
|
+
) -> Integration:
|
|
67
|
+
"""Deleting an integration by its ID or reference
|
|
68
|
+
|
|
69
|
+
Requires the INTEGRATION.DELETE permission.
|
|
70
|
+
|
|
71
|
+
:param version: version (required)
|
|
72
|
+
:type version: str
|
|
73
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
74
|
+
:type resource_id_or_reference: str
|
|
75
|
+
:param x_platform_id: Platform ID.
|
|
76
|
+
:type x_platform_id: str
|
|
77
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
78
|
+
number provided, it will be total request
|
|
79
|
+
timeout. It can also be a pair (tuple) of
|
|
80
|
+
(connection, read) timeouts.
|
|
81
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
82
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
83
|
+
request; this effectively ignores the
|
|
84
|
+
authentication in the spec for a single request.
|
|
85
|
+
:type _request_auth: dict, optional
|
|
86
|
+
:param _content_type: force content-type for the request.
|
|
87
|
+
:type _content_type: str, Optional
|
|
88
|
+
:param _headers: set to override the headers for a single
|
|
89
|
+
request; this effectively ignores the headers
|
|
90
|
+
in the spec for a single request.
|
|
91
|
+
:type _headers: dict, optional
|
|
92
|
+
:param _host_index: set to override the host_index for a single
|
|
93
|
+
request; this effectively ignores the host_index
|
|
94
|
+
in the spec for a single request.
|
|
95
|
+
:type _host_index: int, optional
|
|
96
|
+
:return: Returns the result object.
|
|
97
|
+
""" # noqa: E501
|
|
98
|
+
|
|
99
|
+
_param = self._delete_integrations_by_resource_id_or_reference_serialize(
|
|
100
|
+
version=version,
|
|
101
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
102
|
+
x_platform_id=x_platform_id,
|
|
103
|
+
_request_auth=_request_auth,
|
|
104
|
+
_content_type=_content_type,
|
|
105
|
+
_headers=_headers,
|
|
106
|
+
_host_index=_host_index
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
110
|
+
'200': "Integration",
|
|
111
|
+
'400': "ApiError",
|
|
112
|
+
'401': "ApiError",
|
|
113
|
+
'403': "ApiError",
|
|
114
|
+
'500': "ApiError",
|
|
115
|
+
}
|
|
116
|
+
response_data = self.api_client.call_api(
|
|
117
|
+
*_param,
|
|
118
|
+
_request_timeout=_request_timeout
|
|
119
|
+
)
|
|
120
|
+
response_data.read()
|
|
121
|
+
return self.api_client.response_deserialize(
|
|
122
|
+
response_data=response_data,
|
|
123
|
+
response_types_map=_response_types_map,
|
|
124
|
+
).data
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@validate_call
|
|
128
|
+
def delete_integrations_by_resource_id_or_reference_with_http_info(
|
|
129
|
+
self,
|
|
130
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
131
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
132
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
133
|
+
_request_timeout: Union[
|
|
134
|
+
None,
|
|
135
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
136
|
+
Tuple[
|
|
137
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
138
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
139
|
+
]
|
|
140
|
+
] = None,
|
|
141
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
142
|
+
_content_type: Optional[StrictStr] = None,
|
|
143
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
144
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
145
|
+
) -> ApiResponse[Integration]:
|
|
146
|
+
"""Deleting an integration by its ID or reference
|
|
147
|
+
|
|
148
|
+
Requires the INTEGRATION.DELETE permission.
|
|
149
|
+
|
|
150
|
+
:param version: version (required)
|
|
151
|
+
:type version: str
|
|
152
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
153
|
+
:type resource_id_or_reference: str
|
|
154
|
+
:param x_platform_id: Platform ID.
|
|
155
|
+
:type x_platform_id: str
|
|
156
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
157
|
+
number provided, it will be total request
|
|
158
|
+
timeout. It can also be a pair (tuple) of
|
|
159
|
+
(connection, read) timeouts.
|
|
160
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
161
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
162
|
+
request; this effectively ignores the
|
|
163
|
+
authentication in the spec for a single request.
|
|
164
|
+
:type _request_auth: dict, optional
|
|
165
|
+
:param _content_type: force content-type for the request.
|
|
166
|
+
:type _content_type: str, Optional
|
|
167
|
+
:param _headers: set to override the headers for a single
|
|
168
|
+
request; this effectively ignores the headers
|
|
169
|
+
in the spec for a single request.
|
|
170
|
+
:type _headers: dict, optional
|
|
171
|
+
:param _host_index: set to override the host_index for a single
|
|
172
|
+
request; this effectively ignores the host_index
|
|
173
|
+
in the spec for a single request.
|
|
174
|
+
:type _host_index: int, optional
|
|
175
|
+
:return: Returns the result object.
|
|
176
|
+
""" # noqa: E501
|
|
177
|
+
|
|
178
|
+
_param = self._delete_integrations_by_resource_id_or_reference_serialize(
|
|
179
|
+
version=version,
|
|
180
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
181
|
+
x_platform_id=x_platform_id,
|
|
182
|
+
_request_auth=_request_auth,
|
|
183
|
+
_content_type=_content_type,
|
|
184
|
+
_headers=_headers,
|
|
185
|
+
_host_index=_host_index
|
|
186
|
+
)
|
|
187
|
+
|
|
188
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
189
|
+
'200': "Integration",
|
|
190
|
+
'400': "ApiError",
|
|
191
|
+
'401': "ApiError",
|
|
192
|
+
'403': "ApiError",
|
|
193
|
+
'500': "ApiError",
|
|
194
|
+
}
|
|
195
|
+
response_data = self.api_client.call_api(
|
|
196
|
+
*_param,
|
|
197
|
+
_request_timeout=_request_timeout
|
|
198
|
+
)
|
|
199
|
+
response_data.read()
|
|
200
|
+
return self.api_client.response_deserialize(
|
|
201
|
+
response_data=response_data,
|
|
202
|
+
response_types_map=_response_types_map,
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
@validate_call
|
|
207
|
+
def delete_integrations_by_resource_id_or_reference_without_preload_content(
|
|
208
|
+
self,
|
|
209
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
210
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
211
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
212
|
+
_request_timeout: Union[
|
|
213
|
+
None,
|
|
214
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
215
|
+
Tuple[
|
|
216
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
217
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
218
|
+
]
|
|
219
|
+
] = None,
|
|
220
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
221
|
+
_content_type: Optional[StrictStr] = None,
|
|
222
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
223
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
224
|
+
) -> RESTResponseType:
|
|
225
|
+
"""Deleting an integration by its ID or reference
|
|
226
|
+
|
|
227
|
+
Requires the INTEGRATION.DELETE permission.
|
|
228
|
+
|
|
229
|
+
:param version: version (required)
|
|
230
|
+
:type version: str
|
|
231
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
232
|
+
:type resource_id_or_reference: str
|
|
233
|
+
:param x_platform_id: Platform ID.
|
|
234
|
+
:type x_platform_id: str
|
|
235
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
236
|
+
number provided, it will be total request
|
|
237
|
+
timeout. It can also be a pair (tuple) of
|
|
238
|
+
(connection, read) timeouts.
|
|
239
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
240
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
241
|
+
request; this effectively ignores the
|
|
242
|
+
authentication in the spec for a single request.
|
|
243
|
+
:type _request_auth: dict, optional
|
|
244
|
+
:param _content_type: force content-type for the request.
|
|
245
|
+
:type _content_type: str, Optional
|
|
246
|
+
:param _headers: set to override the headers for a single
|
|
247
|
+
request; this effectively ignores the headers
|
|
248
|
+
in the spec for a single request.
|
|
249
|
+
:type _headers: dict, optional
|
|
250
|
+
:param _host_index: set to override the host_index for a single
|
|
251
|
+
request; this effectively ignores the host_index
|
|
252
|
+
in the spec for a single request.
|
|
253
|
+
:type _host_index: int, optional
|
|
254
|
+
:return: Returns the result object.
|
|
255
|
+
""" # noqa: E501
|
|
256
|
+
|
|
257
|
+
_param = self._delete_integrations_by_resource_id_or_reference_serialize(
|
|
258
|
+
version=version,
|
|
259
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
260
|
+
x_platform_id=x_platform_id,
|
|
261
|
+
_request_auth=_request_auth,
|
|
262
|
+
_content_type=_content_type,
|
|
263
|
+
_headers=_headers,
|
|
264
|
+
_host_index=_host_index
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
268
|
+
'200': "Integration",
|
|
269
|
+
'400': "ApiError",
|
|
270
|
+
'401': "ApiError",
|
|
271
|
+
'403': "ApiError",
|
|
272
|
+
'500': "ApiError",
|
|
273
|
+
}
|
|
274
|
+
response_data = self.api_client.call_api(
|
|
275
|
+
*_param,
|
|
276
|
+
_request_timeout=_request_timeout
|
|
277
|
+
)
|
|
278
|
+
return response_data.response
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
def _delete_integrations_by_resource_id_or_reference_serialize(
|
|
282
|
+
self,
|
|
283
|
+
version,
|
|
284
|
+
resource_id_or_reference,
|
|
285
|
+
x_platform_id,
|
|
286
|
+
_request_auth,
|
|
287
|
+
_content_type,
|
|
288
|
+
_headers,
|
|
289
|
+
_host_index,
|
|
290
|
+
) -> RequestSerialized:
|
|
291
|
+
|
|
292
|
+
_host = None
|
|
293
|
+
|
|
294
|
+
_collection_formats: Dict[str, str] = {
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
_path_params: Dict[str, str] = {}
|
|
298
|
+
_query_params: List[Tuple[str, str]] = []
|
|
299
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
300
|
+
_form_params: List[Tuple[str, str]] = []
|
|
301
|
+
_files: Dict[
|
|
302
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
303
|
+
] = {}
|
|
304
|
+
_body_params: Optional[bytes] = None
|
|
305
|
+
|
|
306
|
+
# process the path parameters
|
|
307
|
+
if version is not None:
|
|
308
|
+
_path_params['version'] = version
|
|
309
|
+
if resource_id_or_reference is not None:
|
|
310
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
311
|
+
# process the query parameters
|
|
312
|
+
# process the header parameters
|
|
313
|
+
if x_platform_id is not None:
|
|
314
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
315
|
+
# process the form parameters
|
|
316
|
+
# process the body parameter
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
# set the HTTP header `Accept`
|
|
320
|
+
if 'Accept' not in _header_params:
|
|
321
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
322
|
+
[
|
|
323
|
+
'application/json',
|
|
324
|
+
'*/*'
|
|
325
|
+
]
|
|
326
|
+
)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
# authentication setting
|
|
330
|
+
_auth_settings: List[str] = [
|
|
331
|
+
'JWT-Authentication',
|
|
332
|
+
'API-Key'
|
|
333
|
+
]
|
|
334
|
+
|
|
335
|
+
return self.api_client.param_serialize(
|
|
336
|
+
method='DELETE',
|
|
337
|
+
resource_path='/v{version}/integrations/{resourceIdOrReference}',
|
|
338
|
+
path_params=_path_params,
|
|
339
|
+
query_params=_query_params,
|
|
340
|
+
header_params=_header_params,
|
|
341
|
+
body=_body_params,
|
|
342
|
+
post_params=_form_params,
|
|
343
|
+
files=_files,
|
|
344
|
+
auth_settings=_auth_settings,
|
|
345
|
+
collection_formats=_collection_formats,
|
|
346
|
+
_host=_host,
|
|
347
|
+
_request_auth=_request_auth
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
@validate_call
|
|
354
|
+
def get_integrations(
|
|
355
|
+
self,
|
|
356
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
357
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
358
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
359
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
360
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
361
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
362
|
+
_request_timeout: Union[
|
|
363
|
+
None,
|
|
364
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
365
|
+
Tuple[
|
|
366
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
367
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
368
|
+
]
|
|
369
|
+
] = None,
|
|
370
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
371
|
+
_content_type: Optional[StrictStr] = None,
|
|
372
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
373
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
374
|
+
) -> IntegrationResponseWrapper:
|
|
375
|
+
"""Get a list of integrations
|
|
376
|
+
|
|
377
|
+
Requires the INTEGRATION.VIEW permission.
|
|
378
|
+
|
|
379
|
+
:param version: version (required)
|
|
380
|
+
:type version: str
|
|
381
|
+
:param x_platform_id: Platform ID.
|
|
382
|
+
:type x_platform_id: str
|
|
383
|
+
:param limit: The amount of records shown in the list
|
|
384
|
+
:type limit: int
|
|
385
|
+
:param page: The page which is going to be shown
|
|
386
|
+
:type page: int
|
|
387
|
+
:param order_by: The parameter by which the response is ordered.
|
|
388
|
+
:type order_by: str
|
|
389
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
390
|
+
:type order_direction: str
|
|
391
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
392
|
+
number provided, it will be total request
|
|
393
|
+
timeout. It can also be a pair (tuple) of
|
|
394
|
+
(connection, read) timeouts.
|
|
395
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
396
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
397
|
+
request; this effectively ignores the
|
|
398
|
+
authentication in the spec for a single request.
|
|
399
|
+
:type _request_auth: dict, optional
|
|
400
|
+
:param _content_type: force content-type for the request.
|
|
401
|
+
:type _content_type: str, Optional
|
|
402
|
+
:param _headers: set to override the headers for a single
|
|
403
|
+
request; this effectively ignores the headers
|
|
404
|
+
in the spec for a single request.
|
|
405
|
+
:type _headers: dict, optional
|
|
406
|
+
:param _host_index: set to override the host_index for a single
|
|
407
|
+
request; this effectively ignores the host_index
|
|
408
|
+
in the spec for a single request.
|
|
409
|
+
:type _host_index: int, optional
|
|
410
|
+
:return: Returns the result object.
|
|
411
|
+
""" # noqa: E501
|
|
412
|
+
|
|
413
|
+
_param = self._get_integrations_serialize(
|
|
414
|
+
version=version,
|
|
415
|
+
x_platform_id=x_platform_id,
|
|
416
|
+
limit=limit,
|
|
417
|
+
page=page,
|
|
418
|
+
order_by=order_by,
|
|
419
|
+
order_direction=order_direction,
|
|
420
|
+
_request_auth=_request_auth,
|
|
421
|
+
_content_type=_content_type,
|
|
422
|
+
_headers=_headers,
|
|
423
|
+
_host_index=_host_index
|
|
424
|
+
)
|
|
425
|
+
|
|
426
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
427
|
+
'200': "IntegrationResponseWrapper",
|
|
428
|
+
'400': "ApiError",
|
|
429
|
+
'401': "ApiError",
|
|
430
|
+
'403': "ApiError",
|
|
431
|
+
'500': "ApiError",
|
|
432
|
+
}
|
|
433
|
+
response_data = self.api_client.call_api(
|
|
434
|
+
*_param,
|
|
435
|
+
_request_timeout=_request_timeout
|
|
436
|
+
)
|
|
437
|
+
response_data.read()
|
|
438
|
+
return self.api_client.response_deserialize(
|
|
439
|
+
response_data=response_data,
|
|
440
|
+
response_types_map=_response_types_map,
|
|
441
|
+
).data
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
@validate_call
|
|
445
|
+
def get_integrations_with_http_info(
|
|
446
|
+
self,
|
|
447
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
448
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
449
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
450
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
451
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
452
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
453
|
+
_request_timeout: Union[
|
|
454
|
+
None,
|
|
455
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
456
|
+
Tuple[
|
|
457
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
458
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
459
|
+
]
|
|
460
|
+
] = None,
|
|
461
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
462
|
+
_content_type: Optional[StrictStr] = None,
|
|
463
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
464
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
465
|
+
) -> ApiResponse[IntegrationResponseWrapper]:
|
|
466
|
+
"""Get a list of integrations
|
|
467
|
+
|
|
468
|
+
Requires the INTEGRATION.VIEW permission.
|
|
469
|
+
|
|
470
|
+
:param version: version (required)
|
|
471
|
+
:type version: str
|
|
472
|
+
:param x_platform_id: Platform ID.
|
|
473
|
+
:type x_platform_id: str
|
|
474
|
+
:param limit: The amount of records shown in the list
|
|
475
|
+
:type limit: int
|
|
476
|
+
:param page: The page which is going to be shown
|
|
477
|
+
:type page: int
|
|
478
|
+
:param order_by: The parameter by which the response is ordered.
|
|
479
|
+
:type order_by: str
|
|
480
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
481
|
+
:type order_direction: str
|
|
482
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
483
|
+
number provided, it will be total request
|
|
484
|
+
timeout. It can also be a pair (tuple) of
|
|
485
|
+
(connection, read) timeouts.
|
|
486
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
487
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
488
|
+
request; this effectively ignores the
|
|
489
|
+
authentication in the spec for a single request.
|
|
490
|
+
:type _request_auth: dict, optional
|
|
491
|
+
:param _content_type: force content-type for the request.
|
|
492
|
+
:type _content_type: str, Optional
|
|
493
|
+
:param _headers: set to override the headers for a single
|
|
494
|
+
request; this effectively ignores the headers
|
|
495
|
+
in the spec for a single request.
|
|
496
|
+
:type _headers: dict, optional
|
|
497
|
+
:param _host_index: set to override the host_index for a single
|
|
498
|
+
request; this effectively ignores the host_index
|
|
499
|
+
in the spec for a single request.
|
|
500
|
+
:type _host_index: int, optional
|
|
501
|
+
:return: Returns the result object.
|
|
502
|
+
""" # noqa: E501
|
|
503
|
+
|
|
504
|
+
_param = self._get_integrations_serialize(
|
|
505
|
+
version=version,
|
|
506
|
+
x_platform_id=x_platform_id,
|
|
507
|
+
limit=limit,
|
|
508
|
+
page=page,
|
|
509
|
+
order_by=order_by,
|
|
510
|
+
order_direction=order_direction,
|
|
511
|
+
_request_auth=_request_auth,
|
|
512
|
+
_content_type=_content_type,
|
|
513
|
+
_headers=_headers,
|
|
514
|
+
_host_index=_host_index
|
|
515
|
+
)
|
|
516
|
+
|
|
517
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
518
|
+
'200': "IntegrationResponseWrapper",
|
|
519
|
+
'400': "ApiError",
|
|
520
|
+
'401': "ApiError",
|
|
521
|
+
'403': "ApiError",
|
|
522
|
+
'500': "ApiError",
|
|
523
|
+
}
|
|
524
|
+
response_data = self.api_client.call_api(
|
|
525
|
+
*_param,
|
|
526
|
+
_request_timeout=_request_timeout
|
|
527
|
+
)
|
|
528
|
+
response_data.read()
|
|
529
|
+
return self.api_client.response_deserialize(
|
|
530
|
+
response_data=response_data,
|
|
531
|
+
response_types_map=_response_types_map,
|
|
532
|
+
)
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
@validate_call
|
|
536
|
+
def get_integrations_without_preload_content(
|
|
537
|
+
self,
|
|
538
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
539
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
540
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
541
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
542
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
543
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
544
|
+
_request_timeout: Union[
|
|
545
|
+
None,
|
|
546
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
547
|
+
Tuple[
|
|
548
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
549
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
550
|
+
]
|
|
551
|
+
] = None,
|
|
552
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
553
|
+
_content_type: Optional[StrictStr] = None,
|
|
554
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
555
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
556
|
+
) -> RESTResponseType:
|
|
557
|
+
"""Get a list of integrations
|
|
558
|
+
|
|
559
|
+
Requires the INTEGRATION.VIEW permission.
|
|
560
|
+
|
|
561
|
+
:param version: version (required)
|
|
562
|
+
:type version: str
|
|
563
|
+
:param x_platform_id: Platform ID.
|
|
564
|
+
:type x_platform_id: str
|
|
565
|
+
:param limit: The amount of records shown in the list
|
|
566
|
+
:type limit: int
|
|
567
|
+
:param page: The page which is going to be shown
|
|
568
|
+
:type page: int
|
|
569
|
+
:param order_by: The parameter by which the response is ordered.
|
|
570
|
+
:type order_by: str
|
|
571
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
572
|
+
:type order_direction: str
|
|
573
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
574
|
+
number provided, it will be total request
|
|
575
|
+
timeout. It can also be a pair (tuple) of
|
|
576
|
+
(connection, read) timeouts.
|
|
577
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
578
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
579
|
+
request; this effectively ignores the
|
|
580
|
+
authentication in the spec for a single request.
|
|
581
|
+
:type _request_auth: dict, optional
|
|
582
|
+
:param _content_type: force content-type for the request.
|
|
583
|
+
:type _content_type: str, Optional
|
|
584
|
+
:param _headers: set to override the headers for a single
|
|
585
|
+
request; this effectively ignores the headers
|
|
586
|
+
in the spec for a single request.
|
|
587
|
+
:type _headers: dict, optional
|
|
588
|
+
:param _host_index: set to override the host_index for a single
|
|
589
|
+
request; this effectively ignores the host_index
|
|
590
|
+
in the spec for a single request.
|
|
591
|
+
:type _host_index: int, optional
|
|
592
|
+
:return: Returns the result object.
|
|
593
|
+
""" # noqa: E501
|
|
594
|
+
|
|
595
|
+
_param = self._get_integrations_serialize(
|
|
596
|
+
version=version,
|
|
597
|
+
x_platform_id=x_platform_id,
|
|
598
|
+
limit=limit,
|
|
599
|
+
page=page,
|
|
600
|
+
order_by=order_by,
|
|
601
|
+
order_direction=order_direction,
|
|
602
|
+
_request_auth=_request_auth,
|
|
603
|
+
_content_type=_content_type,
|
|
604
|
+
_headers=_headers,
|
|
605
|
+
_host_index=_host_index
|
|
606
|
+
)
|
|
607
|
+
|
|
608
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
609
|
+
'200': "IntegrationResponseWrapper",
|
|
610
|
+
'400': "ApiError",
|
|
611
|
+
'401': "ApiError",
|
|
612
|
+
'403': "ApiError",
|
|
613
|
+
'500': "ApiError",
|
|
614
|
+
}
|
|
615
|
+
response_data = self.api_client.call_api(
|
|
616
|
+
*_param,
|
|
617
|
+
_request_timeout=_request_timeout
|
|
618
|
+
)
|
|
619
|
+
return response_data.response
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
def _get_integrations_serialize(
|
|
623
|
+
self,
|
|
624
|
+
version,
|
|
625
|
+
x_platform_id,
|
|
626
|
+
limit,
|
|
627
|
+
page,
|
|
628
|
+
order_by,
|
|
629
|
+
order_direction,
|
|
630
|
+
_request_auth,
|
|
631
|
+
_content_type,
|
|
632
|
+
_headers,
|
|
633
|
+
_host_index,
|
|
634
|
+
) -> RequestSerialized:
|
|
635
|
+
|
|
636
|
+
_host = None
|
|
637
|
+
|
|
638
|
+
_collection_formats: Dict[str, str] = {
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
_path_params: Dict[str, str] = {}
|
|
642
|
+
_query_params: List[Tuple[str, str]] = []
|
|
643
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
644
|
+
_form_params: List[Tuple[str, str]] = []
|
|
645
|
+
_files: Dict[
|
|
646
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
647
|
+
] = {}
|
|
648
|
+
_body_params: Optional[bytes] = None
|
|
649
|
+
|
|
650
|
+
# process the path parameters
|
|
651
|
+
if version is not None:
|
|
652
|
+
_path_params['version'] = version
|
|
653
|
+
# process the query parameters
|
|
654
|
+
if limit is not None:
|
|
655
|
+
|
|
656
|
+
_query_params.append(('limit', limit))
|
|
657
|
+
|
|
658
|
+
if page is not None:
|
|
659
|
+
|
|
660
|
+
_query_params.append(('page', page))
|
|
661
|
+
|
|
662
|
+
if order_by is not None:
|
|
663
|
+
|
|
664
|
+
_query_params.append(('order_by', order_by))
|
|
665
|
+
|
|
666
|
+
if order_direction is not None:
|
|
667
|
+
|
|
668
|
+
_query_params.append(('order_direction', order_direction))
|
|
669
|
+
|
|
670
|
+
# process the header parameters
|
|
671
|
+
if x_platform_id is not None:
|
|
672
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
673
|
+
# process the form parameters
|
|
674
|
+
# process the body parameter
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
# set the HTTP header `Accept`
|
|
678
|
+
if 'Accept' not in _header_params:
|
|
679
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
680
|
+
[
|
|
681
|
+
'application/json',
|
|
682
|
+
'*/*'
|
|
683
|
+
]
|
|
684
|
+
)
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
# authentication setting
|
|
688
|
+
_auth_settings: List[str] = [
|
|
689
|
+
'JWT-Authentication',
|
|
690
|
+
'API-Key'
|
|
691
|
+
]
|
|
692
|
+
|
|
693
|
+
return self.api_client.param_serialize(
|
|
694
|
+
method='GET',
|
|
695
|
+
resource_path='/v{version}/integrations',
|
|
696
|
+
path_params=_path_params,
|
|
697
|
+
query_params=_query_params,
|
|
698
|
+
header_params=_header_params,
|
|
699
|
+
body=_body_params,
|
|
700
|
+
post_params=_form_params,
|
|
701
|
+
files=_files,
|
|
702
|
+
auth_settings=_auth_settings,
|
|
703
|
+
collection_formats=_collection_formats,
|
|
704
|
+
_host=_host,
|
|
705
|
+
_request_auth=_request_auth
|
|
706
|
+
)
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
@validate_call
|
|
712
|
+
def get_integrations_by_resource_id_or_reference(
|
|
713
|
+
self,
|
|
714
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
715
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
716
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
717
|
+
_request_timeout: Union[
|
|
718
|
+
None,
|
|
719
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
720
|
+
Tuple[
|
|
721
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
722
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
723
|
+
]
|
|
724
|
+
] = None,
|
|
725
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
726
|
+
_content_type: Optional[StrictStr] = None,
|
|
727
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
728
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
729
|
+
) -> Integration:
|
|
730
|
+
"""Get an integration by its ID or reference
|
|
731
|
+
|
|
732
|
+
Requires the INTEGRATION.VIEW permission.
|
|
733
|
+
|
|
734
|
+
:param version: version (required)
|
|
735
|
+
:type version: str
|
|
736
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
737
|
+
:type resource_id_or_reference: str
|
|
738
|
+
:param x_platform_id: Platform ID.
|
|
739
|
+
:type x_platform_id: str
|
|
740
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
741
|
+
number provided, it will be total request
|
|
742
|
+
timeout. It can also be a pair (tuple) of
|
|
743
|
+
(connection, read) timeouts.
|
|
744
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
745
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
746
|
+
request; this effectively ignores the
|
|
747
|
+
authentication in the spec for a single request.
|
|
748
|
+
:type _request_auth: dict, optional
|
|
749
|
+
:param _content_type: force content-type for the request.
|
|
750
|
+
:type _content_type: str, Optional
|
|
751
|
+
:param _headers: set to override the headers for a single
|
|
752
|
+
request; this effectively ignores the headers
|
|
753
|
+
in the spec for a single request.
|
|
754
|
+
:type _headers: dict, optional
|
|
755
|
+
:param _host_index: set to override the host_index for a single
|
|
756
|
+
request; this effectively ignores the host_index
|
|
757
|
+
in the spec for a single request.
|
|
758
|
+
:type _host_index: int, optional
|
|
759
|
+
:return: Returns the result object.
|
|
760
|
+
""" # noqa: E501
|
|
761
|
+
|
|
762
|
+
_param = self._get_integrations_by_resource_id_or_reference_serialize(
|
|
763
|
+
version=version,
|
|
764
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
765
|
+
x_platform_id=x_platform_id,
|
|
766
|
+
_request_auth=_request_auth,
|
|
767
|
+
_content_type=_content_type,
|
|
768
|
+
_headers=_headers,
|
|
769
|
+
_host_index=_host_index
|
|
770
|
+
)
|
|
771
|
+
|
|
772
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
773
|
+
'200': "Integration",
|
|
774
|
+
'400': "ApiError",
|
|
775
|
+
'401': "ApiError",
|
|
776
|
+
'403': "ApiError",
|
|
777
|
+
'500': "ApiError",
|
|
778
|
+
}
|
|
779
|
+
response_data = self.api_client.call_api(
|
|
780
|
+
*_param,
|
|
781
|
+
_request_timeout=_request_timeout
|
|
782
|
+
)
|
|
783
|
+
response_data.read()
|
|
784
|
+
return self.api_client.response_deserialize(
|
|
785
|
+
response_data=response_data,
|
|
786
|
+
response_types_map=_response_types_map,
|
|
787
|
+
).data
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
@validate_call
|
|
791
|
+
def get_integrations_by_resource_id_or_reference_with_http_info(
|
|
792
|
+
self,
|
|
793
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
794
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
795
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
796
|
+
_request_timeout: Union[
|
|
797
|
+
None,
|
|
798
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
799
|
+
Tuple[
|
|
800
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
801
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
802
|
+
]
|
|
803
|
+
] = None,
|
|
804
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
805
|
+
_content_type: Optional[StrictStr] = None,
|
|
806
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
807
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
808
|
+
) -> ApiResponse[Integration]:
|
|
809
|
+
"""Get an integration by its ID or reference
|
|
810
|
+
|
|
811
|
+
Requires the INTEGRATION.VIEW permission.
|
|
812
|
+
|
|
813
|
+
:param version: version (required)
|
|
814
|
+
:type version: str
|
|
815
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
816
|
+
:type resource_id_or_reference: str
|
|
817
|
+
:param x_platform_id: Platform ID.
|
|
818
|
+
:type x_platform_id: str
|
|
819
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
820
|
+
number provided, it will be total request
|
|
821
|
+
timeout. It can also be a pair (tuple) of
|
|
822
|
+
(connection, read) timeouts.
|
|
823
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
824
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
825
|
+
request; this effectively ignores the
|
|
826
|
+
authentication in the spec for a single request.
|
|
827
|
+
:type _request_auth: dict, optional
|
|
828
|
+
:param _content_type: force content-type for the request.
|
|
829
|
+
:type _content_type: str, Optional
|
|
830
|
+
:param _headers: set to override the headers for a single
|
|
831
|
+
request; this effectively ignores the headers
|
|
832
|
+
in the spec for a single request.
|
|
833
|
+
:type _headers: dict, optional
|
|
834
|
+
:param _host_index: set to override the host_index for a single
|
|
835
|
+
request; this effectively ignores the host_index
|
|
836
|
+
in the spec for a single request.
|
|
837
|
+
:type _host_index: int, optional
|
|
838
|
+
:return: Returns the result object.
|
|
839
|
+
""" # noqa: E501
|
|
840
|
+
|
|
841
|
+
_param = self._get_integrations_by_resource_id_or_reference_serialize(
|
|
842
|
+
version=version,
|
|
843
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
844
|
+
x_platform_id=x_platform_id,
|
|
845
|
+
_request_auth=_request_auth,
|
|
846
|
+
_content_type=_content_type,
|
|
847
|
+
_headers=_headers,
|
|
848
|
+
_host_index=_host_index
|
|
849
|
+
)
|
|
850
|
+
|
|
851
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
852
|
+
'200': "Integration",
|
|
853
|
+
'400': "ApiError",
|
|
854
|
+
'401': "ApiError",
|
|
855
|
+
'403': "ApiError",
|
|
856
|
+
'500': "ApiError",
|
|
857
|
+
}
|
|
858
|
+
response_data = self.api_client.call_api(
|
|
859
|
+
*_param,
|
|
860
|
+
_request_timeout=_request_timeout
|
|
861
|
+
)
|
|
862
|
+
response_data.read()
|
|
863
|
+
return self.api_client.response_deserialize(
|
|
864
|
+
response_data=response_data,
|
|
865
|
+
response_types_map=_response_types_map,
|
|
866
|
+
)
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
@validate_call
|
|
870
|
+
def get_integrations_by_resource_id_or_reference_without_preload_content(
|
|
871
|
+
self,
|
|
872
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
873
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
874
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
875
|
+
_request_timeout: Union[
|
|
876
|
+
None,
|
|
877
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
878
|
+
Tuple[
|
|
879
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
880
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
881
|
+
]
|
|
882
|
+
] = None,
|
|
883
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
884
|
+
_content_type: Optional[StrictStr] = None,
|
|
885
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
886
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
887
|
+
) -> RESTResponseType:
|
|
888
|
+
"""Get an integration by its ID or reference
|
|
889
|
+
|
|
890
|
+
Requires the INTEGRATION.VIEW permission.
|
|
891
|
+
|
|
892
|
+
:param version: version (required)
|
|
893
|
+
:type version: str
|
|
894
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
895
|
+
:type resource_id_or_reference: str
|
|
896
|
+
:param x_platform_id: Platform ID.
|
|
897
|
+
:type x_platform_id: str
|
|
898
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
899
|
+
number provided, it will be total request
|
|
900
|
+
timeout. It can also be a pair (tuple) of
|
|
901
|
+
(connection, read) timeouts.
|
|
902
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
903
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
904
|
+
request; this effectively ignores the
|
|
905
|
+
authentication in the spec for a single request.
|
|
906
|
+
:type _request_auth: dict, optional
|
|
907
|
+
:param _content_type: force content-type for the request.
|
|
908
|
+
:type _content_type: str, Optional
|
|
909
|
+
:param _headers: set to override the headers for a single
|
|
910
|
+
request; this effectively ignores the headers
|
|
911
|
+
in the spec for a single request.
|
|
912
|
+
:type _headers: dict, optional
|
|
913
|
+
:param _host_index: set to override the host_index for a single
|
|
914
|
+
request; this effectively ignores the host_index
|
|
915
|
+
in the spec for a single request.
|
|
916
|
+
:type _host_index: int, optional
|
|
917
|
+
:return: Returns the result object.
|
|
918
|
+
""" # noqa: E501
|
|
919
|
+
|
|
920
|
+
_param = self._get_integrations_by_resource_id_or_reference_serialize(
|
|
921
|
+
version=version,
|
|
922
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
923
|
+
x_platform_id=x_platform_id,
|
|
924
|
+
_request_auth=_request_auth,
|
|
925
|
+
_content_type=_content_type,
|
|
926
|
+
_headers=_headers,
|
|
927
|
+
_host_index=_host_index
|
|
928
|
+
)
|
|
929
|
+
|
|
930
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
931
|
+
'200': "Integration",
|
|
932
|
+
'400': "ApiError",
|
|
933
|
+
'401': "ApiError",
|
|
934
|
+
'403': "ApiError",
|
|
935
|
+
'500': "ApiError",
|
|
936
|
+
}
|
|
937
|
+
response_data = self.api_client.call_api(
|
|
938
|
+
*_param,
|
|
939
|
+
_request_timeout=_request_timeout
|
|
940
|
+
)
|
|
941
|
+
return response_data.response
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
def _get_integrations_by_resource_id_or_reference_serialize(
|
|
945
|
+
self,
|
|
946
|
+
version,
|
|
947
|
+
resource_id_or_reference,
|
|
948
|
+
x_platform_id,
|
|
949
|
+
_request_auth,
|
|
950
|
+
_content_type,
|
|
951
|
+
_headers,
|
|
952
|
+
_host_index,
|
|
953
|
+
) -> RequestSerialized:
|
|
954
|
+
|
|
955
|
+
_host = None
|
|
956
|
+
|
|
957
|
+
_collection_formats: Dict[str, str] = {
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
_path_params: Dict[str, str] = {}
|
|
961
|
+
_query_params: List[Tuple[str, str]] = []
|
|
962
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
963
|
+
_form_params: List[Tuple[str, str]] = []
|
|
964
|
+
_files: Dict[
|
|
965
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
966
|
+
] = {}
|
|
967
|
+
_body_params: Optional[bytes] = None
|
|
968
|
+
|
|
969
|
+
# process the path parameters
|
|
970
|
+
if version is not None:
|
|
971
|
+
_path_params['version'] = version
|
|
972
|
+
if resource_id_or_reference is not None:
|
|
973
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
974
|
+
# process the query parameters
|
|
975
|
+
# process the header parameters
|
|
976
|
+
if x_platform_id is not None:
|
|
977
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
978
|
+
# process the form parameters
|
|
979
|
+
# process the body parameter
|
|
980
|
+
|
|
981
|
+
|
|
982
|
+
# set the HTTP header `Accept`
|
|
983
|
+
if 'Accept' not in _header_params:
|
|
984
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
985
|
+
[
|
|
986
|
+
'application/json',
|
|
987
|
+
'*/*'
|
|
988
|
+
]
|
|
989
|
+
)
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
# authentication setting
|
|
993
|
+
_auth_settings: List[str] = [
|
|
994
|
+
'JWT-Authentication',
|
|
995
|
+
'API-Key'
|
|
996
|
+
]
|
|
997
|
+
|
|
998
|
+
return self.api_client.param_serialize(
|
|
999
|
+
method='GET',
|
|
1000
|
+
resource_path='/v{version}/integrations/{resourceIdOrReference}',
|
|
1001
|
+
path_params=_path_params,
|
|
1002
|
+
query_params=_query_params,
|
|
1003
|
+
header_params=_header_params,
|
|
1004
|
+
body=_body_params,
|
|
1005
|
+
post_params=_form_params,
|
|
1006
|
+
files=_files,
|
|
1007
|
+
auth_settings=_auth_settings,
|
|
1008
|
+
collection_formats=_collection_formats,
|
|
1009
|
+
_host=_host,
|
|
1010
|
+
_request_auth=_request_auth
|
|
1011
|
+
)
|
|
1012
|
+
|
|
1013
|
+
|
|
1014
|
+
|
|
1015
|
+
|
|
1016
|
+
@validate_call
|
|
1017
|
+
def get_integrations_e_invoicing_default_mandates(
|
|
1018
|
+
self,
|
|
1019
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1020
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1021
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
1022
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
1023
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
1024
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
1025
|
+
_request_timeout: Union[
|
|
1026
|
+
None,
|
|
1027
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1028
|
+
Tuple[
|
|
1029
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1030
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1031
|
+
]
|
|
1032
|
+
] = None,
|
|
1033
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1034
|
+
_content_type: Optional[StrictStr] = None,
|
|
1035
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1036
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1037
|
+
) -> List[EInvoicingMandate]:
|
|
1038
|
+
"""Get a list of mandates
|
|
1039
|
+
|
|
1040
|
+
Requires the INTEGRATION.VIEW permission.
|
|
1041
|
+
|
|
1042
|
+
:param version: version (required)
|
|
1043
|
+
:type version: str
|
|
1044
|
+
:param x_platform_id: Platform ID.
|
|
1045
|
+
:type x_platform_id: str
|
|
1046
|
+
:param limit: The amount of records shown in the list
|
|
1047
|
+
:type limit: int
|
|
1048
|
+
:param page: The page which is going to be shown
|
|
1049
|
+
:type page: int
|
|
1050
|
+
:param order_by: The parameter by which the response is ordered.
|
|
1051
|
+
:type order_by: str
|
|
1052
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
1053
|
+
:type order_direction: str
|
|
1054
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1055
|
+
number provided, it will be total request
|
|
1056
|
+
timeout. It can also be a pair (tuple) of
|
|
1057
|
+
(connection, read) timeouts.
|
|
1058
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1059
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1060
|
+
request; this effectively ignores the
|
|
1061
|
+
authentication in the spec for a single request.
|
|
1062
|
+
:type _request_auth: dict, optional
|
|
1063
|
+
:param _content_type: force content-type for the request.
|
|
1064
|
+
:type _content_type: str, Optional
|
|
1065
|
+
:param _headers: set to override the headers for a single
|
|
1066
|
+
request; this effectively ignores the headers
|
|
1067
|
+
in the spec for a single request.
|
|
1068
|
+
:type _headers: dict, optional
|
|
1069
|
+
:param _host_index: set to override the host_index for a single
|
|
1070
|
+
request; this effectively ignores the host_index
|
|
1071
|
+
in the spec for a single request.
|
|
1072
|
+
:type _host_index: int, optional
|
|
1073
|
+
:return: Returns the result object.
|
|
1074
|
+
""" # noqa: E501
|
|
1075
|
+
|
|
1076
|
+
_param = self._get_integrations_e_invoicing_default_mandates_serialize(
|
|
1077
|
+
version=version,
|
|
1078
|
+
x_platform_id=x_platform_id,
|
|
1079
|
+
limit=limit,
|
|
1080
|
+
page=page,
|
|
1081
|
+
order_by=order_by,
|
|
1082
|
+
order_direction=order_direction,
|
|
1083
|
+
_request_auth=_request_auth,
|
|
1084
|
+
_content_type=_content_type,
|
|
1085
|
+
_headers=_headers,
|
|
1086
|
+
_host_index=_host_index
|
|
1087
|
+
)
|
|
1088
|
+
|
|
1089
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1090
|
+
'200': "List[EInvoicingMandate]",
|
|
1091
|
+
'401': "ApiError",
|
|
1092
|
+
'403': "ApiError",
|
|
1093
|
+
}
|
|
1094
|
+
response_data = self.api_client.call_api(
|
|
1095
|
+
*_param,
|
|
1096
|
+
_request_timeout=_request_timeout
|
|
1097
|
+
)
|
|
1098
|
+
response_data.read()
|
|
1099
|
+
return self.api_client.response_deserialize(
|
|
1100
|
+
response_data=response_data,
|
|
1101
|
+
response_types_map=_response_types_map,
|
|
1102
|
+
).data
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
@validate_call
|
|
1106
|
+
def get_integrations_e_invoicing_default_mandates_with_http_info(
|
|
1107
|
+
self,
|
|
1108
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1109
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1110
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
1111
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
1112
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
1113
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
1114
|
+
_request_timeout: Union[
|
|
1115
|
+
None,
|
|
1116
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1117
|
+
Tuple[
|
|
1118
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1119
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1120
|
+
]
|
|
1121
|
+
] = None,
|
|
1122
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1123
|
+
_content_type: Optional[StrictStr] = None,
|
|
1124
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1125
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1126
|
+
) -> ApiResponse[List[EInvoicingMandate]]:
|
|
1127
|
+
"""Get a list of mandates
|
|
1128
|
+
|
|
1129
|
+
Requires the INTEGRATION.VIEW permission.
|
|
1130
|
+
|
|
1131
|
+
:param version: version (required)
|
|
1132
|
+
:type version: str
|
|
1133
|
+
:param x_platform_id: Platform ID.
|
|
1134
|
+
:type x_platform_id: str
|
|
1135
|
+
:param limit: The amount of records shown in the list
|
|
1136
|
+
:type limit: int
|
|
1137
|
+
:param page: The page which is going to be shown
|
|
1138
|
+
:type page: int
|
|
1139
|
+
:param order_by: The parameter by which the response is ordered.
|
|
1140
|
+
:type order_by: str
|
|
1141
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
1142
|
+
:type order_direction: str
|
|
1143
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1144
|
+
number provided, it will be total request
|
|
1145
|
+
timeout. It can also be a pair (tuple) of
|
|
1146
|
+
(connection, read) timeouts.
|
|
1147
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1148
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1149
|
+
request; this effectively ignores the
|
|
1150
|
+
authentication in the spec for a single request.
|
|
1151
|
+
:type _request_auth: dict, optional
|
|
1152
|
+
:param _content_type: force content-type for the request.
|
|
1153
|
+
:type _content_type: str, Optional
|
|
1154
|
+
:param _headers: set to override the headers for a single
|
|
1155
|
+
request; this effectively ignores the headers
|
|
1156
|
+
in the spec for a single request.
|
|
1157
|
+
:type _headers: dict, optional
|
|
1158
|
+
:param _host_index: set to override the host_index for a single
|
|
1159
|
+
request; this effectively ignores the host_index
|
|
1160
|
+
in the spec for a single request.
|
|
1161
|
+
:type _host_index: int, optional
|
|
1162
|
+
:return: Returns the result object.
|
|
1163
|
+
""" # noqa: E501
|
|
1164
|
+
|
|
1165
|
+
_param = self._get_integrations_e_invoicing_default_mandates_serialize(
|
|
1166
|
+
version=version,
|
|
1167
|
+
x_platform_id=x_platform_id,
|
|
1168
|
+
limit=limit,
|
|
1169
|
+
page=page,
|
|
1170
|
+
order_by=order_by,
|
|
1171
|
+
order_direction=order_direction,
|
|
1172
|
+
_request_auth=_request_auth,
|
|
1173
|
+
_content_type=_content_type,
|
|
1174
|
+
_headers=_headers,
|
|
1175
|
+
_host_index=_host_index
|
|
1176
|
+
)
|
|
1177
|
+
|
|
1178
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1179
|
+
'200': "List[EInvoicingMandate]",
|
|
1180
|
+
'401': "ApiError",
|
|
1181
|
+
'403': "ApiError",
|
|
1182
|
+
}
|
|
1183
|
+
response_data = self.api_client.call_api(
|
|
1184
|
+
*_param,
|
|
1185
|
+
_request_timeout=_request_timeout
|
|
1186
|
+
)
|
|
1187
|
+
response_data.read()
|
|
1188
|
+
return self.api_client.response_deserialize(
|
|
1189
|
+
response_data=response_data,
|
|
1190
|
+
response_types_map=_response_types_map,
|
|
1191
|
+
)
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
@validate_call
|
|
1195
|
+
def get_integrations_e_invoicing_default_mandates_without_preload_content(
|
|
1196
|
+
self,
|
|
1197
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1198
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1199
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
1200
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
1201
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
1202
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
1203
|
+
_request_timeout: Union[
|
|
1204
|
+
None,
|
|
1205
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1206
|
+
Tuple[
|
|
1207
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1208
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1209
|
+
]
|
|
1210
|
+
] = None,
|
|
1211
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1212
|
+
_content_type: Optional[StrictStr] = None,
|
|
1213
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1214
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1215
|
+
) -> RESTResponseType:
|
|
1216
|
+
"""Get a list of mandates
|
|
1217
|
+
|
|
1218
|
+
Requires the INTEGRATION.VIEW permission.
|
|
1219
|
+
|
|
1220
|
+
:param version: version (required)
|
|
1221
|
+
:type version: str
|
|
1222
|
+
:param x_platform_id: Platform ID.
|
|
1223
|
+
:type x_platform_id: str
|
|
1224
|
+
:param limit: The amount of records shown in the list
|
|
1225
|
+
:type limit: int
|
|
1226
|
+
:param page: The page which is going to be shown
|
|
1227
|
+
:type page: int
|
|
1228
|
+
:param order_by: The parameter by which the response is ordered.
|
|
1229
|
+
:type order_by: str
|
|
1230
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
1231
|
+
:type order_direction: str
|
|
1232
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1233
|
+
number provided, it will be total request
|
|
1234
|
+
timeout. It can also be a pair (tuple) of
|
|
1235
|
+
(connection, read) timeouts.
|
|
1236
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1237
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1238
|
+
request; this effectively ignores the
|
|
1239
|
+
authentication in the spec for a single request.
|
|
1240
|
+
:type _request_auth: dict, optional
|
|
1241
|
+
:param _content_type: force content-type for the request.
|
|
1242
|
+
:type _content_type: str, Optional
|
|
1243
|
+
:param _headers: set to override the headers for a single
|
|
1244
|
+
request; this effectively ignores the headers
|
|
1245
|
+
in the spec for a single request.
|
|
1246
|
+
:type _headers: dict, optional
|
|
1247
|
+
:param _host_index: set to override the host_index for a single
|
|
1248
|
+
request; this effectively ignores the host_index
|
|
1249
|
+
in the spec for a single request.
|
|
1250
|
+
:type _host_index: int, optional
|
|
1251
|
+
:return: Returns the result object.
|
|
1252
|
+
""" # noqa: E501
|
|
1253
|
+
|
|
1254
|
+
_param = self._get_integrations_e_invoicing_default_mandates_serialize(
|
|
1255
|
+
version=version,
|
|
1256
|
+
x_platform_id=x_platform_id,
|
|
1257
|
+
limit=limit,
|
|
1258
|
+
page=page,
|
|
1259
|
+
order_by=order_by,
|
|
1260
|
+
order_direction=order_direction,
|
|
1261
|
+
_request_auth=_request_auth,
|
|
1262
|
+
_content_type=_content_type,
|
|
1263
|
+
_headers=_headers,
|
|
1264
|
+
_host_index=_host_index
|
|
1265
|
+
)
|
|
1266
|
+
|
|
1267
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1268
|
+
'200': "List[EInvoicingMandate]",
|
|
1269
|
+
'401': "ApiError",
|
|
1270
|
+
'403': "ApiError",
|
|
1271
|
+
}
|
|
1272
|
+
response_data = self.api_client.call_api(
|
|
1273
|
+
*_param,
|
|
1274
|
+
_request_timeout=_request_timeout
|
|
1275
|
+
)
|
|
1276
|
+
return response_data.response
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
def _get_integrations_e_invoicing_default_mandates_serialize(
|
|
1280
|
+
self,
|
|
1281
|
+
version,
|
|
1282
|
+
x_platform_id,
|
|
1283
|
+
limit,
|
|
1284
|
+
page,
|
|
1285
|
+
order_by,
|
|
1286
|
+
order_direction,
|
|
1287
|
+
_request_auth,
|
|
1288
|
+
_content_type,
|
|
1289
|
+
_headers,
|
|
1290
|
+
_host_index,
|
|
1291
|
+
) -> RequestSerialized:
|
|
1292
|
+
|
|
1293
|
+
_host = None
|
|
1294
|
+
|
|
1295
|
+
_collection_formats: Dict[str, str] = {
|
|
1296
|
+
}
|
|
1297
|
+
|
|
1298
|
+
_path_params: Dict[str, str] = {}
|
|
1299
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1300
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1301
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1302
|
+
_files: Dict[
|
|
1303
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1304
|
+
] = {}
|
|
1305
|
+
_body_params: Optional[bytes] = None
|
|
1306
|
+
|
|
1307
|
+
# process the path parameters
|
|
1308
|
+
if version is not None:
|
|
1309
|
+
_path_params['version'] = version
|
|
1310
|
+
# process the query parameters
|
|
1311
|
+
if limit is not None:
|
|
1312
|
+
|
|
1313
|
+
_query_params.append(('limit', limit))
|
|
1314
|
+
|
|
1315
|
+
if page is not None:
|
|
1316
|
+
|
|
1317
|
+
_query_params.append(('page', page))
|
|
1318
|
+
|
|
1319
|
+
if order_by is not None:
|
|
1320
|
+
|
|
1321
|
+
_query_params.append(('order_by', order_by))
|
|
1322
|
+
|
|
1323
|
+
if order_direction is not None:
|
|
1324
|
+
|
|
1325
|
+
_query_params.append(('order_direction', order_direction))
|
|
1326
|
+
|
|
1327
|
+
# process the header parameters
|
|
1328
|
+
if x_platform_id is not None:
|
|
1329
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1330
|
+
# process the form parameters
|
|
1331
|
+
# process the body parameter
|
|
1332
|
+
|
|
1333
|
+
|
|
1334
|
+
# set the HTTP header `Accept`
|
|
1335
|
+
if 'Accept' not in _header_params:
|
|
1336
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1337
|
+
[
|
|
1338
|
+
'application/json',
|
|
1339
|
+
'*/*'
|
|
1340
|
+
]
|
|
1341
|
+
)
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
# authentication setting
|
|
1345
|
+
_auth_settings: List[str] = [
|
|
1346
|
+
'JWT-Authentication',
|
|
1347
|
+
'API-Key'
|
|
1348
|
+
]
|
|
1349
|
+
|
|
1350
|
+
return self.api_client.param_serialize(
|
|
1351
|
+
method='GET',
|
|
1352
|
+
resource_path='/v{version}/integrations/e-invoicing/default-mandates',
|
|
1353
|
+
path_params=_path_params,
|
|
1354
|
+
query_params=_query_params,
|
|
1355
|
+
header_params=_header_params,
|
|
1356
|
+
body=_body_params,
|
|
1357
|
+
post_params=_form_params,
|
|
1358
|
+
files=_files,
|
|
1359
|
+
auth_settings=_auth_settings,
|
|
1360
|
+
collection_formats=_collection_formats,
|
|
1361
|
+
_host=_host,
|
|
1362
|
+
_request_auth=_request_auth
|
|
1363
|
+
)
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
@validate_call
|
|
1369
|
+
def post_integrations(
|
|
1370
|
+
self,
|
|
1371
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1372
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1373
|
+
integration_create_request: Optional[IntegrationCreateRequest] = None,
|
|
1374
|
+
_request_timeout: Union[
|
|
1375
|
+
None,
|
|
1376
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1377
|
+
Tuple[
|
|
1378
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1379
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1380
|
+
]
|
|
1381
|
+
] = None,
|
|
1382
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1383
|
+
_content_type: Optional[StrictStr] = None,
|
|
1384
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1385
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1386
|
+
) -> Integration:
|
|
1387
|
+
"""Create an integration
|
|
1388
|
+
|
|
1389
|
+
Requires the INTEGRATION.CREATE permission.
|
|
1390
|
+
|
|
1391
|
+
:param version: version (required)
|
|
1392
|
+
:type version: str
|
|
1393
|
+
:param x_platform_id: Platform ID.
|
|
1394
|
+
:type x_platform_id: str
|
|
1395
|
+
:param integration_create_request:
|
|
1396
|
+
:type integration_create_request: IntegrationCreateRequest
|
|
1397
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1398
|
+
number provided, it will be total request
|
|
1399
|
+
timeout. It can also be a pair (tuple) of
|
|
1400
|
+
(connection, read) timeouts.
|
|
1401
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1402
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1403
|
+
request; this effectively ignores the
|
|
1404
|
+
authentication in the spec for a single request.
|
|
1405
|
+
:type _request_auth: dict, optional
|
|
1406
|
+
:param _content_type: force content-type for the request.
|
|
1407
|
+
:type _content_type: str, Optional
|
|
1408
|
+
:param _headers: set to override the headers for a single
|
|
1409
|
+
request; this effectively ignores the headers
|
|
1410
|
+
in the spec for a single request.
|
|
1411
|
+
:type _headers: dict, optional
|
|
1412
|
+
:param _host_index: set to override the host_index for a single
|
|
1413
|
+
request; this effectively ignores the host_index
|
|
1414
|
+
in the spec for a single request.
|
|
1415
|
+
:type _host_index: int, optional
|
|
1416
|
+
:return: Returns the result object.
|
|
1417
|
+
""" # noqa: E501
|
|
1418
|
+
|
|
1419
|
+
_param = self._post_integrations_serialize(
|
|
1420
|
+
version=version,
|
|
1421
|
+
x_platform_id=x_platform_id,
|
|
1422
|
+
integration_create_request=integration_create_request,
|
|
1423
|
+
_request_auth=_request_auth,
|
|
1424
|
+
_content_type=_content_type,
|
|
1425
|
+
_headers=_headers,
|
|
1426
|
+
_host_index=_host_index
|
|
1427
|
+
)
|
|
1428
|
+
|
|
1429
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1430
|
+
'201': "Integration",
|
|
1431
|
+
'400': "ApiError",
|
|
1432
|
+
'401': "ApiError",
|
|
1433
|
+
'403': "ApiError",
|
|
1434
|
+
'409': "ApiError",
|
|
1435
|
+
'500': "ApiError",
|
|
1436
|
+
}
|
|
1437
|
+
response_data = self.api_client.call_api(
|
|
1438
|
+
*_param,
|
|
1439
|
+
_request_timeout=_request_timeout
|
|
1440
|
+
)
|
|
1441
|
+
response_data.read()
|
|
1442
|
+
return self.api_client.response_deserialize(
|
|
1443
|
+
response_data=response_data,
|
|
1444
|
+
response_types_map=_response_types_map,
|
|
1445
|
+
).data
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
@validate_call
|
|
1449
|
+
def post_integrations_with_http_info(
|
|
1450
|
+
self,
|
|
1451
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1452
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1453
|
+
integration_create_request: Optional[IntegrationCreateRequest] = None,
|
|
1454
|
+
_request_timeout: Union[
|
|
1455
|
+
None,
|
|
1456
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1457
|
+
Tuple[
|
|
1458
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1459
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1460
|
+
]
|
|
1461
|
+
] = None,
|
|
1462
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1463
|
+
_content_type: Optional[StrictStr] = None,
|
|
1464
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1465
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1466
|
+
) -> ApiResponse[Integration]:
|
|
1467
|
+
"""Create an integration
|
|
1468
|
+
|
|
1469
|
+
Requires the INTEGRATION.CREATE permission.
|
|
1470
|
+
|
|
1471
|
+
:param version: version (required)
|
|
1472
|
+
:type version: str
|
|
1473
|
+
:param x_platform_id: Platform ID.
|
|
1474
|
+
:type x_platform_id: str
|
|
1475
|
+
:param integration_create_request:
|
|
1476
|
+
:type integration_create_request: IntegrationCreateRequest
|
|
1477
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1478
|
+
number provided, it will be total request
|
|
1479
|
+
timeout. It can also be a pair (tuple) of
|
|
1480
|
+
(connection, read) timeouts.
|
|
1481
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1482
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1483
|
+
request; this effectively ignores the
|
|
1484
|
+
authentication in the spec for a single request.
|
|
1485
|
+
:type _request_auth: dict, optional
|
|
1486
|
+
:param _content_type: force content-type for the request.
|
|
1487
|
+
:type _content_type: str, Optional
|
|
1488
|
+
:param _headers: set to override the headers for a single
|
|
1489
|
+
request; this effectively ignores the headers
|
|
1490
|
+
in the spec for a single request.
|
|
1491
|
+
:type _headers: dict, optional
|
|
1492
|
+
:param _host_index: set to override the host_index for a single
|
|
1493
|
+
request; this effectively ignores the host_index
|
|
1494
|
+
in the spec for a single request.
|
|
1495
|
+
:type _host_index: int, optional
|
|
1496
|
+
:return: Returns the result object.
|
|
1497
|
+
""" # noqa: E501
|
|
1498
|
+
|
|
1499
|
+
_param = self._post_integrations_serialize(
|
|
1500
|
+
version=version,
|
|
1501
|
+
x_platform_id=x_platform_id,
|
|
1502
|
+
integration_create_request=integration_create_request,
|
|
1503
|
+
_request_auth=_request_auth,
|
|
1504
|
+
_content_type=_content_type,
|
|
1505
|
+
_headers=_headers,
|
|
1506
|
+
_host_index=_host_index
|
|
1507
|
+
)
|
|
1508
|
+
|
|
1509
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1510
|
+
'201': "Integration",
|
|
1511
|
+
'400': "ApiError",
|
|
1512
|
+
'401': "ApiError",
|
|
1513
|
+
'403': "ApiError",
|
|
1514
|
+
'409': "ApiError",
|
|
1515
|
+
'500': "ApiError",
|
|
1516
|
+
}
|
|
1517
|
+
response_data = self.api_client.call_api(
|
|
1518
|
+
*_param,
|
|
1519
|
+
_request_timeout=_request_timeout
|
|
1520
|
+
)
|
|
1521
|
+
response_data.read()
|
|
1522
|
+
return self.api_client.response_deserialize(
|
|
1523
|
+
response_data=response_data,
|
|
1524
|
+
response_types_map=_response_types_map,
|
|
1525
|
+
)
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
@validate_call
|
|
1529
|
+
def post_integrations_without_preload_content(
|
|
1530
|
+
self,
|
|
1531
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1532
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1533
|
+
integration_create_request: Optional[IntegrationCreateRequest] = None,
|
|
1534
|
+
_request_timeout: Union[
|
|
1535
|
+
None,
|
|
1536
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1537
|
+
Tuple[
|
|
1538
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1539
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1540
|
+
]
|
|
1541
|
+
] = None,
|
|
1542
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1543
|
+
_content_type: Optional[StrictStr] = None,
|
|
1544
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1545
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1546
|
+
) -> RESTResponseType:
|
|
1547
|
+
"""Create an integration
|
|
1548
|
+
|
|
1549
|
+
Requires the INTEGRATION.CREATE permission.
|
|
1550
|
+
|
|
1551
|
+
:param version: version (required)
|
|
1552
|
+
:type version: str
|
|
1553
|
+
:param x_platform_id: Platform ID.
|
|
1554
|
+
:type x_platform_id: str
|
|
1555
|
+
:param integration_create_request:
|
|
1556
|
+
:type integration_create_request: IntegrationCreateRequest
|
|
1557
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1558
|
+
number provided, it will be total request
|
|
1559
|
+
timeout. It can also be a pair (tuple) of
|
|
1560
|
+
(connection, read) timeouts.
|
|
1561
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1562
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1563
|
+
request; this effectively ignores the
|
|
1564
|
+
authentication in the spec for a single request.
|
|
1565
|
+
:type _request_auth: dict, optional
|
|
1566
|
+
:param _content_type: force content-type for the request.
|
|
1567
|
+
:type _content_type: str, Optional
|
|
1568
|
+
:param _headers: set to override the headers for a single
|
|
1569
|
+
request; this effectively ignores the headers
|
|
1570
|
+
in the spec for a single request.
|
|
1571
|
+
:type _headers: dict, optional
|
|
1572
|
+
:param _host_index: set to override the host_index for a single
|
|
1573
|
+
request; this effectively ignores the host_index
|
|
1574
|
+
in the spec for a single request.
|
|
1575
|
+
:type _host_index: int, optional
|
|
1576
|
+
:return: Returns the result object.
|
|
1577
|
+
""" # noqa: E501
|
|
1578
|
+
|
|
1579
|
+
_param = self._post_integrations_serialize(
|
|
1580
|
+
version=version,
|
|
1581
|
+
x_platform_id=x_platform_id,
|
|
1582
|
+
integration_create_request=integration_create_request,
|
|
1583
|
+
_request_auth=_request_auth,
|
|
1584
|
+
_content_type=_content_type,
|
|
1585
|
+
_headers=_headers,
|
|
1586
|
+
_host_index=_host_index
|
|
1587
|
+
)
|
|
1588
|
+
|
|
1589
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1590
|
+
'201': "Integration",
|
|
1591
|
+
'400': "ApiError",
|
|
1592
|
+
'401': "ApiError",
|
|
1593
|
+
'403': "ApiError",
|
|
1594
|
+
'409': "ApiError",
|
|
1595
|
+
'500': "ApiError",
|
|
1596
|
+
}
|
|
1597
|
+
response_data = self.api_client.call_api(
|
|
1598
|
+
*_param,
|
|
1599
|
+
_request_timeout=_request_timeout
|
|
1600
|
+
)
|
|
1601
|
+
return response_data.response
|
|
1602
|
+
|
|
1603
|
+
|
|
1604
|
+
def _post_integrations_serialize(
|
|
1605
|
+
self,
|
|
1606
|
+
version,
|
|
1607
|
+
x_platform_id,
|
|
1608
|
+
integration_create_request,
|
|
1609
|
+
_request_auth,
|
|
1610
|
+
_content_type,
|
|
1611
|
+
_headers,
|
|
1612
|
+
_host_index,
|
|
1613
|
+
) -> RequestSerialized:
|
|
1614
|
+
|
|
1615
|
+
_host = None
|
|
1616
|
+
|
|
1617
|
+
_collection_formats: Dict[str, str] = {
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
_path_params: Dict[str, str] = {}
|
|
1621
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1622
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1623
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1624
|
+
_files: Dict[
|
|
1625
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1626
|
+
] = {}
|
|
1627
|
+
_body_params: Optional[bytes] = None
|
|
1628
|
+
|
|
1629
|
+
# process the path parameters
|
|
1630
|
+
if version is not None:
|
|
1631
|
+
_path_params['version'] = version
|
|
1632
|
+
# process the query parameters
|
|
1633
|
+
# process the header parameters
|
|
1634
|
+
if x_platform_id is not None:
|
|
1635
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1636
|
+
# process the form parameters
|
|
1637
|
+
# process the body parameter
|
|
1638
|
+
if integration_create_request is not None:
|
|
1639
|
+
_body_params = integration_create_request
|
|
1640
|
+
|
|
1641
|
+
|
|
1642
|
+
# set the HTTP header `Accept`
|
|
1643
|
+
if 'Accept' not in _header_params:
|
|
1644
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1645
|
+
[
|
|
1646
|
+
'application/json',
|
|
1647
|
+
'*/*'
|
|
1648
|
+
]
|
|
1649
|
+
)
|
|
1650
|
+
|
|
1651
|
+
# set the HTTP header `Content-Type`
|
|
1652
|
+
if _content_type:
|
|
1653
|
+
_header_params['Content-Type'] = _content_type
|
|
1654
|
+
else:
|
|
1655
|
+
_default_content_type = (
|
|
1656
|
+
self.api_client.select_header_content_type(
|
|
1657
|
+
[
|
|
1658
|
+
'application/json'
|
|
1659
|
+
]
|
|
1660
|
+
)
|
|
1661
|
+
)
|
|
1662
|
+
if _default_content_type is not None:
|
|
1663
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1664
|
+
|
|
1665
|
+
# authentication setting
|
|
1666
|
+
_auth_settings: List[str] = [
|
|
1667
|
+
'JWT-Authentication',
|
|
1668
|
+
'API-Key'
|
|
1669
|
+
]
|
|
1670
|
+
|
|
1671
|
+
return self.api_client.param_serialize(
|
|
1672
|
+
method='POST',
|
|
1673
|
+
resource_path='/v{version}/integrations',
|
|
1674
|
+
path_params=_path_params,
|
|
1675
|
+
query_params=_query_params,
|
|
1676
|
+
header_params=_header_params,
|
|
1677
|
+
body=_body_params,
|
|
1678
|
+
post_params=_form_params,
|
|
1679
|
+
files=_files,
|
|
1680
|
+
auth_settings=_auth_settings,
|
|
1681
|
+
collection_formats=_collection_formats,
|
|
1682
|
+
_host=_host,
|
|
1683
|
+
_request_auth=_request_auth
|
|
1684
|
+
)
|
|
1685
|
+
|
|
1686
|
+
|
|
1687
|
+
|
|
1688
|
+
|
|
1689
|
+
@validate_call
|
|
1690
|
+
def post_integrations_by_resource_id_or_reference_activate(
|
|
1691
|
+
self,
|
|
1692
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1693
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
1694
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1695
|
+
_request_timeout: Union[
|
|
1696
|
+
None,
|
|
1697
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1698
|
+
Tuple[
|
|
1699
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1700
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1701
|
+
]
|
|
1702
|
+
] = None,
|
|
1703
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1704
|
+
_content_type: Optional[StrictStr] = None,
|
|
1705
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1706
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1707
|
+
) -> Integration:
|
|
1708
|
+
"""Activate an integration by its ID or reference
|
|
1709
|
+
|
|
1710
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
1711
|
+
|
|
1712
|
+
:param version: version (required)
|
|
1713
|
+
:type version: str
|
|
1714
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
1715
|
+
:type resource_id_or_reference: str
|
|
1716
|
+
:param x_platform_id: Platform ID.
|
|
1717
|
+
:type x_platform_id: str
|
|
1718
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1719
|
+
number provided, it will be total request
|
|
1720
|
+
timeout. It can also be a pair (tuple) of
|
|
1721
|
+
(connection, read) timeouts.
|
|
1722
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1723
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1724
|
+
request; this effectively ignores the
|
|
1725
|
+
authentication in the spec for a single request.
|
|
1726
|
+
:type _request_auth: dict, optional
|
|
1727
|
+
:param _content_type: force content-type for the request.
|
|
1728
|
+
:type _content_type: str, Optional
|
|
1729
|
+
:param _headers: set to override the headers for a single
|
|
1730
|
+
request; this effectively ignores the headers
|
|
1731
|
+
in the spec for a single request.
|
|
1732
|
+
:type _headers: dict, optional
|
|
1733
|
+
:param _host_index: set to override the host_index for a single
|
|
1734
|
+
request; this effectively ignores the host_index
|
|
1735
|
+
in the spec for a single request.
|
|
1736
|
+
:type _host_index: int, optional
|
|
1737
|
+
:return: Returns the result object.
|
|
1738
|
+
""" # noqa: E501
|
|
1739
|
+
|
|
1740
|
+
_param = self._post_integrations_by_resource_id_or_reference_activate_serialize(
|
|
1741
|
+
version=version,
|
|
1742
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
1743
|
+
x_platform_id=x_platform_id,
|
|
1744
|
+
_request_auth=_request_auth,
|
|
1745
|
+
_content_type=_content_type,
|
|
1746
|
+
_headers=_headers,
|
|
1747
|
+
_host_index=_host_index
|
|
1748
|
+
)
|
|
1749
|
+
|
|
1750
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1751
|
+
'200': "Integration",
|
|
1752
|
+
'400': "ApiError",
|
|
1753
|
+
'401': "ApiError",
|
|
1754
|
+
'403': "ApiError",
|
|
1755
|
+
'500': "ApiError",
|
|
1756
|
+
}
|
|
1757
|
+
response_data = self.api_client.call_api(
|
|
1758
|
+
*_param,
|
|
1759
|
+
_request_timeout=_request_timeout
|
|
1760
|
+
)
|
|
1761
|
+
response_data.read()
|
|
1762
|
+
return self.api_client.response_deserialize(
|
|
1763
|
+
response_data=response_data,
|
|
1764
|
+
response_types_map=_response_types_map,
|
|
1765
|
+
).data
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
@validate_call
|
|
1769
|
+
def post_integrations_by_resource_id_or_reference_activate_with_http_info(
|
|
1770
|
+
self,
|
|
1771
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1772
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
1773
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1774
|
+
_request_timeout: Union[
|
|
1775
|
+
None,
|
|
1776
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1777
|
+
Tuple[
|
|
1778
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1779
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1780
|
+
]
|
|
1781
|
+
] = None,
|
|
1782
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1783
|
+
_content_type: Optional[StrictStr] = None,
|
|
1784
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1785
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1786
|
+
) -> ApiResponse[Integration]:
|
|
1787
|
+
"""Activate an integration by its ID or reference
|
|
1788
|
+
|
|
1789
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
1790
|
+
|
|
1791
|
+
:param version: version (required)
|
|
1792
|
+
:type version: str
|
|
1793
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
1794
|
+
:type resource_id_or_reference: str
|
|
1795
|
+
:param x_platform_id: Platform ID.
|
|
1796
|
+
:type x_platform_id: str
|
|
1797
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1798
|
+
number provided, it will be total request
|
|
1799
|
+
timeout. It can also be a pair (tuple) of
|
|
1800
|
+
(connection, read) timeouts.
|
|
1801
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1802
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1803
|
+
request; this effectively ignores the
|
|
1804
|
+
authentication in the spec for a single request.
|
|
1805
|
+
:type _request_auth: dict, optional
|
|
1806
|
+
:param _content_type: force content-type for the request.
|
|
1807
|
+
:type _content_type: str, Optional
|
|
1808
|
+
:param _headers: set to override the headers for a single
|
|
1809
|
+
request; this effectively ignores the headers
|
|
1810
|
+
in the spec for a single request.
|
|
1811
|
+
:type _headers: dict, optional
|
|
1812
|
+
:param _host_index: set to override the host_index for a single
|
|
1813
|
+
request; this effectively ignores the host_index
|
|
1814
|
+
in the spec for a single request.
|
|
1815
|
+
:type _host_index: int, optional
|
|
1816
|
+
:return: Returns the result object.
|
|
1817
|
+
""" # noqa: E501
|
|
1818
|
+
|
|
1819
|
+
_param = self._post_integrations_by_resource_id_or_reference_activate_serialize(
|
|
1820
|
+
version=version,
|
|
1821
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
1822
|
+
x_platform_id=x_platform_id,
|
|
1823
|
+
_request_auth=_request_auth,
|
|
1824
|
+
_content_type=_content_type,
|
|
1825
|
+
_headers=_headers,
|
|
1826
|
+
_host_index=_host_index
|
|
1827
|
+
)
|
|
1828
|
+
|
|
1829
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1830
|
+
'200': "Integration",
|
|
1831
|
+
'400': "ApiError",
|
|
1832
|
+
'401': "ApiError",
|
|
1833
|
+
'403': "ApiError",
|
|
1834
|
+
'500': "ApiError",
|
|
1835
|
+
}
|
|
1836
|
+
response_data = self.api_client.call_api(
|
|
1837
|
+
*_param,
|
|
1838
|
+
_request_timeout=_request_timeout
|
|
1839
|
+
)
|
|
1840
|
+
response_data.read()
|
|
1841
|
+
return self.api_client.response_deserialize(
|
|
1842
|
+
response_data=response_data,
|
|
1843
|
+
response_types_map=_response_types_map,
|
|
1844
|
+
)
|
|
1845
|
+
|
|
1846
|
+
|
|
1847
|
+
@validate_call
|
|
1848
|
+
def post_integrations_by_resource_id_or_reference_activate_without_preload_content(
|
|
1849
|
+
self,
|
|
1850
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1851
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
1852
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1853
|
+
_request_timeout: Union[
|
|
1854
|
+
None,
|
|
1855
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1856
|
+
Tuple[
|
|
1857
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1858
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1859
|
+
]
|
|
1860
|
+
] = None,
|
|
1861
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1862
|
+
_content_type: Optional[StrictStr] = None,
|
|
1863
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1864
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1865
|
+
) -> RESTResponseType:
|
|
1866
|
+
"""Activate an integration by its ID or reference
|
|
1867
|
+
|
|
1868
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
1869
|
+
|
|
1870
|
+
:param version: version (required)
|
|
1871
|
+
:type version: str
|
|
1872
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
1873
|
+
:type resource_id_or_reference: str
|
|
1874
|
+
:param x_platform_id: Platform ID.
|
|
1875
|
+
:type x_platform_id: str
|
|
1876
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1877
|
+
number provided, it will be total request
|
|
1878
|
+
timeout. It can also be a pair (tuple) of
|
|
1879
|
+
(connection, read) timeouts.
|
|
1880
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1881
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1882
|
+
request; this effectively ignores the
|
|
1883
|
+
authentication in the spec for a single request.
|
|
1884
|
+
:type _request_auth: dict, optional
|
|
1885
|
+
:param _content_type: force content-type for the request.
|
|
1886
|
+
:type _content_type: str, Optional
|
|
1887
|
+
:param _headers: set to override the headers for a single
|
|
1888
|
+
request; this effectively ignores the headers
|
|
1889
|
+
in the spec for a single request.
|
|
1890
|
+
:type _headers: dict, optional
|
|
1891
|
+
:param _host_index: set to override the host_index for a single
|
|
1892
|
+
request; this effectively ignores the host_index
|
|
1893
|
+
in the spec for a single request.
|
|
1894
|
+
:type _host_index: int, optional
|
|
1895
|
+
:return: Returns the result object.
|
|
1896
|
+
""" # noqa: E501
|
|
1897
|
+
|
|
1898
|
+
_param = self._post_integrations_by_resource_id_or_reference_activate_serialize(
|
|
1899
|
+
version=version,
|
|
1900
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
1901
|
+
x_platform_id=x_platform_id,
|
|
1902
|
+
_request_auth=_request_auth,
|
|
1903
|
+
_content_type=_content_type,
|
|
1904
|
+
_headers=_headers,
|
|
1905
|
+
_host_index=_host_index
|
|
1906
|
+
)
|
|
1907
|
+
|
|
1908
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1909
|
+
'200': "Integration",
|
|
1910
|
+
'400': "ApiError",
|
|
1911
|
+
'401': "ApiError",
|
|
1912
|
+
'403': "ApiError",
|
|
1913
|
+
'500': "ApiError",
|
|
1914
|
+
}
|
|
1915
|
+
response_data = self.api_client.call_api(
|
|
1916
|
+
*_param,
|
|
1917
|
+
_request_timeout=_request_timeout
|
|
1918
|
+
)
|
|
1919
|
+
return response_data.response
|
|
1920
|
+
|
|
1921
|
+
|
|
1922
|
+
def _post_integrations_by_resource_id_or_reference_activate_serialize(
|
|
1923
|
+
self,
|
|
1924
|
+
version,
|
|
1925
|
+
resource_id_or_reference,
|
|
1926
|
+
x_platform_id,
|
|
1927
|
+
_request_auth,
|
|
1928
|
+
_content_type,
|
|
1929
|
+
_headers,
|
|
1930
|
+
_host_index,
|
|
1931
|
+
) -> RequestSerialized:
|
|
1932
|
+
|
|
1933
|
+
_host = None
|
|
1934
|
+
|
|
1935
|
+
_collection_formats: Dict[str, str] = {
|
|
1936
|
+
}
|
|
1937
|
+
|
|
1938
|
+
_path_params: Dict[str, str] = {}
|
|
1939
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1940
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1941
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1942
|
+
_files: Dict[
|
|
1943
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1944
|
+
] = {}
|
|
1945
|
+
_body_params: Optional[bytes] = None
|
|
1946
|
+
|
|
1947
|
+
# process the path parameters
|
|
1948
|
+
if version is not None:
|
|
1949
|
+
_path_params['version'] = version
|
|
1950
|
+
if resource_id_or_reference is not None:
|
|
1951
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
1952
|
+
# process the query parameters
|
|
1953
|
+
# process the header parameters
|
|
1954
|
+
if x_platform_id is not None:
|
|
1955
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1956
|
+
# process the form parameters
|
|
1957
|
+
# process the body parameter
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
# set the HTTP header `Accept`
|
|
1961
|
+
if 'Accept' not in _header_params:
|
|
1962
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1963
|
+
[
|
|
1964
|
+
'application/json',
|
|
1965
|
+
'*/*'
|
|
1966
|
+
]
|
|
1967
|
+
)
|
|
1968
|
+
|
|
1969
|
+
|
|
1970
|
+
# authentication setting
|
|
1971
|
+
_auth_settings: List[str] = [
|
|
1972
|
+
'JWT-Authentication',
|
|
1973
|
+
'API-Key'
|
|
1974
|
+
]
|
|
1975
|
+
|
|
1976
|
+
return self.api_client.param_serialize(
|
|
1977
|
+
method='POST',
|
|
1978
|
+
resource_path='/v{version}/integrations/{resourceIdOrReference}/activate',
|
|
1979
|
+
path_params=_path_params,
|
|
1980
|
+
query_params=_query_params,
|
|
1981
|
+
header_params=_header_params,
|
|
1982
|
+
body=_body_params,
|
|
1983
|
+
post_params=_form_params,
|
|
1984
|
+
files=_files,
|
|
1985
|
+
auth_settings=_auth_settings,
|
|
1986
|
+
collection_formats=_collection_formats,
|
|
1987
|
+
_host=_host,
|
|
1988
|
+
_request_auth=_request_auth
|
|
1989
|
+
)
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
|
|
1993
|
+
|
|
1994
|
+
@validate_call
|
|
1995
|
+
def post_integrations_by_resource_id_or_reference_archive(
|
|
1996
|
+
self,
|
|
1997
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1998
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
1999
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2000
|
+
_request_timeout: Union[
|
|
2001
|
+
None,
|
|
2002
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2003
|
+
Tuple[
|
|
2004
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2005
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2006
|
+
]
|
|
2007
|
+
] = None,
|
|
2008
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2009
|
+
_content_type: Optional[StrictStr] = None,
|
|
2010
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2011
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2012
|
+
) -> Integration:
|
|
2013
|
+
"""Archive an integration by its ID or reference
|
|
2014
|
+
|
|
2015
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
2016
|
+
|
|
2017
|
+
:param version: version (required)
|
|
2018
|
+
:type version: str
|
|
2019
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
2020
|
+
:type resource_id_or_reference: str
|
|
2021
|
+
:param x_platform_id: Platform ID.
|
|
2022
|
+
:type x_platform_id: str
|
|
2023
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2024
|
+
number provided, it will be total request
|
|
2025
|
+
timeout. It can also be a pair (tuple) of
|
|
2026
|
+
(connection, read) timeouts.
|
|
2027
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2028
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2029
|
+
request; this effectively ignores the
|
|
2030
|
+
authentication in the spec for a single request.
|
|
2031
|
+
:type _request_auth: dict, optional
|
|
2032
|
+
:param _content_type: force content-type for the request.
|
|
2033
|
+
:type _content_type: str, Optional
|
|
2034
|
+
:param _headers: set to override the headers for a single
|
|
2035
|
+
request; this effectively ignores the headers
|
|
2036
|
+
in the spec for a single request.
|
|
2037
|
+
:type _headers: dict, optional
|
|
2038
|
+
:param _host_index: set to override the host_index for a single
|
|
2039
|
+
request; this effectively ignores the host_index
|
|
2040
|
+
in the spec for a single request.
|
|
2041
|
+
:type _host_index: int, optional
|
|
2042
|
+
:return: Returns the result object.
|
|
2043
|
+
""" # noqa: E501
|
|
2044
|
+
|
|
2045
|
+
_param = self._post_integrations_by_resource_id_or_reference_archive_serialize(
|
|
2046
|
+
version=version,
|
|
2047
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
2048
|
+
x_platform_id=x_platform_id,
|
|
2049
|
+
_request_auth=_request_auth,
|
|
2050
|
+
_content_type=_content_type,
|
|
2051
|
+
_headers=_headers,
|
|
2052
|
+
_host_index=_host_index
|
|
2053
|
+
)
|
|
2054
|
+
|
|
2055
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2056
|
+
'200': "Integration",
|
|
2057
|
+
'400': "ApiError",
|
|
2058
|
+
'401': "ApiError",
|
|
2059
|
+
'403': "ApiError",
|
|
2060
|
+
'500': "ApiError",
|
|
2061
|
+
}
|
|
2062
|
+
response_data = self.api_client.call_api(
|
|
2063
|
+
*_param,
|
|
2064
|
+
_request_timeout=_request_timeout
|
|
2065
|
+
)
|
|
2066
|
+
response_data.read()
|
|
2067
|
+
return self.api_client.response_deserialize(
|
|
2068
|
+
response_data=response_data,
|
|
2069
|
+
response_types_map=_response_types_map,
|
|
2070
|
+
).data
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
@validate_call
|
|
2074
|
+
def post_integrations_by_resource_id_or_reference_archive_with_http_info(
|
|
2075
|
+
self,
|
|
2076
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2077
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
2078
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2079
|
+
_request_timeout: Union[
|
|
2080
|
+
None,
|
|
2081
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2082
|
+
Tuple[
|
|
2083
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2084
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2085
|
+
]
|
|
2086
|
+
] = None,
|
|
2087
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2088
|
+
_content_type: Optional[StrictStr] = None,
|
|
2089
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2090
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2091
|
+
) -> ApiResponse[Integration]:
|
|
2092
|
+
"""Archive an integration by its ID or reference
|
|
2093
|
+
|
|
2094
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
2095
|
+
|
|
2096
|
+
:param version: version (required)
|
|
2097
|
+
:type version: str
|
|
2098
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
2099
|
+
:type resource_id_or_reference: str
|
|
2100
|
+
:param x_platform_id: Platform ID.
|
|
2101
|
+
:type x_platform_id: str
|
|
2102
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2103
|
+
number provided, it will be total request
|
|
2104
|
+
timeout. It can also be a pair (tuple) of
|
|
2105
|
+
(connection, read) timeouts.
|
|
2106
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2107
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2108
|
+
request; this effectively ignores the
|
|
2109
|
+
authentication in the spec for a single request.
|
|
2110
|
+
:type _request_auth: dict, optional
|
|
2111
|
+
:param _content_type: force content-type for the request.
|
|
2112
|
+
:type _content_type: str, Optional
|
|
2113
|
+
:param _headers: set to override the headers for a single
|
|
2114
|
+
request; this effectively ignores the headers
|
|
2115
|
+
in the spec for a single request.
|
|
2116
|
+
:type _headers: dict, optional
|
|
2117
|
+
:param _host_index: set to override the host_index for a single
|
|
2118
|
+
request; this effectively ignores the host_index
|
|
2119
|
+
in the spec for a single request.
|
|
2120
|
+
:type _host_index: int, optional
|
|
2121
|
+
:return: Returns the result object.
|
|
2122
|
+
""" # noqa: E501
|
|
2123
|
+
|
|
2124
|
+
_param = self._post_integrations_by_resource_id_or_reference_archive_serialize(
|
|
2125
|
+
version=version,
|
|
2126
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
2127
|
+
x_platform_id=x_platform_id,
|
|
2128
|
+
_request_auth=_request_auth,
|
|
2129
|
+
_content_type=_content_type,
|
|
2130
|
+
_headers=_headers,
|
|
2131
|
+
_host_index=_host_index
|
|
2132
|
+
)
|
|
2133
|
+
|
|
2134
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2135
|
+
'200': "Integration",
|
|
2136
|
+
'400': "ApiError",
|
|
2137
|
+
'401': "ApiError",
|
|
2138
|
+
'403': "ApiError",
|
|
2139
|
+
'500': "ApiError",
|
|
2140
|
+
}
|
|
2141
|
+
response_data = self.api_client.call_api(
|
|
2142
|
+
*_param,
|
|
2143
|
+
_request_timeout=_request_timeout
|
|
2144
|
+
)
|
|
2145
|
+
response_data.read()
|
|
2146
|
+
return self.api_client.response_deserialize(
|
|
2147
|
+
response_data=response_data,
|
|
2148
|
+
response_types_map=_response_types_map,
|
|
2149
|
+
)
|
|
2150
|
+
|
|
2151
|
+
|
|
2152
|
+
@validate_call
|
|
2153
|
+
def post_integrations_by_resource_id_or_reference_archive_without_preload_content(
|
|
2154
|
+
self,
|
|
2155
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2156
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
2157
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2158
|
+
_request_timeout: Union[
|
|
2159
|
+
None,
|
|
2160
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2161
|
+
Tuple[
|
|
2162
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2163
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2164
|
+
]
|
|
2165
|
+
] = None,
|
|
2166
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2167
|
+
_content_type: Optional[StrictStr] = None,
|
|
2168
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2169
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2170
|
+
) -> RESTResponseType:
|
|
2171
|
+
"""Archive an integration by its ID or reference
|
|
2172
|
+
|
|
2173
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
2174
|
+
|
|
2175
|
+
:param version: version (required)
|
|
2176
|
+
:type version: str
|
|
2177
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
2178
|
+
:type resource_id_or_reference: str
|
|
2179
|
+
:param x_platform_id: Platform ID.
|
|
2180
|
+
:type x_platform_id: str
|
|
2181
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2182
|
+
number provided, it will be total request
|
|
2183
|
+
timeout. It can also be a pair (tuple) of
|
|
2184
|
+
(connection, read) timeouts.
|
|
2185
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2186
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2187
|
+
request; this effectively ignores the
|
|
2188
|
+
authentication in the spec for a single request.
|
|
2189
|
+
:type _request_auth: dict, optional
|
|
2190
|
+
:param _content_type: force content-type for the request.
|
|
2191
|
+
:type _content_type: str, Optional
|
|
2192
|
+
:param _headers: set to override the headers for a single
|
|
2193
|
+
request; this effectively ignores the headers
|
|
2194
|
+
in the spec for a single request.
|
|
2195
|
+
:type _headers: dict, optional
|
|
2196
|
+
:param _host_index: set to override the host_index for a single
|
|
2197
|
+
request; this effectively ignores the host_index
|
|
2198
|
+
in the spec for a single request.
|
|
2199
|
+
:type _host_index: int, optional
|
|
2200
|
+
:return: Returns the result object.
|
|
2201
|
+
""" # noqa: E501
|
|
2202
|
+
|
|
2203
|
+
_param = self._post_integrations_by_resource_id_or_reference_archive_serialize(
|
|
2204
|
+
version=version,
|
|
2205
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
2206
|
+
x_platform_id=x_platform_id,
|
|
2207
|
+
_request_auth=_request_auth,
|
|
2208
|
+
_content_type=_content_type,
|
|
2209
|
+
_headers=_headers,
|
|
2210
|
+
_host_index=_host_index
|
|
2211
|
+
)
|
|
2212
|
+
|
|
2213
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2214
|
+
'200': "Integration",
|
|
2215
|
+
'400': "ApiError",
|
|
2216
|
+
'401': "ApiError",
|
|
2217
|
+
'403': "ApiError",
|
|
2218
|
+
'500': "ApiError",
|
|
2219
|
+
}
|
|
2220
|
+
response_data = self.api_client.call_api(
|
|
2221
|
+
*_param,
|
|
2222
|
+
_request_timeout=_request_timeout
|
|
2223
|
+
)
|
|
2224
|
+
return response_data.response
|
|
2225
|
+
|
|
2226
|
+
|
|
2227
|
+
def _post_integrations_by_resource_id_or_reference_archive_serialize(
|
|
2228
|
+
self,
|
|
2229
|
+
version,
|
|
2230
|
+
resource_id_or_reference,
|
|
2231
|
+
x_platform_id,
|
|
2232
|
+
_request_auth,
|
|
2233
|
+
_content_type,
|
|
2234
|
+
_headers,
|
|
2235
|
+
_host_index,
|
|
2236
|
+
) -> RequestSerialized:
|
|
2237
|
+
|
|
2238
|
+
_host = None
|
|
2239
|
+
|
|
2240
|
+
_collection_formats: Dict[str, str] = {
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
_path_params: Dict[str, str] = {}
|
|
2244
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2245
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2246
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2247
|
+
_files: Dict[
|
|
2248
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2249
|
+
] = {}
|
|
2250
|
+
_body_params: Optional[bytes] = None
|
|
2251
|
+
|
|
2252
|
+
# process the path parameters
|
|
2253
|
+
if version is not None:
|
|
2254
|
+
_path_params['version'] = version
|
|
2255
|
+
if resource_id_or_reference is not None:
|
|
2256
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
2257
|
+
# process the query parameters
|
|
2258
|
+
# process the header parameters
|
|
2259
|
+
if x_platform_id is not None:
|
|
2260
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2261
|
+
# process the form parameters
|
|
2262
|
+
# process the body parameter
|
|
2263
|
+
|
|
2264
|
+
|
|
2265
|
+
# set the HTTP header `Accept`
|
|
2266
|
+
if 'Accept' not in _header_params:
|
|
2267
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2268
|
+
[
|
|
2269
|
+
'application/json',
|
|
2270
|
+
'*/*'
|
|
2271
|
+
]
|
|
2272
|
+
)
|
|
2273
|
+
|
|
2274
|
+
|
|
2275
|
+
# authentication setting
|
|
2276
|
+
_auth_settings: List[str] = [
|
|
2277
|
+
'JWT-Authentication',
|
|
2278
|
+
'API-Key'
|
|
2279
|
+
]
|
|
2280
|
+
|
|
2281
|
+
return self.api_client.param_serialize(
|
|
2282
|
+
method='POST',
|
|
2283
|
+
resource_path='/v{version}/integrations/{resourceIdOrReference}/archive',
|
|
2284
|
+
path_params=_path_params,
|
|
2285
|
+
query_params=_query_params,
|
|
2286
|
+
header_params=_header_params,
|
|
2287
|
+
body=_body_params,
|
|
2288
|
+
post_params=_form_params,
|
|
2289
|
+
files=_files,
|
|
2290
|
+
auth_settings=_auth_settings,
|
|
2291
|
+
collection_formats=_collection_formats,
|
|
2292
|
+
_host=_host,
|
|
2293
|
+
_request_auth=_request_auth
|
|
2294
|
+
)
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
@validate_call
|
|
2300
|
+
def post_integrations_by_resource_id_or_reference_deprecate(
|
|
2301
|
+
self,
|
|
2302
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2303
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
2304
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2305
|
+
_request_timeout: Union[
|
|
2306
|
+
None,
|
|
2307
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2308
|
+
Tuple[
|
|
2309
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2310
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2311
|
+
]
|
|
2312
|
+
] = None,
|
|
2313
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2314
|
+
_content_type: Optional[StrictStr] = None,
|
|
2315
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2316
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2317
|
+
) -> Integration:
|
|
2318
|
+
"""Deprecate an integration by its ID or reference
|
|
2319
|
+
|
|
2320
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
2321
|
+
|
|
2322
|
+
:param version: version (required)
|
|
2323
|
+
:type version: str
|
|
2324
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
2325
|
+
:type resource_id_or_reference: str
|
|
2326
|
+
:param x_platform_id: Platform ID.
|
|
2327
|
+
:type x_platform_id: str
|
|
2328
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2329
|
+
number provided, it will be total request
|
|
2330
|
+
timeout. It can also be a pair (tuple) of
|
|
2331
|
+
(connection, read) timeouts.
|
|
2332
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2333
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2334
|
+
request; this effectively ignores the
|
|
2335
|
+
authentication in the spec for a single request.
|
|
2336
|
+
:type _request_auth: dict, optional
|
|
2337
|
+
:param _content_type: force content-type for the request.
|
|
2338
|
+
:type _content_type: str, Optional
|
|
2339
|
+
:param _headers: set to override the headers for a single
|
|
2340
|
+
request; this effectively ignores the headers
|
|
2341
|
+
in the spec for a single request.
|
|
2342
|
+
:type _headers: dict, optional
|
|
2343
|
+
:param _host_index: set to override the host_index for a single
|
|
2344
|
+
request; this effectively ignores the host_index
|
|
2345
|
+
in the spec for a single request.
|
|
2346
|
+
:type _host_index: int, optional
|
|
2347
|
+
:return: Returns the result object.
|
|
2348
|
+
""" # noqa: E501
|
|
2349
|
+
|
|
2350
|
+
_param = self._post_integrations_by_resource_id_or_reference_deprecate_serialize(
|
|
2351
|
+
version=version,
|
|
2352
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
2353
|
+
x_platform_id=x_platform_id,
|
|
2354
|
+
_request_auth=_request_auth,
|
|
2355
|
+
_content_type=_content_type,
|
|
2356
|
+
_headers=_headers,
|
|
2357
|
+
_host_index=_host_index
|
|
2358
|
+
)
|
|
2359
|
+
|
|
2360
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2361
|
+
'200': "Integration",
|
|
2362
|
+
'400': "ApiError",
|
|
2363
|
+
'401': "ApiError",
|
|
2364
|
+
'403': "ApiError",
|
|
2365
|
+
'500': "ApiError",
|
|
2366
|
+
}
|
|
2367
|
+
response_data = self.api_client.call_api(
|
|
2368
|
+
*_param,
|
|
2369
|
+
_request_timeout=_request_timeout
|
|
2370
|
+
)
|
|
2371
|
+
response_data.read()
|
|
2372
|
+
return self.api_client.response_deserialize(
|
|
2373
|
+
response_data=response_data,
|
|
2374
|
+
response_types_map=_response_types_map,
|
|
2375
|
+
).data
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
@validate_call
|
|
2379
|
+
def post_integrations_by_resource_id_or_reference_deprecate_with_http_info(
|
|
2380
|
+
self,
|
|
2381
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2382
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
2383
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2384
|
+
_request_timeout: Union[
|
|
2385
|
+
None,
|
|
2386
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2387
|
+
Tuple[
|
|
2388
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2389
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2390
|
+
]
|
|
2391
|
+
] = None,
|
|
2392
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2393
|
+
_content_type: Optional[StrictStr] = None,
|
|
2394
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2395
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2396
|
+
) -> ApiResponse[Integration]:
|
|
2397
|
+
"""Deprecate an integration by its ID or reference
|
|
2398
|
+
|
|
2399
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
2400
|
+
|
|
2401
|
+
:param version: version (required)
|
|
2402
|
+
:type version: str
|
|
2403
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
2404
|
+
:type resource_id_or_reference: str
|
|
2405
|
+
:param x_platform_id: Platform ID.
|
|
2406
|
+
:type x_platform_id: str
|
|
2407
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2408
|
+
number provided, it will be total request
|
|
2409
|
+
timeout. It can also be a pair (tuple) of
|
|
2410
|
+
(connection, read) timeouts.
|
|
2411
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2412
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2413
|
+
request; this effectively ignores the
|
|
2414
|
+
authentication in the spec for a single request.
|
|
2415
|
+
:type _request_auth: dict, optional
|
|
2416
|
+
:param _content_type: force content-type for the request.
|
|
2417
|
+
:type _content_type: str, Optional
|
|
2418
|
+
:param _headers: set to override the headers for a single
|
|
2419
|
+
request; this effectively ignores the headers
|
|
2420
|
+
in the spec for a single request.
|
|
2421
|
+
:type _headers: dict, optional
|
|
2422
|
+
:param _host_index: set to override the host_index for a single
|
|
2423
|
+
request; this effectively ignores the host_index
|
|
2424
|
+
in the spec for a single request.
|
|
2425
|
+
:type _host_index: int, optional
|
|
2426
|
+
:return: Returns the result object.
|
|
2427
|
+
""" # noqa: E501
|
|
2428
|
+
|
|
2429
|
+
_param = self._post_integrations_by_resource_id_or_reference_deprecate_serialize(
|
|
2430
|
+
version=version,
|
|
2431
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
2432
|
+
x_platform_id=x_platform_id,
|
|
2433
|
+
_request_auth=_request_auth,
|
|
2434
|
+
_content_type=_content_type,
|
|
2435
|
+
_headers=_headers,
|
|
2436
|
+
_host_index=_host_index
|
|
2437
|
+
)
|
|
2438
|
+
|
|
2439
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2440
|
+
'200': "Integration",
|
|
2441
|
+
'400': "ApiError",
|
|
2442
|
+
'401': "ApiError",
|
|
2443
|
+
'403': "ApiError",
|
|
2444
|
+
'500': "ApiError",
|
|
2445
|
+
}
|
|
2446
|
+
response_data = self.api_client.call_api(
|
|
2447
|
+
*_param,
|
|
2448
|
+
_request_timeout=_request_timeout
|
|
2449
|
+
)
|
|
2450
|
+
response_data.read()
|
|
2451
|
+
return self.api_client.response_deserialize(
|
|
2452
|
+
response_data=response_data,
|
|
2453
|
+
response_types_map=_response_types_map,
|
|
2454
|
+
)
|
|
2455
|
+
|
|
2456
|
+
|
|
2457
|
+
@validate_call
|
|
2458
|
+
def post_integrations_by_resource_id_or_reference_deprecate_without_preload_content(
|
|
2459
|
+
self,
|
|
2460
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2461
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
2462
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2463
|
+
_request_timeout: Union[
|
|
2464
|
+
None,
|
|
2465
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2466
|
+
Tuple[
|
|
2467
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2468
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2469
|
+
]
|
|
2470
|
+
] = None,
|
|
2471
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2472
|
+
_content_type: Optional[StrictStr] = None,
|
|
2473
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2474
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2475
|
+
) -> RESTResponseType:
|
|
2476
|
+
"""Deprecate an integration by its ID or reference
|
|
2477
|
+
|
|
2478
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
2479
|
+
|
|
2480
|
+
:param version: version (required)
|
|
2481
|
+
:type version: str
|
|
2482
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
2483
|
+
:type resource_id_or_reference: str
|
|
2484
|
+
:param x_platform_id: Platform ID.
|
|
2485
|
+
:type x_platform_id: str
|
|
2486
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2487
|
+
number provided, it will be total request
|
|
2488
|
+
timeout. It can also be a pair (tuple) of
|
|
2489
|
+
(connection, read) timeouts.
|
|
2490
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2491
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2492
|
+
request; this effectively ignores the
|
|
2493
|
+
authentication in the spec for a single request.
|
|
2494
|
+
:type _request_auth: dict, optional
|
|
2495
|
+
:param _content_type: force content-type for the request.
|
|
2496
|
+
:type _content_type: str, Optional
|
|
2497
|
+
:param _headers: set to override the headers for a single
|
|
2498
|
+
request; this effectively ignores the headers
|
|
2499
|
+
in the spec for a single request.
|
|
2500
|
+
:type _headers: dict, optional
|
|
2501
|
+
:param _host_index: set to override the host_index for a single
|
|
2502
|
+
request; this effectively ignores the host_index
|
|
2503
|
+
in the spec for a single request.
|
|
2504
|
+
:type _host_index: int, optional
|
|
2505
|
+
:return: Returns the result object.
|
|
2506
|
+
""" # noqa: E501
|
|
2507
|
+
|
|
2508
|
+
_param = self._post_integrations_by_resource_id_or_reference_deprecate_serialize(
|
|
2509
|
+
version=version,
|
|
2510
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
2511
|
+
x_platform_id=x_platform_id,
|
|
2512
|
+
_request_auth=_request_auth,
|
|
2513
|
+
_content_type=_content_type,
|
|
2514
|
+
_headers=_headers,
|
|
2515
|
+
_host_index=_host_index
|
|
2516
|
+
)
|
|
2517
|
+
|
|
2518
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2519
|
+
'200': "Integration",
|
|
2520
|
+
'400': "ApiError",
|
|
2521
|
+
'401': "ApiError",
|
|
2522
|
+
'403': "ApiError",
|
|
2523
|
+
'500': "ApiError",
|
|
2524
|
+
}
|
|
2525
|
+
response_data = self.api_client.call_api(
|
|
2526
|
+
*_param,
|
|
2527
|
+
_request_timeout=_request_timeout
|
|
2528
|
+
)
|
|
2529
|
+
return response_data.response
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
def _post_integrations_by_resource_id_or_reference_deprecate_serialize(
|
|
2533
|
+
self,
|
|
2534
|
+
version,
|
|
2535
|
+
resource_id_or_reference,
|
|
2536
|
+
x_platform_id,
|
|
2537
|
+
_request_auth,
|
|
2538
|
+
_content_type,
|
|
2539
|
+
_headers,
|
|
2540
|
+
_host_index,
|
|
2541
|
+
) -> RequestSerialized:
|
|
2542
|
+
|
|
2543
|
+
_host = None
|
|
2544
|
+
|
|
2545
|
+
_collection_formats: Dict[str, str] = {
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
_path_params: Dict[str, str] = {}
|
|
2549
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2550
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2551
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2552
|
+
_files: Dict[
|
|
2553
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2554
|
+
] = {}
|
|
2555
|
+
_body_params: Optional[bytes] = None
|
|
2556
|
+
|
|
2557
|
+
# process the path parameters
|
|
2558
|
+
if version is not None:
|
|
2559
|
+
_path_params['version'] = version
|
|
2560
|
+
if resource_id_or_reference is not None:
|
|
2561
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
2562
|
+
# process the query parameters
|
|
2563
|
+
# process the header parameters
|
|
2564
|
+
if x_platform_id is not None:
|
|
2565
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2566
|
+
# process the form parameters
|
|
2567
|
+
# process the body parameter
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
# set the HTTP header `Accept`
|
|
2571
|
+
if 'Accept' not in _header_params:
|
|
2572
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2573
|
+
[
|
|
2574
|
+
'application/json',
|
|
2575
|
+
'*/*'
|
|
2576
|
+
]
|
|
2577
|
+
)
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
# authentication setting
|
|
2581
|
+
_auth_settings: List[str] = [
|
|
2582
|
+
'JWT-Authentication',
|
|
2583
|
+
'API-Key'
|
|
2584
|
+
]
|
|
2585
|
+
|
|
2586
|
+
return self.api_client.param_serialize(
|
|
2587
|
+
method='POST',
|
|
2588
|
+
resource_path='/v{version}/integrations/{resourceIdOrReference}/deprecate',
|
|
2589
|
+
path_params=_path_params,
|
|
2590
|
+
query_params=_query_params,
|
|
2591
|
+
header_params=_header_params,
|
|
2592
|
+
body=_body_params,
|
|
2593
|
+
post_params=_form_params,
|
|
2594
|
+
files=_files,
|
|
2595
|
+
auth_settings=_auth_settings,
|
|
2596
|
+
collection_formats=_collection_formats,
|
|
2597
|
+
_host=_host,
|
|
2598
|
+
_request_auth=_request_auth
|
|
2599
|
+
)
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
|
|
2604
|
+
@validate_call
|
|
2605
|
+
def post_integrations_test_connection(
|
|
2606
|
+
self,
|
|
2607
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2608
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2609
|
+
integration_type: Annotated[Optional[StrictStr], Field(description="The type of integration to test the connection for")] = None,
|
|
2610
|
+
e_invoicing_processor: Annotated[Optional[StrictStr], Field(description="The processor to connect with when testing an eInvoicing integration")] = None,
|
|
2611
|
+
tax_calculation_variant: Annotated[Optional[StrictStr], Field(description="The variant to connect with when testing a tax calculation integration")] = None,
|
|
2612
|
+
authentication_settings_create_request: Optional[AuthenticationSettingsCreateRequest] = None,
|
|
2613
|
+
_request_timeout: Union[
|
|
2614
|
+
None,
|
|
2615
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2616
|
+
Tuple[
|
|
2617
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2618
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2619
|
+
]
|
|
2620
|
+
] = None,
|
|
2621
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2622
|
+
_content_type: Optional[StrictStr] = None,
|
|
2623
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2624
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2625
|
+
) -> TestConnectionResponse:
|
|
2626
|
+
"""Test whether the integration connection is successful
|
|
2627
|
+
|
|
2628
|
+
Requires the INTEGRATION.VIEW permission.
|
|
2629
|
+
|
|
2630
|
+
:param version: version (required)
|
|
2631
|
+
:type version: str
|
|
2632
|
+
:param x_platform_id: Platform ID.
|
|
2633
|
+
:type x_platform_id: str
|
|
2634
|
+
:param integration_type: The type of integration to test the connection for
|
|
2635
|
+
:type integration_type: str
|
|
2636
|
+
:param e_invoicing_processor: The processor to connect with when testing an eInvoicing integration
|
|
2637
|
+
:type e_invoicing_processor: str
|
|
2638
|
+
:param tax_calculation_variant: The variant to connect with when testing a tax calculation integration
|
|
2639
|
+
:type tax_calculation_variant: str
|
|
2640
|
+
:param authentication_settings_create_request:
|
|
2641
|
+
:type authentication_settings_create_request: AuthenticationSettingsCreateRequest
|
|
2642
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2643
|
+
number provided, it will be total request
|
|
2644
|
+
timeout. It can also be a pair (tuple) of
|
|
2645
|
+
(connection, read) timeouts.
|
|
2646
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2647
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2648
|
+
request; this effectively ignores the
|
|
2649
|
+
authentication in the spec for a single request.
|
|
2650
|
+
:type _request_auth: dict, optional
|
|
2651
|
+
:param _content_type: force content-type for the request.
|
|
2652
|
+
:type _content_type: str, Optional
|
|
2653
|
+
:param _headers: set to override the headers for a single
|
|
2654
|
+
request; this effectively ignores the headers
|
|
2655
|
+
in the spec for a single request.
|
|
2656
|
+
:type _headers: dict, optional
|
|
2657
|
+
:param _host_index: set to override the host_index for a single
|
|
2658
|
+
request; this effectively ignores the host_index
|
|
2659
|
+
in the spec for a single request.
|
|
2660
|
+
:type _host_index: int, optional
|
|
2661
|
+
:return: Returns the result object.
|
|
2662
|
+
""" # noqa: E501
|
|
2663
|
+
|
|
2664
|
+
_param = self._post_integrations_test_connection_serialize(
|
|
2665
|
+
version=version,
|
|
2666
|
+
x_platform_id=x_platform_id,
|
|
2667
|
+
integration_type=integration_type,
|
|
2668
|
+
e_invoicing_processor=e_invoicing_processor,
|
|
2669
|
+
tax_calculation_variant=tax_calculation_variant,
|
|
2670
|
+
authentication_settings_create_request=authentication_settings_create_request,
|
|
2671
|
+
_request_auth=_request_auth,
|
|
2672
|
+
_content_type=_content_type,
|
|
2673
|
+
_headers=_headers,
|
|
2674
|
+
_host_index=_host_index
|
|
2675
|
+
)
|
|
2676
|
+
|
|
2677
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2678
|
+
'200': "TestConnectionResponse",
|
|
2679
|
+
'401': "ApiError",
|
|
2680
|
+
'403': "ApiError",
|
|
2681
|
+
}
|
|
2682
|
+
response_data = self.api_client.call_api(
|
|
2683
|
+
*_param,
|
|
2684
|
+
_request_timeout=_request_timeout
|
|
2685
|
+
)
|
|
2686
|
+
response_data.read()
|
|
2687
|
+
return self.api_client.response_deserialize(
|
|
2688
|
+
response_data=response_data,
|
|
2689
|
+
response_types_map=_response_types_map,
|
|
2690
|
+
).data
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
@validate_call
|
|
2694
|
+
def post_integrations_test_connection_with_http_info(
|
|
2695
|
+
self,
|
|
2696
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2697
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2698
|
+
integration_type: Annotated[Optional[StrictStr], Field(description="The type of integration to test the connection for")] = None,
|
|
2699
|
+
e_invoicing_processor: Annotated[Optional[StrictStr], Field(description="The processor to connect with when testing an eInvoicing integration")] = None,
|
|
2700
|
+
tax_calculation_variant: Annotated[Optional[StrictStr], Field(description="The variant to connect with when testing a tax calculation integration")] = None,
|
|
2701
|
+
authentication_settings_create_request: Optional[AuthenticationSettingsCreateRequest] = None,
|
|
2702
|
+
_request_timeout: Union[
|
|
2703
|
+
None,
|
|
2704
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2705
|
+
Tuple[
|
|
2706
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2707
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2708
|
+
]
|
|
2709
|
+
] = None,
|
|
2710
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2711
|
+
_content_type: Optional[StrictStr] = None,
|
|
2712
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2713
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2714
|
+
) -> ApiResponse[TestConnectionResponse]:
|
|
2715
|
+
"""Test whether the integration connection is successful
|
|
2716
|
+
|
|
2717
|
+
Requires the INTEGRATION.VIEW permission.
|
|
2718
|
+
|
|
2719
|
+
:param version: version (required)
|
|
2720
|
+
:type version: str
|
|
2721
|
+
:param x_platform_id: Platform ID.
|
|
2722
|
+
:type x_platform_id: str
|
|
2723
|
+
:param integration_type: The type of integration to test the connection for
|
|
2724
|
+
:type integration_type: str
|
|
2725
|
+
:param e_invoicing_processor: The processor to connect with when testing an eInvoicing integration
|
|
2726
|
+
:type e_invoicing_processor: str
|
|
2727
|
+
:param tax_calculation_variant: The variant to connect with when testing a tax calculation integration
|
|
2728
|
+
:type tax_calculation_variant: str
|
|
2729
|
+
:param authentication_settings_create_request:
|
|
2730
|
+
:type authentication_settings_create_request: AuthenticationSettingsCreateRequest
|
|
2731
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2732
|
+
number provided, it will be total request
|
|
2733
|
+
timeout. It can also be a pair (tuple) of
|
|
2734
|
+
(connection, read) timeouts.
|
|
2735
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2736
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2737
|
+
request; this effectively ignores the
|
|
2738
|
+
authentication in the spec for a single request.
|
|
2739
|
+
:type _request_auth: dict, optional
|
|
2740
|
+
:param _content_type: force content-type for the request.
|
|
2741
|
+
:type _content_type: str, Optional
|
|
2742
|
+
:param _headers: set to override the headers for a single
|
|
2743
|
+
request; this effectively ignores the headers
|
|
2744
|
+
in the spec for a single request.
|
|
2745
|
+
:type _headers: dict, optional
|
|
2746
|
+
:param _host_index: set to override the host_index for a single
|
|
2747
|
+
request; this effectively ignores the host_index
|
|
2748
|
+
in the spec for a single request.
|
|
2749
|
+
:type _host_index: int, optional
|
|
2750
|
+
:return: Returns the result object.
|
|
2751
|
+
""" # noqa: E501
|
|
2752
|
+
|
|
2753
|
+
_param = self._post_integrations_test_connection_serialize(
|
|
2754
|
+
version=version,
|
|
2755
|
+
x_platform_id=x_platform_id,
|
|
2756
|
+
integration_type=integration_type,
|
|
2757
|
+
e_invoicing_processor=e_invoicing_processor,
|
|
2758
|
+
tax_calculation_variant=tax_calculation_variant,
|
|
2759
|
+
authentication_settings_create_request=authentication_settings_create_request,
|
|
2760
|
+
_request_auth=_request_auth,
|
|
2761
|
+
_content_type=_content_type,
|
|
2762
|
+
_headers=_headers,
|
|
2763
|
+
_host_index=_host_index
|
|
2764
|
+
)
|
|
2765
|
+
|
|
2766
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2767
|
+
'200': "TestConnectionResponse",
|
|
2768
|
+
'401': "ApiError",
|
|
2769
|
+
'403': "ApiError",
|
|
2770
|
+
}
|
|
2771
|
+
response_data = self.api_client.call_api(
|
|
2772
|
+
*_param,
|
|
2773
|
+
_request_timeout=_request_timeout
|
|
2774
|
+
)
|
|
2775
|
+
response_data.read()
|
|
2776
|
+
return self.api_client.response_deserialize(
|
|
2777
|
+
response_data=response_data,
|
|
2778
|
+
response_types_map=_response_types_map,
|
|
2779
|
+
)
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
@validate_call
|
|
2783
|
+
def post_integrations_test_connection_without_preload_content(
|
|
2784
|
+
self,
|
|
2785
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2786
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2787
|
+
integration_type: Annotated[Optional[StrictStr], Field(description="The type of integration to test the connection for")] = None,
|
|
2788
|
+
e_invoicing_processor: Annotated[Optional[StrictStr], Field(description="The processor to connect with when testing an eInvoicing integration")] = None,
|
|
2789
|
+
tax_calculation_variant: Annotated[Optional[StrictStr], Field(description="The variant to connect with when testing a tax calculation integration")] = None,
|
|
2790
|
+
authentication_settings_create_request: Optional[AuthenticationSettingsCreateRequest] = None,
|
|
2791
|
+
_request_timeout: Union[
|
|
2792
|
+
None,
|
|
2793
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2794
|
+
Tuple[
|
|
2795
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2796
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2797
|
+
]
|
|
2798
|
+
] = None,
|
|
2799
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2800
|
+
_content_type: Optional[StrictStr] = None,
|
|
2801
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2802
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2803
|
+
) -> RESTResponseType:
|
|
2804
|
+
"""Test whether the integration connection is successful
|
|
2805
|
+
|
|
2806
|
+
Requires the INTEGRATION.VIEW permission.
|
|
2807
|
+
|
|
2808
|
+
:param version: version (required)
|
|
2809
|
+
:type version: str
|
|
2810
|
+
:param x_platform_id: Platform ID.
|
|
2811
|
+
:type x_platform_id: str
|
|
2812
|
+
:param integration_type: The type of integration to test the connection for
|
|
2813
|
+
:type integration_type: str
|
|
2814
|
+
:param e_invoicing_processor: The processor to connect with when testing an eInvoicing integration
|
|
2815
|
+
:type e_invoicing_processor: str
|
|
2816
|
+
:param tax_calculation_variant: The variant to connect with when testing a tax calculation integration
|
|
2817
|
+
:type tax_calculation_variant: str
|
|
2818
|
+
:param authentication_settings_create_request:
|
|
2819
|
+
:type authentication_settings_create_request: AuthenticationSettingsCreateRequest
|
|
2820
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2821
|
+
number provided, it will be total request
|
|
2822
|
+
timeout. It can also be a pair (tuple) of
|
|
2823
|
+
(connection, read) timeouts.
|
|
2824
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2825
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2826
|
+
request; this effectively ignores the
|
|
2827
|
+
authentication in the spec for a single request.
|
|
2828
|
+
:type _request_auth: dict, optional
|
|
2829
|
+
:param _content_type: force content-type for the request.
|
|
2830
|
+
:type _content_type: str, Optional
|
|
2831
|
+
:param _headers: set to override the headers for a single
|
|
2832
|
+
request; this effectively ignores the headers
|
|
2833
|
+
in the spec for a single request.
|
|
2834
|
+
:type _headers: dict, optional
|
|
2835
|
+
:param _host_index: set to override the host_index for a single
|
|
2836
|
+
request; this effectively ignores the host_index
|
|
2837
|
+
in the spec for a single request.
|
|
2838
|
+
:type _host_index: int, optional
|
|
2839
|
+
:return: Returns the result object.
|
|
2840
|
+
""" # noqa: E501
|
|
2841
|
+
|
|
2842
|
+
_param = self._post_integrations_test_connection_serialize(
|
|
2843
|
+
version=version,
|
|
2844
|
+
x_platform_id=x_platform_id,
|
|
2845
|
+
integration_type=integration_type,
|
|
2846
|
+
e_invoicing_processor=e_invoicing_processor,
|
|
2847
|
+
tax_calculation_variant=tax_calculation_variant,
|
|
2848
|
+
authentication_settings_create_request=authentication_settings_create_request,
|
|
2849
|
+
_request_auth=_request_auth,
|
|
2850
|
+
_content_type=_content_type,
|
|
2851
|
+
_headers=_headers,
|
|
2852
|
+
_host_index=_host_index
|
|
2853
|
+
)
|
|
2854
|
+
|
|
2855
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2856
|
+
'200': "TestConnectionResponse",
|
|
2857
|
+
'401': "ApiError",
|
|
2858
|
+
'403': "ApiError",
|
|
2859
|
+
}
|
|
2860
|
+
response_data = self.api_client.call_api(
|
|
2861
|
+
*_param,
|
|
2862
|
+
_request_timeout=_request_timeout
|
|
2863
|
+
)
|
|
2864
|
+
return response_data.response
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
def _post_integrations_test_connection_serialize(
|
|
2868
|
+
self,
|
|
2869
|
+
version,
|
|
2870
|
+
x_platform_id,
|
|
2871
|
+
integration_type,
|
|
2872
|
+
e_invoicing_processor,
|
|
2873
|
+
tax_calculation_variant,
|
|
2874
|
+
authentication_settings_create_request,
|
|
2875
|
+
_request_auth,
|
|
2876
|
+
_content_type,
|
|
2877
|
+
_headers,
|
|
2878
|
+
_host_index,
|
|
2879
|
+
) -> RequestSerialized:
|
|
2880
|
+
|
|
2881
|
+
_host = None
|
|
2882
|
+
|
|
2883
|
+
_collection_formats: Dict[str, str] = {
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
_path_params: Dict[str, str] = {}
|
|
2887
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2888
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2889
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2890
|
+
_files: Dict[
|
|
2891
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2892
|
+
] = {}
|
|
2893
|
+
_body_params: Optional[bytes] = None
|
|
2894
|
+
|
|
2895
|
+
# process the path parameters
|
|
2896
|
+
if version is not None:
|
|
2897
|
+
_path_params['version'] = version
|
|
2898
|
+
# process the query parameters
|
|
2899
|
+
if integration_type is not None:
|
|
2900
|
+
|
|
2901
|
+
_query_params.append(('integration_type', integration_type))
|
|
2902
|
+
|
|
2903
|
+
if e_invoicing_processor is not None:
|
|
2904
|
+
|
|
2905
|
+
_query_params.append(('e_invoicing_processor', e_invoicing_processor))
|
|
2906
|
+
|
|
2907
|
+
if tax_calculation_variant is not None:
|
|
2908
|
+
|
|
2909
|
+
_query_params.append(('tax_calculation_variant', tax_calculation_variant))
|
|
2910
|
+
|
|
2911
|
+
# process the header parameters
|
|
2912
|
+
if x_platform_id is not None:
|
|
2913
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2914
|
+
# process the form parameters
|
|
2915
|
+
# process the body parameter
|
|
2916
|
+
if authentication_settings_create_request is not None:
|
|
2917
|
+
_body_params = authentication_settings_create_request
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
# set the HTTP header `Accept`
|
|
2921
|
+
if 'Accept' not in _header_params:
|
|
2922
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2923
|
+
[
|
|
2924
|
+
'application/json',
|
|
2925
|
+
'*/*'
|
|
2926
|
+
]
|
|
2927
|
+
)
|
|
2928
|
+
|
|
2929
|
+
# set the HTTP header `Content-Type`
|
|
2930
|
+
if _content_type:
|
|
2931
|
+
_header_params['Content-Type'] = _content_type
|
|
2932
|
+
else:
|
|
2933
|
+
_default_content_type = (
|
|
2934
|
+
self.api_client.select_header_content_type(
|
|
2935
|
+
[
|
|
2936
|
+
'application/json'
|
|
2937
|
+
]
|
|
2938
|
+
)
|
|
2939
|
+
)
|
|
2940
|
+
if _default_content_type is not None:
|
|
2941
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2942
|
+
|
|
2943
|
+
# authentication setting
|
|
2944
|
+
_auth_settings: List[str] = [
|
|
2945
|
+
'JWT-Authentication',
|
|
2946
|
+
'API-Key'
|
|
2947
|
+
]
|
|
2948
|
+
|
|
2949
|
+
return self.api_client.param_serialize(
|
|
2950
|
+
method='POST',
|
|
2951
|
+
resource_path='/v{version}/integrations/test-connection',
|
|
2952
|
+
path_params=_path_params,
|
|
2953
|
+
query_params=_query_params,
|
|
2954
|
+
header_params=_header_params,
|
|
2955
|
+
body=_body_params,
|
|
2956
|
+
post_params=_form_params,
|
|
2957
|
+
files=_files,
|
|
2958
|
+
auth_settings=_auth_settings,
|
|
2959
|
+
collection_formats=_collection_formats,
|
|
2960
|
+
_host=_host,
|
|
2961
|
+
_request_auth=_request_auth
|
|
2962
|
+
)
|
|
2963
|
+
|
|
2964
|
+
|
|
2965
|
+
|
|
2966
|
+
|
|
2967
|
+
@validate_call
|
|
2968
|
+
def update_integrations_by_resource_id_or_reference(
|
|
2969
|
+
self,
|
|
2970
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2971
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
2972
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2973
|
+
integration_update_request: Optional[IntegrationUpdateRequest] = None,
|
|
2974
|
+
_request_timeout: Union[
|
|
2975
|
+
None,
|
|
2976
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2977
|
+
Tuple[
|
|
2978
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2979
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2980
|
+
]
|
|
2981
|
+
] = None,
|
|
2982
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2983
|
+
_content_type: Optional[StrictStr] = None,
|
|
2984
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2985
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2986
|
+
) -> Integration:
|
|
2987
|
+
"""Update an integration by its ID or reference
|
|
2988
|
+
|
|
2989
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
2990
|
+
|
|
2991
|
+
:param version: version (required)
|
|
2992
|
+
:type version: str
|
|
2993
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
2994
|
+
:type resource_id_or_reference: str
|
|
2995
|
+
:param x_platform_id: Platform ID.
|
|
2996
|
+
:type x_platform_id: str
|
|
2997
|
+
:param integration_update_request:
|
|
2998
|
+
:type integration_update_request: IntegrationUpdateRequest
|
|
2999
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3000
|
+
number provided, it will be total request
|
|
3001
|
+
timeout. It can also be a pair (tuple) of
|
|
3002
|
+
(connection, read) timeouts.
|
|
3003
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3004
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3005
|
+
request; this effectively ignores the
|
|
3006
|
+
authentication in the spec for a single request.
|
|
3007
|
+
:type _request_auth: dict, optional
|
|
3008
|
+
:param _content_type: force content-type for the request.
|
|
3009
|
+
:type _content_type: str, Optional
|
|
3010
|
+
:param _headers: set to override the headers for a single
|
|
3011
|
+
request; this effectively ignores the headers
|
|
3012
|
+
in the spec for a single request.
|
|
3013
|
+
:type _headers: dict, optional
|
|
3014
|
+
:param _host_index: set to override the host_index for a single
|
|
3015
|
+
request; this effectively ignores the host_index
|
|
3016
|
+
in the spec for a single request.
|
|
3017
|
+
:type _host_index: int, optional
|
|
3018
|
+
:return: Returns the result object.
|
|
3019
|
+
""" # noqa: E501
|
|
3020
|
+
|
|
3021
|
+
_param = self._update_integrations_by_resource_id_or_reference_serialize(
|
|
3022
|
+
version=version,
|
|
3023
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
3024
|
+
x_platform_id=x_platform_id,
|
|
3025
|
+
integration_update_request=integration_update_request,
|
|
3026
|
+
_request_auth=_request_auth,
|
|
3027
|
+
_content_type=_content_type,
|
|
3028
|
+
_headers=_headers,
|
|
3029
|
+
_host_index=_host_index
|
|
3030
|
+
)
|
|
3031
|
+
|
|
3032
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3033
|
+
'200': "Integration",
|
|
3034
|
+
'400': "ApiError",
|
|
3035
|
+
'401': "ApiError",
|
|
3036
|
+
'403': "ApiError",
|
|
3037
|
+
'500': "ApiError",
|
|
3038
|
+
}
|
|
3039
|
+
response_data = self.api_client.call_api(
|
|
3040
|
+
*_param,
|
|
3041
|
+
_request_timeout=_request_timeout
|
|
3042
|
+
)
|
|
3043
|
+
response_data.read()
|
|
3044
|
+
return self.api_client.response_deserialize(
|
|
3045
|
+
response_data=response_data,
|
|
3046
|
+
response_types_map=_response_types_map,
|
|
3047
|
+
).data
|
|
3048
|
+
|
|
3049
|
+
|
|
3050
|
+
@validate_call
|
|
3051
|
+
def update_integrations_by_resource_id_or_reference_with_http_info(
|
|
3052
|
+
self,
|
|
3053
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
3054
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
3055
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
3056
|
+
integration_update_request: Optional[IntegrationUpdateRequest] = None,
|
|
3057
|
+
_request_timeout: Union[
|
|
3058
|
+
None,
|
|
3059
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3060
|
+
Tuple[
|
|
3061
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3062
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3063
|
+
]
|
|
3064
|
+
] = None,
|
|
3065
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3066
|
+
_content_type: Optional[StrictStr] = None,
|
|
3067
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3068
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3069
|
+
) -> ApiResponse[Integration]:
|
|
3070
|
+
"""Update an integration by its ID or reference
|
|
3071
|
+
|
|
3072
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
3073
|
+
|
|
3074
|
+
:param version: version (required)
|
|
3075
|
+
:type version: str
|
|
3076
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
3077
|
+
:type resource_id_or_reference: str
|
|
3078
|
+
:param x_platform_id: Platform ID.
|
|
3079
|
+
:type x_platform_id: str
|
|
3080
|
+
:param integration_update_request:
|
|
3081
|
+
:type integration_update_request: IntegrationUpdateRequest
|
|
3082
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3083
|
+
number provided, it will be total request
|
|
3084
|
+
timeout. It can also be a pair (tuple) of
|
|
3085
|
+
(connection, read) timeouts.
|
|
3086
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3087
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3088
|
+
request; this effectively ignores the
|
|
3089
|
+
authentication in the spec for a single request.
|
|
3090
|
+
:type _request_auth: dict, optional
|
|
3091
|
+
:param _content_type: force content-type for the request.
|
|
3092
|
+
:type _content_type: str, Optional
|
|
3093
|
+
:param _headers: set to override the headers for a single
|
|
3094
|
+
request; this effectively ignores the headers
|
|
3095
|
+
in the spec for a single request.
|
|
3096
|
+
:type _headers: dict, optional
|
|
3097
|
+
:param _host_index: set to override the host_index for a single
|
|
3098
|
+
request; this effectively ignores the host_index
|
|
3099
|
+
in the spec for a single request.
|
|
3100
|
+
:type _host_index: int, optional
|
|
3101
|
+
:return: Returns the result object.
|
|
3102
|
+
""" # noqa: E501
|
|
3103
|
+
|
|
3104
|
+
_param = self._update_integrations_by_resource_id_or_reference_serialize(
|
|
3105
|
+
version=version,
|
|
3106
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
3107
|
+
x_platform_id=x_platform_id,
|
|
3108
|
+
integration_update_request=integration_update_request,
|
|
3109
|
+
_request_auth=_request_auth,
|
|
3110
|
+
_content_type=_content_type,
|
|
3111
|
+
_headers=_headers,
|
|
3112
|
+
_host_index=_host_index
|
|
3113
|
+
)
|
|
3114
|
+
|
|
3115
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3116
|
+
'200': "Integration",
|
|
3117
|
+
'400': "ApiError",
|
|
3118
|
+
'401': "ApiError",
|
|
3119
|
+
'403': "ApiError",
|
|
3120
|
+
'500': "ApiError",
|
|
3121
|
+
}
|
|
3122
|
+
response_data = self.api_client.call_api(
|
|
3123
|
+
*_param,
|
|
3124
|
+
_request_timeout=_request_timeout
|
|
3125
|
+
)
|
|
3126
|
+
response_data.read()
|
|
3127
|
+
return self.api_client.response_deserialize(
|
|
3128
|
+
response_data=response_data,
|
|
3129
|
+
response_types_map=_response_types_map,
|
|
3130
|
+
)
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
@validate_call
|
|
3134
|
+
def update_integrations_by_resource_id_or_reference_without_preload_content(
|
|
3135
|
+
self,
|
|
3136
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
3137
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
3138
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
3139
|
+
integration_update_request: Optional[IntegrationUpdateRequest] = None,
|
|
3140
|
+
_request_timeout: Union[
|
|
3141
|
+
None,
|
|
3142
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3143
|
+
Tuple[
|
|
3144
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3145
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3146
|
+
]
|
|
3147
|
+
] = None,
|
|
3148
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3149
|
+
_content_type: Optional[StrictStr] = None,
|
|
3150
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3151
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3152
|
+
) -> RESTResponseType:
|
|
3153
|
+
"""Update an integration by its ID or reference
|
|
3154
|
+
|
|
3155
|
+
Requires the INTEGRATION.UPDATE permission.
|
|
3156
|
+
|
|
3157
|
+
:param version: version (required)
|
|
3158
|
+
:type version: str
|
|
3159
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
3160
|
+
:type resource_id_or_reference: str
|
|
3161
|
+
:param x_platform_id: Platform ID.
|
|
3162
|
+
:type x_platform_id: str
|
|
3163
|
+
:param integration_update_request:
|
|
3164
|
+
:type integration_update_request: IntegrationUpdateRequest
|
|
3165
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3166
|
+
number provided, it will be total request
|
|
3167
|
+
timeout. It can also be a pair (tuple) of
|
|
3168
|
+
(connection, read) timeouts.
|
|
3169
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3170
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3171
|
+
request; this effectively ignores the
|
|
3172
|
+
authentication in the spec for a single request.
|
|
3173
|
+
:type _request_auth: dict, optional
|
|
3174
|
+
:param _content_type: force content-type for the request.
|
|
3175
|
+
:type _content_type: str, Optional
|
|
3176
|
+
:param _headers: set to override the headers for a single
|
|
3177
|
+
request; this effectively ignores the headers
|
|
3178
|
+
in the spec for a single request.
|
|
3179
|
+
:type _headers: dict, optional
|
|
3180
|
+
:param _host_index: set to override the host_index for a single
|
|
3181
|
+
request; this effectively ignores the host_index
|
|
3182
|
+
in the spec for a single request.
|
|
3183
|
+
:type _host_index: int, optional
|
|
3184
|
+
:return: Returns the result object.
|
|
3185
|
+
""" # noqa: E501
|
|
3186
|
+
|
|
3187
|
+
_param = self._update_integrations_by_resource_id_or_reference_serialize(
|
|
3188
|
+
version=version,
|
|
3189
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
3190
|
+
x_platform_id=x_platform_id,
|
|
3191
|
+
integration_update_request=integration_update_request,
|
|
3192
|
+
_request_auth=_request_auth,
|
|
3193
|
+
_content_type=_content_type,
|
|
3194
|
+
_headers=_headers,
|
|
3195
|
+
_host_index=_host_index
|
|
3196
|
+
)
|
|
3197
|
+
|
|
3198
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3199
|
+
'200': "Integration",
|
|
3200
|
+
'400': "ApiError",
|
|
3201
|
+
'401': "ApiError",
|
|
3202
|
+
'403': "ApiError",
|
|
3203
|
+
'500': "ApiError",
|
|
3204
|
+
}
|
|
3205
|
+
response_data = self.api_client.call_api(
|
|
3206
|
+
*_param,
|
|
3207
|
+
_request_timeout=_request_timeout
|
|
3208
|
+
)
|
|
3209
|
+
return response_data.response
|
|
3210
|
+
|
|
3211
|
+
|
|
3212
|
+
def _update_integrations_by_resource_id_or_reference_serialize(
|
|
3213
|
+
self,
|
|
3214
|
+
version,
|
|
3215
|
+
resource_id_or_reference,
|
|
3216
|
+
x_platform_id,
|
|
3217
|
+
integration_update_request,
|
|
3218
|
+
_request_auth,
|
|
3219
|
+
_content_type,
|
|
3220
|
+
_headers,
|
|
3221
|
+
_host_index,
|
|
3222
|
+
) -> RequestSerialized:
|
|
3223
|
+
|
|
3224
|
+
_host = None
|
|
3225
|
+
|
|
3226
|
+
_collection_formats: Dict[str, str] = {
|
|
3227
|
+
}
|
|
3228
|
+
|
|
3229
|
+
_path_params: Dict[str, str] = {}
|
|
3230
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3231
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3232
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3233
|
+
_files: Dict[
|
|
3234
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3235
|
+
] = {}
|
|
3236
|
+
_body_params: Optional[bytes] = None
|
|
3237
|
+
|
|
3238
|
+
# process the path parameters
|
|
3239
|
+
if version is not None:
|
|
3240
|
+
_path_params['version'] = version
|
|
3241
|
+
if resource_id_or_reference is not None:
|
|
3242
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
3243
|
+
# process the query parameters
|
|
3244
|
+
# process the header parameters
|
|
3245
|
+
if x_platform_id is not None:
|
|
3246
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
3247
|
+
# process the form parameters
|
|
3248
|
+
# process the body parameter
|
|
3249
|
+
if integration_update_request is not None:
|
|
3250
|
+
_body_params = integration_update_request
|
|
3251
|
+
|
|
3252
|
+
|
|
3253
|
+
# set the HTTP header `Accept`
|
|
3254
|
+
if 'Accept' not in _header_params:
|
|
3255
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3256
|
+
[
|
|
3257
|
+
'application/json',
|
|
3258
|
+
'*/*'
|
|
3259
|
+
]
|
|
3260
|
+
)
|
|
3261
|
+
|
|
3262
|
+
# set the HTTP header `Content-Type`
|
|
3263
|
+
if _content_type:
|
|
3264
|
+
_header_params['Content-Type'] = _content_type
|
|
3265
|
+
else:
|
|
3266
|
+
_default_content_type = (
|
|
3267
|
+
self.api_client.select_header_content_type(
|
|
3268
|
+
[
|
|
3269
|
+
'application/json'
|
|
3270
|
+
]
|
|
3271
|
+
)
|
|
3272
|
+
)
|
|
3273
|
+
if _default_content_type is not None:
|
|
3274
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3275
|
+
|
|
3276
|
+
# authentication setting
|
|
3277
|
+
_auth_settings: List[str] = [
|
|
3278
|
+
'JWT-Authentication',
|
|
3279
|
+
'API-Key'
|
|
3280
|
+
]
|
|
3281
|
+
|
|
3282
|
+
return self.api_client.param_serialize(
|
|
3283
|
+
method='PATCH',
|
|
3284
|
+
resource_path='/v{version}/integrations/{resourceIdOrReference}',
|
|
3285
|
+
path_params=_path_params,
|
|
3286
|
+
query_params=_query_params,
|
|
3287
|
+
header_params=_header_params,
|
|
3288
|
+
body=_body_params,
|
|
3289
|
+
post_params=_form_params,
|
|
3290
|
+
files=_files,
|
|
3291
|
+
auth_settings=_auth_settings,
|
|
3292
|
+
collection_formats=_collection_formats,
|
|
3293
|
+
_host=_host,
|
|
3294
|
+
_request_auth=_request_auth
|
|
3295
|
+
)
|
|
3296
|
+
|
|
3297
|
+
|