treezor_client 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -5
  3. data/Gemfile.lock +4 -6
  4. data/README.md +19 -5
  5. data/config.json +10 -0
  6. data/docs/BalanceApi.md +8 -8
  7. data/docs/BankaccountApi.md +30 -30
  8. data/docs/BeneficiariesApi.md +30 -30
  9. data/docs/Beneficiary.md +1 -0
  10. data/docs/BusinessApi.md +26 -26
  11. data/docs/Card.md +2 -2
  12. data/docs/CardApi.md +209 -150
  13. data/docs/CardDigitalization.md +1 -3
  14. data/docs/CardDigitalizationsApi.md +73 -16
  15. data/docs/CardReserveApi.md +24 -24
  16. data/docs/CardtransactionApi.md +16 -14
  17. data/docs/CountryRestrictionGroup.md +14 -0
  18. data/docs/CountryRestrictionGroupsApi.md +40 -40
  19. data/docs/Document.md +1 -0
  20. data/docs/DocumentApi.md +46 -44
  21. data/docs/HeartbeatApi.md +8 -8
  22. data/docs/InlineResponse20010Cardtransactions.md +3 -3
  23. data/docs/InlineResponse20011.md +1 -1
  24. data/docs/InlineResponse20011Cardtransactions.md +58 -0
  25. data/docs/InlineResponse20012.md +1 -1
  26. data/docs/InlineResponse20013.md +1 -1
  27. data/docs/InlineResponse20014.md +1 -1
  28. data/docs/InlineResponse20015.md +1 -1
  29. data/docs/InlineResponse20016.md +1 -1
  30. data/docs/InlineResponse20017.md +1 -1
  31. data/docs/InlineResponse20018.md +1 -1
  32. data/docs/InlineResponse20019.md +1 -1
  33. data/docs/InlineResponse20020.md +1 -1
  34. data/docs/InlineResponse20021.md +1 -1
  35. data/docs/InlineResponse20022.md +1 -1
  36. data/docs/InlineResponse20023.md +1 -1
  37. data/docs/InlineResponse20024.md +1 -1
  38. data/docs/InlineResponse20025.md +1 -1
  39. data/docs/InlineResponse20026.md +8 -0
  40. data/docs/InlineResponse20027.md +8 -0
  41. data/docs/InlineResponse20028.md +8 -0
  42. data/docs/InlineResponse2005Businessinformations.md +2 -2
  43. data/docs/IssuerInitiatedDigitizationDataApi.md +22 -22
  44. data/docs/MandateApi.md +50 -50
  45. data/docs/MccRestrictionGroupsApi.md +40 -40
  46. data/docs/MerchantIdRestrictionGroupsApi.md +40 -40
  47. data/docs/PayinApi.md +38 -38
  48. data/docs/PayinrefundApi.md +38 -38
  49. data/docs/PayoutApi.md +38 -38
  50. data/docs/PayoutRefund.md +22 -0
  51. data/docs/PayoutRefundsApi.md +82 -0
  52. data/docs/TaxResidence.md +15 -0
  53. data/docs/TaxResidenceApi.md +319 -0
  54. data/docs/TransactionApi.md +22 -22
  55. data/docs/TransferApi.md +42 -42
  56. data/docs/TransferrefundApi.md +42 -42
  57. data/docs/User.md +3 -0
  58. data/docs/UserApi.md +104 -85
  59. data/docs/VirtualibansApi.md +46 -46
  60. data/docs/WalletApi.md +84 -84
  61. data/lib/treezor_client/api/balance_api.rb +8 -8
  62. data/lib/treezor_client/api/bankaccount_api.rb +30 -30
  63. data/lib/treezor_client/api/beneficiaries_api.rb +30 -30
  64. data/lib/treezor_client/api/business_api.rb +26 -26
  65. data/lib/treezor_client/api/card_api.rb +209 -154
  66. data/lib/treezor_client/api/card_digitalizations_api.rb +82 -16
  67. data/lib/treezor_client/api/card_reserve_api.rb +24 -24
  68. data/lib/treezor_client/api/cardtransaction_api.rb +18 -15
  69. data/lib/treezor_client/api/country_restriction_groups_api.rb +45 -45
  70. data/lib/treezor_client/api/document_api.rb +64 -57
  71. data/lib/treezor_client/api/heartbeat_api.rb +8 -8
  72. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +22 -22
  73. data/lib/treezor_client/api/mandate_api.rb +58 -58
  74. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +45 -45
  75. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +45 -45
  76. data/lib/treezor_client/api/payin_api.rb +42 -42
  77. data/lib/treezor_client/api/payinrefund_api.rb +42 -42
  78. data/lib/treezor_client/api/payout_api.rb +42 -42
  79. data/lib/treezor_client/api/payout_refunds_api.rb +102 -0
  80. data/lib/treezor_client/api/tax_residence_api.rb +319 -0
  81. data/lib/treezor_client/api/transaction_api.rb +24 -24
  82. data/lib/treezor_client/api/transfer_api.rb +46 -46
  83. data/lib/treezor_client/api/transferrefund_api.rb +46 -46
  84. data/lib/treezor_client/api/user_api.rb +124 -93
  85. data/lib/treezor_client/api/virtualibans_api.rb +50 -50
  86. data/lib/treezor_client/api/wallet_api.rb +89 -89
  87. data/lib/treezor_client/models/beneficiary.rb +11 -1
  88. data/lib/treezor_client/models/card.rb +2 -2
  89. data/lib/treezor_client/models/card_digitalization.rb +3 -20
  90. data/lib/treezor_client/models/country_restriction_group.rb +284 -0
  91. data/lib/treezor_client/models/document.rb +10 -1
  92. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
  93. data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
  94. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +642 -0
  95. data/lib/treezor_client/models/inline_response_200_12.rb +8 -8
  96. data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
  97. data/lib/treezor_client/models/inline_response_200_14.rb +1 -1
  98. data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
  99. data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
  100. data/lib/treezor_client/models/inline_response_200_17.rb +8 -8
  101. data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
  102. data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
  103. data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
  104. data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
  105. data/lib/treezor_client/models/inline_response_200_22.rb +8 -8
  106. data/lib/treezor_client/models/inline_response_200_23.rb +1 -1
  107. data/lib/treezor_client/models/inline_response_200_24.rb +8 -8
  108. data/lib/treezor_client/models/inline_response_200_25.rb +8 -8
  109. data/lib/treezor_client/models/inline_response_200_26.rb +190 -0
  110. data/lib/treezor_client/models/inline_response_200_27.rb +190 -0
  111. data/lib/treezor_client/models/inline_response_200_28.rb +190 -0
  112. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +2 -2
  113. data/lib/treezor_client/models/payout_refund.rb +347 -0
  114. data/lib/treezor_client/models/tax_residence.rb +259 -0
  115. data/lib/treezor_client/models/user.rb +28 -1
  116. data/lib/treezor_client/version.rb +1 -1
  117. data/lib/treezor_client.rb +9 -1
  118. data/pkg/treezor_client-1.0.0.gem +0 -0
  119. data/pkg/treezor_client-1.1.0.gem +0 -0
  120. data/pkg/treezor_client-1.2.0.gem +0 -0
  121. data/spec/api/balance_api_spec.rb +4 -4
  122. data/spec/api/bankaccount_api_spec.rb +15 -15
  123. data/spec/api/beneficiaries_api_spec.rb +15 -15
  124. data/spec/api/business_api_spec.rb +13 -13
  125. data/spec/api/card_api_spec.rb +93 -75
  126. data/spec/api/card_digitalizations_api_spec.rb +19 -6
  127. data/spec/api/card_reserve_api_spec.rb +12 -12
  128. data/spec/api/cardtransaction_api_spec.rb +8 -7
  129. data/spec/api/country_restriction_groups_api_spec.rb +20 -20
  130. data/spec/api/document_api_spec.rb +22 -21
  131. data/spec/api/heartbeat_api_spec.rb +4 -4
  132. data/spec/api/issuer_initiated_digitization_data_api_spec.rb +11 -11
  133. data/spec/api/mandate_api_spec.rb +26 -26
  134. data/spec/api/mcc_restriction_groups_api_spec.rb +20 -20
  135. data/spec/api/merchant_id_restriction_groups_api_spec.rb +20 -22
  136. data/spec/api/payin_api_spec.rb +19 -19
  137. data/spec/api/payinrefund_api_spec.rb +19 -19
  138. data/spec/api/payout_api_spec.rb +19 -19
  139. data/spec/api/payout_refunds_api_spec.rb +56 -0
  140. data/spec/api/tax_residence_api_spec.rb +108 -0
  141. data/spec/api/transaction_api_spec.rb +11 -11
  142. data/spec/api/transfer_api_spec.rb +21 -21
  143. data/spec/api/transferrefund_api_spec.rb +21 -21
  144. data/spec/api/user_api_spec.rb +58 -41
  145. data/spec/api/virtualibans_api_spec.rb +23 -23
  146. data/spec/api/wallet_api_spec.rb +42 -42
  147. data/spec/models/beneficiary_spec.rb +6 -0
  148. data/spec/models/card_digitalization_spec.rb +0 -12
  149. data/spec/models/card_spec.rb +6 -0
  150. data/spec/models/country_restriction_group_spec.rb +82 -0
  151. data/spec/models/document_spec.rb +6 -0
  152. data/spec/models/inline_response_200_11_cardtransactions_spec.rb +342 -0
  153. data/spec/models/inline_response_200_11_spec.rb +1 -1
  154. data/spec/models/inline_response_200_12_spec.rb +1 -1
  155. data/spec/models/inline_response_200_13_spec.rb +1 -1
  156. data/spec/models/inline_response_200_16_spec.rb +1 -1
  157. data/spec/models/inline_response_200_17_spec.rb +1 -1
  158. data/spec/models/inline_response_200_18_spec.rb +1 -1
  159. data/spec/models/inline_response_200_19_spec.rb +1 -1
  160. data/spec/models/inline_response_200_20_spec.rb +1 -1
  161. data/spec/models/inline_response_200_21_spec.rb +1 -1
  162. data/spec/models/inline_response_200_22_spec.rb +1 -1
  163. data/spec/models/inline_response_200_24_spec.rb +1 -1
  164. data/spec/models/inline_response_200_25_spec.rb +1 -1
  165. data/spec/models/inline_response_200_26_spec.rb +42 -0
  166. data/spec/models/inline_response_200_27_spec.rb +42 -0
  167. data/spec/models/inline_response_200_28_spec.rb +42 -0
  168. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +1 -1
  169. data/spec/models/merchant_id_restriction_group_spec.rb +1 -1
  170. data/spec/models/payout_refund_spec.rb +130 -0
  171. data/spec/models/tax_residence_spec.rb +84 -0
  172. data/spec/models/user_spec.rb +42 -0
  173. data/treezor_api_spec.yaml +1841 -1207
  174. data/treezor_client.gemspec +1 -3
  175. metadata +45 -9
  176. data/spec/models/card_digitalization_details_from_gps_spec.rb +0 -234
  177. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +0 -54
@@ -78,26 +78,88 @@ module TreezorClient
78
78
  return data, status_code, headers
79
79
  end
80
80
 
81
+ # Deletes a payment Token
82
+ # Deletes a payment Token
83
+ # @param id Card digitalization internal id.
84
+ # @param reason_code The reason code for the action. Possible values are : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | F | Issuer or cardholder confirmed fraudulent token transactions (Deprecated) | | T | Issuer or cardholder confirmed fraudulent token transactions | | C | Account closed | | Z | Other |
85
+ # @param [Hash] opts the optional parameters
86
+ # @return [InlineResponse2008]
87
+ def deletecard_digitalizations_id(id, reason_code, opts = {})
88
+ data, _status_code, _headers = deletecard_digitalizations_id_with_http_info(id, reason_code, opts)
89
+ return data
90
+ end
91
+
92
+ # Deletes a payment Token
93
+ # Deletes a payment Token
94
+ # @param id Card digitalization internal id.
95
+ # @param reason_code The reason code for the action. Possible values are : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | F | Issuer or cardholder confirmed fraudulent token transactions (Deprecated) | | T | Issuer or cardholder confirmed fraudulent token transactions | | C | Account closed | | Z | Other |
96
+ # @param [Hash] opts the optional parameters
97
+ # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
98
+ def deletecard_digitalizations_id_with_http_info(id, reason_code, opts = {})
99
+ if @api_client.config.debugging
100
+ @api_client.config.logger.debug "Calling API: CardDigitalizationsApi.deletecard_digitalizations_id ..."
101
+ end
102
+ # verify the required parameter 'id' is set
103
+ if @api_client.config.client_side_validation && id.nil?
104
+ fail ArgumentError, "Missing the required parameter 'id' when calling CardDigitalizationsApi.deletecard_digitalizations_id"
105
+ end
106
+ # verify the required parameter 'reason_code' is set
107
+ if @api_client.config.client_side_validation && reason_code.nil?
108
+ fail ArgumentError, "Missing the required parameter 'reason_code' when calling CardDigitalizationsApi.deletecard_digitalizations_id"
109
+ end
110
+ # resource path
111
+ local_var_path = "/cardDigitalizations/{id}".sub('{' + 'id' + '}', id.to_s)
112
+
113
+ # query parameters
114
+ query_params = {}
115
+ query_params[:'reasonCode'] = reason_code
116
+
117
+ # header parameters
118
+ header_params = {}
119
+ # HTTP header 'Accept' (if needed)
120
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
121
+ # HTTP header 'Content-Type'
122
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
123
+
124
+ # form parameters
125
+ form_params = {}
126
+
127
+ # http body (model)
128
+ post_body = nil
129
+ auth_names = ['api_key']
130
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
131
+ :header_params => header_params,
132
+ :query_params => query_params,
133
+ :form_params => form_params,
134
+ :body => post_body,
135
+ :auth_names => auth_names,
136
+ :return_type => 'InlineResponse2008')
137
+ if @api_client.config.debugging
138
+ @api_client.config.logger.debug "API called: CardDigitalizationsApi#deletecard_digitalizations_id\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
139
+ end
140
+ return data, status_code, headers
141
+ end
142
+
81
143
  # Update the status of a payment Token
82
144
  # Update the status of a payment Token
83
145
  # @param id Card digitalization internal id.
84
- # @param status The new Status for the payment Token. Possible values TODO add values here
146
+ # @param status The new status for the payment Token. Possible values are : | Status | Description | | ---- | ----------- | | unsuspend | Unsuspend | | suspend | Suspend |
147
+ # @param reason_code The reason code for the action. Possible values are : - For a suspension : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | T | Issuer or cardholder confirmed fraudulent token transactions | | Z | Other | - For an unsuspension : | Reason code | Description | | ---- | ----------- | | F | Cardholder reported token device found or not stolen | | T | Issuer or cardholder confirmed no fraudulent token transactions | | Z | Other |
85
148
  # @param [Hash] opts the optional parameters
86
- # @option opts [String] :fields fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
87
149
  # @return [InlineResponse2008]
88
- def putcard_digitalizations_id(id, status, opts = {})
89
- data, _status_code, _headers = putcard_digitalizations_id_with_http_info(id, status, opts)
150
+ def putcard_digitalizations_id(id, status, reason_code, opts = {})
151
+ data, _status_code, _headers = putcard_digitalizations_id_with_http_info(id, status, reason_code, opts)
90
152
  return data
91
153
  end
92
154
 
93
155
  # Update the status of a payment Token
94
156
  # Update the status of a payment Token
95
157
  # @param id Card digitalization internal id.
96
- # @param status The new Status for the payment Token. Possible values TODO add values here
158
+ # @param status The new status for the payment Token. Possible values are : | Status | Description | | ---- | ----------- | | unsuspend | Unsuspend | | suspend | Suspend |
159
+ # @param reason_code The reason code for the action. Possible values are : - For a suspension : | Reason code | Description | | ---- | ----------- | | L | Cardholder confirmed token device lost | | S | Cardholder confirmed token device stolen | | T | Issuer or cardholder confirmed fraudulent token transactions | | Z | Other | - For an unsuspension : | Reason code | Description | | ---- | ----------- | | F | Cardholder reported token device found or not stolen | | T | Issuer or cardholder confirmed no fraudulent token transactions | | Z | Other |
97
160
  # @param [Hash] opts the optional parameters
98
- # @option opts [String] :fields fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
99
161
  # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
100
- def putcard_digitalizations_id_with_http_info(id, status, opts = {})
162
+ def putcard_digitalizations_id_with_http_info(id, status, reason_code, opts = {})
101
163
  if @api_client.config.debugging
102
164
  @api_client.config.logger.debug "Calling API: CardDigitalizationsApi.putcard_digitalizations_id ..."
103
165
  end
@@ -109,13 +171,17 @@ module TreezorClient
109
171
  if @api_client.config.client_side_validation && status.nil?
110
172
  fail ArgumentError, "Missing the required parameter 'status' when calling CardDigitalizationsApi.putcard_digitalizations_id"
111
173
  end
174
+ # verify the required parameter 'reason_code' is set
175
+ if @api_client.config.client_side_validation && reason_code.nil?
176
+ fail ArgumentError, "Missing the required parameter 'reason_code' when calling CardDigitalizationsApi.putcard_digitalizations_id"
177
+ end
112
178
  # resource path
113
179
  local_var_path = "/cardDigitalizations/{id}".sub('{' + 'id' + '}', id.to_s)
114
180
 
115
181
  # query parameters
116
182
  query_params = {}
117
183
  query_params[:'status'] = status
118
- query_params[:'fields'] = opts[:'fields'] if !opts[:'fields'].nil?
184
+ query_params[:'reasonCode'] = reason_code
119
185
 
120
186
  # header parameters
121
187
  header_params = {}
@@ -146,10 +212,10 @@ module TreezorClient
146
212
  # search for card digitalizations
147
213
  # Search for card digitalizations.
148
214
  # @param [Hash] opts the optional parameters
149
- # @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).
150
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
151
- # @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).
152
- # @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).
215
+ # @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).
216
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
217
+ # @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).
218
+ # @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).
153
219
  # @option opts [String] :filter Filterable fields are : - id - externalId - cardId - status - detailsFromGPS - createdDate - modifiedDate More info [here](https://agent.treezor.com/filterv2).
154
220
  # @option opts [String] :fields fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
155
221
  # @return [InlineResponse2008]
@@ -161,10 +227,10 @@ module TreezorClient
161
227
  # search for card digitalizations
162
228
  # Search for card digitalizations.
163
229
  # @param [Hash] opts the optional parameters
164
- # @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).
165
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
166
- # @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).
167
- # @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
+ # @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).
231
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
232
+ # @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).
233
+ # @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).
168
234
  # @option opts [String] :filter Filterable fields are : - id - externalId - cardId - status - detailsFromGPS - createdDate - modifiedDate More info [here](https://agent.treezor.com/filterv2).
169
235
  # @option opts [String] :fields fields to output separated by commas. Possible fields are id, externalId, cardId, detailsFromGPS, status, createdDate, modifiedDate
170
236
  # @return [Array<(InlineResponse2008, Fixnum, Hash)>] InlineResponse2008 data, response status code and response headers
@@ -23,10 +23,10 @@ module TreezorClient
23
23
  # add an amount to the reserved amount of a card
24
24
  # add an amount to the reserved amount of a card
25
25
  # @param [Hash] opts the optional parameters
26
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
27
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
28
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
29
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
26
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
27
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
28
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
29
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
30
30
  # @option opts [Body3] :body
31
31
  # @return [Float]
32
32
  def card_reserve_add_to(opts = {})
@@ -37,10 +37,10 @@ module TreezorClient
37
37
  # add an amount to the reserved amount of a card
38
38
  # add an amount to the reserved amount of a card
39
39
  # @param [Hash] opts the optional parameters
40
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
41
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
42
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
43
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
40
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
41
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
42
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
43
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
44
44
  # @option opts [Body3] :body
45
45
  # @return [Array<(Float, Fixnum, Hash)>] Float data, response status code and response headers
46
46
  def card_reserve_add_to_with_http_info(opts = {})
@@ -86,10 +86,10 @@ module TreezorClient
86
86
  # check reserved amount
87
87
  # Check if an amount can be substract to the reserved amount
88
88
  # @param [Hash] opts the optional parameters
89
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
90
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
91
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
92
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
89
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
90
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
91
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
92
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
93
93
  # @option opts [Body4] :body
94
94
  # @return [BOOLEAN]
95
95
  def card_reserve_check(opts = {})
@@ -100,10 +100,10 @@ module TreezorClient
100
100
  # check reserved amount
101
101
  # Check if an amount can be substract to the reserved amount
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://www.treezor.com/security-authentication).
104
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.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://www.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://www.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://www.treezor.com/security-authentication).
104
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.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://www.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://www.treezor.com/basics).
107
107
  # @option opts [Body4] :body
108
108
  # @return [Array<(BOOLEAN, Fixnum, Hash)>] BOOLEAN data, response status code and response headers
109
109
  def card_reserve_check_with_http_info(opts = {})
@@ -150,10 +150,10 @@ module TreezorClient
150
150
  # get the reserved amount of a card
151
151
  # @param id the cardId of the reserved amount you want to pick up
152
152
  # @param [Hash] opts the optional parameters
153
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
154
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
155
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
156
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
153
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
154
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
155
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
156
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
157
157
  # @return [InlineResponse2009]
158
158
  def card_reserve_get(id, opts = {})
159
159
  data, _status_code, _headers = card_reserve_get_with_http_info(id, opts)
@@ -164,10 +164,10 @@ module TreezorClient
164
164
  # get the reserved amount of a card
165
165
  # @param id the cardId of the reserved amount you want to pick up
166
166
  # @param [Hash] opts the optional parameters
167
- # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
168
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
169
- # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
170
- # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
167
+ # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://www.treezor.com/security-authentication).
168
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
169
+ # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
170
+ # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics).
171
171
  # @return [Array<(InlineResponse2009, Fixnum, Hash)>] InlineResponse2009 data, response status code and response headers
172
172
  def card_reserve_get_with_http_info(id, opts = {})
173
173
  if @api_client.config.debugging
@@ -24,7 +24,7 @@ module TreezorClient
24
24
  # get a card transaction
25
25
  # @param id Card transactions&#39;s internal id.
26
26
  # @param [Hash] opts the optional parameters
27
- # @return [InlineResponse20010]
27
+ # @return [InlineResponse20011]
28
28
  def get_cardtransaction(id, opts = {})
29
29
  data, _status_code, _headers = get_cardtransaction_with_http_info(id, opts)
30
30
  return data
@@ -34,7 +34,7 @@ module TreezorClient
34
34
  # get a card transaction
35
35
  # @param id Card transactions&#39;s internal id.
36
36
  # @param [Hash] opts the optional parameters
37
- # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
37
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
38
38
  def get_cardtransaction_with_http_info(id, opts = {})
39
39
  if @api_client.config.debugging
40
40
  @api_client.config.logger.debug "Calling API: CardtransactionApi.get_cardtransaction ..."
@@ -68,7 +68,7 @@ module TreezorClient
68
68
  :form_params => form_params,
69
69
  :body => post_body,
70
70
  :auth_names => auth_names,
71
- :return_type => 'InlineResponse20010')
71
+ :return_type => 'InlineResponse20011')
72
72
  if @api_client.config.debugging
73
73
  @api_client.config.logger.debug "API called: CardtransactionApi#get_cardtransaction\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
74
74
  end
@@ -78,18 +78,19 @@ module TreezorClient
78
78
  # search for card transactions
79
79
  # Search for documents.
80
80
  # @param [Hash] opts the optional parameters
81
- # @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).
82
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
83
- # @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).
84
- # @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).
81
+ # @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).
82
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
83
+ # @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).
84
+ # @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).
85
85
  # @option opts [Integer] :cardtransaction_id Card transaction&#39;s Id
86
86
  # @option opts [Integer] :card_id Card&#39;s Id
87
87
  # @option opts [Integer] :wallet_id Card&#39;s wallet Id
88
88
  # @option opts [Integer] :merchant_id Merchant&#39;s Id
89
89
  # @option opts [String] :public_token Card&#39;s public token
90
90
  # @option opts [Integer] :payment_id Payment&#39;s Id
91
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
92
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
91
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
92
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
93
+ # @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). required: false
93
94
  # @return [InlineResponse20010]
94
95
  def read_card_transaction(opts = {})
95
96
  data, _status_code, _headers = read_card_transaction_with_http_info(opts)
@@ -99,18 +100,19 @@ module TreezorClient
99
100
  # search for card transactions
100
101
  # Search for documents.
101
102
  # @param [Hash] opts the optional parameters
102
- # @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).
103
- # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
104
- # @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).
105
- # @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).
106
107
  # @option opts [Integer] :cardtransaction_id Card transaction&#39;s Id
107
108
  # @option opts [Integer] :card_id Card&#39;s Id
108
109
  # @option opts [Integer] :wallet_id Card&#39;s wallet Id
109
110
  # @option opts [Integer] :merchant_id Merchant&#39;s Id
110
111
  # @option opts [String] :public_token Card&#39;s public token
111
112
  # @option opts [Integer] :payment_id Payment&#39;s Id
112
- # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
113
- # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
113
+ # @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
114
+ # @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
115
+ # @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). required: false
114
116
  # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
115
117
  def read_card_transaction_with_http_info(opts = {})
116
118
  if @api_client.config.debugging
@@ -133,6 +135,7 @@ module TreezorClient
133
135
  query_params[:'paymentId'] = opts[:'payment_id'] if !opts[:'payment_id'].nil?
134
136
  query_params[:'pageNumber'] = opts[:'page_number'] if !opts[:'page_number'].nil?
135
137
  query_params[:'pageCount'] = opts[:'page_count'] if !opts[:'page_count'].nil?
138
+ query_params[:'sortBy'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
136
139
 
137
140
  # header parameters
138
141
  header_params = {}
@@ -25,7 +25,7 @@ module TreezorClient
25
25
  # @param id country 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 [InlineResponse20015]
28
+ # @return [InlineResponse20016]
29
29
  def delete_country_restriction_groups(id, opts = {})
30
30
  data, _status_code, _headers = delete_country_restriction_groups_with_http_info(id, opts)
31
31
  return data
@@ -36,7 +36,7 @@ module TreezorClient
36
36
  # @param id country 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<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
39
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
40
40
  def delete_country_restriction_groups_with_http_info(id, opts = {})
41
41
  if @api_client.config.debugging
42
42
  @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.delete_country_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 => 'InlineResponse20015')
74
+ :return_type => 'InlineResponse20016')
75
75
  if @api_client.config.debugging
76
76
  @api_client.config.logger.debug "API called: CountryRestrictionGroupsApi#delete_country_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
77
77
  end
@@ -81,17 +81,17 @@ module TreezorClient
81
81
  # search country restriction groups
82
82
  # Get country 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 [InlineResponse20015]
94
+ # @return [InlineResponse20016]
95
95
  def get_country_restriction_groups(opts = {})
96
96
  data, _status_code, _headers = get_country_restriction_groups_with_http_info(opts)
97
97
  return data
@@ -100,17 +100,17 @@ module TreezorClient
100
100
  # search country restriction groups
101
101
  # Get country 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<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
113
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
114
114
  def get_country_restriction_groups_with_http_info(opts = {})
115
115
  if @api_client.config.debugging
116
116
  @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.get_country_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 => 'InlineResponse20015')
153
+ :return_type => 'InlineResponse20016')
154
154
  if @api_client.config.debugging
155
155
  @api_client.config.logger.debug "API called: CountryRestrictionGroupsApi#get_country_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
156
  end
@@ -162,7 +162,7 @@ module TreezorClient
162
162
  # @param id country 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 [InlineResponse20015]
165
+ # @return [InlineResponse20016]
166
166
  def get_country_restriction_groups_id(id, opts = {})
167
167
  data, _status_code, _headers = get_country_restriction_groups_id_with_http_info(id, opts)
168
168
  return data
@@ -173,7 +173,7 @@ module TreezorClient
173
173
  # @param id country 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<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
176
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
177
177
  def get_country_restriction_groups_id_with_http_info(id, opts = {})
178
178
  if @api_client.config.debugging
179
179
  @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.get_country_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 => 'InlineResponse20015')
211
+ :return_type => 'InlineResponse20016')
212
212
  if @api_client.config.debugging
213
213
  @api_client.config.logger.debug "API called: CountryRestrictionGroupsApi#get_country_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 countryRestrictionGroup
219
219
  # Create a new country 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 [Body9] :body
227
- # @return [InlineResponse20015]
227
+ # @return [InlineResponse20016]
228
228
  def post_country_restriction_group(opts = {})
229
229
  data, _status_code, _headers = post_country_restriction_group_with_http_info(opts)
230
230
  return data
@@ -233,13 +233,13 @@ module TreezorClient
233
233
  # create a countryRestrictionGroup
234
234
  # Create a new country 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 [Body9] :body
242
- # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
242
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
243
243
  def post_country_restriction_group_with_http_info(opts = {})
244
244
  if @api_client.config.debugging
245
245
  @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.post_country_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 => 'InlineResponse20015')
277
+ :return_type => 'InlineResponse20016')
278
278
  if @api_client.config.debugging
279
279
  @api_client.config.logger.debug "API called: CountryRestrictionGroupsApi#post_country_restriction_group\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
280
280
  end
@@ -285,12 +285,12 @@ module TreezorClient
285
285
  # Edit a country restriction group in the system.
286
286
  # @param id country 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 [Body10] :body
293
- # @return [InlineResponse20015]
293
+ # @return [InlineResponse20016]
294
294
  def put_country_restriction_groups(id, opts = {})
295
295
  data, _status_code, _headers = put_country_restriction_groups_with_http_info(id, opts)
296
296
  return data
@@ -300,12 +300,12 @@ module TreezorClient
300
300
  # Edit a country restriction group in the system.
301
301
  # @param id country 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 [Body10] :body
308
- # @return [Array<(InlineResponse20015, Fixnum, Hash)>] InlineResponse20015 data, response status code and response headers
308
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
309
309
  def put_country_restriction_groups_with_http_info(id, opts = {})
310
310
  if @api_client.config.debugging
311
311
  @api_client.config.logger.debug "Calling API: CountryRestrictionGroupsApi.put_country_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 => 'InlineResponse20015')
346
+ :return_type => 'InlineResponse20016')
347
347
  if @api_client.config.debugging
348
348
  @api_client.config.logger.debug "API called: CountryRestrictionGroupsApi#put_country_restriction_groups\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
349
349
  end