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,3507 @@
|
|
|
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, StrictBool, StrictStr
|
|
20
|
+
from typing import List, Optional
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from solvimon_python_sdk.models.on_demand_pricing_items_response import OnDemandPricingItemsResponse
|
|
23
|
+
from solvimon_python_sdk.models.pricing_plan_schedule import PricingPlanSchedule
|
|
24
|
+
from solvimon_python_sdk.models.pricing_plan_schedule_copy_create_request import PricingPlanScheduleCopyCreateRequest
|
|
25
|
+
from solvimon_python_sdk.models.pricing_plan_schedule_create_request import PricingPlanScheduleCreateRequest
|
|
26
|
+
from solvimon_python_sdk.models.pricing_plan_schedule_migrate_create_request import PricingPlanScheduleMigrateCreateRequest
|
|
27
|
+
from solvimon_python_sdk.models.pricing_plan_schedule_response_wrapper import PricingPlanScheduleResponseWrapper
|
|
28
|
+
from solvimon_python_sdk.models.pricing_plan_schedule_update_request import PricingPlanScheduleUpdateRequest
|
|
29
|
+
|
|
30
|
+
from solvimon_python_sdk.api_client import ApiClient, RequestSerialized
|
|
31
|
+
from solvimon_python_sdk.api_response import ApiResponse
|
|
32
|
+
from solvimon_python_sdk.rest import RESTResponseType
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class PricingPlanSchedulesApi:
|
|
36
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
37
|
+
Ref: https://openapi-generator.tech
|
|
38
|
+
|
|
39
|
+
Do not edit the class manually.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
def __init__(self, api_client=None) -> None:
|
|
43
|
+
if api_client is None:
|
|
44
|
+
api_client = ApiClient.get_default()
|
|
45
|
+
self.api_client = api_client
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@validate_call
|
|
49
|
+
def delete_pricing_plan_schedules_by_resource_id(
|
|
50
|
+
self,
|
|
51
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
52
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
53
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
54
|
+
_request_timeout: Union[
|
|
55
|
+
None,
|
|
56
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
+
Tuple[
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
60
|
+
]
|
|
61
|
+
] = None,
|
|
62
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
+
_content_type: Optional[StrictStr] = None,
|
|
64
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
66
|
+
) -> PricingPlanSchedule:
|
|
67
|
+
"""Delete a pricingPlanSchedule by resource ID
|
|
68
|
+
|
|
69
|
+
Requires the PRICING_PLAN_SCHEDULE.DELETE permission.
|
|
70
|
+
|
|
71
|
+
:param version: version (required)
|
|
72
|
+
:type version: str
|
|
73
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
74
|
+
:type resource_id: str
|
|
75
|
+
:param x_platform_id: Platform ID.
|
|
76
|
+
:type x_platform_id: str
|
|
77
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
78
|
+
number provided, it will be total request
|
|
79
|
+
timeout. It can also be a pair (tuple) of
|
|
80
|
+
(connection, read) timeouts.
|
|
81
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
82
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
83
|
+
request; this effectively ignores the
|
|
84
|
+
authentication in the spec for a single request.
|
|
85
|
+
:type _request_auth: dict, optional
|
|
86
|
+
:param _content_type: force content-type for the request.
|
|
87
|
+
:type _content_type: str, Optional
|
|
88
|
+
:param _headers: set to override the headers for a single
|
|
89
|
+
request; this effectively ignores the headers
|
|
90
|
+
in the spec for a single request.
|
|
91
|
+
:type _headers: dict, optional
|
|
92
|
+
:param _host_index: set to override the host_index for a single
|
|
93
|
+
request; this effectively ignores the host_index
|
|
94
|
+
in the spec for a single request.
|
|
95
|
+
:type _host_index: int, optional
|
|
96
|
+
:return: Returns the result object.
|
|
97
|
+
""" # noqa: E501
|
|
98
|
+
|
|
99
|
+
_param = self._delete_pricing_plan_schedules_by_resource_id_serialize(
|
|
100
|
+
version=version,
|
|
101
|
+
resource_id=resource_id,
|
|
102
|
+
x_platform_id=x_platform_id,
|
|
103
|
+
_request_auth=_request_auth,
|
|
104
|
+
_content_type=_content_type,
|
|
105
|
+
_headers=_headers,
|
|
106
|
+
_host_index=_host_index
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
110
|
+
'200': "PricingPlanSchedule",
|
|
111
|
+
'400': "ApiError",
|
|
112
|
+
'401': "ApiError",
|
|
113
|
+
'403': "ApiError",
|
|
114
|
+
'500': "ApiError",
|
|
115
|
+
}
|
|
116
|
+
response_data = self.api_client.call_api(
|
|
117
|
+
*_param,
|
|
118
|
+
_request_timeout=_request_timeout
|
|
119
|
+
)
|
|
120
|
+
response_data.read()
|
|
121
|
+
return self.api_client.response_deserialize(
|
|
122
|
+
response_data=response_data,
|
|
123
|
+
response_types_map=_response_types_map,
|
|
124
|
+
).data
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
@validate_call
|
|
128
|
+
def delete_pricing_plan_schedules_by_resource_id_with_http_info(
|
|
129
|
+
self,
|
|
130
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
131
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
132
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
133
|
+
_request_timeout: Union[
|
|
134
|
+
None,
|
|
135
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
136
|
+
Tuple[
|
|
137
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
138
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
139
|
+
]
|
|
140
|
+
] = None,
|
|
141
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
142
|
+
_content_type: Optional[StrictStr] = None,
|
|
143
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
144
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
145
|
+
) -> ApiResponse[PricingPlanSchedule]:
|
|
146
|
+
"""Delete a pricingPlanSchedule by resource ID
|
|
147
|
+
|
|
148
|
+
Requires the PRICING_PLAN_SCHEDULE.DELETE permission.
|
|
149
|
+
|
|
150
|
+
:param version: version (required)
|
|
151
|
+
:type version: str
|
|
152
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
153
|
+
:type resource_id: str
|
|
154
|
+
:param x_platform_id: Platform ID.
|
|
155
|
+
:type x_platform_id: str
|
|
156
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
157
|
+
number provided, it will be total request
|
|
158
|
+
timeout. It can also be a pair (tuple) of
|
|
159
|
+
(connection, read) timeouts.
|
|
160
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
161
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
162
|
+
request; this effectively ignores the
|
|
163
|
+
authentication in the spec for a single request.
|
|
164
|
+
:type _request_auth: dict, optional
|
|
165
|
+
:param _content_type: force content-type for the request.
|
|
166
|
+
:type _content_type: str, Optional
|
|
167
|
+
:param _headers: set to override the headers for a single
|
|
168
|
+
request; this effectively ignores the headers
|
|
169
|
+
in the spec for a single request.
|
|
170
|
+
:type _headers: dict, optional
|
|
171
|
+
:param _host_index: set to override the host_index for a single
|
|
172
|
+
request; this effectively ignores the host_index
|
|
173
|
+
in the spec for a single request.
|
|
174
|
+
:type _host_index: int, optional
|
|
175
|
+
:return: Returns the result object.
|
|
176
|
+
""" # noqa: E501
|
|
177
|
+
|
|
178
|
+
_param = self._delete_pricing_plan_schedules_by_resource_id_serialize(
|
|
179
|
+
version=version,
|
|
180
|
+
resource_id=resource_id,
|
|
181
|
+
x_platform_id=x_platform_id,
|
|
182
|
+
_request_auth=_request_auth,
|
|
183
|
+
_content_type=_content_type,
|
|
184
|
+
_headers=_headers,
|
|
185
|
+
_host_index=_host_index
|
|
186
|
+
)
|
|
187
|
+
|
|
188
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
189
|
+
'200': "PricingPlanSchedule",
|
|
190
|
+
'400': "ApiError",
|
|
191
|
+
'401': "ApiError",
|
|
192
|
+
'403': "ApiError",
|
|
193
|
+
'500': "ApiError",
|
|
194
|
+
}
|
|
195
|
+
response_data = self.api_client.call_api(
|
|
196
|
+
*_param,
|
|
197
|
+
_request_timeout=_request_timeout
|
|
198
|
+
)
|
|
199
|
+
response_data.read()
|
|
200
|
+
return self.api_client.response_deserialize(
|
|
201
|
+
response_data=response_data,
|
|
202
|
+
response_types_map=_response_types_map,
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
@validate_call
|
|
207
|
+
def delete_pricing_plan_schedules_by_resource_id_without_preload_content(
|
|
208
|
+
self,
|
|
209
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
210
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
211
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
212
|
+
_request_timeout: Union[
|
|
213
|
+
None,
|
|
214
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
215
|
+
Tuple[
|
|
216
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
217
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
218
|
+
]
|
|
219
|
+
] = None,
|
|
220
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
221
|
+
_content_type: Optional[StrictStr] = None,
|
|
222
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
223
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
224
|
+
) -> RESTResponseType:
|
|
225
|
+
"""Delete a pricingPlanSchedule by resource ID
|
|
226
|
+
|
|
227
|
+
Requires the PRICING_PLAN_SCHEDULE.DELETE permission.
|
|
228
|
+
|
|
229
|
+
:param version: version (required)
|
|
230
|
+
:type version: str
|
|
231
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
232
|
+
:type resource_id: str
|
|
233
|
+
:param x_platform_id: Platform ID.
|
|
234
|
+
:type x_platform_id: str
|
|
235
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
236
|
+
number provided, it will be total request
|
|
237
|
+
timeout. It can also be a pair (tuple) of
|
|
238
|
+
(connection, read) timeouts.
|
|
239
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
240
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
241
|
+
request; this effectively ignores the
|
|
242
|
+
authentication in the spec for a single request.
|
|
243
|
+
:type _request_auth: dict, optional
|
|
244
|
+
:param _content_type: force content-type for the request.
|
|
245
|
+
:type _content_type: str, Optional
|
|
246
|
+
:param _headers: set to override the headers for a single
|
|
247
|
+
request; this effectively ignores the headers
|
|
248
|
+
in the spec for a single request.
|
|
249
|
+
:type _headers: dict, optional
|
|
250
|
+
:param _host_index: set to override the host_index for a single
|
|
251
|
+
request; this effectively ignores the host_index
|
|
252
|
+
in the spec for a single request.
|
|
253
|
+
:type _host_index: int, optional
|
|
254
|
+
:return: Returns the result object.
|
|
255
|
+
""" # noqa: E501
|
|
256
|
+
|
|
257
|
+
_param = self._delete_pricing_plan_schedules_by_resource_id_serialize(
|
|
258
|
+
version=version,
|
|
259
|
+
resource_id=resource_id,
|
|
260
|
+
x_platform_id=x_platform_id,
|
|
261
|
+
_request_auth=_request_auth,
|
|
262
|
+
_content_type=_content_type,
|
|
263
|
+
_headers=_headers,
|
|
264
|
+
_host_index=_host_index
|
|
265
|
+
)
|
|
266
|
+
|
|
267
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
268
|
+
'200': "PricingPlanSchedule",
|
|
269
|
+
'400': "ApiError",
|
|
270
|
+
'401': "ApiError",
|
|
271
|
+
'403': "ApiError",
|
|
272
|
+
'500': "ApiError",
|
|
273
|
+
}
|
|
274
|
+
response_data = self.api_client.call_api(
|
|
275
|
+
*_param,
|
|
276
|
+
_request_timeout=_request_timeout
|
|
277
|
+
)
|
|
278
|
+
return response_data.response
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
def _delete_pricing_plan_schedules_by_resource_id_serialize(
|
|
282
|
+
self,
|
|
283
|
+
version,
|
|
284
|
+
resource_id,
|
|
285
|
+
x_platform_id,
|
|
286
|
+
_request_auth,
|
|
287
|
+
_content_type,
|
|
288
|
+
_headers,
|
|
289
|
+
_host_index,
|
|
290
|
+
) -> RequestSerialized:
|
|
291
|
+
|
|
292
|
+
_host = None
|
|
293
|
+
|
|
294
|
+
_collection_formats: Dict[str, str] = {
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
_path_params: Dict[str, str] = {}
|
|
298
|
+
_query_params: List[Tuple[str, str]] = []
|
|
299
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
300
|
+
_form_params: List[Tuple[str, str]] = []
|
|
301
|
+
_files: Dict[
|
|
302
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
303
|
+
] = {}
|
|
304
|
+
_body_params: Optional[bytes] = None
|
|
305
|
+
|
|
306
|
+
# process the path parameters
|
|
307
|
+
if version is not None:
|
|
308
|
+
_path_params['version'] = version
|
|
309
|
+
if resource_id is not None:
|
|
310
|
+
_path_params['resourceId'] = resource_id
|
|
311
|
+
# process the query parameters
|
|
312
|
+
# process the header parameters
|
|
313
|
+
if x_platform_id is not None:
|
|
314
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
315
|
+
# process the form parameters
|
|
316
|
+
# process the body parameter
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
# set the HTTP header `Accept`
|
|
320
|
+
if 'Accept' not in _header_params:
|
|
321
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
322
|
+
[
|
|
323
|
+
'application/json',
|
|
324
|
+
'*/*'
|
|
325
|
+
]
|
|
326
|
+
)
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
# authentication setting
|
|
330
|
+
_auth_settings: List[str] = [
|
|
331
|
+
'JWT-Authentication',
|
|
332
|
+
'API-Key'
|
|
333
|
+
]
|
|
334
|
+
|
|
335
|
+
return self.api_client.param_serialize(
|
|
336
|
+
method='DELETE',
|
|
337
|
+
resource_path='/v{version}/pricing-plan-schedules/{resourceId}',
|
|
338
|
+
path_params=_path_params,
|
|
339
|
+
query_params=_query_params,
|
|
340
|
+
header_params=_header_params,
|
|
341
|
+
body=_body_params,
|
|
342
|
+
post_params=_form_params,
|
|
343
|
+
files=_files,
|
|
344
|
+
auth_settings=_auth_settings,
|
|
345
|
+
collection_formats=_collection_formats,
|
|
346
|
+
_host=_host,
|
|
347
|
+
_request_auth=_request_auth
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
@validate_call
|
|
354
|
+
def get_pricing_plan_schedules(
|
|
355
|
+
self,
|
|
356
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
357
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
358
|
+
pricing_plan_subscription_id: Annotated[Optional[StrictStr], Field(description="The resource id of the pricingPlanSubscription.")] = None,
|
|
359
|
+
status: Annotated[Optional[StrictStr], Field(description="The status of the pricing plan schedule.")] = None,
|
|
360
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
361
|
+
_request_timeout: Union[
|
|
362
|
+
None,
|
|
363
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
364
|
+
Tuple[
|
|
365
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
366
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
367
|
+
]
|
|
368
|
+
] = None,
|
|
369
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
370
|
+
_content_type: Optional[StrictStr] = None,
|
|
371
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
372
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
373
|
+
) -> PricingPlanScheduleResponseWrapper:
|
|
374
|
+
"""Get a list of PricingPlanSchedules for provided filters
|
|
375
|
+
|
|
376
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
377
|
+
|
|
378
|
+
:param version: version (required)
|
|
379
|
+
:type version: str
|
|
380
|
+
:param x_platform_id: Platform ID.
|
|
381
|
+
:type x_platform_id: str
|
|
382
|
+
:param pricing_plan_subscription_id: The resource id of the pricingPlanSubscription.
|
|
383
|
+
:type pricing_plan_subscription_id: str
|
|
384
|
+
:param status: The status of the pricing plan schedule.
|
|
385
|
+
:type status: str
|
|
386
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
387
|
+
:type expand: List[str]
|
|
388
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
389
|
+
number provided, it will be total request
|
|
390
|
+
timeout. It can also be a pair (tuple) of
|
|
391
|
+
(connection, read) timeouts.
|
|
392
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
393
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
394
|
+
request; this effectively ignores the
|
|
395
|
+
authentication in the spec for a single request.
|
|
396
|
+
:type _request_auth: dict, optional
|
|
397
|
+
:param _content_type: force content-type for the request.
|
|
398
|
+
:type _content_type: str, Optional
|
|
399
|
+
:param _headers: set to override the headers for a single
|
|
400
|
+
request; this effectively ignores the headers
|
|
401
|
+
in the spec for a single request.
|
|
402
|
+
:type _headers: dict, optional
|
|
403
|
+
:param _host_index: set to override the host_index for a single
|
|
404
|
+
request; this effectively ignores the host_index
|
|
405
|
+
in the spec for a single request.
|
|
406
|
+
:type _host_index: int, optional
|
|
407
|
+
:return: Returns the result object.
|
|
408
|
+
""" # noqa: E501
|
|
409
|
+
|
|
410
|
+
_param = self._get_pricing_plan_schedules_serialize(
|
|
411
|
+
version=version,
|
|
412
|
+
x_platform_id=x_platform_id,
|
|
413
|
+
pricing_plan_subscription_id=pricing_plan_subscription_id,
|
|
414
|
+
status=status,
|
|
415
|
+
expand=expand,
|
|
416
|
+
_request_auth=_request_auth,
|
|
417
|
+
_content_type=_content_type,
|
|
418
|
+
_headers=_headers,
|
|
419
|
+
_host_index=_host_index
|
|
420
|
+
)
|
|
421
|
+
|
|
422
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
423
|
+
'200': "PricingPlanScheduleResponseWrapper",
|
|
424
|
+
'400': "ApiError",
|
|
425
|
+
'401': "ApiError",
|
|
426
|
+
'403': "ApiError",
|
|
427
|
+
'500': "ApiError",
|
|
428
|
+
}
|
|
429
|
+
response_data = self.api_client.call_api(
|
|
430
|
+
*_param,
|
|
431
|
+
_request_timeout=_request_timeout
|
|
432
|
+
)
|
|
433
|
+
response_data.read()
|
|
434
|
+
return self.api_client.response_deserialize(
|
|
435
|
+
response_data=response_data,
|
|
436
|
+
response_types_map=_response_types_map,
|
|
437
|
+
).data
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
@validate_call
|
|
441
|
+
def get_pricing_plan_schedules_with_http_info(
|
|
442
|
+
self,
|
|
443
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
444
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
445
|
+
pricing_plan_subscription_id: Annotated[Optional[StrictStr], Field(description="The resource id of the pricingPlanSubscription.")] = None,
|
|
446
|
+
status: Annotated[Optional[StrictStr], Field(description="The status of the pricing plan schedule.")] = None,
|
|
447
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
448
|
+
_request_timeout: Union[
|
|
449
|
+
None,
|
|
450
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
451
|
+
Tuple[
|
|
452
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
453
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
454
|
+
]
|
|
455
|
+
] = None,
|
|
456
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
457
|
+
_content_type: Optional[StrictStr] = None,
|
|
458
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
459
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
460
|
+
) -> ApiResponse[PricingPlanScheduleResponseWrapper]:
|
|
461
|
+
"""Get a list of PricingPlanSchedules for provided filters
|
|
462
|
+
|
|
463
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
464
|
+
|
|
465
|
+
:param version: version (required)
|
|
466
|
+
:type version: str
|
|
467
|
+
:param x_platform_id: Platform ID.
|
|
468
|
+
:type x_platform_id: str
|
|
469
|
+
:param pricing_plan_subscription_id: The resource id of the pricingPlanSubscription.
|
|
470
|
+
:type pricing_plan_subscription_id: str
|
|
471
|
+
:param status: The status of the pricing plan schedule.
|
|
472
|
+
:type status: str
|
|
473
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
474
|
+
:type expand: List[str]
|
|
475
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
476
|
+
number provided, it will be total request
|
|
477
|
+
timeout. It can also be a pair (tuple) of
|
|
478
|
+
(connection, read) timeouts.
|
|
479
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
480
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
481
|
+
request; this effectively ignores the
|
|
482
|
+
authentication in the spec for a single request.
|
|
483
|
+
:type _request_auth: dict, optional
|
|
484
|
+
:param _content_type: force content-type for the request.
|
|
485
|
+
:type _content_type: str, Optional
|
|
486
|
+
:param _headers: set to override the headers for a single
|
|
487
|
+
request; this effectively ignores the headers
|
|
488
|
+
in the spec for a single request.
|
|
489
|
+
:type _headers: dict, optional
|
|
490
|
+
:param _host_index: set to override the host_index for a single
|
|
491
|
+
request; this effectively ignores the host_index
|
|
492
|
+
in the spec for a single request.
|
|
493
|
+
:type _host_index: int, optional
|
|
494
|
+
:return: Returns the result object.
|
|
495
|
+
""" # noqa: E501
|
|
496
|
+
|
|
497
|
+
_param = self._get_pricing_plan_schedules_serialize(
|
|
498
|
+
version=version,
|
|
499
|
+
x_platform_id=x_platform_id,
|
|
500
|
+
pricing_plan_subscription_id=pricing_plan_subscription_id,
|
|
501
|
+
status=status,
|
|
502
|
+
expand=expand,
|
|
503
|
+
_request_auth=_request_auth,
|
|
504
|
+
_content_type=_content_type,
|
|
505
|
+
_headers=_headers,
|
|
506
|
+
_host_index=_host_index
|
|
507
|
+
)
|
|
508
|
+
|
|
509
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
510
|
+
'200': "PricingPlanScheduleResponseWrapper",
|
|
511
|
+
'400': "ApiError",
|
|
512
|
+
'401': "ApiError",
|
|
513
|
+
'403': "ApiError",
|
|
514
|
+
'500': "ApiError",
|
|
515
|
+
}
|
|
516
|
+
response_data = self.api_client.call_api(
|
|
517
|
+
*_param,
|
|
518
|
+
_request_timeout=_request_timeout
|
|
519
|
+
)
|
|
520
|
+
response_data.read()
|
|
521
|
+
return self.api_client.response_deserialize(
|
|
522
|
+
response_data=response_data,
|
|
523
|
+
response_types_map=_response_types_map,
|
|
524
|
+
)
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
@validate_call
|
|
528
|
+
def get_pricing_plan_schedules_without_preload_content(
|
|
529
|
+
self,
|
|
530
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
531
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
532
|
+
pricing_plan_subscription_id: Annotated[Optional[StrictStr], Field(description="The resource id of the pricingPlanSubscription.")] = None,
|
|
533
|
+
status: Annotated[Optional[StrictStr], Field(description="The status of the pricing plan schedule.")] = None,
|
|
534
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
535
|
+
_request_timeout: Union[
|
|
536
|
+
None,
|
|
537
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
538
|
+
Tuple[
|
|
539
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
540
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
541
|
+
]
|
|
542
|
+
] = None,
|
|
543
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
544
|
+
_content_type: Optional[StrictStr] = None,
|
|
545
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
546
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
547
|
+
) -> RESTResponseType:
|
|
548
|
+
"""Get a list of PricingPlanSchedules for provided filters
|
|
549
|
+
|
|
550
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
551
|
+
|
|
552
|
+
:param version: version (required)
|
|
553
|
+
:type version: str
|
|
554
|
+
:param x_platform_id: Platform ID.
|
|
555
|
+
:type x_platform_id: str
|
|
556
|
+
:param pricing_plan_subscription_id: The resource id of the pricingPlanSubscription.
|
|
557
|
+
:type pricing_plan_subscription_id: str
|
|
558
|
+
:param status: The status of the pricing plan schedule.
|
|
559
|
+
:type status: str
|
|
560
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
561
|
+
:type expand: List[str]
|
|
562
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
563
|
+
number provided, it will be total request
|
|
564
|
+
timeout. It can also be a pair (tuple) of
|
|
565
|
+
(connection, read) timeouts.
|
|
566
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
567
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
568
|
+
request; this effectively ignores the
|
|
569
|
+
authentication in the spec for a single request.
|
|
570
|
+
:type _request_auth: dict, optional
|
|
571
|
+
:param _content_type: force content-type for the request.
|
|
572
|
+
:type _content_type: str, Optional
|
|
573
|
+
:param _headers: set to override the headers for a single
|
|
574
|
+
request; this effectively ignores the headers
|
|
575
|
+
in the spec for a single request.
|
|
576
|
+
:type _headers: dict, optional
|
|
577
|
+
:param _host_index: set to override the host_index for a single
|
|
578
|
+
request; this effectively ignores the host_index
|
|
579
|
+
in the spec for a single request.
|
|
580
|
+
:type _host_index: int, optional
|
|
581
|
+
:return: Returns the result object.
|
|
582
|
+
""" # noqa: E501
|
|
583
|
+
|
|
584
|
+
_param = self._get_pricing_plan_schedules_serialize(
|
|
585
|
+
version=version,
|
|
586
|
+
x_platform_id=x_platform_id,
|
|
587
|
+
pricing_plan_subscription_id=pricing_plan_subscription_id,
|
|
588
|
+
status=status,
|
|
589
|
+
expand=expand,
|
|
590
|
+
_request_auth=_request_auth,
|
|
591
|
+
_content_type=_content_type,
|
|
592
|
+
_headers=_headers,
|
|
593
|
+
_host_index=_host_index
|
|
594
|
+
)
|
|
595
|
+
|
|
596
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
597
|
+
'200': "PricingPlanScheduleResponseWrapper",
|
|
598
|
+
'400': "ApiError",
|
|
599
|
+
'401': "ApiError",
|
|
600
|
+
'403': "ApiError",
|
|
601
|
+
'500': "ApiError",
|
|
602
|
+
}
|
|
603
|
+
response_data = self.api_client.call_api(
|
|
604
|
+
*_param,
|
|
605
|
+
_request_timeout=_request_timeout
|
|
606
|
+
)
|
|
607
|
+
return response_data.response
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
def _get_pricing_plan_schedules_serialize(
|
|
611
|
+
self,
|
|
612
|
+
version,
|
|
613
|
+
x_platform_id,
|
|
614
|
+
pricing_plan_subscription_id,
|
|
615
|
+
status,
|
|
616
|
+
expand,
|
|
617
|
+
_request_auth,
|
|
618
|
+
_content_type,
|
|
619
|
+
_headers,
|
|
620
|
+
_host_index,
|
|
621
|
+
) -> RequestSerialized:
|
|
622
|
+
|
|
623
|
+
_host = None
|
|
624
|
+
|
|
625
|
+
_collection_formats: Dict[str, str] = {
|
|
626
|
+
'expand[]': 'multi',
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
_path_params: Dict[str, str] = {}
|
|
630
|
+
_query_params: List[Tuple[str, str]] = []
|
|
631
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
632
|
+
_form_params: List[Tuple[str, str]] = []
|
|
633
|
+
_files: Dict[
|
|
634
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
635
|
+
] = {}
|
|
636
|
+
_body_params: Optional[bytes] = None
|
|
637
|
+
|
|
638
|
+
# process the path parameters
|
|
639
|
+
if version is not None:
|
|
640
|
+
_path_params['version'] = version
|
|
641
|
+
# process the query parameters
|
|
642
|
+
if pricing_plan_subscription_id is not None:
|
|
643
|
+
|
|
644
|
+
_query_params.append(('pricing_plan_subscription_id', pricing_plan_subscription_id))
|
|
645
|
+
|
|
646
|
+
if status is not None:
|
|
647
|
+
|
|
648
|
+
_query_params.append(('status', status))
|
|
649
|
+
|
|
650
|
+
if expand is not None:
|
|
651
|
+
|
|
652
|
+
_query_params.append(('expand[]', expand))
|
|
653
|
+
|
|
654
|
+
# process the header parameters
|
|
655
|
+
if x_platform_id is not None:
|
|
656
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
657
|
+
# process the form parameters
|
|
658
|
+
# process the body parameter
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
# set the HTTP header `Accept`
|
|
662
|
+
if 'Accept' not in _header_params:
|
|
663
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
664
|
+
[
|
|
665
|
+
'application/json',
|
|
666
|
+
'*/*'
|
|
667
|
+
]
|
|
668
|
+
)
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
# authentication setting
|
|
672
|
+
_auth_settings: List[str] = [
|
|
673
|
+
'JWT-Authentication',
|
|
674
|
+
'API-Key'
|
|
675
|
+
]
|
|
676
|
+
|
|
677
|
+
return self.api_client.param_serialize(
|
|
678
|
+
method='GET',
|
|
679
|
+
resource_path='/v{version}/pricing-plan-schedules',
|
|
680
|
+
path_params=_path_params,
|
|
681
|
+
query_params=_query_params,
|
|
682
|
+
header_params=_header_params,
|
|
683
|
+
body=_body_params,
|
|
684
|
+
post_params=_form_params,
|
|
685
|
+
files=_files,
|
|
686
|
+
auth_settings=_auth_settings,
|
|
687
|
+
collection_formats=_collection_formats,
|
|
688
|
+
_host=_host,
|
|
689
|
+
_request_auth=_request_auth
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
@validate_call
|
|
696
|
+
def get_pricing_plan_schedules_by_resource_id(
|
|
697
|
+
self,
|
|
698
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
699
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
700
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
701
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
702
|
+
include_combined_pricing_plan_version: Annotated[Optional[StrictBool], Field(description="Get the pricing plan version with the pricing overrides.")] = None,
|
|
703
|
+
_request_timeout: Union[
|
|
704
|
+
None,
|
|
705
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
706
|
+
Tuple[
|
|
707
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
708
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
709
|
+
]
|
|
710
|
+
] = None,
|
|
711
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
712
|
+
_content_type: Optional[StrictStr] = None,
|
|
713
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
714
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
715
|
+
) -> PricingPlanSchedule:
|
|
716
|
+
"""Get a pricingPlanSchedule by resourceID
|
|
717
|
+
|
|
718
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
719
|
+
|
|
720
|
+
:param version: version (required)
|
|
721
|
+
:type version: str
|
|
722
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
723
|
+
:type resource_id: str
|
|
724
|
+
:param x_platform_id: Platform ID.
|
|
725
|
+
:type x_platform_id: str
|
|
726
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
727
|
+
:type expand: List[str]
|
|
728
|
+
:param include_combined_pricing_plan_version: Get the pricing plan version with the pricing overrides.
|
|
729
|
+
:type include_combined_pricing_plan_version: bool
|
|
730
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
731
|
+
number provided, it will be total request
|
|
732
|
+
timeout. It can also be a pair (tuple) of
|
|
733
|
+
(connection, read) timeouts.
|
|
734
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
735
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
736
|
+
request; this effectively ignores the
|
|
737
|
+
authentication in the spec for a single request.
|
|
738
|
+
:type _request_auth: dict, optional
|
|
739
|
+
:param _content_type: force content-type for the request.
|
|
740
|
+
:type _content_type: str, Optional
|
|
741
|
+
:param _headers: set to override the headers for a single
|
|
742
|
+
request; this effectively ignores the headers
|
|
743
|
+
in the spec for a single request.
|
|
744
|
+
:type _headers: dict, optional
|
|
745
|
+
:param _host_index: set to override the host_index for a single
|
|
746
|
+
request; this effectively ignores the host_index
|
|
747
|
+
in the spec for a single request.
|
|
748
|
+
:type _host_index: int, optional
|
|
749
|
+
:return: Returns the result object.
|
|
750
|
+
""" # noqa: E501
|
|
751
|
+
|
|
752
|
+
_param = self._get_pricing_plan_schedules_by_resource_id_serialize(
|
|
753
|
+
version=version,
|
|
754
|
+
resource_id=resource_id,
|
|
755
|
+
x_platform_id=x_platform_id,
|
|
756
|
+
expand=expand,
|
|
757
|
+
include_combined_pricing_plan_version=include_combined_pricing_plan_version,
|
|
758
|
+
_request_auth=_request_auth,
|
|
759
|
+
_content_type=_content_type,
|
|
760
|
+
_headers=_headers,
|
|
761
|
+
_host_index=_host_index
|
|
762
|
+
)
|
|
763
|
+
|
|
764
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
765
|
+
'200': "PricingPlanSchedule",
|
|
766
|
+
'400': "ApiError",
|
|
767
|
+
'401': "ApiError",
|
|
768
|
+
'403': "ApiError",
|
|
769
|
+
'500': "ApiError",
|
|
770
|
+
}
|
|
771
|
+
response_data = self.api_client.call_api(
|
|
772
|
+
*_param,
|
|
773
|
+
_request_timeout=_request_timeout
|
|
774
|
+
)
|
|
775
|
+
response_data.read()
|
|
776
|
+
return self.api_client.response_deserialize(
|
|
777
|
+
response_data=response_data,
|
|
778
|
+
response_types_map=_response_types_map,
|
|
779
|
+
).data
|
|
780
|
+
|
|
781
|
+
|
|
782
|
+
@validate_call
|
|
783
|
+
def get_pricing_plan_schedules_by_resource_id_with_http_info(
|
|
784
|
+
self,
|
|
785
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
786
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
787
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
788
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
789
|
+
include_combined_pricing_plan_version: Annotated[Optional[StrictBool], Field(description="Get the pricing plan version with the pricing overrides.")] = None,
|
|
790
|
+
_request_timeout: Union[
|
|
791
|
+
None,
|
|
792
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
793
|
+
Tuple[
|
|
794
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
795
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
796
|
+
]
|
|
797
|
+
] = None,
|
|
798
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
799
|
+
_content_type: Optional[StrictStr] = None,
|
|
800
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
801
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
802
|
+
) -> ApiResponse[PricingPlanSchedule]:
|
|
803
|
+
"""Get a pricingPlanSchedule by resourceID
|
|
804
|
+
|
|
805
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
806
|
+
|
|
807
|
+
:param version: version (required)
|
|
808
|
+
:type version: str
|
|
809
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
810
|
+
:type resource_id: str
|
|
811
|
+
:param x_platform_id: Platform ID.
|
|
812
|
+
:type x_platform_id: str
|
|
813
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
814
|
+
:type expand: List[str]
|
|
815
|
+
:param include_combined_pricing_plan_version: Get the pricing plan version with the pricing overrides.
|
|
816
|
+
:type include_combined_pricing_plan_version: bool
|
|
817
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
818
|
+
number provided, it will be total request
|
|
819
|
+
timeout. It can also be a pair (tuple) of
|
|
820
|
+
(connection, read) timeouts.
|
|
821
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
822
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
823
|
+
request; this effectively ignores the
|
|
824
|
+
authentication in the spec for a single request.
|
|
825
|
+
:type _request_auth: dict, optional
|
|
826
|
+
:param _content_type: force content-type for the request.
|
|
827
|
+
:type _content_type: str, Optional
|
|
828
|
+
:param _headers: set to override the headers for a single
|
|
829
|
+
request; this effectively ignores the headers
|
|
830
|
+
in the spec for a single request.
|
|
831
|
+
:type _headers: dict, optional
|
|
832
|
+
:param _host_index: set to override the host_index for a single
|
|
833
|
+
request; this effectively ignores the host_index
|
|
834
|
+
in the spec for a single request.
|
|
835
|
+
:type _host_index: int, optional
|
|
836
|
+
:return: Returns the result object.
|
|
837
|
+
""" # noqa: E501
|
|
838
|
+
|
|
839
|
+
_param = self._get_pricing_plan_schedules_by_resource_id_serialize(
|
|
840
|
+
version=version,
|
|
841
|
+
resource_id=resource_id,
|
|
842
|
+
x_platform_id=x_platform_id,
|
|
843
|
+
expand=expand,
|
|
844
|
+
include_combined_pricing_plan_version=include_combined_pricing_plan_version,
|
|
845
|
+
_request_auth=_request_auth,
|
|
846
|
+
_content_type=_content_type,
|
|
847
|
+
_headers=_headers,
|
|
848
|
+
_host_index=_host_index
|
|
849
|
+
)
|
|
850
|
+
|
|
851
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
852
|
+
'200': "PricingPlanSchedule",
|
|
853
|
+
'400': "ApiError",
|
|
854
|
+
'401': "ApiError",
|
|
855
|
+
'403': "ApiError",
|
|
856
|
+
'500': "ApiError",
|
|
857
|
+
}
|
|
858
|
+
response_data = self.api_client.call_api(
|
|
859
|
+
*_param,
|
|
860
|
+
_request_timeout=_request_timeout
|
|
861
|
+
)
|
|
862
|
+
response_data.read()
|
|
863
|
+
return self.api_client.response_deserialize(
|
|
864
|
+
response_data=response_data,
|
|
865
|
+
response_types_map=_response_types_map,
|
|
866
|
+
)
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
@validate_call
|
|
870
|
+
def get_pricing_plan_schedules_by_resource_id_without_preload_content(
|
|
871
|
+
self,
|
|
872
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
873
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
874
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
875
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
876
|
+
include_combined_pricing_plan_version: Annotated[Optional[StrictBool], Field(description="Get the pricing plan version with the pricing overrides.")] = None,
|
|
877
|
+
_request_timeout: Union[
|
|
878
|
+
None,
|
|
879
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
880
|
+
Tuple[
|
|
881
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
882
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
883
|
+
]
|
|
884
|
+
] = None,
|
|
885
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
886
|
+
_content_type: Optional[StrictStr] = None,
|
|
887
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
888
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
889
|
+
) -> RESTResponseType:
|
|
890
|
+
"""Get a pricingPlanSchedule by resourceID
|
|
891
|
+
|
|
892
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
893
|
+
|
|
894
|
+
:param version: version (required)
|
|
895
|
+
:type version: str
|
|
896
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
897
|
+
:type resource_id: str
|
|
898
|
+
:param x_platform_id: Platform ID.
|
|
899
|
+
:type x_platform_id: str
|
|
900
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
901
|
+
:type expand: List[str]
|
|
902
|
+
:param include_combined_pricing_plan_version: Get the pricing plan version with the pricing overrides.
|
|
903
|
+
:type include_combined_pricing_plan_version: bool
|
|
904
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
905
|
+
number provided, it will be total request
|
|
906
|
+
timeout. It can also be a pair (tuple) of
|
|
907
|
+
(connection, read) timeouts.
|
|
908
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
909
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
910
|
+
request; this effectively ignores the
|
|
911
|
+
authentication in the spec for a single request.
|
|
912
|
+
:type _request_auth: dict, optional
|
|
913
|
+
:param _content_type: force content-type for the request.
|
|
914
|
+
:type _content_type: str, Optional
|
|
915
|
+
:param _headers: set to override the headers for a single
|
|
916
|
+
request; this effectively ignores the headers
|
|
917
|
+
in the spec for a single request.
|
|
918
|
+
:type _headers: dict, optional
|
|
919
|
+
:param _host_index: set to override the host_index for a single
|
|
920
|
+
request; this effectively ignores the host_index
|
|
921
|
+
in the spec for a single request.
|
|
922
|
+
:type _host_index: int, optional
|
|
923
|
+
:return: Returns the result object.
|
|
924
|
+
""" # noqa: E501
|
|
925
|
+
|
|
926
|
+
_param = self._get_pricing_plan_schedules_by_resource_id_serialize(
|
|
927
|
+
version=version,
|
|
928
|
+
resource_id=resource_id,
|
|
929
|
+
x_platform_id=x_platform_id,
|
|
930
|
+
expand=expand,
|
|
931
|
+
include_combined_pricing_plan_version=include_combined_pricing_plan_version,
|
|
932
|
+
_request_auth=_request_auth,
|
|
933
|
+
_content_type=_content_type,
|
|
934
|
+
_headers=_headers,
|
|
935
|
+
_host_index=_host_index
|
|
936
|
+
)
|
|
937
|
+
|
|
938
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
939
|
+
'200': "PricingPlanSchedule",
|
|
940
|
+
'400': "ApiError",
|
|
941
|
+
'401': "ApiError",
|
|
942
|
+
'403': "ApiError",
|
|
943
|
+
'500': "ApiError",
|
|
944
|
+
}
|
|
945
|
+
response_data = self.api_client.call_api(
|
|
946
|
+
*_param,
|
|
947
|
+
_request_timeout=_request_timeout
|
|
948
|
+
)
|
|
949
|
+
return response_data.response
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
def _get_pricing_plan_schedules_by_resource_id_serialize(
|
|
953
|
+
self,
|
|
954
|
+
version,
|
|
955
|
+
resource_id,
|
|
956
|
+
x_platform_id,
|
|
957
|
+
expand,
|
|
958
|
+
include_combined_pricing_plan_version,
|
|
959
|
+
_request_auth,
|
|
960
|
+
_content_type,
|
|
961
|
+
_headers,
|
|
962
|
+
_host_index,
|
|
963
|
+
) -> RequestSerialized:
|
|
964
|
+
|
|
965
|
+
_host = None
|
|
966
|
+
|
|
967
|
+
_collection_formats: Dict[str, str] = {
|
|
968
|
+
'expand[]': 'multi',
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
_path_params: Dict[str, str] = {}
|
|
972
|
+
_query_params: List[Tuple[str, str]] = []
|
|
973
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
974
|
+
_form_params: List[Tuple[str, str]] = []
|
|
975
|
+
_files: Dict[
|
|
976
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
977
|
+
] = {}
|
|
978
|
+
_body_params: Optional[bytes] = None
|
|
979
|
+
|
|
980
|
+
# process the path parameters
|
|
981
|
+
if version is not None:
|
|
982
|
+
_path_params['version'] = version
|
|
983
|
+
if resource_id is not None:
|
|
984
|
+
_path_params['resourceId'] = resource_id
|
|
985
|
+
# process the query parameters
|
|
986
|
+
if expand is not None:
|
|
987
|
+
|
|
988
|
+
_query_params.append(('expand[]', expand))
|
|
989
|
+
|
|
990
|
+
if include_combined_pricing_plan_version is not None:
|
|
991
|
+
|
|
992
|
+
_query_params.append(('include_combined_pricing_plan_version', include_combined_pricing_plan_version))
|
|
993
|
+
|
|
994
|
+
# process the header parameters
|
|
995
|
+
if x_platform_id is not None:
|
|
996
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
997
|
+
# process the form parameters
|
|
998
|
+
# process the body parameter
|
|
999
|
+
|
|
1000
|
+
|
|
1001
|
+
# set the HTTP header `Accept`
|
|
1002
|
+
if 'Accept' not in _header_params:
|
|
1003
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1004
|
+
[
|
|
1005
|
+
'application/json',
|
|
1006
|
+
'*/*'
|
|
1007
|
+
]
|
|
1008
|
+
)
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
# authentication setting
|
|
1012
|
+
_auth_settings: List[str] = [
|
|
1013
|
+
'JWT-Authentication',
|
|
1014
|
+
'API-Key'
|
|
1015
|
+
]
|
|
1016
|
+
|
|
1017
|
+
return self.api_client.param_serialize(
|
|
1018
|
+
method='GET',
|
|
1019
|
+
resource_path='/v{version}/pricing-plan-schedules/{resourceId}',
|
|
1020
|
+
path_params=_path_params,
|
|
1021
|
+
query_params=_query_params,
|
|
1022
|
+
header_params=_header_params,
|
|
1023
|
+
body=_body_params,
|
|
1024
|
+
post_params=_form_params,
|
|
1025
|
+
files=_files,
|
|
1026
|
+
auth_settings=_auth_settings,
|
|
1027
|
+
collection_formats=_collection_formats,
|
|
1028
|
+
_host=_host,
|
|
1029
|
+
_request_auth=_request_auth
|
|
1030
|
+
)
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
@validate_call
|
|
1036
|
+
def get_pricing_plan_schedules_by_resource_id_on_demand_pricing_items(
|
|
1037
|
+
self,
|
|
1038
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1039
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
1040
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1041
|
+
timestamp: Annotated[Optional[StrictStr], Field(description="Timestamp used to resolve the applicable pricing plan version for rate-card schedules. Defaults to now.")] = None,
|
|
1042
|
+
_request_timeout: Union[
|
|
1043
|
+
None,
|
|
1044
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1045
|
+
Tuple[
|
|
1046
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1047
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1048
|
+
]
|
|
1049
|
+
] = None,
|
|
1050
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1051
|
+
_content_type: Optional[StrictStr] = None,
|
|
1052
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1053
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1054
|
+
) -> OnDemandPricingItemsResponse:
|
|
1055
|
+
"""Get all available on demand pricing items for a pricing plan schedule
|
|
1056
|
+
|
|
1057
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
1058
|
+
|
|
1059
|
+
:param version: version (required)
|
|
1060
|
+
:type version: str
|
|
1061
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
1062
|
+
:type resource_id: str
|
|
1063
|
+
:param x_platform_id: Platform ID.
|
|
1064
|
+
:type x_platform_id: str
|
|
1065
|
+
:param timestamp: Timestamp used to resolve the applicable pricing plan version for rate-card schedules. Defaults to now.
|
|
1066
|
+
:type timestamp: str
|
|
1067
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1068
|
+
number provided, it will be total request
|
|
1069
|
+
timeout. It can also be a pair (tuple) of
|
|
1070
|
+
(connection, read) timeouts.
|
|
1071
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1072
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1073
|
+
request; this effectively ignores the
|
|
1074
|
+
authentication in the spec for a single request.
|
|
1075
|
+
:type _request_auth: dict, optional
|
|
1076
|
+
:param _content_type: force content-type for the request.
|
|
1077
|
+
:type _content_type: str, Optional
|
|
1078
|
+
:param _headers: set to override the headers for a single
|
|
1079
|
+
request; this effectively ignores the headers
|
|
1080
|
+
in the spec for a single request.
|
|
1081
|
+
:type _headers: dict, optional
|
|
1082
|
+
:param _host_index: set to override the host_index for a single
|
|
1083
|
+
request; this effectively ignores the host_index
|
|
1084
|
+
in the spec for a single request.
|
|
1085
|
+
:type _host_index: int, optional
|
|
1086
|
+
:return: Returns the result object.
|
|
1087
|
+
""" # noqa: E501
|
|
1088
|
+
|
|
1089
|
+
_param = self._get_pricing_plan_schedules_by_resource_id_on_demand_pricing_items_serialize(
|
|
1090
|
+
version=version,
|
|
1091
|
+
resource_id=resource_id,
|
|
1092
|
+
x_platform_id=x_platform_id,
|
|
1093
|
+
timestamp=timestamp,
|
|
1094
|
+
_request_auth=_request_auth,
|
|
1095
|
+
_content_type=_content_type,
|
|
1096
|
+
_headers=_headers,
|
|
1097
|
+
_host_index=_host_index
|
|
1098
|
+
)
|
|
1099
|
+
|
|
1100
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1101
|
+
'200': "OnDemandPricingItemsResponse",
|
|
1102
|
+
'400': "ApiError",
|
|
1103
|
+
'401': "ApiError",
|
|
1104
|
+
'403': "ApiError",
|
|
1105
|
+
'500': "ApiError",
|
|
1106
|
+
}
|
|
1107
|
+
response_data = self.api_client.call_api(
|
|
1108
|
+
*_param,
|
|
1109
|
+
_request_timeout=_request_timeout
|
|
1110
|
+
)
|
|
1111
|
+
response_data.read()
|
|
1112
|
+
return self.api_client.response_deserialize(
|
|
1113
|
+
response_data=response_data,
|
|
1114
|
+
response_types_map=_response_types_map,
|
|
1115
|
+
).data
|
|
1116
|
+
|
|
1117
|
+
|
|
1118
|
+
@validate_call
|
|
1119
|
+
def get_pricing_plan_schedules_by_resource_id_on_demand_pricing_items_with_http_info(
|
|
1120
|
+
self,
|
|
1121
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1122
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
1123
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1124
|
+
timestamp: Annotated[Optional[StrictStr], Field(description="Timestamp used to resolve the applicable pricing plan version for rate-card schedules. Defaults to now.")] = None,
|
|
1125
|
+
_request_timeout: Union[
|
|
1126
|
+
None,
|
|
1127
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1128
|
+
Tuple[
|
|
1129
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1130
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1131
|
+
]
|
|
1132
|
+
] = None,
|
|
1133
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1134
|
+
_content_type: Optional[StrictStr] = None,
|
|
1135
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1136
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1137
|
+
) -> ApiResponse[OnDemandPricingItemsResponse]:
|
|
1138
|
+
"""Get all available on demand pricing items for a pricing plan schedule
|
|
1139
|
+
|
|
1140
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
1141
|
+
|
|
1142
|
+
:param version: version (required)
|
|
1143
|
+
:type version: str
|
|
1144
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
1145
|
+
:type resource_id: str
|
|
1146
|
+
:param x_platform_id: Platform ID.
|
|
1147
|
+
:type x_platform_id: str
|
|
1148
|
+
:param timestamp: Timestamp used to resolve the applicable pricing plan version for rate-card schedules. Defaults to now.
|
|
1149
|
+
:type timestamp: str
|
|
1150
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1151
|
+
number provided, it will be total request
|
|
1152
|
+
timeout. It can also be a pair (tuple) of
|
|
1153
|
+
(connection, read) timeouts.
|
|
1154
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1155
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1156
|
+
request; this effectively ignores the
|
|
1157
|
+
authentication in the spec for a single request.
|
|
1158
|
+
:type _request_auth: dict, optional
|
|
1159
|
+
:param _content_type: force content-type for the request.
|
|
1160
|
+
:type _content_type: str, Optional
|
|
1161
|
+
:param _headers: set to override the headers for a single
|
|
1162
|
+
request; this effectively ignores the headers
|
|
1163
|
+
in the spec for a single request.
|
|
1164
|
+
:type _headers: dict, optional
|
|
1165
|
+
:param _host_index: set to override the host_index for a single
|
|
1166
|
+
request; this effectively ignores the host_index
|
|
1167
|
+
in the spec for a single request.
|
|
1168
|
+
:type _host_index: int, optional
|
|
1169
|
+
:return: Returns the result object.
|
|
1170
|
+
""" # noqa: E501
|
|
1171
|
+
|
|
1172
|
+
_param = self._get_pricing_plan_schedules_by_resource_id_on_demand_pricing_items_serialize(
|
|
1173
|
+
version=version,
|
|
1174
|
+
resource_id=resource_id,
|
|
1175
|
+
x_platform_id=x_platform_id,
|
|
1176
|
+
timestamp=timestamp,
|
|
1177
|
+
_request_auth=_request_auth,
|
|
1178
|
+
_content_type=_content_type,
|
|
1179
|
+
_headers=_headers,
|
|
1180
|
+
_host_index=_host_index
|
|
1181
|
+
)
|
|
1182
|
+
|
|
1183
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1184
|
+
'200': "OnDemandPricingItemsResponse",
|
|
1185
|
+
'400': "ApiError",
|
|
1186
|
+
'401': "ApiError",
|
|
1187
|
+
'403': "ApiError",
|
|
1188
|
+
'500': "ApiError",
|
|
1189
|
+
}
|
|
1190
|
+
response_data = self.api_client.call_api(
|
|
1191
|
+
*_param,
|
|
1192
|
+
_request_timeout=_request_timeout
|
|
1193
|
+
)
|
|
1194
|
+
response_data.read()
|
|
1195
|
+
return self.api_client.response_deserialize(
|
|
1196
|
+
response_data=response_data,
|
|
1197
|
+
response_types_map=_response_types_map,
|
|
1198
|
+
)
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
@validate_call
|
|
1202
|
+
def get_pricing_plan_schedules_by_resource_id_on_demand_pricing_items_without_preload_content(
|
|
1203
|
+
self,
|
|
1204
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1205
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
1206
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1207
|
+
timestamp: Annotated[Optional[StrictStr], Field(description="Timestamp used to resolve the applicable pricing plan version for rate-card schedules. Defaults to now.")] = None,
|
|
1208
|
+
_request_timeout: Union[
|
|
1209
|
+
None,
|
|
1210
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1211
|
+
Tuple[
|
|
1212
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1213
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1214
|
+
]
|
|
1215
|
+
] = None,
|
|
1216
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1217
|
+
_content_type: Optional[StrictStr] = None,
|
|
1218
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1219
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1220
|
+
) -> RESTResponseType:
|
|
1221
|
+
"""Get all available on demand pricing items for a pricing plan schedule
|
|
1222
|
+
|
|
1223
|
+
Requires the PRICING_PLAN_SCHEDULE.VIEW or QUOTE.PRICING_PLAN_SCHEDULE.VIEW permission.
|
|
1224
|
+
|
|
1225
|
+
:param version: version (required)
|
|
1226
|
+
:type version: str
|
|
1227
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
1228
|
+
:type resource_id: str
|
|
1229
|
+
:param x_platform_id: Platform ID.
|
|
1230
|
+
:type x_platform_id: str
|
|
1231
|
+
:param timestamp: Timestamp used to resolve the applicable pricing plan version for rate-card schedules. Defaults to now.
|
|
1232
|
+
:type timestamp: str
|
|
1233
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1234
|
+
number provided, it will be total request
|
|
1235
|
+
timeout. It can also be a pair (tuple) of
|
|
1236
|
+
(connection, read) timeouts.
|
|
1237
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1238
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1239
|
+
request; this effectively ignores the
|
|
1240
|
+
authentication in the spec for a single request.
|
|
1241
|
+
:type _request_auth: dict, optional
|
|
1242
|
+
:param _content_type: force content-type for the request.
|
|
1243
|
+
:type _content_type: str, Optional
|
|
1244
|
+
:param _headers: set to override the headers for a single
|
|
1245
|
+
request; this effectively ignores the headers
|
|
1246
|
+
in the spec for a single request.
|
|
1247
|
+
:type _headers: dict, optional
|
|
1248
|
+
:param _host_index: set to override the host_index for a single
|
|
1249
|
+
request; this effectively ignores the host_index
|
|
1250
|
+
in the spec for a single request.
|
|
1251
|
+
:type _host_index: int, optional
|
|
1252
|
+
:return: Returns the result object.
|
|
1253
|
+
""" # noqa: E501
|
|
1254
|
+
|
|
1255
|
+
_param = self._get_pricing_plan_schedules_by_resource_id_on_demand_pricing_items_serialize(
|
|
1256
|
+
version=version,
|
|
1257
|
+
resource_id=resource_id,
|
|
1258
|
+
x_platform_id=x_platform_id,
|
|
1259
|
+
timestamp=timestamp,
|
|
1260
|
+
_request_auth=_request_auth,
|
|
1261
|
+
_content_type=_content_type,
|
|
1262
|
+
_headers=_headers,
|
|
1263
|
+
_host_index=_host_index
|
|
1264
|
+
)
|
|
1265
|
+
|
|
1266
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1267
|
+
'200': "OnDemandPricingItemsResponse",
|
|
1268
|
+
'400': "ApiError",
|
|
1269
|
+
'401': "ApiError",
|
|
1270
|
+
'403': "ApiError",
|
|
1271
|
+
'500': "ApiError",
|
|
1272
|
+
}
|
|
1273
|
+
response_data = self.api_client.call_api(
|
|
1274
|
+
*_param,
|
|
1275
|
+
_request_timeout=_request_timeout
|
|
1276
|
+
)
|
|
1277
|
+
return response_data.response
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
def _get_pricing_plan_schedules_by_resource_id_on_demand_pricing_items_serialize(
|
|
1281
|
+
self,
|
|
1282
|
+
version,
|
|
1283
|
+
resource_id,
|
|
1284
|
+
x_platform_id,
|
|
1285
|
+
timestamp,
|
|
1286
|
+
_request_auth,
|
|
1287
|
+
_content_type,
|
|
1288
|
+
_headers,
|
|
1289
|
+
_host_index,
|
|
1290
|
+
) -> RequestSerialized:
|
|
1291
|
+
|
|
1292
|
+
_host = None
|
|
1293
|
+
|
|
1294
|
+
_collection_formats: Dict[str, str] = {
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
_path_params: Dict[str, str] = {}
|
|
1298
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1299
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1300
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1301
|
+
_files: Dict[
|
|
1302
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1303
|
+
] = {}
|
|
1304
|
+
_body_params: Optional[bytes] = None
|
|
1305
|
+
|
|
1306
|
+
# process the path parameters
|
|
1307
|
+
if version is not None:
|
|
1308
|
+
_path_params['version'] = version
|
|
1309
|
+
if resource_id is not None:
|
|
1310
|
+
_path_params['resourceId'] = resource_id
|
|
1311
|
+
# process the query parameters
|
|
1312
|
+
if timestamp is not None:
|
|
1313
|
+
|
|
1314
|
+
_query_params.append(('timestamp', timestamp))
|
|
1315
|
+
|
|
1316
|
+
# process the header parameters
|
|
1317
|
+
if x_platform_id is not None:
|
|
1318
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1319
|
+
# process the form parameters
|
|
1320
|
+
# process the body parameter
|
|
1321
|
+
|
|
1322
|
+
|
|
1323
|
+
# set the HTTP header `Accept`
|
|
1324
|
+
if 'Accept' not in _header_params:
|
|
1325
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1326
|
+
[
|
|
1327
|
+
'application/json',
|
|
1328
|
+
'*/*'
|
|
1329
|
+
]
|
|
1330
|
+
)
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
# authentication setting
|
|
1334
|
+
_auth_settings: List[str] = [
|
|
1335
|
+
'JWT-Authentication',
|
|
1336
|
+
'API-Key'
|
|
1337
|
+
]
|
|
1338
|
+
|
|
1339
|
+
return self.api_client.param_serialize(
|
|
1340
|
+
method='GET',
|
|
1341
|
+
resource_path='/v{version}/pricing-plan-schedules/{resourceId}/on-demand-pricing-items',
|
|
1342
|
+
path_params=_path_params,
|
|
1343
|
+
query_params=_query_params,
|
|
1344
|
+
header_params=_header_params,
|
|
1345
|
+
body=_body_params,
|
|
1346
|
+
post_params=_form_params,
|
|
1347
|
+
files=_files,
|
|
1348
|
+
auth_settings=_auth_settings,
|
|
1349
|
+
collection_formats=_collection_formats,
|
|
1350
|
+
_host=_host,
|
|
1351
|
+
_request_auth=_request_auth
|
|
1352
|
+
)
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
@validate_call
|
|
1358
|
+
def post_pricing_plan_schedules(
|
|
1359
|
+
self,
|
|
1360
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1361
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1362
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
1363
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end_at of the previous schedule to the start_at of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
1364
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start_at of the next schedule to the end_at of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
1365
|
+
pricing_plan_schedule_create_request: Optional[PricingPlanScheduleCreateRequest] = None,
|
|
1366
|
+
_request_timeout: Union[
|
|
1367
|
+
None,
|
|
1368
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1369
|
+
Tuple[
|
|
1370
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1371
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1372
|
+
]
|
|
1373
|
+
] = None,
|
|
1374
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1375
|
+
_content_type: Optional[StrictStr] = None,
|
|
1376
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1377
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1378
|
+
) -> PricingPlanSchedule:
|
|
1379
|
+
"""Create a pricing plan schedule
|
|
1380
|
+
|
|
1381
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
1382
|
+
|
|
1383
|
+
:param version: version (required)
|
|
1384
|
+
:type version: str
|
|
1385
|
+
:param x_platform_id: Platform ID.
|
|
1386
|
+
:type x_platform_id: str
|
|
1387
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
1388
|
+
:type expand: List[str]
|
|
1389
|
+
:param set_previous_end_at: Setting the value to true will set the end_at of the previous schedule to the start_at of this schedule. Mutually exclusive with set_next_start_at
|
|
1390
|
+
:type set_previous_end_at: bool
|
|
1391
|
+
:param set_next_start_at: Setting the value to true will set the start_at of the next schedule to the end_at of this schedule. Mutually exclusive with set_previous_end_at
|
|
1392
|
+
:type set_next_start_at: bool
|
|
1393
|
+
:param pricing_plan_schedule_create_request:
|
|
1394
|
+
:type pricing_plan_schedule_create_request: PricingPlanScheduleCreateRequest
|
|
1395
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1396
|
+
number provided, it will be total request
|
|
1397
|
+
timeout. It can also be a pair (tuple) of
|
|
1398
|
+
(connection, read) timeouts.
|
|
1399
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1400
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1401
|
+
request; this effectively ignores the
|
|
1402
|
+
authentication in the spec for a single request.
|
|
1403
|
+
:type _request_auth: dict, optional
|
|
1404
|
+
:param _content_type: force content-type for the request.
|
|
1405
|
+
:type _content_type: str, Optional
|
|
1406
|
+
:param _headers: set to override the headers for a single
|
|
1407
|
+
request; this effectively ignores the headers
|
|
1408
|
+
in the spec for a single request.
|
|
1409
|
+
:type _headers: dict, optional
|
|
1410
|
+
:param _host_index: set to override the host_index for a single
|
|
1411
|
+
request; this effectively ignores the host_index
|
|
1412
|
+
in the spec for a single request.
|
|
1413
|
+
:type _host_index: int, optional
|
|
1414
|
+
:return: Returns the result object.
|
|
1415
|
+
""" # noqa: E501
|
|
1416
|
+
|
|
1417
|
+
_param = self._post_pricing_plan_schedules_serialize(
|
|
1418
|
+
version=version,
|
|
1419
|
+
x_platform_id=x_platform_id,
|
|
1420
|
+
expand=expand,
|
|
1421
|
+
set_previous_end_at=set_previous_end_at,
|
|
1422
|
+
set_next_start_at=set_next_start_at,
|
|
1423
|
+
pricing_plan_schedule_create_request=pricing_plan_schedule_create_request,
|
|
1424
|
+
_request_auth=_request_auth,
|
|
1425
|
+
_content_type=_content_type,
|
|
1426
|
+
_headers=_headers,
|
|
1427
|
+
_host_index=_host_index
|
|
1428
|
+
)
|
|
1429
|
+
|
|
1430
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1431
|
+
'201': "PricingPlanSchedule",
|
|
1432
|
+
'400': "ApiError",
|
|
1433
|
+
'401': "ApiError",
|
|
1434
|
+
'403': "ApiError",
|
|
1435
|
+
'409': "ApiError",
|
|
1436
|
+
'500': "ApiError",
|
|
1437
|
+
}
|
|
1438
|
+
response_data = self.api_client.call_api(
|
|
1439
|
+
*_param,
|
|
1440
|
+
_request_timeout=_request_timeout
|
|
1441
|
+
)
|
|
1442
|
+
response_data.read()
|
|
1443
|
+
return self.api_client.response_deserialize(
|
|
1444
|
+
response_data=response_data,
|
|
1445
|
+
response_types_map=_response_types_map,
|
|
1446
|
+
).data
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
@validate_call
|
|
1450
|
+
def post_pricing_plan_schedules_with_http_info(
|
|
1451
|
+
self,
|
|
1452
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1453
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1454
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
1455
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end_at of the previous schedule to the start_at of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
1456
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start_at of the next schedule to the end_at of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
1457
|
+
pricing_plan_schedule_create_request: Optional[PricingPlanScheduleCreateRequest] = None,
|
|
1458
|
+
_request_timeout: Union[
|
|
1459
|
+
None,
|
|
1460
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1461
|
+
Tuple[
|
|
1462
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1463
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1464
|
+
]
|
|
1465
|
+
] = None,
|
|
1466
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1467
|
+
_content_type: Optional[StrictStr] = None,
|
|
1468
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1469
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1470
|
+
) -> ApiResponse[PricingPlanSchedule]:
|
|
1471
|
+
"""Create a pricing plan schedule
|
|
1472
|
+
|
|
1473
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
1474
|
+
|
|
1475
|
+
:param version: version (required)
|
|
1476
|
+
:type version: str
|
|
1477
|
+
:param x_platform_id: Platform ID.
|
|
1478
|
+
:type x_platform_id: str
|
|
1479
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
1480
|
+
:type expand: List[str]
|
|
1481
|
+
:param set_previous_end_at: Setting the value to true will set the end_at of the previous schedule to the start_at of this schedule. Mutually exclusive with set_next_start_at
|
|
1482
|
+
:type set_previous_end_at: bool
|
|
1483
|
+
:param set_next_start_at: Setting the value to true will set the start_at of the next schedule to the end_at of this schedule. Mutually exclusive with set_previous_end_at
|
|
1484
|
+
:type set_next_start_at: bool
|
|
1485
|
+
:param pricing_plan_schedule_create_request:
|
|
1486
|
+
:type pricing_plan_schedule_create_request: PricingPlanScheduleCreateRequest
|
|
1487
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1488
|
+
number provided, it will be total request
|
|
1489
|
+
timeout. It can also be a pair (tuple) of
|
|
1490
|
+
(connection, read) timeouts.
|
|
1491
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1492
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1493
|
+
request; this effectively ignores the
|
|
1494
|
+
authentication in the spec for a single request.
|
|
1495
|
+
:type _request_auth: dict, optional
|
|
1496
|
+
:param _content_type: force content-type for the request.
|
|
1497
|
+
:type _content_type: str, Optional
|
|
1498
|
+
:param _headers: set to override the headers for a single
|
|
1499
|
+
request; this effectively ignores the headers
|
|
1500
|
+
in the spec for a single request.
|
|
1501
|
+
:type _headers: dict, optional
|
|
1502
|
+
:param _host_index: set to override the host_index for a single
|
|
1503
|
+
request; this effectively ignores the host_index
|
|
1504
|
+
in the spec for a single request.
|
|
1505
|
+
:type _host_index: int, optional
|
|
1506
|
+
:return: Returns the result object.
|
|
1507
|
+
""" # noqa: E501
|
|
1508
|
+
|
|
1509
|
+
_param = self._post_pricing_plan_schedules_serialize(
|
|
1510
|
+
version=version,
|
|
1511
|
+
x_platform_id=x_platform_id,
|
|
1512
|
+
expand=expand,
|
|
1513
|
+
set_previous_end_at=set_previous_end_at,
|
|
1514
|
+
set_next_start_at=set_next_start_at,
|
|
1515
|
+
pricing_plan_schedule_create_request=pricing_plan_schedule_create_request,
|
|
1516
|
+
_request_auth=_request_auth,
|
|
1517
|
+
_content_type=_content_type,
|
|
1518
|
+
_headers=_headers,
|
|
1519
|
+
_host_index=_host_index
|
|
1520
|
+
)
|
|
1521
|
+
|
|
1522
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1523
|
+
'201': "PricingPlanSchedule",
|
|
1524
|
+
'400': "ApiError",
|
|
1525
|
+
'401': "ApiError",
|
|
1526
|
+
'403': "ApiError",
|
|
1527
|
+
'409': "ApiError",
|
|
1528
|
+
'500': "ApiError",
|
|
1529
|
+
}
|
|
1530
|
+
response_data = self.api_client.call_api(
|
|
1531
|
+
*_param,
|
|
1532
|
+
_request_timeout=_request_timeout
|
|
1533
|
+
)
|
|
1534
|
+
response_data.read()
|
|
1535
|
+
return self.api_client.response_deserialize(
|
|
1536
|
+
response_data=response_data,
|
|
1537
|
+
response_types_map=_response_types_map,
|
|
1538
|
+
)
|
|
1539
|
+
|
|
1540
|
+
|
|
1541
|
+
@validate_call
|
|
1542
|
+
def post_pricing_plan_schedules_without_preload_content(
|
|
1543
|
+
self,
|
|
1544
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1545
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1546
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
1547
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end_at of the previous schedule to the start_at of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
1548
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start_at of the next schedule to the end_at of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
1549
|
+
pricing_plan_schedule_create_request: Optional[PricingPlanScheduleCreateRequest] = None,
|
|
1550
|
+
_request_timeout: Union[
|
|
1551
|
+
None,
|
|
1552
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1553
|
+
Tuple[
|
|
1554
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1555
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1556
|
+
]
|
|
1557
|
+
] = None,
|
|
1558
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1559
|
+
_content_type: Optional[StrictStr] = None,
|
|
1560
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1561
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1562
|
+
) -> RESTResponseType:
|
|
1563
|
+
"""Create a pricing plan schedule
|
|
1564
|
+
|
|
1565
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
1566
|
+
|
|
1567
|
+
:param version: version (required)
|
|
1568
|
+
:type version: str
|
|
1569
|
+
:param x_platform_id: Platform ID.
|
|
1570
|
+
:type x_platform_id: str
|
|
1571
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
1572
|
+
:type expand: List[str]
|
|
1573
|
+
:param set_previous_end_at: Setting the value to true will set the end_at of the previous schedule to the start_at of this schedule. Mutually exclusive with set_next_start_at
|
|
1574
|
+
:type set_previous_end_at: bool
|
|
1575
|
+
:param set_next_start_at: Setting the value to true will set the start_at of the next schedule to the end_at of this schedule. Mutually exclusive with set_previous_end_at
|
|
1576
|
+
:type set_next_start_at: bool
|
|
1577
|
+
:param pricing_plan_schedule_create_request:
|
|
1578
|
+
:type pricing_plan_schedule_create_request: PricingPlanScheduleCreateRequest
|
|
1579
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1580
|
+
number provided, it will be total request
|
|
1581
|
+
timeout. It can also be a pair (tuple) of
|
|
1582
|
+
(connection, read) timeouts.
|
|
1583
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1584
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1585
|
+
request; this effectively ignores the
|
|
1586
|
+
authentication in the spec for a single request.
|
|
1587
|
+
:type _request_auth: dict, optional
|
|
1588
|
+
:param _content_type: force content-type for the request.
|
|
1589
|
+
:type _content_type: str, Optional
|
|
1590
|
+
:param _headers: set to override the headers for a single
|
|
1591
|
+
request; this effectively ignores the headers
|
|
1592
|
+
in the spec for a single request.
|
|
1593
|
+
:type _headers: dict, optional
|
|
1594
|
+
:param _host_index: set to override the host_index for a single
|
|
1595
|
+
request; this effectively ignores the host_index
|
|
1596
|
+
in the spec for a single request.
|
|
1597
|
+
:type _host_index: int, optional
|
|
1598
|
+
:return: Returns the result object.
|
|
1599
|
+
""" # noqa: E501
|
|
1600
|
+
|
|
1601
|
+
_param = self._post_pricing_plan_schedules_serialize(
|
|
1602
|
+
version=version,
|
|
1603
|
+
x_platform_id=x_platform_id,
|
|
1604
|
+
expand=expand,
|
|
1605
|
+
set_previous_end_at=set_previous_end_at,
|
|
1606
|
+
set_next_start_at=set_next_start_at,
|
|
1607
|
+
pricing_plan_schedule_create_request=pricing_plan_schedule_create_request,
|
|
1608
|
+
_request_auth=_request_auth,
|
|
1609
|
+
_content_type=_content_type,
|
|
1610
|
+
_headers=_headers,
|
|
1611
|
+
_host_index=_host_index
|
|
1612
|
+
)
|
|
1613
|
+
|
|
1614
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1615
|
+
'201': "PricingPlanSchedule",
|
|
1616
|
+
'400': "ApiError",
|
|
1617
|
+
'401': "ApiError",
|
|
1618
|
+
'403': "ApiError",
|
|
1619
|
+
'409': "ApiError",
|
|
1620
|
+
'500': "ApiError",
|
|
1621
|
+
}
|
|
1622
|
+
response_data = self.api_client.call_api(
|
|
1623
|
+
*_param,
|
|
1624
|
+
_request_timeout=_request_timeout
|
|
1625
|
+
)
|
|
1626
|
+
return response_data.response
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
def _post_pricing_plan_schedules_serialize(
|
|
1630
|
+
self,
|
|
1631
|
+
version,
|
|
1632
|
+
x_platform_id,
|
|
1633
|
+
expand,
|
|
1634
|
+
set_previous_end_at,
|
|
1635
|
+
set_next_start_at,
|
|
1636
|
+
pricing_plan_schedule_create_request,
|
|
1637
|
+
_request_auth,
|
|
1638
|
+
_content_type,
|
|
1639
|
+
_headers,
|
|
1640
|
+
_host_index,
|
|
1641
|
+
) -> RequestSerialized:
|
|
1642
|
+
|
|
1643
|
+
_host = None
|
|
1644
|
+
|
|
1645
|
+
_collection_formats: Dict[str, str] = {
|
|
1646
|
+
'expand[]': 'multi',
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
_path_params: Dict[str, str] = {}
|
|
1650
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1651
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1652
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1653
|
+
_files: Dict[
|
|
1654
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1655
|
+
] = {}
|
|
1656
|
+
_body_params: Optional[bytes] = None
|
|
1657
|
+
|
|
1658
|
+
# process the path parameters
|
|
1659
|
+
if version is not None:
|
|
1660
|
+
_path_params['version'] = version
|
|
1661
|
+
# process the query parameters
|
|
1662
|
+
if expand is not None:
|
|
1663
|
+
|
|
1664
|
+
_query_params.append(('expand[]', expand))
|
|
1665
|
+
|
|
1666
|
+
if set_previous_end_at is not None:
|
|
1667
|
+
|
|
1668
|
+
_query_params.append(('set_previous_end_at', set_previous_end_at))
|
|
1669
|
+
|
|
1670
|
+
if set_next_start_at is not None:
|
|
1671
|
+
|
|
1672
|
+
_query_params.append(('set_next_start_at', set_next_start_at))
|
|
1673
|
+
|
|
1674
|
+
# process the header parameters
|
|
1675
|
+
if x_platform_id is not None:
|
|
1676
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1677
|
+
# process the form parameters
|
|
1678
|
+
# process the body parameter
|
|
1679
|
+
if pricing_plan_schedule_create_request is not None:
|
|
1680
|
+
_body_params = pricing_plan_schedule_create_request
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
# set the HTTP header `Accept`
|
|
1684
|
+
if 'Accept' not in _header_params:
|
|
1685
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1686
|
+
[
|
|
1687
|
+
'application/json',
|
|
1688
|
+
'*/*'
|
|
1689
|
+
]
|
|
1690
|
+
)
|
|
1691
|
+
|
|
1692
|
+
# set the HTTP header `Content-Type`
|
|
1693
|
+
if _content_type:
|
|
1694
|
+
_header_params['Content-Type'] = _content_type
|
|
1695
|
+
else:
|
|
1696
|
+
_default_content_type = (
|
|
1697
|
+
self.api_client.select_header_content_type(
|
|
1698
|
+
[
|
|
1699
|
+
'application/json'
|
|
1700
|
+
]
|
|
1701
|
+
)
|
|
1702
|
+
)
|
|
1703
|
+
if _default_content_type is not None:
|
|
1704
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1705
|
+
|
|
1706
|
+
# authentication setting
|
|
1707
|
+
_auth_settings: List[str] = [
|
|
1708
|
+
'JWT-Authentication',
|
|
1709
|
+
'API-Key'
|
|
1710
|
+
]
|
|
1711
|
+
|
|
1712
|
+
return self.api_client.param_serialize(
|
|
1713
|
+
method='POST',
|
|
1714
|
+
resource_path='/v{version}/pricing-plan-schedules',
|
|
1715
|
+
path_params=_path_params,
|
|
1716
|
+
query_params=_query_params,
|
|
1717
|
+
header_params=_header_params,
|
|
1718
|
+
body=_body_params,
|
|
1719
|
+
post_params=_form_params,
|
|
1720
|
+
files=_files,
|
|
1721
|
+
auth_settings=_auth_settings,
|
|
1722
|
+
collection_formats=_collection_formats,
|
|
1723
|
+
_host=_host,
|
|
1724
|
+
_request_auth=_request_auth
|
|
1725
|
+
)
|
|
1726
|
+
|
|
1727
|
+
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
@validate_call
|
|
1731
|
+
def post_pricing_plan_schedules_activate(
|
|
1732
|
+
self,
|
|
1733
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1734
|
+
pricing_plan_subscription_id: Annotated[StrictStr, Field(description="The resource id of the pricingPlanSubscription whose DRAFT schedules should all be activated.")],
|
|
1735
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1736
|
+
_request_timeout: Union[
|
|
1737
|
+
None,
|
|
1738
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1739
|
+
Tuple[
|
|
1740
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1741
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1742
|
+
]
|
|
1743
|
+
] = None,
|
|
1744
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1745
|
+
_content_type: Optional[StrictStr] = None,
|
|
1746
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1747
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1748
|
+
) -> PricingPlanScheduleResponseWrapper:
|
|
1749
|
+
"""Activate every DRAFT pricing plan schedule of a subscription, in one all-or-nothing batch
|
|
1750
|
+
|
|
1751
|
+
Requires the PRICING_PLAN_SCHEDULE.STATUS.UPDATE permission.
|
|
1752
|
+
|
|
1753
|
+
:param version: version (required)
|
|
1754
|
+
:type version: str
|
|
1755
|
+
:param pricing_plan_subscription_id: The resource id of the pricingPlanSubscription whose DRAFT schedules should all be activated. (required)
|
|
1756
|
+
:type pricing_plan_subscription_id: str
|
|
1757
|
+
:param x_platform_id: Platform ID.
|
|
1758
|
+
:type x_platform_id: str
|
|
1759
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1760
|
+
number provided, it will be total request
|
|
1761
|
+
timeout. It can also be a pair (tuple) of
|
|
1762
|
+
(connection, read) timeouts.
|
|
1763
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1764
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1765
|
+
request; this effectively ignores the
|
|
1766
|
+
authentication in the spec for a single request.
|
|
1767
|
+
:type _request_auth: dict, optional
|
|
1768
|
+
:param _content_type: force content-type for the request.
|
|
1769
|
+
:type _content_type: str, Optional
|
|
1770
|
+
:param _headers: set to override the headers for a single
|
|
1771
|
+
request; this effectively ignores the headers
|
|
1772
|
+
in the spec for a single request.
|
|
1773
|
+
:type _headers: dict, optional
|
|
1774
|
+
:param _host_index: set to override the host_index for a single
|
|
1775
|
+
request; this effectively ignores the host_index
|
|
1776
|
+
in the spec for a single request.
|
|
1777
|
+
:type _host_index: int, optional
|
|
1778
|
+
:return: Returns the result object.
|
|
1779
|
+
""" # noqa: E501
|
|
1780
|
+
|
|
1781
|
+
_param = self._post_pricing_plan_schedules_activate_serialize(
|
|
1782
|
+
version=version,
|
|
1783
|
+
pricing_plan_subscription_id=pricing_plan_subscription_id,
|
|
1784
|
+
x_platform_id=x_platform_id,
|
|
1785
|
+
_request_auth=_request_auth,
|
|
1786
|
+
_content_type=_content_type,
|
|
1787
|
+
_headers=_headers,
|
|
1788
|
+
_host_index=_host_index
|
|
1789
|
+
)
|
|
1790
|
+
|
|
1791
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1792
|
+
'200': "PricingPlanScheduleResponseWrapper",
|
|
1793
|
+
'400': "ApiError",
|
|
1794
|
+
'401': "ApiError",
|
|
1795
|
+
'403': "ApiError",
|
|
1796
|
+
'409': "ApiError",
|
|
1797
|
+
'500': "ApiError",
|
|
1798
|
+
}
|
|
1799
|
+
response_data = self.api_client.call_api(
|
|
1800
|
+
*_param,
|
|
1801
|
+
_request_timeout=_request_timeout
|
|
1802
|
+
)
|
|
1803
|
+
response_data.read()
|
|
1804
|
+
return self.api_client.response_deserialize(
|
|
1805
|
+
response_data=response_data,
|
|
1806
|
+
response_types_map=_response_types_map,
|
|
1807
|
+
).data
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
@validate_call
|
|
1811
|
+
def post_pricing_plan_schedules_activate_with_http_info(
|
|
1812
|
+
self,
|
|
1813
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1814
|
+
pricing_plan_subscription_id: Annotated[StrictStr, Field(description="The resource id of the pricingPlanSubscription whose DRAFT schedules should all be activated.")],
|
|
1815
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1816
|
+
_request_timeout: Union[
|
|
1817
|
+
None,
|
|
1818
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1819
|
+
Tuple[
|
|
1820
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1821
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1822
|
+
]
|
|
1823
|
+
] = None,
|
|
1824
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1825
|
+
_content_type: Optional[StrictStr] = None,
|
|
1826
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1827
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1828
|
+
) -> ApiResponse[PricingPlanScheduleResponseWrapper]:
|
|
1829
|
+
"""Activate every DRAFT pricing plan schedule of a subscription, in one all-or-nothing batch
|
|
1830
|
+
|
|
1831
|
+
Requires the PRICING_PLAN_SCHEDULE.STATUS.UPDATE permission.
|
|
1832
|
+
|
|
1833
|
+
:param version: version (required)
|
|
1834
|
+
:type version: str
|
|
1835
|
+
:param pricing_plan_subscription_id: The resource id of the pricingPlanSubscription whose DRAFT schedules should all be activated. (required)
|
|
1836
|
+
:type pricing_plan_subscription_id: str
|
|
1837
|
+
:param x_platform_id: Platform ID.
|
|
1838
|
+
:type x_platform_id: str
|
|
1839
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1840
|
+
number provided, it will be total request
|
|
1841
|
+
timeout. It can also be a pair (tuple) of
|
|
1842
|
+
(connection, read) timeouts.
|
|
1843
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1844
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1845
|
+
request; this effectively ignores the
|
|
1846
|
+
authentication in the spec for a single request.
|
|
1847
|
+
:type _request_auth: dict, optional
|
|
1848
|
+
:param _content_type: force content-type for the request.
|
|
1849
|
+
:type _content_type: str, Optional
|
|
1850
|
+
:param _headers: set to override the headers for a single
|
|
1851
|
+
request; this effectively ignores the headers
|
|
1852
|
+
in the spec for a single request.
|
|
1853
|
+
:type _headers: dict, optional
|
|
1854
|
+
:param _host_index: set to override the host_index for a single
|
|
1855
|
+
request; this effectively ignores the host_index
|
|
1856
|
+
in the spec for a single request.
|
|
1857
|
+
:type _host_index: int, optional
|
|
1858
|
+
:return: Returns the result object.
|
|
1859
|
+
""" # noqa: E501
|
|
1860
|
+
|
|
1861
|
+
_param = self._post_pricing_plan_schedules_activate_serialize(
|
|
1862
|
+
version=version,
|
|
1863
|
+
pricing_plan_subscription_id=pricing_plan_subscription_id,
|
|
1864
|
+
x_platform_id=x_platform_id,
|
|
1865
|
+
_request_auth=_request_auth,
|
|
1866
|
+
_content_type=_content_type,
|
|
1867
|
+
_headers=_headers,
|
|
1868
|
+
_host_index=_host_index
|
|
1869
|
+
)
|
|
1870
|
+
|
|
1871
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1872
|
+
'200': "PricingPlanScheduleResponseWrapper",
|
|
1873
|
+
'400': "ApiError",
|
|
1874
|
+
'401': "ApiError",
|
|
1875
|
+
'403': "ApiError",
|
|
1876
|
+
'409': "ApiError",
|
|
1877
|
+
'500': "ApiError",
|
|
1878
|
+
}
|
|
1879
|
+
response_data = self.api_client.call_api(
|
|
1880
|
+
*_param,
|
|
1881
|
+
_request_timeout=_request_timeout
|
|
1882
|
+
)
|
|
1883
|
+
response_data.read()
|
|
1884
|
+
return self.api_client.response_deserialize(
|
|
1885
|
+
response_data=response_data,
|
|
1886
|
+
response_types_map=_response_types_map,
|
|
1887
|
+
)
|
|
1888
|
+
|
|
1889
|
+
|
|
1890
|
+
@validate_call
|
|
1891
|
+
def post_pricing_plan_schedules_activate_without_preload_content(
|
|
1892
|
+
self,
|
|
1893
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1894
|
+
pricing_plan_subscription_id: Annotated[StrictStr, Field(description="The resource id of the pricingPlanSubscription whose DRAFT schedules should all be activated.")],
|
|
1895
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1896
|
+
_request_timeout: Union[
|
|
1897
|
+
None,
|
|
1898
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1899
|
+
Tuple[
|
|
1900
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1901
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1902
|
+
]
|
|
1903
|
+
] = None,
|
|
1904
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1905
|
+
_content_type: Optional[StrictStr] = None,
|
|
1906
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1907
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1908
|
+
) -> RESTResponseType:
|
|
1909
|
+
"""Activate every DRAFT pricing plan schedule of a subscription, in one all-or-nothing batch
|
|
1910
|
+
|
|
1911
|
+
Requires the PRICING_PLAN_SCHEDULE.STATUS.UPDATE permission.
|
|
1912
|
+
|
|
1913
|
+
:param version: version (required)
|
|
1914
|
+
:type version: str
|
|
1915
|
+
:param pricing_plan_subscription_id: The resource id of the pricingPlanSubscription whose DRAFT schedules should all be activated. (required)
|
|
1916
|
+
:type pricing_plan_subscription_id: str
|
|
1917
|
+
:param x_platform_id: Platform ID.
|
|
1918
|
+
:type x_platform_id: str
|
|
1919
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1920
|
+
number provided, it will be total request
|
|
1921
|
+
timeout. It can also be a pair (tuple) of
|
|
1922
|
+
(connection, read) timeouts.
|
|
1923
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1924
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1925
|
+
request; this effectively ignores the
|
|
1926
|
+
authentication in the spec for a single request.
|
|
1927
|
+
:type _request_auth: dict, optional
|
|
1928
|
+
:param _content_type: force content-type for the request.
|
|
1929
|
+
:type _content_type: str, Optional
|
|
1930
|
+
:param _headers: set to override the headers for a single
|
|
1931
|
+
request; this effectively ignores the headers
|
|
1932
|
+
in the spec for a single request.
|
|
1933
|
+
:type _headers: dict, optional
|
|
1934
|
+
:param _host_index: set to override the host_index for a single
|
|
1935
|
+
request; this effectively ignores the host_index
|
|
1936
|
+
in the spec for a single request.
|
|
1937
|
+
:type _host_index: int, optional
|
|
1938
|
+
:return: Returns the result object.
|
|
1939
|
+
""" # noqa: E501
|
|
1940
|
+
|
|
1941
|
+
_param = self._post_pricing_plan_schedules_activate_serialize(
|
|
1942
|
+
version=version,
|
|
1943
|
+
pricing_plan_subscription_id=pricing_plan_subscription_id,
|
|
1944
|
+
x_platform_id=x_platform_id,
|
|
1945
|
+
_request_auth=_request_auth,
|
|
1946
|
+
_content_type=_content_type,
|
|
1947
|
+
_headers=_headers,
|
|
1948
|
+
_host_index=_host_index
|
|
1949
|
+
)
|
|
1950
|
+
|
|
1951
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1952
|
+
'200': "PricingPlanScheduleResponseWrapper",
|
|
1953
|
+
'400': "ApiError",
|
|
1954
|
+
'401': "ApiError",
|
|
1955
|
+
'403': "ApiError",
|
|
1956
|
+
'409': "ApiError",
|
|
1957
|
+
'500': "ApiError",
|
|
1958
|
+
}
|
|
1959
|
+
response_data = self.api_client.call_api(
|
|
1960
|
+
*_param,
|
|
1961
|
+
_request_timeout=_request_timeout
|
|
1962
|
+
)
|
|
1963
|
+
return response_data.response
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
def _post_pricing_plan_schedules_activate_serialize(
|
|
1967
|
+
self,
|
|
1968
|
+
version,
|
|
1969
|
+
pricing_plan_subscription_id,
|
|
1970
|
+
x_platform_id,
|
|
1971
|
+
_request_auth,
|
|
1972
|
+
_content_type,
|
|
1973
|
+
_headers,
|
|
1974
|
+
_host_index,
|
|
1975
|
+
) -> RequestSerialized:
|
|
1976
|
+
|
|
1977
|
+
_host = None
|
|
1978
|
+
|
|
1979
|
+
_collection_formats: Dict[str, str] = {
|
|
1980
|
+
}
|
|
1981
|
+
|
|
1982
|
+
_path_params: Dict[str, str] = {}
|
|
1983
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1984
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1985
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1986
|
+
_files: Dict[
|
|
1987
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1988
|
+
] = {}
|
|
1989
|
+
_body_params: Optional[bytes] = None
|
|
1990
|
+
|
|
1991
|
+
# process the path parameters
|
|
1992
|
+
if version is not None:
|
|
1993
|
+
_path_params['version'] = version
|
|
1994
|
+
# process the query parameters
|
|
1995
|
+
if pricing_plan_subscription_id is not None:
|
|
1996
|
+
|
|
1997
|
+
_query_params.append(('pricing_plan_subscription_id', pricing_plan_subscription_id))
|
|
1998
|
+
|
|
1999
|
+
# process the header parameters
|
|
2000
|
+
if x_platform_id is not None:
|
|
2001
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2002
|
+
# process the form parameters
|
|
2003
|
+
# process the body parameter
|
|
2004
|
+
|
|
2005
|
+
|
|
2006
|
+
# set the HTTP header `Accept`
|
|
2007
|
+
if 'Accept' not in _header_params:
|
|
2008
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2009
|
+
[
|
|
2010
|
+
'application/json',
|
|
2011
|
+
'*/*'
|
|
2012
|
+
]
|
|
2013
|
+
)
|
|
2014
|
+
|
|
2015
|
+
|
|
2016
|
+
# authentication setting
|
|
2017
|
+
_auth_settings: List[str] = [
|
|
2018
|
+
'JWT-Authentication',
|
|
2019
|
+
'API-Key'
|
|
2020
|
+
]
|
|
2021
|
+
|
|
2022
|
+
return self.api_client.param_serialize(
|
|
2023
|
+
method='POST',
|
|
2024
|
+
resource_path='/v{version}/pricing-plan-schedules/activate',
|
|
2025
|
+
path_params=_path_params,
|
|
2026
|
+
query_params=_query_params,
|
|
2027
|
+
header_params=_header_params,
|
|
2028
|
+
body=_body_params,
|
|
2029
|
+
post_params=_form_params,
|
|
2030
|
+
files=_files,
|
|
2031
|
+
auth_settings=_auth_settings,
|
|
2032
|
+
collection_formats=_collection_formats,
|
|
2033
|
+
_host=_host,
|
|
2034
|
+
_request_auth=_request_auth
|
|
2035
|
+
)
|
|
2036
|
+
|
|
2037
|
+
|
|
2038
|
+
|
|
2039
|
+
|
|
2040
|
+
@validate_call
|
|
2041
|
+
def post_pricing_plan_schedules_by_resource_id_activate(
|
|
2042
|
+
self,
|
|
2043
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2044
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2045
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2046
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2047
|
+
_request_timeout: Union[
|
|
2048
|
+
None,
|
|
2049
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2050
|
+
Tuple[
|
|
2051
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2052
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2053
|
+
]
|
|
2054
|
+
] = None,
|
|
2055
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2056
|
+
_content_type: Optional[StrictStr] = None,
|
|
2057
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2058
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2059
|
+
) -> PricingPlanSchedule:
|
|
2060
|
+
"""Activate a pricing plan schedule
|
|
2061
|
+
|
|
2062
|
+
Requires the PRICING_PLAN_SCHEDULE.STATUS.UPDATE permission.
|
|
2063
|
+
|
|
2064
|
+
:param version: version (required)
|
|
2065
|
+
:type version: str
|
|
2066
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2067
|
+
:type resource_id: str
|
|
2068
|
+
:param x_platform_id: Platform ID.
|
|
2069
|
+
:type x_platform_id: str
|
|
2070
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2071
|
+
:type expand: List[str]
|
|
2072
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2073
|
+
number provided, it will be total request
|
|
2074
|
+
timeout. It can also be a pair (tuple) of
|
|
2075
|
+
(connection, read) timeouts.
|
|
2076
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2077
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2078
|
+
request; this effectively ignores the
|
|
2079
|
+
authentication in the spec for a single request.
|
|
2080
|
+
:type _request_auth: dict, optional
|
|
2081
|
+
:param _content_type: force content-type for the request.
|
|
2082
|
+
:type _content_type: str, Optional
|
|
2083
|
+
:param _headers: set to override the headers for a single
|
|
2084
|
+
request; this effectively ignores the headers
|
|
2085
|
+
in the spec for a single request.
|
|
2086
|
+
:type _headers: dict, optional
|
|
2087
|
+
:param _host_index: set to override the host_index for a single
|
|
2088
|
+
request; this effectively ignores the host_index
|
|
2089
|
+
in the spec for a single request.
|
|
2090
|
+
:type _host_index: int, optional
|
|
2091
|
+
:return: Returns the result object.
|
|
2092
|
+
""" # noqa: E501
|
|
2093
|
+
|
|
2094
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_activate_serialize(
|
|
2095
|
+
version=version,
|
|
2096
|
+
resource_id=resource_id,
|
|
2097
|
+
x_platform_id=x_platform_id,
|
|
2098
|
+
expand=expand,
|
|
2099
|
+
_request_auth=_request_auth,
|
|
2100
|
+
_content_type=_content_type,
|
|
2101
|
+
_headers=_headers,
|
|
2102
|
+
_host_index=_host_index
|
|
2103
|
+
)
|
|
2104
|
+
|
|
2105
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2106
|
+
'200': "PricingPlanSchedule",
|
|
2107
|
+
'400': "ApiError",
|
|
2108
|
+
'401': "ApiError",
|
|
2109
|
+
'403': "ApiError",
|
|
2110
|
+
'409': "ApiError",
|
|
2111
|
+
'500': "ApiError",
|
|
2112
|
+
}
|
|
2113
|
+
response_data = self.api_client.call_api(
|
|
2114
|
+
*_param,
|
|
2115
|
+
_request_timeout=_request_timeout
|
|
2116
|
+
)
|
|
2117
|
+
response_data.read()
|
|
2118
|
+
return self.api_client.response_deserialize(
|
|
2119
|
+
response_data=response_data,
|
|
2120
|
+
response_types_map=_response_types_map,
|
|
2121
|
+
).data
|
|
2122
|
+
|
|
2123
|
+
|
|
2124
|
+
@validate_call
|
|
2125
|
+
def post_pricing_plan_schedules_by_resource_id_activate_with_http_info(
|
|
2126
|
+
self,
|
|
2127
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2128
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2129
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2130
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2131
|
+
_request_timeout: Union[
|
|
2132
|
+
None,
|
|
2133
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2134
|
+
Tuple[
|
|
2135
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2136
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2137
|
+
]
|
|
2138
|
+
] = None,
|
|
2139
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2140
|
+
_content_type: Optional[StrictStr] = None,
|
|
2141
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2142
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2143
|
+
) -> ApiResponse[PricingPlanSchedule]:
|
|
2144
|
+
"""Activate a pricing plan schedule
|
|
2145
|
+
|
|
2146
|
+
Requires the PRICING_PLAN_SCHEDULE.STATUS.UPDATE permission.
|
|
2147
|
+
|
|
2148
|
+
:param version: version (required)
|
|
2149
|
+
:type version: str
|
|
2150
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2151
|
+
:type resource_id: str
|
|
2152
|
+
:param x_platform_id: Platform ID.
|
|
2153
|
+
:type x_platform_id: str
|
|
2154
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2155
|
+
:type expand: List[str]
|
|
2156
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2157
|
+
number provided, it will be total request
|
|
2158
|
+
timeout. It can also be a pair (tuple) of
|
|
2159
|
+
(connection, read) timeouts.
|
|
2160
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2161
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2162
|
+
request; this effectively ignores the
|
|
2163
|
+
authentication in the spec for a single request.
|
|
2164
|
+
:type _request_auth: dict, optional
|
|
2165
|
+
:param _content_type: force content-type for the request.
|
|
2166
|
+
:type _content_type: str, Optional
|
|
2167
|
+
:param _headers: set to override the headers for a single
|
|
2168
|
+
request; this effectively ignores the headers
|
|
2169
|
+
in the spec for a single request.
|
|
2170
|
+
:type _headers: dict, optional
|
|
2171
|
+
:param _host_index: set to override the host_index for a single
|
|
2172
|
+
request; this effectively ignores the host_index
|
|
2173
|
+
in the spec for a single request.
|
|
2174
|
+
:type _host_index: int, optional
|
|
2175
|
+
:return: Returns the result object.
|
|
2176
|
+
""" # noqa: E501
|
|
2177
|
+
|
|
2178
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_activate_serialize(
|
|
2179
|
+
version=version,
|
|
2180
|
+
resource_id=resource_id,
|
|
2181
|
+
x_platform_id=x_platform_id,
|
|
2182
|
+
expand=expand,
|
|
2183
|
+
_request_auth=_request_auth,
|
|
2184
|
+
_content_type=_content_type,
|
|
2185
|
+
_headers=_headers,
|
|
2186
|
+
_host_index=_host_index
|
|
2187
|
+
)
|
|
2188
|
+
|
|
2189
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2190
|
+
'200': "PricingPlanSchedule",
|
|
2191
|
+
'400': "ApiError",
|
|
2192
|
+
'401': "ApiError",
|
|
2193
|
+
'403': "ApiError",
|
|
2194
|
+
'409': "ApiError",
|
|
2195
|
+
'500': "ApiError",
|
|
2196
|
+
}
|
|
2197
|
+
response_data = self.api_client.call_api(
|
|
2198
|
+
*_param,
|
|
2199
|
+
_request_timeout=_request_timeout
|
|
2200
|
+
)
|
|
2201
|
+
response_data.read()
|
|
2202
|
+
return self.api_client.response_deserialize(
|
|
2203
|
+
response_data=response_data,
|
|
2204
|
+
response_types_map=_response_types_map,
|
|
2205
|
+
)
|
|
2206
|
+
|
|
2207
|
+
|
|
2208
|
+
@validate_call
|
|
2209
|
+
def post_pricing_plan_schedules_by_resource_id_activate_without_preload_content(
|
|
2210
|
+
self,
|
|
2211
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2212
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2213
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2214
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2215
|
+
_request_timeout: Union[
|
|
2216
|
+
None,
|
|
2217
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2218
|
+
Tuple[
|
|
2219
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2220
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2221
|
+
]
|
|
2222
|
+
] = None,
|
|
2223
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2224
|
+
_content_type: Optional[StrictStr] = None,
|
|
2225
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2226
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2227
|
+
) -> RESTResponseType:
|
|
2228
|
+
"""Activate a pricing plan schedule
|
|
2229
|
+
|
|
2230
|
+
Requires the PRICING_PLAN_SCHEDULE.STATUS.UPDATE permission.
|
|
2231
|
+
|
|
2232
|
+
:param version: version (required)
|
|
2233
|
+
:type version: str
|
|
2234
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2235
|
+
:type resource_id: str
|
|
2236
|
+
:param x_platform_id: Platform ID.
|
|
2237
|
+
:type x_platform_id: str
|
|
2238
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2239
|
+
:type expand: List[str]
|
|
2240
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2241
|
+
number provided, it will be total request
|
|
2242
|
+
timeout. It can also be a pair (tuple) of
|
|
2243
|
+
(connection, read) timeouts.
|
|
2244
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2245
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2246
|
+
request; this effectively ignores the
|
|
2247
|
+
authentication in the spec for a single request.
|
|
2248
|
+
:type _request_auth: dict, optional
|
|
2249
|
+
:param _content_type: force content-type for the request.
|
|
2250
|
+
:type _content_type: str, Optional
|
|
2251
|
+
:param _headers: set to override the headers for a single
|
|
2252
|
+
request; this effectively ignores the headers
|
|
2253
|
+
in the spec for a single request.
|
|
2254
|
+
:type _headers: dict, optional
|
|
2255
|
+
:param _host_index: set to override the host_index for a single
|
|
2256
|
+
request; this effectively ignores the host_index
|
|
2257
|
+
in the spec for a single request.
|
|
2258
|
+
:type _host_index: int, optional
|
|
2259
|
+
:return: Returns the result object.
|
|
2260
|
+
""" # noqa: E501
|
|
2261
|
+
|
|
2262
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_activate_serialize(
|
|
2263
|
+
version=version,
|
|
2264
|
+
resource_id=resource_id,
|
|
2265
|
+
x_platform_id=x_platform_id,
|
|
2266
|
+
expand=expand,
|
|
2267
|
+
_request_auth=_request_auth,
|
|
2268
|
+
_content_type=_content_type,
|
|
2269
|
+
_headers=_headers,
|
|
2270
|
+
_host_index=_host_index
|
|
2271
|
+
)
|
|
2272
|
+
|
|
2273
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2274
|
+
'200': "PricingPlanSchedule",
|
|
2275
|
+
'400': "ApiError",
|
|
2276
|
+
'401': "ApiError",
|
|
2277
|
+
'403': "ApiError",
|
|
2278
|
+
'409': "ApiError",
|
|
2279
|
+
'500': "ApiError",
|
|
2280
|
+
}
|
|
2281
|
+
response_data = self.api_client.call_api(
|
|
2282
|
+
*_param,
|
|
2283
|
+
_request_timeout=_request_timeout
|
|
2284
|
+
)
|
|
2285
|
+
return response_data.response
|
|
2286
|
+
|
|
2287
|
+
|
|
2288
|
+
def _post_pricing_plan_schedules_by_resource_id_activate_serialize(
|
|
2289
|
+
self,
|
|
2290
|
+
version,
|
|
2291
|
+
resource_id,
|
|
2292
|
+
x_platform_id,
|
|
2293
|
+
expand,
|
|
2294
|
+
_request_auth,
|
|
2295
|
+
_content_type,
|
|
2296
|
+
_headers,
|
|
2297
|
+
_host_index,
|
|
2298
|
+
) -> RequestSerialized:
|
|
2299
|
+
|
|
2300
|
+
_host = None
|
|
2301
|
+
|
|
2302
|
+
_collection_formats: Dict[str, str] = {
|
|
2303
|
+
'expand[]': 'multi',
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
_path_params: Dict[str, str] = {}
|
|
2307
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2308
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2309
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2310
|
+
_files: Dict[
|
|
2311
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2312
|
+
] = {}
|
|
2313
|
+
_body_params: Optional[bytes] = None
|
|
2314
|
+
|
|
2315
|
+
# process the path parameters
|
|
2316
|
+
if version is not None:
|
|
2317
|
+
_path_params['version'] = version
|
|
2318
|
+
if resource_id is not None:
|
|
2319
|
+
_path_params['resourceId'] = resource_id
|
|
2320
|
+
# process the query parameters
|
|
2321
|
+
if expand is not None:
|
|
2322
|
+
|
|
2323
|
+
_query_params.append(('expand[]', expand))
|
|
2324
|
+
|
|
2325
|
+
# process the header parameters
|
|
2326
|
+
if x_platform_id is not None:
|
|
2327
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2328
|
+
# process the form parameters
|
|
2329
|
+
# process the body parameter
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
# set the HTTP header `Accept`
|
|
2333
|
+
if 'Accept' not in _header_params:
|
|
2334
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2335
|
+
[
|
|
2336
|
+
'application/json',
|
|
2337
|
+
'*/*'
|
|
2338
|
+
]
|
|
2339
|
+
)
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
# authentication setting
|
|
2343
|
+
_auth_settings: List[str] = [
|
|
2344
|
+
'JWT-Authentication',
|
|
2345
|
+
'API-Key'
|
|
2346
|
+
]
|
|
2347
|
+
|
|
2348
|
+
return self.api_client.param_serialize(
|
|
2349
|
+
method='POST',
|
|
2350
|
+
resource_path='/v{version}/pricing-plan-schedules/{resourceId}/activate',
|
|
2351
|
+
path_params=_path_params,
|
|
2352
|
+
query_params=_query_params,
|
|
2353
|
+
header_params=_header_params,
|
|
2354
|
+
body=_body_params,
|
|
2355
|
+
post_params=_form_params,
|
|
2356
|
+
files=_files,
|
|
2357
|
+
auth_settings=_auth_settings,
|
|
2358
|
+
collection_formats=_collection_formats,
|
|
2359
|
+
_host=_host,
|
|
2360
|
+
_request_auth=_request_auth
|
|
2361
|
+
)
|
|
2362
|
+
|
|
2363
|
+
|
|
2364
|
+
|
|
2365
|
+
|
|
2366
|
+
@validate_call
|
|
2367
|
+
def post_pricing_plan_schedules_by_resource_id_copy(
|
|
2368
|
+
self,
|
|
2369
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2370
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2371
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2372
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2373
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
2374
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
2375
|
+
pricing_plan_schedule_copy_create_request: Optional[PricingPlanScheduleCopyCreateRequest] = None,
|
|
2376
|
+
_request_timeout: Union[
|
|
2377
|
+
None,
|
|
2378
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2379
|
+
Tuple[
|
|
2380
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2381
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2382
|
+
]
|
|
2383
|
+
] = None,
|
|
2384
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2385
|
+
_content_type: Optional[StrictStr] = None,
|
|
2386
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2387
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2388
|
+
) -> PricingPlanSchedule:
|
|
2389
|
+
"""Copy a pricing plan schedule
|
|
2390
|
+
|
|
2391
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
2392
|
+
|
|
2393
|
+
:param version: version (required)
|
|
2394
|
+
:type version: str
|
|
2395
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2396
|
+
:type resource_id: str
|
|
2397
|
+
:param x_platform_id: Platform ID.
|
|
2398
|
+
:type x_platform_id: str
|
|
2399
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2400
|
+
:type expand: List[str]
|
|
2401
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
2402
|
+
:type set_previous_end_at: bool
|
|
2403
|
+
:param set_next_start_at: Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at
|
|
2404
|
+
:type set_next_start_at: bool
|
|
2405
|
+
:param pricing_plan_schedule_copy_create_request:
|
|
2406
|
+
:type pricing_plan_schedule_copy_create_request: PricingPlanScheduleCopyCreateRequest
|
|
2407
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2408
|
+
number provided, it will be total request
|
|
2409
|
+
timeout. It can also be a pair (tuple) of
|
|
2410
|
+
(connection, read) timeouts.
|
|
2411
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2412
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2413
|
+
request; this effectively ignores the
|
|
2414
|
+
authentication in the spec for a single request.
|
|
2415
|
+
:type _request_auth: dict, optional
|
|
2416
|
+
:param _content_type: force content-type for the request.
|
|
2417
|
+
:type _content_type: str, Optional
|
|
2418
|
+
:param _headers: set to override the headers for a single
|
|
2419
|
+
request; this effectively ignores the headers
|
|
2420
|
+
in the spec for a single request.
|
|
2421
|
+
:type _headers: dict, optional
|
|
2422
|
+
:param _host_index: set to override the host_index for a single
|
|
2423
|
+
request; this effectively ignores the host_index
|
|
2424
|
+
in the spec for a single request.
|
|
2425
|
+
:type _host_index: int, optional
|
|
2426
|
+
:return: Returns the result object.
|
|
2427
|
+
""" # noqa: E501
|
|
2428
|
+
|
|
2429
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_copy_serialize(
|
|
2430
|
+
version=version,
|
|
2431
|
+
resource_id=resource_id,
|
|
2432
|
+
x_platform_id=x_platform_id,
|
|
2433
|
+
expand=expand,
|
|
2434
|
+
set_previous_end_at=set_previous_end_at,
|
|
2435
|
+
set_next_start_at=set_next_start_at,
|
|
2436
|
+
pricing_plan_schedule_copy_create_request=pricing_plan_schedule_copy_create_request,
|
|
2437
|
+
_request_auth=_request_auth,
|
|
2438
|
+
_content_type=_content_type,
|
|
2439
|
+
_headers=_headers,
|
|
2440
|
+
_host_index=_host_index
|
|
2441
|
+
)
|
|
2442
|
+
|
|
2443
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2444
|
+
'201': "PricingPlanSchedule",
|
|
2445
|
+
'400': "ApiError",
|
|
2446
|
+
'401': "ApiError",
|
|
2447
|
+
'403': "ApiError",
|
|
2448
|
+
'409': "ApiError",
|
|
2449
|
+
'500': "ApiError",
|
|
2450
|
+
}
|
|
2451
|
+
response_data = self.api_client.call_api(
|
|
2452
|
+
*_param,
|
|
2453
|
+
_request_timeout=_request_timeout
|
|
2454
|
+
)
|
|
2455
|
+
response_data.read()
|
|
2456
|
+
return self.api_client.response_deserialize(
|
|
2457
|
+
response_data=response_data,
|
|
2458
|
+
response_types_map=_response_types_map,
|
|
2459
|
+
).data
|
|
2460
|
+
|
|
2461
|
+
|
|
2462
|
+
@validate_call
|
|
2463
|
+
def post_pricing_plan_schedules_by_resource_id_copy_with_http_info(
|
|
2464
|
+
self,
|
|
2465
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2466
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2467
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2468
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2469
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
2470
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
2471
|
+
pricing_plan_schedule_copy_create_request: Optional[PricingPlanScheduleCopyCreateRequest] = None,
|
|
2472
|
+
_request_timeout: Union[
|
|
2473
|
+
None,
|
|
2474
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2475
|
+
Tuple[
|
|
2476
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2477
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2478
|
+
]
|
|
2479
|
+
] = None,
|
|
2480
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2481
|
+
_content_type: Optional[StrictStr] = None,
|
|
2482
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2483
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2484
|
+
) -> ApiResponse[PricingPlanSchedule]:
|
|
2485
|
+
"""Copy a pricing plan schedule
|
|
2486
|
+
|
|
2487
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
2488
|
+
|
|
2489
|
+
:param version: version (required)
|
|
2490
|
+
:type version: str
|
|
2491
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2492
|
+
:type resource_id: str
|
|
2493
|
+
:param x_platform_id: Platform ID.
|
|
2494
|
+
:type x_platform_id: str
|
|
2495
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2496
|
+
:type expand: List[str]
|
|
2497
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
2498
|
+
:type set_previous_end_at: bool
|
|
2499
|
+
:param set_next_start_at: Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at
|
|
2500
|
+
:type set_next_start_at: bool
|
|
2501
|
+
:param pricing_plan_schedule_copy_create_request:
|
|
2502
|
+
:type pricing_plan_schedule_copy_create_request: PricingPlanScheduleCopyCreateRequest
|
|
2503
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2504
|
+
number provided, it will be total request
|
|
2505
|
+
timeout. It can also be a pair (tuple) of
|
|
2506
|
+
(connection, read) timeouts.
|
|
2507
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2508
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2509
|
+
request; this effectively ignores the
|
|
2510
|
+
authentication in the spec for a single request.
|
|
2511
|
+
:type _request_auth: dict, optional
|
|
2512
|
+
:param _content_type: force content-type for the request.
|
|
2513
|
+
:type _content_type: str, Optional
|
|
2514
|
+
:param _headers: set to override the headers for a single
|
|
2515
|
+
request; this effectively ignores the headers
|
|
2516
|
+
in the spec for a single request.
|
|
2517
|
+
:type _headers: dict, optional
|
|
2518
|
+
:param _host_index: set to override the host_index for a single
|
|
2519
|
+
request; this effectively ignores the host_index
|
|
2520
|
+
in the spec for a single request.
|
|
2521
|
+
:type _host_index: int, optional
|
|
2522
|
+
:return: Returns the result object.
|
|
2523
|
+
""" # noqa: E501
|
|
2524
|
+
|
|
2525
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_copy_serialize(
|
|
2526
|
+
version=version,
|
|
2527
|
+
resource_id=resource_id,
|
|
2528
|
+
x_platform_id=x_platform_id,
|
|
2529
|
+
expand=expand,
|
|
2530
|
+
set_previous_end_at=set_previous_end_at,
|
|
2531
|
+
set_next_start_at=set_next_start_at,
|
|
2532
|
+
pricing_plan_schedule_copy_create_request=pricing_plan_schedule_copy_create_request,
|
|
2533
|
+
_request_auth=_request_auth,
|
|
2534
|
+
_content_type=_content_type,
|
|
2535
|
+
_headers=_headers,
|
|
2536
|
+
_host_index=_host_index
|
|
2537
|
+
)
|
|
2538
|
+
|
|
2539
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2540
|
+
'201': "PricingPlanSchedule",
|
|
2541
|
+
'400': "ApiError",
|
|
2542
|
+
'401': "ApiError",
|
|
2543
|
+
'403': "ApiError",
|
|
2544
|
+
'409': "ApiError",
|
|
2545
|
+
'500': "ApiError",
|
|
2546
|
+
}
|
|
2547
|
+
response_data = self.api_client.call_api(
|
|
2548
|
+
*_param,
|
|
2549
|
+
_request_timeout=_request_timeout
|
|
2550
|
+
)
|
|
2551
|
+
response_data.read()
|
|
2552
|
+
return self.api_client.response_deserialize(
|
|
2553
|
+
response_data=response_data,
|
|
2554
|
+
response_types_map=_response_types_map,
|
|
2555
|
+
)
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
@validate_call
|
|
2559
|
+
def post_pricing_plan_schedules_by_resource_id_copy_without_preload_content(
|
|
2560
|
+
self,
|
|
2561
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2562
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2563
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2564
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2565
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
2566
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
2567
|
+
pricing_plan_schedule_copy_create_request: Optional[PricingPlanScheduleCopyCreateRequest] = None,
|
|
2568
|
+
_request_timeout: Union[
|
|
2569
|
+
None,
|
|
2570
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2571
|
+
Tuple[
|
|
2572
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2573
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2574
|
+
]
|
|
2575
|
+
] = None,
|
|
2576
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2577
|
+
_content_type: Optional[StrictStr] = None,
|
|
2578
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2579
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2580
|
+
) -> RESTResponseType:
|
|
2581
|
+
"""Copy a pricing plan schedule
|
|
2582
|
+
|
|
2583
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
2584
|
+
|
|
2585
|
+
:param version: version (required)
|
|
2586
|
+
:type version: str
|
|
2587
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2588
|
+
:type resource_id: str
|
|
2589
|
+
:param x_platform_id: Platform ID.
|
|
2590
|
+
:type x_platform_id: str
|
|
2591
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2592
|
+
:type expand: List[str]
|
|
2593
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
2594
|
+
:type set_previous_end_at: bool
|
|
2595
|
+
:param set_next_start_at: Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at
|
|
2596
|
+
:type set_next_start_at: bool
|
|
2597
|
+
:param pricing_plan_schedule_copy_create_request:
|
|
2598
|
+
:type pricing_plan_schedule_copy_create_request: PricingPlanScheduleCopyCreateRequest
|
|
2599
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2600
|
+
number provided, it will be total request
|
|
2601
|
+
timeout. It can also be a pair (tuple) of
|
|
2602
|
+
(connection, read) timeouts.
|
|
2603
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2604
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2605
|
+
request; this effectively ignores the
|
|
2606
|
+
authentication in the spec for a single request.
|
|
2607
|
+
:type _request_auth: dict, optional
|
|
2608
|
+
:param _content_type: force content-type for the request.
|
|
2609
|
+
:type _content_type: str, Optional
|
|
2610
|
+
:param _headers: set to override the headers for a single
|
|
2611
|
+
request; this effectively ignores the headers
|
|
2612
|
+
in the spec for a single request.
|
|
2613
|
+
:type _headers: dict, optional
|
|
2614
|
+
:param _host_index: set to override the host_index for a single
|
|
2615
|
+
request; this effectively ignores the host_index
|
|
2616
|
+
in the spec for a single request.
|
|
2617
|
+
:type _host_index: int, optional
|
|
2618
|
+
:return: Returns the result object.
|
|
2619
|
+
""" # noqa: E501
|
|
2620
|
+
|
|
2621
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_copy_serialize(
|
|
2622
|
+
version=version,
|
|
2623
|
+
resource_id=resource_id,
|
|
2624
|
+
x_platform_id=x_platform_id,
|
|
2625
|
+
expand=expand,
|
|
2626
|
+
set_previous_end_at=set_previous_end_at,
|
|
2627
|
+
set_next_start_at=set_next_start_at,
|
|
2628
|
+
pricing_plan_schedule_copy_create_request=pricing_plan_schedule_copy_create_request,
|
|
2629
|
+
_request_auth=_request_auth,
|
|
2630
|
+
_content_type=_content_type,
|
|
2631
|
+
_headers=_headers,
|
|
2632
|
+
_host_index=_host_index
|
|
2633
|
+
)
|
|
2634
|
+
|
|
2635
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2636
|
+
'201': "PricingPlanSchedule",
|
|
2637
|
+
'400': "ApiError",
|
|
2638
|
+
'401': "ApiError",
|
|
2639
|
+
'403': "ApiError",
|
|
2640
|
+
'409': "ApiError",
|
|
2641
|
+
'500': "ApiError",
|
|
2642
|
+
}
|
|
2643
|
+
response_data = self.api_client.call_api(
|
|
2644
|
+
*_param,
|
|
2645
|
+
_request_timeout=_request_timeout
|
|
2646
|
+
)
|
|
2647
|
+
return response_data.response
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
def _post_pricing_plan_schedules_by_resource_id_copy_serialize(
|
|
2651
|
+
self,
|
|
2652
|
+
version,
|
|
2653
|
+
resource_id,
|
|
2654
|
+
x_platform_id,
|
|
2655
|
+
expand,
|
|
2656
|
+
set_previous_end_at,
|
|
2657
|
+
set_next_start_at,
|
|
2658
|
+
pricing_plan_schedule_copy_create_request,
|
|
2659
|
+
_request_auth,
|
|
2660
|
+
_content_type,
|
|
2661
|
+
_headers,
|
|
2662
|
+
_host_index,
|
|
2663
|
+
) -> RequestSerialized:
|
|
2664
|
+
|
|
2665
|
+
_host = None
|
|
2666
|
+
|
|
2667
|
+
_collection_formats: Dict[str, str] = {
|
|
2668
|
+
'expand[]': 'multi',
|
|
2669
|
+
}
|
|
2670
|
+
|
|
2671
|
+
_path_params: Dict[str, str] = {}
|
|
2672
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2673
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2674
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2675
|
+
_files: Dict[
|
|
2676
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2677
|
+
] = {}
|
|
2678
|
+
_body_params: Optional[bytes] = None
|
|
2679
|
+
|
|
2680
|
+
# process the path parameters
|
|
2681
|
+
if version is not None:
|
|
2682
|
+
_path_params['version'] = version
|
|
2683
|
+
if resource_id is not None:
|
|
2684
|
+
_path_params['resourceId'] = resource_id
|
|
2685
|
+
# process the query parameters
|
|
2686
|
+
if expand is not None:
|
|
2687
|
+
|
|
2688
|
+
_query_params.append(('expand[]', expand))
|
|
2689
|
+
|
|
2690
|
+
if set_previous_end_at is not None:
|
|
2691
|
+
|
|
2692
|
+
_query_params.append(('set_previous_end_at', set_previous_end_at))
|
|
2693
|
+
|
|
2694
|
+
if set_next_start_at is not None:
|
|
2695
|
+
|
|
2696
|
+
_query_params.append(('set_next_start_at', set_next_start_at))
|
|
2697
|
+
|
|
2698
|
+
# process the header parameters
|
|
2699
|
+
if x_platform_id is not None:
|
|
2700
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
2701
|
+
# process the form parameters
|
|
2702
|
+
# process the body parameter
|
|
2703
|
+
if pricing_plan_schedule_copy_create_request is not None:
|
|
2704
|
+
_body_params = pricing_plan_schedule_copy_create_request
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
# set the HTTP header `Accept`
|
|
2708
|
+
if 'Accept' not in _header_params:
|
|
2709
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2710
|
+
[
|
|
2711
|
+
'application/json',
|
|
2712
|
+
'*/*'
|
|
2713
|
+
]
|
|
2714
|
+
)
|
|
2715
|
+
|
|
2716
|
+
# set the HTTP header `Content-Type`
|
|
2717
|
+
if _content_type:
|
|
2718
|
+
_header_params['Content-Type'] = _content_type
|
|
2719
|
+
else:
|
|
2720
|
+
_default_content_type = (
|
|
2721
|
+
self.api_client.select_header_content_type(
|
|
2722
|
+
[
|
|
2723
|
+
'application/json'
|
|
2724
|
+
]
|
|
2725
|
+
)
|
|
2726
|
+
)
|
|
2727
|
+
if _default_content_type is not None:
|
|
2728
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2729
|
+
|
|
2730
|
+
# authentication setting
|
|
2731
|
+
_auth_settings: List[str] = [
|
|
2732
|
+
'JWT-Authentication',
|
|
2733
|
+
'API-Key'
|
|
2734
|
+
]
|
|
2735
|
+
|
|
2736
|
+
return self.api_client.param_serialize(
|
|
2737
|
+
method='POST',
|
|
2738
|
+
resource_path='/v{version}/pricing-plan-schedules/{resourceId}/copy',
|
|
2739
|
+
path_params=_path_params,
|
|
2740
|
+
query_params=_query_params,
|
|
2741
|
+
header_params=_header_params,
|
|
2742
|
+
body=_body_params,
|
|
2743
|
+
post_params=_form_params,
|
|
2744
|
+
files=_files,
|
|
2745
|
+
auth_settings=_auth_settings,
|
|
2746
|
+
collection_formats=_collection_formats,
|
|
2747
|
+
_host=_host,
|
|
2748
|
+
_request_auth=_request_auth
|
|
2749
|
+
)
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
@validate_call
|
|
2755
|
+
def post_pricing_plan_schedules_by_resource_id_migrate(
|
|
2756
|
+
self,
|
|
2757
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2758
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2759
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2760
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2761
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
2762
|
+
pricing_plan_schedule_migrate_create_request: Optional[PricingPlanScheduleMigrateCreateRequest] = None,
|
|
2763
|
+
_request_timeout: Union[
|
|
2764
|
+
None,
|
|
2765
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2766
|
+
Tuple[
|
|
2767
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2768
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2769
|
+
]
|
|
2770
|
+
] = None,
|
|
2771
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2772
|
+
_content_type: Optional[StrictStr] = None,
|
|
2773
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2774
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2775
|
+
) -> PricingPlanSchedule:
|
|
2776
|
+
"""Migrate a pricing plan schedule to a new pricing plan version
|
|
2777
|
+
|
|
2778
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
2779
|
+
|
|
2780
|
+
:param version: version (required)
|
|
2781
|
+
:type version: str
|
|
2782
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2783
|
+
:type resource_id: str
|
|
2784
|
+
:param x_platform_id: Platform ID.
|
|
2785
|
+
:type x_platform_id: str
|
|
2786
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2787
|
+
:type expand: List[str]
|
|
2788
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
2789
|
+
:type set_previous_end_at: bool
|
|
2790
|
+
:param pricing_plan_schedule_migrate_create_request:
|
|
2791
|
+
:type pricing_plan_schedule_migrate_create_request: PricingPlanScheduleMigrateCreateRequest
|
|
2792
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2793
|
+
number provided, it will be total request
|
|
2794
|
+
timeout. It can also be a pair (tuple) of
|
|
2795
|
+
(connection, read) timeouts.
|
|
2796
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2797
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2798
|
+
request; this effectively ignores the
|
|
2799
|
+
authentication in the spec for a single request.
|
|
2800
|
+
:type _request_auth: dict, optional
|
|
2801
|
+
:param _content_type: force content-type for the request.
|
|
2802
|
+
:type _content_type: str, Optional
|
|
2803
|
+
:param _headers: set to override the headers for a single
|
|
2804
|
+
request; this effectively ignores the headers
|
|
2805
|
+
in the spec for a single request.
|
|
2806
|
+
:type _headers: dict, optional
|
|
2807
|
+
:param _host_index: set to override the host_index for a single
|
|
2808
|
+
request; this effectively ignores the host_index
|
|
2809
|
+
in the spec for a single request.
|
|
2810
|
+
:type _host_index: int, optional
|
|
2811
|
+
:return: Returns the result object.
|
|
2812
|
+
""" # noqa: E501
|
|
2813
|
+
|
|
2814
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_migrate_serialize(
|
|
2815
|
+
version=version,
|
|
2816
|
+
resource_id=resource_id,
|
|
2817
|
+
x_platform_id=x_platform_id,
|
|
2818
|
+
expand=expand,
|
|
2819
|
+
set_previous_end_at=set_previous_end_at,
|
|
2820
|
+
pricing_plan_schedule_migrate_create_request=pricing_plan_schedule_migrate_create_request,
|
|
2821
|
+
_request_auth=_request_auth,
|
|
2822
|
+
_content_type=_content_type,
|
|
2823
|
+
_headers=_headers,
|
|
2824
|
+
_host_index=_host_index
|
|
2825
|
+
)
|
|
2826
|
+
|
|
2827
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2828
|
+
'201': "PricingPlanSchedule",
|
|
2829
|
+
'400': "ApiError",
|
|
2830
|
+
'401': "ApiError",
|
|
2831
|
+
'403': "ApiError",
|
|
2832
|
+
'409': "ApiError",
|
|
2833
|
+
'500': "ApiError",
|
|
2834
|
+
}
|
|
2835
|
+
response_data = self.api_client.call_api(
|
|
2836
|
+
*_param,
|
|
2837
|
+
_request_timeout=_request_timeout
|
|
2838
|
+
)
|
|
2839
|
+
response_data.read()
|
|
2840
|
+
return self.api_client.response_deserialize(
|
|
2841
|
+
response_data=response_data,
|
|
2842
|
+
response_types_map=_response_types_map,
|
|
2843
|
+
).data
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
@validate_call
|
|
2847
|
+
def post_pricing_plan_schedules_by_resource_id_migrate_with_http_info(
|
|
2848
|
+
self,
|
|
2849
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2850
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2851
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2852
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2853
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
2854
|
+
pricing_plan_schedule_migrate_create_request: Optional[PricingPlanScheduleMigrateCreateRequest] = None,
|
|
2855
|
+
_request_timeout: Union[
|
|
2856
|
+
None,
|
|
2857
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2858
|
+
Tuple[
|
|
2859
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2860
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2861
|
+
]
|
|
2862
|
+
] = None,
|
|
2863
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2864
|
+
_content_type: Optional[StrictStr] = None,
|
|
2865
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2866
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2867
|
+
) -> ApiResponse[PricingPlanSchedule]:
|
|
2868
|
+
"""Migrate a pricing plan schedule to a new pricing plan version
|
|
2869
|
+
|
|
2870
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
2871
|
+
|
|
2872
|
+
:param version: version (required)
|
|
2873
|
+
:type version: str
|
|
2874
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2875
|
+
:type resource_id: str
|
|
2876
|
+
:param x_platform_id: Platform ID.
|
|
2877
|
+
:type x_platform_id: str
|
|
2878
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2879
|
+
:type expand: List[str]
|
|
2880
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
2881
|
+
:type set_previous_end_at: bool
|
|
2882
|
+
:param pricing_plan_schedule_migrate_create_request:
|
|
2883
|
+
:type pricing_plan_schedule_migrate_create_request: PricingPlanScheduleMigrateCreateRequest
|
|
2884
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2885
|
+
number provided, it will be total request
|
|
2886
|
+
timeout. It can also be a pair (tuple) of
|
|
2887
|
+
(connection, read) timeouts.
|
|
2888
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2889
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2890
|
+
request; this effectively ignores the
|
|
2891
|
+
authentication in the spec for a single request.
|
|
2892
|
+
:type _request_auth: dict, optional
|
|
2893
|
+
:param _content_type: force content-type for the request.
|
|
2894
|
+
:type _content_type: str, Optional
|
|
2895
|
+
:param _headers: set to override the headers for a single
|
|
2896
|
+
request; this effectively ignores the headers
|
|
2897
|
+
in the spec for a single request.
|
|
2898
|
+
:type _headers: dict, optional
|
|
2899
|
+
:param _host_index: set to override the host_index for a single
|
|
2900
|
+
request; this effectively ignores the host_index
|
|
2901
|
+
in the spec for a single request.
|
|
2902
|
+
:type _host_index: int, optional
|
|
2903
|
+
:return: Returns the result object.
|
|
2904
|
+
""" # noqa: E501
|
|
2905
|
+
|
|
2906
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_migrate_serialize(
|
|
2907
|
+
version=version,
|
|
2908
|
+
resource_id=resource_id,
|
|
2909
|
+
x_platform_id=x_platform_id,
|
|
2910
|
+
expand=expand,
|
|
2911
|
+
set_previous_end_at=set_previous_end_at,
|
|
2912
|
+
pricing_plan_schedule_migrate_create_request=pricing_plan_schedule_migrate_create_request,
|
|
2913
|
+
_request_auth=_request_auth,
|
|
2914
|
+
_content_type=_content_type,
|
|
2915
|
+
_headers=_headers,
|
|
2916
|
+
_host_index=_host_index
|
|
2917
|
+
)
|
|
2918
|
+
|
|
2919
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2920
|
+
'201': "PricingPlanSchedule",
|
|
2921
|
+
'400': "ApiError",
|
|
2922
|
+
'401': "ApiError",
|
|
2923
|
+
'403': "ApiError",
|
|
2924
|
+
'409': "ApiError",
|
|
2925
|
+
'500': "ApiError",
|
|
2926
|
+
}
|
|
2927
|
+
response_data = self.api_client.call_api(
|
|
2928
|
+
*_param,
|
|
2929
|
+
_request_timeout=_request_timeout
|
|
2930
|
+
)
|
|
2931
|
+
response_data.read()
|
|
2932
|
+
return self.api_client.response_deserialize(
|
|
2933
|
+
response_data=response_data,
|
|
2934
|
+
response_types_map=_response_types_map,
|
|
2935
|
+
)
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
@validate_call
|
|
2939
|
+
def post_pricing_plan_schedules_by_resource_id_migrate_without_preload_content(
|
|
2940
|
+
self,
|
|
2941
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
2942
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
2943
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
2944
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
2945
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
2946
|
+
pricing_plan_schedule_migrate_create_request: Optional[PricingPlanScheduleMigrateCreateRequest] = None,
|
|
2947
|
+
_request_timeout: Union[
|
|
2948
|
+
None,
|
|
2949
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2950
|
+
Tuple[
|
|
2951
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2952
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2953
|
+
]
|
|
2954
|
+
] = None,
|
|
2955
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2956
|
+
_content_type: Optional[StrictStr] = None,
|
|
2957
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2958
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2959
|
+
) -> RESTResponseType:
|
|
2960
|
+
"""Migrate a pricing plan schedule to a new pricing plan version
|
|
2961
|
+
|
|
2962
|
+
Requires the PRICING_PLAN_SCHEDULE.CREATE or QUOTE.PRICING_PLAN_SCHEDULE.CREATE permission.
|
|
2963
|
+
|
|
2964
|
+
:param version: version (required)
|
|
2965
|
+
:type version: str
|
|
2966
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
2967
|
+
:type resource_id: str
|
|
2968
|
+
:param x_platform_id: Platform ID.
|
|
2969
|
+
:type x_platform_id: str
|
|
2970
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
2971
|
+
:type expand: List[str]
|
|
2972
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
2973
|
+
:type set_previous_end_at: bool
|
|
2974
|
+
:param pricing_plan_schedule_migrate_create_request:
|
|
2975
|
+
:type pricing_plan_schedule_migrate_create_request: PricingPlanScheduleMigrateCreateRequest
|
|
2976
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2977
|
+
number provided, it will be total request
|
|
2978
|
+
timeout. It can also be a pair (tuple) of
|
|
2979
|
+
(connection, read) timeouts.
|
|
2980
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2981
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2982
|
+
request; this effectively ignores the
|
|
2983
|
+
authentication in the spec for a single request.
|
|
2984
|
+
:type _request_auth: dict, optional
|
|
2985
|
+
:param _content_type: force content-type for the request.
|
|
2986
|
+
:type _content_type: str, Optional
|
|
2987
|
+
:param _headers: set to override the headers for a single
|
|
2988
|
+
request; this effectively ignores the headers
|
|
2989
|
+
in the spec for a single request.
|
|
2990
|
+
:type _headers: dict, optional
|
|
2991
|
+
:param _host_index: set to override the host_index for a single
|
|
2992
|
+
request; this effectively ignores the host_index
|
|
2993
|
+
in the spec for a single request.
|
|
2994
|
+
:type _host_index: int, optional
|
|
2995
|
+
:return: Returns the result object.
|
|
2996
|
+
""" # noqa: E501
|
|
2997
|
+
|
|
2998
|
+
_param = self._post_pricing_plan_schedules_by_resource_id_migrate_serialize(
|
|
2999
|
+
version=version,
|
|
3000
|
+
resource_id=resource_id,
|
|
3001
|
+
x_platform_id=x_platform_id,
|
|
3002
|
+
expand=expand,
|
|
3003
|
+
set_previous_end_at=set_previous_end_at,
|
|
3004
|
+
pricing_plan_schedule_migrate_create_request=pricing_plan_schedule_migrate_create_request,
|
|
3005
|
+
_request_auth=_request_auth,
|
|
3006
|
+
_content_type=_content_type,
|
|
3007
|
+
_headers=_headers,
|
|
3008
|
+
_host_index=_host_index
|
|
3009
|
+
)
|
|
3010
|
+
|
|
3011
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3012
|
+
'201': "PricingPlanSchedule",
|
|
3013
|
+
'400': "ApiError",
|
|
3014
|
+
'401': "ApiError",
|
|
3015
|
+
'403': "ApiError",
|
|
3016
|
+
'409': "ApiError",
|
|
3017
|
+
'500': "ApiError",
|
|
3018
|
+
}
|
|
3019
|
+
response_data = self.api_client.call_api(
|
|
3020
|
+
*_param,
|
|
3021
|
+
_request_timeout=_request_timeout
|
|
3022
|
+
)
|
|
3023
|
+
return response_data.response
|
|
3024
|
+
|
|
3025
|
+
|
|
3026
|
+
def _post_pricing_plan_schedules_by_resource_id_migrate_serialize(
|
|
3027
|
+
self,
|
|
3028
|
+
version,
|
|
3029
|
+
resource_id,
|
|
3030
|
+
x_platform_id,
|
|
3031
|
+
expand,
|
|
3032
|
+
set_previous_end_at,
|
|
3033
|
+
pricing_plan_schedule_migrate_create_request,
|
|
3034
|
+
_request_auth,
|
|
3035
|
+
_content_type,
|
|
3036
|
+
_headers,
|
|
3037
|
+
_host_index,
|
|
3038
|
+
) -> RequestSerialized:
|
|
3039
|
+
|
|
3040
|
+
_host = None
|
|
3041
|
+
|
|
3042
|
+
_collection_formats: Dict[str, str] = {
|
|
3043
|
+
'expand[]': 'multi',
|
|
3044
|
+
}
|
|
3045
|
+
|
|
3046
|
+
_path_params: Dict[str, str] = {}
|
|
3047
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3048
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3049
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3050
|
+
_files: Dict[
|
|
3051
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3052
|
+
] = {}
|
|
3053
|
+
_body_params: Optional[bytes] = None
|
|
3054
|
+
|
|
3055
|
+
# process the path parameters
|
|
3056
|
+
if version is not None:
|
|
3057
|
+
_path_params['version'] = version
|
|
3058
|
+
if resource_id is not None:
|
|
3059
|
+
_path_params['resourceId'] = resource_id
|
|
3060
|
+
# process the query parameters
|
|
3061
|
+
if expand is not None:
|
|
3062
|
+
|
|
3063
|
+
_query_params.append(('expand[]', expand))
|
|
3064
|
+
|
|
3065
|
+
if set_previous_end_at is not None:
|
|
3066
|
+
|
|
3067
|
+
_query_params.append(('set_previous_end_at', set_previous_end_at))
|
|
3068
|
+
|
|
3069
|
+
# process the header parameters
|
|
3070
|
+
if x_platform_id is not None:
|
|
3071
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
3072
|
+
# process the form parameters
|
|
3073
|
+
# process the body parameter
|
|
3074
|
+
if pricing_plan_schedule_migrate_create_request is not None:
|
|
3075
|
+
_body_params = pricing_plan_schedule_migrate_create_request
|
|
3076
|
+
|
|
3077
|
+
|
|
3078
|
+
# set the HTTP header `Accept`
|
|
3079
|
+
if 'Accept' not in _header_params:
|
|
3080
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3081
|
+
[
|
|
3082
|
+
'application/json',
|
|
3083
|
+
'*/*'
|
|
3084
|
+
]
|
|
3085
|
+
)
|
|
3086
|
+
|
|
3087
|
+
# set the HTTP header `Content-Type`
|
|
3088
|
+
if _content_type:
|
|
3089
|
+
_header_params['Content-Type'] = _content_type
|
|
3090
|
+
else:
|
|
3091
|
+
_default_content_type = (
|
|
3092
|
+
self.api_client.select_header_content_type(
|
|
3093
|
+
[
|
|
3094
|
+
'application/json'
|
|
3095
|
+
]
|
|
3096
|
+
)
|
|
3097
|
+
)
|
|
3098
|
+
if _default_content_type is not None:
|
|
3099
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3100
|
+
|
|
3101
|
+
# authentication setting
|
|
3102
|
+
_auth_settings: List[str] = [
|
|
3103
|
+
'JWT-Authentication',
|
|
3104
|
+
'API-Key'
|
|
3105
|
+
]
|
|
3106
|
+
|
|
3107
|
+
return self.api_client.param_serialize(
|
|
3108
|
+
method='POST',
|
|
3109
|
+
resource_path='/v{version}/pricing-plan-schedules/{resourceId}/migrate',
|
|
3110
|
+
path_params=_path_params,
|
|
3111
|
+
query_params=_query_params,
|
|
3112
|
+
header_params=_header_params,
|
|
3113
|
+
body=_body_params,
|
|
3114
|
+
post_params=_form_params,
|
|
3115
|
+
files=_files,
|
|
3116
|
+
auth_settings=_auth_settings,
|
|
3117
|
+
collection_formats=_collection_formats,
|
|
3118
|
+
_host=_host,
|
|
3119
|
+
_request_auth=_request_auth
|
|
3120
|
+
)
|
|
3121
|
+
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
|
|
3125
|
+
@validate_call
|
|
3126
|
+
def update_pricing_plan_schedules_by_resource_id(
|
|
3127
|
+
self,
|
|
3128
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
3129
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
3130
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
3131
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
3132
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
3133
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
3134
|
+
pricing_plan_schedule_update_request: Optional[PricingPlanScheduleUpdateRequest] = None,
|
|
3135
|
+
_request_timeout: Union[
|
|
3136
|
+
None,
|
|
3137
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3138
|
+
Tuple[
|
|
3139
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3140
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3141
|
+
]
|
|
3142
|
+
] = None,
|
|
3143
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3144
|
+
_content_type: Optional[StrictStr] = None,
|
|
3145
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3146
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3147
|
+
) -> PricingPlanSchedule:
|
|
3148
|
+
"""Update a pricingPlanSchedule
|
|
3149
|
+
|
|
3150
|
+
Requires the PRICING_PLAN_SCHEDULE.UPDATE or QUOTE.PRICING_PLAN_SCHEDULE.UPDATE permission.
|
|
3151
|
+
|
|
3152
|
+
:param version: version (required)
|
|
3153
|
+
:type version: str
|
|
3154
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
3155
|
+
:type resource_id: str
|
|
3156
|
+
:param x_platform_id: Platform ID.
|
|
3157
|
+
:type x_platform_id: str
|
|
3158
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
3159
|
+
:type expand: List[str]
|
|
3160
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
3161
|
+
:type set_previous_end_at: bool
|
|
3162
|
+
:param set_next_start_at: Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at
|
|
3163
|
+
:type set_next_start_at: bool
|
|
3164
|
+
:param pricing_plan_schedule_update_request:
|
|
3165
|
+
:type pricing_plan_schedule_update_request: PricingPlanScheduleUpdateRequest
|
|
3166
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3167
|
+
number provided, it will be total request
|
|
3168
|
+
timeout. It can also be a pair (tuple) of
|
|
3169
|
+
(connection, read) timeouts.
|
|
3170
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3171
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3172
|
+
request; this effectively ignores the
|
|
3173
|
+
authentication in the spec for a single request.
|
|
3174
|
+
:type _request_auth: dict, optional
|
|
3175
|
+
:param _content_type: force content-type for the request.
|
|
3176
|
+
:type _content_type: str, Optional
|
|
3177
|
+
:param _headers: set to override the headers for a single
|
|
3178
|
+
request; this effectively ignores the headers
|
|
3179
|
+
in the spec for a single request.
|
|
3180
|
+
:type _headers: dict, optional
|
|
3181
|
+
:param _host_index: set to override the host_index for a single
|
|
3182
|
+
request; this effectively ignores the host_index
|
|
3183
|
+
in the spec for a single request.
|
|
3184
|
+
:type _host_index: int, optional
|
|
3185
|
+
:return: Returns the result object.
|
|
3186
|
+
""" # noqa: E501
|
|
3187
|
+
|
|
3188
|
+
_param = self._update_pricing_plan_schedules_by_resource_id_serialize(
|
|
3189
|
+
version=version,
|
|
3190
|
+
resource_id=resource_id,
|
|
3191
|
+
x_platform_id=x_platform_id,
|
|
3192
|
+
expand=expand,
|
|
3193
|
+
set_previous_end_at=set_previous_end_at,
|
|
3194
|
+
set_next_start_at=set_next_start_at,
|
|
3195
|
+
pricing_plan_schedule_update_request=pricing_plan_schedule_update_request,
|
|
3196
|
+
_request_auth=_request_auth,
|
|
3197
|
+
_content_type=_content_type,
|
|
3198
|
+
_headers=_headers,
|
|
3199
|
+
_host_index=_host_index
|
|
3200
|
+
)
|
|
3201
|
+
|
|
3202
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3203
|
+
'200': "PricingPlanSchedule",
|
|
3204
|
+
'400': "ApiError",
|
|
3205
|
+
'401': "ApiError",
|
|
3206
|
+
'403': "ApiError",
|
|
3207
|
+
'500': "ApiError",
|
|
3208
|
+
}
|
|
3209
|
+
response_data = self.api_client.call_api(
|
|
3210
|
+
*_param,
|
|
3211
|
+
_request_timeout=_request_timeout
|
|
3212
|
+
)
|
|
3213
|
+
response_data.read()
|
|
3214
|
+
return self.api_client.response_deserialize(
|
|
3215
|
+
response_data=response_data,
|
|
3216
|
+
response_types_map=_response_types_map,
|
|
3217
|
+
).data
|
|
3218
|
+
|
|
3219
|
+
|
|
3220
|
+
@validate_call
|
|
3221
|
+
def update_pricing_plan_schedules_by_resource_id_with_http_info(
|
|
3222
|
+
self,
|
|
3223
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
3224
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
3225
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
3226
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
3227
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
3228
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
3229
|
+
pricing_plan_schedule_update_request: Optional[PricingPlanScheduleUpdateRequest] = None,
|
|
3230
|
+
_request_timeout: Union[
|
|
3231
|
+
None,
|
|
3232
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3233
|
+
Tuple[
|
|
3234
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3235
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3236
|
+
]
|
|
3237
|
+
] = None,
|
|
3238
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3239
|
+
_content_type: Optional[StrictStr] = None,
|
|
3240
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3241
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3242
|
+
) -> ApiResponse[PricingPlanSchedule]:
|
|
3243
|
+
"""Update a pricingPlanSchedule
|
|
3244
|
+
|
|
3245
|
+
Requires the PRICING_PLAN_SCHEDULE.UPDATE or QUOTE.PRICING_PLAN_SCHEDULE.UPDATE permission.
|
|
3246
|
+
|
|
3247
|
+
:param version: version (required)
|
|
3248
|
+
:type version: str
|
|
3249
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
3250
|
+
:type resource_id: str
|
|
3251
|
+
:param x_platform_id: Platform ID.
|
|
3252
|
+
:type x_platform_id: str
|
|
3253
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
3254
|
+
:type expand: List[str]
|
|
3255
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
3256
|
+
:type set_previous_end_at: bool
|
|
3257
|
+
:param set_next_start_at: Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at
|
|
3258
|
+
:type set_next_start_at: bool
|
|
3259
|
+
:param pricing_plan_schedule_update_request:
|
|
3260
|
+
:type pricing_plan_schedule_update_request: PricingPlanScheduleUpdateRequest
|
|
3261
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3262
|
+
number provided, it will be total request
|
|
3263
|
+
timeout. It can also be a pair (tuple) of
|
|
3264
|
+
(connection, read) timeouts.
|
|
3265
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3266
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3267
|
+
request; this effectively ignores the
|
|
3268
|
+
authentication in the spec for a single request.
|
|
3269
|
+
:type _request_auth: dict, optional
|
|
3270
|
+
:param _content_type: force content-type for the request.
|
|
3271
|
+
:type _content_type: str, Optional
|
|
3272
|
+
:param _headers: set to override the headers for a single
|
|
3273
|
+
request; this effectively ignores the headers
|
|
3274
|
+
in the spec for a single request.
|
|
3275
|
+
:type _headers: dict, optional
|
|
3276
|
+
:param _host_index: set to override the host_index for a single
|
|
3277
|
+
request; this effectively ignores the host_index
|
|
3278
|
+
in the spec for a single request.
|
|
3279
|
+
:type _host_index: int, optional
|
|
3280
|
+
:return: Returns the result object.
|
|
3281
|
+
""" # noqa: E501
|
|
3282
|
+
|
|
3283
|
+
_param = self._update_pricing_plan_schedules_by_resource_id_serialize(
|
|
3284
|
+
version=version,
|
|
3285
|
+
resource_id=resource_id,
|
|
3286
|
+
x_platform_id=x_platform_id,
|
|
3287
|
+
expand=expand,
|
|
3288
|
+
set_previous_end_at=set_previous_end_at,
|
|
3289
|
+
set_next_start_at=set_next_start_at,
|
|
3290
|
+
pricing_plan_schedule_update_request=pricing_plan_schedule_update_request,
|
|
3291
|
+
_request_auth=_request_auth,
|
|
3292
|
+
_content_type=_content_type,
|
|
3293
|
+
_headers=_headers,
|
|
3294
|
+
_host_index=_host_index
|
|
3295
|
+
)
|
|
3296
|
+
|
|
3297
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3298
|
+
'200': "PricingPlanSchedule",
|
|
3299
|
+
'400': "ApiError",
|
|
3300
|
+
'401': "ApiError",
|
|
3301
|
+
'403': "ApiError",
|
|
3302
|
+
'500': "ApiError",
|
|
3303
|
+
}
|
|
3304
|
+
response_data = self.api_client.call_api(
|
|
3305
|
+
*_param,
|
|
3306
|
+
_request_timeout=_request_timeout
|
|
3307
|
+
)
|
|
3308
|
+
response_data.read()
|
|
3309
|
+
return self.api_client.response_deserialize(
|
|
3310
|
+
response_data=response_data,
|
|
3311
|
+
response_types_map=_response_types_map,
|
|
3312
|
+
)
|
|
3313
|
+
|
|
3314
|
+
|
|
3315
|
+
@validate_call
|
|
3316
|
+
def update_pricing_plan_schedules_by_resource_id_without_preload_content(
|
|
3317
|
+
self,
|
|
3318
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
3319
|
+
resource_id: Annotated[StrictStr, Field(description="The ID of the resource to be requested.")],
|
|
3320
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
3321
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
3322
|
+
set_previous_end_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at")] = None,
|
|
3323
|
+
set_next_start_at: Annotated[Optional[StrictBool], Field(description="Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at")] = None,
|
|
3324
|
+
pricing_plan_schedule_update_request: Optional[PricingPlanScheduleUpdateRequest] = None,
|
|
3325
|
+
_request_timeout: Union[
|
|
3326
|
+
None,
|
|
3327
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3328
|
+
Tuple[
|
|
3329
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
3330
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
3331
|
+
]
|
|
3332
|
+
] = None,
|
|
3333
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
3334
|
+
_content_type: Optional[StrictStr] = None,
|
|
3335
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3336
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3337
|
+
) -> RESTResponseType:
|
|
3338
|
+
"""Update a pricingPlanSchedule
|
|
3339
|
+
|
|
3340
|
+
Requires the PRICING_PLAN_SCHEDULE.UPDATE or QUOTE.PRICING_PLAN_SCHEDULE.UPDATE permission.
|
|
3341
|
+
|
|
3342
|
+
:param version: version (required)
|
|
3343
|
+
:type version: str
|
|
3344
|
+
:param resource_id: The ID of the resource to be requested. (required)
|
|
3345
|
+
:type resource_id: str
|
|
3346
|
+
:param x_platform_id: Platform ID.
|
|
3347
|
+
:type x_platform_id: str
|
|
3348
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
3349
|
+
:type expand: List[str]
|
|
3350
|
+
:param set_previous_end_at: Setting the value to true will set the end of the previous schedule to the start of this schedule. Mutually exclusive with set_next_start_at
|
|
3351
|
+
:type set_previous_end_at: bool
|
|
3352
|
+
:param set_next_start_at: Setting the value to true will set the start of the next schedule to the end of this schedule. Mutually exclusive with set_previous_end_at
|
|
3353
|
+
:type set_next_start_at: bool
|
|
3354
|
+
:param pricing_plan_schedule_update_request:
|
|
3355
|
+
:type pricing_plan_schedule_update_request: PricingPlanScheduleUpdateRequest
|
|
3356
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
3357
|
+
number provided, it will be total request
|
|
3358
|
+
timeout. It can also be a pair (tuple) of
|
|
3359
|
+
(connection, read) timeouts.
|
|
3360
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
3361
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
3362
|
+
request; this effectively ignores the
|
|
3363
|
+
authentication in the spec for a single request.
|
|
3364
|
+
:type _request_auth: dict, optional
|
|
3365
|
+
:param _content_type: force content-type for the request.
|
|
3366
|
+
:type _content_type: str, Optional
|
|
3367
|
+
:param _headers: set to override the headers for a single
|
|
3368
|
+
request; this effectively ignores the headers
|
|
3369
|
+
in the spec for a single request.
|
|
3370
|
+
:type _headers: dict, optional
|
|
3371
|
+
:param _host_index: set to override the host_index for a single
|
|
3372
|
+
request; this effectively ignores the host_index
|
|
3373
|
+
in the spec for a single request.
|
|
3374
|
+
:type _host_index: int, optional
|
|
3375
|
+
:return: Returns the result object.
|
|
3376
|
+
""" # noqa: E501
|
|
3377
|
+
|
|
3378
|
+
_param = self._update_pricing_plan_schedules_by_resource_id_serialize(
|
|
3379
|
+
version=version,
|
|
3380
|
+
resource_id=resource_id,
|
|
3381
|
+
x_platform_id=x_platform_id,
|
|
3382
|
+
expand=expand,
|
|
3383
|
+
set_previous_end_at=set_previous_end_at,
|
|
3384
|
+
set_next_start_at=set_next_start_at,
|
|
3385
|
+
pricing_plan_schedule_update_request=pricing_plan_schedule_update_request,
|
|
3386
|
+
_request_auth=_request_auth,
|
|
3387
|
+
_content_type=_content_type,
|
|
3388
|
+
_headers=_headers,
|
|
3389
|
+
_host_index=_host_index
|
|
3390
|
+
)
|
|
3391
|
+
|
|
3392
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
3393
|
+
'200': "PricingPlanSchedule",
|
|
3394
|
+
'400': "ApiError",
|
|
3395
|
+
'401': "ApiError",
|
|
3396
|
+
'403': "ApiError",
|
|
3397
|
+
'500': "ApiError",
|
|
3398
|
+
}
|
|
3399
|
+
response_data = self.api_client.call_api(
|
|
3400
|
+
*_param,
|
|
3401
|
+
_request_timeout=_request_timeout
|
|
3402
|
+
)
|
|
3403
|
+
return response_data.response
|
|
3404
|
+
|
|
3405
|
+
|
|
3406
|
+
def _update_pricing_plan_schedules_by_resource_id_serialize(
|
|
3407
|
+
self,
|
|
3408
|
+
version,
|
|
3409
|
+
resource_id,
|
|
3410
|
+
x_platform_id,
|
|
3411
|
+
expand,
|
|
3412
|
+
set_previous_end_at,
|
|
3413
|
+
set_next_start_at,
|
|
3414
|
+
pricing_plan_schedule_update_request,
|
|
3415
|
+
_request_auth,
|
|
3416
|
+
_content_type,
|
|
3417
|
+
_headers,
|
|
3418
|
+
_host_index,
|
|
3419
|
+
) -> RequestSerialized:
|
|
3420
|
+
|
|
3421
|
+
_host = None
|
|
3422
|
+
|
|
3423
|
+
_collection_formats: Dict[str, str] = {
|
|
3424
|
+
'expand[]': 'multi',
|
|
3425
|
+
}
|
|
3426
|
+
|
|
3427
|
+
_path_params: Dict[str, str] = {}
|
|
3428
|
+
_query_params: List[Tuple[str, str]] = []
|
|
3429
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
3430
|
+
_form_params: List[Tuple[str, str]] = []
|
|
3431
|
+
_files: Dict[
|
|
3432
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
3433
|
+
] = {}
|
|
3434
|
+
_body_params: Optional[bytes] = None
|
|
3435
|
+
|
|
3436
|
+
# process the path parameters
|
|
3437
|
+
if version is not None:
|
|
3438
|
+
_path_params['version'] = version
|
|
3439
|
+
if resource_id is not None:
|
|
3440
|
+
_path_params['resourceId'] = resource_id
|
|
3441
|
+
# process the query parameters
|
|
3442
|
+
if expand is not None:
|
|
3443
|
+
|
|
3444
|
+
_query_params.append(('expand[]', expand))
|
|
3445
|
+
|
|
3446
|
+
if set_previous_end_at is not None:
|
|
3447
|
+
|
|
3448
|
+
_query_params.append(('set_previous_end_at', set_previous_end_at))
|
|
3449
|
+
|
|
3450
|
+
if set_next_start_at is not None:
|
|
3451
|
+
|
|
3452
|
+
_query_params.append(('set_next_start_at', set_next_start_at))
|
|
3453
|
+
|
|
3454
|
+
# process the header parameters
|
|
3455
|
+
if x_platform_id is not None:
|
|
3456
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
3457
|
+
# process the form parameters
|
|
3458
|
+
# process the body parameter
|
|
3459
|
+
if pricing_plan_schedule_update_request is not None:
|
|
3460
|
+
_body_params = pricing_plan_schedule_update_request
|
|
3461
|
+
|
|
3462
|
+
|
|
3463
|
+
# set the HTTP header `Accept`
|
|
3464
|
+
if 'Accept' not in _header_params:
|
|
3465
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3466
|
+
[
|
|
3467
|
+
'application/json',
|
|
3468
|
+
'*/*'
|
|
3469
|
+
]
|
|
3470
|
+
)
|
|
3471
|
+
|
|
3472
|
+
# set the HTTP header `Content-Type`
|
|
3473
|
+
if _content_type:
|
|
3474
|
+
_header_params['Content-Type'] = _content_type
|
|
3475
|
+
else:
|
|
3476
|
+
_default_content_type = (
|
|
3477
|
+
self.api_client.select_header_content_type(
|
|
3478
|
+
[
|
|
3479
|
+
'application/json'
|
|
3480
|
+
]
|
|
3481
|
+
)
|
|
3482
|
+
)
|
|
3483
|
+
if _default_content_type is not None:
|
|
3484
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3485
|
+
|
|
3486
|
+
# authentication setting
|
|
3487
|
+
_auth_settings: List[str] = [
|
|
3488
|
+
'JWT-Authentication',
|
|
3489
|
+
'API-Key'
|
|
3490
|
+
]
|
|
3491
|
+
|
|
3492
|
+
return self.api_client.param_serialize(
|
|
3493
|
+
method='PATCH',
|
|
3494
|
+
resource_path='/v{version}/pricing-plan-schedules/{resourceId}',
|
|
3495
|
+
path_params=_path_params,
|
|
3496
|
+
query_params=_query_params,
|
|
3497
|
+
header_params=_header_params,
|
|
3498
|
+
body=_body_params,
|
|
3499
|
+
post_params=_form_params,
|
|
3500
|
+
files=_files,
|
|
3501
|
+
auth_settings=_auth_settings,
|
|
3502
|
+
collection_formats=_collection_formats,
|
|
3503
|
+
_host=_host,
|
|
3504
|
+
_request_auth=_request_auth
|
|
3505
|
+
)
|
|
3506
|
+
|
|
3507
|
+
|