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,1698 @@
|
|
|
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, StrictStr
|
|
20
|
+
from typing import Dict, List, Optional
|
|
21
|
+
from typing_extensions import Annotated
|
|
22
|
+
from solvimon_python_sdk.models.billing_entity import BillingEntity
|
|
23
|
+
from solvimon_python_sdk.models.billing_entity_create_request import BillingEntityCreateRequest
|
|
24
|
+
from solvimon_python_sdk.models.billing_entity_response_wrapper import BillingEntityResponseWrapper
|
|
25
|
+
from solvimon_python_sdk.models.billing_entity_update_request import BillingEntityUpdateRequest
|
|
26
|
+
|
|
27
|
+
from solvimon_python_sdk.api_client import ApiClient, RequestSerialized
|
|
28
|
+
from solvimon_python_sdk.api_response import ApiResponse
|
|
29
|
+
from solvimon_python_sdk.rest import RESTResponseType
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
class BillingEntitiesApi:
|
|
33
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
34
|
+
Ref: https://openapi-generator.tech
|
|
35
|
+
|
|
36
|
+
Do not edit the class manually.
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
def __init__(self, api_client=None) -> None:
|
|
40
|
+
if api_client is None:
|
|
41
|
+
api_client = ApiClient.get_default()
|
|
42
|
+
self.api_client = api_client
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@validate_call
|
|
46
|
+
def get_billing_entities(
|
|
47
|
+
self,
|
|
48
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
49
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
50
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
51
|
+
custom_field: Annotated[Optional[StrictStr], Field(description="Filter the response by a custom field value.")] = None,
|
|
52
|
+
_request_timeout: Union[
|
|
53
|
+
None,
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
55
|
+
Tuple[
|
|
56
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
58
|
+
]
|
|
59
|
+
] = None,
|
|
60
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
61
|
+
_content_type: Optional[StrictStr] = None,
|
|
62
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
64
|
+
) -> BillingEntityResponseWrapper:
|
|
65
|
+
"""Get a list of all billing entities
|
|
66
|
+
|
|
67
|
+
Requires the BILLING_ENTITY.VIEW permission.
|
|
68
|
+
|
|
69
|
+
:param version: version (required)
|
|
70
|
+
:type version: str
|
|
71
|
+
:param x_platform_id: Platform ID.
|
|
72
|
+
:type x_platform_id: str
|
|
73
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
74
|
+
:type expand: List[str]
|
|
75
|
+
:param custom_field: Filter the response by a custom field value.
|
|
76
|
+
:type custom_field: 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._get_billing_entities_serialize(
|
|
100
|
+
version=version,
|
|
101
|
+
x_platform_id=x_platform_id,
|
|
102
|
+
expand=expand,
|
|
103
|
+
custom_field=custom_field,
|
|
104
|
+
_request_auth=_request_auth,
|
|
105
|
+
_content_type=_content_type,
|
|
106
|
+
_headers=_headers,
|
|
107
|
+
_host_index=_host_index
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
111
|
+
'200': "BillingEntityResponseWrapper",
|
|
112
|
+
'400': "ApiError",
|
|
113
|
+
'401': "ApiError",
|
|
114
|
+
'403': "ApiError",
|
|
115
|
+
'500': "ApiError",
|
|
116
|
+
}
|
|
117
|
+
response_data = self.api_client.call_api(
|
|
118
|
+
*_param,
|
|
119
|
+
_request_timeout=_request_timeout
|
|
120
|
+
)
|
|
121
|
+
response_data.read()
|
|
122
|
+
return self.api_client.response_deserialize(
|
|
123
|
+
response_data=response_data,
|
|
124
|
+
response_types_map=_response_types_map,
|
|
125
|
+
).data
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
@validate_call
|
|
129
|
+
def get_billing_entities_with_http_info(
|
|
130
|
+
self,
|
|
131
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
132
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
133
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
134
|
+
custom_field: Annotated[Optional[StrictStr], Field(description="Filter the response by a custom field value.")] = None,
|
|
135
|
+
_request_timeout: Union[
|
|
136
|
+
None,
|
|
137
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
138
|
+
Tuple[
|
|
139
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
140
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
141
|
+
]
|
|
142
|
+
] = None,
|
|
143
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
144
|
+
_content_type: Optional[StrictStr] = None,
|
|
145
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
146
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
147
|
+
) -> ApiResponse[BillingEntityResponseWrapper]:
|
|
148
|
+
"""Get a list of all billing entities
|
|
149
|
+
|
|
150
|
+
Requires the BILLING_ENTITY.VIEW permission.
|
|
151
|
+
|
|
152
|
+
:param version: version (required)
|
|
153
|
+
:type version: str
|
|
154
|
+
:param x_platform_id: Platform ID.
|
|
155
|
+
:type x_platform_id: str
|
|
156
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
157
|
+
:type expand: List[str]
|
|
158
|
+
:param custom_field: Filter the response by a custom field value.
|
|
159
|
+
:type custom_field: str
|
|
160
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
161
|
+
number provided, it will be total request
|
|
162
|
+
timeout. It can also be a pair (tuple) of
|
|
163
|
+
(connection, read) timeouts.
|
|
164
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
165
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
166
|
+
request; this effectively ignores the
|
|
167
|
+
authentication in the spec for a single request.
|
|
168
|
+
:type _request_auth: dict, optional
|
|
169
|
+
:param _content_type: force content-type for the request.
|
|
170
|
+
:type _content_type: str, Optional
|
|
171
|
+
:param _headers: set to override the headers for a single
|
|
172
|
+
request; this effectively ignores the headers
|
|
173
|
+
in the spec for a single request.
|
|
174
|
+
:type _headers: dict, optional
|
|
175
|
+
:param _host_index: set to override the host_index for a single
|
|
176
|
+
request; this effectively ignores the host_index
|
|
177
|
+
in the spec for a single request.
|
|
178
|
+
:type _host_index: int, optional
|
|
179
|
+
:return: Returns the result object.
|
|
180
|
+
""" # noqa: E501
|
|
181
|
+
|
|
182
|
+
_param = self._get_billing_entities_serialize(
|
|
183
|
+
version=version,
|
|
184
|
+
x_platform_id=x_platform_id,
|
|
185
|
+
expand=expand,
|
|
186
|
+
custom_field=custom_field,
|
|
187
|
+
_request_auth=_request_auth,
|
|
188
|
+
_content_type=_content_type,
|
|
189
|
+
_headers=_headers,
|
|
190
|
+
_host_index=_host_index
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
194
|
+
'200': "BillingEntityResponseWrapper",
|
|
195
|
+
'400': "ApiError",
|
|
196
|
+
'401': "ApiError",
|
|
197
|
+
'403': "ApiError",
|
|
198
|
+
'500': "ApiError",
|
|
199
|
+
}
|
|
200
|
+
response_data = self.api_client.call_api(
|
|
201
|
+
*_param,
|
|
202
|
+
_request_timeout=_request_timeout
|
|
203
|
+
)
|
|
204
|
+
response_data.read()
|
|
205
|
+
return self.api_client.response_deserialize(
|
|
206
|
+
response_data=response_data,
|
|
207
|
+
response_types_map=_response_types_map,
|
|
208
|
+
)
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
@validate_call
|
|
212
|
+
def get_billing_entities_without_preload_content(
|
|
213
|
+
self,
|
|
214
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
215
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
216
|
+
expand: Annotated[Optional[List[StrictStr]], Field(description="The id fields of the resources that are going to be expanded.")] = None,
|
|
217
|
+
custom_field: Annotated[Optional[StrictStr], Field(description="Filter the response by a custom field value.")] = None,
|
|
218
|
+
_request_timeout: Union[
|
|
219
|
+
None,
|
|
220
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
221
|
+
Tuple[
|
|
222
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
223
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
224
|
+
]
|
|
225
|
+
] = None,
|
|
226
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
227
|
+
_content_type: Optional[StrictStr] = None,
|
|
228
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
229
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
230
|
+
) -> RESTResponseType:
|
|
231
|
+
"""Get a list of all billing entities
|
|
232
|
+
|
|
233
|
+
Requires the BILLING_ENTITY.VIEW permission.
|
|
234
|
+
|
|
235
|
+
:param version: version (required)
|
|
236
|
+
:type version: str
|
|
237
|
+
:param x_platform_id: Platform ID.
|
|
238
|
+
:type x_platform_id: str
|
|
239
|
+
:param expand: The id fields of the resources that are going to be expanded.
|
|
240
|
+
:type expand: List[str]
|
|
241
|
+
:param custom_field: Filter the response by a custom field value.
|
|
242
|
+
:type custom_field: str
|
|
243
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
244
|
+
number provided, it will be total request
|
|
245
|
+
timeout. It can also be a pair (tuple) of
|
|
246
|
+
(connection, read) timeouts.
|
|
247
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
248
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
249
|
+
request; this effectively ignores the
|
|
250
|
+
authentication in the spec for a single request.
|
|
251
|
+
:type _request_auth: dict, optional
|
|
252
|
+
:param _content_type: force content-type for the request.
|
|
253
|
+
:type _content_type: str, Optional
|
|
254
|
+
:param _headers: set to override the headers for a single
|
|
255
|
+
request; this effectively ignores the headers
|
|
256
|
+
in the spec for a single request.
|
|
257
|
+
:type _headers: dict, optional
|
|
258
|
+
:param _host_index: set to override the host_index for a single
|
|
259
|
+
request; this effectively ignores the host_index
|
|
260
|
+
in the spec for a single request.
|
|
261
|
+
:type _host_index: int, optional
|
|
262
|
+
:return: Returns the result object.
|
|
263
|
+
""" # noqa: E501
|
|
264
|
+
|
|
265
|
+
_param = self._get_billing_entities_serialize(
|
|
266
|
+
version=version,
|
|
267
|
+
x_platform_id=x_platform_id,
|
|
268
|
+
expand=expand,
|
|
269
|
+
custom_field=custom_field,
|
|
270
|
+
_request_auth=_request_auth,
|
|
271
|
+
_content_type=_content_type,
|
|
272
|
+
_headers=_headers,
|
|
273
|
+
_host_index=_host_index
|
|
274
|
+
)
|
|
275
|
+
|
|
276
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
277
|
+
'200': "BillingEntityResponseWrapper",
|
|
278
|
+
'400': "ApiError",
|
|
279
|
+
'401': "ApiError",
|
|
280
|
+
'403': "ApiError",
|
|
281
|
+
'500': "ApiError",
|
|
282
|
+
}
|
|
283
|
+
response_data = self.api_client.call_api(
|
|
284
|
+
*_param,
|
|
285
|
+
_request_timeout=_request_timeout
|
|
286
|
+
)
|
|
287
|
+
return response_data.response
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
def _get_billing_entities_serialize(
|
|
291
|
+
self,
|
|
292
|
+
version,
|
|
293
|
+
x_platform_id,
|
|
294
|
+
expand,
|
|
295
|
+
custom_field,
|
|
296
|
+
_request_auth,
|
|
297
|
+
_content_type,
|
|
298
|
+
_headers,
|
|
299
|
+
_host_index,
|
|
300
|
+
) -> RequestSerialized:
|
|
301
|
+
|
|
302
|
+
_host = None
|
|
303
|
+
|
|
304
|
+
_collection_formats: Dict[str, str] = {
|
|
305
|
+
'expand[]': 'multi',
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
_path_params: Dict[str, str] = {}
|
|
309
|
+
_query_params: List[Tuple[str, str]] = []
|
|
310
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
311
|
+
_form_params: List[Tuple[str, str]] = []
|
|
312
|
+
_files: Dict[
|
|
313
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
314
|
+
] = {}
|
|
315
|
+
_body_params: Optional[bytes] = None
|
|
316
|
+
|
|
317
|
+
# process the path parameters
|
|
318
|
+
if version is not None:
|
|
319
|
+
_path_params['version'] = version
|
|
320
|
+
# process the query parameters
|
|
321
|
+
if expand is not None:
|
|
322
|
+
|
|
323
|
+
_query_params.append(('expand[]', expand))
|
|
324
|
+
|
|
325
|
+
if custom_field is not None:
|
|
326
|
+
|
|
327
|
+
_query_params.append(('custom_field', custom_field))
|
|
328
|
+
|
|
329
|
+
# process the header parameters
|
|
330
|
+
if x_platform_id is not None:
|
|
331
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
332
|
+
# process the form parameters
|
|
333
|
+
# process the body parameter
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
# set the HTTP header `Accept`
|
|
337
|
+
if 'Accept' not in _header_params:
|
|
338
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
339
|
+
[
|
|
340
|
+
'application/json',
|
|
341
|
+
'*/*'
|
|
342
|
+
]
|
|
343
|
+
)
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
# authentication setting
|
|
347
|
+
_auth_settings: List[str] = [
|
|
348
|
+
'JWT-Authentication',
|
|
349
|
+
'API-Key'
|
|
350
|
+
]
|
|
351
|
+
|
|
352
|
+
return self.api_client.param_serialize(
|
|
353
|
+
method='GET',
|
|
354
|
+
resource_path='/v{version}/billing-entities',
|
|
355
|
+
path_params=_path_params,
|
|
356
|
+
query_params=_query_params,
|
|
357
|
+
header_params=_header_params,
|
|
358
|
+
body=_body_params,
|
|
359
|
+
post_params=_form_params,
|
|
360
|
+
files=_files,
|
|
361
|
+
auth_settings=_auth_settings,
|
|
362
|
+
collection_formats=_collection_formats,
|
|
363
|
+
_host=_host,
|
|
364
|
+
_request_auth=_request_auth
|
|
365
|
+
)
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
@validate_call
|
|
371
|
+
def get_billing_entities_by_resource_id_or_reference(
|
|
372
|
+
self,
|
|
373
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
374
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
375
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
376
|
+
_request_timeout: Union[
|
|
377
|
+
None,
|
|
378
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
379
|
+
Tuple[
|
|
380
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
381
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
382
|
+
]
|
|
383
|
+
] = None,
|
|
384
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
385
|
+
_content_type: Optional[StrictStr] = None,
|
|
386
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
387
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
388
|
+
) -> BillingEntity:
|
|
389
|
+
"""Get a billing entity
|
|
390
|
+
|
|
391
|
+
Requires the BILLING_ENTITY.VIEW permission.
|
|
392
|
+
|
|
393
|
+
:param version: version (required)
|
|
394
|
+
:type version: str
|
|
395
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
396
|
+
:type resource_id_or_reference: str
|
|
397
|
+
:param x_platform_id: Platform ID.
|
|
398
|
+
:type x_platform_id: str
|
|
399
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
400
|
+
number provided, it will be total request
|
|
401
|
+
timeout. It can also be a pair (tuple) of
|
|
402
|
+
(connection, read) timeouts.
|
|
403
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
404
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
405
|
+
request; this effectively ignores the
|
|
406
|
+
authentication in the spec for a single request.
|
|
407
|
+
:type _request_auth: dict, optional
|
|
408
|
+
:param _content_type: force content-type for the request.
|
|
409
|
+
:type _content_type: str, Optional
|
|
410
|
+
:param _headers: set to override the headers for a single
|
|
411
|
+
request; this effectively ignores the headers
|
|
412
|
+
in the spec for a single request.
|
|
413
|
+
:type _headers: dict, optional
|
|
414
|
+
:param _host_index: set to override the host_index for a single
|
|
415
|
+
request; this effectively ignores the host_index
|
|
416
|
+
in the spec for a single request.
|
|
417
|
+
:type _host_index: int, optional
|
|
418
|
+
:return: Returns the result object.
|
|
419
|
+
""" # noqa: E501
|
|
420
|
+
|
|
421
|
+
_param = self._get_billing_entities_by_resource_id_or_reference_serialize(
|
|
422
|
+
version=version,
|
|
423
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
424
|
+
x_platform_id=x_platform_id,
|
|
425
|
+
_request_auth=_request_auth,
|
|
426
|
+
_content_type=_content_type,
|
|
427
|
+
_headers=_headers,
|
|
428
|
+
_host_index=_host_index
|
|
429
|
+
)
|
|
430
|
+
|
|
431
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
432
|
+
'200': "BillingEntity",
|
|
433
|
+
'400': "ApiError",
|
|
434
|
+
'401': "ApiError",
|
|
435
|
+
'403': "ApiError",
|
|
436
|
+
'500': "ApiError",
|
|
437
|
+
}
|
|
438
|
+
response_data = self.api_client.call_api(
|
|
439
|
+
*_param,
|
|
440
|
+
_request_timeout=_request_timeout
|
|
441
|
+
)
|
|
442
|
+
response_data.read()
|
|
443
|
+
return self.api_client.response_deserialize(
|
|
444
|
+
response_data=response_data,
|
|
445
|
+
response_types_map=_response_types_map,
|
|
446
|
+
).data
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
@validate_call
|
|
450
|
+
def get_billing_entities_by_resource_id_or_reference_with_http_info(
|
|
451
|
+
self,
|
|
452
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
453
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
454
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
455
|
+
_request_timeout: Union[
|
|
456
|
+
None,
|
|
457
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
458
|
+
Tuple[
|
|
459
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
460
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
461
|
+
]
|
|
462
|
+
] = None,
|
|
463
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
464
|
+
_content_type: Optional[StrictStr] = None,
|
|
465
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
466
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
467
|
+
) -> ApiResponse[BillingEntity]:
|
|
468
|
+
"""Get a billing entity
|
|
469
|
+
|
|
470
|
+
Requires the BILLING_ENTITY.VIEW permission.
|
|
471
|
+
|
|
472
|
+
:param version: version (required)
|
|
473
|
+
:type version: str
|
|
474
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
475
|
+
:type resource_id_or_reference: str
|
|
476
|
+
:param x_platform_id: Platform ID.
|
|
477
|
+
:type x_platform_id: str
|
|
478
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
479
|
+
number provided, it will be total request
|
|
480
|
+
timeout. It can also be a pair (tuple) of
|
|
481
|
+
(connection, read) timeouts.
|
|
482
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
483
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
484
|
+
request; this effectively ignores the
|
|
485
|
+
authentication in the spec for a single request.
|
|
486
|
+
:type _request_auth: dict, optional
|
|
487
|
+
:param _content_type: force content-type for the request.
|
|
488
|
+
:type _content_type: str, Optional
|
|
489
|
+
:param _headers: set to override the headers for a single
|
|
490
|
+
request; this effectively ignores the headers
|
|
491
|
+
in the spec for a single request.
|
|
492
|
+
:type _headers: dict, optional
|
|
493
|
+
:param _host_index: set to override the host_index for a single
|
|
494
|
+
request; this effectively ignores the host_index
|
|
495
|
+
in the spec for a single request.
|
|
496
|
+
:type _host_index: int, optional
|
|
497
|
+
:return: Returns the result object.
|
|
498
|
+
""" # noqa: E501
|
|
499
|
+
|
|
500
|
+
_param = self._get_billing_entities_by_resource_id_or_reference_serialize(
|
|
501
|
+
version=version,
|
|
502
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
503
|
+
x_platform_id=x_platform_id,
|
|
504
|
+
_request_auth=_request_auth,
|
|
505
|
+
_content_type=_content_type,
|
|
506
|
+
_headers=_headers,
|
|
507
|
+
_host_index=_host_index
|
|
508
|
+
)
|
|
509
|
+
|
|
510
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
511
|
+
'200': "BillingEntity",
|
|
512
|
+
'400': "ApiError",
|
|
513
|
+
'401': "ApiError",
|
|
514
|
+
'403': "ApiError",
|
|
515
|
+
'500': "ApiError",
|
|
516
|
+
}
|
|
517
|
+
response_data = self.api_client.call_api(
|
|
518
|
+
*_param,
|
|
519
|
+
_request_timeout=_request_timeout
|
|
520
|
+
)
|
|
521
|
+
response_data.read()
|
|
522
|
+
return self.api_client.response_deserialize(
|
|
523
|
+
response_data=response_data,
|
|
524
|
+
response_types_map=_response_types_map,
|
|
525
|
+
)
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
@validate_call
|
|
529
|
+
def get_billing_entities_by_resource_id_or_reference_without_preload_content(
|
|
530
|
+
self,
|
|
531
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
532
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
533
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
534
|
+
_request_timeout: Union[
|
|
535
|
+
None,
|
|
536
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
537
|
+
Tuple[
|
|
538
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
539
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
540
|
+
]
|
|
541
|
+
] = None,
|
|
542
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
543
|
+
_content_type: Optional[StrictStr] = None,
|
|
544
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
545
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
546
|
+
) -> RESTResponseType:
|
|
547
|
+
"""Get a billing entity
|
|
548
|
+
|
|
549
|
+
Requires the BILLING_ENTITY.VIEW permission.
|
|
550
|
+
|
|
551
|
+
:param version: version (required)
|
|
552
|
+
:type version: str
|
|
553
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
554
|
+
:type resource_id_or_reference: str
|
|
555
|
+
:param x_platform_id: Platform ID.
|
|
556
|
+
:type x_platform_id: str
|
|
557
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
558
|
+
number provided, it will be total request
|
|
559
|
+
timeout. It can also be a pair (tuple) of
|
|
560
|
+
(connection, read) timeouts.
|
|
561
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
562
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
563
|
+
request; this effectively ignores the
|
|
564
|
+
authentication in the spec for a single request.
|
|
565
|
+
:type _request_auth: dict, optional
|
|
566
|
+
:param _content_type: force content-type for the request.
|
|
567
|
+
:type _content_type: str, Optional
|
|
568
|
+
:param _headers: set to override the headers for a single
|
|
569
|
+
request; this effectively ignores the headers
|
|
570
|
+
in the spec for a single request.
|
|
571
|
+
:type _headers: dict, optional
|
|
572
|
+
:param _host_index: set to override the host_index for a single
|
|
573
|
+
request; this effectively ignores the host_index
|
|
574
|
+
in the spec for a single request.
|
|
575
|
+
:type _host_index: int, optional
|
|
576
|
+
:return: Returns the result object.
|
|
577
|
+
""" # noqa: E501
|
|
578
|
+
|
|
579
|
+
_param = self._get_billing_entities_by_resource_id_or_reference_serialize(
|
|
580
|
+
version=version,
|
|
581
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
582
|
+
x_platform_id=x_platform_id,
|
|
583
|
+
_request_auth=_request_auth,
|
|
584
|
+
_content_type=_content_type,
|
|
585
|
+
_headers=_headers,
|
|
586
|
+
_host_index=_host_index
|
|
587
|
+
)
|
|
588
|
+
|
|
589
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
590
|
+
'200': "BillingEntity",
|
|
591
|
+
'400': "ApiError",
|
|
592
|
+
'401': "ApiError",
|
|
593
|
+
'403': "ApiError",
|
|
594
|
+
'500': "ApiError",
|
|
595
|
+
}
|
|
596
|
+
response_data = self.api_client.call_api(
|
|
597
|
+
*_param,
|
|
598
|
+
_request_timeout=_request_timeout
|
|
599
|
+
)
|
|
600
|
+
return response_data.response
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
def _get_billing_entities_by_resource_id_or_reference_serialize(
|
|
604
|
+
self,
|
|
605
|
+
version,
|
|
606
|
+
resource_id_or_reference,
|
|
607
|
+
x_platform_id,
|
|
608
|
+
_request_auth,
|
|
609
|
+
_content_type,
|
|
610
|
+
_headers,
|
|
611
|
+
_host_index,
|
|
612
|
+
) -> RequestSerialized:
|
|
613
|
+
|
|
614
|
+
_host = None
|
|
615
|
+
|
|
616
|
+
_collection_formats: Dict[str, str] = {
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
_path_params: Dict[str, str] = {}
|
|
620
|
+
_query_params: List[Tuple[str, str]] = []
|
|
621
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
622
|
+
_form_params: List[Tuple[str, str]] = []
|
|
623
|
+
_files: Dict[
|
|
624
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
625
|
+
] = {}
|
|
626
|
+
_body_params: Optional[bytes] = None
|
|
627
|
+
|
|
628
|
+
# process the path parameters
|
|
629
|
+
if version is not None:
|
|
630
|
+
_path_params['version'] = version
|
|
631
|
+
if resource_id_or_reference is not None:
|
|
632
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
633
|
+
# process the query parameters
|
|
634
|
+
# process the header parameters
|
|
635
|
+
if x_platform_id is not None:
|
|
636
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
637
|
+
# process the form parameters
|
|
638
|
+
# process the body parameter
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
# set the HTTP header `Accept`
|
|
642
|
+
if 'Accept' not in _header_params:
|
|
643
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
644
|
+
[
|
|
645
|
+
'application/json',
|
|
646
|
+
'*/*'
|
|
647
|
+
]
|
|
648
|
+
)
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
# authentication setting
|
|
652
|
+
_auth_settings: List[str] = [
|
|
653
|
+
'JWT-Authentication',
|
|
654
|
+
'API-Key'
|
|
655
|
+
]
|
|
656
|
+
|
|
657
|
+
return self.api_client.param_serialize(
|
|
658
|
+
method='GET',
|
|
659
|
+
resource_path='/v{version}/billing-entities/{resourceIdOrReference}',
|
|
660
|
+
path_params=_path_params,
|
|
661
|
+
query_params=_query_params,
|
|
662
|
+
header_params=_header_params,
|
|
663
|
+
body=_body_params,
|
|
664
|
+
post_params=_form_params,
|
|
665
|
+
files=_files,
|
|
666
|
+
auth_settings=_auth_settings,
|
|
667
|
+
collection_formats=_collection_formats,
|
|
668
|
+
_host=_host,
|
|
669
|
+
_request_auth=_request_auth
|
|
670
|
+
)
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
@validate_call
|
|
676
|
+
def post_billing_entities(
|
|
677
|
+
self,
|
|
678
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
679
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
680
|
+
billing_entity_create_request: Optional[BillingEntityCreateRequest] = None,
|
|
681
|
+
_request_timeout: Union[
|
|
682
|
+
None,
|
|
683
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
684
|
+
Tuple[
|
|
685
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
686
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
687
|
+
]
|
|
688
|
+
] = None,
|
|
689
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
690
|
+
_content_type: Optional[StrictStr] = None,
|
|
691
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
692
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
693
|
+
) -> BillingEntity:
|
|
694
|
+
"""Create a billing entity
|
|
695
|
+
|
|
696
|
+
Requires the BILLING_ENTITY.CREATE permission.
|
|
697
|
+
|
|
698
|
+
:param version: version (required)
|
|
699
|
+
:type version: str
|
|
700
|
+
:param x_platform_id: Platform ID.
|
|
701
|
+
:type x_platform_id: str
|
|
702
|
+
:param billing_entity_create_request:
|
|
703
|
+
:type billing_entity_create_request: BillingEntityCreateRequest
|
|
704
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
705
|
+
number provided, it will be total request
|
|
706
|
+
timeout. It can also be a pair (tuple) of
|
|
707
|
+
(connection, read) timeouts.
|
|
708
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
709
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
710
|
+
request; this effectively ignores the
|
|
711
|
+
authentication in the spec for a single request.
|
|
712
|
+
:type _request_auth: dict, optional
|
|
713
|
+
:param _content_type: force content-type for the request.
|
|
714
|
+
:type _content_type: str, Optional
|
|
715
|
+
:param _headers: set to override the headers for a single
|
|
716
|
+
request; this effectively ignores the headers
|
|
717
|
+
in the spec for a single request.
|
|
718
|
+
:type _headers: dict, optional
|
|
719
|
+
:param _host_index: set to override the host_index for a single
|
|
720
|
+
request; this effectively ignores the host_index
|
|
721
|
+
in the spec for a single request.
|
|
722
|
+
:type _host_index: int, optional
|
|
723
|
+
:return: Returns the result object.
|
|
724
|
+
""" # noqa: E501
|
|
725
|
+
|
|
726
|
+
_param = self._post_billing_entities_serialize(
|
|
727
|
+
version=version,
|
|
728
|
+
x_platform_id=x_platform_id,
|
|
729
|
+
billing_entity_create_request=billing_entity_create_request,
|
|
730
|
+
_request_auth=_request_auth,
|
|
731
|
+
_content_type=_content_type,
|
|
732
|
+
_headers=_headers,
|
|
733
|
+
_host_index=_host_index
|
|
734
|
+
)
|
|
735
|
+
|
|
736
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
737
|
+
'201': "BillingEntity",
|
|
738
|
+
'400': "ApiError",
|
|
739
|
+
'401': "ApiError",
|
|
740
|
+
'403': "ApiError",
|
|
741
|
+
'409': "ApiError",
|
|
742
|
+
'500': "ApiError",
|
|
743
|
+
}
|
|
744
|
+
response_data = self.api_client.call_api(
|
|
745
|
+
*_param,
|
|
746
|
+
_request_timeout=_request_timeout
|
|
747
|
+
)
|
|
748
|
+
response_data.read()
|
|
749
|
+
return self.api_client.response_deserialize(
|
|
750
|
+
response_data=response_data,
|
|
751
|
+
response_types_map=_response_types_map,
|
|
752
|
+
).data
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
@validate_call
|
|
756
|
+
def post_billing_entities_with_http_info(
|
|
757
|
+
self,
|
|
758
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
759
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
760
|
+
billing_entity_create_request: Optional[BillingEntityCreateRequest] = None,
|
|
761
|
+
_request_timeout: Union[
|
|
762
|
+
None,
|
|
763
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
764
|
+
Tuple[
|
|
765
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
766
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
767
|
+
]
|
|
768
|
+
] = None,
|
|
769
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
770
|
+
_content_type: Optional[StrictStr] = None,
|
|
771
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
772
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
773
|
+
) -> ApiResponse[BillingEntity]:
|
|
774
|
+
"""Create a billing entity
|
|
775
|
+
|
|
776
|
+
Requires the BILLING_ENTITY.CREATE permission.
|
|
777
|
+
|
|
778
|
+
:param version: version (required)
|
|
779
|
+
:type version: str
|
|
780
|
+
:param x_platform_id: Platform ID.
|
|
781
|
+
:type x_platform_id: str
|
|
782
|
+
:param billing_entity_create_request:
|
|
783
|
+
:type billing_entity_create_request: BillingEntityCreateRequest
|
|
784
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
785
|
+
number provided, it will be total request
|
|
786
|
+
timeout. It can also be a pair (tuple) of
|
|
787
|
+
(connection, read) timeouts.
|
|
788
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
789
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
790
|
+
request; this effectively ignores the
|
|
791
|
+
authentication in the spec for a single request.
|
|
792
|
+
:type _request_auth: dict, optional
|
|
793
|
+
:param _content_type: force content-type for the request.
|
|
794
|
+
:type _content_type: str, Optional
|
|
795
|
+
:param _headers: set to override the headers for a single
|
|
796
|
+
request; this effectively ignores the headers
|
|
797
|
+
in the spec for a single request.
|
|
798
|
+
:type _headers: dict, optional
|
|
799
|
+
:param _host_index: set to override the host_index for a single
|
|
800
|
+
request; this effectively ignores the host_index
|
|
801
|
+
in the spec for a single request.
|
|
802
|
+
:type _host_index: int, optional
|
|
803
|
+
:return: Returns the result object.
|
|
804
|
+
""" # noqa: E501
|
|
805
|
+
|
|
806
|
+
_param = self._post_billing_entities_serialize(
|
|
807
|
+
version=version,
|
|
808
|
+
x_platform_id=x_platform_id,
|
|
809
|
+
billing_entity_create_request=billing_entity_create_request,
|
|
810
|
+
_request_auth=_request_auth,
|
|
811
|
+
_content_type=_content_type,
|
|
812
|
+
_headers=_headers,
|
|
813
|
+
_host_index=_host_index
|
|
814
|
+
)
|
|
815
|
+
|
|
816
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
817
|
+
'201': "BillingEntity",
|
|
818
|
+
'400': "ApiError",
|
|
819
|
+
'401': "ApiError",
|
|
820
|
+
'403': "ApiError",
|
|
821
|
+
'409': "ApiError",
|
|
822
|
+
'500': "ApiError",
|
|
823
|
+
}
|
|
824
|
+
response_data = self.api_client.call_api(
|
|
825
|
+
*_param,
|
|
826
|
+
_request_timeout=_request_timeout
|
|
827
|
+
)
|
|
828
|
+
response_data.read()
|
|
829
|
+
return self.api_client.response_deserialize(
|
|
830
|
+
response_data=response_data,
|
|
831
|
+
response_types_map=_response_types_map,
|
|
832
|
+
)
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
@validate_call
|
|
836
|
+
def post_billing_entities_without_preload_content(
|
|
837
|
+
self,
|
|
838
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
839
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
840
|
+
billing_entity_create_request: Optional[BillingEntityCreateRequest] = None,
|
|
841
|
+
_request_timeout: Union[
|
|
842
|
+
None,
|
|
843
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
844
|
+
Tuple[
|
|
845
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
846
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
847
|
+
]
|
|
848
|
+
] = None,
|
|
849
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
850
|
+
_content_type: Optional[StrictStr] = None,
|
|
851
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
852
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
853
|
+
) -> RESTResponseType:
|
|
854
|
+
"""Create a billing entity
|
|
855
|
+
|
|
856
|
+
Requires the BILLING_ENTITY.CREATE permission.
|
|
857
|
+
|
|
858
|
+
:param version: version (required)
|
|
859
|
+
:type version: str
|
|
860
|
+
:param x_platform_id: Platform ID.
|
|
861
|
+
:type x_platform_id: str
|
|
862
|
+
:param billing_entity_create_request:
|
|
863
|
+
:type billing_entity_create_request: BillingEntityCreateRequest
|
|
864
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
865
|
+
number provided, it will be total request
|
|
866
|
+
timeout. It can also be a pair (tuple) of
|
|
867
|
+
(connection, read) timeouts.
|
|
868
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
869
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
870
|
+
request; this effectively ignores the
|
|
871
|
+
authentication in the spec for a single request.
|
|
872
|
+
:type _request_auth: dict, optional
|
|
873
|
+
:param _content_type: force content-type for the request.
|
|
874
|
+
:type _content_type: str, Optional
|
|
875
|
+
:param _headers: set to override the headers for a single
|
|
876
|
+
request; this effectively ignores the headers
|
|
877
|
+
in the spec for a single request.
|
|
878
|
+
:type _headers: dict, optional
|
|
879
|
+
:param _host_index: set to override the host_index for a single
|
|
880
|
+
request; this effectively ignores the host_index
|
|
881
|
+
in the spec for a single request.
|
|
882
|
+
:type _host_index: int, optional
|
|
883
|
+
:return: Returns the result object.
|
|
884
|
+
""" # noqa: E501
|
|
885
|
+
|
|
886
|
+
_param = self._post_billing_entities_serialize(
|
|
887
|
+
version=version,
|
|
888
|
+
x_platform_id=x_platform_id,
|
|
889
|
+
billing_entity_create_request=billing_entity_create_request,
|
|
890
|
+
_request_auth=_request_auth,
|
|
891
|
+
_content_type=_content_type,
|
|
892
|
+
_headers=_headers,
|
|
893
|
+
_host_index=_host_index
|
|
894
|
+
)
|
|
895
|
+
|
|
896
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
897
|
+
'201': "BillingEntity",
|
|
898
|
+
'400': "ApiError",
|
|
899
|
+
'401': "ApiError",
|
|
900
|
+
'403': "ApiError",
|
|
901
|
+
'409': "ApiError",
|
|
902
|
+
'500': "ApiError",
|
|
903
|
+
}
|
|
904
|
+
response_data = self.api_client.call_api(
|
|
905
|
+
*_param,
|
|
906
|
+
_request_timeout=_request_timeout
|
|
907
|
+
)
|
|
908
|
+
return response_data.response
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
def _post_billing_entities_serialize(
|
|
912
|
+
self,
|
|
913
|
+
version,
|
|
914
|
+
x_platform_id,
|
|
915
|
+
billing_entity_create_request,
|
|
916
|
+
_request_auth,
|
|
917
|
+
_content_type,
|
|
918
|
+
_headers,
|
|
919
|
+
_host_index,
|
|
920
|
+
) -> RequestSerialized:
|
|
921
|
+
|
|
922
|
+
_host = None
|
|
923
|
+
|
|
924
|
+
_collection_formats: Dict[str, str] = {
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
_path_params: Dict[str, str] = {}
|
|
928
|
+
_query_params: List[Tuple[str, str]] = []
|
|
929
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
930
|
+
_form_params: List[Tuple[str, str]] = []
|
|
931
|
+
_files: Dict[
|
|
932
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
933
|
+
] = {}
|
|
934
|
+
_body_params: Optional[bytes] = None
|
|
935
|
+
|
|
936
|
+
# process the path parameters
|
|
937
|
+
if version is not None:
|
|
938
|
+
_path_params['version'] = version
|
|
939
|
+
# process the query parameters
|
|
940
|
+
# process the header parameters
|
|
941
|
+
if x_platform_id is not None:
|
|
942
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
943
|
+
# process the form parameters
|
|
944
|
+
# process the body parameter
|
|
945
|
+
if billing_entity_create_request is not None:
|
|
946
|
+
_body_params = billing_entity_create_request
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
# set the HTTP header `Accept`
|
|
950
|
+
if 'Accept' not in _header_params:
|
|
951
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
952
|
+
[
|
|
953
|
+
'application/json',
|
|
954
|
+
'*/*'
|
|
955
|
+
]
|
|
956
|
+
)
|
|
957
|
+
|
|
958
|
+
# set the HTTP header `Content-Type`
|
|
959
|
+
if _content_type:
|
|
960
|
+
_header_params['Content-Type'] = _content_type
|
|
961
|
+
else:
|
|
962
|
+
_default_content_type = (
|
|
963
|
+
self.api_client.select_header_content_type(
|
|
964
|
+
[
|
|
965
|
+
'application/json'
|
|
966
|
+
]
|
|
967
|
+
)
|
|
968
|
+
)
|
|
969
|
+
if _default_content_type is not None:
|
|
970
|
+
_header_params['Content-Type'] = _default_content_type
|
|
971
|
+
|
|
972
|
+
# authentication setting
|
|
973
|
+
_auth_settings: List[str] = [
|
|
974
|
+
'JWT-Authentication',
|
|
975
|
+
'API-Key'
|
|
976
|
+
]
|
|
977
|
+
|
|
978
|
+
return self.api_client.param_serialize(
|
|
979
|
+
method='POST',
|
|
980
|
+
resource_path='/v{version}/billing-entities',
|
|
981
|
+
path_params=_path_params,
|
|
982
|
+
query_params=_query_params,
|
|
983
|
+
header_params=_header_params,
|
|
984
|
+
body=_body_params,
|
|
985
|
+
post_params=_form_params,
|
|
986
|
+
files=_files,
|
|
987
|
+
auth_settings=_auth_settings,
|
|
988
|
+
collection_formats=_collection_formats,
|
|
989
|
+
_host=_host,
|
|
990
|
+
_request_auth=_request_auth
|
|
991
|
+
)
|
|
992
|
+
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
@validate_call
|
|
997
|
+
def update_billing_entities(
|
|
998
|
+
self,
|
|
999
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1000
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1001
|
+
identifier_field: Annotated[Optional[StrictStr], Field(description="Which field to use to identify whether the resource exists or not")] = None,
|
|
1002
|
+
custom_field_reference: Annotated[Optional[StrictStr], Field(description="Which custom field to use to identify whether the resource exists or not")] = None,
|
|
1003
|
+
field_actions: Annotated[Optional[Dict[str, Dict[str, StrictStr]]], Field(description="The list of actions for specific fields.")] = None,
|
|
1004
|
+
billing_entity_create_request: Optional[BillingEntityCreateRequest] = None,
|
|
1005
|
+
_request_timeout: Union[
|
|
1006
|
+
None,
|
|
1007
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1008
|
+
Tuple[
|
|
1009
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1010
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1011
|
+
]
|
|
1012
|
+
] = None,
|
|
1013
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1014
|
+
_content_type: Optional[StrictStr] = None,
|
|
1015
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1016
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1017
|
+
) -> BillingEntity:
|
|
1018
|
+
"""Update or create a billing entity (upsert)
|
|
1019
|
+
|
|
1020
|
+
Requires the BILLING_ENTITY.CREATE or BILLING_ENTITY.UPDATE permission.
|
|
1021
|
+
|
|
1022
|
+
:param version: version (required)
|
|
1023
|
+
:type version: str
|
|
1024
|
+
:param x_platform_id: Platform ID.
|
|
1025
|
+
:type x_platform_id: str
|
|
1026
|
+
:param identifier_field: Which field to use to identify whether the resource exists or not
|
|
1027
|
+
:type identifier_field: str
|
|
1028
|
+
:param custom_field_reference: Which custom field to use to identify whether the resource exists or not
|
|
1029
|
+
:type custom_field_reference: str
|
|
1030
|
+
:param field_actions: The list of actions for specific fields.
|
|
1031
|
+
:type field_actions: Dict[str, str]
|
|
1032
|
+
:param billing_entity_create_request:
|
|
1033
|
+
:type billing_entity_create_request: BillingEntityCreateRequest
|
|
1034
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1035
|
+
number provided, it will be total request
|
|
1036
|
+
timeout. It can also be a pair (tuple) of
|
|
1037
|
+
(connection, read) timeouts.
|
|
1038
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1039
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1040
|
+
request; this effectively ignores the
|
|
1041
|
+
authentication in the spec for a single request.
|
|
1042
|
+
:type _request_auth: dict, optional
|
|
1043
|
+
:param _content_type: force content-type for the request.
|
|
1044
|
+
:type _content_type: str, Optional
|
|
1045
|
+
:param _headers: set to override the headers for a single
|
|
1046
|
+
request; this effectively ignores the headers
|
|
1047
|
+
in the spec for a single request.
|
|
1048
|
+
:type _headers: dict, optional
|
|
1049
|
+
:param _host_index: set to override the host_index for a single
|
|
1050
|
+
request; this effectively ignores the host_index
|
|
1051
|
+
in the spec for a single request.
|
|
1052
|
+
:type _host_index: int, optional
|
|
1053
|
+
:return: Returns the result object.
|
|
1054
|
+
""" # noqa: E501
|
|
1055
|
+
|
|
1056
|
+
_param = self._update_billing_entities_serialize(
|
|
1057
|
+
version=version,
|
|
1058
|
+
x_platform_id=x_platform_id,
|
|
1059
|
+
identifier_field=identifier_field,
|
|
1060
|
+
custom_field_reference=custom_field_reference,
|
|
1061
|
+
field_actions=field_actions,
|
|
1062
|
+
billing_entity_create_request=billing_entity_create_request,
|
|
1063
|
+
_request_auth=_request_auth,
|
|
1064
|
+
_content_type=_content_type,
|
|
1065
|
+
_headers=_headers,
|
|
1066
|
+
_host_index=_host_index
|
|
1067
|
+
)
|
|
1068
|
+
|
|
1069
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1070
|
+
'201': "BillingEntity",
|
|
1071
|
+
'400': "ApiError",
|
|
1072
|
+
'401': "ApiError",
|
|
1073
|
+
'403': "ApiError",
|
|
1074
|
+
'404': "ApiError",
|
|
1075
|
+
'500': "ApiError",
|
|
1076
|
+
}
|
|
1077
|
+
response_data = self.api_client.call_api(
|
|
1078
|
+
*_param,
|
|
1079
|
+
_request_timeout=_request_timeout
|
|
1080
|
+
)
|
|
1081
|
+
response_data.read()
|
|
1082
|
+
return self.api_client.response_deserialize(
|
|
1083
|
+
response_data=response_data,
|
|
1084
|
+
response_types_map=_response_types_map,
|
|
1085
|
+
).data
|
|
1086
|
+
|
|
1087
|
+
|
|
1088
|
+
@validate_call
|
|
1089
|
+
def update_billing_entities_with_http_info(
|
|
1090
|
+
self,
|
|
1091
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1092
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1093
|
+
identifier_field: Annotated[Optional[StrictStr], Field(description="Which field to use to identify whether the resource exists or not")] = None,
|
|
1094
|
+
custom_field_reference: Annotated[Optional[StrictStr], Field(description="Which custom field to use to identify whether the resource exists or not")] = None,
|
|
1095
|
+
field_actions: Annotated[Optional[Dict[str, Dict[str, StrictStr]]], Field(description="The list of actions for specific fields.")] = None,
|
|
1096
|
+
billing_entity_create_request: Optional[BillingEntityCreateRequest] = None,
|
|
1097
|
+
_request_timeout: Union[
|
|
1098
|
+
None,
|
|
1099
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1100
|
+
Tuple[
|
|
1101
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1102
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1103
|
+
]
|
|
1104
|
+
] = None,
|
|
1105
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1106
|
+
_content_type: Optional[StrictStr] = None,
|
|
1107
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1108
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1109
|
+
) -> ApiResponse[BillingEntity]:
|
|
1110
|
+
"""Update or create a billing entity (upsert)
|
|
1111
|
+
|
|
1112
|
+
Requires the BILLING_ENTITY.CREATE or BILLING_ENTITY.UPDATE permission.
|
|
1113
|
+
|
|
1114
|
+
:param version: version (required)
|
|
1115
|
+
:type version: str
|
|
1116
|
+
:param x_platform_id: Platform ID.
|
|
1117
|
+
:type x_platform_id: str
|
|
1118
|
+
:param identifier_field: Which field to use to identify whether the resource exists or not
|
|
1119
|
+
:type identifier_field: str
|
|
1120
|
+
:param custom_field_reference: Which custom field to use to identify whether the resource exists or not
|
|
1121
|
+
:type custom_field_reference: str
|
|
1122
|
+
:param field_actions: The list of actions for specific fields.
|
|
1123
|
+
:type field_actions: Dict[str, str]
|
|
1124
|
+
:param billing_entity_create_request:
|
|
1125
|
+
:type billing_entity_create_request: BillingEntityCreateRequest
|
|
1126
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1127
|
+
number provided, it will be total request
|
|
1128
|
+
timeout. It can also be a pair (tuple) of
|
|
1129
|
+
(connection, read) timeouts.
|
|
1130
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1131
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1132
|
+
request; this effectively ignores the
|
|
1133
|
+
authentication in the spec for a single request.
|
|
1134
|
+
:type _request_auth: dict, optional
|
|
1135
|
+
:param _content_type: force content-type for the request.
|
|
1136
|
+
:type _content_type: str, Optional
|
|
1137
|
+
:param _headers: set to override the headers for a single
|
|
1138
|
+
request; this effectively ignores the headers
|
|
1139
|
+
in the spec for a single request.
|
|
1140
|
+
:type _headers: dict, optional
|
|
1141
|
+
:param _host_index: set to override the host_index for a single
|
|
1142
|
+
request; this effectively ignores the host_index
|
|
1143
|
+
in the spec for a single request.
|
|
1144
|
+
:type _host_index: int, optional
|
|
1145
|
+
:return: Returns the result object.
|
|
1146
|
+
""" # noqa: E501
|
|
1147
|
+
|
|
1148
|
+
_param = self._update_billing_entities_serialize(
|
|
1149
|
+
version=version,
|
|
1150
|
+
x_platform_id=x_platform_id,
|
|
1151
|
+
identifier_field=identifier_field,
|
|
1152
|
+
custom_field_reference=custom_field_reference,
|
|
1153
|
+
field_actions=field_actions,
|
|
1154
|
+
billing_entity_create_request=billing_entity_create_request,
|
|
1155
|
+
_request_auth=_request_auth,
|
|
1156
|
+
_content_type=_content_type,
|
|
1157
|
+
_headers=_headers,
|
|
1158
|
+
_host_index=_host_index
|
|
1159
|
+
)
|
|
1160
|
+
|
|
1161
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1162
|
+
'201': "BillingEntity",
|
|
1163
|
+
'400': "ApiError",
|
|
1164
|
+
'401': "ApiError",
|
|
1165
|
+
'403': "ApiError",
|
|
1166
|
+
'404': "ApiError",
|
|
1167
|
+
'500': "ApiError",
|
|
1168
|
+
}
|
|
1169
|
+
response_data = self.api_client.call_api(
|
|
1170
|
+
*_param,
|
|
1171
|
+
_request_timeout=_request_timeout
|
|
1172
|
+
)
|
|
1173
|
+
response_data.read()
|
|
1174
|
+
return self.api_client.response_deserialize(
|
|
1175
|
+
response_data=response_data,
|
|
1176
|
+
response_types_map=_response_types_map,
|
|
1177
|
+
)
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
@validate_call
|
|
1181
|
+
def update_billing_entities_without_preload_content(
|
|
1182
|
+
self,
|
|
1183
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1184
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1185
|
+
identifier_field: Annotated[Optional[StrictStr], Field(description="Which field to use to identify whether the resource exists or not")] = None,
|
|
1186
|
+
custom_field_reference: Annotated[Optional[StrictStr], Field(description="Which custom field to use to identify whether the resource exists or not")] = None,
|
|
1187
|
+
field_actions: Annotated[Optional[Dict[str, Dict[str, StrictStr]]], Field(description="The list of actions for specific fields.")] = None,
|
|
1188
|
+
billing_entity_create_request: Optional[BillingEntityCreateRequest] = None,
|
|
1189
|
+
_request_timeout: Union[
|
|
1190
|
+
None,
|
|
1191
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1192
|
+
Tuple[
|
|
1193
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1194
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1195
|
+
]
|
|
1196
|
+
] = None,
|
|
1197
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1198
|
+
_content_type: Optional[StrictStr] = None,
|
|
1199
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1200
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1201
|
+
) -> RESTResponseType:
|
|
1202
|
+
"""Update or create a billing entity (upsert)
|
|
1203
|
+
|
|
1204
|
+
Requires the BILLING_ENTITY.CREATE or BILLING_ENTITY.UPDATE permission.
|
|
1205
|
+
|
|
1206
|
+
:param version: version (required)
|
|
1207
|
+
:type version: str
|
|
1208
|
+
:param x_platform_id: Platform ID.
|
|
1209
|
+
:type x_platform_id: str
|
|
1210
|
+
:param identifier_field: Which field to use to identify whether the resource exists or not
|
|
1211
|
+
:type identifier_field: str
|
|
1212
|
+
:param custom_field_reference: Which custom field to use to identify whether the resource exists or not
|
|
1213
|
+
:type custom_field_reference: str
|
|
1214
|
+
:param field_actions: The list of actions for specific fields.
|
|
1215
|
+
:type field_actions: Dict[str, str]
|
|
1216
|
+
:param billing_entity_create_request:
|
|
1217
|
+
:type billing_entity_create_request: BillingEntityCreateRequest
|
|
1218
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1219
|
+
number provided, it will be total request
|
|
1220
|
+
timeout. It can also be a pair (tuple) of
|
|
1221
|
+
(connection, read) timeouts.
|
|
1222
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1223
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1224
|
+
request; this effectively ignores the
|
|
1225
|
+
authentication in the spec for a single request.
|
|
1226
|
+
:type _request_auth: dict, optional
|
|
1227
|
+
:param _content_type: force content-type for the request.
|
|
1228
|
+
:type _content_type: str, Optional
|
|
1229
|
+
:param _headers: set to override the headers for a single
|
|
1230
|
+
request; this effectively ignores the headers
|
|
1231
|
+
in the spec for a single request.
|
|
1232
|
+
:type _headers: dict, optional
|
|
1233
|
+
:param _host_index: set to override the host_index for a single
|
|
1234
|
+
request; this effectively ignores the host_index
|
|
1235
|
+
in the spec for a single request.
|
|
1236
|
+
:type _host_index: int, optional
|
|
1237
|
+
:return: Returns the result object.
|
|
1238
|
+
""" # noqa: E501
|
|
1239
|
+
|
|
1240
|
+
_param = self._update_billing_entities_serialize(
|
|
1241
|
+
version=version,
|
|
1242
|
+
x_platform_id=x_platform_id,
|
|
1243
|
+
identifier_field=identifier_field,
|
|
1244
|
+
custom_field_reference=custom_field_reference,
|
|
1245
|
+
field_actions=field_actions,
|
|
1246
|
+
billing_entity_create_request=billing_entity_create_request,
|
|
1247
|
+
_request_auth=_request_auth,
|
|
1248
|
+
_content_type=_content_type,
|
|
1249
|
+
_headers=_headers,
|
|
1250
|
+
_host_index=_host_index
|
|
1251
|
+
)
|
|
1252
|
+
|
|
1253
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1254
|
+
'201': "BillingEntity",
|
|
1255
|
+
'400': "ApiError",
|
|
1256
|
+
'401': "ApiError",
|
|
1257
|
+
'403': "ApiError",
|
|
1258
|
+
'404': "ApiError",
|
|
1259
|
+
'500': "ApiError",
|
|
1260
|
+
}
|
|
1261
|
+
response_data = self.api_client.call_api(
|
|
1262
|
+
*_param,
|
|
1263
|
+
_request_timeout=_request_timeout
|
|
1264
|
+
)
|
|
1265
|
+
return response_data.response
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
def _update_billing_entities_serialize(
|
|
1269
|
+
self,
|
|
1270
|
+
version,
|
|
1271
|
+
x_platform_id,
|
|
1272
|
+
identifier_field,
|
|
1273
|
+
custom_field_reference,
|
|
1274
|
+
field_actions,
|
|
1275
|
+
billing_entity_create_request,
|
|
1276
|
+
_request_auth,
|
|
1277
|
+
_content_type,
|
|
1278
|
+
_headers,
|
|
1279
|
+
_host_index,
|
|
1280
|
+
) -> RequestSerialized:
|
|
1281
|
+
|
|
1282
|
+
_host = None
|
|
1283
|
+
|
|
1284
|
+
_collection_formats: Dict[str, str] = {
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
_path_params: Dict[str, str] = {}
|
|
1288
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1289
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1290
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1291
|
+
_files: Dict[
|
|
1292
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1293
|
+
] = {}
|
|
1294
|
+
_body_params: Optional[bytes] = None
|
|
1295
|
+
|
|
1296
|
+
# process the path parameters
|
|
1297
|
+
if version is not None:
|
|
1298
|
+
_path_params['version'] = version
|
|
1299
|
+
# process the query parameters
|
|
1300
|
+
if identifier_field is not None:
|
|
1301
|
+
|
|
1302
|
+
_query_params.append(('identifier_field', identifier_field))
|
|
1303
|
+
|
|
1304
|
+
if custom_field_reference is not None:
|
|
1305
|
+
|
|
1306
|
+
_query_params.append(('custom_field_reference', custom_field_reference))
|
|
1307
|
+
|
|
1308
|
+
if field_actions is not None:
|
|
1309
|
+
|
|
1310
|
+
_query_params.append(('field_actions', field_actions))
|
|
1311
|
+
|
|
1312
|
+
# process the header parameters
|
|
1313
|
+
if x_platform_id is not None:
|
|
1314
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1315
|
+
# process the form parameters
|
|
1316
|
+
# process the body parameter
|
|
1317
|
+
if billing_entity_create_request is not None:
|
|
1318
|
+
_body_params = billing_entity_create_request
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
# set the HTTP header `Accept`
|
|
1322
|
+
if 'Accept' not in _header_params:
|
|
1323
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1324
|
+
[
|
|
1325
|
+
'application/json',
|
|
1326
|
+
'*/*'
|
|
1327
|
+
]
|
|
1328
|
+
)
|
|
1329
|
+
|
|
1330
|
+
# set the HTTP header `Content-Type`
|
|
1331
|
+
if _content_type:
|
|
1332
|
+
_header_params['Content-Type'] = _content_type
|
|
1333
|
+
else:
|
|
1334
|
+
_default_content_type = (
|
|
1335
|
+
self.api_client.select_header_content_type(
|
|
1336
|
+
[
|
|
1337
|
+
'application/json'
|
|
1338
|
+
]
|
|
1339
|
+
)
|
|
1340
|
+
)
|
|
1341
|
+
if _default_content_type is not None:
|
|
1342
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1343
|
+
|
|
1344
|
+
# authentication setting
|
|
1345
|
+
_auth_settings: List[str] = [
|
|
1346
|
+
'JWT-Authentication',
|
|
1347
|
+
'API-Key'
|
|
1348
|
+
]
|
|
1349
|
+
|
|
1350
|
+
return self.api_client.param_serialize(
|
|
1351
|
+
method='PUT',
|
|
1352
|
+
resource_path='/v{version}/billing-entities',
|
|
1353
|
+
path_params=_path_params,
|
|
1354
|
+
query_params=_query_params,
|
|
1355
|
+
header_params=_header_params,
|
|
1356
|
+
body=_body_params,
|
|
1357
|
+
post_params=_form_params,
|
|
1358
|
+
files=_files,
|
|
1359
|
+
auth_settings=_auth_settings,
|
|
1360
|
+
collection_formats=_collection_formats,
|
|
1361
|
+
_host=_host,
|
|
1362
|
+
_request_auth=_request_auth
|
|
1363
|
+
)
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
@validate_call
|
|
1369
|
+
def update_billing_entities_by_resource_id_or_reference(
|
|
1370
|
+
self,
|
|
1371
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1372
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
1373
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1374
|
+
billing_entity_update_request: Optional[BillingEntityUpdateRequest] = None,
|
|
1375
|
+
_request_timeout: Union[
|
|
1376
|
+
None,
|
|
1377
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1378
|
+
Tuple[
|
|
1379
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1380
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1381
|
+
]
|
|
1382
|
+
] = None,
|
|
1383
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1384
|
+
_content_type: Optional[StrictStr] = None,
|
|
1385
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1386
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1387
|
+
) -> BillingEntity:
|
|
1388
|
+
"""Update a billing entity
|
|
1389
|
+
|
|
1390
|
+
Requires the BILLING_ENTITY.UPDATE permission.
|
|
1391
|
+
|
|
1392
|
+
:param version: version (required)
|
|
1393
|
+
:type version: str
|
|
1394
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
1395
|
+
:type resource_id_or_reference: str
|
|
1396
|
+
:param x_platform_id: Platform ID.
|
|
1397
|
+
:type x_platform_id: str
|
|
1398
|
+
:param billing_entity_update_request:
|
|
1399
|
+
:type billing_entity_update_request: BillingEntityUpdateRequest
|
|
1400
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1401
|
+
number provided, it will be total request
|
|
1402
|
+
timeout. It can also be a pair (tuple) of
|
|
1403
|
+
(connection, read) timeouts.
|
|
1404
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1405
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1406
|
+
request; this effectively ignores the
|
|
1407
|
+
authentication in the spec for a single request.
|
|
1408
|
+
:type _request_auth: dict, optional
|
|
1409
|
+
:param _content_type: force content-type for the request.
|
|
1410
|
+
:type _content_type: str, Optional
|
|
1411
|
+
:param _headers: set to override the headers for a single
|
|
1412
|
+
request; this effectively ignores the headers
|
|
1413
|
+
in the spec for a single request.
|
|
1414
|
+
:type _headers: dict, optional
|
|
1415
|
+
:param _host_index: set to override the host_index for a single
|
|
1416
|
+
request; this effectively ignores the host_index
|
|
1417
|
+
in the spec for a single request.
|
|
1418
|
+
:type _host_index: int, optional
|
|
1419
|
+
:return: Returns the result object.
|
|
1420
|
+
""" # noqa: E501
|
|
1421
|
+
|
|
1422
|
+
_param = self._update_billing_entities_by_resource_id_or_reference_serialize(
|
|
1423
|
+
version=version,
|
|
1424
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
1425
|
+
x_platform_id=x_platform_id,
|
|
1426
|
+
billing_entity_update_request=billing_entity_update_request,
|
|
1427
|
+
_request_auth=_request_auth,
|
|
1428
|
+
_content_type=_content_type,
|
|
1429
|
+
_headers=_headers,
|
|
1430
|
+
_host_index=_host_index
|
|
1431
|
+
)
|
|
1432
|
+
|
|
1433
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1434
|
+
'200': "BillingEntity",
|
|
1435
|
+
'400': "ApiError",
|
|
1436
|
+
'401': "ApiError",
|
|
1437
|
+
'403': "ApiError",
|
|
1438
|
+
'500': "ApiError",
|
|
1439
|
+
}
|
|
1440
|
+
response_data = self.api_client.call_api(
|
|
1441
|
+
*_param,
|
|
1442
|
+
_request_timeout=_request_timeout
|
|
1443
|
+
)
|
|
1444
|
+
response_data.read()
|
|
1445
|
+
return self.api_client.response_deserialize(
|
|
1446
|
+
response_data=response_data,
|
|
1447
|
+
response_types_map=_response_types_map,
|
|
1448
|
+
).data
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
@validate_call
|
|
1452
|
+
def update_billing_entities_by_resource_id_or_reference_with_http_info(
|
|
1453
|
+
self,
|
|
1454
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1455
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
1456
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1457
|
+
billing_entity_update_request: Optional[BillingEntityUpdateRequest] = 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[BillingEntity]:
|
|
1471
|
+
"""Update a billing entity
|
|
1472
|
+
|
|
1473
|
+
Requires the BILLING_ENTITY.UPDATE permission.
|
|
1474
|
+
|
|
1475
|
+
:param version: version (required)
|
|
1476
|
+
:type version: str
|
|
1477
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
1478
|
+
:type resource_id_or_reference: str
|
|
1479
|
+
:param x_platform_id: Platform ID.
|
|
1480
|
+
:type x_platform_id: str
|
|
1481
|
+
:param billing_entity_update_request:
|
|
1482
|
+
:type billing_entity_update_request: BillingEntityUpdateRequest
|
|
1483
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1484
|
+
number provided, it will be total request
|
|
1485
|
+
timeout. It can also be a pair (tuple) of
|
|
1486
|
+
(connection, read) timeouts.
|
|
1487
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1488
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1489
|
+
request; this effectively ignores the
|
|
1490
|
+
authentication in the spec for a single request.
|
|
1491
|
+
:type _request_auth: dict, optional
|
|
1492
|
+
:param _content_type: force content-type for the request.
|
|
1493
|
+
:type _content_type: str, Optional
|
|
1494
|
+
:param _headers: set to override the headers for a single
|
|
1495
|
+
request; this effectively ignores the headers
|
|
1496
|
+
in the spec for a single request.
|
|
1497
|
+
:type _headers: dict, optional
|
|
1498
|
+
:param _host_index: set to override the host_index for a single
|
|
1499
|
+
request; this effectively ignores the host_index
|
|
1500
|
+
in the spec for a single request.
|
|
1501
|
+
:type _host_index: int, optional
|
|
1502
|
+
:return: Returns the result object.
|
|
1503
|
+
""" # noqa: E501
|
|
1504
|
+
|
|
1505
|
+
_param = self._update_billing_entities_by_resource_id_or_reference_serialize(
|
|
1506
|
+
version=version,
|
|
1507
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
1508
|
+
x_platform_id=x_platform_id,
|
|
1509
|
+
billing_entity_update_request=billing_entity_update_request,
|
|
1510
|
+
_request_auth=_request_auth,
|
|
1511
|
+
_content_type=_content_type,
|
|
1512
|
+
_headers=_headers,
|
|
1513
|
+
_host_index=_host_index
|
|
1514
|
+
)
|
|
1515
|
+
|
|
1516
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1517
|
+
'200': "BillingEntity",
|
|
1518
|
+
'400': "ApiError",
|
|
1519
|
+
'401': "ApiError",
|
|
1520
|
+
'403': "ApiError",
|
|
1521
|
+
'500': "ApiError",
|
|
1522
|
+
}
|
|
1523
|
+
response_data = self.api_client.call_api(
|
|
1524
|
+
*_param,
|
|
1525
|
+
_request_timeout=_request_timeout
|
|
1526
|
+
)
|
|
1527
|
+
response_data.read()
|
|
1528
|
+
return self.api_client.response_deserialize(
|
|
1529
|
+
response_data=response_data,
|
|
1530
|
+
response_types_map=_response_types_map,
|
|
1531
|
+
)
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
@validate_call
|
|
1535
|
+
def update_billing_entities_by_resource_id_or_reference_without_preload_content(
|
|
1536
|
+
self,
|
|
1537
|
+
version: Annotated[StrictStr, Field(description="version")],
|
|
1538
|
+
resource_id_or_reference: Annotated[StrictStr, Field(description="The ID or reference of the resource.")],
|
|
1539
|
+
x_platform_id: Annotated[Optional[StrictStr], Field(description="Platform ID.")] = None,
|
|
1540
|
+
billing_entity_update_request: Optional[BillingEntityUpdateRequest] = None,
|
|
1541
|
+
_request_timeout: Union[
|
|
1542
|
+
None,
|
|
1543
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1544
|
+
Tuple[
|
|
1545
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1546
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1547
|
+
]
|
|
1548
|
+
] = None,
|
|
1549
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1550
|
+
_content_type: Optional[StrictStr] = None,
|
|
1551
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1552
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1553
|
+
) -> RESTResponseType:
|
|
1554
|
+
"""Update a billing entity
|
|
1555
|
+
|
|
1556
|
+
Requires the BILLING_ENTITY.UPDATE permission.
|
|
1557
|
+
|
|
1558
|
+
:param version: version (required)
|
|
1559
|
+
:type version: str
|
|
1560
|
+
:param resource_id_or_reference: The ID or reference of the resource. (required)
|
|
1561
|
+
:type resource_id_or_reference: str
|
|
1562
|
+
:param x_platform_id: Platform ID.
|
|
1563
|
+
:type x_platform_id: str
|
|
1564
|
+
:param billing_entity_update_request:
|
|
1565
|
+
:type billing_entity_update_request: BillingEntityUpdateRequest
|
|
1566
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1567
|
+
number provided, it will be total request
|
|
1568
|
+
timeout. It can also be a pair (tuple) of
|
|
1569
|
+
(connection, read) timeouts.
|
|
1570
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1571
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1572
|
+
request; this effectively ignores the
|
|
1573
|
+
authentication in the spec for a single request.
|
|
1574
|
+
:type _request_auth: dict, optional
|
|
1575
|
+
:param _content_type: force content-type for the request.
|
|
1576
|
+
:type _content_type: str, Optional
|
|
1577
|
+
:param _headers: set to override the headers for a single
|
|
1578
|
+
request; this effectively ignores the headers
|
|
1579
|
+
in the spec for a single request.
|
|
1580
|
+
:type _headers: dict, optional
|
|
1581
|
+
:param _host_index: set to override the host_index for a single
|
|
1582
|
+
request; this effectively ignores the host_index
|
|
1583
|
+
in the spec for a single request.
|
|
1584
|
+
:type _host_index: int, optional
|
|
1585
|
+
:return: Returns the result object.
|
|
1586
|
+
""" # noqa: E501
|
|
1587
|
+
|
|
1588
|
+
_param = self._update_billing_entities_by_resource_id_or_reference_serialize(
|
|
1589
|
+
version=version,
|
|
1590
|
+
resource_id_or_reference=resource_id_or_reference,
|
|
1591
|
+
x_platform_id=x_platform_id,
|
|
1592
|
+
billing_entity_update_request=billing_entity_update_request,
|
|
1593
|
+
_request_auth=_request_auth,
|
|
1594
|
+
_content_type=_content_type,
|
|
1595
|
+
_headers=_headers,
|
|
1596
|
+
_host_index=_host_index
|
|
1597
|
+
)
|
|
1598
|
+
|
|
1599
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1600
|
+
'200': "BillingEntity",
|
|
1601
|
+
'400': "ApiError",
|
|
1602
|
+
'401': "ApiError",
|
|
1603
|
+
'403': "ApiError",
|
|
1604
|
+
'500': "ApiError",
|
|
1605
|
+
}
|
|
1606
|
+
response_data = self.api_client.call_api(
|
|
1607
|
+
*_param,
|
|
1608
|
+
_request_timeout=_request_timeout
|
|
1609
|
+
)
|
|
1610
|
+
return response_data.response
|
|
1611
|
+
|
|
1612
|
+
|
|
1613
|
+
def _update_billing_entities_by_resource_id_or_reference_serialize(
|
|
1614
|
+
self,
|
|
1615
|
+
version,
|
|
1616
|
+
resource_id_or_reference,
|
|
1617
|
+
x_platform_id,
|
|
1618
|
+
billing_entity_update_request,
|
|
1619
|
+
_request_auth,
|
|
1620
|
+
_content_type,
|
|
1621
|
+
_headers,
|
|
1622
|
+
_host_index,
|
|
1623
|
+
) -> RequestSerialized:
|
|
1624
|
+
|
|
1625
|
+
_host = None
|
|
1626
|
+
|
|
1627
|
+
_collection_formats: Dict[str, str] = {
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
_path_params: Dict[str, str] = {}
|
|
1631
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1632
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1633
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1634
|
+
_files: Dict[
|
|
1635
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1636
|
+
] = {}
|
|
1637
|
+
_body_params: Optional[bytes] = None
|
|
1638
|
+
|
|
1639
|
+
# process the path parameters
|
|
1640
|
+
if version is not None:
|
|
1641
|
+
_path_params['version'] = version
|
|
1642
|
+
if resource_id_or_reference is not None:
|
|
1643
|
+
_path_params['resourceIdOrReference'] = resource_id_or_reference
|
|
1644
|
+
# process the query parameters
|
|
1645
|
+
# process the header parameters
|
|
1646
|
+
if x_platform_id is not None:
|
|
1647
|
+
_header_params['x-platform-id'] = x_platform_id
|
|
1648
|
+
# process the form parameters
|
|
1649
|
+
# process the body parameter
|
|
1650
|
+
if billing_entity_update_request is not None:
|
|
1651
|
+
_body_params = billing_entity_update_request
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
|
+
# set the HTTP header `Accept`
|
|
1655
|
+
if 'Accept' not in _header_params:
|
|
1656
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1657
|
+
[
|
|
1658
|
+
'application/json',
|
|
1659
|
+
'*/*'
|
|
1660
|
+
]
|
|
1661
|
+
)
|
|
1662
|
+
|
|
1663
|
+
# set the HTTP header `Content-Type`
|
|
1664
|
+
if _content_type:
|
|
1665
|
+
_header_params['Content-Type'] = _content_type
|
|
1666
|
+
else:
|
|
1667
|
+
_default_content_type = (
|
|
1668
|
+
self.api_client.select_header_content_type(
|
|
1669
|
+
[
|
|
1670
|
+
'application/json'
|
|
1671
|
+
]
|
|
1672
|
+
)
|
|
1673
|
+
)
|
|
1674
|
+
if _default_content_type is not None:
|
|
1675
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1676
|
+
|
|
1677
|
+
# authentication setting
|
|
1678
|
+
_auth_settings: List[str] = [
|
|
1679
|
+
'JWT-Authentication',
|
|
1680
|
+
'API-Key'
|
|
1681
|
+
]
|
|
1682
|
+
|
|
1683
|
+
return self.api_client.param_serialize(
|
|
1684
|
+
method='PATCH',
|
|
1685
|
+
resource_path='/v{version}/billing-entities/{resourceIdOrReference}',
|
|
1686
|
+
path_params=_path_params,
|
|
1687
|
+
query_params=_query_params,
|
|
1688
|
+
header_params=_header_params,
|
|
1689
|
+
body=_body_params,
|
|
1690
|
+
post_params=_form_params,
|
|
1691
|
+
files=_files,
|
|
1692
|
+
auth_settings=_auth_settings,
|
|
1693
|
+
collection_formats=_collection_formats,
|
|
1694
|
+
_host=_host,
|
|
1695
|
+
_request_auth=_request_auth
|
|
1696
|
+
)
|
|
1697
|
+
|
|
1698
|
+
|