treezor_client 1.9.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +25 -24
  4. data/README.md +2 -1
  5. data/docs/Body11.md +9 -0
  6. data/docs/BusinessApi.md +2 -2
  7. data/docs/CardApi.md +0 -53
  8. data/docs/CardDigitalization.md +1 -1
  9. data/docs/CardReserveApi.md +4 -10
  10. data/docs/CardtransactionApi.md +1 -1
  11. data/docs/Document.md +1 -0
  12. data/docs/DocumentApi.md +2 -2
  13. data/docs/InlineResponse20010Cardtransactions.md +1 -0
  14. data/docs/InlineResponse20016.md +1 -1
  15. data/docs/InlineResponse2009Cardtransactions.md +1 -0
  16. data/docs/MerchantIdRestrictionGroupsApi.md +67 -0
  17. data/docs/Payin.md +1 -1
  18. data/docs/PayinApi.md +2 -2
  19. data/docs/Payinrefund.md +1 -1
  20. data/docs/PayinrefundApi.md +4 -4
  21. data/docs/UserApi.md +6 -6
  22. data/docs/WalletApi.md +1 -5
  23. data/generate.sh +10 -0
  24. data/lib/treezor_client/api/balance_api.rb +1 -1
  25. data/lib/treezor_client/api/bankaccount_api.rb +1 -1
  26. data/lib/treezor_client/api/beneficiaries_api.rb +1 -1
  27. data/lib/treezor_client/api/business_api.rb +4 -4
  28. data/lib/treezor_client/api/card_api.rb +1 -49
  29. data/lib/treezor_client/api/card_digitalizations_api.rb +1 -1
  30. data/lib/treezor_client/api/card_reserve_api.rb +7 -21
  31. data/lib/treezor_client/api/cardtransaction_api.rb +3 -3
  32. data/lib/treezor_client/api/country_restriction_groups_api.rb +1 -1
  33. data/lib/treezor_client/api/document_api.rb +5 -5
  34. data/lib/treezor_client/api/heartbeat_api.rb +1 -1
  35. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +1 -1
  36. data/lib/treezor_client/api/mandate_api.rb +1 -1
  37. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +1 -1
  38. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +69 -1
  39. data/lib/treezor_client/api/payin_api.rb +3 -3
  40. data/lib/treezor_client/api/payinrefund_api.rb +3 -3
  41. data/lib/treezor_client/api/payout_api.rb +1 -1
  42. data/lib/treezor_client/api/payout_refunds_api.rb +1 -1
  43. data/lib/treezor_client/api/tax_residence_api.rb +1 -1
  44. data/lib/treezor_client/api/transaction_api.rb +1 -1
  45. data/lib/treezor_client/api/transfer_api.rb +1 -1
  46. data/lib/treezor_client/api/transferrefund_api.rb +1 -1
  47. data/lib/treezor_client/api/user_api.rb +7 -7
  48. data/lib/treezor_client/api/virtualibans_api.rb +1 -1
  49. data/lib/treezor_client/api/wallet_api.rb +3 -9
  50. data/lib/treezor_client/api_client.rb +6 -4
  51. data/lib/treezor_client/api_error.rb +1 -1
  52. data/lib/treezor_client/configuration.rb +3 -3
  53. data/lib/treezor_client/models/balance.rb +3 -2
  54. data/lib/treezor_client/models/bankaccount.rb +3 -2
  55. data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +3 -2
  56. data/lib/treezor_client/models/beneficiary.rb +3 -2
  57. data/lib/treezor_client/models/body.rb +3 -2
  58. data/lib/treezor_client/models/body_1.rb +3 -2
  59. data/lib/treezor_client/models/body_10.rb +3 -2
  60. data/lib/treezor_client/models/{inline_response_200_7_cardimages.rb → body_11.rb} +52 -40
  61. data/lib/treezor_client/models/body_2.rb +3 -2
  62. data/lib/treezor_client/models/body_3.rb +3 -2
  63. data/lib/treezor_client/models/body_4.rb +3 -2
  64. data/lib/treezor_client/models/body_5.rb +3 -2
  65. data/lib/treezor_client/models/body_6.rb +3 -2
  66. data/lib/treezor_client/models/body_7.rb +3 -2
  67. data/lib/treezor_client/models/body_8.rb +3 -2
  68. data/lib/treezor_client/models/body_9.rb +3 -2
  69. data/lib/treezor_client/models/businesssearchs_businessinformations.rb +3 -2
  70. data/lib/treezor_client/models/card.rb +3 -2
  71. data/lib/treezor_client/models/card_digitalization.rb +4 -3
  72. data/lib/treezor_client/models/country_restriction_group.rb +3 -2
  73. data/lib/treezor_client/models/document.rb +15 -5
  74. data/lib/treezor_client/models/error.rb +3 -2
  75. data/lib/treezor_client/models/inline_response_200.rb +3 -2
  76. data/lib/treezor_client/models/inline_response_200_1.rb +3 -2
  77. data/lib/treezor_client/models/inline_response_200_10.rb +3 -2
  78. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +13 -3
  79. data/lib/treezor_client/models/inline_response_200_11.rb +3 -2
  80. data/lib/treezor_client/models/inline_response_200_12.rb +3 -2
  81. data/lib/treezor_client/models/inline_response_200_13.rb +3 -2
  82. data/lib/treezor_client/models/inline_response_200_14.rb +3 -2
  83. data/lib/treezor_client/models/inline_response_200_15.rb +3 -2
  84. data/lib/treezor_client/models/inline_response_200_16.rb +11 -10
  85. data/lib/treezor_client/models/inline_response_200_17.rb +3 -2
  86. data/lib/treezor_client/models/inline_response_200_18.rb +3 -2
  87. data/lib/treezor_client/models/inline_response_200_19.rb +3 -2
  88. data/lib/treezor_client/models/inline_response_200_2.rb +3 -2
  89. data/lib/treezor_client/models/inline_response_200_20.rb +3 -2
  90. data/lib/treezor_client/models/inline_response_200_21.rb +3 -2
  91. data/lib/treezor_client/models/inline_response_200_22.rb +3 -2
  92. data/lib/treezor_client/models/inline_response_200_23.rb +3 -2
  93. data/lib/treezor_client/models/inline_response_200_24.rb +3 -2
  94. data/lib/treezor_client/models/inline_response_200_25.rb +3 -2
  95. data/lib/treezor_client/models/inline_response_200_26.rb +3 -2
  96. data/lib/treezor_client/models/inline_response_200_27.rb +3 -2
  97. data/lib/treezor_client/models/inline_response_200_28.rb +3 -2
  98. data/lib/treezor_client/models/inline_response_200_3.rb +3 -2
  99. data/lib/treezor_client/models/inline_response_200_4.rb +3 -2
  100. data/lib/treezor_client/models/inline_response_200_4_businessinformations.rb +3 -2
  101. data/lib/treezor_client/models/inline_response_200_4_users.rb +3 -2
  102. data/lib/treezor_client/models/inline_response_200_5.rb +3 -2
  103. data/lib/treezor_client/models/inline_response_200_6.rb +3 -2
  104. data/lib/treezor_client/models/inline_response_200_6_cardimages.rb +3 -2
  105. data/lib/treezor_client/models/inline_response_200_7.rb +3 -2
  106. data/lib/treezor_client/models/inline_response_200_8.rb +3 -2
  107. data/lib/treezor_client/models/inline_response_200_9.rb +3 -2
  108. data/lib/treezor_client/models/inline_response_200_9_cardtransactions.rb +13 -3
  109. data/lib/treezor_client/models/inline_response_default.rb +3 -2
  110. data/lib/treezor_client/models/issuer_initiated_digitization_data.rb +3 -2
  111. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +3 -2
  112. data/lib/treezor_client/models/mandate.rb +3 -2
  113. data/lib/treezor_client/models/mcc_restriction_group.rb +3 -2
  114. data/lib/treezor_client/models/merchant_id_restriction_group.rb +3 -2
  115. data/lib/treezor_client/models/payin.rb +6 -5
  116. data/lib/treezor_client/models/payinrefund.rb +4 -3
  117. data/lib/treezor_client/models/payout.rb +3 -2
  118. data/lib/treezor_client/models/payout_refund.rb +3 -2
  119. data/lib/treezor_client/models/tax_residence.rb +3 -2
  120. data/lib/treezor_client/models/transaction.rb +3 -2
  121. data/lib/treezor_client/models/transfer.rb +3 -2
  122. data/lib/treezor_client/models/transferrefund.rb +3 -2
  123. data/lib/treezor_client/models/user.rb +3 -2
  124. data/lib/treezor_client/models/virtualiban.rb +3 -2
  125. data/lib/treezor_client/models/wallet.rb +3 -2
  126. data/lib/treezor_client/version.rb +2 -2
  127. data/lib/treezor_client.rb +2 -1
  128. data/original_treezor_api_spec.yaml +111 -78
  129. data/pkg/{treezor_client-1.5.0.gem → treezor_client-1.12.0.gem} +0 -0
  130. data/pkg/{treezor_client-1.7.0.gem → treezor_client-2.0.0.gem} +0 -0
  131. data/spec/models/body_11_spec.rb +51 -0
  132. data/treezor_api_spec.yaml +110 -81
  133. data/treezor_client.gemspec +2 -1
  134. metadata +32 -158
  135. data/doc/TreezorClient/ApiClient.html +0 -2600
  136. data/doc/TreezorClient/ApiError.html +0 -464
  137. data/doc/TreezorClient/Balance.html +0 -2042
  138. data/doc/TreezorClient/BalanceApi.html +0 -760
  139. data/doc/TreezorClient/Bankaccount/EnumAttributeValidator.html +0 -455
  140. data/doc/TreezorClient/Bankaccount.html +0 -2560
  141. data/doc/TreezorClient/BankaccountApi.html +0 -2450
  142. data/doc/TreezorClient/BeneficiariesApi.html +0 -2387
  143. data/doc/TreezorClient/BeneficiariesSddB2bWhitelist.html +0 -1816
  144. data/doc/TreezorClient/Beneficiary.html +0 -2574
  145. data/doc/TreezorClient/Body/EnumAttributeValidator.html +0 -455
  146. data/doc/TreezorClient/Body.html +0 -1826
  147. data/doc/TreezorClient/Body1.html +0 -2596
  148. data/doc/TreezorClient/Body10/EnumAttributeValidator.html +0 -455
  149. data/doc/TreezorClient/Body10.html +0 -2069
  150. data/doc/TreezorClient/Body2.html +0 -2492
  151. data/doc/TreezorClient/Body3.html +0 -1726
  152. data/doc/TreezorClient/Body4.html +0 -1726
  153. data/doc/TreezorClient/Body5/EnumAttributeValidator.html +0 -455
  154. data/doc/TreezorClient/Body5.html +0 -2001
  155. data/doc/TreezorClient/Body6/EnumAttributeValidator.html +0 -455
  156. data/doc/TreezorClient/Body6.html +0 -2069
  157. data/doc/TreezorClient/Body7/EnumAttributeValidator.html +0 -455
  158. data/doc/TreezorClient/Body7.html +0 -2002
  159. data/doc/TreezorClient/Body8/EnumAttributeValidator.html +0 -455
  160. data/doc/TreezorClient/Body8.html +0 -1981
  161. data/doc/TreezorClient/Body9/EnumAttributeValidator.html +0 -455
  162. data/doc/TreezorClient/Body9.html +0 -2001
  163. data/doc/TreezorClient/BusinessApi.html +0 -1548
  164. data/doc/TreezorClient/BusinesssearchsBusinessinformations/EnumAttributeValidator.html +0 -455
  165. data/doc/TreezorClient/BusinesssearchsBusinessinformations.html +0 -2822
  166. data/doc/TreezorClient/Card/EnumAttributeValidator.html +0 -455
  167. data/doc/TreezorClient/Card.html +0 -6928
  168. data/doc/TreezorClient/CardApi.html +0 -9907
  169. data/doc/TreezorClient/CardDigitalization.html +0 -2126
  170. data/doc/TreezorClient/CardDigitalizationDetailsFromGPS.html +0 -4343
  171. data/doc/TreezorClient/CardDigitalizationsApi.html +0 -1542
  172. data/doc/TreezorClient/CardReserveApi.html +0 -1622
  173. data/doc/TreezorClient/CardtransactionApi.html +0 -1243
  174. data/doc/TreezorClient/Configuration.html +0 -2459
  175. data/doc/TreezorClient/CountryRestrictionGroupsApi.html +0 -2602
  176. data/doc/TreezorClient/Document/EnumAttributeValidator.html +0 -455
  177. data/doc/TreezorClient/Document.html +0 -2812
  178. data/doc/TreezorClient/DocumentApi.html +0 -2878
  179. data/doc/TreezorClient/Error.html +0 -1794
  180. data/doc/TreezorClient/HeartbeatApi.html +0 -702
  181. data/doc/TreezorClient/InlineResponse200.html +0 -1626
  182. data/doc/TreezorClient/InlineResponse2001.html +0 -1626
  183. data/doc/TreezorClient/InlineResponse20010.html +0 -1626
  184. data/doc/TreezorClient/InlineResponse20010Cardtransactions.html +0 -5844
  185. data/doc/TreezorClient/InlineResponse20011.html +0 -1626
  186. data/doc/TreezorClient/InlineResponse20012.html +0 -1626
  187. data/doc/TreezorClient/InlineResponse20013.html +0 -1626
  188. data/doc/TreezorClient/InlineResponse20014.html +0 -1626
  189. data/doc/TreezorClient/InlineResponse20015.html +0 -1626
  190. data/doc/TreezorClient/InlineResponse20016.html +0 -1626
  191. data/doc/TreezorClient/InlineResponse20017.html +0 -1626
  192. data/doc/TreezorClient/InlineResponse20018.html +0 -1626
  193. data/doc/TreezorClient/InlineResponse20019.html +0 -1626
  194. data/doc/TreezorClient/InlineResponse2002.html +0 -1626
  195. data/doc/TreezorClient/InlineResponse20020.html +0 -1626
  196. data/doc/TreezorClient/InlineResponse20021.html +0 -1626
  197. data/doc/TreezorClient/InlineResponse20022.html +0 -1626
  198. data/doc/TreezorClient/InlineResponse20023.html +0 -1626
  199. data/doc/TreezorClient/InlineResponse20024.html +0 -1626
  200. data/doc/TreezorClient/InlineResponse20025.html +0 -1626
  201. data/doc/TreezorClient/InlineResponse2003.html +0 -1626
  202. data/doc/TreezorClient/InlineResponse2004.html +0 -1626
  203. data/doc/TreezorClient/InlineResponse2005.html +0 -1626
  204. data/doc/TreezorClient/InlineResponse2005Businessinformations/EnumAttributeValidator.html +0 -455
  205. data/doc/TreezorClient/InlineResponse2005Businessinformations.html +0 -3561
  206. data/doc/TreezorClient/InlineResponse2005Users/EnumAttributeValidator.html +0 -455
  207. data/doc/TreezorClient/InlineResponse2005Users.html +0 -1972
  208. data/doc/TreezorClient/InlineResponse2006.html +0 -1626
  209. data/doc/TreezorClient/InlineResponse2007.html +0 -1626
  210. data/doc/TreezorClient/InlineResponse2007Cardimages.html +0 -1800
  211. data/doc/TreezorClient/InlineResponse2008.html +0 -1626
  212. data/doc/TreezorClient/InlineResponse2009.html +0 -1790
  213. data/doc/TreezorClient/InlineResponseDefault.html +0 -1626
  214. data/doc/TreezorClient/IssuerInitiatedDigitizationDataApi.html +0 -1371
  215. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalData.html +0 -1803
  216. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.html +0 -1804
  217. data/doc/TreezorClient/Mandate/EnumAttributeValidator.html +0 -455
  218. data/doc/TreezorClient/Mandate.html +0 -4584
  219. data/doc/TreezorClient/MandateApi.html +0 -3787
  220. data/doc/TreezorClient/MccRestrictionGroup/EnumAttributeValidator.html +0 -455
  221. data/doc/TreezorClient/MccRestrictionGroup.html +0 -2144
  222. data/doc/TreezorClient/MccRestrictionGroupsApi.html +0 -2598
  223. data/doc/TreezorClient/MerchantIdRestrictionGroup/EnumAttributeValidator.html +0 -455
  224. data/doc/TreezorClient/MerchantIdRestrictionGroup.html +0 -2144
  225. data/doc/TreezorClient/MerchantIdRestrictionGroupsApi.html +0 -2638
  226. data/doc/TreezorClient/Payin/EnumAttributeValidator.html +0 -455
  227. data/doc/TreezorClient/Payin.html +0 -5584
  228. data/doc/TreezorClient/PayinApi.html +0 -2963
  229. data/doc/TreezorClient/Payinrefund/EnumAttributeValidator.html +0 -455
  230. data/doc/TreezorClient/Payinrefund.html +0 -2476
  231. data/doc/TreezorClient/PayinrefundApi.html +0 -2449
  232. data/doc/TreezorClient/Payout/EnumAttributeValidator.html +0 -455
  233. data/doc/TreezorClient/Payout.html +0 -3488
  234. data/doc/TreezorClient/PayoutApi.html +0 -2737
  235. data/doc/TreezorClient/Tav.html +0 -2130
  236. data/doc/TreezorClient/Transaction.html +0 -2798
  237. data/doc/TreezorClient/TransactionApi.html +0 -1491
  238. data/doc/TreezorClient/Transfer/EnumAttributeValidator.html +0 -455
  239. data/doc/TreezorClient/Transfer.html +0 -3158
  240. data/doc/TreezorClient/TransferApi.html +0 -2725
  241. data/doc/TreezorClient/Transferrefund/EnumAttributeValidator.html +0 -455
  242. data/doc/TreezorClient/Transferrefund.html +0 -2644
  243. data/doc/TreezorClient/TransferrefundApi.html +0 -2450
  244. data/doc/TreezorClient/User/EnumAttributeValidator.html +0 -455
  245. data/doc/TreezorClient/User.html +0 -5844
  246. data/doc/TreezorClient/UserApi.html +0 -6647
  247. data/doc/TreezorClient/Virtualiban.html +0 -2462
  248. data/doc/TreezorClient/VirtualibansApi.html +0 -2845
  249. data/doc/TreezorClient/Wallet/EnumAttributeValidator.html +0 -455
  250. data/doc/TreezorClient/Wallet.html +0 -4076
  251. data/doc/TreezorClient/WalletApi.html +0 -3944
  252. data/doc/TreezorClient.html +0 -251
  253. data/doc/_index.html +0 -1025
  254. data/doc/class_list.html +0 -51
  255. data/doc/css/common.css +0 -1
  256. data/doc/css/full_list.css +0 -58
  257. data/doc/css/style.css +0 -496
  258. data/doc/file.README.html +0 -636
  259. data/doc/file_list.html +0 -56
  260. data/doc/frames.html +0 -17
  261. data/doc/index.html +0 -636
  262. data/doc/js/app.js +0 -292
  263. data/doc/js/full_list.js +0 -216
  264. data/doc/js/jquery.js +0 -4
  265. data/doc/method_list.html +0 -15699
  266. data/doc/top-level-namespace.html +0 -110
  267. data/docs/CardDigitalizationDetailsFromGPS.md +0 -40
  268. data/docs/InlineResponse20011Cardtransactions.md +0 -58
  269. data/docs/InlineResponse2005Businessinformations.md +0 -26
  270. data/docs/InlineResponse2005Users.md +0 -12
  271. data/docs/InlineResponse2007Cardimages.md +0 -10
  272. data/docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md +0 -10
  273. data/docs/Tav.md +0 -14
  274. data/lib/treezor_client/models/card_digitalization_details_from_gps.rb +0 -509
  275. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +0 -637
  276. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +0 -447
  277. data/lib/treezor_client/models/inline_response_200_5_users.rb +0 -258
  278. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates.rb +0 -209
  279. data/lib/treezor_client/models/tav.rb +0 -241
  280. data/pkg/treezor_client-1.0.0.gem +0 -0
  281. data/pkg/treezor_client-1.1.0.gem +0 -0
  282. data/pkg/treezor_client-1.2.0.gem +0 -0
  283. data/pkg/treezor_client-1.3.0.gem +0 -0
  284. data/pkg/treezor_client-1.4.0.gem +0 -0
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -108,7 +108,7 @@ module TreezorClient
108
108
  # @option opts [String] :address_street Business' street address.
109
109
  # @option opts [String] :address_city Business' city address.
110
110
  # @option opts [String] :address_postal_code Business' postal code address.
111
- # @return [Array<Object>]
111
+ # @return [Array<InlineResponse2003>]
112
112
  def businesssearchs_get(country, opts = {})
113
113
  data, _status_code, _headers = businesssearchs_get_with_http_info(country, opts)
114
114
  data
@@ -131,7 +131,7 @@ module TreezorClient
131
131
  # @option opts [String] :address_street Business&#39; street address.
132
132
  # @option opts [String] :address_city Business&#39; city address.
133
133
  # @option opts [String] :address_postal_code Business&#39; postal code address.
134
- # @return [Array<(Array<Object>, Fixnum, Hash)>] Array<Object> data, response status code and response headers
134
+ # @return [Array<(Array<InlineResponse2003>, Fixnum, Hash)>] Array<InlineResponse2003> data, response status code and response headers
135
135
  def businesssearchs_get_with_http_info(country, opts = {})
136
136
  if @api_client.config.debugging
137
137
  @api_client.config.logger.debug 'Calling API: BusinessApi.businesssearchs_get ...'
@@ -175,7 +175,7 @@ module TreezorClient
175
175
  :form_params => form_params,
176
176
  :body => post_body,
177
177
  :auth_names => auth_names,
178
- :return_type => 'Array<Object>')
178
+ :return_type => 'Array<InlineResponse2003>')
179
179
  if @api_client.config.debugging
180
180
  @api_client.config.logger.debug "API called: BusinessApi#businesssearchs_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
181
181
  end
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -544,54 +544,6 @@ module TreezorClient
544
544
  end
545
545
  return data, status_code, headers
546
546
  end
547
- # deactivate a card
548
- # @param id Card&#39;s id.
549
- # @param [Hash] opts the optional parameters
550
- # @return [InlineResponse2005]
551
- def cards_id_delete(id, opts = {})
552
- data, _status_code, _headers = cards_id_delete_with_http_info(id, opts)
553
- data
554
- end
555
-
556
- # deactivate a card
557
- # @param id Card&#39;s id.
558
- # @param [Hash] opts the optional parameters
559
- # @return [Array<(InlineResponse2005, Fixnum, Hash)>] InlineResponse2005 data, response status code and response headers
560
- def cards_id_delete_with_http_info(id, opts = {})
561
- if @api_client.config.debugging
562
- @api_client.config.logger.debug 'Calling API: CardApi.cards_id_delete ...'
563
- end
564
- # verify the required parameter 'id' is set
565
- if @api_client.config.client_side_validation && id.nil?
566
- fail ArgumentError, "Missing the required parameter 'id' when calling CardApi.cards_id_delete"
567
- end
568
- # resource path
569
- local_var_path = '/cards/{id}'.sub('{' + 'id' + '}', id.to_s)
570
-
571
- # query parameters
572
- query_params = {}
573
-
574
- # header parameters
575
- header_params = {}
576
-
577
- # form parameters
578
- form_params = {}
579
-
580
- # http body (model)
581
- post_body = nil
582
- auth_names = ['api_key']
583
- data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
584
- :header_params => header_params,
585
- :query_params => query_params,
586
- :form_params => form_params,
587
- :body => post_body,
588
- :auth_names => auth_names,
589
- :return_type => 'InlineResponse2005')
590
- if @api_client.config.debugging
591
- @api_client.config.logger.debug "API called: CardApi#cards_id_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
592
- end
593
- return data, status_code, headers
594
- end
595
547
  # get a card
596
548
  # @param id Card&#39;s id.
597
549
  # @param [Hash] opts the optional parameters
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -21,7 +21,6 @@ module TreezorClient
21
21
  end
22
22
  # add an amount to the reserved amount of a card
23
23
  # add an amount to the reserved amount of a card
24
- # @param id the cardId of the reserved amount you want to pick up
25
24
  # @param [Hash] opts the optional parameters
26
25
  # @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).
27
26
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
@@ -29,14 +28,13 @@ module TreezorClient
29
28
  # @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
29
  # @option opts [Body2] :body
31
30
  # @return [Float]
32
- def card_reserve_add_to(id, opts = {})
33
- data, _status_code, _headers = card_reserve_add_to_with_http_info(id, opts)
31
+ def card_reserve_add_to(opts = {})
32
+ data, _status_code, _headers = card_reserve_add_to_with_http_info(opts)
34
33
  data
35
34
  end
36
35
 
37
36
  # add an amount to the reserved amount of a card
38
37
  # add an amount to the reserved amount of a card
39
- # @param id the cardId of the reserved amount you want to pick up
40
38
  # @param [Hash] opts the optional parameters
41
39
  # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
42
40
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
@@ -44,20 +42,15 @@ module TreezorClient
44
42
  # @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).
45
43
  # @option opts [Body2] :body
46
44
  # @return [Array<(Float, Fixnum, Hash)>] Float data, response status code and response headers
47
- def card_reserve_add_to_with_http_info(id, opts = {})
45
+ def card_reserve_add_to_with_http_info(opts = {})
48
46
  if @api_client.config.debugging
49
47
  @api_client.config.logger.debug 'Calling API: CardReserveApi.card_reserve_add_to ...'
50
48
  end
51
- # verify the required parameter 'id' is set
52
- if @api_client.config.client_side_validation && id.nil?
53
- fail ArgumentError, "Missing the required parameter 'id' when calling CardReserveApi.card_reserve_add_to"
54
- end
55
49
  # resource path
56
50
  local_var_path = '/cardReserves/AddTo'
57
51
 
58
52
  # query parameters
59
53
  query_params = {}
60
- query_params[:'id'] = id
61
54
  query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
62
55
  query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
63
56
  query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
@@ -90,7 +83,6 @@ module TreezorClient
90
83
  end
91
84
  # check reserved amount
92
85
  # Check if an amount can be substract to the reserved amount
93
- # @param id the cardId of the reserved amount you want to pick up
94
86
  # @param [Hash] opts the optional parameters
95
87
  # @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).
96
88
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
@@ -98,14 +90,13 @@ module TreezorClient
98
90
  # @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).
99
91
  # @option opts [Body3] :body
100
92
  # @return [BOOLEAN]
101
- def card_reserve_check(id, opts = {})
102
- data, _status_code, _headers = card_reserve_check_with_http_info(id, opts)
93
+ def card_reserve_check(opts = {})
94
+ data, _status_code, _headers = card_reserve_check_with_http_info(opts)
103
95
  data
104
96
  end
105
97
 
106
98
  # check reserved amount
107
99
  # Check if an amount can be substract to the reserved amount
108
- # @param id the cardId of the reserved amount you want to pick up
109
100
  # @param [Hash] opts the optional parameters
110
101
  # @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).
111
102
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
@@ -113,20 +104,15 @@ module TreezorClient
113
104
  # @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).
114
105
  # @option opts [Body3] :body
115
106
  # @return [Array<(BOOLEAN, Fixnum, Hash)>] BOOLEAN data, response status code and response headers
116
- def card_reserve_check_with_http_info(id, opts = {})
107
+ def card_reserve_check_with_http_info(opts = {})
117
108
  if @api_client.config.debugging
118
109
  @api_client.config.logger.debug 'Calling API: CardReserveApi.card_reserve_check ...'
119
110
  end
120
- # verify the required parameter 'id' is set
121
- if @api_client.config.client_side_validation && id.nil?
122
- fail ArgumentError, "Missing the required parameter 'id' when calling CardReserveApi.card_reserve_check"
123
- end
124
111
  # resource path
125
112
  local_var_path = '/cardReserves/Check'
126
113
 
127
114
  # query parameters
128
115
  query_params = {}
129
- query_params[:'id'] = id
130
116
  query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
131
117
  query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
132
118
  query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -74,7 +74,7 @@ module TreezorClient
74
74
  return data, status_code, headers
75
75
  end
76
76
  # search for card transactions
77
- # Search for documents.
77
+ # Search for documents. The request must contain at least one of those inputs - cardId, paymentId, publicToken, walletId
78
78
  # @param [Hash] opts the optional parameters
79
79
  # @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).
80
80
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
@@ -96,7 +96,7 @@ module TreezorClient
96
96
  end
97
97
 
98
98
  # search for card transactions
99
- # Search for documents.
99
+ # Search for documents. The request must contain at least one of those inputs - cardId, paymentId, publicToken, walletId
100
100
  # @param [Hash] opts the optional parameters
101
101
  # @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).
102
102
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -234,7 +234,7 @@ module TreezorClient
234
234
  # @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).
235
235
  # @option opts [Integer] :document_id Document&#39;s unique id.
236
236
  # @option opts [String] :document_tag Custom data.
237
- # @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED
237
+ # @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED
238
238
  # @option opts [Integer] :document_type_id Document type id.
239
239
  # @option opts [String] :document_type Document&#39;s type.
240
240
  # @option opts [Integer] :user_id Document user&#39;s id.
@@ -267,7 +267,7 @@ module TreezorClient
267
267
  # @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).
268
268
  # @option opts [Integer] :document_id Document&#39;s unique id.
269
269
  # @option opts [String] :document_tag Custom data.
270
- # @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED
270
+ # @option opts [String] :document_status The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED
271
271
  # @option opts [Integer] :document_type_id Document type id.
272
272
  # @option opts [String] :document_type Document&#39;s type.
273
273
  # @option opts [Integer] :user_id Document user&#39;s id.
@@ -290,8 +290,8 @@ module TreezorClient
290
290
  if @api_client.config.debugging
291
291
  @api_client.config.logger.debug 'Calling API: DocumentApi.get_documents ...'
292
292
  end
293
- if @api_client.config.client_side_validation && opts[:'document_status'] && !['PENDING', 'CANCELED', 'VALIDATED'].include?(opts[:'document_status'])
294
- fail ArgumentError, 'invalid value for "document_status", must be one of PENDING, CANCELED, VALIDATED'
293
+ if @api_client.config.client_side_validation && opts[:'document_status'] && !['PENDING', 'CANCELED', 'VALIDATED', 'REFUSED'].include?(opts[:'document_status'])
294
+ fail ArgumentError, 'invalid value for "document_status", must be one of PENDING, CANCELED, VALIDATED, REFUSED'
295
295
  end
296
296
  # resource path
297
297
  local_var_path = '/documents'
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -211,6 +211,74 @@ module TreezorClient
211
211
  end
212
212
  return data, status_code, headers
213
213
  end
214
+ # edit the merchant ID list for a restriction group
215
+ # Edit the merchant ID list for a restriction group in the system.
216
+ # @param id Merchant ID restriction group&#39;s id.
217
+ # @param [Hash] opts the optional parameters
218
+ # @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).
219
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
220
+ # @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).
221
+ # @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).
222
+ # @option opts [Body11] :body
223
+ # @return [InlineResponse20016]
224
+ def merchant_id_restriction_groups_id_delta_update_put(id, opts = {})
225
+ data, _status_code, _headers = merchant_id_restriction_groups_id_delta_update_put_with_http_info(id, opts)
226
+ data
227
+ end
228
+
229
+ # edit the merchant ID list for a restriction group
230
+ # Edit the merchant ID list for a restriction group in the system.
231
+ # @param id Merchant ID restriction group&#39;s id.
232
+ # @param [Hash] opts the optional parameters
233
+ # @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).
234
+ # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
235
+ # @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).
236
+ # @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).
237
+ # @option opts [Body11] :body
238
+ # @return [Array<(InlineResponse20016, Fixnum, Hash)>] InlineResponse20016 data, response status code and response headers
239
+ def merchant_id_restriction_groups_id_delta_update_put_with_http_info(id, opts = {})
240
+ if @api_client.config.debugging
241
+ @api_client.config.logger.debug 'Calling API: MerchantIdRestrictionGroupsApi.merchant_id_restriction_groups_id_delta_update_put ...'
242
+ end
243
+ # verify the required parameter 'id' is set
244
+ if @api_client.config.client_side_validation && id.nil?
245
+ fail ArgumentError, "Missing the required parameter 'id' when calling MerchantIdRestrictionGroupsApi.merchant_id_restriction_groups_id_delta_update_put"
246
+ end
247
+ # resource path
248
+ local_var_path = '/merchantIdRestrictionGroups/{id}/DeltaUpdate/'.sub('{' + 'id' + '}', id.to_s)
249
+
250
+ # query parameters
251
+ query_params = {}
252
+ query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
253
+ query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
254
+ query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
255
+ query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
256
+
257
+ # header parameters
258
+ header_params = {}
259
+ # HTTP header 'Accept' (if needed)
260
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
261
+ # HTTP header 'Content-Type'
262
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
263
+
264
+ # form parameters
265
+ form_params = {}
266
+
267
+ # http body (model)
268
+ post_body = @api_client.object_to_http_body(opts[:'body'])
269
+ auth_names = ['api_key']
270
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
271
+ :header_params => header_params,
272
+ :query_params => query_params,
273
+ :form_params => form_params,
274
+ :body => post_body,
275
+ :auth_names => auth_names,
276
+ :return_type => 'InlineResponse20016')
277
+ if @api_client.config.debugging
278
+ @api_client.config.logger.debug "API called: MerchantIdRestrictionGroupsApi#merchant_id_restriction_groups_id_delta_update_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
279
+ end
280
+ return data, status_code, headers
281
+ end
214
282
  # create a merchantIdRestrictionGroup
215
283
  # Create a new merchant ID restriction group in the system.
216
284
  # @param [Hash] opts the optional parameters
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -134,7 +134,7 @@ module TreezorClient
134
134
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
135
135
  # @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).
136
136
  # @option opts [Integer] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
137
- # @option opts [Integer] :payin_id Payin&#39;s id.
137
+ # @option opts [String] :payin_id Payin&#39;s id.
138
138
  # @option opts [Integer] :wallet_id Payin&#39;s wallet id.
139
139
  # @option opts [String] :payin_tag Client custom data.
140
140
  # @option opts [String] :payin_status Payins&#39;s status.
@@ -166,7 +166,7 @@ module TreezorClient
166
166
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
167
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
168
  # @option opts [Integer] :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
- # @option opts [Integer] :payin_id Payin&#39;s id.
169
+ # @option opts [String] :payin_id Payin&#39;s id.
170
170
  # @option opts [Integer] :wallet_id Payin&#39;s wallet id.
171
171
  # @option opts [String] :payin_tag Client custom data.
172
172
  # @option opts [String] :payin_status Payins&#39;s status.
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -134,7 +134,7 @@ module TreezorClient
134
134
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
135
135
  # @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).
136
136
  # @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).
137
- # @option opts [Integer] :payin_id Payin&#39;s id.
137
+ # @option opts [String] :payin_id Payin&#39;s id.
138
138
  # @option opts [Integer] :payinrefund_id Payinrefund&#39;s id.
139
139
  # @option opts [String] :payinrefund_tag Custom data.
140
140
  # @option opts [String] :payinrefund_status Payinrefund&#39;s status. Possible values: * PENDING * CANCELED * VALIDATED
@@ -164,7 +164,7 @@ module TreezorClient
164
164
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
165
165
  # @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).
166
166
  # @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).
167
- # @option opts [Integer] :payin_id Payin&#39;s id.
167
+ # @option opts [String] :payin_id Payin&#39;s id.
168
168
  # @option opts [Integer] :payinrefund_id Payinrefund&#39;s id.
169
169
  # @option opts [String] :payinrefund_tag Custom data.
170
170
  # @option opts [String] :payinrefund_status Payinrefund&#39;s status. Possible values: * PENDING * CANCELED * VALIDATED
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12
 
@@ -321,7 +321,7 @@ module TreezorClient
321
321
  # @option opts [String] :language User&#39;s prefered language (ISO 639-1)
322
322
  # @option opts [String] :tax_number User&#39;s tax identification number. If the taxResidence is not set to FR, the field is mandatory.
323
323
  # @option opts [String] :tax_residence User&#39;s tax residence country code (2 char code following ISO 3166 norm).
324
- # @option opts [String] :position User&#39;s position.
324
+ # @option opts [String] :position User&#39;s position (deprecated, you must use the parameter occupation).
325
325
  # @option opts [String] :personal_assets User&#39;s personal assets range expressed in k€.
326
326
  # @return [InlineResponse20026]
327
327
  def put_user(id, opts = {})
@@ -375,7 +375,7 @@ module TreezorClient
375
375
  # @option opts [String] :language User&#39;s prefered language (ISO 639-1)
376
376
  # @option opts [String] :tax_number User&#39;s tax identification number. If the taxResidence is not set to FR, the field is mandatory.
377
377
  # @option opts [String] :tax_residence User&#39;s tax residence country code (2 char code following ISO 3166 norm).
378
- # @option opts [String] :position User&#39;s position.
378
+ # @option opts [String] :position User&#39;s position (deprecated, you must use the parameter occupation).
379
379
  # @option opts [String] :personal_assets User&#39;s personal assets range expressed in k€.
380
380
  # @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
381
381
  def put_user_with_http_info(id, opts = {})
@@ -494,7 +494,7 @@ module TreezorClient
494
494
  # @option opts [String] :parent_type Type of bound between parent and current user : * shareholder * employee * leader (deprecated you must use the controllingPersonType and employeeType parameters)
495
495
  # @option opts [Integer] :controlling_person_type Type of relationship : | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) |
496
496
  # @option opts [Integer] :employee_type Type of user&#39;s role : | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)|
497
- # @option opts [Integer] :entity_type Type of user&#39;s entity type | Value | Type | | --- | --- | | 1 | Reporting Financial Institution | | 2 | Non-Reporting Financial Institution | | 3 | Active Non-Financial Entity - Governmental entities, Int. organizations | | 4 | Active Non-Financial Entity - Other | | 5 | Passive Non-Financial Entity - Investment entity that is not Participating Jurisdiction FI |
497
+ # @option opts [Integer] :entity_type Type of user&#39;s entity type : | Value | Type | | --- | --- | | 1 | Reporting Financial Institution | | 2 | Non-Reporting Financial Institution | | 3 | Active Non-Financial Entity - Governmental entities, Int. organizations | | 4 | Active Non-Financial Entity - Other | | 5 | Passive Non-Financial Entity - Investment entity that is not Participating Jurisdiction FI |
498
498
  # @option opts [String] :title User&#39;s title. Possible values: * M * MME * MLLE
499
499
  # @option opts [String] :firstname User&#39;s first name
500
500
  # @option opts [String] :lastname User&#39;s last name
@@ -528,7 +528,7 @@ module TreezorClient
528
528
  # @option opts [String] :language User&#39;s prefered language (ISO 639-1)
529
529
  # @option opts [String] :tax_number User&#39;s tax identification number. If the taxResidence is set to another country than France, the field is mandatory. (deprecated, you must use the TaxResidence endpoint)
530
530
  # @option opts [String] :tax_residence User&#39;s tax residence country code (2 char code following ISO 3166 norm). (deprecated, you must use the TaxResidence endpoint)
531
- # @option opts [String] :position User&#39;s position.
531
+ # @option opts [String] :position User&#39;s position (deprecated, you must use the parameter occupation).
532
532
  # @option opts [String] :personal_assets User&#39;s personal assets range exprimed in K€.
533
533
  # @return [InlineResponse20026]
534
534
  def put_users(specified_us_person, email, opts = {})
@@ -551,7 +551,7 @@ module TreezorClient
551
551
  # @option opts [String] :parent_type Type of bound between parent and current user : * shareholder * employee * leader (deprecated you must use the controllingPersonType and employeeType parameters)
552
552
  # @option opts [Integer] :controlling_person_type Type of relationship : | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) |
553
553
  # @option opts [Integer] :employee_type Type of user&#39;s role : | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)|
554
- # @option opts [Integer] :entity_type Type of user&#39;s entity type | Value | Type | | --- | --- | | 1 | Reporting Financial Institution | | 2 | Non-Reporting Financial Institution | | 3 | Active Non-Financial Entity - Governmental entities, Int. organizations | | 4 | Active Non-Financial Entity - Other | | 5 | Passive Non-Financial Entity - Investment entity that is not Participating Jurisdiction FI |
554
+ # @option opts [Integer] :entity_type Type of user&#39;s entity type : | Value | Type | | --- | --- | | 1 | Reporting Financial Institution | | 2 | Non-Reporting Financial Institution | | 3 | Active Non-Financial Entity - Governmental entities, Int. organizations | | 4 | Active Non-Financial Entity - Other | | 5 | Passive Non-Financial Entity - Investment entity that is not Participating Jurisdiction FI |
555
555
  # @option opts [String] :title User&#39;s title. Possible values: * M * MME * MLLE
556
556
  # @option opts [String] :firstname User&#39;s first name
557
557
  # @option opts [String] :lastname User&#39;s last name
@@ -585,7 +585,7 @@ module TreezorClient
585
585
  # @option opts [String] :language User&#39;s prefered language (ISO 639-1)
586
586
  # @option opts [String] :tax_number User&#39;s tax identification number. If the taxResidence is set to another country than France, the field is mandatory. (deprecated, you must use the TaxResidence endpoint)
587
587
  # @option opts [String] :tax_residence User&#39;s tax residence country code (2 char code following ISO 3166 norm). (deprecated, you must use the TaxResidence endpoint)
588
- # @option opts [String] :position User&#39;s position.
588
+ # @option opts [String] :position User&#39;s position (deprecated, you must use the parameter occupation).
589
589
  # @option opts [String] :personal_assets User&#39;s personal assets range exprimed in K€.
590
590
  # @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
591
591
  def put_users_with_http_info(specified_us_person, email, opts = {})
@@ -6,7 +6,7 @@
6
6
  OpenAPI spec version: 0.1.1
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
- Swagger Codegen version: 2.4.1
9
+ Swagger Codegen version: 2.4.19
10
10
 
11
11
  =end
12
12