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