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,2743 @@
|
|
|
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 Dict, List, Optional
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from solvimon_python_sdk.models.get_quotes_list import GetQuotesList
|
|
23
|
+
from solvimon_python_sdk.models.quote import Quote
|
|
24
|
+
from solvimon_python_sdk.models.quote_create_request import QuoteCreateRequest
|
|
25
|
+
from solvimon_python_sdk.models.quote_init_action import QuoteInitAction
|
|
26
|
+
from solvimon_python_sdk.models.quote_init_action_create_request import QuoteInitActionCreateRequest
|
|
27
|
+
from solvimon_python_sdk.models.quote_update_request import QuoteUpdateRequest
|
|
28
|
+
from solvimon_python_sdk.models.quote_upgrade_action_request_create_request import QuoteUpgradeActionRequestCreateRequest
|
|
29
|
+
from solvimon_python_sdk.models.quote_upgrade_action_response import QuoteUpgradeActionResponse
|
|
30
|
+
from solvimon_python_sdk.models.quotes_response_wrapper import QuotesResponseWrapper
|
|
31
|
+
|
|
32
|
+
from solvimon_python_sdk.api_client import ApiClient, RequestSerialized
|
|
33
|
+
from solvimon_python_sdk.api_response import ApiResponse
|
|
34
|
+
from solvimon_python_sdk.rest import RESTResponseType
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class QuotesApi:
|
|
38
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
39
|
+
Ref: https://openapi-generator.tech
|
|
40
|
+
|
|
41
|
+
Do not edit the class manually.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None) -> None:
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient.get_default()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@validate_call
|
|
51
|
+
def delete_quotes_by_resource_id(
|
|
52
|
+
self,
|
|
53
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
54
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
55
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
56
|
+
_request_timeout: Union[
|
|
57
|
+
None,
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
+
Tuple[
|
|
60
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
61
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
62
|
+
]
|
|
63
|
+
] = None,
|
|
64
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_content_type: Optional[StrictStr] = None,
|
|
66
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
67
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68
|
+
) -> Quote:
|
|
69
|
+
"""Delete a quote
|
|
70
|
+
|
|
71
|
+
Requires the QUOTE.DELETE permission.
|
|
72
|
+
|
|
73
|
+
:param version: version (required)
|
|
74
|
+
:type version: str
|
|
75
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
76
|
+
:type resource_id: str
|
|
77
|
+
:param x_platform_id: Platform ID.
|
|
78
|
+
:type x_platform_id: str
|
|
79
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
80
|
+
number provided, it will be total request
|
|
81
|
+
timeout. It can also be a pair (tuple) of
|
|
82
|
+
(connection, read) timeouts.
|
|
83
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
84
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
85
|
+
request; this effectively ignores the
|
|
86
|
+
authentication in the spec for a single request.
|
|
87
|
+
:type _request_auth: dict, optional
|
|
88
|
+
:param _content_type: force content-type for the request.
|
|
89
|
+
:type _content_type: str, Optional
|
|
90
|
+
:param _headers: set to override the headers for a single
|
|
91
|
+
request; this effectively ignores the headers
|
|
92
|
+
in the spec for a single request.
|
|
93
|
+
:type _headers: dict, optional
|
|
94
|
+
:param _host_index: set to override the host_index for a single
|
|
95
|
+
request; this effectively ignores the host_index
|
|
96
|
+
in the spec for a single request.
|
|
97
|
+
:type _host_index: int, optional
|
|
98
|
+
:return: Returns the result object.
|
|
99
|
+
""" # noqa: E501
|
|
100
|
+
|
|
101
|
+
_param = self._delete_quotes_by_resource_id_serialize(
|
|
102
|
+
version=version,
|
|
103
|
+
resource_id=resource_id,
|
|
104
|
+
x_platform_id=x_platform_id,
|
|
105
|
+
_request_auth=_request_auth,
|
|
106
|
+
_content_type=_content_type,
|
|
107
|
+
_headers=_headers,
|
|
108
|
+
_host_index=_host_index
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
112
|
+
'200': "Quote",
|
|
113
|
+
'400': "ApiError",
|
|
114
|
+
'401': "ApiError",
|
|
115
|
+
'403': "ApiError",
|
|
116
|
+
'500': "ApiError",
|
|
117
|
+
}
|
|
118
|
+
response_data = self.api_client.call_api(
|
|
119
|
+
*_param,
|
|
120
|
+
_request_timeout=_request_timeout
|
|
121
|
+
)
|
|
122
|
+
response_data.read()
|
|
123
|
+
return self.api_client.response_deserialize(
|
|
124
|
+
response_data=response_data,
|
|
125
|
+
response_types_map=_response_types_map,
|
|
126
|
+
).data
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
@validate_call
|
|
130
|
+
def delete_quotes_by_resource_id_with_http_info(
|
|
131
|
+
self,
|
|
132
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
133
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
134
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
135
|
+
_request_timeout: Union[
|
|
136
|
+
None,
|
|
137
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
138
|
+
Tuple[
|
|
139
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
140
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
141
|
+
]
|
|
142
|
+
] = None,
|
|
143
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
144
|
+
_content_type: Optional[StrictStr] = None,
|
|
145
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
146
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
147
|
+
) -> ApiResponse[Quote]:
|
|
148
|
+
"""Delete a quote
|
|
149
|
+
|
|
150
|
+
Requires the QUOTE.DELETE permission.
|
|
151
|
+
|
|
152
|
+
:param version: version (required)
|
|
153
|
+
:type version: str
|
|
154
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
155
|
+
:type resource_id: str
|
|
156
|
+
:param x_platform_id: Platform ID.
|
|
157
|
+
:type x_platform_id: str
|
|
158
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
159
|
+
number provided, it will be total request
|
|
160
|
+
timeout. It can also be a pair (tuple) of
|
|
161
|
+
(connection, read) timeouts.
|
|
162
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
163
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
164
|
+
request; this effectively ignores the
|
|
165
|
+
authentication in the spec for a single request.
|
|
166
|
+
:type _request_auth: dict, optional
|
|
167
|
+
:param _content_type: force content-type for the request.
|
|
168
|
+
:type _content_type: str, Optional
|
|
169
|
+
:param _headers: set to override the headers for a single
|
|
170
|
+
request; this effectively ignores the headers
|
|
171
|
+
in the spec for a single request.
|
|
172
|
+
:type _headers: dict, optional
|
|
173
|
+
:param _host_index: set to override the host_index for a single
|
|
174
|
+
request; this effectively ignores the host_index
|
|
175
|
+
in the spec for a single request.
|
|
176
|
+
:type _host_index: int, optional
|
|
177
|
+
:return: Returns the result object.
|
|
178
|
+
""" # noqa: E501
|
|
179
|
+
|
|
180
|
+
_param = self._delete_quotes_by_resource_id_serialize(
|
|
181
|
+
version=version,
|
|
182
|
+
resource_id=resource_id,
|
|
183
|
+
x_platform_id=x_platform_id,
|
|
184
|
+
_request_auth=_request_auth,
|
|
185
|
+
_content_type=_content_type,
|
|
186
|
+
_headers=_headers,
|
|
187
|
+
_host_index=_host_index
|
|
188
|
+
)
|
|
189
|
+
|
|
190
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
191
|
+
'200': "Quote",
|
|
192
|
+
'400': "ApiError",
|
|
193
|
+
'401': "ApiError",
|
|
194
|
+
'403': "ApiError",
|
|
195
|
+
'500': "ApiError",
|
|
196
|
+
}
|
|
197
|
+
response_data = self.api_client.call_api(
|
|
198
|
+
*_param,
|
|
199
|
+
_request_timeout=_request_timeout
|
|
200
|
+
)
|
|
201
|
+
response_data.read()
|
|
202
|
+
return self.api_client.response_deserialize(
|
|
203
|
+
response_data=response_data,
|
|
204
|
+
response_types_map=_response_types_map,
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
@validate_call
|
|
209
|
+
def delete_quotes_by_resource_id_without_preload_content(
|
|
210
|
+
self,
|
|
211
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
212
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
213
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
214
|
+
_request_timeout: Union[
|
|
215
|
+
None,
|
|
216
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
217
|
+
Tuple[
|
|
218
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
219
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
220
|
+
]
|
|
221
|
+
] = None,
|
|
222
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
223
|
+
_content_type: Optional[StrictStr] = None,
|
|
224
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
225
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
226
|
+
) -> RESTResponseType:
|
|
227
|
+
"""Delete a quote
|
|
228
|
+
|
|
229
|
+
Requires the QUOTE.DELETE permission.
|
|
230
|
+
|
|
231
|
+
:param version: version (required)
|
|
232
|
+
:type version: str
|
|
233
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
234
|
+
:type resource_id: str
|
|
235
|
+
:param x_platform_id: Platform ID.
|
|
236
|
+
:type x_platform_id: str
|
|
237
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
238
|
+
number provided, it will be total request
|
|
239
|
+
timeout. It can also be a pair (tuple) of
|
|
240
|
+
(connection, read) timeouts.
|
|
241
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
242
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
243
|
+
request; this effectively ignores the
|
|
244
|
+
authentication in the spec for a single request.
|
|
245
|
+
:type _request_auth: dict, optional
|
|
246
|
+
:param _content_type: force content-type for the request.
|
|
247
|
+
:type _content_type: str, Optional
|
|
248
|
+
:param _headers: set to override the headers for a single
|
|
249
|
+
request; this effectively ignores the headers
|
|
250
|
+
in the spec for a single request.
|
|
251
|
+
:type _headers: dict, optional
|
|
252
|
+
:param _host_index: set to override the host_index for a single
|
|
253
|
+
request; this effectively ignores the host_index
|
|
254
|
+
in the spec for a single request.
|
|
255
|
+
:type _host_index: int, optional
|
|
256
|
+
:return: Returns the result object.
|
|
257
|
+
""" # noqa: E501
|
|
258
|
+
|
|
259
|
+
_param = self._delete_quotes_by_resource_id_serialize(
|
|
260
|
+
version=version,
|
|
261
|
+
resource_id=resource_id,
|
|
262
|
+
x_platform_id=x_platform_id,
|
|
263
|
+
_request_auth=_request_auth,
|
|
264
|
+
_content_type=_content_type,
|
|
265
|
+
_headers=_headers,
|
|
266
|
+
_host_index=_host_index
|
|
267
|
+
)
|
|
268
|
+
|
|
269
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
270
|
+
'200': "Quote",
|
|
271
|
+
'400': "ApiError",
|
|
272
|
+
'401': "ApiError",
|
|
273
|
+
'403': "ApiError",
|
|
274
|
+
'500': "ApiError",
|
|
275
|
+
}
|
|
276
|
+
response_data = self.api_client.call_api(
|
|
277
|
+
*_param,
|
|
278
|
+
_request_timeout=_request_timeout
|
|
279
|
+
)
|
|
280
|
+
return response_data.response
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
def _delete_quotes_by_resource_id_serialize(
|
|
284
|
+
self,
|
|
285
|
+
version,
|
|
286
|
+
resource_id,
|
|
287
|
+
x_platform_id,
|
|
288
|
+
_request_auth,
|
|
289
|
+
_content_type,
|
|
290
|
+
_headers,
|
|
291
|
+
_host_index,
|
|
292
|
+
) -> RequestSerialized:
|
|
293
|
+
|
|
294
|
+
_host = None
|
|
295
|
+
|
|
296
|
+
_collection_formats: Dict[str, str] = {
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
_path_params: Dict[str, str] = {}
|
|
300
|
+
_query_params: List[Tuple[str, str]] = []
|
|
301
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
302
|
+
_form_params: List[Tuple[str, str]] = []
|
|
303
|
+
_files: Dict[
|
|
304
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
305
|
+
] = {}
|
|
306
|
+
_body_params: Optional[bytes] = None
|
|
307
|
+
|
|
308
|
+
# process the path parameters
|
|
309
|
+
if version is not None:
|
|
310
|
+
_path_params['version'] = version
|
|
311
|
+
if resource_id is not None:
|
|
312
|
+
_path_params['resourceId'] = resource_id
|
|
313
|
+
# process the query parameters
|
|
314
|
+
# process the header parameters
|
|
315
|
+
if x_platform_id is not None:
|
|
316
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
317
|
+
# process the form parameters
|
|
318
|
+
# process the body parameter
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
# set the HTTP header `Accept`
|
|
322
|
+
if 'Accept' not in _header_params:
|
|
323
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
324
|
+
[
|
|
325
|
+
'application/json',
|
|
326
|
+
'*/*'
|
|
327
|
+
]
|
|
328
|
+
)
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
# authentication setting
|
|
332
|
+
_auth_settings: List[str] = [
|
|
333
|
+
'JWT-Authentication',
|
|
334
|
+
'API-Key'
|
|
335
|
+
]
|
|
336
|
+
|
|
337
|
+
return self.api_client.param_serialize(
|
|
338
|
+
method='DELETE',
|
|
339
|
+
resource_path='/v{version}/quotes/{resourceId}',
|
|
340
|
+
path_params=_path_params,
|
|
341
|
+
query_params=_query_params,
|
|
342
|
+
header_params=_header_params,
|
|
343
|
+
body=_body_params,
|
|
344
|
+
post_params=_form_params,
|
|
345
|
+
files=_files,
|
|
346
|
+
auth_settings=_auth_settings,
|
|
347
|
+
collection_formats=_collection_formats,
|
|
348
|
+
_host=_host,
|
|
349
|
+
_request_auth=_request_auth
|
|
350
|
+
)
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
@validate_call
|
|
356
|
+
def get_quotes(
|
|
357
|
+
self,
|
|
358
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
359
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
360
|
+
customer_id: Annotated[Optional[StrictStr], Field(description="Filter based of customer resource ID")] = None,
|
|
361
|
+
status: Annotated[Optional[StrictStr], Field(description="Filter invoices based on quote status")] = None,
|
|
362
|
+
owner_user_id: Annotated[Optional[StrictStr], Field(description="Filter based on owner resource ID")] = None,
|
|
363
|
+
custom_field: Annotated[Optional[StrictStr], Field(description="Filter based on custom field value in the format 'reference:value'")] = None,
|
|
364
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
365
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
366
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
367
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
368
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
369
|
+
_request_timeout: Union[
|
|
370
|
+
None,
|
|
371
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
372
|
+
Tuple[
|
|
373
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
374
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
375
|
+
]
|
|
376
|
+
] = None,
|
|
377
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
378
|
+
_content_type: Optional[StrictStr] = None,
|
|
379
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
380
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
381
|
+
) -> QuotesResponseWrapper:
|
|
382
|
+
"""Get a list of all quotes
|
|
383
|
+
|
|
384
|
+
Requires the QUOTE.VIEW permission.
|
|
385
|
+
|
|
386
|
+
:param version: version (required)
|
|
387
|
+
:type version: str
|
|
388
|
+
:param x_platform_id: Platform ID.
|
|
389
|
+
:type x_platform_id: str
|
|
390
|
+
:param customer_id: Filter based of customer resource ID
|
|
391
|
+
:type customer_id: str
|
|
392
|
+
:param status: Filter invoices based on quote status
|
|
393
|
+
:type status: str
|
|
394
|
+
:param owner_user_id: Filter based on owner resource ID
|
|
395
|
+
:type owner_user_id: str
|
|
396
|
+
:param custom_field: Filter based on custom field value in the format 'reference:value'
|
|
397
|
+
:type custom_field: str
|
|
398
|
+
:param limit: The amount of records shown in the list
|
|
399
|
+
:type limit: int
|
|
400
|
+
:param page: The page which is going to be shown
|
|
401
|
+
:type page: int
|
|
402
|
+
:param order_by: The parameter by which the response is ordered.
|
|
403
|
+
:type order_by: str
|
|
404
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
405
|
+
:type order_direction: str
|
|
406
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
407
|
+
:type expand: List[str]
|
|
408
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
409
|
+
number provided, it will be total request
|
|
410
|
+
timeout. It can also be a pair (tuple) of
|
|
411
|
+
(connection, read) timeouts.
|
|
412
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
413
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
414
|
+
request; this effectively ignores the
|
|
415
|
+
authentication in the spec for a single request.
|
|
416
|
+
:type _request_auth: dict, optional
|
|
417
|
+
:param _content_type: force content-type for the request.
|
|
418
|
+
:type _content_type: str, Optional
|
|
419
|
+
:param _headers: set to override the headers for a single
|
|
420
|
+
request; this effectively ignores the headers
|
|
421
|
+
in the spec for a single request.
|
|
422
|
+
:type _headers: dict, optional
|
|
423
|
+
:param _host_index: set to override the host_index for a single
|
|
424
|
+
request; this effectively ignores the host_index
|
|
425
|
+
in the spec for a single request.
|
|
426
|
+
:type _host_index: int, optional
|
|
427
|
+
:return: Returns the result object.
|
|
428
|
+
""" # noqa: E501
|
|
429
|
+
|
|
430
|
+
_param = self._get_quotes_serialize(
|
|
431
|
+
version=version,
|
|
432
|
+
x_platform_id=x_platform_id,
|
|
433
|
+
customer_id=customer_id,
|
|
434
|
+
status=status,
|
|
435
|
+
owner_user_id=owner_user_id,
|
|
436
|
+
custom_field=custom_field,
|
|
437
|
+
limit=limit,
|
|
438
|
+
page=page,
|
|
439
|
+
order_by=order_by,
|
|
440
|
+
order_direction=order_direction,
|
|
441
|
+
expand=expand,
|
|
442
|
+
_request_auth=_request_auth,
|
|
443
|
+
_content_type=_content_type,
|
|
444
|
+
_headers=_headers,
|
|
445
|
+
_host_index=_host_index
|
|
446
|
+
)
|
|
447
|
+
|
|
448
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
449
|
+
'200': "QuotesResponseWrapper",
|
|
450
|
+
'401': "ApiError",
|
|
451
|
+
'403': "ApiError",
|
|
452
|
+
'404': "ApiError",
|
|
453
|
+
'500': "ApiError",
|
|
454
|
+
}
|
|
455
|
+
response_data = self.api_client.call_api(
|
|
456
|
+
*_param,
|
|
457
|
+
_request_timeout=_request_timeout
|
|
458
|
+
)
|
|
459
|
+
response_data.read()
|
|
460
|
+
return self.api_client.response_deserialize(
|
|
461
|
+
response_data=response_data,
|
|
462
|
+
response_types_map=_response_types_map,
|
|
463
|
+
).data
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
@validate_call
|
|
467
|
+
def get_quotes_with_http_info(
|
|
468
|
+
self,
|
|
469
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
470
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
471
|
+
customer_id: Annotated[Optional[StrictStr], Field(description="Filter based of customer resource ID")] = None,
|
|
472
|
+
status: Annotated[Optional[StrictStr], Field(description="Filter invoices based on quote status")] = None,
|
|
473
|
+
owner_user_id: Annotated[Optional[StrictStr], Field(description="Filter based on owner resource ID")] = None,
|
|
474
|
+
custom_field: Annotated[Optional[StrictStr], Field(description="Filter based on custom field value in the format 'reference:value'")] = None,
|
|
475
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
476
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
477
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
478
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
479
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
480
|
+
_request_timeout: Union[
|
|
481
|
+
None,
|
|
482
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
483
|
+
Tuple[
|
|
484
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
485
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
486
|
+
]
|
|
487
|
+
] = None,
|
|
488
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
489
|
+
_content_type: Optional[StrictStr] = None,
|
|
490
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
491
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
492
|
+
) -> ApiResponse[QuotesResponseWrapper]:
|
|
493
|
+
"""Get a list of all quotes
|
|
494
|
+
|
|
495
|
+
Requires the QUOTE.VIEW permission.
|
|
496
|
+
|
|
497
|
+
:param version: version (required)
|
|
498
|
+
:type version: str
|
|
499
|
+
:param x_platform_id: Platform ID.
|
|
500
|
+
:type x_platform_id: str
|
|
501
|
+
:param customer_id: Filter based of customer resource ID
|
|
502
|
+
:type customer_id: str
|
|
503
|
+
:param status: Filter invoices based on quote status
|
|
504
|
+
:type status: str
|
|
505
|
+
:param owner_user_id: Filter based on owner resource ID
|
|
506
|
+
:type owner_user_id: str
|
|
507
|
+
:param custom_field: Filter based on custom field value in the format 'reference:value'
|
|
508
|
+
:type custom_field: str
|
|
509
|
+
:param limit: The amount of records shown in the list
|
|
510
|
+
:type limit: int
|
|
511
|
+
:param page: The page which is going to be shown
|
|
512
|
+
:type page: int
|
|
513
|
+
:param order_by: The parameter by which the response is ordered.
|
|
514
|
+
:type order_by: str
|
|
515
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
516
|
+
:type order_direction: str
|
|
517
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
518
|
+
:type expand: List[str]
|
|
519
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
520
|
+
number provided, it will be total request
|
|
521
|
+
timeout. It can also be a pair (tuple) of
|
|
522
|
+
(connection, read) timeouts.
|
|
523
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
524
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
525
|
+
request; this effectively ignores the
|
|
526
|
+
authentication in the spec for a single request.
|
|
527
|
+
:type _request_auth: dict, optional
|
|
528
|
+
:param _content_type: force content-type for the request.
|
|
529
|
+
:type _content_type: str, Optional
|
|
530
|
+
:param _headers: set to override the headers for a single
|
|
531
|
+
request; this effectively ignores the headers
|
|
532
|
+
in the spec for a single request.
|
|
533
|
+
:type _headers: dict, optional
|
|
534
|
+
:param _host_index: set to override the host_index for a single
|
|
535
|
+
request; this effectively ignores the host_index
|
|
536
|
+
in the spec for a single request.
|
|
537
|
+
:type _host_index: int, optional
|
|
538
|
+
:return: Returns the result object.
|
|
539
|
+
""" # noqa: E501
|
|
540
|
+
|
|
541
|
+
_param = self._get_quotes_serialize(
|
|
542
|
+
version=version,
|
|
543
|
+
x_platform_id=x_platform_id,
|
|
544
|
+
customer_id=customer_id,
|
|
545
|
+
status=status,
|
|
546
|
+
owner_user_id=owner_user_id,
|
|
547
|
+
custom_field=custom_field,
|
|
548
|
+
limit=limit,
|
|
549
|
+
page=page,
|
|
550
|
+
order_by=order_by,
|
|
551
|
+
order_direction=order_direction,
|
|
552
|
+
expand=expand,
|
|
553
|
+
_request_auth=_request_auth,
|
|
554
|
+
_content_type=_content_type,
|
|
555
|
+
_headers=_headers,
|
|
556
|
+
_host_index=_host_index
|
|
557
|
+
)
|
|
558
|
+
|
|
559
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
560
|
+
'200': "QuotesResponseWrapper",
|
|
561
|
+
'401': "ApiError",
|
|
562
|
+
'403': "ApiError",
|
|
563
|
+
'404': "ApiError",
|
|
564
|
+
'500': "ApiError",
|
|
565
|
+
}
|
|
566
|
+
response_data = self.api_client.call_api(
|
|
567
|
+
*_param,
|
|
568
|
+
_request_timeout=_request_timeout
|
|
569
|
+
)
|
|
570
|
+
response_data.read()
|
|
571
|
+
return self.api_client.response_deserialize(
|
|
572
|
+
response_data=response_data,
|
|
573
|
+
response_types_map=_response_types_map,
|
|
574
|
+
)
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
@validate_call
|
|
578
|
+
def get_quotes_without_preload_content(
|
|
579
|
+
self,
|
|
580
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
581
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
582
|
+
customer_id: Annotated[Optional[StrictStr], Field(description="Filter based of customer resource ID")] = None,
|
|
583
|
+
status: Annotated[Optional[StrictStr], Field(description="Filter invoices based on quote status")] = None,
|
|
584
|
+
owner_user_id: Annotated[Optional[StrictStr], Field(description="Filter based on owner resource ID")] = None,
|
|
585
|
+
custom_field: Annotated[Optional[StrictStr], Field(description="Filter based on custom field value in the format 'reference:value'")] = None,
|
|
586
|
+
limit: Annotated[Optional[StrictInt], Field(description="The amount of records shown in the list")] = None,
|
|
587
|
+
page: Annotated[Optional[StrictInt], Field(description="The page which is going to be shown")] = None,
|
|
588
|
+
order_by: Annotated[Optional[StrictStr], Field(description="The parameter by which the response is ordered.")] = None,
|
|
589
|
+
order_direction: Annotated[Optional[StrictStr], Field(description="The order direction by which the response is ordered.")] = None,
|
|
590
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
591
|
+
_request_timeout: Union[
|
|
592
|
+
None,
|
|
593
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
594
|
+
Tuple[
|
|
595
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
596
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
597
|
+
]
|
|
598
|
+
] = None,
|
|
599
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
600
|
+
_content_type: Optional[StrictStr] = None,
|
|
601
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
602
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
603
|
+
) -> RESTResponseType:
|
|
604
|
+
"""Get a list of all quotes
|
|
605
|
+
|
|
606
|
+
Requires the QUOTE.VIEW permission.
|
|
607
|
+
|
|
608
|
+
:param version: version (required)
|
|
609
|
+
:type version: str
|
|
610
|
+
:param x_platform_id: Platform ID.
|
|
611
|
+
:type x_platform_id: str
|
|
612
|
+
:param customer_id: Filter based of customer resource ID
|
|
613
|
+
:type customer_id: str
|
|
614
|
+
:param status: Filter invoices based on quote status
|
|
615
|
+
:type status: str
|
|
616
|
+
:param owner_user_id: Filter based on owner resource ID
|
|
617
|
+
:type owner_user_id: str
|
|
618
|
+
:param custom_field: Filter based on custom field value in the format 'reference:value'
|
|
619
|
+
:type custom_field: str
|
|
620
|
+
:param limit: The amount of records shown in the list
|
|
621
|
+
:type limit: int
|
|
622
|
+
:param page: The page which is going to be shown
|
|
623
|
+
:type page: int
|
|
624
|
+
:param order_by: The parameter by which the response is ordered.
|
|
625
|
+
:type order_by: str
|
|
626
|
+
:param order_direction: The order direction by which the response is ordered.
|
|
627
|
+
:type order_direction: str
|
|
628
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
629
|
+
:type expand: List[str]
|
|
630
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
631
|
+
number provided, it will be total request
|
|
632
|
+
timeout. It can also be a pair (tuple) of
|
|
633
|
+
(connection, read) timeouts.
|
|
634
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
635
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
636
|
+
request; this effectively ignores the
|
|
637
|
+
authentication in the spec for a single request.
|
|
638
|
+
:type _request_auth: dict, optional
|
|
639
|
+
:param _content_type: force content-type for the request.
|
|
640
|
+
:type _content_type: str, Optional
|
|
641
|
+
:param _headers: set to override the headers for a single
|
|
642
|
+
request; this effectively ignores the headers
|
|
643
|
+
in the spec for a single request.
|
|
644
|
+
:type _headers: dict, optional
|
|
645
|
+
:param _host_index: set to override the host_index for a single
|
|
646
|
+
request; this effectively ignores the host_index
|
|
647
|
+
in the spec for a single request.
|
|
648
|
+
:type _host_index: int, optional
|
|
649
|
+
:return: Returns the result object.
|
|
650
|
+
""" # noqa: E501
|
|
651
|
+
|
|
652
|
+
_param = self._get_quotes_serialize(
|
|
653
|
+
version=version,
|
|
654
|
+
x_platform_id=x_platform_id,
|
|
655
|
+
customer_id=customer_id,
|
|
656
|
+
status=status,
|
|
657
|
+
owner_user_id=owner_user_id,
|
|
658
|
+
custom_field=custom_field,
|
|
659
|
+
limit=limit,
|
|
660
|
+
page=page,
|
|
661
|
+
order_by=order_by,
|
|
662
|
+
order_direction=order_direction,
|
|
663
|
+
expand=expand,
|
|
664
|
+
_request_auth=_request_auth,
|
|
665
|
+
_content_type=_content_type,
|
|
666
|
+
_headers=_headers,
|
|
667
|
+
_host_index=_host_index
|
|
668
|
+
)
|
|
669
|
+
|
|
670
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
671
|
+
'200': "QuotesResponseWrapper",
|
|
672
|
+
'401': "ApiError",
|
|
673
|
+
'403': "ApiError",
|
|
674
|
+
'404': "ApiError",
|
|
675
|
+
'500': "ApiError",
|
|
676
|
+
}
|
|
677
|
+
response_data = self.api_client.call_api(
|
|
678
|
+
*_param,
|
|
679
|
+
_request_timeout=_request_timeout
|
|
680
|
+
)
|
|
681
|
+
return response_data.response
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
def _get_quotes_serialize(
|
|
685
|
+
self,
|
|
686
|
+
version,
|
|
687
|
+
x_platform_id,
|
|
688
|
+
customer_id,
|
|
689
|
+
status,
|
|
690
|
+
owner_user_id,
|
|
691
|
+
custom_field,
|
|
692
|
+
limit,
|
|
693
|
+
page,
|
|
694
|
+
order_by,
|
|
695
|
+
order_direction,
|
|
696
|
+
expand,
|
|
697
|
+
_request_auth,
|
|
698
|
+
_content_type,
|
|
699
|
+
_headers,
|
|
700
|
+
_host_index,
|
|
701
|
+
) -> RequestSerialized:
|
|
702
|
+
|
|
703
|
+
_host = None
|
|
704
|
+
|
|
705
|
+
_collection_formats: Dict[str, str] = {
|
|
706
|
+
'expand[]': 'multi',
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
_path_params: Dict[str, str] = {}
|
|
710
|
+
_query_params: List[Tuple[str, str]] = []
|
|
711
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
712
|
+
_form_params: List[Tuple[str, str]] = []
|
|
713
|
+
_files: Dict[
|
|
714
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
715
|
+
] = {}
|
|
716
|
+
_body_params: Optional[bytes] = None
|
|
717
|
+
|
|
718
|
+
# process the path parameters
|
|
719
|
+
if version is not None:
|
|
720
|
+
_path_params['version'] = version
|
|
721
|
+
# process the query parameters
|
|
722
|
+
if customer_id is not None:
|
|
723
|
+
|
|
724
|
+
_query_params.append(('customer_id', customer_id))
|
|
725
|
+
|
|
726
|
+
if status is not None:
|
|
727
|
+
|
|
728
|
+
_query_params.append(('status', status))
|
|
729
|
+
|
|
730
|
+
if owner_user_id is not None:
|
|
731
|
+
|
|
732
|
+
_query_params.append(('owner_user_id', owner_user_id))
|
|
733
|
+
|
|
734
|
+
if custom_field is not None:
|
|
735
|
+
|
|
736
|
+
_query_params.append(('custom_field', custom_field))
|
|
737
|
+
|
|
738
|
+
if limit is not None:
|
|
739
|
+
|
|
740
|
+
_query_params.append(('limit', limit))
|
|
741
|
+
|
|
742
|
+
if page is not None:
|
|
743
|
+
|
|
744
|
+
_query_params.append(('page', page))
|
|
745
|
+
|
|
746
|
+
if order_by is not None:
|
|
747
|
+
|
|
748
|
+
_query_params.append(('order_by', order_by))
|
|
749
|
+
|
|
750
|
+
if order_direction is not None:
|
|
751
|
+
|
|
752
|
+
_query_params.append(('order_direction', order_direction))
|
|
753
|
+
|
|
754
|
+
if expand is not None:
|
|
755
|
+
|
|
756
|
+
_query_params.append(('expand[]', expand))
|
|
757
|
+
|
|
758
|
+
# process the header parameters
|
|
759
|
+
if x_platform_id is not None:
|
|
760
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
761
|
+
# process the form parameters
|
|
762
|
+
# process the body parameter
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
# set the HTTP header `Accept`
|
|
766
|
+
if 'Accept' not in _header_params:
|
|
767
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
768
|
+
[
|
|
769
|
+
'application/json',
|
|
770
|
+
'*/*'
|
|
771
|
+
]
|
|
772
|
+
)
|
|
773
|
+
|
|
774
|
+
|
|
775
|
+
# authentication setting
|
|
776
|
+
_auth_settings: List[str] = [
|
|
777
|
+
'JWT-Authentication',
|
|
778
|
+
'API-Key'
|
|
779
|
+
]
|
|
780
|
+
|
|
781
|
+
return self.api_client.param_serialize(
|
|
782
|
+
method='GET',
|
|
783
|
+
resource_path='/v{version}/quotes',
|
|
784
|
+
path_params=_path_params,
|
|
785
|
+
query_params=_query_params,
|
|
786
|
+
header_params=_header_params,
|
|
787
|
+
body=_body_params,
|
|
788
|
+
post_params=_form_params,
|
|
789
|
+
files=_files,
|
|
790
|
+
auth_settings=_auth_settings,
|
|
791
|
+
collection_formats=_collection_formats,
|
|
792
|
+
_host=_host,
|
|
793
|
+
_request_auth=_request_auth
|
|
794
|
+
)
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
|
|
799
|
+
@validate_call
|
|
800
|
+
def get_quotes_approval_requests(
|
|
801
|
+
self,
|
|
802
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
803
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
804
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The fields that should be expanded to have the full data along with the id.")] = None,
|
|
805
|
+
_request_timeout: Union[
|
|
806
|
+
None,
|
|
807
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
808
|
+
Tuple[
|
|
809
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
810
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
811
|
+
]
|
|
812
|
+
] = None,
|
|
813
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
814
|
+
_content_type: Optional[StrictStr] = None,
|
|
815
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
816
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
817
|
+
) -> GetQuotesList:
|
|
818
|
+
"""Get quotes that require approval review by the logged in user
|
|
819
|
+
|
|
820
|
+
Requires the QUOTE.VIEW permission.
|
|
821
|
+
|
|
822
|
+
:param version: version (required)
|
|
823
|
+
:type version: str
|
|
824
|
+
:param x_platform_id: Platform ID.
|
|
825
|
+
:type x_platform_id: str
|
|
826
|
+
:param expand: The fields that should be expanded to have the full data along with the id.
|
|
827
|
+
:type expand: List[str]
|
|
828
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
829
|
+
number provided, it will be total request
|
|
830
|
+
timeout. It can also be a pair (tuple) of
|
|
831
|
+
(connection, read) timeouts.
|
|
832
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
833
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
834
|
+
request; this effectively ignores the
|
|
835
|
+
authentication in the spec for a single request.
|
|
836
|
+
:type _request_auth: dict, optional
|
|
837
|
+
:param _content_type: force content-type for the request.
|
|
838
|
+
:type _content_type: str, Optional
|
|
839
|
+
:param _headers: set to override the headers for a single
|
|
840
|
+
request; this effectively ignores the headers
|
|
841
|
+
in the spec for a single request.
|
|
842
|
+
:type _headers: dict, optional
|
|
843
|
+
:param _host_index: set to override the host_index for a single
|
|
844
|
+
request; this effectively ignores the host_index
|
|
845
|
+
in the spec for a single request.
|
|
846
|
+
:type _host_index: int, optional
|
|
847
|
+
:return: Returns the result object.
|
|
848
|
+
""" # noqa: E501
|
|
849
|
+
|
|
850
|
+
_param = self._get_quotes_approval_requests_serialize(
|
|
851
|
+
version=version,
|
|
852
|
+
x_platform_id=x_platform_id,
|
|
853
|
+
expand=expand,
|
|
854
|
+
_request_auth=_request_auth,
|
|
855
|
+
_content_type=_content_type,
|
|
856
|
+
_headers=_headers,
|
|
857
|
+
_host_index=_host_index
|
|
858
|
+
)
|
|
859
|
+
|
|
860
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
861
|
+
'200': "GetQuotesList",
|
|
862
|
+
'400': "ApiError",
|
|
863
|
+
'401': "ApiError",
|
|
864
|
+
'403': "ApiError",
|
|
865
|
+
'500': "ApiError",
|
|
866
|
+
}
|
|
867
|
+
response_data = self.api_client.call_api(
|
|
868
|
+
*_param,
|
|
869
|
+
_request_timeout=_request_timeout
|
|
870
|
+
)
|
|
871
|
+
response_data.read()
|
|
872
|
+
return self.api_client.response_deserialize(
|
|
873
|
+
response_data=response_data,
|
|
874
|
+
response_types_map=_response_types_map,
|
|
875
|
+
).data
|
|
876
|
+
|
|
877
|
+
|
|
878
|
+
@validate_call
|
|
879
|
+
def get_quotes_approval_requests_with_http_info(
|
|
880
|
+
self,
|
|
881
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
882
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
883
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The fields that should be expanded to have the full data along with the id.")] = None,
|
|
884
|
+
_request_timeout: Union[
|
|
885
|
+
None,
|
|
886
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
887
|
+
Tuple[
|
|
888
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
889
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
890
|
+
]
|
|
891
|
+
] = None,
|
|
892
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
893
|
+
_content_type: Optional[StrictStr] = None,
|
|
894
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
895
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
896
|
+
) -> ApiResponse[GetQuotesList]:
|
|
897
|
+
"""Get quotes that require approval review by the logged in user
|
|
898
|
+
|
|
899
|
+
Requires the QUOTE.VIEW permission.
|
|
900
|
+
|
|
901
|
+
:param version: version (required)
|
|
902
|
+
:type version: str
|
|
903
|
+
:param x_platform_id: Platform ID.
|
|
904
|
+
:type x_platform_id: str
|
|
905
|
+
:param expand: The fields that should be expanded to have the full data along with the id.
|
|
906
|
+
:type expand: List[str]
|
|
907
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
908
|
+
number provided, it will be total request
|
|
909
|
+
timeout. It can also be a pair (tuple) of
|
|
910
|
+
(connection, read) timeouts.
|
|
911
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
912
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
913
|
+
request; this effectively ignores the
|
|
914
|
+
authentication in the spec for a single request.
|
|
915
|
+
:type _request_auth: dict, optional
|
|
916
|
+
:param _content_type: force content-type for the request.
|
|
917
|
+
:type _content_type: str, Optional
|
|
918
|
+
:param _headers: set to override the headers for a single
|
|
919
|
+
request; this effectively ignores the headers
|
|
920
|
+
in the spec for a single request.
|
|
921
|
+
:type _headers: dict, optional
|
|
922
|
+
:param _host_index: set to override the host_index for a single
|
|
923
|
+
request; this effectively ignores the host_index
|
|
924
|
+
in the spec for a single request.
|
|
925
|
+
:type _host_index: int, optional
|
|
926
|
+
:return: Returns the result object.
|
|
927
|
+
""" # noqa: E501
|
|
928
|
+
|
|
929
|
+
_param = self._get_quotes_approval_requests_serialize(
|
|
930
|
+
version=version,
|
|
931
|
+
x_platform_id=x_platform_id,
|
|
932
|
+
expand=expand,
|
|
933
|
+
_request_auth=_request_auth,
|
|
934
|
+
_content_type=_content_type,
|
|
935
|
+
_headers=_headers,
|
|
936
|
+
_host_index=_host_index
|
|
937
|
+
)
|
|
938
|
+
|
|
939
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
940
|
+
'200': "GetQuotesList",
|
|
941
|
+
'400': "ApiError",
|
|
942
|
+
'401': "ApiError",
|
|
943
|
+
'403': "ApiError",
|
|
944
|
+
'500': "ApiError",
|
|
945
|
+
}
|
|
946
|
+
response_data = self.api_client.call_api(
|
|
947
|
+
*_param,
|
|
948
|
+
_request_timeout=_request_timeout
|
|
949
|
+
)
|
|
950
|
+
response_data.read()
|
|
951
|
+
return self.api_client.response_deserialize(
|
|
952
|
+
response_data=response_data,
|
|
953
|
+
response_types_map=_response_types_map,
|
|
954
|
+
)
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
@validate_call
|
|
958
|
+
def get_quotes_approval_requests_without_preload_content(
|
|
959
|
+
self,
|
|
960
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
961
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
962
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The fields that should be expanded to have the full data along with the id.")] = None,
|
|
963
|
+
_request_timeout: Union[
|
|
964
|
+
None,
|
|
965
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
966
|
+
Tuple[
|
|
967
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
968
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
969
|
+
]
|
|
970
|
+
] = None,
|
|
971
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
972
|
+
_content_type: Optional[StrictStr] = None,
|
|
973
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
974
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
975
|
+
) -> RESTResponseType:
|
|
976
|
+
"""Get quotes that require approval review by the logged in user
|
|
977
|
+
|
|
978
|
+
Requires the QUOTE.VIEW permission.
|
|
979
|
+
|
|
980
|
+
:param version: version (required)
|
|
981
|
+
:type version: str
|
|
982
|
+
:param x_platform_id: Platform ID.
|
|
983
|
+
:type x_platform_id: str
|
|
984
|
+
:param expand: The fields that should be expanded to have the full data along with the id.
|
|
985
|
+
:type expand: List[str]
|
|
986
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
987
|
+
number provided, it will be total request
|
|
988
|
+
timeout. It can also be a pair (tuple) of
|
|
989
|
+
(connection, read) timeouts.
|
|
990
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
991
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
992
|
+
request; this effectively ignores the
|
|
993
|
+
authentication in the spec for a single request.
|
|
994
|
+
:type _request_auth: dict, optional
|
|
995
|
+
:param _content_type: force content-type for the request.
|
|
996
|
+
:type _content_type: str, Optional
|
|
997
|
+
:param _headers: set to override the headers for a single
|
|
998
|
+
request; this effectively ignores the headers
|
|
999
|
+
in the spec for a single request.
|
|
1000
|
+
:type _headers: dict, optional
|
|
1001
|
+
:param _host_index: set to override the host_index for a single
|
|
1002
|
+
request; this effectively ignores the host_index
|
|
1003
|
+
in the spec for a single request.
|
|
1004
|
+
:type _host_index: int, optional
|
|
1005
|
+
:return: Returns the result object.
|
|
1006
|
+
""" # noqa: E501
|
|
1007
|
+
|
|
1008
|
+
_param = self._get_quotes_approval_requests_serialize(
|
|
1009
|
+
version=version,
|
|
1010
|
+
x_platform_id=x_platform_id,
|
|
1011
|
+
expand=expand,
|
|
1012
|
+
_request_auth=_request_auth,
|
|
1013
|
+
_content_type=_content_type,
|
|
1014
|
+
_headers=_headers,
|
|
1015
|
+
_host_index=_host_index
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1019
|
+
'200': "GetQuotesList",
|
|
1020
|
+
'400': "ApiError",
|
|
1021
|
+
'401': "ApiError",
|
|
1022
|
+
'403': "ApiError",
|
|
1023
|
+
'500': "ApiError",
|
|
1024
|
+
}
|
|
1025
|
+
response_data = self.api_client.call_api(
|
|
1026
|
+
*_param,
|
|
1027
|
+
_request_timeout=_request_timeout
|
|
1028
|
+
)
|
|
1029
|
+
return response_data.response
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
def _get_quotes_approval_requests_serialize(
|
|
1033
|
+
self,
|
|
1034
|
+
version,
|
|
1035
|
+
x_platform_id,
|
|
1036
|
+
expand,
|
|
1037
|
+
_request_auth,
|
|
1038
|
+
_content_type,
|
|
1039
|
+
_headers,
|
|
1040
|
+
_host_index,
|
|
1041
|
+
) -> RequestSerialized:
|
|
1042
|
+
|
|
1043
|
+
_host = None
|
|
1044
|
+
|
|
1045
|
+
_collection_formats: Dict[str, str] = {
|
|
1046
|
+
'expand[]': 'multi',
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
_path_params: Dict[str, str] = {}
|
|
1050
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1051
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1052
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1053
|
+
_files: Dict[
|
|
1054
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1055
|
+
] = {}
|
|
1056
|
+
_body_params: Optional[bytes] = None
|
|
1057
|
+
|
|
1058
|
+
# process the path parameters
|
|
1059
|
+
if version is not None:
|
|
1060
|
+
_path_params['version'] = version
|
|
1061
|
+
# process the query parameters
|
|
1062
|
+
if expand is not None:
|
|
1063
|
+
|
|
1064
|
+
_query_params.append(('expand[]', expand))
|
|
1065
|
+
|
|
1066
|
+
# process the header parameters
|
|
1067
|
+
if x_platform_id is not None:
|
|
1068
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1069
|
+
# process the form parameters
|
|
1070
|
+
# process the body parameter
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
# set the HTTP header `Accept`
|
|
1074
|
+
if 'Accept' not in _header_params:
|
|
1075
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1076
|
+
[
|
|
1077
|
+
'application/json',
|
|
1078
|
+
'*/*'
|
|
1079
|
+
]
|
|
1080
|
+
)
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
# authentication setting
|
|
1084
|
+
_auth_settings: List[str] = [
|
|
1085
|
+
'JWT-Authentication',
|
|
1086
|
+
'API-Key'
|
|
1087
|
+
]
|
|
1088
|
+
|
|
1089
|
+
return self.api_client.param_serialize(
|
|
1090
|
+
method='GET',
|
|
1091
|
+
resource_path='/v{version}/quotes/approval-requests',
|
|
1092
|
+
path_params=_path_params,
|
|
1093
|
+
query_params=_query_params,
|
|
1094
|
+
header_params=_header_params,
|
|
1095
|
+
body=_body_params,
|
|
1096
|
+
post_params=_form_params,
|
|
1097
|
+
files=_files,
|
|
1098
|
+
auth_settings=_auth_settings,
|
|
1099
|
+
collection_formats=_collection_formats,
|
|
1100
|
+
_host=_host,
|
|
1101
|
+
_request_auth=_request_auth
|
|
1102
|
+
)
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
@validate_call
|
|
1108
|
+
def get_quotes_by_resource_id(
|
|
1109
|
+
self,
|
|
1110
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1111
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
1112
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1113
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = 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
|
+
) -> Quote:
|
|
1127
|
+
"""Get a quote by resource ID
|
|
1128
|
+
|
|
1129
|
+
Requires the QUOTE.VIEW permission.
|
|
1130
|
+
|
|
1131
|
+
:param version: version (required)
|
|
1132
|
+
:type version: str
|
|
1133
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
1134
|
+
:type resource_id: str
|
|
1135
|
+
:param x_platform_id: Platform ID.
|
|
1136
|
+
:type x_platform_id: str
|
|
1137
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
1138
|
+
:type expand: List[str]
|
|
1139
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1140
|
+
number provided, it will be total request
|
|
1141
|
+
timeout. It can also be a pair (tuple) of
|
|
1142
|
+
(connection, read) timeouts.
|
|
1143
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1144
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1145
|
+
request; this effectively ignores the
|
|
1146
|
+
authentication in the spec for a single request.
|
|
1147
|
+
:type _request_auth: dict, optional
|
|
1148
|
+
:param _content_type: force content-type for the request.
|
|
1149
|
+
:type _content_type: str, Optional
|
|
1150
|
+
:param _headers: set to override the headers for a single
|
|
1151
|
+
request; this effectively ignores the headers
|
|
1152
|
+
in the spec for a single request.
|
|
1153
|
+
:type _headers: dict, optional
|
|
1154
|
+
:param _host_index: set to override the host_index for a single
|
|
1155
|
+
request; this effectively ignores the host_index
|
|
1156
|
+
in the spec for a single request.
|
|
1157
|
+
:type _host_index: int, optional
|
|
1158
|
+
:return: Returns the result object.
|
|
1159
|
+
""" # noqa: E501
|
|
1160
|
+
|
|
1161
|
+
_param = self._get_quotes_by_resource_id_serialize(
|
|
1162
|
+
version=version,
|
|
1163
|
+
resource_id=resource_id,
|
|
1164
|
+
x_platform_id=x_platform_id,
|
|
1165
|
+
expand=expand,
|
|
1166
|
+
_request_auth=_request_auth,
|
|
1167
|
+
_content_type=_content_type,
|
|
1168
|
+
_headers=_headers,
|
|
1169
|
+
_host_index=_host_index
|
|
1170
|
+
)
|
|
1171
|
+
|
|
1172
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1173
|
+
'200': "Quote",
|
|
1174
|
+
'400': "ApiError",
|
|
1175
|
+
'401': "ApiError",
|
|
1176
|
+
'403': "ApiError",
|
|
1177
|
+
'404': "ApiError",
|
|
1178
|
+
'500': "ApiError",
|
|
1179
|
+
}
|
|
1180
|
+
response_data = self.api_client.call_api(
|
|
1181
|
+
*_param,
|
|
1182
|
+
_request_timeout=_request_timeout
|
|
1183
|
+
)
|
|
1184
|
+
response_data.read()
|
|
1185
|
+
return self.api_client.response_deserialize(
|
|
1186
|
+
response_data=response_data,
|
|
1187
|
+
response_types_map=_response_types_map,
|
|
1188
|
+
).data
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
@validate_call
|
|
1192
|
+
def get_quotes_by_resource_id_with_http_info(
|
|
1193
|
+
self,
|
|
1194
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1195
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
1196
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1197
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
1198
|
+
_request_timeout: Union[
|
|
1199
|
+
None,
|
|
1200
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1201
|
+
Tuple[
|
|
1202
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1203
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1204
|
+
]
|
|
1205
|
+
] = None,
|
|
1206
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1207
|
+
_content_type: Optional[StrictStr] = None,
|
|
1208
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1209
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1210
|
+
) -> ApiResponse[Quote]:
|
|
1211
|
+
"""Get a quote by resource ID
|
|
1212
|
+
|
|
1213
|
+
Requires the QUOTE.VIEW permission.
|
|
1214
|
+
|
|
1215
|
+
:param version: version (required)
|
|
1216
|
+
:type version: str
|
|
1217
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
1218
|
+
:type resource_id: str
|
|
1219
|
+
:param x_platform_id: Platform ID.
|
|
1220
|
+
:type x_platform_id: str
|
|
1221
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
1222
|
+
:type expand: List[str]
|
|
1223
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1224
|
+
number provided, it will be total request
|
|
1225
|
+
timeout. It can also be a pair (tuple) of
|
|
1226
|
+
(connection, read) timeouts.
|
|
1227
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1228
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1229
|
+
request; this effectively ignores the
|
|
1230
|
+
authentication in the spec for a single request.
|
|
1231
|
+
:type _request_auth: dict, optional
|
|
1232
|
+
:param _content_type: force content-type for the request.
|
|
1233
|
+
:type _content_type: str, Optional
|
|
1234
|
+
:param _headers: set to override the headers for a single
|
|
1235
|
+
request; this effectively ignores the headers
|
|
1236
|
+
in the spec for a single request.
|
|
1237
|
+
:type _headers: dict, optional
|
|
1238
|
+
:param _host_index: set to override the host_index for a single
|
|
1239
|
+
request; this effectively ignores the host_index
|
|
1240
|
+
in the spec for a single request.
|
|
1241
|
+
:type _host_index: int, optional
|
|
1242
|
+
:return: Returns the result object.
|
|
1243
|
+
""" # noqa: E501
|
|
1244
|
+
|
|
1245
|
+
_param = self._get_quotes_by_resource_id_serialize(
|
|
1246
|
+
version=version,
|
|
1247
|
+
resource_id=resource_id,
|
|
1248
|
+
x_platform_id=x_platform_id,
|
|
1249
|
+
expand=expand,
|
|
1250
|
+
_request_auth=_request_auth,
|
|
1251
|
+
_content_type=_content_type,
|
|
1252
|
+
_headers=_headers,
|
|
1253
|
+
_host_index=_host_index
|
|
1254
|
+
)
|
|
1255
|
+
|
|
1256
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1257
|
+
'200': "Quote",
|
|
1258
|
+
'400': "ApiError",
|
|
1259
|
+
'401': "ApiError",
|
|
1260
|
+
'403': "ApiError",
|
|
1261
|
+
'404': "ApiError",
|
|
1262
|
+
'500': "ApiError",
|
|
1263
|
+
}
|
|
1264
|
+
response_data = self.api_client.call_api(
|
|
1265
|
+
*_param,
|
|
1266
|
+
_request_timeout=_request_timeout
|
|
1267
|
+
)
|
|
1268
|
+
response_data.read()
|
|
1269
|
+
return self.api_client.response_deserialize(
|
|
1270
|
+
response_data=response_data,
|
|
1271
|
+
response_types_map=_response_types_map,
|
|
1272
|
+
)
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
@validate_call
|
|
1276
|
+
def get_quotes_by_resource_id_without_preload_content(
|
|
1277
|
+
self,
|
|
1278
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1279
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
1280
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1281
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
1282
|
+
_request_timeout: Union[
|
|
1283
|
+
None,
|
|
1284
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1285
|
+
Tuple[
|
|
1286
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1287
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1288
|
+
]
|
|
1289
|
+
] = None,
|
|
1290
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1291
|
+
_content_type: Optional[StrictStr] = None,
|
|
1292
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1293
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1294
|
+
) -> RESTResponseType:
|
|
1295
|
+
"""Get a quote by resource ID
|
|
1296
|
+
|
|
1297
|
+
Requires the QUOTE.VIEW permission.
|
|
1298
|
+
|
|
1299
|
+
:param version: version (required)
|
|
1300
|
+
:type version: str
|
|
1301
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
1302
|
+
:type resource_id: str
|
|
1303
|
+
:param x_platform_id: Platform ID.
|
|
1304
|
+
:type x_platform_id: str
|
|
1305
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
1306
|
+
:type expand: List[str]
|
|
1307
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1308
|
+
number provided, it will be total request
|
|
1309
|
+
timeout. It can also be a pair (tuple) of
|
|
1310
|
+
(connection, read) timeouts.
|
|
1311
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1312
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1313
|
+
request; this effectively ignores the
|
|
1314
|
+
authentication in the spec for a single request.
|
|
1315
|
+
:type _request_auth: dict, optional
|
|
1316
|
+
:param _content_type: force content-type for the request.
|
|
1317
|
+
:type _content_type: str, Optional
|
|
1318
|
+
:param _headers: set to override the headers for a single
|
|
1319
|
+
request; this effectively ignores the headers
|
|
1320
|
+
in the spec for a single request.
|
|
1321
|
+
:type _headers: dict, optional
|
|
1322
|
+
:param _host_index: set to override the host_index for a single
|
|
1323
|
+
request; this effectively ignores the host_index
|
|
1324
|
+
in the spec for a single request.
|
|
1325
|
+
:type _host_index: int, optional
|
|
1326
|
+
:return: Returns the result object.
|
|
1327
|
+
""" # noqa: E501
|
|
1328
|
+
|
|
1329
|
+
_param = self._get_quotes_by_resource_id_serialize(
|
|
1330
|
+
version=version,
|
|
1331
|
+
resource_id=resource_id,
|
|
1332
|
+
x_platform_id=x_platform_id,
|
|
1333
|
+
expand=expand,
|
|
1334
|
+
_request_auth=_request_auth,
|
|
1335
|
+
_content_type=_content_type,
|
|
1336
|
+
_headers=_headers,
|
|
1337
|
+
_host_index=_host_index
|
|
1338
|
+
)
|
|
1339
|
+
|
|
1340
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1341
|
+
'200': "Quote",
|
|
1342
|
+
'400': "ApiError",
|
|
1343
|
+
'401': "ApiError",
|
|
1344
|
+
'403': "ApiError",
|
|
1345
|
+
'404': "ApiError",
|
|
1346
|
+
'500': "ApiError",
|
|
1347
|
+
}
|
|
1348
|
+
response_data = self.api_client.call_api(
|
|
1349
|
+
*_param,
|
|
1350
|
+
_request_timeout=_request_timeout
|
|
1351
|
+
)
|
|
1352
|
+
return response_data.response
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
def _get_quotes_by_resource_id_serialize(
|
|
1356
|
+
self,
|
|
1357
|
+
version,
|
|
1358
|
+
resource_id,
|
|
1359
|
+
x_platform_id,
|
|
1360
|
+
expand,
|
|
1361
|
+
_request_auth,
|
|
1362
|
+
_content_type,
|
|
1363
|
+
_headers,
|
|
1364
|
+
_host_index,
|
|
1365
|
+
) -> RequestSerialized:
|
|
1366
|
+
|
|
1367
|
+
_host = None
|
|
1368
|
+
|
|
1369
|
+
_collection_formats: Dict[str, str] = {
|
|
1370
|
+
'expand[]': 'multi',
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
_path_params: Dict[str, str] = {}
|
|
1374
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1375
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1376
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1377
|
+
_files: Dict[
|
|
1378
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1379
|
+
] = {}
|
|
1380
|
+
_body_params: Optional[bytes] = None
|
|
1381
|
+
|
|
1382
|
+
# process the path parameters
|
|
1383
|
+
if version is not None:
|
|
1384
|
+
_path_params['version'] = version
|
|
1385
|
+
if resource_id is not None:
|
|
1386
|
+
_path_params['resourceId'] = resource_id
|
|
1387
|
+
# process the query parameters
|
|
1388
|
+
if expand is not None:
|
|
1389
|
+
|
|
1390
|
+
_query_params.append(('expand[]', expand))
|
|
1391
|
+
|
|
1392
|
+
# process the header parameters
|
|
1393
|
+
if x_platform_id is not None:
|
|
1394
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1395
|
+
# process the form parameters
|
|
1396
|
+
# process the body parameter
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
# set the HTTP header `Accept`
|
|
1400
|
+
if 'Accept' not in _header_params:
|
|
1401
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1402
|
+
[
|
|
1403
|
+
'application/json',
|
|
1404
|
+
'*/*'
|
|
1405
|
+
]
|
|
1406
|
+
)
|
|
1407
|
+
|
|
1408
|
+
|
|
1409
|
+
# authentication setting
|
|
1410
|
+
_auth_settings: List[str] = [
|
|
1411
|
+
'JWT-Authentication',
|
|
1412
|
+
'API-Key'
|
|
1413
|
+
]
|
|
1414
|
+
|
|
1415
|
+
return self.api_client.param_serialize(
|
|
1416
|
+
method='GET',
|
|
1417
|
+
resource_path='/v{version}/quotes/{resourceId}',
|
|
1418
|
+
path_params=_path_params,
|
|
1419
|
+
query_params=_query_params,
|
|
1420
|
+
header_params=_header_params,
|
|
1421
|
+
body=_body_params,
|
|
1422
|
+
post_params=_form_params,
|
|
1423
|
+
files=_files,
|
|
1424
|
+
auth_settings=_auth_settings,
|
|
1425
|
+
collection_formats=_collection_formats,
|
|
1426
|
+
_host=_host,
|
|
1427
|
+
_request_auth=_request_auth
|
|
1428
|
+
)
|
|
1429
|
+
|
|
1430
|
+
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
@validate_call
|
|
1434
|
+
def post_quotes(
|
|
1435
|
+
self,
|
|
1436
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1437
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1438
|
+
quote_create_request: Optional[QuoteCreateRequest] = None,
|
|
1439
|
+
_request_timeout: Union[
|
|
1440
|
+
None,
|
|
1441
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1442
|
+
Tuple[
|
|
1443
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1444
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1445
|
+
]
|
|
1446
|
+
] = None,
|
|
1447
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1448
|
+
_content_type: Optional[StrictStr] = None,
|
|
1449
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1450
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1451
|
+
) -> Quote:
|
|
1452
|
+
"""Create a quote
|
|
1453
|
+
|
|
1454
|
+
Requires the QUOTE.CREATE permission.
|
|
1455
|
+
|
|
1456
|
+
:param version: version (required)
|
|
1457
|
+
:type version: str
|
|
1458
|
+
:param x_platform_id: Platform ID.
|
|
1459
|
+
:type x_platform_id: str
|
|
1460
|
+
:param quote_create_request:
|
|
1461
|
+
:type quote_create_request: QuoteCreateRequest
|
|
1462
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1463
|
+
number provided, it will be total request
|
|
1464
|
+
timeout. It can also be a pair (tuple) of
|
|
1465
|
+
(connection, read) timeouts.
|
|
1466
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1467
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1468
|
+
request; this effectively ignores the
|
|
1469
|
+
authentication in the spec for a single request.
|
|
1470
|
+
:type _request_auth: dict, optional
|
|
1471
|
+
:param _content_type: force content-type for the request.
|
|
1472
|
+
:type _content_type: str, Optional
|
|
1473
|
+
:param _headers: set to override the headers for a single
|
|
1474
|
+
request; this effectively ignores the headers
|
|
1475
|
+
in the spec for a single request.
|
|
1476
|
+
:type _headers: dict, optional
|
|
1477
|
+
:param _host_index: set to override the host_index for a single
|
|
1478
|
+
request; this effectively ignores the host_index
|
|
1479
|
+
in the spec for a single request.
|
|
1480
|
+
:type _host_index: int, optional
|
|
1481
|
+
:return: Returns the result object.
|
|
1482
|
+
""" # noqa: E501
|
|
1483
|
+
|
|
1484
|
+
_param = self._post_quotes_serialize(
|
|
1485
|
+
version=version,
|
|
1486
|
+
x_platform_id=x_platform_id,
|
|
1487
|
+
quote_create_request=quote_create_request,
|
|
1488
|
+
_request_auth=_request_auth,
|
|
1489
|
+
_content_type=_content_type,
|
|
1490
|
+
_headers=_headers,
|
|
1491
|
+
_host_index=_host_index
|
|
1492
|
+
)
|
|
1493
|
+
|
|
1494
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1495
|
+
'201': "Quote",
|
|
1496
|
+
'400': "ApiError",
|
|
1497
|
+
'401': "ApiError",
|
|
1498
|
+
'403': "ApiError",
|
|
1499
|
+
'404': "ApiError",
|
|
1500
|
+
'500': "ApiError",
|
|
1501
|
+
}
|
|
1502
|
+
response_data = self.api_client.call_api(
|
|
1503
|
+
*_param,
|
|
1504
|
+
_request_timeout=_request_timeout
|
|
1505
|
+
)
|
|
1506
|
+
response_data.read()
|
|
1507
|
+
return self.api_client.response_deserialize(
|
|
1508
|
+
response_data=response_data,
|
|
1509
|
+
response_types_map=_response_types_map,
|
|
1510
|
+
).data
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
@validate_call
|
|
1514
|
+
def post_quotes_with_http_info(
|
|
1515
|
+
self,
|
|
1516
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1517
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1518
|
+
quote_create_request: Optional[QuoteCreateRequest] = None,
|
|
1519
|
+
_request_timeout: Union[
|
|
1520
|
+
None,
|
|
1521
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1522
|
+
Tuple[
|
|
1523
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1524
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1525
|
+
]
|
|
1526
|
+
] = None,
|
|
1527
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1528
|
+
_content_type: Optional[StrictStr] = None,
|
|
1529
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1530
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1531
|
+
) -> ApiResponse[Quote]:
|
|
1532
|
+
"""Create a quote
|
|
1533
|
+
|
|
1534
|
+
Requires the QUOTE.CREATE permission.
|
|
1535
|
+
|
|
1536
|
+
:param version: version (required)
|
|
1537
|
+
:type version: str
|
|
1538
|
+
:param x_platform_id: Platform ID.
|
|
1539
|
+
:type x_platform_id: str
|
|
1540
|
+
:param quote_create_request:
|
|
1541
|
+
:type quote_create_request: QuoteCreateRequest
|
|
1542
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1543
|
+
number provided, it will be total request
|
|
1544
|
+
timeout. It can also be a pair (tuple) of
|
|
1545
|
+
(connection, read) timeouts.
|
|
1546
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1547
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1548
|
+
request; this effectively ignores the
|
|
1549
|
+
authentication in the spec for a single request.
|
|
1550
|
+
:type _request_auth: dict, optional
|
|
1551
|
+
:param _content_type: force content-type for the request.
|
|
1552
|
+
:type _content_type: str, Optional
|
|
1553
|
+
:param _headers: set to override the headers for a single
|
|
1554
|
+
request; this effectively ignores the headers
|
|
1555
|
+
in the spec for a single request.
|
|
1556
|
+
:type _headers: dict, optional
|
|
1557
|
+
:param _host_index: set to override the host_index for a single
|
|
1558
|
+
request; this effectively ignores the host_index
|
|
1559
|
+
in the spec for a single request.
|
|
1560
|
+
:type _host_index: int, optional
|
|
1561
|
+
:return: Returns the result object.
|
|
1562
|
+
""" # noqa: E501
|
|
1563
|
+
|
|
1564
|
+
_param = self._post_quotes_serialize(
|
|
1565
|
+
version=version,
|
|
1566
|
+
x_platform_id=x_platform_id,
|
|
1567
|
+
quote_create_request=quote_create_request,
|
|
1568
|
+
_request_auth=_request_auth,
|
|
1569
|
+
_content_type=_content_type,
|
|
1570
|
+
_headers=_headers,
|
|
1571
|
+
_host_index=_host_index
|
|
1572
|
+
)
|
|
1573
|
+
|
|
1574
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1575
|
+
'201': "Quote",
|
|
1576
|
+
'400': "ApiError",
|
|
1577
|
+
'401': "ApiError",
|
|
1578
|
+
'403': "ApiError",
|
|
1579
|
+
'404': "ApiError",
|
|
1580
|
+
'500': "ApiError",
|
|
1581
|
+
}
|
|
1582
|
+
response_data = self.api_client.call_api(
|
|
1583
|
+
*_param,
|
|
1584
|
+
_request_timeout=_request_timeout
|
|
1585
|
+
)
|
|
1586
|
+
response_data.read()
|
|
1587
|
+
return self.api_client.response_deserialize(
|
|
1588
|
+
response_data=response_data,
|
|
1589
|
+
response_types_map=_response_types_map,
|
|
1590
|
+
)
|
|
1591
|
+
|
|
1592
|
+
|
|
1593
|
+
@validate_call
|
|
1594
|
+
def post_quotes_without_preload_content(
|
|
1595
|
+
self,
|
|
1596
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1597
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1598
|
+
quote_create_request: Optional[QuoteCreateRequest] = None,
|
|
1599
|
+
_request_timeout: Union[
|
|
1600
|
+
None,
|
|
1601
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1602
|
+
Tuple[
|
|
1603
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1604
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1605
|
+
]
|
|
1606
|
+
] = None,
|
|
1607
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1608
|
+
_content_type: Optional[StrictStr] = None,
|
|
1609
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1610
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1611
|
+
) -> RESTResponseType:
|
|
1612
|
+
"""Create a quote
|
|
1613
|
+
|
|
1614
|
+
Requires the QUOTE.CREATE permission.
|
|
1615
|
+
|
|
1616
|
+
:param version: version (required)
|
|
1617
|
+
:type version: str
|
|
1618
|
+
:param x_platform_id: Platform ID.
|
|
1619
|
+
:type x_platform_id: str
|
|
1620
|
+
:param quote_create_request:
|
|
1621
|
+
:type quote_create_request: QuoteCreateRequest
|
|
1622
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1623
|
+
number provided, it will be total request
|
|
1624
|
+
timeout. It can also be a pair (tuple) of
|
|
1625
|
+
(connection, read) timeouts.
|
|
1626
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1627
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1628
|
+
request; this effectively ignores the
|
|
1629
|
+
authentication in the spec for a single request.
|
|
1630
|
+
:type _request_auth: dict, optional
|
|
1631
|
+
:param _content_type: force content-type for the request.
|
|
1632
|
+
:type _content_type: str, Optional
|
|
1633
|
+
:param _headers: set to override the headers for a single
|
|
1634
|
+
request; this effectively ignores the headers
|
|
1635
|
+
in the spec for a single request.
|
|
1636
|
+
:type _headers: dict, optional
|
|
1637
|
+
:param _host_index: set to override the host_index for a single
|
|
1638
|
+
request; this effectively ignores the host_index
|
|
1639
|
+
in the spec for a single request.
|
|
1640
|
+
:type _host_index: int, optional
|
|
1641
|
+
:return: Returns the result object.
|
|
1642
|
+
""" # noqa: E501
|
|
1643
|
+
|
|
1644
|
+
_param = self._post_quotes_serialize(
|
|
1645
|
+
version=version,
|
|
1646
|
+
x_platform_id=x_platform_id,
|
|
1647
|
+
quote_create_request=quote_create_request,
|
|
1648
|
+
_request_auth=_request_auth,
|
|
1649
|
+
_content_type=_content_type,
|
|
1650
|
+
_headers=_headers,
|
|
1651
|
+
_host_index=_host_index
|
|
1652
|
+
)
|
|
1653
|
+
|
|
1654
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1655
|
+
'201': "Quote",
|
|
1656
|
+
'400': "ApiError",
|
|
1657
|
+
'401': "ApiError",
|
|
1658
|
+
'403': "ApiError",
|
|
1659
|
+
'404': "ApiError",
|
|
1660
|
+
'500': "ApiError",
|
|
1661
|
+
}
|
|
1662
|
+
response_data = self.api_client.call_api(
|
|
1663
|
+
*_param,
|
|
1664
|
+
_request_timeout=_request_timeout
|
|
1665
|
+
)
|
|
1666
|
+
return response_data.response
|
|
1667
|
+
|
|
1668
|
+
|
|
1669
|
+
def _post_quotes_serialize(
|
|
1670
|
+
self,
|
|
1671
|
+
version,
|
|
1672
|
+
x_platform_id,
|
|
1673
|
+
quote_create_request,
|
|
1674
|
+
_request_auth,
|
|
1675
|
+
_content_type,
|
|
1676
|
+
_headers,
|
|
1677
|
+
_host_index,
|
|
1678
|
+
) -> RequestSerialized:
|
|
1679
|
+
|
|
1680
|
+
_host = None
|
|
1681
|
+
|
|
1682
|
+
_collection_formats: Dict[str, str] = {
|
|
1683
|
+
}
|
|
1684
|
+
|
|
1685
|
+
_path_params: Dict[str, str] = {}
|
|
1686
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1687
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1688
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1689
|
+
_files: Dict[
|
|
1690
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1691
|
+
] = {}
|
|
1692
|
+
_body_params: Optional[bytes] = None
|
|
1693
|
+
|
|
1694
|
+
# process the path parameters
|
|
1695
|
+
if version is not None:
|
|
1696
|
+
_path_params['version'] = version
|
|
1697
|
+
# process the query parameters
|
|
1698
|
+
# process the header parameters
|
|
1699
|
+
if x_platform_id is not None:
|
|
1700
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1701
|
+
# process the form parameters
|
|
1702
|
+
# process the body parameter
|
|
1703
|
+
if quote_create_request is not None:
|
|
1704
|
+
_body_params = quote_create_request
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
# set the HTTP header `Accept`
|
|
1708
|
+
if 'Accept' not in _header_params:
|
|
1709
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1710
|
+
[
|
|
1711
|
+
'application/json',
|
|
1712
|
+
'*/*'
|
|
1713
|
+
]
|
|
1714
|
+
)
|
|
1715
|
+
|
|
1716
|
+
# set the HTTP header `Content-Type`
|
|
1717
|
+
if _content_type:
|
|
1718
|
+
_header_params['Content-Type'] = _content_type
|
|
1719
|
+
else:
|
|
1720
|
+
_default_content_type = (
|
|
1721
|
+
self.api_client.select_header_content_type(
|
|
1722
|
+
[
|
|
1723
|
+
'application/json'
|
|
1724
|
+
]
|
|
1725
|
+
)
|
|
1726
|
+
)
|
|
1727
|
+
if _default_content_type is not None:
|
|
1728
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1729
|
+
|
|
1730
|
+
# authentication setting
|
|
1731
|
+
_auth_settings: List[str] = [
|
|
1732
|
+
'JWT-Authentication',
|
|
1733
|
+
'API-Key'
|
|
1734
|
+
]
|
|
1735
|
+
|
|
1736
|
+
return self.api_client.param_serialize(
|
|
1737
|
+
method='POST',
|
|
1738
|
+
resource_path='/v{version}/quotes',
|
|
1739
|
+
path_params=_path_params,
|
|
1740
|
+
query_params=_query_params,
|
|
1741
|
+
header_params=_header_params,
|
|
1742
|
+
body=_body_params,
|
|
1743
|
+
post_params=_form_params,
|
|
1744
|
+
files=_files,
|
|
1745
|
+
auth_settings=_auth_settings,
|
|
1746
|
+
collection_formats=_collection_formats,
|
|
1747
|
+
_host=_host,
|
|
1748
|
+
_request_auth=_request_auth
|
|
1749
|
+
)
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
@validate_call
|
|
1755
|
+
def post_quotes_init(
|
|
1756
|
+
self,
|
|
1757
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1758
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1759
|
+
quote_init_action_create_request: Optional[QuoteInitActionCreateRequest] = None,
|
|
1760
|
+
_request_timeout: Union[
|
|
1761
|
+
None,
|
|
1762
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1763
|
+
Tuple[
|
|
1764
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1765
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1766
|
+
]
|
|
1767
|
+
] = None,
|
|
1768
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1769
|
+
_content_type: Optional[StrictStr] = None,
|
|
1770
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1771
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1772
|
+
) -> QuoteInitAction:
|
|
1773
|
+
"""Create a quote pricing plan subscription together with a pricing plan schedule
|
|
1774
|
+
|
|
1775
|
+
Requires the QUOTE.CREATE permission.
|
|
1776
|
+
|
|
1777
|
+
:param version: version (required)
|
|
1778
|
+
:type version: str
|
|
1779
|
+
:param x_platform_id: Platform ID.
|
|
1780
|
+
:type x_platform_id: str
|
|
1781
|
+
:param quote_init_action_create_request:
|
|
1782
|
+
:type quote_init_action_create_request: QuoteInitActionCreateRequest
|
|
1783
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1784
|
+
number provided, it will be total request
|
|
1785
|
+
timeout. It can also be a pair (tuple) of
|
|
1786
|
+
(connection, read) timeouts.
|
|
1787
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1788
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1789
|
+
request; this effectively ignores the
|
|
1790
|
+
authentication in the spec for a single request.
|
|
1791
|
+
:type _request_auth: dict, optional
|
|
1792
|
+
:param _content_type: force content-type for the request.
|
|
1793
|
+
:type _content_type: str, Optional
|
|
1794
|
+
:param _headers: set to override the headers for a single
|
|
1795
|
+
request; this effectively ignores the headers
|
|
1796
|
+
in the spec for a single request.
|
|
1797
|
+
:type _headers: dict, optional
|
|
1798
|
+
:param _host_index: set to override the host_index for a single
|
|
1799
|
+
request; this effectively ignores the host_index
|
|
1800
|
+
in the spec for a single request.
|
|
1801
|
+
:type _host_index: int, optional
|
|
1802
|
+
:return: Returns the result object.
|
|
1803
|
+
""" # noqa: E501
|
|
1804
|
+
|
|
1805
|
+
_param = self._post_quotes_init_serialize(
|
|
1806
|
+
version=version,
|
|
1807
|
+
x_platform_id=x_platform_id,
|
|
1808
|
+
quote_init_action_create_request=quote_init_action_create_request,
|
|
1809
|
+
_request_auth=_request_auth,
|
|
1810
|
+
_content_type=_content_type,
|
|
1811
|
+
_headers=_headers,
|
|
1812
|
+
_host_index=_host_index
|
|
1813
|
+
)
|
|
1814
|
+
|
|
1815
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1816
|
+
'201': "QuoteInitAction",
|
|
1817
|
+
'400': "ApiError",
|
|
1818
|
+
'401': "ApiError",
|
|
1819
|
+
'403': "ApiError",
|
|
1820
|
+
'404': "ApiError",
|
|
1821
|
+
'500': "ApiError",
|
|
1822
|
+
}
|
|
1823
|
+
response_data = self.api_client.call_api(
|
|
1824
|
+
*_param,
|
|
1825
|
+
_request_timeout=_request_timeout
|
|
1826
|
+
)
|
|
1827
|
+
response_data.read()
|
|
1828
|
+
return self.api_client.response_deserialize(
|
|
1829
|
+
response_data=response_data,
|
|
1830
|
+
response_types_map=_response_types_map,
|
|
1831
|
+
).data
|
|
1832
|
+
|
|
1833
|
+
|
|
1834
|
+
@validate_call
|
|
1835
|
+
def post_quotes_init_with_http_info(
|
|
1836
|
+
self,
|
|
1837
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1838
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1839
|
+
quote_init_action_create_request: Optional[QuoteInitActionCreateRequest] = None,
|
|
1840
|
+
_request_timeout: Union[
|
|
1841
|
+
None,
|
|
1842
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1843
|
+
Tuple[
|
|
1844
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1845
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1846
|
+
]
|
|
1847
|
+
] = None,
|
|
1848
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1849
|
+
_content_type: Optional[StrictStr] = None,
|
|
1850
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1851
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1852
|
+
) -> ApiResponse[QuoteInitAction]:
|
|
1853
|
+
"""Create a quote pricing plan subscription together with a pricing plan schedule
|
|
1854
|
+
|
|
1855
|
+
Requires the QUOTE.CREATE permission.
|
|
1856
|
+
|
|
1857
|
+
:param version: version (required)
|
|
1858
|
+
:type version: str
|
|
1859
|
+
:param x_platform_id: Platform ID.
|
|
1860
|
+
:type x_platform_id: str
|
|
1861
|
+
:param quote_init_action_create_request:
|
|
1862
|
+
:type quote_init_action_create_request: QuoteInitActionCreateRequest
|
|
1863
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1864
|
+
number provided, it will be total request
|
|
1865
|
+
timeout. It can also be a pair (tuple) of
|
|
1866
|
+
(connection, read) timeouts.
|
|
1867
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1868
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1869
|
+
request; this effectively ignores the
|
|
1870
|
+
authentication in the spec for a single request.
|
|
1871
|
+
:type _request_auth: dict, optional
|
|
1872
|
+
:param _content_type: force content-type for the request.
|
|
1873
|
+
:type _content_type: str, Optional
|
|
1874
|
+
:param _headers: set to override the headers for a single
|
|
1875
|
+
request; this effectively ignores the headers
|
|
1876
|
+
in the spec for a single request.
|
|
1877
|
+
:type _headers: dict, optional
|
|
1878
|
+
:param _host_index: set to override the host_index for a single
|
|
1879
|
+
request; this effectively ignores the host_index
|
|
1880
|
+
in the spec for a single request.
|
|
1881
|
+
:type _host_index: int, optional
|
|
1882
|
+
:return: Returns the result object.
|
|
1883
|
+
""" # noqa: E501
|
|
1884
|
+
|
|
1885
|
+
_param = self._post_quotes_init_serialize(
|
|
1886
|
+
version=version,
|
|
1887
|
+
x_platform_id=x_platform_id,
|
|
1888
|
+
quote_init_action_create_request=quote_init_action_create_request,
|
|
1889
|
+
_request_auth=_request_auth,
|
|
1890
|
+
_content_type=_content_type,
|
|
1891
|
+
_headers=_headers,
|
|
1892
|
+
_host_index=_host_index
|
|
1893
|
+
)
|
|
1894
|
+
|
|
1895
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1896
|
+
'201': "QuoteInitAction",
|
|
1897
|
+
'400': "ApiError",
|
|
1898
|
+
'401': "ApiError",
|
|
1899
|
+
'403': "ApiError",
|
|
1900
|
+
'404': "ApiError",
|
|
1901
|
+
'500': "ApiError",
|
|
1902
|
+
}
|
|
1903
|
+
response_data = self.api_client.call_api(
|
|
1904
|
+
*_param,
|
|
1905
|
+
_request_timeout=_request_timeout
|
|
1906
|
+
)
|
|
1907
|
+
response_data.read()
|
|
1908
|
+
return self.api_client.response_deserialize(
|
|
1909
|
+
response_data=response_data,
|
|
1910
|
+
response_types_map=_response_types_map,
|
|
1911
|
+
)
|
|
1912
|
+
|
|
1913
|
+
|
|
1914
|
+
@validate_call
|
|
1915
|
+
def post_quotes_init_without_preload_content(
|
|
1916
|
+
self,
|
|
1917
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1918
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1919
|
+
quote_init_action_create_request: Optional[QuoteInitActionCreateRequest] = None,
|
|
1920
|
+
_request_timeout: Union[
|
|
1921
|
+
None,
|
|
1922
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1923
|
+
Tuple[
|
|
1924
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1925
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1926
|
+
]
|
|
1927
|
+
] = None,
|
|
1928
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1929
|
+
_content_type: Optional[StrictStr] = None,
|
|
1930
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1931
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1932
|
+
) -> RESTResponseType:
|
|
1933
|
+
"""Create a quote pricing plan subscription together with a pricing plan schedule
|
|
1934
|
+
|
|
1935
|
+
Requires the QUOTE.CREATE permission.
|
|
1936
|
+
|
|
1937
|
+
:param version: version (required)
|
|
1938
|
+
:type version: str
|
|
1939
|
+
:param x_platform_id: Platform ID.
|
|
1940
|
+
:type x_platform_id: str
|
|
1941
|
+
:param quote_init_action_create_request:
|
|
1942
|
+
:type quote_init_action_create_request: QuoteInitActionCreateRequest
|
|
1943
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1944
|
+
number provided, it will be total request
|
|
1945
|
+
timeout. It can also be a pair (tuple) of
|
|
1946
|
+
(connection, read) timeouts.
|
|
1947
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1948
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1949
|
+
request; this effectively ignores the
|
|
1950
|
+
authentication in the spec for a single request.
|
|
1951
|
+
:type _request_auth: dict, optional
|
|
1952
|
+
:param _content_type: force content-type for the request.
|
|
1953
|
+
:type _content_type: str, Optional
|
|
1954
|
+
:param _headers: set to override the headers for a single
|
|
1955
|
+
request; this effectively ignores the headers
|
|
1956
|
+
in the spec for a single request.
|
|
1957
|
+
:type _headers: dict, optional
|
|
1958
|
+
:param _host_index: set to override the host_index for a single
|
|
1959
|
+
request; this effectively ignores the host_index
|
|
1960
|
+
in the spec for a single request.
|
|
1961
|
+
:type _host_index: int, optional
|
|
1962
|
+
:return: Returns the result object.
|
|
1963
|
+
""" # noqa: E501
|
|
1964
|
+
|
|
1965
|
+
_param = self._post_quotes_init_serialize(
|
|
1966
|
+
version=version,
|
|
1967
|
+
x_platform_id=x_platform_id,
|
|
1968
|
+
quote_init_action_create_request=quote_init_action_create_request,
|
|
1969
|
+
_request_auth=_request_auth,
|
|
1970
|
+
_content_type=_content_type,
|
|
1971
|
+
_headers=_headers,
|
|
1972
|
+
_host_index=_host_index
|
|
1973
|
+
)
|
|
1974
|
+
|
|
1975
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1976
|
+
'201': "QuoteInitAction",
|
|
1977
|
+
'400': "ApiError",
|
|
1978
|
+
'401': "ApiError",
|
|
1979
|
+
'403': "ApiError",
|
|
1980
|
+
'404': "ApiError",
|
|
1981
|
+
'500': "ApiError",
|
|
1982
|
+
}
|
|
1983
|
+
response_data = self.api_client.call_api(
|
|
1984
|
+
*_param,
|
|
1985
|
+
_request_timeout=_request_timeout
|
|
1986
|
+
)
|
|
1987
|
+
return response_data.response
|
|
1988
|
+
|
|
1989
|
+
|
|
1990
|
+
def _post_quotes_init_serialize(
|
|
1991
|
+
self,
|
|
1992
|
+
version,
|
|
1993
|
+
x_platform_id,
|
|
1994
|
+
quote_init_action_create_request,
|
|
1995
|
+
_request_auth,
|
|
1996
|
+
_content_type,
|
|
1997
|
+
_headers,
|
|
1998
|
+
_host_index,
|
|
1999
|
+
) -> RequestSerialized:
|
|
2000
|
+
|
|
2001
|
+
_host = None
|
|
2002
|
+
|
|
2003
|
+
_collection_formats: Dict[str, str] = {
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
_path_params: Dict[str, str] = {}
|
|
2007
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2008
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2009
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2010
|
+
_files: Dict[
|
|
2011
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2012
|
+
] = {}
|
|
2013
|
+
_body_params: Optional[bytes] = None
|
|
2014
|
+
|
|
2015
|
+
# process the path parameters
|
|
2016
|
+
if version is not None:
|
|
2017
|
+
_path_params['version'] = version
|
|
2018
|
+
# process the query parameters
|
|
2019
|
+
# process the header parameters
|
|
2020
|
+
if x_platform_id is not None:
|
|
2021
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2022
|
+
# process the form parameters
|
|
2023
|
+
# process the body parameter
|
|
2024
|
+
if quote_init_action_create_request is not None:
|
|
2025
|
+
_body_params = quote_init_action_create_request
|
|
2026
|
+
|
|
2027
|
+
|
|
2028
|
+
# set the HTTP header `Accept`
|
|
2029
|
+
if 'Accept' not in _header_params:
|
|
2030
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2031
|
+
[
|
|
2032
|
+
'application/json',
|
|
2033
|
+
'*/*'
|
|
2034
|
+
]
|
|
2035
|
+
)
|
|
2036
|
+
|
|
2037
|
+
# set the HTTP header `Content-Type`
|
|
2038
|
+
if _content_type:
|
|
2039
|
+
_header_params['Content-Type'] = _content_type
|
|
2040
|
+
else:
|
|
2041
|
+
_default_content_type = (
|
|
2042
|
+
self.api_client.select_header_content_type(
|
|
2043
|
+
[
|
|
2044
|
+
'application/json'
|
|
2045
|
+
]
|
|
2046
|
+
)
|
|
2047
|
+
)
|
|
2048
|
+
if _default_content_type is not None:
|
|
2049
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2050
|
+
|
|
2051
|
+
# authentication setting
|
|
2052
|
+
_auth_settings: List[str] = [
|
|
2053
|
+
'JWT-Authentication',
|
|
2054
|
+
'API-Key'
|
|
2055
|
+
]
|
|
2056
|
+
|
|
2057
|
+
return self.api_client.param_serialize(
|
|
2058
|
+
method='POST',
|
|
2059
|
+
resource_path='/v{version}/quotes/init',
|
|
2060
|
+
path_params=_path_params,
|
|
2061
|
+
query_params=_query_params,
|
|
2062
|
+
header_params=_header_params,
|
|
2063
|
+
body=_body_params,
|
|
2064
|
+
post_params=_form_params,
|
|
2065
|
+
files=_files,
|
|
2066
|
+
auth_settings=_auth_settings,
|
|
2067
|
+
collection_formats=_collection_formats,
|
|
2068
|
+
_host=_host,
|
|
2069
|
+
_request_auth=_request_auth
|
|
2070
|
+
)
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
|
|
2074
|
+
|
|
2075
|
+
@validate_call
|
|
2076
|
+
def post_quotes_upgrade(
|
|
2077
|
+
self,
|
|
2078
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2079
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2080
|
+
quote_upgrade_action_request_create_request: Optional[QuoteUpgradeActionRequestCreateRequest] = None,
|
|
2081
|
+
_request_timeout: Union[
|
|
2082
|
+
None,
|
|
2083
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2084
|
+
Tuple[
|
|
2085
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2086
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2087
|
+
]
|
|
2088
|
+
] = None,
|
|
2089
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2090
|
+
_content_type: Optional[StrictStr] = None,
|
|
2091
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2092
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2093
|
+
) -> QuoteUpgradeActionResponse:
|
|
2094
|
+
"""Create a quote based on an existing subscription together with a pricing plan schedule
|
|
2095
|
+
|
|
2096
|
+
Requires the QUOTE.CREATE permission.
|
|
2097
|
+
|
|
2098
|
+
:param version: version (required)
|
|
2099
|
+
:type version: str
|
|
2100
|
+
:param x_platform_id: Platform ID.
|
|
2101
|
+
:type x_platform_id: str
|
|
2102
|
+
:param quote_upgrade_action_request_create_request:
|
|
2103
|
+
:type quote_upgrade_action_request_create_request: QuoteUpgradeActionRequestCreateRequest
|
|
2104
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2105
|
+
number provided, it will be total request
|
|
2106
|
+
timeout. It can also be a pair (tuple) of
|
|
2107
|
+
(connection, read) timeouts.
|
|
2108
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2109
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2110
|
+
request; this effectively ignores the
|
|
2111
|
+
authentication in the spec for a single request.
|
|
2112
|
+
:type _request_auth: dict, optional
|
|
2113
|
+
:param _content_type: force content-type for the request.
|
|
2114
|
+
:type _content_type: str, Optional
|
|
2115
|
+
:param _headers: set to override the headers for a single
|
|
2116
|
+
request; this effectively ignores the headers
|
|
2117
|
+
in the spec for a single request.
|
|
2118
|
+
:type _headers: dict, optional
|
|
2119
|
+
:param _host_index: set to override the host_index for a single
|
|
2120
|
+
request; this effectively ignores the host_index
|
|
2121
|
+
in the spec for a single request.
|
|
2122
|
+
:type _host_index: int, optional
|
|
2123
|
+
:return: Returns the result object.
|
|
2124
|
+
""" # noqa: E501
|
|
2125
|
+
|
|
2126
|
+
_param = self._post_quotes_upgrade_serialize(
|
|
2127
|
+
version=version,
|
|
2128
|
+
x_platform_id=x_platform_id,
|
|
2129
|
+
quote_upgrade_action_request_create_request=quote_upgrade_action_request_create_request,
|
|
2130
|
+
_request_auth=_request_auth,
|
|
2131
|
+
_content_type=_content_type,
|
|
2132
|
+
_headers=_headers,
|
|
2133
|
+
_host_index=_host_index
|
|
2134
|
+
)
|
|
2135
|
+
|
|
2136
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2137
|
+
'201': "QuoteUpgradeActionResponse",
|
|
2138
|
+
'400': "ApiError",
|
|
2139
|
+
'401': "ApiError",
|
|
2140
|
+
'403': "ApiError",
|
|
2141
|
+
'404': "ApiError",
|
|
2142
|
+
'500': "ApiError",
|
|
2143
|
+
}
|
|
2144
|
+
response_data = self.api_client.call_api(
|
|
2145
|
+
*_param,
|
|
2146
|
+
_request_timeout=_request_timeout
|
|
2147
|
+
)
|
|
2148
|
+
response_data.read()
|
|
2149
|
+
return self.api_client.response_deserialize(
|
|
2150
|
+
response_data=response_data,
|
|
2151
|
+
response_types_map=_response_types_map,
|
|
2152
|
+
).data
|
|
2153
|
+
|
|
2154
|
+
|
|
2155
|
+
@validate_call
|
|
2156
|
+
def post_quotes_upgrade_with_http_info(
|
|
2157
|
+
self,
|
|
2158
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2159
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2160
|
+
quote_upgrade_action_request_create_request: Optional[QuoteUpgradeActionRequestCreateRequest] = None,
|
|
2161
|
+
_request_timeout: Union[
|
|
2162
|
+
None,
|
|
2163
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2164
|
+
Tuple[
|
|
2165
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2166
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2167
|
+
]
|
|
2168
|
+
] = None,
|
|
2169
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2170
|
+
_content_type: Optional[StrictStr] = None,
|
|
2171
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2172
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2173
|
+
) -> ApiResponse[QuoteUpgradeActionResponse]:
|
|
2174
|
+
"""Create a quote based on an existing subscription together with a pricing plan schedule
|
|
2175
|
+
|
|
2176
|
+
Requires the QUOTE.CREATE permission.
|
|
2177
|
+
|
|
2178
|
+
:param version: version (required)
|
|
2179
|
+
:type version: str
|
|
2180
|
+
:param x_platform_id: Platform ID.
|
|
2181
|
+
:type x_platform_id: str
|
|
2182
|
+
:param quote_upgrade_action_request_create_request:
|
|
2183
|
+
:type quote_upgrade_action_request_create_request: QuoteUpgradeActionRequestCreateRequest
|
|
2184
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2185
|
+
number provided, it will be total request
|
|
2186
|
+
timeout. It can also be a pair (tuple) of
|
|
2187
|
+
(connection, read) timeouts.
|
|
2188
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2189
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2190
|
+
request; this effectively ignores the
|
|
2191
|
+
authentication in the spec for a single request.
|
|
2192
|
+
:type _request_auth: dict, optional
|
|
2193
|
+
:param _content_type: force content-type for the request.
|
|
2194
|
+
:type _content_type: str, Optional
|
|
2195
|
+
:param _headers: set to override the headers for a single
|
|
2196
|
+
request; this effectively ignores the headers
|
|
2197
|
+
in the spec for a single request.
|
|
2198
|
+
:type _headers: dict, optional
|
|
2199
|
+
:param _host_index: set to override the host_index for a single
|
|
2200
|
+
request; this effectively ignores the host_index
|
|
2201
|
+
in the spec for a single request.
|
|
2202
|
+
:type _host_index: int, optional
|
|
2203
|
+
:return: Returns the result object.
|
|
2204
|
+
""" # noqa: E501
|
|
2205
|
+
|
|
2206
|
+
_param = self._post_quotes_upgrade_serialize(
|
|
2207
|
+
version=version,
|
|
2208
|
+
x_platform_id=x_platform_id,
|
|
2209
|
+
quote_upgrade_action_request_create_request=quote_upgrade_action_request_create_request,
|
|
2210
|
+
_request_auth=_request_auth,
|
|
2211
|
+
_content_type=_content_type,
|
|
2212
|
+
_headers=_headers,
|
|
2213
|
+
_host_index=_host_index
|
|
2214
|
+
)
|
|
2215
|
+
|
|
2216
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2217
|
+
'201': "QuoteUpgradeActionResponse",
|
|
2218
|
+
'400': "ApiError",
|
|
2219
|
+
'401': "ApiError",
|
|
2220
|
+
'403': "ApiError",
|
|
2221
|
+
'404': "ApiError",
|
|
2222
|
+
'500': "ApiError",
|
|
2223
|
+
}
|
|
2224
|
+
response_data = self.api_client.call_api(
|
|
2225
|
+
*_param,
|
|
2226
|
+
_request_timeout=_request_timeout
|
|
2227
|
+
)
|
|
2228
|
+
response_data.read()
|
|
2229
|
+
return self.api_client.response_deserialize(
|
|
2230
|
+
response_data=response_data,
|
|
2231
|
+
response_types_map=_response_types_map,
|
|
2232
|
+
)
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
@validate_call
|
|
2236
|
+
def post_quotes_upgrade_without_preload_content(
|
|
2237
|
+
self,
|
|
2238
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2239
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2240
|
+
quote_upgrade_action_request_create_request: Optional[QuoteUpgradeActionRequestCreateRequest] = None,
|
|
2241
|
+
_request_timeout: Union[
|
|
2242
|
+
None,
|
|
2243
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2244
|
+
Tuple[
|
|
2245
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2246
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2247
|
+
]
|
|
2248
|
+
] = None,
|
|
2249
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2250
|
+
_content_type: Optional[StrictStr] = None,
|
|
2251
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2252
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2253
|
+
) -> RESTResponseType:
|
|
2254
|
+
"""Create a quote based on an existing subscription together with a pricing plan schedule
|
|
2255
|
+
|
|
2256
|
+
Requires the QUOTE.CREATE permission.
|
|
2257
|
+
|
|
2258
|
+
:param version: version (required)
|
|
2259
|
+
:type version: str
|
|
2260
|
+
:param x_platform_id: Platform ID.
|
|
2261
|
+
:type x_platform_id: str
|
|
2262
|
+
:param quote_upgrade_action_request_create_request:
|
|
2263
|
+
:type quote_upgrade_action_request_create_request: QuoteUpgradeActionRequestCreateRequest
|
|
2264
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2265
|
+
number provided, it will be total request
|
|
2266
|
+
timeout. It can also be a pair (tuple) of
|
|
2267
|
+
(connection, read) timeouts.
|
|
2268
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2269
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2270
|
+
request; this effectively ignores the
|
|
2271
|
+
authentication in the spec for a single request.
|
|
2272
|
+
:type _request_auth: dict, optional
|
|
2273
|
+
:param _content_type: force content-type for the request.
|
|
2274
|
+
:type _content_type: str, Optional
|
|
2275
|
+
:param _headers: set to override the headers for a single
|
|
2276
|
+
request; this effectively ignores the headers
|
|
2277
|
+
in the spec for a single request.
|
|
2278
|
+
:type _headers: dict, optional
|
|
2279
|
+
:param _host_index: set to override the host_index for a single
|
|
2280
|
+
request; this effectively ignores the host_index
|
|
2281
|
+
in the spec for a single request.
|
|
2282
|
+
:type _host_index: int, optional
|
|
2283
|
+
:return: Returns the result object.
|
|
2284
|
+
""" # noqa: E501
|
|
2285
|
+
|
|
2286
|
+
_param = self._post_quotes_upgrade_serialize(
|
|
2287
|
+
version=version,
|
|
2288
|
+
x_platform_id=x_platform_id,
|
|
2289
|
+
quote_upgrade_action_request_create_request=quote_upgrade_action_request_create_request,
|
|
2290
|
+
_request_auth=_request_auth,
|
|
2291
|
+
_content_type=_content_type,
|
|
2292
|
+
_headers=_headers,
|
|
2293
|
+
_host_index=_host_index
|
|
2294
|
+
)
|
|
2295
|
+
|
|
2296
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2297
|
+
'201': "QuoteUpgradeActionResponse",
|
|
2298
|
+
'400': "ApiError",
|
|
2299
|
+
'401': "ApiError",
|
|
2300
|
+
'403': "ApiError",
|
|
2301
|
+
'404': "ApiError",
|
|
2302
|
+
'500': "ApiError",
|
|
2303
|
+
}
|
|
2304
|
+
response_data = self.api_client.call_api(
|
|
2305
|
+
*_param,
|
|
2306
|
+
_request_timeout=_request_timeout
|
|
2307
|
+
)
|
|
2308
|
+
return response_data.response
|
|
2309
|
+
|
|
2310
|
+
|
|
2311
|
+
def _post_quotes_upgrade_serialize(
|
|
2312
|
+
self,
|
|
2313
|
+
version,
|
|
2314
|
+
x_platform_id,
|
|
2315
|
+
quote_upgrade_action_request_create_request,
|
|
2316
|
+
_request_auth,
|
|
2317
|
+
_content_type,
|
|
2318
|
+
_headers,
|
|
2319
|
+
_host_index,
|
|
2320
|
+
) -> RequestSerialized:
|
|
2321
|
+
|
|
2322
|
+
_host = None
|
|
2323
|
+
|
|
2324
|
+
_collection_formats: Dict[str, str] = {
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
_path_params: Dict[str, str] = {}
|
|
2328
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2329
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2330
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2331
|
+
_files: Dict[
|
|
2332
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2333
|
+
] = {}
|
|
2334
|
+
_body_params: Optional[bytes] = None
|
|
2335
|
+
|
|
2336
|
+
# process the path parameters
|
|
2337
|
+
if version is not None:
|
|
2338
|
+
_path_params['version'] = version
|
|
2339
|
+
# process the query parameters
|
|
2340
|
+
# process the header parameters
|
|
2341
|
+
if x_platform_id is not None:
|
|
2342
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2343
|
+
# process the form parameters
|
|
2344
|
+
# process the body parameter
|
|
2345
|
+
if quote_upgrade_action_request_create_request is not None:
|
|
2346
|
+
_body_params = quote_upgrade_action_request_create_request
|
|
2347
|
+
|
|
2348
|
+
|
|
2349
|
+
# set the HTTP header `Accept`
|
|
2350
|
+
if 'Accept' not in _header_params:
|
|
2351
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2352
|
+
[
|
|
2353
|
+
'application/json',
|
|
2354
|
+
'*/*'
|
|
2355
|
+
]
|
|
2356
|
+
)
|
|
2357
|
+
|
|
2358
|
+
# set the HTTP header `Content-Type`
|
|
2359
|
+
if _content_type:
|
|
2360
|
+
_header_params['Content-Type'] = _content_type
|
|
2361
|
+
else:
|
|
2362
|
+
_default_content_type = (
|
|
2363
|
+
self.api_client.select_header_content_type(
|
|
2364
|
+
[
|
|
2365
|
+
'application/json'
|
|
2366
|
+
]
|
|
2367
|
+
)
|
|
2368
|
+
)
|
|
2369
|
+
if _default_content_type is not None:
|
|
2370
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2371
|
+
|
|
2372
|
+
# authentication setting
|
|
2373
|
+
_auth_settings: List[str] = [
|
|
2374
|
+
'JWT-Authentication',
|
|
2375
|
+
'API-Key'
|
|
2376
|
+
]
|
|
2377
|
+
|
|
2378
|
+
return self.api_client.param_serialize(
|
|
2379
|
+
method='POST',
|
|
2380
|
+
resource_path='/v{version}/quotes/upgrade',
|
|
2381
|
+
path_params=_path_params,
|
|
2382
|
+
query_params=_query_params,
|
|
2383
|
+
header_params=_header_params,
|
|
2384
|
+
body=_body_params,
|
|
2385
|
+
post_params=_form_params,
|
|
2386
|
+
files=_files,
|
|
2387
|
+
auth_settings=_auth_settings,
|
|
2388
|
+
collection_formats=_collection_formats,
|
|
2389
|
+
_host=_host,
|
|
2390
|
+
_request_auth=_request_auth
|
|
2391
|
+
)
|
|
2392
|
+
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
|
|
2396
|
+
@validate_call
|
|
2397
|
+
def update_quotes_by_resource_id(
|
|
2398
|
+
self,
|
|
2399
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2400
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2401
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2402
|
+
field_actions: Annotated[Optional[Dict[str, Dict[str, StrictStr]]], Field(description="The list of actions for specific fields.")] = None,
|
|
2403
|
+
quote_update_request: Optional[QuoteUpdateRequest] = None,
|
|
2404
|
+
_request_timeout: Union[
|
|
2405
|
+
None,
|
|
2406
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2407
|
+
Tuple[
|
|
2408
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2409
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2410
|
+
]
|
|
2411
|
+
] = None,
|
|
2412
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2413
|
+
_content_type: Optional[StrictStr] = None,
|
|
2414
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2415
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2416
|
+
) -> Quote:
|
|
2417
|
+
"""Update a quote
|
|
2418
|
+
|
|
2419
|
+
Requires the QUOTE.UPDATE permission.
|
|
2420
|
+
|
|
2421
|
+
:param version: version (required)
|
|
2422
|
+
:type version: str
|
|
2423
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2424
|
+
:type resource_id: str
|
|
2425
|
+
:param x_platform_id: Platform ID.
|
|
2426
|
+
:type x_platform_id: str
|
|
2427
|
+
:param field_actions: The list of actions for specific fields.
|
|
2428
|
+
:type field_actions: Dict[str, str]
|
|
2429
|
+
:param quote_update_request:
|
|
2430
|
+
:type quote_update_request: QuoteUpdateRequest
|
|
2431
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2432
|
+
number provided, it will be total request
|
|
2433
|
+
timeout. It can also be a pair (tuple) of
|
|
2434
|
+
(connection, read) timeouts.
|
|
2435
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2436
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2437
|
+
request; this effectively ignores the
|
|
2438
|
+
authentication in the spec for a single request.
|
|
2439
|
+
:type _request_auth: dict, optional
|
|
2440
|
+
:param _content_type: force content-type for the request.
|
|
2441
|
+
:type _content_type: str, Optional
|
|
2442
|
+
:param _headers: set to override the headers for a single
|
|
2443
|
+
request; this effectively ignores the headers
|
|
2444
|
+
in the spec for a single request.
|
|
2445
|
+
:type _headers: dict, optional
|
|
2446
|
+
:param _host_index: set to override the host_index for a single
|
|
2447
|
+
request; this effectively ignores the host_index
|
|
2448
|
+
in the spec for a single request.
|
|
2449
|
+
:type _host_index: int, optional
|
|
2450
|
+
:return: Returns the result object.
|
|
2451
|
+
""" # noqa: E501
|
|
2452
|
+
|
|
2453
|
+
_param = self._update_quotes_by_resource_id_serialize(
|
|
2454
|
+
version=version,
|
|
2455
|
+
resource_id=resource_id,
|
|
2456
|
+
x_platform_id=x_platform_id,
|
|
2457
|
+
field_actions=field_actions,
|
|
2458
|
+
quote_update_request=quote_update_request,
|
|
2459
|
+
_request_auth=_request_auth,
|
|
2460
|
+
_content_type=_content_type,
|
|
2461
|
+
_headers=_headers,
|
|
2462
|
+
_host_index=_host_index
|
|
2463
|
+
)
|
|
2464
|
+
|
|
2465
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2466
|
+
'200': "Quote",
|
|
2467
|
+
'400': "ApiError",
|
|
2468
|
+
'401': "ApiError",
|
|
2469
|
+
'403': "ApiError",
|
|
2470
|
+
'500': "ApiError",
|
|
2471
|
+
}
|
|
2472
|
+
response_data = self.api_client.call_api(
|
|
2473
|
+
*_param,
|
|
2474
|
+
_request_timeout=_request_timeout
|
|
2475
|
+
)
|
|
2476
|
+
response_data.read()
|
|
2477
|
+
return self.api_client.response_deserialize(
|
|
2478
|
+
response_data=response_data,
|
|
2479
|
+
response_types_map=_response_types_map,
|
|
2480
|
+
).data
|
|
2481
|
+
|
|
2482
|
+
|
|
2483
|
+
@validate_call
|
|
2484
|
+
def update_quotes_by_resource_id_with_http_info(
|
|
2485
|
+
self,
|
|
2486
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2487
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2488
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2489
|
+
field_actions: Annotated[Optional[Dict[str, Dict[str, StrictStr]]], Field(description="The list of actions for specific fields.")] = None,
|
|
2490
|
+
quote_update_request: Optional[QuoteUpdateRequest] = None,
|
|
2491
|
+
_request_timeout: Union[
|
|
2492
|
+
None,
|
|
2493
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2494
|
+
Tuple[
|
|
2495
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2496
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2497
|
+
]
|
|
2498
|
+
] = None,
|
|
2499
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2500
|
+
_content_type: Optional[StrictStr] = None,
|
|
2501
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2502
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2503
|
+
) -> ApiResponse[Quote]:
|
|
2504
|
+
"""Update a quote
|
|
2505
|
+
|
|
2506
|
+
Requires the QUOTE.UPDATE permission.
|
|
2507
|
+
|
|
2508
|
+
:param version: version (required)
|
|
2509
|
+
:type version: str
|
|
2510
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2511
|
+
:type resource_id: str
|
|
2512
|
+
:param x_platform_id: Platform ID.
|
|
2513
|
+
:type x_platform_id: str
|
|
2514
|
+
:param field_actions: The list of actions for specific fields.
|
|
2515
|
+
:type field_actions: Dict[str, str]
|
|
2516
|
+
:param quote_update_request:
|
|
2517
|
+
:type quote_update_request: QuoteUpdateRequest
|
|
2518
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2519
|
+
number provided, it will be total request
|
|
2520
|
+
timeout. It can also be a pair (tuple) of
|
|
2521
|
+
(connection, read) timeouts.
|
|
2522
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2523
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2524
|
+
request; this effectively ignores the
|
|
2525
|
+
authentication in the spec for a single request.
|
|
2526
|
+
:type _request_auth: dict, optional
|
|
2527
|
+
:param _content_type: force content-type for the request.
|
|
2528
|
+
:type _content_type: str, Optional
|
|
2529
|
+
:param _headers: set to override the headers for a single
|
|
2530
|
+
request; this effectively ignores the headers
|
|
2531
|
+
in the spec for a single request.
|
|
2532
|
+
:type _headers: dict, optional
|
|
2533
|
+
:param _host_index: set to override the host_index for a single
|
|
2534
|
+
request; this effectively ignores the host_index
|
|
2535
|
+
in the spec for a single request.
|
|
2536
|
+
:type _host_index: int, optional
|
|
2537
|
+
:return: Returns the result object.
|
|
2538
|
+
""" # noqa: E501
|
|
2539
|
+
|
|
2540
|
+
_param = self._update_quotes_by_resource_id_serialize(
|
|
2541
|
+
version=version,
|
|
2542
|
+
resource_id=resource_id,
|
|
2543
|
+
x_platform_id=x_platform_id,
|
|
2544
|
+
field_actions=field_actions,
|
|
2545
|
+
quote_update_request=quote_update_request,
|
|
2546
|
+
_request_auth=_request_auth,
|
|
2547
|
+
_content_type=_content_type,
|
|
2548
|
+
_headers=_headers,
|
|
2549
|
+
_host_index=_host_index
|
|
2550
|
+
)
|
|
2551
|
+
|
|
2552
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2553
|
+
'200': "Quote",
|
|
2554
|
+
'400': "ApiError",
|
|
2555
|
+
'401': "ApiError",
|
|
2556
|
+
'403': "ApiError",
|
|
2557
|
+
'500': "ApiError",
|
|
2558
|
+
}
|
|
2559
|
+
response_data = self.api_client.call_api(
|
|
2560
|
+
*_param,
|
|
2561
|
+
_request_timeout=_request_timeout
|
|
2562
|
+
)
|
|
2563
|
+
response_data.read()
|
|
2564
|
+
return self.api_client.response_deserialize(
|
|
2565
|
+
response_data=response_data,
|
|
2566
|
+
response_types_map=_response_types_map,
|
|
2567
|
+
)
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
@validate_call
|
|
2571
|
+
def update_quotes_by_resource_id_without_preload_content(
|
|
2572
|
+
self,
|
|
2573
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2574
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2575
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2576
|
+
field_actions: Annotated[Optional[Dict[str, Dict[str, StrictStr]]], Field(description="The list of actions for specific fields.")] = None,
|
|
2577
|
+
quote_update_request: Optional[QuoteUpdateRequest] = None,
|
|
2578
|
+
_request_timeout: Union[
|
|
2579
|
+
None,
|
|
2580
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2581
|
+
Tuple[
|
|
2582
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2583
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2584
|
+
]
|
|
2585
|
+
] = None,
|
|
2586
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2587
|
+
_content_type: Optional[StrictStr] = None,
|
|
2588
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2589
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2590
|
+
) -> RESTResponseType:
|
|
2591
|
+
"""Update a quote
|
|
2592
|
+
|
|
2593
|
+
Requires the QUOTE.UPDATE permission.
|
|
2594
|
+
|
|
2595
|
+
:param version: version (required)
|
|
2596
|
+
:type version: str
|
|
2597
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2598
|
+
:type resource_id: str
|
|
2599
|
+
:param x_platform_id: Platform ID.
|
|
2600
|
+
:type x_platform_id: str
|
|
2601
|
+
:param field_actions: The list of actions for specific fields.
|
|
2602
|
+
:type field_actions: Dict[str, str]
|
|
2603
|
+
:param quote_update_request:
|
|
2604
|
+
:type quote_update_request: QuoteUpdateRequest
|
|
2605
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2606
|
+
number provided, it will be total request
|
|
2607
|
+
timeout. It can also be a pair (tuple) of
|
|
2608
|
+
(connection, read) timeouts.
|
|
2609
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2610
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2611
|
+
request; this effectively ignores the
|
|
2612
|
+
authentication in the spec for a single request.
|
|
2613
|
+
:type _request_auth: dict, optional
|
|
2614
|
+
:param _content_type: force content-type for the request.
|
|
2615
|
+
:type _content_type: str, Optional
|
|
2616
|
+
:param _headers: set to override the headers for a single
|
|
2617
|
+
request; this effectively ignores the headers
|
|
2618
|
+
in the spec for a single request.
|
|
2619
|
+
:type _headers: dict, optional
|
|
2620
|
+
:param _host_index: set to override the host_index for a single
|
|
2621
|
+
request; this effectively ignores the host_index
|
|
2622
|
+
in the spec for a single request.
|
|
2623
|
+
:type _host_index: int, optional
|
|
2624
|
+
:return: Returns the result object.
|
|
2625
|
+
""" # noqa: E501
|
|
2626
|
+
|
|
2627
|
+
_param = self._update_quotes_by_resource_id_serialize(
|
|
2628
|
+
version=version,
|
|
2629
|
+
resource_id=resource_id,
|
|
2630
|
+
x_platform_id=x_platform_id,
|
|
2631
|
+
field_actions=field_actions,
|
|
2632
|
+
quote_update_request=quote_update_request,
|
|
2633
|
+
_request_auth=_request_auth,
|
|
2634
|
+
_content_type=_content_type,
|
|
2635
|
+
_headers=_headers,
|
|
2636
|
+
_host_index=_host_index
|
|
2637
|
+
)
|
|
2638
|
+
|
|
2639
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2640
|
+
'200': "Quote",
|
|
2641
|
+
'400': "ApiError",
|
|
2642
|
+
'401': "ApiError",
|
|
2643
|
+
'403': "ApiError",
|
|
2644
|
+
'500': "ApiError",
|
|
2645
|
+
}
|
|
2646
|
+
response_data = self.api_client.call_api(
|
|
2647
|
+
*_param,
|
|
2648
|
+
_request_timeout=_request_timeout
|
|
2649
|
+
)
|
|
2650
|
+
return response_data.response
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
def _update_quotes_by_resource_id_serialize(
|
|
2654
|
+
self,
|
|
2655
|
+
version,
|
|
2656
|
+
resource_id,
|
|
2657
|
+
x_platform_id,
|
|
2658
|
+
field_actions,
|
|
2659
|
+
quote_update_request,
|
|
2660
|
+
_request_auth,
|
|
2661
|
+
_content_type,
|
|
2662
|
+
_headers,
|
|
2663
|
+
_host_index,
|
|
2664
|
+
) -> RequestSerialized:
|
|
2665
|
+
|
|
2666
|
+
_host = None
|
|
2667
|
+
|
|
2668
|
+
_collection_formats: Dict[str, str] = {
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
_path_params: Dict[str, str] = {}
|
|
2672
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2673
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2674
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2675
|
+
_files: Dict[
|
|
2676
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2677
|
+
] = {}
|
|
2678
|
+
_body_params: Optional[bytes] = None
|
|
2679
|
+
|
|
2680
|
+
# process the path parameters
|
|
2681
|
+
if version is not None:
|
|
2682
|
+
_path_params['version'] = version
|
|
2683
|
+
if resource_id is not None:
|
|
2684
|
+
_path_params['resourceId'] = resource_id
|
|
2685
|
+
# process the query parameters
|
|
2686
|
+
if field_actions is not None:
|
|
2687
|
+
|
|
2688
|
+
_query_params.append(('field_actions', field_actions))
|
|
2689
|
+
|
|
2690
|
+
# process the header parameters
|
|
2691
|
+
if x_platform_id is not None:
|
|
2692
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2693
|
+
# process the form parameters
|
|
2694
|
+
# process the body parameter
|
|
2695
|
+
if quote_update_request is not None:
|
|
2696
|
+
_body_params = quote_update_request
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
# set the HTTP header `Accept`
|
|
2700
|
+
if 'Accept' not in _header_params:
|
|
2701
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2702
|
+
[
|
|
2703
|
+
'application/json',
|
|
2704
|
+
'*/*'
|
|
2705
|
+
]
|
|
2706
|
+
)
|
|
2707
|
+
|
|
2708
|
+
# set the HTTP header `Content-Type`
|
|
2709
|
+
if _content_type:
|
|
2710
|
+
_header_params['Content-Type'] = _content_type
|
|
2711
|
+
else:
|
|
2712
|
+
_default_content_type = (
|
|
2713
|
+
self.api_client.select_header_content_type(
|
|
2714
|
+
[
|
|
2715
|
+
'application/json'
|
|
2716
|
+
]
|
|
2717
|
+
)
|
|
2718
|
+
)
|
|
2719
|
+
if _default_content_type is not None:
|
|
2720
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2721
|
+
|
|
2722
|
+
# authentication setting
|
|
2723
|
+
_auth_settings: List[str] = [
|
|
2724
|
+
'JWT-Authentication',
|
|
2725
|
+
'API-Key'
|
|
2726
|
+
]
|
|
2727
|
+
|
|
2728
|
+
return self.api_client.param_serialize(
|
|
2729
|
+
method='PATCH',
|
|
2730
|
+
resource_path='/v{version}/quotes/{resourceId}',
|
|
2731
|
+
path_params=_path_params,
|
|
2732
|
+
query_params=_query_params,
|
|
2733
|
+
header_params=_header_params,
|
|
2734
|
+
body=_body_params,
|
|
2735
|
+
post_params=_form_params,
|
|
2736
|
+
files=_files,
|
|
2737
|
+
auth_settings=_auth_settings,
|
|
2738
|
+
collection_formats=_collection_formats,
|
|
2739
|
+
_host=_host,
|
|
2740
|
+
_request_auth=_request_auth
|
|
2741
|
+
)
|
|
2742
|
+
|
|
2743
|
+
|