treezor_client 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -5
  3. data/Gemfile.lock +4 -6
  4. data/README.md +19 -5
  5. data/config.json +10 -0
  6. data/docs/BalanceApi.md +8 -8
  7. data/docs/BankaccountApi.md +30 -30
  8. data/docs/BeneficiariesApi.md +30 -30
  9. data/docs/Beneficiary.md +1 -0
  10. data/docs/BusinessApi.md +26 -26
  11. data/docs/Card.md +2 -2
  12. data/docs/CardApi.md +209 -150
  13. data/docs/CardDigitalization.md +1 -3
  14. data/docs/CardDigitalizationsApi.md +73 -16
  15. data/docs/CardReserveApi.md +24 -24
  16. data/docs/CardtransactionApi.md +16 -14
  17. data/docs/CountryRestrictionGroup.md +14 -0
  18. data/docs/CountryRestrictionGroupsApi.md +40 -40
  19. data/docs/Document.md +1 -0
  20. data/docs/DocumentApi.md +46 -44
  21. data/docs/HeartbeatApi.md +8 -8
  22. data/docs/InlineResponse20010Cardtransactions.md +3 -3
  23. data/docs/InlineResponse20011.md +1 -1
  24. data/docs/InlineResponse20011Cardtransactions.md +58 -0
  25. data/docs/InlineResponse20012.md +1 -1
  26. data/docs/InlineResponse20013.md +1 -1
  27. data/docs/InlineResponse20014.md +1 -1
  28. data/docs/InlineResponse20015.md +1 -1
  29. data/docs/InlineResponse20016.md +1 -1
  30. data/docs/InlineResponse20017.md +1 -1
  31. data/docs/InlineResponse20018.md +1 -1
  32. data/docs/InlineResponse20019.md +1 -1
  33. data/docs/InlineResponse20020.md +1 -1
  34. data/docs/InlineResponse20021.md +1 -1
  35. data/docs/InlineResponse20022.md +1 -1
  36. data/docs/InlineResponse20023.md +1 -1
  37. data/docs/InlineResponse20024.md +1 -1
  38. data/docs/InlineResponse20025.md +1 -1
  39. data/docs/InlineResponse20026.md +8 -0
  40. data/docs/InlineResponse20027.md +8 -0
  41. data/docs/InlineResponse20028.md +8 -0
  42. data/docs/InlineResponse2005Businessinformations.md +2 -2
  43. data/docs/IssuerInitiatedDigitizationDataApi.md +22 -22
  44. data/docs/MandateApi.md +50 -50
  45. data/docs/MccRestrictionGroupsApi.md +40 -40
  46. data/docs/MerchantIdRestrictionGroupsApi.md +40 -40
  47. data/docs/PayinApi.md +38 -38
  48. data/docs/PayinrefundApi.md +38 -38
  49. data/docs/PayoutApi.md +38 -38
  50. data/docs/PayoutRefund.md +22 -0
  51. data/docs/PayoutRefundsApi.md +82 -0
  52. data/docs/TaxResidence.md +15 -0
  53. data/docs/TaxResidenceApi.md +319 -0
  54. data/docs/TransactionApi.md +22 -22
  55. data/docs/TransferApi.md +42 -42
  56. data/docs/TransferrefundApi.md +42 -42
  57. data/docs/User.md +3 -0
  58. data/docs/UserApi.md +104 -85
  59. data/docs/VirtualibansApi.md +46 -46
  60. data/docs/WalletApi.md +84 -84
  61. data/lib/treezor_client/api/balance_api.rb +8 -8
  62. data/lib/treezor_client/api/bankaccount_api.rb +30 -30
  63. data/lib/treezor_client/api/beneficiaries_api.rb +30 -30
  64. data/lib/treezor_client/api/business_api.rb +26 -26
  65. data/lib/treezor_client/api/card_api.rb +209 -154
  66. data/lib/treezor_client/api/card_digitalizations_api.rb +82 -16
  67. data/lib/treezor_client/api/card_reserve_api.rb +24 -24
  68. data/lib/treezor_client/api/cardtransaction_api.rb +18 -15
  69. data/lib/treezor_client/api/country_restriction_groups_api.rb +45 -45
  70. data/lib/treezor_client/api/document_api.rb +64 -57
  71. data/lib/treezor_client/api/heartbeat_api.rb +8 -8
  72. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +22 -22
  73. data/lib/treezor_client/api/mandate_api.rb +58 -58
  74. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +45 -45
  75. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +45 -45
  76. data/lib/treezor_client/api/payin_api.rb +42 -42
  77. data/lib/treezor_client/api/payinrefund_api.rb +42 -42
  78. data/lib/treezor_client/api/payout_api.rb +42 -42
  79. data/lib/treezor_client/api/payout_refunds_api.rb +102 -0
  80. data/lib/treezor_client/api/tax_residence_api.rb +319 -0
  81. data/lib/treezor_client/api/transaction_api.rb +24 -24
  82. data/lib/treezor_client/api/transfer_api.rb +46 -46
  83. data/lib/treezor_client/api/transferrefund_api.rb +46 -46
  84. data/lib/treezor_client/api/user_api.rb +124 -93
  85. data/lib/treezor_client/api/virtualibans_api.rb +50 -50
  86. data/lib/treezor_client/api/wallet_api.rb +89 -89
  87. data/lib/treezor_client/models/beneficiary.rb +11 -1
  88. data/lib/treezor_client/models/card.rb +2 -2
  89. data/lib/treezor_client/models/card_digitalization.rb +3 -20
  90. data/lib/treezor_client/models/country_restriction_group.rb +284 -0
  91. data/lib/treezor_client/models/document.rb +10 -1
  92. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
  93. data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
  94. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +642 -0
  95. data/lib/treezor_client/models/inline_response_200_12.rb +8 -8
  96. data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
  97. data/lib/treezor_client/models/inline_response_200_14.rb +1 -1
  98. data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
  99. data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
  100. data/lib/treezor_client/models/inline_response_200_17.rb +8 -8
  101. data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
  102. data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
  103. data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
  104. data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
  105. data/lib/treezor_client/models/inline_response_200_22.rb +8 -8
  106. data/lib/treezor_client/models/inline_response_200_23.rb +1 -1
  107. data/lib/treezor_client/models/inline_response_200_24.rb +8 -8
  108. data/lib/treezor_client/models/inline_response_200_25.rb +8 -8
  109. data/lib/treezor_client/models/inline_response_200_26.rb +190 -0
  110. data/lib/treezor_client/models/inline_response_200_27.rb +190 -0
  111. data/lib/treezor_client/models/inline_response_200_28.rb +190 -0
  112. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +2 -2
  113. data/lib/treezor_client/models/payout_refund.rb +347 -0
  114. data/lib/treezor_client/models/tax_residence.rb +259 -0
  115. data/lib/treezor_client/models/user.rb +28 -1
  116. data/lib/treezor_client/version.rb +1 -1
  117. data/lib/treezor_client.rb +9 -1
  118. data/pkg/treezor_client-1.0.0.gem +0 -0
  119. data/pkg/treezor_client-1.1.0.gem +0 -0
  120. data/pkg/treezor_client-1.2.0.gem +0 -0
  121. data/spec/api/balance_api_spec.rb +4 -4
  122. data/spec/api/bankaccount_api_spec.rb +15 -15
  123. data/spec/api/beneficiaries_api_spec.rb +15 -15
  124. data/spec/api/business_api_spec.rb +13 -13
  125. data/spec/api/card_api_spec.rb +93 -75
  126. data/spec/api/card_digitalizations_api_spec.rb +19 -6
  127. data/spec/api/card_reserve_api_spec.rb +12 -12
  128. data/spec/api/cardtransaction_api_spec.rb +8 -7
  129. data/spec/api/country_restriction_groups_api_spec.rb +20 -20
  130. data/spec/api/document_api_spec.rb +22 -21
  131. data/spec/api/heartbeat_api_spec.rb +4 -4
  132. data/spec/api/issuer_initiated_digitization_data_api_spec.rb +11 -11
  133. data/spec/api/mandate_api_spec.rb +26 -26
  134. data/spec/api/mcc_restriction_groups_api_spec.rb +20 -20
  135. data/spec/api/merchant_id_restriction_groups_api_spec.rb +20 -22
  136. data/spec/api/payin_api_spec.rb +19 -19
  137. data/spec/api/payinrefund_api_spec.rb +19 -19
  138. data/spec/api/payout_api_spec.rb +19 -19
  139. data/spec/api/payout_refunds_api_spec.rb +56 -0
  140. data/spec/api/tax_residence_api_spec.rb +108 -0
  141. data/spec/api/transaction_api_spec.rb +11 -11
  142. data/spec/api/transfer_api_spec.rb +21 -21
  143. data/spec/api/transferrefund_api_spec.rb +21 -21
  144. data/spec/api/user_api_spec.rb +58 -41
  145. data/spec/api/virtualibans_api_spec.rb +23 -23
  146. data/spec/api/wallet_api_spec.rb +42 -42
  147. data/spec/models/beneficiary_spec.rb +6 -0
  148. data/spec/models/card_digitalization_spec.rb +0 -12
  149. data/spec/models/card_spec.rb +6 -0
  150. data/spec/models/country_restriction_group_spec.rb +82 -0
  151. data/spec/models/document_spec.rb +6 -0
  152. data/spec/models/inline_response_200_11_cardtransactions_spec.rb +342 -0
  153. data/spec/models/inline_response_200_11_spec.rb +1 -1
  154. data/spec/models/inline_response_200_12_spec.rb +1 -1
  155. data/spec/models/inline_response_200_13_spec.rb +1 -1
  156. data/spec/models/inline_response_200_16_spec.rb +1 -1
  157. data/spec/models/inline_response_200_17_spec.rb +1 -1
  158. data/spec/models/inline_response_200_18_spec.rb +1 -1
  159. data/spec/models/inline_response_200_19_spec.rb +1 -1
  160. data/spec/models/inline_response_200_20_spec.rb +1 -1
  161. data/spec/models/inline_response_200_21_spec.rb +1 -1
  162. data/spec/models/inline_response_200_22_spec.rb +1 -1
  163. data/spec/models/inline_response_200_24_spec.rb +1 -1
  164. data/spec/models/inline_response_200_25_spec.rb +1 -1
  165. data/spec/models/inline_response_200_26_spec.rb +42 -0
  166. data/spec/models/inline_response_200_27_spec.rb +42 -0
  167. data/spec/models/inline_response_200_28_spec.rb +42 -0
  168. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +1 -1
  169. data/spec/models/merchant_id_restriction_group_spec.rb +1 -1
  170. data/spec/models/payout_refund_spec.rb +130 -0
  171. data/spec/models/tax_residence_spec.rb +84 -0
  172. data/spec/models/user_spec.rb +42 -0
  173. data/treezor_api_spec.yaml +1841 -1207
  174. data/treezor_client.gemspec +1 -3
  175. metadata +45 -9
  176. data/spec/models/card_digitalization_details_from_gps_spec.rb +0 -234
  177. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +0 -54
@@ -38,11 +38,11 @@ describe 'WalletApi' do
38
38
  # @param id Wallet's id
39
39
  # @param origin Request's origin. Possible values are: * OPERATOR * USER
40
40
  # @param [Hash] opts the optional parameters
41
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
42
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
43
- # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
44
- # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
45
- # @return [InlineResponse20025]
41
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
42
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
43
+ # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
44
+ # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
45
+ # @return [InlineResponse20027]
46
46
  describe 'delete_wallet test' do
47
47
  it "should work" do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -54,11 +54,11 @@ describe 'WalletApi' do
54
54
  #
55
55
  # @param id Object internal id.
56
56
  # @param [Hash] opts the optional parameters
57
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
58
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
59
- # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
60
- # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
61
- # @return [InlineResponse20025]
57
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
58
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
59
+ # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
60
+ # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
61
+ # @return [InlineResponse20027]
62
62
  describe 'get_wallet test' do
63
63
  it "should work" do
64
64
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -69,32 +69,32 @@ describe 'WalletApi' do
69
69
  # search wallets
70
70
  # Get wallets from the system that match the search criteria.
71
71
  # @param [Hash] opts the optional parameters
72
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
73
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
74
- # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
75
- # @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
72
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
73
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
74
+ # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
75
+ # @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
76
76
  # @option opts [Integer] :wallet_id Wallet's unique id.
77
77
  # @option opts [String] :wallet_status Wallet's status: * **validated**: Wallet is active. It is possible to deposit to or retrieve money from the wallet. * **cancelled**: Wallet is closed. No action possible, there is no money in the wallet, it was closed by an operator or by the user. * **pending**: Wallet being validated (e.g. suspected fraud, late submission of documents' validation ... KYC ). In this case, it is not possible to use the wallet for transactions.
78
78
  # @option opts [Integer] :user_id Wallet owner's id.
79
79
  # @option opts [Integer] :parent_user_id Parent user id of the wallet owner
80
80
  # @option opts [String] :wallet_tag Custom data.
81
81
  # @option opts [Integer] :wallet_type_id Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
82
- # @option opts [String] :event_name Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
83
- # @option opts [String] :event_alias Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding
82
+ # @option opts [String] :event_name Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
83
+ # @option opts [String] :event_alias Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding
84
84
  # @option opts [DateTime] :event_payin_start_date Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
85
- # @option opts [DateTime] :event_payin_end_date Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
85
+ # @option opts [DateTime] :event_payin_end_date Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
86
86
  # @option opts [Integer] :tariff_id Wallet pricing id.
87
87
  # @option opts [Integer] :payin_count Number of payin done on the wallet.
88
88
  # @option opts [String] :solde Wallet current balance.
89
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
90
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
91
- # @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
89
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
90
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
91
+ # @option opts [String] :sort_by The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
92
92
  # @option opts [String] :sort_order The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
93
- # @option opts [DateTime] :created_date_from The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
94
- # @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
95
- # @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
96
- # @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
97
- # @return [InlineResponse20025]
93
+ # @option opts [DateTime] :created_date_from The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
94
+ # @option opts [DateTime] :created_date_to The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
95
+ # @option opts [DateTime] :updated_date_from The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
96
+ # @option opts [DateTime] :updated_date_to The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
97
+ # @return [InlineResponse20027]
98
98
  describe 'get_wallets test' do
99
99
  it "should work" do
100
100
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -107,22 +107,22 @@ describe 'WalletApi' do
107
107
  # @param wallet_type_id Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
108
108
  # @param tariff_id Wallet pricing id.
109
109
  # @param user_id Wallet owner's id.
110
- # @param currency The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD … Default currency will be same as the wallet
111
- # @param event_name Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
110
+ # @param currency The currency that will be used for all wallet money transactions format : ISO 4217 3-letter code for each currency : Euro = EUR ; US Dollar = USD … Default currency will be same as the wallet
111
+ # @param event_name Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
112
112
  # @param [Hash] opts the optional parameters
113
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
114
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
115
- # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
116
- # @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
117
- # @option opts [Integer] :joint_user_id Wallet co-owner's id. This user will not be allowed to collect the money from the wallet.
113
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
114
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
115
+ # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
116
+ # @option opts [Integer] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
117
+ # @option opts [Integer] :joint_user_id Wallet co-owner's id. This user will not be allowed to collect the money from the wallet.
118
118
  # @option opts [String] :wallet_tag Custom data
119
119
  # @option opts [Float] :load Initial loading amount.
120
- # @option opts [String] :event_alias Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding. Please note that the eventAlias must be unique.
121
- # @option opts [Date] :event_date Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
120
+ # @option opts [String] :event_alias Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding. Please note that the eventAlias must be unique.
121
+ # @option opts [Date] :event_date Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
122
122
  # @option opts [String] :event_message It can be a description of the wallet.
123
- # @option opts [Date] :event_payin_start_date Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD. If null, the default date will be the created date of the wallet.
124
- # @option opts [Date] :event_payin_end_date Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet
125
- # @return [InlineResponse20025]
123
+ # @option opts [Date] :event_payin_start_date Wallet activation date. The date ferom which you can deposit money on the wallet. Format : YYYY-MM-DD. If null, the default date will be the created date of the wallet.
124
+ # @option opts [Date] :event_payin_end_date Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet
125
+ # @return [InlineResponse20027]
126
126
  describe 'post_wallets test' do
127
127
  it "should work" do
128
128
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -134,10 +134,10 @@ describe 'WalletApi' do
134
134
  # Modifiy wallet information
135
135
  # @param id Object internal id.
136
136
  # @param [Hash] opts the optional parameters
137
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
138
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
139
- # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
140
- # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
137
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
138
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
139
+ # @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
140
+ # @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
141
141
  # @option opts [String] :wallet_type_id Change wallet type id
142
142
  # @option opts [String] :event_name Change event name
143
143
  # @option opts [String] :event_alias Change event alias. Please note that the eventAlias must be unique.
@@ -148,7 +148,7 @@ describe 'WalletApi' do
148
148
  # @option opts [String] :url_image Change URL image
149
149
  # @option opts [String] :image_name Change image name
150
150
  # @option opts [String] :tariff_id Change tariff id
151
- # @return [InlineResponse20025]
151
+ # @return [InlineResponse20027]
152
152
  describe 'put_wallet test' do
153
153
  it "should work" do
154
154
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,6 +38,12 @@ describe 'Beneficiary' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "id"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
41
47
  describe 'test attribute "user_id"' do
42
48
  it 'should work' do
43
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -38,24 +38,12 @@ describe 'CardDigitalization' do
38
38
  end
39
39
  end
40
40
 
41
- describe 'test attribute "external_id"' do
42
- it 'should work' do
43
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
- end
45
- end
46
-
47
41
  describe 'test attribute "card_id"' do
48
42
  it 'should work' do
49
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
44
  end
51
45
  end
52
46
 
53
- describe 'test attribute "details_from_gps"' do
54
- it 'should work' do
55
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
- end
57
- end
58
-
59
47
  describe 'test attribute "status"' do
60
48
  it 'should work' do
61
49
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -330,6 +330,12 @@ describe 'Card' do
330
330
  end
331
331
  end
332
332
 
333
+ describe 'test attribute "payment_daily_limit"' do
334
+ it 'should work' do
335
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
336
+ end
337
+ end
338
+
333
339
  describe 'test attribute "total_atm_year"' do
334
340
  it 'should work' do
335
341
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,82 @@
1
+ =begin
2
+ #Treezor
3
+
4
+ #Treezor API. more info [here](https://www.treezor.com).
5
+
6
+ OpenAPI spec version: 0.1.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TreezorClient::CountryRestrictionGroup
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'CountryRestrictionGroup' do
21
+ before do
22
+ # run before each test
23
+ @instance = TreezorClient::CountryRestrictionGroup.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CountryRestrictionGroup' do
31
+ it 'should create an instance of CountryRestrictionGroup' do
32
+ expect(@instance).to be_instance_of(TreezorClient::CountryRestrictionGroup)
33
+ end
34
+ end
35
+ describe 'test attribute "id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "name"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "is_whitelist"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "countries"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "status"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ #validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["PENDING", "CANCELED", "VALIDATED"])
63
+ #validator.allowable_values.each do |value|
64
+ # expect { @instance.status = value }.not_to raise_error
65
+ #end
66
+ end
67
+ end
68
+
69
+ describe 'test attribute "start_date"' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ describe 'test attribute "created_date"' do
76
+ it 'should work' do
77
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
78
+ end
79
+ end
80
+
81
+ end
82
+
@@ -66,6 +66,12 @@ describe 'Document' do
66
66
  end
67
67
  end
68
68
 
69
+ describe 'test attribute "residence_id"' do
70
+ it 'should work' do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
69
75
  describe 'test attribute "client_id"' do
70
76
  it 'should work' do
71
77
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,342 @@
1
+ =begin
2
+ #Treezor
3
+
4
+ #Treezor API. more info [here](https://www.treezor.com).
5
+
6
+ OpenAPI spec version: 0.1.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TreezorClient::InlineResponse20011Cardtransactions
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'InlineResponse20011Cardtransactions' do
21
+ before do
22
+ # run before each test
23
+ @instance = TreezorClient::InlineResponse20011Cardtransactions.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of InlineResponse20011Cardtransactions' do
31
+ it 'should create an instance of InlineResponse20011Cardtransactions' do
32
+ expect(@instance).to be_instance_of(TreezorClient::InlineResponse20011Cardtransactions)
33
+ end
34
+ end
35
+ describe 'test attribute "cardtransaction_id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "card_id"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "wallet_id"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "wallet_currency"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "merchant_id"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "merchant_name"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "merchant_city"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "merchant_country"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "mcc_code"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "payment_local_time"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "public_token"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "payment_amount"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "payment_currency"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "fees"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ describe 'test attribute "payment_country"' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
125
+ describe 'test attribute "payment_id"' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ describe 'test attribute "payment_status"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
137
+ describe 'test attribute "payment_local_amount"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "pos_cardholder_presence"' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ describe 'test attribute "pos_postcode"' do
150
+ it 'should work' do
151
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
152
+ end
153
+ end
154
+
155
+ describe 'test attribute "pos_country"' do
156
+ it 'should work' do
157
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
158
+ end
159
+ end
160
+
161
+ describe 'test attribute "pos_terminal_id"' do
162
+ it 'should work' do
163
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
164
+ end
165
+ end
166
+
167
+ describe 'test attribute "pos_card_presence"' do
168
+ it 'should work' do
169
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
170
+ end
171
+ end
172
+
173
+ describe 'test attribute "pan_entry_method"' do
174
+ it 'should work' do
175
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
176
+ end
177
+ end
178
+
179
+ describe 'test attribute "authorization_note"' do
180
+ it 'should work' do
181
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
182
+ end
183
+ end
184
+
185
+ describe 'test attribute "authorization_response_code"' do
186
+ it 'should work' do
187
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
188
+ end
189
+ end
190
+
191
+ describe 'test attribute "authorization_issuer_id"' do
192
+ it 'should work' do
193
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
194
+ end
195
+ end
196
+
197
+ describe 'test attribute "authorization_issuer_time"' do
198
+ it 'should work' do
199
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
200
+ end
201
+ end
202
+
203
+ describe 'test attribute "authorization_mti"' do
204
+ it 'should work' do
205
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
206
+ end
207
+ end
208
+
209
+ describe 'test attribute "authorized_balance"' do
210
+ it 'should work' do
211
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
212
+ end
213
+ end
214
+
215
+ describe 'test attribute "limit_atm_year"' do
216
+ it 'should work' do
217
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
218
+ end
219
+ end
220
+
221
+ describe 'test attribute "limit_atm_month"' do
222
+ it 'should work' do
223
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
224
+ end
225
+ end
226
+
227
+ describe 'test attribute "limit_atm_week"' do
228
+ it 'should work' do
229
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
230
+ end
231
+ end
232
+
233
+ describe 'test attribute "limit_atm_day"' do
234
+ it 'should work' do
235
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
236
+ end
237
+ end
238
+
239
+ describe 'test attribute "limit_atm_all"' do
240
+ it 'should work' do
241
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
242
+ end
243
+ end
244
+
245
+ describe 'test attribute "limit_payment_year"' do
246
+ it 'should work' do
247
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
248
+ end
249
+ end
250
+
251
+ describe 'test attribute "limit_payment_month"' do
252
+ it 'should work' do
253
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
254
+ end
255
+ end
256
+
257
+ describe 'test attribute "limit_payment_week"' do
258
+ it 'should work' do
259
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
260
+ end
261
+ end
262
+
263
+ describe 'test attribute "limit_payment_day"' do
264
+ it 'should work' do
265
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
266
+ end
267
+ end
268
+
269
+ describe 'test attribute "limit_payment_all"' do
270
+ it 'should work' do
271
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
272
+ end
273
+ end
274
+
275
+ describe 'test attribute "total_limit_atm_year"' do
276
+ it 'should work' do
277
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
278
+ end
279
+ end
280
+
281
+ describe 'test attribute "total_limit_atm_month"' do
282
+ it 'should work' do
283
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
284
+ end
285
+ end
286
+
287
+ describe 'test attribute "total_limit_atm_week"' do
288
+ it 'should work' do
289
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
290
+ end
291
+ end
292
+
293
+ describe 'test attribute "total_limit_atm_day"' do
294
+ it 'should work' do
295
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
296
+ end
297
+ end
298
+
299
+ describe 'test attribute "total_limit_atm_all"' do
300
+ it 'should work' do
301
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
302
+ end
303
+ end
304
+
305
+ describe 'test attribute "total_limit_payment_year"' do
306
+ it 'should work' do
307
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
308
+ end
309
+ end
310
+
311
+ describe 'test attribute "total_limit_payment_month"' do
312
+ it 'should work' do
313
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
314
+ end
315
+ end
316
+
317
+ describe 'test attribute "total_limit_payment_week"' do
318
+ it 'should work' do
319
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
320
+ end
321
+ end
322
+
323
+ describe 'test attribute "total_limit_payment_day"' do
324
+ it 'should work' do
325
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
326
+ end
327
+ end
328
+
329
+ describe 'test attribute "total_limit_payment_all"' do
330
+ it 'should work' do
331
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
332
+ end
333
+ end
334
+
335
+ describe 'test attribute "total_rows"' do
336
+ it 'should work' do
337
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
338
+ end
339
+ end
340
+
341
+ end
342
+
@@ -32,7 +32,7 @@ describe 'InlineResponse20011' do
32
32
  expect(@instance).to be_instance_of(TreezorClient::InlineResponse20011)
33
33
  end
34
34
  end
35
- describe 'test attribute "documents"' do
35
+ describe 'test attribute "cardtransactions"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end
@@ -32,7 +32,7 @@ describe 'InlineResponse20012' do
32
32
  expect(@instance).to be_instance_of(TreezorClient::InlineResponse20012)
33
33
  end
34
34
  end
35
- describe 'test attribute "mandates"' do
35
+ describe 'test attribute "documents"' do
36
36
  it 'should work' do
37
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
38
  end