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