wallee 4.2.0__tar.gz → 5.0.0__tar.gz
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.
- {wallee-4.2.0 → wallee-5.0.0}/PKG-INFO +2 -3
- {wallee-4.2.0 → wallee-5.0.0}/README.md +1 -2
- {wallee-4.2.0 → wallee-5.0.0}/setup.py +2 -2
- {wallee-4.2.0 → wallee-5.0.0}/test/test_refund.py +15 -2
- {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_completion_service.py +3 -0
- {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_service.py +17 -1
- wallee-5.0.0/test/test_webhook_encryption_service.py +78 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_flow_service_api.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/human_user_service_api.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_comment_service_api.py +12 -12
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_comment_service_api.py +12 -12
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_iframe_service_api.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_invoice_comment_service_api.py +12 -12
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_lightbox_service_api.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_mobile_sdk_service_api.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_payment_page_service_api.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_service_api.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/webhook_encryption_service_api.py +3 -3
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api_client.py +11 -6
- {wallee-4.2.0 → wallee-5.0.0}/wallee/configuration.py +5 -5
- {wallee-4.2.0 → wallee-5.0.0}/wallee/encryption_util.py +1 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_webhook_listener_update.py +27 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction.py +27 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_connector_configuration.py +27 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener.py +27 -1
- {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/PKG-INFO +2 -3
- {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/SOURCES.txt +1 -0
- {wallee-4.2.0 → wallee-5.0.0}/LICENSE +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/setup.cfg +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_iframe_service.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_lightbox_service.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_payment_page_service.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/__init__.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/__init__.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/account_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/analytics_query_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/application_user_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/bank_account_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/bank_transaction_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/card_processing_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_attempt_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_bank_transaction_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_flow_level_payment_link_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_flow_level_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/condition_type_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/country_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/country_state_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/currency_bank_account_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/currency_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/customer_address_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/customer_comment_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/customer_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/debt_collection_case_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/debt_collector_configuration_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/debt_collector_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/delivery_indication_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/document_template_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/document_template_type_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/external_transfer_bank_transaction_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_payment_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_payment_slice_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_plan_calculation_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_plan_configuration_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_plan_slice_configuration_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/internal_transfer_bank_transaction_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/invoice_reconciliation_record_invoice_link_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/invoice_reconciliation_record_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/invoice_reimbursement_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/label_description_group_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/label_description_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/language_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/legal_organization_form_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/manual_task_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/mertic_usage_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_connector_configuration_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_connector_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_link_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_method_brand_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_method_configuration_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_method_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_processor_configuration_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_processor_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_terminal_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_terminal_till_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_terminal_transaction_summary_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_web_app_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/permission_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_bank_transaction_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_recovery_bank_transaction_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_recurring_order_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscriber_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_product_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_suspension_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_version_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_transaction_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/space_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/static_value_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscriber_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_affiliate_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_charge_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_ledger_entry_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_metric_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_metric_usage_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_period_bill_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_component_group_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_component_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_fee_tier_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_metered_fee_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_period_fee_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_retirement_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_setup_fee_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_version_retirement_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_version_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_suspension_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_version_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/token_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/token_version_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_completion_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_invoice_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_line_item_version_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_terminal_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_void_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/user_account_role_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/user_space_role_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/web_app_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/webhook_listener_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/api/webhook_url_service_api.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/__init__.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_account_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_application_user_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_customer_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_customer_address_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_customer_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_debt_collection_case_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_human_user_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_payment_link_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_refund_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_shopify_subscription_product_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_space_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscriber_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscription_affiliate_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscription_metric_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscription_product_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_token_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_transaction_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_transaction_invoice_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_transaction_pending.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_webhook_url_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/address.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/address_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query_execution.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query_execution_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query_result_batch.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_schema_column.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_schema_table.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user_create_with_mac_key.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/authenticated_card_data.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/authenticated_card_data_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account_environment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_flow_direction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_source.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_authentication_response.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_authentication_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_cryptogram.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_cryptogram_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_cryptogram_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/cardholder_authentication.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/cardholder_authentication_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_attempt.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_attempt_environment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_attempt_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_bank_transaction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_configuration_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_payment_link.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/client_error.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/client_error_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/completion_line_item.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/completion_line_item_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/condition.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/condition_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/connector_invocation.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/connector_invocation_stage.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/creation_entity_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/criteria_operator.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/currency_bank_account.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_comment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_comment_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_postal_address.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_postal_address_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customers_presence.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/data_collection_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_document.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_source.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_environment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_receipt.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_receipt_source.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector_condition.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector_condition_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/delivery_indication.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/delivery_indication_decision_reason.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/delivery_indication_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/document_template.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/document_template_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/document_template_type_group.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_export_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_filter.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_filter_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_order_by.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_order_by_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/environment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/external_transfer_bank_transaction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/failure_category.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/failure_reason.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/feature.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/feature_category.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/gender.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/human_user.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/human_user_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/human_user_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_calculated_plan.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_calculated_slice.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment_slice.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment_slice_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_plan_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_plan_slice_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/internal_transfer_bank_transaction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_invoice_link.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_rejection_status.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reimbursement.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reimbursement_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reimbursement_with_refund_reference.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor_category.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor_group.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/legal_organization_form.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_attribute.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_attribute_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_reduction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_reduction_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/localized_string.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_action.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_action_style.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/metric_usage.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/one_click_payment_mode.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_adjustment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_adjustment_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_charge_attempt_target_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_charge_attempt_update_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_configuration_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_target_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_update_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_connector.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_connector_creation_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_connector_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_processor.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_processor_creation_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_processor_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_configuration_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_target_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_update_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_void_target_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_void_update_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_connector.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_connector_feature.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_contract.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_contract_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_contract_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_information_hash.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_information_hash_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_initiation_advice_file.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_initiation_advice_file_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_address_handling_mode.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_protection_mode.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_method.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_method_brand.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_method_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_primary_risk_taker.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_processor.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_processor_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_address.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration_version_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_dcc_transaction_sum.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location_version_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_receipt_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_transaction_sum.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_transaction_summary.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_transaction_summary_fetch_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/permission.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/persistable_currency_amount.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/persistable_currency_amount_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_fee_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_fee.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_fee_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_tier_fee.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_tier_fee_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_tier_pricing.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_period_fee.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_period_fee_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_setup_fee.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_setup_fee_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/recurring_indicator.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_bank_transaction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_comment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_comment_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_recovery_bank_transaction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rendered_document.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rendered_terminal_receipt.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rendered_terminal_transaction_summary.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/resource_path.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/resource_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_address_format.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_address_format_field.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_country.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_country_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_currency.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_language.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/role.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/role_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/sales_channel.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/scope.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/server_error.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_additional_line_item_data.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_integration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_integration_payment_app_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_integration_subscription_app_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_recurring_order.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_recurring_order_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_recurring_order_update_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber_creation.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_address.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_address_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_billing_interval_unit.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_creation_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_model_billing_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_model_item.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_model_tax_line.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_pricing_option.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_initiator.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_update_addresses_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_update_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version_item.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version_item_price_strategy.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_weekday.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_tax_line.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_transaction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_transaction_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_address.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_address_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_reference.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_reference_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_view.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/static_value.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_deleted.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_deleting.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_inactive.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_change_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_processing_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_component_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_component_reference_configuration.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_create_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_ledger_entry.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_ledger_entry_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_ledger_entry_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_usage_report.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_usage_report_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_pending.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_period_bill.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_period_bill_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_group.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_group_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_reference.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_reference_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_retirement.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_retirement_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_pending.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_retirement.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_retirement_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_action.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_reason.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_running.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_update_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_version_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax_calculation.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax_class.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tenant_database.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/terminal_receipt_fetch_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/terminal_receipt_format.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_version_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_version_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tokenization_mode.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tokenized_card_data.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tokenized_card_data_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_aware_entity.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_comment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_comment_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_behavior.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_mode.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_environment_selection_strategy.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_group.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_group_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_comment.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_comment_active.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_comment_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_replacement.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_line_item_version.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_line_item_version_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_line_item_version_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_pending.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_user_interface_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_void.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_void_mode.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_void_state.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/two_factor_authentication_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user_account_role.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user_space_role.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/wallet_type.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/web_app_confirmation_request.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/web_app_confirmation_response.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_encryption_public_key.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_identity.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener_entity.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_url.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_url_create.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_url_update.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee/rest.py +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/dependency_links.txt +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/requires.txt +0 -0
- {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wallee
|
|
3
|
-
Version:
|
|
3
|
+
Version: 5.0.0
|
|
4
4
|
Summary: SDK that allows you to access wallee
|
|
5
5
|
Author: Wallee AG
|
|
6
6
|
License: Apache-2.0
|
|
@@ -45,7 +45,7 @@ Library facilitates your interaction with various services such as transactions,
|
|
|
45
45
|
pip3 install --upgrade wallee
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
-
### pip3 install from source via
|
|
48
|
+
### pip3 install from source via GitHub
|
|
49
49
|
|
|
50
50
|
```sh
|
|
51
51
|
pip3 install git+http://github.com/wallee-payment/python-sdk.git
|
|
@@ -73,7 +73,6 @@ You can also optionally set `default_headers` to set some headers that will be s
|
|
|
73
73
|
```python
|
|
74
74
|
from wallee import Configuration
|
|
75
75
|
from wallee.api import TransactionServiceApi, TransactionPaymentPageServiceApi
|
|
76
|
-
from wallee.models import LineItem, LineItemType, TransactionCreate
|
|
77
76
|
|
|
78
77
|
space_id = 405
|
|
79
78
|
|
|
@@ -21,7 +21,7 @@ Library facilitates your interaction with various services such as transactions,
|
|
|
21
21
|
pip3 install --upgrade wallee
|
|
22
22
|
```
|
|
23
23
|
|
|
24
|
-
### pip3 install from source via
|
|
24
|
+
### pip3 install from source via GitHub
|
|
25
25
|
|
|
26
26
|
```sh
|
|
27
27
|
pip3 install git+http://github.com/wallee-payment/python-sdk.git
|
|
@@ -49,7 +49,6 @@ You can also optionally set `default_headers` to set some headers that will be s
|
|
|
49
49
|
```python
|
|
50
50
|
from wallee import Configuration
|
|
51
51
|
from wallee.api import TransactionServiceApi, TransactionPaymentPageServiceApi
|
|
52
|
-
from wallee.models import LineItem, LineItemType, TransactionCreate
|
|
53
52
|
|
|
54
53
|
space_id = 405
|
|
55
54
|
|
|
@@ -84,8 +84,18 @@ class RefundServiceTest(unittest.TestCase):
|
|
|
84
84
|
"State must be SUCCESSFUL",
|
|
85
85
|
)
|
|
86
86
|
|
|
87
|
+
def test_read_not_found(self):
|
|
88
|
+
"""read_not_found() should read not found refund as none"""
|
|
89
|
+
|
|
90
|
+
NOT_FOUND_REFUND_ID = 0
|
|
91
|
+
|
|
92
|
+
refund_read = self.refund_service.read(
|
|
93
|
+
space_id=SPACE_ID, id=NOT_FOUND_REFUND_ID)
|
|
94
|
+
|
|
95
|
+
self.assertIsNone(refund_read, "Return data must be None.")
|
|
96
|
+
|
|
87
97
|
def test_read(self):
|
|
88
|
-
"""read() should
|
|
98
|
+
"""read() should fetch refund details"""
|
|
89
99
|
|
|
90
100
|
transaction = self.transaction_service.create(
|
|
91
101
|
space_id=SPACE_ID, transaction=get_transaction_create())
|
|
@@ -121,6 +131,8 @@ class RefundServiceTest(unittest.TestCase):
|
|
|
121
131
|
read_refund = self.refund_service.read(
|
|
122
132
|
space_id=SPACE_ID, id=refund.id)
|
|
123
133
|
|
|
134
|
+
self.assertIsNotNone(read_refund, "Return data must not be None.")
|
|
135
|
+
|
|
124
136
|
self.assertEqual(
|
|
125
137
|
refund.id,
|
|
126
138
|
read_refund.id,
|
|
@@ -164,7 +176,7 @@ class RefundServiceTest(unittest.TestCase):
|
|
|
164
176
|
criteria = EntityQuery(
|
|
165
177
|
filter=EntityQueryFilter(
|
|
166
178
|
field_name="id",
|
|
167
|
-
value=
|
|
179
|
+
value=refund.id,
|
|
168
180
|
type=EntityQueryFilterType.LEAF,
|
|
169
181
|
operator=CriteriaOperator.EQUALS
|
|
170
182
|
)
|
|
@@ -173,6 +185,7 @@ class RefundServiceTest(unittest.TestCase):
|
|
|
173
185
|
refunds_found = self.refund_service.search(
|
|
174
186
|
SPACE_ID, query=criteria)
|
|
175
187
|
|
|
188
|
+
self.assertEqual(1, len(refunds_found))
|
|
176
189
|
for ref in refunds_found:
|
|
177
190
|
self.assertEqual(
|
|
178
191
|
refund.id,
|
|
@@ -26,6 +26,7 @@ from wallee.models import (
|
|
|
26
26
|
TransactionCompletionState
|
|
27
27
|
)
|
|
28
28
|
|
|
29
|
+
|
|
29
30
|
class TransactionCompletionServiceTest(unittest.TestCase):
|
|
30
31
|
"""TransactionCompletionServiceApi tests"""
|
|
31
32
|
|
|
@@ -126,6 +127,8 @@ class TransactionCompletionServiceTest(unittest.TestCase):
|
|
|
126
127
|
transaction_read = self.transaction_completion_service.read(
|
|
127
128
|
space_id=SPACE_ID, id=transaction_completion.id)
|
|
128
129
|
|
|
130
|
+
self.assertIsNotNone(transaction_read, "Return data must not be None.")
|
|
131
|
+
|
|
129
132
|
self.assertEqual(transaction_completion.id,
|
|
130
133
|
transaction_read.id, "Transaction ids must match", )
|
|
131
134
|
|
|
@@ -155,6 +155,16 @@ class TransactionServiceTest(unittest.TestCase):
|
|
|
155
155
|
self.assertTrue(len(payment_methods) > 0,
|
|
156
156
|
"Payment methods should be configured for a given transaction in test space", )
|
|
157
157
|
|
|
158
|
+
def test_read_not_found(self):
|
|
159
|
+
"""read_not_found() should read not found transaction as none"""
|
|
160
|
+
|
|
161
|
+
NOT_FOUND_TRANSACTION_ID = 0
|
|
162
|
+
|
|
163
|
+
transaction_read = self.transaction_service.read(
|
|
164
|
+
space_id=SPACE_ID, id=NOT_FOUND_TRANSACTION_ID)
|
|
165
|
+
|
|
166
|
+
self.assertIsNone(transaction_read, "Return data must be None.")
|
|
167
|
+
|
|
158
168
|
def test_read(self):
|
|
159
169
|
"""read() should read transaction details"""
|
|
160
170
|
|
|
@@ -164,6 +174,8 @@ class TransactionServiceTest(unittest.TestCase):
|
|
|
164
174
|
transaction_read = self.transaction_service.read(
|
|
165
175
|
space_id=SPACE_ID, id=transaction.id)
|
|
166
176
|
|
|
177
|
+
self.assertIsNotNone(transaction_read, "Return data must not be None.")
|
|
178
|
+
|
|
167
179
|
self.assertEqual(transaction.id, transaction_read.id,
|
|
168
180
|
"Transaction ids should match")
|
|
169
181
|
|
|
@@ -195,6 +207,8 @@ class TransactionServiceTest(unittest.TestCase):
|
|
|
195
207
|
transaction_read = self.transaction_service.read_with_credentials(
|
|
196
208
|
credentials=creds)
|
|
197
209
|
|
|
210
|
+
self.assertIsNotNone(transaction_read, "Return data must not be None.")
|
|
211
|
+
|
|
198
212
|
self.assertEqual(transaction.id, transaction_read.id,
|
|
199
213
|
"Transaction ids should match")
|
|
200
214
|
|
|
@@ -239,7 +253,7 @@ class TransactionServiceTest(unittest.TestCase):
|
|
|
239
253
|
space_id=SPACE_ID, id=transaction.id)
|
|
240
254
|
|
|
241
255
|
self.assertEqual(
|
|
242
|
-
transaction.id, transaction_processed.id, "Transaction ids
|
|
256
|
+
transaction.id, transaction_processed.id, "Transaction ids must match"
|
|
243
257
|
)
|
|
244
258
|
|
|
245
259
|
def test_fetch_one_click_tokens_with_credentials_no_tokens(self):
|
|
@@ -318,6 +332,8 @@ class TransactionServiceTest(unittest.TestCase):
|
|
|
318
332
|
transaction2_read = self.transaction_service.read(
|
|
319
333
|
space_id=SPACE_ID, id=transaction2.id)
|
|
320
334
|
|
|
335
|
+
self.assertIsNotNone(transaction2_read, "Return data must not be None.")
|
|
336
|
+
|
|
321
337
|
self.assertEqual(
|
|
322
338
|
TransactionState.AUTHORIZED,
|
|
323
339
|
transaction2_read.state,
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import unittest
|
|
2
|
+
from unittest.mock import patch
|
|
3
|
+
|
|
4
|
+
from constants import (
|
|
5
|
+
API_CONFIG
|
|
6
|
+
)
|
|
7
|
+
from wallee.api import (
|
|
8
|
+
WebhookEncryptionServiceApi
|
|
9
|
+
)
|
|
10
|
+
from wallee.models import (
|
|
11
|
+
WebhookEncryptionPublicKey
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
CONTENT_TO_VERIFY = ('{"entityId":11,"eventId":35,"listenerEntityId":1472041829003,'
|
|
15
|
+
'"listenerEntityTechnicalName":"Transaction","spaceId":1,"state":"PROCESSING",'
|
|
16
|
+
'"timestamp":"2023-12-19T13:43:35+0000","webhookListenerId":2}')
|
|
17
|
+
|
|
18
|
+
SIGNATURE_HEADER = ("algorithm=SHA256withECDSA, keyId=ab3b774e-770e-4644-9b51-885d71f973e5, "
|
|
19
|
+
"signature=MEYCIQCTzbMrMsOAC6T57T9kQTb1iGZVg2R7n6pY9A4ML4P31gIhAIOoav8cG8x0jpRWQztqSJIC8gXWKq+4DuENEySvmMYf")
|
|
20
|
+
|
|
21
|
+
PUBLIC_KEY_ID = "ab3b774e-770e-4644-9b51-885d71f973e5"
|
|
22
|
+
|
|
23
|
+
VALID_ENCODED_PUBLIC_KEY = "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEdWq7ZBGsjUzhBO3e6mzUBLpjpV3TQw1bL1rk3ocjn5C5qne7TY0OBBhiWgaPtWlvUcqASz903vtfeSTQma+SBA=="
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
class WebhookEncryptionServiceTest(unittest.TestCase):
|
|
27
|
+
"""WebhookEncryptionServiceApi tests"""
|
|
28
|
+
|
|
29
|
+
def setUp(self):
|
|
30
|
+
self.webhook_encryption_service = WebhookEncryptionServiceApi(API_CONFIG)
|
|
31
|
+
|
|
32
|
+
def tearDown(self):
|
|
33
|
+
pass
|
|
34
|
+
|
|
35
|
+
@patch('wallee.api.WebhookEncryptionServiceApi.read')
|
|
36
|
+
def test_validate_valid_content_and_signature(self, mock_webhook_encryption_service_read):
|
|
37
|
+
"""validate_valid_content_and_signature() should validate correct content and signature"""
|
|
38
|
+
|
|
39
|
+
mock_webhook_encryption_service_read.return_value = (
|
|
40
|
+
WebhookEncryptionPublicKey(id=1, public_key=VALID_ENCODED_PUBLIC_KEY))
|
|
41
|
+
|
|
42
|
+
is_content_valid = self.webhook_encryption_service.is_content_valid(SIGNATURE_HEADER, CONTENT_TO_VERIFY)
|
|
43
|
+
|
|
44
|
+
mock_webhook_encryption_service_read.assert_called_once()
|
|
45
|
+
self.assertIsNotNone(is_content_valid, "Return webhook encryption validation marker must not be None.")
|
|
46
|
+
self.assertTrue(is_content_valid, "The webhook encryption content and signature must be valid.")
|
|
47
|
+
|
|
48
|
+
@patch('wallee.api.WebhookEncryptionServiceApi.read')
|
|
49
|
+
def test_read_webhook_encryption_not_found(self, mock_webhook_encryption_service_read):
|
|
50
|
+
"""read_webhook_encryption_not_found() should fail when webhook encryption public key is none """
|
|
51
|
+
|
|
52
|
+
mock_webhook_encryption_service_read.return_value = None
|
|
53
|
+
|
|
54
|
+
with self.assertRaises(ValueError) as context:
|
|
55
|
+
self.webhook_encryption_service.is_content_valid(SIGNATURE_HEADER, CONTENT_TO_VERIFY)
|
|
56
|
+
|
|
57
|
+
self.assertEqual(str(context.exception), f"Could not find public key with id {PUBLIC_KEY_ID}")
|
|
58
|
+
|
|
59
|
+
mock_webhook_encryption_service_read.assert_called_once()
|
|
60
|
+
|
|
61
|
+
@patch('wallee.api.WebhookEncryptionServiceApi.read')
|
|
62
|
+
def test_validate_invalid_signature_header(self, mock_webhook_encryption_service_read):
|
|
63
|
+
"""validate_invalid_signature_header() should fail when signature header is invalid """
|
|
64
|
+
|
|
65
|
+
mock_webhook_encryption_service_read.return_value = (
|
|
66
|
+
WebhookEncryptionPublicKey(id=1, public_key=VALID_ENCODED_PUBLIC_KEY))
|
|
67
|
+
|
|
68
|
+
invalid_signature_header = "algorithm=SHA256withECDSA, keyId=ab3b774e-770e-4644-9b51-885d71f973e5"
|
|
69
|
+
|
|
70
|
+
with self.assertRaises(ValueError) as context:
|
|
71
|
+
self.webhook_encryption_service.is_content_valid(invalid_signature_header, CONTENT_TO_VERIFY)
|
|
72
|
+
|
|
73
|
+
self.assertEqual(str(context.exception), "Invalid webhook signature header. Expected format: "
|
|
74
|
+
"'algorithm=<algorithm>, keyId=<keyId>, signature=<signature>'")
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
if __name__ == "__main__":
|
|
78
|
+
unittest.main(failfast=True)
|
|
@@ -419,7 +419,7 @@ class ChargeFlowServiceApi:
|
|
|
419
419
|
body_params = None
|
|
420
420
|
# HTTP header `Accept`
|
|
421
421
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
422
|
-
['
|
|
422
|
+
['text/plain;charset=utf-8', 'application/json'])
|
|
423
423
|
|
|
424
424
|
# Authentication setting
|
|
425
425
|
auth_settings = []
|
|
@@ -395,7 +395,7 @@ class HumanUserServiceApi:
|
|
|
395
395
|
body_params = params['request']
|
|
396
396
|
# HTTP header `Accept`
|
|
397
397
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
398
|
-
['application/json;charset=utf-8'
|
|
398
|
+
['text/csv', 'application/json;charset=utf-8'])
|
|
399
399
|
|
|
400
400
|
# HTTP header `Content-Type`
|
|
401
401
|
header_params['Content-Type'] = self.api_client.select_header_content_type(
|
|
@@ -135,7 +135,7 @@ class RefundCommentServiceApi:
|
|
|
135
135
|
|
|
136
136
|
:param async_req bool
|
|
137
137
|
:param int space_id: (required)
|
|
138
|
-
:param RefundCommentCreate entity:
|
|
138
|
+
:param RefundCommentCreate entity: The comment object which should be created. (required)
|
|
139
139
|
:return: RefundComment
|
|
140
140
|
If the method is called asynchronously,
|
|
141
141
|
returns the request thread.
|
|
@@ -161,7 +161,7 @@ class RefundCommentServiceApi:
|
|
|
161
161
|
|
|
162
162
|
:param async_req bool
|
|
163
163
|
:param int space_id: (required)
|
|
164
|
-
:param RefundCommentCreate entity:
|
|
164
|
+
:param RefundCommentCreate entity: The comment object which should be created. (required)
|
|
165
165
|
:return: RefundComment
|
|
166
166
|
If the method is called asynchronously,
|
|
167
167
|
returns the request thread.
|
|
@@ -309,8 +309,6 @@ class RefundCommentServiceApi:
|
|
|
309
309
|
query_params = []
|
|
310
310
|
if 'space_id' in params:
|
|
311
311
|
query_params.append(('spaceId', params['space_id']))
|
|
312
|
-
if 'id' in params:
|
|
313
|
-
query_params.append(('id', params['id']))
|
|
314
312
|
|
|
315
313
|
header_params = {}
|
|
316
314
|
|
|
@@ -318,6 +316,8 @@ class RefundCommentServiceApi:
|
|
|
318
316
|
local_var_files = {}
|
|
319
317
|
|
|
320
318
|
body_params = None
|
|
319
|
+
if 'id' in params:
|
|
320
|
+
body_params = params['id']
|
|
321
321
|
# HTTP header `Accept`
|
|
322
322
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
323
323
|
['application/json;charset=utf-8'])
|
|
@@ -357,7 +357,7 @@ class RefundCommentServiceApi:
|
|
|
357
357
|
|
|
358
358
|
:param async_req bool
|
|
359
359
|
:param int space_id: (required)
|
|
360
|
-
:param int id:
|
|
360
|
+
:param int id: The id of the comment to pin to the top. (required)
|
|
361
361
|
:return: None
|
|
362
362
|
If the method is called asynchronously,
|
|
363
363
|
returns the request thread.
|
|
@@ -383,7 +383,7 @@ class RefundCommentServiceApi:
|
|
|
383
383
|
|
|
384
384
|
:param async_req bool
|
|
385
385
|
:param int space_id: (required)
|
|
386
|
-
:param int id:
|
|
386
|
+
:param int id: The id of the comment to pin to the top. (required)
|
|
387
387
|
:return: None
|
|
388
388
|
If the method is called asynchronously,
|
|
389
389
|
returns the request thread.
|
|
@@ -468,7 +468,7 @@ class RefundCommentServiceApi:
|
|
|
468
468
|
|
|
469
469
|
:param async_req bool
|
|
470
470
|
:param int space_id: (required)
|
|
471
|
-
:param int id:
|
|
471
|
+
:param int id: The id of the comment which should be returned. (required)
|
|
472
472
|
:return: RefundComment
|
|
473
473
|
If the method is called asynchronously,
|
|
474
474
|
returns the request thread.
|
|
@@ -494,7 +494,7 @@ class RefundCommentServiceApi:
|
|
|
494
494
|
|
|
495
495
|
:param async_req bool
|
|
496
496
|
:param int space_id: (required)
|
|
497
|
-
:param int id:
|
|
497
|
+
:param int id: The id of the comment which should be returned. (required)
|
|
498
498
|
:return: RefundComment
|
|
499
499
|
If the method is called asynchronously,
|
|
500
500
|
returns the request thread.
|
|
@@ -579,7 +579,7 @@ class RefundCommentServiceApi:
|
|
|
579
579
|
|
|
580
580
|
:param async_req bool
|
|
581
581
|
:param int space_id: (required)
|
|
582
|
-
:param int id:
|
|
582
|
+
:param int id: The id of the comment to unpin. (required)
|
|
583
583
|
:return: None
|
|
584
584
|
If the method is called asynchronously,
|
|
585
585
|
returns the request thread.
|
|
@@ -605,7 +605,7 @@ class RefundCommentServiceApi:
|
|
|
605
605
|
|
|
606
606
|
:param async_req bool
|
|
607
607
|
:param int space_id: (required)
|
|
608
|
-
:param int id:
|
|
608
|
+
:param int id: The id of the comment to unpin. (required)
|
|
609
609
|
:return: None
|
|
610
610
|
If the method is called asynchronously,
|
|
611
611
|
returns the request thread.
|
|
@@ -690,7 +690,7 @@ class RefundCommentServiceApi:
|
|
|
690
690
|
|
|
691
691
|
:param async_req bool
|
|
692
692
|
:param int space_id: (required)
|
|
693
|
-
:param RefundCommentActive entity:
|
|
693
|
+
:param RefundCommentActive entity: The comment object with the properties which should be updated. (required)
|
|
694
694
|
:return: RefundComment
|
|
695
695
|
If the method is called asynchronously,
|
|
696
696
|
returns the request thread.
|
|
@@ -716,7 +716,7 @@ class RefundCommentServiceApi:
|
|
|
716
716
|
|
|
717
717
|
:param async_req bool
|
|
718
718
|
:param int space_id: (required)
|
|
719
|
-
:param RefundCommentActive entity:
|
|
719
|
+
:param RefundCommentActive entity: The comment object with the properties which should be updated. (required)
|
|
720
720
|
:return: RefundComment
|
|
721
721
|
If the method is called asynchronously,
|
|
722
722
|
returns the request thread.
|
|
@@ -135,7 +135,7 @@ class TransactionCommentServiceApi:
|
|
|
135
135
|
|
|
136
136
|
:param async_req bool
|
|
137
137
|
:param int space_id: (required)
|
|
138
|
-
:param TransactionCommentCreate entity:
|
|
138
|
+
:param TransactionCommentCreate entity: The comment object which should be created. (required)
|
|
139
139
|
:return: TransactionComment
|
|
140
140
|
If the method is called asynchronously,
|
|
141
141
|
returns the request thread.
|
|
@@ -161,7 +161,7 @@ class TransactionCommentServiceApi:
|
|
|
161
161
|
|
|
162
162
|
:param async_req bool
|
|
163
163
|
:param int space_id: (required)
|
|
164
|
-
:param TransactionCommentCreate entity:
|
|
164
|
+
:param TransactionCommentCreate entity: The comment object which should be created. (required)
|
|
165
165
|
:return: TransactionComment
|
|
166
166
|
If the method is called asynchronously,
|
|
167
167
|
returns the request thread.
|
|
@@ -309,8 +309,6 @@ class TransactionCommentServiceApi:
|
|
|
309
309
|
query_params = []
|
|
310
310
|
if 'space_id' in params:
|
|
311
311
|
query_params.append(('spaceId', params['space_id']))
|
|
312
|
-
if 'id' in params:
|
|
313
|
-
query_params.append(('id', params['id']))
|
|
314
312
|
|
|
315
313
|
header_params = {}
|
|
316
314
|
|
|
@@ -318,6 +316,8 @@ class TransactionCommentServiceApi:
|
|
|
318
316
|
local_var_files = {}
|
|
319
317
|
|
|
320
318
|
body_params = None
|
|
319
|
+
if 'id' in params:
|
|
320
|
+
body_params = params['id']
|
|
321
321
|
# HTTP header `Accept`
|
|
322
322
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
323
323
|
['application/json;charset=utf-8'])
|
|
@@ -357,7 +357,7 @@ class TransactionCommentServiceApi:
|
|
|
357
357
|
|
|
358
358
|
:param async_req bool
|
|
359
359
|
:param int space_id: (required)
|
|
360
|
-
:param int id:
|
|
360
|
+
:param int id: The id of the comment to pin to the top. (required)
|
|
361
361
|
:return: None
|
|
362
362
|
If the method is called asynchronously,
|
|
363
363
|
returns the request thread.
|
|
@@ -383,7 +383,7 @@ class TransactionCommentServiceApi:
|
|
|
383
383
|
|
|
384
384
|
:param async_req bool
|
|
385
385
|
:param int space_id: (required)
|
|
386
|
-
:param int id:
|
|
386
|
+
:param int id: The id of the comment to pin to the top. (required)
|
|
387
387
|
:return: None
|
|
388
388
|
If the method is called asynchronously,
|
|
389
389
|
returns the request thread.
|
|
@@ -468,7 +468,7 @@ class TransactionCommentServiceApi:
|
|
|
468
468
|
|
|
469
469
|
:param async_req bool
|
|
470
470
|
:param int space_id: (required)
|
|
471
|
-
:param int id:
|
|
471
|
+
:param int id: The id of the comment which should be returned. (required)
|
|
472
472
|
:return: TransactionComment
|
|
473
473
|
If the method is called asynchronously,
|
|
474
474
|
returns the request thread.
|
|
@@ -494,7 +494,7 @@ class TransactionCommentServiceApi:
|
|
|
494
494
|
|
|
495
495
|
:param async_req bool
|
|
496
496
|
:param int space_id: (required)
|
|
497
|
-
:param int id:
|
|
497
|
+
:param int id: The id of the comment which should be returned. (required)
|
|
498
498
|
:return: TransactionComment
|
|
499
499
|
If the method is called asynchronously,
|
|
500
500
|
returns the request thread.
|
|
@@ -579,7 +579,7 @@ class TransactionCommentServiceApi:
|
|
|
579
579
|
|
|
580
580
|
:param async_req bool
|
|
581
581
|
:param int space_id: (required)
|
|
582
|
-
:param int id:
|
|
582
|
+
:param int id: The id of the comment to unpin. (required)
|
|
583
583
|
:return: None
|
|
584
584
|
If the method is called asynchronously,
|
|
585
585
|
returns the request thread.
|
|
@@ -605,7 +605,7 @@ class TransactionCommentServiceApi:
|
|
|
605
605
|
|
|
606
606
|
:param async_req bool
|
|
607
607
|
:param int space_id: (required)
|
|
608
|
-
:param int id:
|
|
608
|
+
:param int id: The id of the comment to unpin. (required)
|
|
609
609
|
:return: None
|
|
610
610
|
If the method is called asynchronously,
|
|
611
611
|
returns the request thread.
|
|
@@ -690,7 +690,7 @@ class TransactionCommentServiceApi:
|
|
|
690
690
|
|
|
691
691
|
:param async_req bool
|
|
692
692
|
:param int space_id: (required)
|
|
693
|
-
:param TransactionCommentActive entity:
|
|
693
|
+
:param TransactionCommentActive entity: The comment object with the properties which should be updated. (required)
|
|
694
694
|
:return: TransactionComment
|
|
695
695
|
If the method is called asynchronously,
|
|
696
696
|
returns the request thread.
|
|
@@ -716,7 +716,7 @@ class TransactionCommentServiceApi:
|
|
|
716
716
|
|
|
717
717
|
:param async_req bool
|
|
718
718
|
:param int space_id: (required)
|
|
719
|
-
:param TransactionCommentActive entity:
|
|
719
|
+
:param TransactionCommentActive entity: The comment object with the properties which should be updated. (required)
|
|
720
720
|
:return: TransactionComment
|
|
721
721
|
If the method is called asynchronously,
|
|
722
722
|
returns the request thread.
|
|
@@ -98,7 +98,7 @@ class TransactionIframeServiceApi:
|
|
|
98
98
|
body_params = None
|
|
99
99
|
# HTTP header `Accept`
|
|
100
100
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
101
|
-
['
|
|
101
|
+
['text/plain;charset=utf-8', 'application/json'])
|
|
102
102
|
|
|
103
103
|
# Authentication setting
|
|
104
104
|
auth_settings = []
|
|
@@ -135,7 +135,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
135
135
|
|
|
136
136
|
:param async_req bool
|
|
137
137
|
:param int space_id: (required)
|
|
138
|
-
:param TransactionInvoiceCommentCreate entity:
|
|
138
|
+
:param TransactionInvoiceCommentCreate entity: The comment object which should be created. (required)
|
|
139
139
|
:return: TransactionInvoiceComment
|
|
140
140
|
If the method is called asynchronously,
|
|
141
141
|
returns the request thread.
|
|
@@ -161,7 +161,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
161
161
|
|
|
162
162
|
:param async_req bool
|
|
163
163
|
:param int space_id: (required)
|
|
164
|
-
:param TransactionInvoiceCommentCreate entity:
|
|
164
|
+
:param TransactionInvoiceCommentCreate entity: The comment object which should be created. (required)
|
|
165
165
|
:return: TransactionInvoiceComment
|
|
166
166
|
If the method is called asynchronously,
|
|
167
167
|
returns the request thread.
|
|
@@ -309,8 +309,6 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
309
309
|
query_params = []
|
|
310
310
|
if 'space_id' in params:
|
|
311
311
|
query_params.append(('spaceId', params['space_id']))
|
|
312
|
-
if 'id' in params:
|
|
313
|
-
query_params.append(('id', params['id']))
|
|
314
312
|
|
|
315
313
|
header_params = {}
|
|
316
314
|
|
|
@@ -318,6 +316,8 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
318
316
|
local_var_files = {}
|
|
319
317
|
|
|
320
318
|
body_params = None
|
|
319
|
+
if 'id' in params:
|
|
320
|
+
body_params = params['id']
|
|
321
321
|
# HTTP header `Accept`
|
|
322
322
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
323
323
|
['application/json;charset=utf-8'])
|
|
@@ -357,7 +357,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
357
357
|
|
|
358
358
|
:param async_req bool
|
|
359
359
|
:param int space_id: (required)
|
|
360
|
-
:param int id:
|
|
360
|
+
:param int id: The id of the comment to pin to the top. (required)
|
|
361
361
|
:return: None
|
|
362
362
|
If the method is called asynchronously,
|
|
363
363
|
returns the request thread.
|
|
@@ -383,7 +383,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
383
383
|
|
|
384
384
|
:param async_req bool
|
|
385
385
|
:param int space_id: (required)
|
|
386
|
-
:param int id:
|
|
386
|
+
:param int id: The id of the comment to pin to the top. (required)
|
|
387
387
|
:return: None
|
|
388
388
|
If the method is called asynchronously,
|
|
389
389
|
returns the request thread.
|
|
@@ -468,7 +468,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
468
468
|
|
|
469
469
|
:param async_req bool
|
|
470
470
|
:param int space_id: (required)
|
|
471
|
-
:param int id:
|
|
471
|
+
:param int id: The id of the comment which should be returned. (required)
|
|
472
472
|
:return: TransactionInvoiceComment
|
|
473
473
|
If the method is called asynchronously,
|
|
474
474
|
returns the request thread.
|
|
@@ -494,7 +494,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
494
494
|
|
|
495
495
|
:param async_req bool
|
|
496
496
|
:param int space_id: (required)
|
|
497
|
-
:param int id:
|
|
497
|
+
:param int id: The id of the comment which should be returned. (required)
|
|
498
498
|
:return: TransactionInvoiceComment
|
|
499
499
|
If the method is called asynchronously,
|
|
500
500
|
returns the request thread.
|
|
@@ -579,7 +579,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
579
579
|
|
|
580
580
|
:param async_req bool
|
|
581
581
|
:param int space_id: (required)
|
|
582
|
-
:param int id:
|
|
582
|
+
:param int id: The id of the comment to unpin. (required)
|
|
583
583
|
:return: None
|
|
584
584
|
If the method is called asynchronously,
|
|
585
585
|
returns the request thread.
|
|
@@ -605,7 +605,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
605
605
|
|
|
606
606
|
:param async_req bool
|
|
607
607
|
:param int space_id: (required)
|
|
608
|
-
:param int id:
|
|
608
|
+
:param int id: The id of the comment to unpin. (required)
|
|
609
609
|
:return: None
|
|
610
610
|
If the method is called asynchronously,
|
|
611
611
|
returns the request thread.
|
|
@@ -690,7 +690,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
690
690
|
|
|
691
691
|
:param async_req bool
|
|
692
692
|
:param int space_id: (required)
|
|
693
|
-
:param TransactionInvoiceCommentActive entity:
|
|
693
|
+
:param TransactionInvoiceCommentActive entity: The comment object with the properties which should be updated. (required)
|
|
694
694
|
:return: TransactionInvoiceComment
|
|
695
695
|
If the method is called asynchronously,
|
|
696
696
|
returns the request thread.
|
|
@@ -716,7 +716,7 @@ class TransactionInvoiceCommentServiceApi:
|
|
|
716
716
|
|
|
717
717
|
:param async_req bool
|
|
718
718
|
:param int space_id: (required)
|
|
719
|
-
:param TransactionInvoiceCommentActive entity:
|
|
719
|
+
:param TransactionInvoiceCommentActive entity: The comment object with the properties which should be updated. (required)
|
|
720
720
|
:return: TransactionInvoiceComment
|
|
721
721
|
If the method is called asynchronously,
|
|
722
722
|
returns the request thread.
|
|
@@ -98,7 +98,7 @@ class TransactionLightboxServiceApi:
|
|
|
98
98
|
body_params = None
|
|
99
99
|
# HTTP header `Accept`
|
|
100
100
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
101
|
-
['
|
|
101
|
+
['text/plain;charset=utf-8', 'application/json'])
|
|
102
102
|
|
|
103
103
|
# Authentication setting
|
|
104
104
|
auth_settings = []
|
|
@@ -90,7 +90,7 @@ class TransactionMobileSdkServiceApi:
|
|
|
90
90
|
body_params = None
|
|
91
91
|
# HTTP header `Accept`
|
|
92
92
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
93
|
-
['
|
|
93
|
+
['text/plain;charset=utf-8', 'application/json'])
|
|
94
94
|
|
|
95
95
|
# Authentication setting
|
|
96
96
|
auth_settings = []
|
|
@@ -98,7 +98,7 @@ class TransactionPaymentPageServiceApi:
|
|
|
98
98
|
body_params = None
|
|
99
99
|
# HTTP header `Accept`
|
|
100
100
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
101
|
-
['
|
|
101
|
+
['text/plain;charset=utf-8', 'application/json'])
|
|
102
102
|
|
|
103
103
|
# Authentication setting
|
|
104
104
|
auth_settings = []
|
|
@@ -633,7 +633,7 @@ class TransactionServiceApi:
|
|
|
633
633
|
body_params = params['request']
|
|
634
634
|
# HTTP header `Accept`
|
|
635
635
|
header_params['Accept'] = self.api_client.select_header_accept(
|
|
636
|
-
['application/json;charset=utf-8'
|
|
636
|
+
['text/csv', 'application/json;charset=utf-8'])
|
|
637
637
|
|
|
638
638
|
# HTTP header `Content-Type`
|
|
639
639
|
header_params['Content-Type'] = self.api_client.select_header_content_type(
|
|
@@ -134,12 +134,12 @@ class WebhookEncryptionServiceApi:
|
|
|
134
134
|
public_key_id = matcher.group(2)
|
|
135
135
|
content_signature = matcher.group(3)
|
|
136
136
|
|
|
137
|
-
|
|
137
|
+
public_key_response = WebhookEncryptionServiceApi.read(self, public_key_id)
|
|
138
138
|
|
|
139
|
-
if
|
|
139
|
+
if public_key_response is None or public_key_response.public_key is None:
|
|
140
140
|
raise ValueError(f"Could not find public key with id {public_key_id}")
|
|
141
141
|
|
|
142
|
-
return EncryptionUtil.is_content_valid(content_to_verify, content_signature,
|
|
142
|
+
return EncryptionUtil.is_content_valid(content_to_verify, content_signature, public_key_response.public_key,
|
|
143
143
|
signature_algorithm)
|
|
144
144
|
else:
|
|
145
145
|
raise ValueError(
|