treezor_client 1.1.0 → 1.2.0

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 (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
@@ -25,7 +25,7 @@ module TreezorClient
25
25
  # @param id Mandate's internal id.
26
26
  # @param origin The origin of the request for revocation
27
27
  # @param [Hash] opts the optional parameters
28
- # @return [InlineResponse20012]
28
+ # @return [InlineResponse20013]
29
29
  def delete_mandate(id, origin, opts = {})
30
30
  data, _status_code, _headers = delete_mandate_with_http_info(id, origin, opts)
31
31
  return data
@@ -36,7 +36,7 @@ module TreezorClient
36
36
  # @param id Mandate's internal id.
37
37
  # @param origin The origin of the request for revocation
38
38
  # @param [Hash] opts the optional parameters
39
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
39
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
40
40
  def delete_mandate_with_http_info(id, origin, opts = {})
41
41
  if @api_client.config.debugging
42
42
  @api_client.config.logger.debug "Calling API: MandateApi.delete_mandate ..."
@@ -79,7 +79,7 @@ module TreezorClient
79
79
  :form_params => form_params,
80
80
  :body => post_body,
81
81
  :auth_names => auth_names,
82
- :return_type => 'InlineResponse20012')
82
+ :return_type => 'InlineResponse20013')
83
83
  if @api_client.config.debugging
84
84
  @api_client.config.logger.debug "API called: MandateApi#delete_mandate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
85
85
  end
@@ -90,7 +90,7 @@ module TreezorClient
90
90
  # Get a mandate from the system.
91
91
  # @param id Mandate&#39;s internal id.
92
92
  # @param [Hash] opts the optional parameters
93
- # @return [InlineResponse20012]
93
+ # @return [InlineResponse20013]
94
94
  def get_mandate(id, opts = {})
95
95
  data, _status_code, _headers = get_mandate_with_http_info(id, opts)
96
96
  return data
@@ -100,7 +100,7 @@ module TreezorClient
100
100
  # Get a mandate from the system.
101
101
  # @param id Mandate&#39;s internal id.
102
102
  # @param [Hash] opts the optional parameters
103
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
103
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
104
104
  def get_mandate_with_http_info(id, opts = {})
105
105
  if @api_client.config.debugging
106
106
  @api_client.config.logger.debug "Calling API: MandateApi.get_mandate ..."
@@ -134,7 +134,7 @@ module TreezorClient
134
134
  :form_params => form_params,
135
135
  :body => post_body,
136
136
  :auth_names => auth_names,
137
- :return_type => 'InlineResponse20012')
137
+ :return_type => 'InlineResponse20013')
138
138
  if @api_client.config.debugging
139
139
  @api_client.config.logger.debug "API called: MandateApi#get_mandate\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
140
140
  end
@@ -144,16 +144,16 @@ module TreezorClient
144
144
  # search mandates
145
145
  # Get mandates that match search criteria.
146
146
  # @param [Hash] opts the optional parameters
147
- # @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).
148
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
149
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
150
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
147
+ # @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).
148
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
149
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
150
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
151
151
  # @option opts [Integer] :mandate_id Mandate&#39;s Id
152
152
  # @option opts [Integer] :user_id User&#39;s id who initiates the mandate request.
153
153
  # @option opts [String] :unique_mandate_reference Unique Mandate Reference (UMR) of the searched mandate. It is a sequence of characters that ensures the mandate traceability. UMR coupled with SCI allows to uniquely identify a creditor and a contract for any mandate. It is provided at the mandate creation.
154
154
  # @option opts [String] :mandate_status Mandate&#39;s status. Possible values: * CANCELED * PENDING * VALIDATED
155
155
  # @option opts [String] :filter You can filter the API response by using filter(s). Filters should be separated by a \&quot;;\&quot;. Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \&quot;fieldName criterion expression\&quot;. Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | &gt; | greater than | alphanumeric string | 100 | | &gt;&#x3D; | greater or equal than | alphanumeric string | 100 | | &lt; | less than | alphanumeric string | 100 | | &lt;&#x3D; | less or equal than | alphanumeric string | 100 | | !&#x3D; | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | &#x3D;&#x3D; | equals | alphanumeric string | 100 |
156
- # @return [InlineResponse20012]
156
+ # @return [InlineResponse20013]
157
157
  def get_mandates(opts = {})
158
158
  data, _status_code, _headers = get_mandates_with_http_info(opts)
159
159
  return data
@@ -162,16 +162,16 @@ module TreezorClient
162
162
  # search mandates
163
163
  # Get mandates that match search criteria.
164
164
  # @param [Hash] opts the optional parameters
165
- # @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).
166
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
167
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
168
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
165
+ # @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).
166
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
167
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
168
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
169
169
  # @option opts [Integer] :mandate_id Mandate&#39;s Id
170
170
  # @option opts [Integer] :user_id User&#39;s id who initiates the mandate request.
171
171
  # @option opts [String] :unique_mandate_reference Unique Mandate Reference (UMR) of the searched mandate. It is a sequence of characters that ensures the mandate traceability. UMR coupled with SCI allows to uniquely identify a creditor and a contract for any mandate. It is provided at the mandate creation.
172
172
  # @option opts [String] :mandate_status Mandate&#39;s status. Possible values: * CANCELED * PENDING * VALIDATED
173
173
  # @option opts [String] :filter You can filter the API response by using filter(s). Filters should be separated by a \&quot;;\&quot;. Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \&quot;fieldName criterion expression\&quot;. Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | &gt; | greater than | alphanumeric string | 100 | | &gt;&#x3D; | greater or equal than | alphanumeric string | 100 | | &lt; | less than | alphanumeric string | 100 | | &lt;&#x3D; | less or equal than | alphanumeric string | 100 | | !&#x3D; | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | &#x3D;&#x3D; | equals | alphanumeric string | 100 |
174
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
174
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
175
175
  def get_mandates_with_http_info(opts = {})
176
176
  if @api_client.config.debugging
177
177
  @api_client.config.logger.debug "Calling API: MandateApi.get_mandates ..."
@@ -210,7 +210,7 @@ module TreezorClient
210
210
  :form_params => form_params,
211
211
  :body => post_body,
212
212
  :auth_names => auth_names,
213
- :return_type => 'InlineResponse20012')
213
+ :return_type => 'InlineResponse20013')
214
214
  if @api_client.config.debugging
215
215
  @api_client.config.logger.debug "API called: MandateApi#get_mandates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
216
216
  end
@@ -218,34 +218,34 @@ module TreezorClient
218
218
  end
219
219
 
220
220
  # send an OTP
221
- # Send an OTP to sign a specific mandate. The OTP will be sent to the user's mobile phone OR to a specific mobile phone number in the request.
221
+ # Send an OTP to sign a specific mandate. The OTP will be sent to the user's mobile phone OR to a specific mobile phone number in the request.
222
222
  # @param id Mandate&#39;s id.
223
- # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
224
- # @param 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).
223
+ # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
224
+ # @param 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).
225
225
  # @param user_id User&#39;s id who initiates the mandate request.
226
226
  # @param [Hash] opts the optional parameters
227
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
228
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
229
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
227
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
228
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
229
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
230
230
  # @option opts [String] :debtor_mobile Debtor&#39;s mobile phone number. Used to send the OTP for signature
231
- # @return [InlineResponse20012]
231
+ # @return [InlineResponse20013]
232
232
  def mandates_id_resend_otp_put(id, access_token, access_signature, user_id, opts = {})
233
233
  data, _status_code, _headers = mandates_id_resend_otp_put_with_http_info(id, access_token, access_signature, user_id, opts)
234
234
  return data
235
235
  end
236
236
 
237
237
  # send an OTP
238
- # Send an OTP to sign a specific mandate. The OTP will be sent to the user&#39;s mobile phone OR to a specific mobile phone number in the request.
238
+ # Send an OTP to sign a specific mandate. The OTP will be sent to the user&#39;s mobile phone OR to a specific mobile phone number in the request.
239
239
  # @param id Mandate&#39;s id.
240
- # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
241
- # @param 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).
240
+ # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
241
+ # @param 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).
242
242
  # @param user_id User&#39;s id who initiates the mandate request.
243
243
  # @param [Hash] opts the optional parameters
244
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
245
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
246
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
244
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
245
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
246
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
247
247
  # @option opts [String] :debtor_mobile Debtor&#39;s mobile phone number. Used to send the OTP for signature
248
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
248
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
249
249
  def mandates_id_resend_otp_put_with_http_info(id, access_token, access_signature, user_id, opts = {})
250
250
  if @api_client.config.debugging
251
251
  @api_client.config.logger.debug "Calling API: MandateApi.mandates_id_resend_otp_put ..."
@@ -294,7 +294,7 @@ module TreezorClient
294
294
  :form_params => form_params,
295
295
  :body => post_body,
296
296
  :auth_names => auth_names,
297
- :return_type => 'InlineResponse20012')
297
+ :return_type => 'InlineResponse20013')
298
298
  if @api_client.config.debugging
299
299
  @api_client.config.logger.debug "API called: MandateApi#mandates_id_resend_otp_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
300
300
  end
@@ -304,16 +304,16 @@ module TreezorClient
304
304
  # sign a mandate
305
305
  # Sign a mandate with the received OTP.
306
306
  # @param id Mandate&#39;s id.
307
- # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
308
- # @param 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).
307
+ # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
308
+ # @param 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).
309
309
  # @param user_id User&#39;s is who initiates the mandate request.
310
310
  # @param otp The One-time password that the user got once mandate created.
311
311
  # @param [Hash] opts the optional parameters
312
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
313
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
314
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
312
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
313
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
314
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
315
315
  # @option opts [String] :debtor_signature_ip IP address from which the mandate will be signed.
316
- # @return [InlineResponse20012]
316
+ # @return [InlineResponse20013]
317
317
  def mandates_id_sign_put(id, access_token, access_signature, user_id, otp, opts = {})
318
318
  data, _status_code, _headers = mandates_id_sign_put_with_http_info(id, access_token, access_signature, user_id, otp, opts)
319
319
  return data
@@ -322,16 +322,16 @@ module TreezorClient
322
322
  # sign a mandate
323
323
  # Sign a mandate with the received OTP.
324
324
  # @param id Mandate&#39;s id.
325
- # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
326
- # @param 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).
325
+ # @param access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
326
+ # @param 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).
327
327
  # @param user_id User&#39;s is who initiates the mandate request.
328
328
  # @param otp The One-time password that the user got once mandate created.
329
329
  # @param [Hash] opts the optional parameters
330
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
331
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
332
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
330
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
331
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
332
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
333
333
  # @option opts [String] :debtor_signature_ip IP address from which the mandate will be signed.
334
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
334
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
335
335
  def mandates_id_sign_put_with_http_info(id, access_token, access_signature, user_id, otp, opts = {})
336
336
  if @api_client.config.debugging
337
337
  @api_client.config.logger.debug "Calling API: MandateApi.mandates_id_sign_put ..."
@@ -385,7 +385,7 @@ module TreezorClient
385
385
  :form_params => form_params,
386
386
  :body => post_body,
387
387
  :auth_names => auth_names,
388
- :return_type => 'InlineResponse20012')
388
+ :return_type => 'InlineResponse20013')
389
389
  if @api_client.config.debugging
390
390
  @api_client.config.logger.debug "API called: MandateApi#mandates_id_sign_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
391
391
  end
@@ -393,7 +393,7 @@ module TreezorClient
393
393
  end
394
394
 
395
395
  # create a mandate
396
- # Create a new mandate in the system.
396
+ # Create a new mandate in the system.
397
397
  # @param sdd_type Type of mandate. | Type | Description | | ---- | ----------- | | core | Sepa Direct Debit Core | | b2b | Sepa Direct Debit Business 2 Business |
398
398
  # @param is_paper Indicate if it&#39;s a paper mandate or not
399
399
  # @param user_id User&#39;s id who initiates the mandate request. The creditor.
@@ -406,20 +406,20 @@ module TreezorClient
406
406
  # @param sequence_type Type of mandate. | Type | Description | | ---- | ----------- | | one-off | One-off payment | | recurrent | Recurrent payment | Default value: one-off.
407
407
  # @param created_ip IP address of the system that created mandate.
408
408
  # @param [Hash] opts the optional parameters
409
- # @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).
410
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
411
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
412
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
409
+ # @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).
410
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
411
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
412
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
413
413
  # @option opts [String] :debtor_bic Debtor&#39;s BIC (or SWIFT)
414
414
  # @option opts [String] :signature_date Signature date of the mandate. Required if is paper.
415
- # @return [InlineResponse20012]
415
+ # @return [InlineResponse20013]
416
416
  def post_mandates(sdd_type, is_paper, user_id, debtor_name, debtor_address, debtor_city, debtor_zip_code, debtor_country, debtor_iban, sequence_type, created_ip, opts = {})
417
417
  data, _status_code, _headers = post_mandates_with_http_info(sdd_type, is_paper, user_id, debtor_name, debtor_address, debtor_city, debtor_zip_code, debtor_country, debtor_iban, sequence_type, created_ip, opts)
418
418
  return data
419
419
  end
420
420
 
421
421
  # create a mandate
422
- # Create a new mandate in the system.
422
+ # Create a new mandate in the system.
423
423
  # @param sdd_type Type of mandate. | Type | Description | | ---- | ----------- | | core | Sepa Direct Debit Core | | b2b | Sepa Direct Debit Business 2 Business |
424
424
  # @param is_paper Indicate if it&#39;s a paper mandate or not
425
425
  # @param user_id User&#39;s id who initiates the mandate request. The creditor.
@@ -432,13 +432,13 @@ module TreezorClient
432
432
  # @param sequence_type Type of mandate. | Type | Description | | ---- | ----------- | | one-off | One-off payment | | recurrent | Recurrent payment | Default value: one-off.
433
433
  # @param created_ip IP address of the system that created mandate.
434
434
  # @param [Hash] opts the optional parameters
435
- # @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).
436
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
437
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
438
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
435
+ # @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).
436
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
437
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
438
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
439
439
  # @option opts [String] :debtor_bic Debtor&#39;s BIC (or SWIFT)
440
440
  # @option opts [String] :signature_date Signature date of the mandate. Required if is paper.
441
- # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
441
+ # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
442
442
  def post_mandates_with_http_info(sdd_type, is_paper, user_id, debtor_name, debtor_address, debtor_city, debtor_zip_code, debtor_country, debtor_iban, sequence_type, created_ip, opts = {})
443
443
  if @api_client.config.debugging
444
444
  @api_client.config.logger.debug "Calling API: MandateApi.post_mandates ..."
@@ -533,7 +533,7 @@ module TreezorClient
533
533
  :form_params => form_params,
534
534
  :body => post_body,
535
535
  :auth_names => auth_names,
536
- :return_type => 'InlineResponse20012')
536
+ :return_type => 'InlineResponse20013')
537
537
  if @api_client.config.debugging
538
538
  @api_client.config.logger.debug "API called: MandateApi#post_mandates\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
539
539
  end
@@ -25,7 +25,7 @@ module TreezorClient
25
25
  # @param id MCC restriction Group internal id.
26
26
  # @param [Hash] opts the optional parameters
27
27
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
28
- # @return [InlineResponse20013]
28
+ # @return [InlineResponse20014]
29
29
  def delete_mcc_restriction_groups(id, opts = {})
30
30
  data, _status_code, _headers = delete_mcc_restriction_groups_with_http_info(id, opts)
31
31
  return data
@@ -36,7 +36,7 @@ module TreezorClient
36
36
  # @param id MCC restriction Group internal id.
37
37
  # @param [Hash] opts the optional parameters
38
38
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
39
- # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
39
+ # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
40
40
  def delete_mcc_restriction_groups_with_http_info(id, opts = {})
41
41
  if @api_client.config.debugging
42
42
  @api_client.config.logger.debug "Calling API: MccRestrictionGroupsApi.delete_mcc_restriction_groups ..."
@@ -71,7 +71,7 @@ module TreezorClient
71
71
  :form_params => form_params,
72
72
  :body => post_body,
73
73
  :auth_names => auth_names,
74
- :return_type => 'InlineResponse20013')
74
+ :return_type => 'InlineResponse20014')
75
75
  if @api_client.config.debugging
76
76
  @api_client.config.logger.debug "API called: MccRestrictionGroupsApi#delete_mcc_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
77
77
  end
@@ -81,17 +81,17 @@ module TreezorClient
81
81
  # search mcc restriction groups
82
82
  # Get mcc restriction groups that match search criteria.
83
83
  # @param [Hash] opts the optional parameters
84
- # @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).
85
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
86
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
87
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
84
+ # @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).
85
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
86
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
87
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
88
88
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
89
89
  # @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - name - isWhitelist - status - startDate - createdDate Filters should be separated by a \&quot;;\&quot;. Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \&quot;fieldName criterion expression\&quot;. Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | &gt; | greater than | alphanumeric string | 100 | | &gt;&#x3D; | greater or equal than | alphanumeric string | 100 | | &lt; | less than | alphanumeric string | 100 | | &lt;&#x3D; | less or equal than | alphanumeric string | 100 | | !&#x3D; | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | &#x3D;&#x3D; | equals | alphanumeric string | 100 |
90
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
91
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
92
- # @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).
90
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
91
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
92
+ # @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).
93
93
  # @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).
94
- # @return [InlineResponse20013]
94
+ # @return [InlineResponse20014]
95
95
  def get_mcc_restriction_groups(opts = {})
96
96
  data, _status_code, _headers = get_mcc_restriction_groups_with_http_info(opts)
97
97
  return data
@@ -100,17 +100,17 @@ module TreezorClient
100
100
  # search mcc restriction groups
101
101
  # Get mcc restriction groups that match search criteria.
102
102
  # @param [Hash] opts the optional parameters
103
- # @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).
104
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
105
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
106
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
103
+ # @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).
104
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
105
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
106
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
107
107
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
108
108
  # @option opts [String] :filter You can filter the API response by using filter(s). Filterable fields are : - id - name - isWhitelist - status - startDate - createdDate Filters should be separated by a \&quot;;\&quot;. Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \&quot;fieldName criterion expression\&quot;. Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | &gt; | greater than | alphanumeric string | 100 | | &gt;&#x3D; | greater or equal than | alphanumeric string | 100 | | &lt; | less than | alphanumeric string | 100 | | &lt;&#x3D; | less or equal than | alphanumeric string | 100 | | !&#x3D; | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | &#x3D;&#x3D; | equals | alphanumeric string | 100 |
109
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
110
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
111
- # @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).
109
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
110
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
111
+ # @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).
112
112
  # @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).
113
- # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
113
+ # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
114
114
  def get_mcc_restriction_groups_with_http_info(opts = {})
115
115
  if @api_client.config.debugging
116
116
  @api_client.config.logger.debug "Calling API: MccRestrictionGroupsApi.get_mcc_restriction_groups ..."
@@ -150,7 +150,7 @@ module TreezorClient
150
150
  :form_params => form_params,
151
151
  :body => post_body,
152
152
  :auth_names => auth_names,
153
- :return_type => 'InlineResponse20013')
153
+ :return_type => 'InlineResponse20014')
154
154
  if @api_client.config.debugging
155
155
  @api_client.config.logger.debug "API called: MccRestrictionGroupsApi#get_mcc_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
156
  end
@@ -162,7 +162,7 @@ module TreezorClient
162
162
  # @param id MCC restriction Group internal id.
163
163
  # @param [Hash] opts the optional parameters
164
164
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
165
- # @return [InlineResponse20013]
165
+ # @return [InlineResponse20014]
166
166
  def get_mcc_restriction_groups_id(id, opts = {})
167
167
  data, _status_code, _headers = get_mcc_restriction_groups_id_with_http_info(id, opts)
168
168
  return data
@@ -173,7 +173,7 @@ module TreezorClient
173
173
  # @param id MCC restriction Group internal id.
174
174
  # @param [Hash] opts the optional parameters
175
175
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
176
- # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
176
+ # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
177
177
  def get_mcc_restriction_groups_id_with_http_info(id, opts = {})
178
178
  if @api_client.config.debugging
179
179
  @api_client.config.logger.debug "Calling API: MccRestrictionGroupsApi.get_mcc_restriction_groups_id ..."
@@ -208,7 +208,7 @@ module TreezorClient
208
208
  :form_params => form_params,
209
209
  :body => post_body,
210
210
  :auth_names => auth_names,
211
- :return_type => 'InlineResponse20013')
211
+ :return_type => 'InlineResponse20014')
212
212
  if @api_client.config.debugging
213
213
  @api_client.config.logger.debug "API called: MccRestrictionGroupsApi#get_mcc_restriction_groups_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
214
214
  end
@@ -218,13 +218,13 @@ module TreezorClient
218
218
  # create a mccRestrictionGroup
219
219
  # Create a new mcc restriction group in the system.
220
220
  # @param [Hash] opts the optional parameters
221
- # @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).
222
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
223
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
224
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
221
+ # @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).
222
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
223
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
224
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
225
225
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
226
226
  # @option opts [Body5] :body
227
- # @return [InlineResponse20013]
227
+ # @return [InlineResponse20014]
228
228
  def post_mcc_restriction_group(opts = {})
229
229
  data, _status_code, _headers = post_mcc_restriction_group_with_http_info(opts)
230
230
  return data
@@ -233,13 +233,13 @@ module TreezorClient
233
233
  # create a mccRestrictionGroup
234
234
  # Create a new mcc restriction group in the system.
235
235
  # @param [Hash] opts the optional parameters
236
- # @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).
237
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
238
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
239
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
236
+ # @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).
237
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
238
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
239
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
240
240
  # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
241
241
  # @option opts [Body5] :body
242
- # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
242
+ # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
243
243
  def post_mcc_restriction_group_with_http_info(opts = {})
244
244
  if @api_client.config.debugging
245
245
  @api_client.config.logger.debug "Calling API: MccRestrictionGroupsApi.post_mcc_restriction_group ..."
@@ -274,7 +274,7 @@ module TreezorClient
274
274
  :form_params => form_params,
275
275
  :body => post_body,
276
276
  :auth_names => auth_names,
277
- :return_type => 'InlineResponse20013')
277
+ :return_type => 'InlineResponse20014')
278
278
  if @api_client.config.debugging
279
279
  @api_client.config.logger.debug "API called: MccRestrictionGroupsApi#post_mcc_restriction_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
280
280
  end
@@ -285,12 +285,12 @@ module TreezorClient
285
285
  # Edit a mcc restriction group in the system.
286
286
  # @param id MCC group&#39;s id.
287
287
  # @param [Hash] opts the optional parameters
288
- # @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).
289
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
290
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
291
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
288
+ # @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).
289
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
290
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
291
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
292
292
  # @option opts [Body6] :body
293
- # @return [InlineResponse20013]
293
+ # @return [InlineResponse20014]
294
294
  def put_mcc_restriction_groups(id, opts = {})
295
295
  data, _status_code, _headers = put_mcc_restriction_groups_with_http_info(id, opts)
296
296
  return data
@@ -300,12 +300,12 @@ module TreezorClient
300
300
  # Edit a mcc restriction group in the system.
301
301
  # @param id MCC group&#39;s id.
302
302
  # @param [Hash] opts the optional parameters
303
- # @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).
304
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
305
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
306
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
303
+ # @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).
304
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
305
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
306
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
307
307
  # @option opts [Body6] :body
308
- # @return [Array<(InlineResponse20013, Fixnum, Hash)>] InlineResponse20013 data, response status code and response headers
308
+ # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
309
309
  def put_mcc_restriction_groups_with_http_info(id, opts = {})
310
310
  if @api_client.config.debugging
311
311
  @api_client.config.logger.debug "Calling API: MccRestrictionGroupsApi.put_mcc_restriction_groups ..."
@@ -343,7 +343,7 @@ module TreezorClient
343
343
  :form_params => form_params,
344
344
  :body => post_body,
345
345
  :auth_names => auth_names,
346
- :return_type => 'InlineResponse20013')
346
+ :return_type => 'InlineResponse20014')
347
347
  if @api_client.config.debugging
348
348
  @api_client.config.logger.debug "API called: MccRestrictionGroupsApi#put_mcc_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
349
349
  end