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