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.
Files changed (569) hide show
  1. {wallee-4.2.0 → wallee-5.0.0}/PKG-INFO +2 -3
  2. {wallee-4.2.0 → wallee-5.0.0}/README.md +1 -2
  3. {wallee-4.2.0 → wallee-5.0.0}/setup.py +2 -2
  4. {wallee-4.2.0 → wallee-5.0.0}/test/test_refund.py +15 -2
  5. {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_completion_service.py +3 -0
  6. {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_service.py +17 -1
  7. wallee-5.0.0/test/test_webhook_encryption_service.py +78 -0
  8. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_flow_service_api.py +1 -1
  9. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/human_user_service_api.py +1 -1
  10. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_comment_service_api.py +12 -12
  11. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_comment_service_api.py +12 -12
  12. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_iframe_service_api.py +1 -1
  13. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_invoice_comment_service_api.py +12 -12
  14. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_lightbox_service_api.py +1 -1
  15. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_mobile_sdk_service_api.py +1 -1
  16. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_payment_page_service_api.py +1 -1
  17. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_service_api.py +1 -1
  18. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/webhook_encryption_service_api.py +3 -3
  19. {wallee-4.2.0 → wallee-5.0.0}/wallee/api_client.py +11 -6
  20. {wallee-4.2.0 → wallee-5.0.0}/wallee/configuration.py +5 -5
  21. {wallee-4.2.0 → wallee-5.0.0}/wallee/encryption_util.py +1 -1
  22. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_webhook_listener_update.py +27 -1
  23. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction.py +27 -1
  24. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_connector_configuration.py +27 -1
  25. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener.py +27 -1
  26. {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/PKG-INFO +2 -3
  27. {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/SOURCES.txt +1 -0
  28. {wallee-4.2.0 → wallee-5.0.0}/LICENSE +0 -0
  29. {wallee-4.2.0 → wallee-5.0.0}/setup.cfg +0 -0
  30. {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_iframe_service.py +0 -0
  31. {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_lightbox_service.py +0 -0
  32. {wallee-4.2.0 → wallee-5.0.0}/test/test_transaction_payment_page_service.py +0 -0
  33. {wallee-4.2.0 → wallee-5.0.0}/wallee/__init__.py +0 -0
  34. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/__init__.py +0 -0
  35. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/account_service_api.py +0 -0
  36. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/analytics_query_service_api.py +0 -0
  37. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/application_user_service_api.py +0 -0
  38. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/bank_account_service_api.py +0 -0
  39. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/bank_transaction_service_api.py +0 -0
  40. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/card_processing_service_api.py +0 -0
  41. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_attempt_service_api.py +0 -0
  42. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_bank_transaction_service_api.py +0 -0
  43. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_flow_level_payment_link_service_api.py +0 -0
  44. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/charge_flow_level_service_api.py +0 -0
  45. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/condition_type_service_api.py +0 -0
  46. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/country_service_api.py +0 -0
  47. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/country_state_service_api.py +0 -0
  48. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/currency_bank_account_service_api.py +0 -0
  49. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/currency_service_api.py +0 -0
  50. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/customer_address_service_api.py +0 -0
  51. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/customer_comment_service_api.py +0 -0
  52. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/customer_service_api.py +0 -0
  53. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/debt_collection_case_service_api.py +0 -0
  54. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/debt_collector_configuration_service_api.py +0 -0
  55. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/debt_collector_service_api.py +0 -0
  56. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/delivery_indication_service_api.py +0 -0
  57. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/document_template_service_api.py +0 -0
  58. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/document_template_type_service_api.py +0 -0
  59. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/external_transfer_bank_transaction_service_api.py +0 -0
  60. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_payment_service_api.py +0 -0
  61. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_payment_slice_service_api.py +0 -0
  62. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_plan_calculation_service_api.py +0 -0
  63. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_plan_configuration_service_api.py +0 -0
  64. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/installment_plan_slice_configuration_service_api.py +0 -0
  65. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/internal_transfer_bank_transaction_service_api.py +0 -0
  66. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/invoice_reconciliation_record_invoice_link_service_api.py +0 -0
  67. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/invoice_reconciliation_record_service_api.py +0 -0
  68. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/invoice_reimbursement_service_api.py +0 -0
  69. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/label_description_group_service_api.py +0 -0
  70. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/label_description_service_api.py +0 -0
  71. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/language_service_api.py +0 -0
  72. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/legal_organization_form_service_api.py +0 -0
  73. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/manual_task_service_api.py +0 -0
  74. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/mertic_usage_service_api.py +0 -0
  75. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_connector_configuration_service_api.py +0 -0
  76. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_connector_service_api.py +0 -0
  77. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_link_service_api.py +0 -0
  78. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_method_brand_service_api.py +0 -0
  79. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_method_configuration_service_api.py +0 -0
  80. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_method_service_api.py +0 -0
  81. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_processor_configuration_service_api.py +0 -0
  82. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_processor_service_api.py +0 -0
  83. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_terminal_service_api.py +0 -0
  84. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_terminal_till_service_api.py +0 -0
  85. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_terminal_transaction_summary_service_api.py +0 -0
  86. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/payment_web_app_service_api.py +0 -0
  87. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/permission_service_api.py +0 -0
  88. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_bank_transaction_service_api.py +0 -0
  89. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_recovery_bank_transaction_service_api.py +0 -0
  90. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/refund_service_api.py +0 -0
  91. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_recurring_order_service_api.py +0 -0
  92. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscriber_service_api.py +0 -0
  93. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_product_service_api.py +0 -0
  94. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_service_api.py +0 -0
  95. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_suspension_service_api.py +0 -0
  96. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_subscription_version_service_api.py +0 -0
  97. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/shopify_transaction_service_api.py +0 -0
  98. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/space_service_api.py +0 -0
  99. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/static_value_service_api.py +0 -0
  100. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscriber_service_api.py +0 -0
  101. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_affiliate_service_api.py +0 -0
  102. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_charge_service_api.py +0 -0
  103. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_ledger_entry_service_api.py +0 -0
  104. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_metric_service_api.py +0 -0
  105. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_metric_usage_service_api.py +0 -0
  106. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_period_bill_service_api.py +0 -0
  107. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_component_group_service_api.py +0 -0
  108. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_component_service_api.py +0 -0
  109. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_fee_tier_service_api.py +0 -0
  110. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_metered_fee_service_api.py +0 -0
  111. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_period_fee_service_api.py +0 -0
  112. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_retirement_service_api.py +0 -0
  113. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_service_api.py +0 -0
  114. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_setup_fee_service_api.py +0 -0
  115. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_version_retirement_service_api.py +0 -0
  116. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_product_version_service_api.py +0 -0
  117. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_service_api.py +0 -0
  118. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_suspension_service_api.py +0 -0
  119. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/subscription_version_service_api.py +0 -0
  120. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/token_service_api.py +0 -0
  121. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/token_version_service_api.py +0 -0
  122. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_completion_service_api.py +0 -0
  123. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_invoice_service_api.py +0 -0
  124. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_line_item_version_service_api.py +0 -0
  125. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_terminal_service_api.py +0 -0
  126. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/transaction_void_service_api.py +0 -0
  127. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/user_account_role_service_api.py +0 -0
  128. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/user_space_role_service_api.py +0 -0
  129. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/web_app_service_api.py +0 -0
  130. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/webhook_listener_service_api.py +0 -0
  131. {wallee-4.2.0 → wallee-5.0.0}/wallee/api/webhook_url_service_api.py +0 -0
  132. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/__init__.py +0 -0
  133. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_account_update.py +0 -0
  134. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_application_user_update.py +0 -0
  135. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_customer_active.py +0 -0
  136. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_customer_address_active.py +0 -0
  137. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_customer_comment_active.py +0 -0
  138. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_debt_collection_case_update.py +0 -0
  139. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_human_user_update.py +0 -0
  140. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_payment_link_update.py +0 -0
  141. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_refund_comment_active.py +0 -0
  142. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_shopify_subscription_product_update.py +0 -0
  143. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_space_update.py +0 -0
  144. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscriber_update.py +0 -0
  145. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscription_affiliate_update.py +0 -0
  146. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscription_metric_update.py +0 -0
  147. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_subscription_product_active.py +0 -0
  148. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_token_update.py +0 -0
  149. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_transaction_comment_active.py +0 -0
  150. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_transaction_invoice_comment_active.py +0 -0
  151. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_transaction_pending.py +0 -0
  152. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/abstract_webhook_url_update.py +0 -0
  153. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account.py +0 -0
  154. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_create.py +0 -0
  155. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_state.py +0 -0
  156. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_type.py +0 -0
  157. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/account_update.py +0 -0
  158. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/address.py +0 -0
  159. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/address_create.py +0 -0
  160. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query.py +0 -0
  161. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query_execution.py +0 -0
  162. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query_execution_state.py +0 -0
  163. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_query_result_batch.py +0 -0
  164. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_schema_column.py +0 -0
  165. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/analytics_schema_table.py +0 -0
  166. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user.py +0 -0
  167. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user_create.py +0 -0
  168. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user_create_with_mac_key.py +0 -0
  169. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/application_user_update.py +0 -0
  170. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/authenticated_card_data.py +0 -0
  171. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/authenticated_card_data_create.py +0 -0
  172. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account.py +0 -0
  173. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account_environment.py +0 -0
  174. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account_state.py +0 -0
  175. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_account_type.py +0 -0
  176. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_flow_direction.py +0 -0
  177. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_source.py +0 -0
  178. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_state.py +0 -0
  179. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/bank_transaction_type.py +0 -0
  180. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_authentication_response.py +0 -0
  181. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_authentication_version.py +0 -0
  182. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_cryptogram.py +0 -0
  183. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_cryptogram_create.py +0 -0
  184. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/card_cryptogram_type.py +0 -0
  185. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/cardholder_authentication.py +0 -0
  186. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/cardholder_authentication_create.py +0 -0
  187. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge.py +0 -0
  188. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_attempt.py +0 -0
  189. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_attempt_environment.py +0 -0
  190. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_attempt_state.py +0 -0
  191. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_bank_transaction.py +0 -0
  192. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow.py +0 -0
  193. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level.py +0 -0
  194. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_configuration.py +0 -0
  195. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_configuration_type.py +0 -0
  196. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_payment_link.py +0 -0
  197. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_flow_level_state.py +0 -0
  198. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_state.py +0 -0
  199. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/charge_type.py +0 -0
  200. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/client_error.py +0 -0
  201. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/client_error_type.py +0 -0
  202. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/completion_line_item.py +0 -0
  203. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/completion_line_item_create.py +0 -0
  204. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/condition.py +0 -0
  205. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/condition_type.py +0 -0
  206. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/connector_invocation.py +0 -0
  207. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/connector_invocation_stage.py +0 -0
  208. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/creation_entity_state.py +0 -0
  209. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/criteria_operator.py +0 -0
  210. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/currency_bank_account.py +0 -0
  211. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer.py +0 -0
  212. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_active.py +0 -0
  213. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address.py +0 -0
  214. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address_active.py +0 -0
  215. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address_create.py +0 -0
  216. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_address_type.py +0 -0
  217. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_comment.py +0 -0
  218. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_comment_active.py +0 -0
  219. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_comment_create.py +0 -0
  220. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_create.py +0 -0
  221. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_postal_address.py +0 -0
  222. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customer_postal_address_create.py +0 -0
  223. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/customers_presence.py +0 -0
  224. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/data_collection_type.py +0 -0
  225. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case.py +0 -0
  226. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_create.py +0 -0
  227. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_document.py +0 -0
  228. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_source.py +0 -0
  229. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_state.py +0 -0
  230. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_case_update.py +0 -0
  231. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_environment.py +0 -0
  232. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_receipt.py +0 -0
  233. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collection_receipt_source.py +0 -0
  234. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector.py +0 -0
  235. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector_condition.py +0 -0
  236. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector_condition_type.py +0 -0
  237. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/debt_collector_configuration.py +0 -0
  238. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/delivery_indication.py +0 -0
  239. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/delivery_indication_decision_reason.py +0 -0
  240. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/delivery_indication_state.py +0 -0
  241. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/document_template.py +0 -0
  242. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/document_template_type.py +0 -0
  243. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/document_template_type_group.py +0 -0
  244. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_export_request.py +0 -0
  245. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query.py +0 -0
  246. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_filter.py +0 -0
  247. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_filter_type.py +0 -0
  248. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_order_by.py +0 -0
  249. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/entity_query_order_by_type.py +0 -0
  250. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/environment.py +0 -0
  251. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/external_transfer_bank_transaction.py +0 -0
  252. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/failure_category.py +0 -0
  253. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/failure_reason.py +0 -0
  254. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/feature.py +0 -0
  255. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/feature_category.py +0 -0
  256. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/gender.py +0 -0
  257. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/human_user.py +0 -0
  258. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/human_user_create.py +0 -0
  259. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/human_user_update.py +0 -0
  260. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_calculated_plan.py +0 -0
  261. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_calculated_slice.py +0 -0
  262. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment.py +0 -0
  263. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment_slice.py +0 -0
  264. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment_slice_state.py +0 -0
  265. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_payment_state.py +0 -0
  266. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_plan_configuration.py +0 -0
  267. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/installment_plan_slice_configuration.py +0 -0
  268. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/internal_transfer_bank_transaction.py +0 -0
  269. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record.py +0 -0
  270. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_invoice_link.py +0 -0
  271. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_rejection_status.py +0 -0
  272. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_state.py +0 -0
  273. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reconciliation_record_type.py +0 -0
  274. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reimbursement.py +0 -0
  275. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reimbursement_state.py +0 -0
  276. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/invoice_reimbursement_with_refund_reference.py +0 -0
  277. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label.py +0 -0
  278. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor.py +0 -0
  279. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor_category.py +0 -0
  280. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor_group.py +0 -0
  281. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/label_descriptor_type.py +0 -0
  282. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/legal_organization_form.py +0 -0
  283. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item.py +0 -0
  284. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_attribute.py +0 -0
  285. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_attribute_create.py +0 -0
  286. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_create.py +0 -0
  287. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_reduction.py +0 -0
  288. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_reduction_create.py +0 -0
  289. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/line_item_type.py +0 -0
  290. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/localized_string.py +0 -0
  291. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task.py +0 -0
  292. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_action.py +0 -0
  293. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_action_style.py +0 -0
  294. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_state.py +0 -0
  295. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/manual_task_type.py +0 -0
  296. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/metric_usage.py +0 -0
  297. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/one_click_payment_mode.py +0 -0
  298. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_adjustment.py +0 -0
  299. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_adjustment_type.py +0 -0
  300. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_charge_attempt_target_state.py +0 -0
  301. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_charge_attempt_update_request.py +0 -0
  302. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_configuration.py +0 -0
  303. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_configuration_create.py +0 -0
  304. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_target_state.py +0 -0
  305. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_completion_update_request.py +0 -0
  306. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_connector.py +0 -0
  307. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_connector_creation_request.py +0 -0
  308. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_connector_state.py +0 -0
  309. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_processor.py +0 -0
  310. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_processor_creation_request.py +0 -0
  311. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_processor_state.py +0 -0
  312. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_configuration.py +0 -0
  313. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_configuration_create.py +0 -0
  314. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_target_state.py +0 -0
  315. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_refund_update_request.py +0 -0
  316. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_void_target_state.py +0 -0
  317. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_app_void_update_request.py +0 -0
  318. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_connector.py +0 -0
  319. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_connector_feature.py +0 -0
  320. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_contract.py +0 -0
  321. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_contract_state.py +0 -0
  322. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_contract_type.py +0 -0
  323. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_information_hash.py +0 -0
  324. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_information_hash_type.py +0 -0
  325. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_initiation_advice_file.py +0 -0
  326. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_initiation_advice_file_state.py +0 -0
  327. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link.py +0 -0
  328. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_active.py +0 -0
  329. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_address_handling_mode.py +0 -0
  330. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_create.py +0 -0
  331. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_protection_mode.py +0 -0
  332. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_link_update.py +0 -0
  333. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_method.py +0 -0
  334. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_method_brand.py +0 -0
  335. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_method_configuration.py +0 -0
  336. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_primary_risk_taker.py +0 -0
  337. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_processor.py +0 -0
  338. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_processor_configuration.py +0 -0
  339. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal.py +0 -0
  340. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_address.py +0 -0
  341. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration.py +0 -0
  342. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration_state.py +0 -0
  343. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration_version.py +0 -0
  344. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_configuration_version_state.py +0 -0
  345. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_dcc_transaction_sum.py +0 -0
  346. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location.py +0 -0
  347. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location_state.py +0 -0
  348. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location_version.py +0 -0
  349. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_location_version_state.py +0 -0
  350. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_receipt_type.py +0 -0
  351. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_state.py +0 -0
  352. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_transaction_sum.py +0 -0
  353. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_transaction_summary.py +0 -0
  354. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_transaction_summary_fetch_request.py +0 -0
  355. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/payment_terminal_type.py +0 -0
  356. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/permission.py +0 -0
  357. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/persistable_currency_amount.py +0 -0
  358. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/persistable_currency_amount_update.py +0 -0
  359. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_fee_type.py +0 -0
  360. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_fee.py +0 -0
  361. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_fee_update.py +0 -0
  362. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_tier_fee.py +0 -0
  363. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_tier_fee_update.py +0 -0
  364. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_metered_tier_pricing.py +0 -0
  365. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_period_fee.py +0 -0
  366. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_period_fee_update.py +0 -0
  367. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_setup_fee.py +0 -0
  368. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/product_setup_fee_update.py +0 -0
  369. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/recurring_indicator.py +0 -0
  370. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund.py +0 -0
  371. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_bank_transaction.py +0 -0
  372. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_comment.py +0 -0
  373. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_comment_active.py +0 -0
  374. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_comment_create.py +0 -0
  375. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_create.py +0 -0
  376. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_recovery_bank_transaction.py +0 -0
  377. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_state.py +0 -0
  378. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/refund_type.py +0 -0
  379. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rendered_document.py +0 -0
  380. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rendered_terminal_receipt.py +0 -0
  381. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rendered_terminal_transaction_summary.py +0 -0
  382. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/resource_path.py +0 -0
  383. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/resource_state.py +0 -0
  384. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_address_format.py +0 -0
  385. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_address_format_field.py +0 -0
  386. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_country.py +0 -0
  387. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_country_state.py +0 -0
  388. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_currency.py +0 -0
  389. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/rest_language.py +0 -0
  390. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/role.py +0 -0
  391. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/role_state.py +0 -0
  392. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/sales_channel.py +0 -0
  393. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/scope.py +0 -0
  394. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/server_error.py +0 -0
  395. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_additional_line_item_data.py +0 -0
  396. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_integration.py +0 -0
  397. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_integration_payment_app_version.py +0 -0
  398. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_integration_subscription_app_version.py +0 -0
  399. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_recurring_order.py +0 -0
  400. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_recurring_order_state.py +0 -0
  401. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_recurring_order_update_request.py +0 -0
  402. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber.py +0 -0
  403. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber_active.py +0 -0
  404. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber_creation.py +0 -0
  405. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscriber_state.py +0 -0
  406. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription.py +0 -0
  407. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_address.py +0 -0
  408. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_address_create.py +0 -0
  409. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_billing_interval_unit.py +0 -0
  410. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_creation_request.py +0 -0
  411. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_model_billing_configuration.py +0 -0
  412. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_model_item.py +0 -0
  413. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_model_tax_line.py +0 -0
  414. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product.py +0 -0
  415. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_create.py +0 -0
  416. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_pricing_option.py +0 -0
  417. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_state.py +0 -0
  418. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_product_update.py +0 -0
  419. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_state.py +0 -0
  420. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension.py +0 -0
  421. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_create.py +0 -0
  422. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_initiator.py +0 -0
  423. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_state.py +0 -0
  424. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_suspension_type.py +0 -0
  425. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_update_addresses_request.py +0 -0
  426. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_update_request.py +0 -0
  427. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version.py +0 -0
  428. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version_item.py +0 -0
  429. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version_item_price_strategy.py +0 -0
  430. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_version_state.py +0 -0
  431. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_subscription_weekday.py +0 -0
  432. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_tax_line.py +0 -0
  433. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_transaction.py +0 -0
  434. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/shopify_transaction_state.py +0 -0
  435. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space.py +0 -0
  436. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_address.py +0 -0
  437. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_address_create.py +0 -0
  438. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_create.py +0 -0
  439. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_reference.py +0 -0
  440. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_reference_state.py +0 -0
  441. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_update.py +0 -0
  442. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/space_view.py +0 -0
  443. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/static_value.py +0 -0
  444. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber.py +0 -0
  445. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber_active.py +0 -0
  446. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber_create.py +0 -0
  447. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscriber_update.py +0 -0
  448. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription.py +0 -0
  449. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate.py +0 -0
  450. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_create.py +0 -0
  451. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_deleted.py +0 -0
  452. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_deleting.py +0 -0
  453. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_inactive.py +0 -0
  454. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_affiliate_update.py +0 -0
  455. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_change_request.py +0 -0
  456. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge.py +0 -0
  457. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_create.py +0 -0
  458. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_processing_type.py +0 -0
  459. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_state.py +0 -0
  460. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_charge_type.py +0 -0
  461. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_component_configuration.py +0 -0
  462. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_component_reference_configuration.py +0 -0
  463. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_create_request.py +0 -0
  464. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_ledger_entry.py +0 -0
  465. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_ledger_entry_create.py +0 -0
  466. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_ledger_entry_state.py +0 -0
  467. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric.py +0 -0
  468. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_active.py +0 -0
  469. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_create.py +0 -0
  470. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_type.py +0 -0
  471. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_update.py +0 -0
  472. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_usage_report.py +0 -0
  473. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_metric_usage_report_create.py +0 -0
  474. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_pending.py +0 -0
  475. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_period_bill.py +0 -0
  476. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_period_bill_state.py +0 -0
  477. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product.py +0 -0
  478. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_active.py +0 -0
  479. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component.py +0 -0
  480. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_group.py +0 -0
  481. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_group_update.py +0 -0
  482. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_reference.py +0 -0
  483. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_reference_state.py +0 -0
  484. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_component_update.py +0 -0
  485. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_create.py +0 -0
  486. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_retirement.py +0 -0
  487. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_retirement_create.py +0 -0
  488. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_state.py +0 -0
  489. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version.py +0 -0
  490. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_pending.py +0 -0
  491. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_retirement.py +0 -0
  492. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_retirement_create.py +0 -0
  493. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_product_version_state.py +0 -0
  494. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_state.py +0 -0
  495. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension.py +0 -0
  496. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_action.py +0 -0
  497. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_create.py +0 -0
  498. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_reason.py +0 -0
  499. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_running.py +0 -0
  500. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_suspension_state.py +0 -0
  501. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_update.py +0 -0
  502. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_update_request.py +0 -0
  503. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_version.py +0 -0
  504. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/subscription_version_state.py +0 -0
  505. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax.py +0 -0
  506. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax_calculation.py +0 -0
  507. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax_class.py +0 -0
  508. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tax_create.py +0 -0
  509. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tenant_database.py +0 -0
  510. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/terminal_receipt_fetch_request.py +0 -0
  511. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/terminal_receipt_format.py +0 -0
  512. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token.py +0 -0
  513. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_create.py +0 -0
  514. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_update.py +0 -0
  515. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_version.py +0 -0
  516. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_version_state.py +0 -0
  517. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/token_version_type.py +0 -0
  518. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tokenization_mode.py +0 -0
  519. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tokenized_card_data.py +0 -0
  520. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/tokenized_card_data_create.py +0 -0
  521. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction.py +0 -0
  522. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_aware_entity.py +0 -0
  523. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_comment.py +0 -0
  524. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_comment_active.py +0 -0
  525. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_comment_create.py +0 -0
  526. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion.py +0 -0
  527. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_behavior.py +0 -0
  528. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_mode.py +0 -0
  529. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_request.py +0 -0
  530. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_completion_state.py +0 -0
  531. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_create.py +0 -0
  532. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_environment_selection_strategy.py +0 -0
  533. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_group.py +0 -0
  534. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_group_state.py +0 -0
  535. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice.py +0 -0
  536. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_comment.py +0 -0
  537. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_comment_active.py +0 -0
  538. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_comment_create.py +0 -0
  539. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_replacement.py +0 -0
  540. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_invoice_state.py +0 -0
  541. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_line_item_version.py +0 -0
  542. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_line_item_version_create.py +0 -0
  543. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_line_item_version_state.py +0 -0
  544. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_pending.py +0 -0
  545. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_state.py +0 -0
  546. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_user_interface_type.py +0 -0
  547. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_void.py +0 -0
  548. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_void_mode.py +0 -0
  549. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/transaction_void_state.py +0 -0
  550. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/two_factor_authentication_type.py +0 -0
  551. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user.py +0 -0
  552. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user_account_role.py +0 -0
  553. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user_space_role.py +0 -0
  554. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/user_type.py +0 -0
  555. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/wallet_type.py +0 -0
  556. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/web_app_confirmation_request.py +0 -0
  557. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/web_app_confirmation_response.py +0 -0
  558. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_encryption_public_key.py +0 -0
  559. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_identity.py +0 -0
  560. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener_create.py +0 -0
  561. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener_entity.py +0 -0
  562. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_listener_update.py +0 -0
  563. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_url.py +0 -0
  564. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_url_create.py +0 -0
  565. {wallee-4.2.0 → wallee-5.0.0}/wallee/models/webhook_url_update.py +0 -0
  566. {wallee-4.2.0 → wallee-5.0.0}/wallee/rest.py +0 -0
  567. {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/dependency_links.txt +0 -0
  568. {wallee-4.2.0 → wallee-5.0.0}/wallee.egg-info/requires.txt +0 -0
  569. {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: 4.2.0
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 github
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 github
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
 
@@ -2,11 +2,11 @@
2
2
 
3
3
  import setuptools
4
4
 
5
- with open("README.md", "r") as fh:
5
+ with open("README.md", "r", encoding="utf8") as fh:
6
6
  long_description = fh.read()
7
7
 
8
8
  NAME = "wallee"
9
- VERSION = "4.2.0"
9
+ VERSION = "5.0.0"
10
10
 
11
11
  REQUIRES = [
12
12
  "certifi >= 14.05.14",
@@ -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 should fetch refund details"""
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=transaction_completion.id,
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 mush match"
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
- ['application/json', 'text/plain;charset=utf-8'])
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', 'text/csv'])
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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
- ['application/json', 'text/plain;charset=utf-8'])
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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: (required)
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
- ['application/json', 'text/plain;charset=utf-8'])
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
- ['application/json', 'text/plain;charset=utf-8'])
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
- ['application/json', 'text/plain;charset=utf-8'])
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', 'text/csv'])
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
- public_key = WebhookEncryptionServiceApi.read(self, public_key_id)
137
+ public_key_response = WebhookEncryptionServiceApi.read(self, public_key_id)
138
138
 
139
- if public_key.public_key is None:
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, public_key.public_key,
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(