treezor_client 1.3.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +2 -2
  3. data/docs/BalanceApi.md +3 -3
  4. data/docs/BankaccountApi.md +21 -21
  5. data/docs/BeneficiariesApi.md +18 -18
  6. data/docs/BusinessApi.md +22 -22
  7. data/docs/CardApi.md +66 -66
  8. data/docs/CardDigitalizationsApi.md +9 -9
  9. data/docs/CardReserveApi.md +9 -9
  10. data/docs/CardtransactionApi.md +5 -5
  11. data/docs/CountryRestrictionGroupsApi.md +16 -16
  12. data/docs/DocumentApi.md +23 -23
  13. data/docs/HeartbeatApi.md +3 -3
  14. data/docs/IssuerInitiatedDigitizationDataApi.md +10 -10
  15. data/docs/MandateApi.md +33 -33
  16. data/docs/MccRestrictionGroupsApi.md +16 -16
  17. data/docs/MerchantIdRestrictionGroupsApi.md +15 -15
  18. data/docs/PayinApi.md +28 -28
  19. data/docs/PayinrefundApi.md +20 -20
  20. data/docs/PayoutApi.md +27 -27
  21. data/docs/PayoutRefundsApi.md +6 -6
  22. data/docs/TaxResidenceApi.md +9 -9
  23. data/docs/TransactionApi.md +14 -14
  24. data/docs/TransferApi.md +23 -23
  25. data/docs/TransferrefundApi.md +19 -19
  26. data/docs/UserApi.md +103 -103
  27. data/docs/VirtualibansApi.md +24 -24
  28. data/docs/WalletApi.md +45 -45
  29. data/lib/treezor_client/api/balance_api.rb +5 -6
  30. data/lib/treezor_client/api/bankaccount_api.rb +14 -18
  31. data/lib/treezor_client/api/beneficiaries_api.rb +14 -18
  32. data/lib/treezor_client/api/business_api.rb +11 -13
  33. data/lib/treezor_client/api/card_api.rb +53 -76
  34. data/lib/treezor_client/api/card_digitalizations_api.rb +14 -18
  35. data/lib/treezor_client/api/card_reserve_api.rb +11 -14
  36. data/lib/treezor_client/api/cardtransaction_api.rb +8 -10
  37. data/lib/treezor_client/api/country_restriction_groups_api.rb +17 -22
  38. data/lib/treezor_client/api/document_api.rb +28 -33
  39. data/lib/treezor_client/api/heartbeat_api.rb +5 -6
  40. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +8 -10
  41. data/lib/treezor_client/api/mandate_api.rb +20 -26
  42. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +17 -22
  43. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +17 -22
  44. data/lib/treezor_client/api/payin_api.rb +14 -18
  45. data/lib/treezor_client/api/payinrefund_api.rb +14 -18
  46. data/lib/treezor_client/api/payout_api.rb +14 -18
  47. data/lib/treezor_client/api/payout_refunds_api.rb +5 -6
  48. data/lib/treezor_client/api/tax_residence_api.rb +17 -22
  49. data/lib/treezor_client/api/transaction_api.rb +8 -10
  50. data/lib/treezor_client/api/transfer_api.rb +14 -18
  51. data/lib/treezor_client/api/transferrefund_api.rb +14 -18
  52. data/lib/treezor_client/api/user_api.rb +20 -26
  53. data/lib/treezor_client/api/virtualibans_api.rb +14 -18
  54. data/lib/treezor_client/api/wallet_api.rb +17 -22
  55. data/lib/treezor_client/api_client.rb +9 -9
  56. data/lib/treezor_client/api_error.rb +1 -1
  57. data/lib/treezor_client/configuration.rb +2 -2
  58. data/lib/treezor_client/models/balance.rb +6 -11
  59. data/lib/treezor_client/models/bankaccount.rb +9 -13
  60. data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +8 -13
  61. data/lib/treezor_client/models/beneficiary.rb +6 -11
  62. data/lib/treezor_client/models/body.rb +11 -15
  63. data/lib/treezor_client/models/body_1.rb +8 -13
  64. data/lib/treezor_client/models/body_10.rb +9 -13
  65. data/lib/treezor_client/models/body_2.rb +6 -11
  66. data/lib/treezor_client/models/body_3.rb +8 -13
  67. data/lib/treezor_client/models/body_4.rb +8 -13
  68. data/lib/treezor_client/models/body_5.rb +11 -15
  69. data/lib/treezor_client/models/body_6.rb +9 -13
  70. data/lib/treezor_client/models/body_7.rb +11 -15
  71. data/lib/treezor_client/models/body_8.rb +9 -13
  72. data/lib/treezor_client/models/body_9.rb +11 -15
  73. data/lib/treezor_client/models/businesssearchs_businessinformations.rb +9 -13
  74. data/lib/treezor_client/models/card.rb +9 -13
  75. data/lib/treezor_client/models/card_digitalization.rb +6 -11
  76. data/lib/treezor_client/models/country_restriction_group.rb +9 -13
  77. data/lib/treezor_client/models/document.rb +9 -13
  78. data/lib/treezor_client/models/error.rb +6 -11
  79. data/lib/treezor_client/models/inline_response_200.rb +6 -11
  80. data/lib/treezor_client/models/inline_response_200_1.rb +6 -11
  81. data/lib/treezor_client/models/inline_response_200_10.rb +6 -11
  82. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +6 -11
  83. data/lib/treezor_client/models/inline_response_200_11.rb +6 -11
  84. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +6 -11
  85. data/lib/treezor_client/models/inline_response_200_12.rb +6 -11
  86. data/lib/treezor_client/models/inline_response_200_13.rb +6 -11
  87. data/lib/treezor_client/models/inline_response_200_14.rb +6 -11
  88. data/lib/treezor_client/models/inline_response_200_15.rb +6 -11
  89. data/lib/treezor_client/models/inline_response_200_16.rb +6 -11
  90. data/lib/treezor_client/models/inline_response_200_17.rb +6 -11
  91. data/lib/treezor_client/models/inline_response_200_18.rb +6 -11
  92. data/lib/treezor_client/models/inline_response_200_19.rb +6 -11
  93. data/lib/treezor_client/models/inline_response_200_2.rb +6 -11
  94. data/lib/treezor_client/models/inline_response_200_20.rb +6 -11
  95. data/lib/treezor_client/models/inline_response_200_21.rb +6 -11
  96. data/lib/treezor_client/models/inline_response_200_22.rb +6 -11
  97. data/lib/treezor_client/models/inline_response_200_23.rb +6 -11
  98. data/lib/treezor_client/models/inline_response_200_24.rb +6 -11
  99. data/lib/treezor_client/models/inline_response_200_25.rb +6 -11
  100. data/lib/treezor_client/models/inline_response_200_26.rb +6 -11
  101. data/lib/treezor_client/models/inline_response_200_27.rb +6 -11
  102. data/lib/treezor_client/models/inline_response_200_28.rb +6 -11
  103. data/lib/treezor_client/models/inline_response_200_3.rb +6 -11
  104. data/lib/treezor_client/models/inline_response_200_4.rb +6 -11
  105. data/lib/treezor_client/models/inline_response_200_5.rb +6 -11
  106. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +21 -25
  107. data/lib/treezor_client/models/inline_response_200_5_users.rb +9 -13
  108. data/lib/treezor_client/models/inline_response_200_6.rb +6 -11
  109. data/lib/treezor_client/models/inline_response_200_7.rb +6 -11
  110. data/lib/treezor_client/models/inline_response_200_7_cardimages.rb +8 -14
  111. data/lib/treezor_client/models/inline_response_200_8.rb +6 -11
  112. data/lib/treezor_client/models/inline_response_200_9.rb +6 -11
  113. data/lib/treezor_client/models/inline_response_default.rb +6 -11
  114. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +8 -13
  115. data/lib/treezor_client/models/mandate.rb +15 -19
  116. data/lib/treezor_client/models/mcc_restriction_group.rb +9 -13
  117. data/lib/treezor_client/models/merchant_id_restriction_group.rb +9 -13
  118. data/lib/treezor_client/models/payin.rb +9 -13
  119. data/lib/treezor_client/models/payinrefund.rb +9 -13
  120. data/lib/treezor_client/models/payout.rb +12 -16
  121. data/lib/treezor_client/models/payout_refund.rb +9 -13
  122. data/lib/treezor_client/models/tav.rb +6 -11
  123. data/lib/treezor_client/models/tax_residence.rb +6 -11
  124. data/lib/treezor_client/models/transaction.rb +6 -11
  125. data/lib/treezor_client/models/transfer.rb +9 -13
  126. data/lib/treezor_client/models/transferrefund.rb +9 -13
  127. data/lib/treezor_client/models/user.rb +12 -16
  128. data/lib/treezor_client/models/virtualiban.rb +6 -11
  129. data/lib/treezor_client/models/wallet.rb +9 -13
  130. data/lib/treezor_client/version.rb +2 -2
  131. data/lib/treezor_client.rb +1 -1
  132. data/pkg/treezor_client-1.3.0.gem +0 -0
  133. data/pkg/treezor_client-1.4.0.gem +0 -0
  134. data/treezor_api_spec.yaml +11 -11
  135. metadata +4 -2
data/docs/WalletApi.md CHANGED
@@ -34,13 +34,13 @@ api_instance = TreezorClient::WalletApi.new
34
34
 
35
35
  id = 56 # Integer | Wallet's id
36
36
 
37
- origin = "origin_example" # String | Request's origin. Possible values are: * OPERATOR * USER
37
+ origin = 'origin_example' # String | Request's origin. Possible values are: * OPERATOR * USER
38
38
 
39
39
  opts = {
40
- access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
41
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
40
+ access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
41
+ access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
42
42
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
43
- access_user_ip: "access_user_ip_example" # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
43
+ access_user_ip: 'access_user_ip_example' # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
44
44
  }
45
45
 
46
46
  begin
@@ -102,10 +102,10 @@ api_instance = TreezorClient::WalletApi.new
102
102
  id = 789 # Integer | Object internal id.
103
103
 
104
104
  opts = {
105
- access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
106
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
105
+ access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
106
+ access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
107
107
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
108
- access_user_ip: "access_user_ip_example" # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
108
+ access_user_ip: 'access_user_ip_example' # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
109
109
  }
110
110
 
111
111
  begin
@@ -164,31 +164,31 @@ end
164
164
  api_instance = TreezorClient::WalletApi.new
165
165
 
166
166
  opts = {
167
- access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
168
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
167
+ access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
168
+ access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
169
169
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
170
170
  access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
171
171
  wallet_id: 56, # Integer | Wallet's unique id.
172
- wallet_status: "wallet_status_example", # String | 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.
172
+ wallet_status: 'wallet_status_example', # String | 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.
173
173
  user_id: 56, # Integer | Wallet owner's id.
174
174
  parent_user_id: 56, # Integer | Parent user id of the wallet owner
175
- wallet_tag: "wallet_tag_example", # String | Custom data.
175
+ wallet_tag: 'wallet_tag_example', # String | Custom data.
176
176
  wallet_type_id: 56, # Integer | 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) |
177
- event_name: "event_name_example", # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
178
- event_alias: "event_alias_example", # String | 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
179
- event_payin_start_date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
180
- event_payin_end_date: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
177
+ event_name: 'event_name_example', # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
178
+ event_alias: 'event_alias_example', # String | 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
179
+ event_payin_start_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
180
+ event_payin_end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
181
181
  tariff_id: 56, # Integer | Wallet pricing id.
182
182
  payin_count: 56, # Integer | Number of payin done on the wallet.
183
- solde: "solde_example", # String | Wallet current balance.
183
+ solde: 'solde_example', # String | Wallet current balance.
184
184
  page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
185
185
  page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
186
- sort_by: "sort_by_example", # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
187
- sort_order: "sort_order_example", # String | 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).
188
- created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
189
- created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
190
- updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | 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)
191
- updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | 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)
186
+ sort_by: 'sort_by_example', # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
187
+ sort_order: 'sort_order_example', # String | 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).
188
+ created_date_from: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | 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)
189
+ created_date_to: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | 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)
190
+ updated_date_from: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | 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)
191
+ updated_date_to: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | 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)
192
192
  }
193
193
 
194
194
  begin
@@ -272,23 +272,23 @@ tariff_id = 56 # Integer | Wallet pricing id.
272
272
 
273
273
  user_id = 56 # Integer | Wallet owner's id.
274
274
 
275
- currency = "currency_example" # String | 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
275
+ currency = 'currency_example' # String | 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
276
276
 
277
- event_name = "event_name_example" # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
277
+ event_name = 'event_name_example' # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
278
278
 
279
279
  opts = {
280
- access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
281
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
280
+ access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
281
+ access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
282
282
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
283
283
  access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
284
284
  joint_user_id: 56, # Integer | Wallet co-owner's id. This user will not be allowed to collect the money from the wallet.
285
- wallet_tag: "wallet_tag_example", # String | Custom data
285
+ wallet_tag: 'wallet_tag_example', # String | Custom data
286
286
  load: 3.4, # Float | Initial loading amount.
287
- event_alias: "event_alias_example", # String | 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.
288
- event_date: Date.parse("2013-10-20"), # Date | Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
289
- event_message: "event_message_example", # String | It can be a description of the wallet.
290
- event_payin_start_date: Date.parse("2013-10-20"), # 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.
291
- event_payin_end_date: Date.parse("2013-10-20") # Date | Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet
287
+ event_alias: 'event_alias_example', # String | 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.
288
+ event_date: Date.parse('2013-10-20'), # Date | Wallet event date. Format : YYYY-MM-DD. Default: Created date + 7 days.
289
+ event_message: 'event_message_example', # String | It can be a description of the wallet.
290
+ event_payin_start_date: Date.parse('2013-10-20'), # 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.
291
+ event_payin_end_date: Date.parse('2013-10-20') # Date | Deadline to money deposit on the wallet. Format : YYYY-MM-DD. If null, the money can be deposited indefinitely on the wallet
292
292
  }
293
293
 
294
294
  begin
@@ -361,20 +361,20 @@ api_instance = TreezorClient::WalletApi.new
361
361
  id = 789 # Integer | Object internal id.
362
362
 
363
363
  opts = {
364
- access_signature: "access_signature_example", # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
365
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
364
+ access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
365
+ access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
366
366
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
367
- access_user_ip: "access_user_ip_example", # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
368
- wallet_type_id: "wallet_type_id_example", # String | Change wallet type id
369
- event_name: "event_name_example", # String | Change event name
370
- event_alias: "event_alias_example", # String | Change event alias. Please note that the eventAlias must be unique.
371
- event_date: "event_date_example", # String | Change event date
372
- event_message: "event_message_example", # String | Change event message
373
- event_payin_start_date: "event_payin_start_date_example", # String | Change event payin starting date
374
- event_payin_end_date: "event_payin_end_date_example", # String | Change event payin end date
375
- url_image: "url_image_example", # String | Change URL image
376
- image_name: "image_name_example", # String | Change image name
377
- tariff_id: "tariff_id_example" # String | Change tariff id
367
+ access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
368
+ wallet_type_id: 'wallet_type_id_example', # String | Change wallet type id
369
+ event_name: 'event_name_example', # String | Change event name
370
+ event_alias: 'event_alias_example', # String | Change event alias. Please note that the eventAlias must be unique.
371
+ event_date: 'event_date_example', # String | Change event date
372
+ event_message: 'event_message_example', # String | Change event message
373
+ event_payin_start_date: 'event_payin_start_date_example', # String | Change event payin starting date
374
+ event_payin_end_date: 'event_payin_end_date_example', # String | Change event payin end date
375
+ url_image: 'url_image_example', # String | Change URL image
376
+ image_name: 'image_name_example', # String | Change image name
377
+ tariff_id: 'tariff_id_example' # String | Change tariff id
378
378
  }
379
379
 
380
380
  begin
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class BalanceApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # search balances
24
23
  # Get balances that match search criteria.
25
24
  # @param [Hash] opts the optional parameters
@@ -32,7 +31,7 @@ module TreezorClient
32
31
  # @return [InlineResponse2002]
33
32
  def get_balances(opts = {})
34
33
  data, _status_code, _headers = get_balances_with_http_info(opts)
35
- return data
34
+ data
36
35
  end
37
36
 
38
37
  # search balances
@@ -47,10 +46,10 @@ module TreezorClient
47
46
  # @return [Array<(InlineResponse2002, Fixnum, Hash)>] InlineResponse2002 data, response status code and response headers
48
47
  def get_balances_with_http_info(opts = {})
49
48
  if @api_client.config.debugging
50
- @api_client.config.logger.debug "Calling API: BalanceApi.get_balances ..."
49
+ @api_client.config.logger.debug 'Calling API: BalanceApi.get_balances ...'
51
50
  end
52
51
  # resource path
53
- local_var_path = "/balances"
52
+ local_var_path = '/balances'
54
53
 
55
54
  # query parameters
56
55
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class BankaccountApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # deactivate a bank account
24
23
  # Change bank account's status to CANCELED. If a payout is being validated on this bank account, it can not be canceled.
25
24
  # @param id Bank Accounts internal id.
@@ -27,7 +26,7 @@ module TreezorClient
27
26
  # @return [InlineResponse2003]
28
27
  def delete_bankaccount(id, opts = {})
29
28
  data, _status_code, _headers = delete_bankaccount_with_http_info(id, opts)
30
- return data
29
+ data
31
30
  end
32
31
 
33
32
  # deactivate a bank account
@@ -37,14 +36,14 @@ module TreezorClient
37
36
  # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
38
37
  def delete_bankaccount_with_http_info(id, opts = {})
39
38
  if @api_client.config.debugging
40
- @api_client.config.logger.debug "Calling API: BankaccountApi.delete_bankaccount ..."
39
+ @api_client.config.logger.debug 'Calling API: BankaccountApi.delete_bankaccount ...'
41
40
  end
42
41
  # verify the required parameter 'id' is set
43
42
  if @api_client.config.client_side_validation && id.nil?
44
43
  fail ArgumentError, "Missing the required parameter 'id' when calling BankaccountApi.delete_bankaccount"
45
44
  end
46
45
  # resource path
47
- local_var_path = "/bankaccounts/{id}".sub('{' + 'id' + '}', id.to_s)
46
+ local_var_path = '/bankaccounts/{id}'.sub('{' + 'id' + '}', id.to_s)
48
47
 
49
48
  # query parameters
50
49
  query_params = {}
@@ -74,7 +73,6 @@ module TreezorClient
74
73
  end
75
74
  return data, status_code, headers
76
75
  end
77
-
78
76
  # get a bank account
79
77
  # Get a bank account from the system.
80
78
  # @param id Bank Accounts internal id.
@@ -82,7 +80,7 @@ module TreezorClient
82
80
  # @return [InlineResponse2003]
83
81
  def get_bankaccount(id, opts = {})
84
82
  data, _status_code, _headers = get_bankaccount_with_http_info(id, opts)
85
- return data
83
+ data
86
84
  end
87
85
 
88
86
  # get a bank account
@@ -92,14 +90,14 @@ module TreezorClient
92
90
  # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
93
91
  def get_bankaccount_with_http_info(id, opts = {})
94
92
  if @api_client.config.debugging
95
- @api_client.config.logger.debug "Calling API: BankaccountApi.get_bankaccount ..."
93
+ @api_client.config.logger.debug 'Calling API: BankaccountApi.get_bankaccount ...'
96
94
  end
97
95
  # verify the required parameter 'id' is set
98
96
  if @api_client.config.client_side_validation && id.nil?
99
97
  fail ArgumentError, "Missing the required parameter 'id' when calling BankaccountApi.get_bankaccount"
100
98
  end
101
99
  # resource path
102
- local_var_path = "/bankaccounts/{id}".sub('{' + 'id' + '}', id.to_s)
100
+ local_var_path = '/bankaccounts/{id}'.sub('{' + 'id' + '}', id.to_s)
103
101
 
104
102
  # query parameters
105
103
  query_params = {}
@@ -129,7 +127,6 @@ module TreezorClient
129
127
  end
130
128
  return data, status_code, headers
131
129
  end
132
-
133
130
  # search bank accounts
134
131
  # Get bank accounts that match search criteria.
135
132
  # @param [Hash] opts the optional parameters
@@ -152,7 +149,7 @@ module TreezorClient
152
149
  # @return [InlineResponse2003]
153
150
  def get_bankaccounts(opts = {})
154
151
  data, _status_code, _headers = get_bankaccounts_with_http_info(opts)
155
- return data
152
+ data
156
153
  end
157
154
 
158
155
  # search bank accounts
@@ -177,10 +174,10 @@ module TreezorClient
177
174
  # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
178
175
  def get_bankaccounts_with_http_info(opts = {})
179
176
  if @api_client.config.debugging
180
- @api_client.config.logger.debug "Calling API: BankaccountApi.get_bankaccounts ..."
177
+ @api_client.config.logger.debug 'Calling API: BankaccountApi.get_bankaccounts ...'
181
178
  end
182
179
  # resource path
183
- local_var_path = "/bankaccounts"
180
+ local_var_path = '/bankaccounts'
184
181
 
185
182
  # query parameters
186
183
  query_params = {}
@@ -226,7 +223,6 @@ module TreezorClient
226
223
  end
227
224
  return data, status_code, headers
228
225
  end
229
-
230
226
  # create a bank account
231
227
  # Create a new benefeciary bank account in the system.
232
228
  # @param user_id Owner user&#39;s id.
@@ -245,7 +241,7 @@ module TreezorClient
245
241
  # @return [InlineResponse2003]
246
242
  def post_bankaccount(user_id, bankaccount_owner_name, bankaccount_owner_address, bankaccount_iban, bankaccount_bic, bankaccount_type, opts = {})
247
243
  data, _status_code, _headers = post_bankaccount_with_http_info(user_id, bankaccount_owner_name, bankaccount_owner_address, bankaccount_iban, bankaccount_bic, bankaccount_type, opts)
248
- return data
244
+ data
249
245
  end
250
246
 
251
247
  # create a bank account
@@ -266,7 +262,7 @@ module TreezorClient
266
262
  # @return [Array<(InlineResponse2003, Fixnum, Hash)>] InlineResponse2003 data, response status code and response headers
267
263
  def post_bankaccount_with_http_info(user_id, bankaccount_owner_name, bankaccount_owner_address, bankaccount_iban, bankaccount_bic, bankaccount_type, opts = {})
268
264
  if @api_client.config.debugging
269
- @api_client.config.logger.debug "Calling API: BankaccountApi.post_bankaccount ..."
265
+ @api_client.config.logger.debug 'Calling API: BankaccountApi.post_bankaccount ...'
270
266
  end
271
267
  # verify the required parameter 'user_id' is set
272
268
  if @api_client.config.client_side_validation && user_id.nil?
@@ -297,7 +293,7 @@ module TreezorClient
297
293
  fail ArgumentError, "invalid value for 'bankaccount_type', must be one of sct, sdd_core, sdd_b2b"
298
294
  end
299
295
  # resource path
300
- local_var_path = "/bankaccounts"
296
+ local_var_path = '/bankaccounts'
301
297
 
302
298
  # query parameters
303
299
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class BeneficiariesApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # search beneficiary bank accounts
24
23
  # Get beneficiary bank accounts that match search criteria.
25
24
  # @param [Hash] opts the optional parameters
@@ -42,7 +41,7 @@ module TreezorClient
42
41
  # @return [InlineResponse2001]
43
42
  def get_beneficiaries(opts = {})
44
43
  data, _status_code, _headers = get_beneficiaries_with_http_info(opts)
45
- return data
44
+ data
46
45
  end
47
46
 
48
47
  # search beneficiary bank accounts
@@ -67,10 +66,10 @@ module TreezorClient
67
66
  # @return [Array<(InlineResponse2001, Fixnum, Hash)>] InlineResponse2001 data, response status code and response headers
68
67
  def get_beneficiaries_with_http_info(opts = {})
69
68
  if @api_client.config.debugging
70
- @api_client.config.logger.debug "Calling API: BeneficiariesApi.get_beneficiaries ..."
69
+ @api_client.config.logger.debug 'Calling API: BeneficiariesApi.get_beneficiaries ...'
71
70
  end
72
71
  # resource path
73
- local_var_path = "/beneficiaries"
72
+ local_var_path = '/beneficiaries'
74
73
 
75
74
  # query parameters
76
75
  query_params = {}
@@ -116,7 +115,6 @@ module TreezorClient
116
115
  end
117
116
  return data, status_code, headers
118
117
  end
119
-
120
118
  # get a beneficiary bank account
121
119
  # Get a beneficiary bank account from the system.
122
120
  # @param id Beneficiary Bank Accounts internal id.
@@ -125,7 +123,7 @@ module TreezorClient
125
123
  # @return [InlineResponse2001]
126
124
  def get_beneficiary(id, opts = {})
127
125
  data, _status_code, _headers = get_beneficiary_with_http_info(id, opts)
128
- return data
126
+ data
129
127
  end
130
128
 
131
129
  # get a beneficiary bank account
@@ -136,14 +134,14 @@ module TreezorClient
136
134
  # @return [Array<(InlineResponse2001, Fixnum, Hash)>] InlineResponse2001 data, response status code and response headers
137
135
  def get_beneficiary_with_http_info(id, opts = {})
138
136
  if @api_client.config.debugging
139
- @api_client.config.logger.debug "Calling API: BeneficiariesApi.get_beneficiary ..."
137
+ @api_client.config.logger.debug 'Calling API: BeneficiariesApi.get_beneficiary ...'
140
138
  end
141
139
  # verify the required parameter 'id' is set
142
140
  if @api_client.config.client_side_validation && id.nil?
143
141
  fail ArgumentError, "Missing the required parameter 'id' when calling BeneficiariesApi.get_beneficiary"
144
142
  end
145
143
  # resource path
146
- local_var_path = "/beneficiaries/{id}".sub('{' + 'id' + '}', id.to_s)
144
+ local_var_path = '/beneficiaries/{id}'.sub('{' + 'id' + '}', id.to_s)
147
145
 
148
146
  # query parameters
149
147
  query_params = {}
@@ -174,7 +172,6 @@ module TreezorClient
174
172
  end
175
173
  return data, status_code, headers
176
174
  end
177
-
178
175
  # create a beneficiary
179
176
  # Create a new benefeciary bank account in the system.
180
177
  # @param [Hash] opts the optional parameters
@@ -186,7 +183,7 @@ module TreezorClient
186
183
  # @return [InlineResponse2001]
187
184
  def post_beneficiary(opts = {})
188
185
  data, _status_code, _headers = post_beneficiary_with_http_info(opts)
189
- return data
186
+ data
190
187
  end
191
188
 
192
189
  # create a beneficiary
@@ -200,10 +197,10 @@ module TreezorClient
200
197
  # @return [Array<(InlineResponse2001, Fixnum, Hash)>] InlineResponse2001 data, response status code and response headers
201
198
  def post_beneficiary_with_http_info(opts = {})
202
199
  if @api_client.config.debugging
203
- @api_client.config.logger.debug "Calling API: BeneficiariesApi.post_beneficiary ..."
200
+ @api_client.config.logger.debug 'Calling API: BeneficiariesApi.post_beneficiary ...'
204
201
  end
205
202
  # resource path
206
- local_var_path = "/beneficiaries"
203
+ local_var_path = '/beneficiaries'
207
204
 
208
205
  # query parameters
209
206
  query_params = {}
@@ -237,7 +234,6 @@ module TreezorClient
237
234
  end
238
235
  return data, status_code, headers
239
236
  end
240
-
241
237
  # edit a beneficiary
242
238
  # Edit a benefeciary bank account in the system.
243
239
  # @param id Beneficiary&#39;s id.
@@ -250,7 +246,7 @@ module TreezorClient
250
246
  # @return [InlineResponse2001]
251
247
  def put_beneficiary(id, opts = {})
252
248
  data, _status_code, _headers = put_beneficiary_with_http_info(id, opts)
253
- return data
249
+ data
254
250
  end
255
251
 
256
252
  # edit a beneficiary
@@ -265,14 +261,14 @@ module TreezorClient
265
261
  # @return [Array<(InlineResponse2001, Fixnum, Hash)>] InlineResponse2001 data, response status code and response headers
266
262
  def put_beneficiary_with_http_info(id, opts = {})
267
263
  if @api_client.config.debugging
268
- @api_client.config.logger.debug "Calling API: BeneficiariesApi.put_beneficiary ..."
264
+ @api_client.config.logger.debug 'Calling API: BeneficiariesApi.put_beneficiary ...'
269
265
  end
270
266
  # verify the required parameter 'id' is set
271
267
  if @api_client.config.client_side_validation && id.nil?
272
268
  fail ArgumentError, "Missing the required parameter 'id' when calling BeneficiariesApi.put_beneficiary"
273
269
  end
274
270
  # resource path
275
- local_var_path = "/beneficiaries/{id}".sub('{' + 'id' + '}', id.to_s)
271
+ local_var_path = '/beneficiaries/{id}'.sub('{' + 'id' + '}', id.to_s)
276
272
 
277
273
  # query parameters
278
274
  query_params = {}
@@ -6,11 +6,11 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.3.1
9
+ Swagger Codegen version: 2.4.1
10
10
 
11
11
  =end
12
12
 
13
- require "uri"
13
+ require 'uri'
14
14
 
15
15
  module TreezorClient
16
16
  class BusinessApi
@@ -19,7 +19,6 @@ module TreezorClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
-
23
22
  # get business information
24
23
  # The get business information endpoint returns all already known business information. End user will have then to verify/correct it.
25
24
  # @param country In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
@@ -34,7 +33,7 @@ module TreezorClient
34
33
  # @return [InlineResponse2005]
35
34
  def businessinformations_get(country, opts = {})
36
35
  data, _status_code, _headers = businessinformations_get_with_http_info(country, opts)
37
- return data
36
+ data
38
37
  end
39
38
 
40
39
  # get business information
@@ -51,14 +50,14 @@ module TreezorClient
51
50
  # @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
52
51
  def businessinformations_get_with_http_info(country, opts = {})
53
52
  if @api_client.config.debugging
54
- @api_client.config.logger.debug "Calling API: BusinessApi.businessinformations_get ..."
53
+ @api_client.config.logger.debug 'Calling API: BusinessApi.businessinformations_get ...'
55
54
  end
56
55
  # verify the required parameter 'country' is set
57
56
  if @api_client.config.client_side_validation && country.nil?
58
57
  fail ArgumentError, "Missing the required parameter 'country' when calling BusinessApi.businessinformations_get"
59
58
  end
60
59
  # resource path
61
- local_var_path = "/businessinformations"
60
+ local_var_path = '/businessinformations'
62
61
 
63
62
  # query parameters
64
63
  query_params = {}
@@ -92,7 +91,6 @@ module TreezorClient
92
91
  end
93
92
  return data, status_code, headers
94
93
  end
95
-
96
94
  # search businesses
97
95
  # The search endpoint returns some business information.
98
96
  # @param country In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
@@ -110,10 +108,10 @@ module TreezorClient
110
108
  # @option opts [String] :address_street Business&#39; street address.
111
109
  # @option opts [String] :address_city Business&#39; city address.
112
110
  # @option opts [String] :address_postal_code Business&#39; postal code address.
113
- # @return [Array<InlineResponse2004>]
111
+ # @return [Array<Object>]
114
112
  def businesssearchs_get(country, opts = {})
115
113
  data, _status_code, _headers = businesssearchs_get_with_http_info(country, opts)
116
- return data
114
+ data
117
115
  end
118
116
 
119
117
  # search businesses
@@ -133,17 +131,17 @@ module TreezorClient
133
131
  # @option opts [String] :address_street Business&#39; street address.
134
132
  # @option opts [String] :address_city Business&#39; city address.
135
133
  # @option opts [String] :address_postal_code Business&#39; postal code address.
136
- # @return [Array<(Array<InlineResponse2004>, Fixnum, Hash)>] Array<InlineResponse2004> data, response status code and response headers
134
+ # @return [Array<(Array<Object>, Fixnum, Hash)>] Array<Object> data, response status code and response headers
137
135
  def businesssearchs_get_with_http_info(country, opts = {})
138
136
  if @api_client.config.debugging
139
- @api_client.config.logger.debug "Calling API: BusinessApi.businesssearchs_get ..."
137
+ @api_client.config.logger.debug 'Calling API: BusinessApi.businesssearchs_get ...'
140
138
  end
141
139
  # verify the required parameter 'country' is set
142
140
  if @api_client.config.client_side_validation && country.nil?
143
141
  fail ArgumentError, "Missing the required parameter 'country' when calling BusinessApi.businesssearchs_get"
144
142
  end
145
143
  # resource path
146
- local_var_path = "/businesssearchs"
144
+ local_var_path = '/businesssearchs'
147
145
 
148
146
  # query parameters
149
147
  query_params = {}
@@ -177,7 +175,7 @@ module TreezorClient
177
175
  :form_params => form_params,
178
176
  :body => post_body,
179
177
  :auth_names => auth_names,
180
- :return_type => 'Array<InlineResponse2004>')
178
+ :return_type => 'Array<Object>')
181
179
  if @api_client.config.debugging
182
180
  @api_client.config.logger.debug "API called: BusinessApi#businesssearchs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
183
181
  end