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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfa8d809f9256d7670e5232e495380ef73074ccee5bd5f84747cfa8640033f14
4
- data.tar.gz: 4d8b21031fe3d7a3469ae4e56712f10a939787fea27cdf3fa5d1ee256f94e627
3
+ metadata.gz: e1da89b24204cd46daf45e7f9ff372a5e756366938bf3d191e0481e8140a0b14
4
+ data.tar.gz: d77e7a25e6af6c6f5beb0693c4bfb125da4bfd006f9bf98eda5f99afbff94b04
5
5
  SHA512:
6
- metadata.gz: b84eddb7f9d757d52d6c6148fc15bb1f5b33b10e696a5ea245d654ffc8d90e5e0e6ad9526039a62322c3835396f14e2eb2b827eb82c2a49630cd2ceed9040b00
7
- data.tar.gz: 364414cd1d699ea46b936ba116b5de7f59ea20b3135bffafe850f25a068fcc374f5cf95dbdd72e70dae788f401b7d60a26d9c0f8a31fd218deefae9f78958728
6
+ metadata.gz: 7db1e74381a66f81138f55b100f6c018771b99e4e17dbb0c169134bb57f3c6518e9b45de63f089803653564e809ef8efeafda3a73e81432f1a785508cdc9d90f
7
+ data.tar.gz: e09157e8ebeecd6086c27309afd8565fa5f35277415ca5cd424efdd10a96a51d1cdca92613807c1ecaff3473611f8c981f337807423bfab9a1046628c073ba21
data/Gemfile CHANGED
@@ -3,5 +3,5 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development, :test do
6
- gem 'rake', '~> 12.0.0'
6
+ gem 'rake', '~> 13.0.1'
7
7
  end
data/Gemfile.lock CHANGED
@@ -1,19 +1,20 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- treezor_client (1.9.0)
4
+ treezor_client (2.0.0)
5
+ addressable (~> 2.3, >= 2.3.0)
5
6
  json (~> 2.1, >= 2.1.0)
6
7
  typhoeus (~> 1.0, >= 1.0.1)
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
10
11
  specs:
11
- ZenTest (4.11.2)
12
- addressable (2.6.0)
13
- public_suffix (>= 2.0.2, < 4.0)
12
+ ZenTest (4.12.0)
13
+ addressable (2.8.0)
14
+ public_suffix (>= 2.0.2, < 5.0)
14
15
  autotest (4.4.6)
15
16
  ZenTest (>= 4.4.1)
16
- autotest-fsevent (0.2.14)
17
+ autotest-fsevent (0.2.15)
17
18
  sys-uname
18
19
  autotest-growl (0.2.16)
19
20
  autotest-rails-pure (4.1.2)
@@ -22,28 +23,28 @@ GEM
22
23
  diff-lcs (1.3)
23
24
  ethon (0.12.0)
24
25
  ffi (>= 1.3.0)
25
- ffi (1.10.0)
26
- hashdiff (0.3.8)
27
- json (2.2.0)
28
- public_suffix (3.0.3)
29
- rake (12.0.0)
30
- rspec (3.8.0)
31
- rspec-core (~> 3.8.0)
32
- rspec-expectations (~> 3.8.0)
33
- rspec-mocks (~> 3.8.0)
34
- rspec-core (3.8.0)
35
- rspec-support (~> 3.8.0)
36
- rspec-expectations (3.8.2)
26
+ ffi (1.11.1)
27
+ hashdiff (1.0.0)
28
+ json (2.6.1)
29
+ public_suffix (4.0.6)
30
+ rake (13.0.1)
31
+ rspec (3.9.0)
32
+ rspec-core (~> 3.9.0)
33
+ rspec-expectations (~> 3.9.0)
34
+ rspec-mocks (~> 3.9.0)
35
+ rspec-core (3.9.0)
36
+ rspec-support (~> 3.9.0)
37
+ rspec-expectations (3.9.0)
37
38
  diff-lcs (>= 1.2.0, < 2.0)
38
- rspec-support (~> 3.8.0)
39
- rspec-mocks (3.8.0)
39
+ rspec-support (~> 3.9.0)
40
+ rspec-mocks (3.9.0)
40
41
  diff-lcs (>= 1.2.0, < 2.0)
41
- rspec-support (~> 3.8.0)
42
- rspec-support (3.8.0)
42
+ rspec-support (~> 3.9.0)
43
+ rspec-support (3.9.0)
43
44
  safe_yaml (1.0.5)
44
- sys-uname (1.0.4)
45
+ sys-uname (1.1.0)
45
46
  ffi (>= 1.0.0)
46
- typhoeus (1.3.1)
47
+ typhoeus (1.4.0)
47
48
  ethon (>= 0.9.0)
48
49
  vcr (3.0.3)
49
50
  webmock (1.24.6)
@@ -59,7 +60,7 @@ DEPENDENCIES
59
60
  autotest-fsevent (~> 0.2, >= 0.2.12)
60
61
  autotest-growl (~> 0.2, >= 0.2.16)
61
62
  autotest-rails-pure (~> 4.1, >= 4.1.2)
62
- rake (~> 12.0.0)
63
+ rake (~> 13.0.1)
63
64
  rspec (~> 3.6, >= 3.6.0)
64
65
  treezor_client!
65
66
  vcr (~> 3.0, >= 3.0.1)
data/README.md CHANGED
@@ -106,7 +106,6 @@ Class | Method | HTTP request | Description
106
106
  *TreezorClient::CardApi* | [**cards_id_activate_put**](docs/CardApi.md#cards_id_activate_put) | **PUT** /cards/{id}/Activate/ | activate a card
107
107
  *TreezorClient::CardApi* | [**cards_id_change_pin_put**](docs/CardApi.md#cards_id_change_pin_put) | **PUT** /cards/{id}/ChangePIN/ | change card's PIN
108
108
  *TreezorClient::CardApi* | [**cards_id_convert_virtual_put**](docs/CardApi.md#cards_id_convert_virtual_put) | **PUT** /cards/{id}/ConvertVirtual/ | convert card to virtual
109
- *TreezorClient::CardApi* | [**cards_id_delete**](docs/CardApi.md#cards_id_delete) | **DELETE** /cards/{id} | deactivate a card
110
109
  *TreezorClient::CardApi* | [**cards_id_get**](docs/CardApi.md#cards_id_get) | **GET** /cards/{id} | get a card
111
110
  *TreezorClient::CardApi* | [**cards_id_limits_put**](docs/CardApi.md#cards_id_limits_put) | **PUT** /cards/{id}/Limits/ | update card's limits
112
111
  *TreezorClient::CardApi* | [**cards_id_lock_unlock_put**](docs/CardApi.md#cards_id_lock_unlock_put) | **PUT** /cards/{id}/LockUnlock/ | update card's blocking status
@@ -153,6 +152,7 @@ Class | Method | HTTP request | Description
153
152
  *TreezorClient::MerchantIdRestrictionGroupsApi* | [**delete_merchant_id_restriction_groups**](docs/MerchantIdRestrictionGroupsApi.md#delete_merchant_id_restriction_groups) | **DELETE** /merchantIdRestrictionGroups/{id} | cancel a merchant id restriction group
154
153
  *TreezorClient::MerchantIdRestrictionGroupsApi* | [**get_merchant_id_restriction_group**](docs/MerchantIdRestrictionGroupsApi.md#get_merchant_id_restriction_group) | **GET** /merchantIdRestrictionGroups | search merchant id restriction groups
155
154
  *TreezorClient::MerchantIdRestrictionGroupsApi* | [**get_merchant_id_restriction_groups_id**](docs/MerchantIdRestrictionGroupsApi.md#get_merchant_id_restriction_groups_id) | **GET** /merchantIdRestrictionGroups/{id} | get a merchant ID restriction group
155
+ *TreezorClient::MerchantIdRestrictionGroupsApi* | [**merchant_id_restriction_groups_id_delta_update_put**](docs/MerchantIdRestrictionGroupsApi.md#merchant_id_restriction_groups_id_delta_update_put) | **PUT** /merchantIdRestrictionGroups/{id}/DeltaUpdate/ | edit the merchant ID list for a restriction group
156
156
  *TreezorClient::MerchantIdRestrictionGroupsApi* | [**post_merchant_id_restriction_group**](docs/MerchantIdRestrictionGroupsApi.md#post_merchant_id_restriction_group) | **POST** /merchantIdRestrictionGroups | create a merchantIdRestrictionGroup
157
157
  *TreezorClient::MerchantIdRestrictionGroupsApi* | [**put_merchant_id_restriction_groups**](docs/MerchantIdRestrictionGroupsApi.md#put_merchant_id_restriction_groups) | **PUT** /merchantIdRestrictionGroups/{id} | edit a merchant id restriction group
158
158
  *TreezorClient::PayinApi* | [**delete_payin**](docs/PayinApi.md#delete_payin) | **DELETE** /payins/{id} | delete a pay in
@@ -209,6 +209,7 @@ Class | Method | HTTP request | Description
209
209
  - [TreezorClient::Body](docs/Body.md)
210
210
  - [TreezorClient::Body1](docs/Body1.md)
211
211
  - [TreezorClient::Body10](docs/Body10.md)
212
+ - [TreezorClient::Body11](docs/Body11.md)
212
213
  - [TreezorClient::Body2](docs/Body2.md)
213
214
  - [TreezorClient::Body3](docs/Body3.md)
214
215
  - [TreezorClient::Body4](docs/Body4.md)
data/docs/Body11.md ADDED
@@ -0,0 +1,9 @@
1
+ # TreezorClient::Body11
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **merchants** | **Array&lt;String&gt;** | Array of merchant ID | [optional]
7
+ **merchants_operation** | **String** | Action to do with merchants id list | [optional]
8
+
9
+
data/docs/BusinessApi.md CHANGED
@@ -79,7 +79,7 @@ Name | Type | Description | Notes
79
79
 
80
80
 
81
81
  # **businesssearchs_get**
82
- > Array&lt;Object&gt; businesssearchs_get(country, opts)
82
+ > Array&lt;InlineResponse2003&gt; businesssearchs_get(country, opts)
83
83
 
84
84
  search businesses
85
85
 
@@ -147,7 +147,7 @@ Name | Type | Description | Notes
147
147
 
148
148
  ### Return type
149
149
 
150
- **Array&lt;Object&gt;**
150
+ [**Array&lt;InlineResponse2003&gt;**](InlineResponse2003.md)
151
151
 
152
152
  ### Authorization
153
153
 
data/docs/CardApi.md CHANGED
@@ -10,7 +10,6 @@ Method | HTTP request | Description
10
10
  [**cards_id_activate_put**](CardApi.md#cards_id_activate_put) | **PUT** /cards/{id}/Activate/ | activate a card
11
11
  [**cards_id_change_pin_put**](CardApi.md#cards_id_change_pin_put) | **PUT** /cards/{id}/ChangePIN/ | change card&#39;s PIN
12
12
  [**cards_id_convert_virtual_put**](CardApi.md#cards_id_convert_virtual_put) | **PUT** /cards/{id}/ConvertVirtual/ | convert card to virtual
13
- [**cards_id_delete**](CardApi.md#cards_id_delete) | **DELETE** /cards/{id} | deactivate a card
14
13
  [**cards_id_get**](CardApi.md#cards_id_get) | **GET** /cards/{id} | get a card
15
14
  [**cards_id_limits_put**](CardApi.md#cards_id_limits_put) | **PUT** /cards/{id}/Limits/ | update card&#39;s limits
16
15
  [**cards_id_lock_unlock_put**](CardApi.md#cards_id_lock_unlock_put) | **PUT** /cards/{id}/LockUnlock/ | update card&#39;s blocking status
@@ -498,58 +497,6 @@ Name | Type | Description | Notes
498
497
 
499
498
 
500
499
 
501
- # **cards_id_delete**
502
- > InlineResponse2005 cards_id_delete(id)
503
-
504
- deactivate a card
505
-
506
- ### Example
507
- ```ruby
508
- # load the gem
509
- require 'treezor_client'
510
- # setup authorization
511
- TreezorClient.configure do |config|
512
- # Configure API key authorization: api_key
513
- config.api_key['Authorization'] = 'YOUR API KEY'
514
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
515
- #config.api_key_prefix['Authorization'] = 'Bearer'
516
- end
517
-
518
- api_instance = TreezorClient::CardApi.new
519
-
520
- id = 789 # Integer | Card's id.
521
-
522
-
523
- begin
524
- #deactivate a card
525
- result = api_instance.cards_id_delete(id)
526
- p result
527
- rescue TreezorClient::ApiError => e
528
- puts "Exception when calling CardApi->cards_id_delete: #{e}"
529
- end
530
- ```
531
-
532
- ### Parameters
533
-
534
- Name | Type | Description | Notes
535
- ------------- | ------------- | ------------- | -------------
536
- **id** | **Integer**| Card&#39;s id. |
537
-
538
- ### Return type
539
-
540
- [**InlineResponse2005**](InlineResponse2005.md)
541
-
542
- ### Authorization
543
-
544
- [api_key](../README.md#api_key)
545
-
546
- ### HTTP request headers
547
-
548
- - **Content-Type**: Not defined
549
- - **Accept**: Not defined
550
-
551
-
552
-
553
500
  # **cards_id_get**
554
501
  > InlineResponse2005 cards_id_get(id)
555
502
 
@@ -5,7 +5,7 @@ Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **id** | **Integer** | | [optional]
7
7
  **card_id** | **String** | | [optional]
8
- **status** | **String** | | Status | Description | | ---- | ----------- | | A | Active | | N | Not tokenized | | S | Suspended | | X | Deactivated (Final status, cannot be changed)| | [optional]
8
+ **status** | **String** | | Status | Description | | ---- | ----------- | | A | Active | | U | Not tokenized | | S | Suspended | | D | Deactivated (Final status, cannot be changed)| | [optional]
9
9
  **created_date** | **String** | | [optional]
10
10
  **modified_date** | **String** | | [optional]
11
11
 
@@ -10,7 +10,7 @@ Method | HTTP request | Description
10
10
 
11
11
 
12
12
  # **card_reserve_add_to**
13
- > Float card_reserve_add_to(id, opts)
13
+ > Float card_reserve_add_to(opts)
14
14
 
15
15
  add an amount to the reserved amount of a card
16
16
 
@@ -30,8 +30,6 @@ end
30
30
 
31
31
  api_instance = TreezorClient::CardReserveApi.new
32
32
 
33
- id = 789 # Integer | the cardId of the reserved amount you want to pick up
34
-
35
33
  opts = {
36
34
  access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
37
35
  access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
@@ -42,7 +40,7 @@ opts = {
42
40
 
43
41
  begin
44
42
  #add an amount to the reserved amount of a card
45
- result = api_instance.card_reserve_add_to(id, opts)
43
+ result = api_instance.card_reserve_add_to(opts)
46
44
  p result
47
45
  rescue TreezorClient::ApiError => e
48
46
  puts "Exception when calling CardReserveApi->card_reserve_add_to: #{e}"
@@ -53,7 +51,6 @@ end
53
51
 
54
52
  Name | Type | Description | Notes
55
53
  ------------- | ------------- | ------------- | -------------
56
- **id** | **Integer**| the cardId of the reserved amount you want to pick up |
57
54
  **access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
58
55
  **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics). | [optional]
59
56
  **access_user_id** | **Integer**| Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics). | [optional]
@@ -76,7 +73,7 @@ Name | Type | Description | Notes
76
73
 
77
74
 
78
75
  # **card_reserve_check**
79
- > BOOLEAN card_reserve_check(id, opts)
76
+ > BOOLEAN card_reserve_check(opts)
80
77
 
81
78
  check reserved amount
82
79
 
@@ -96,8 +93,6 @@ end
96
93
 
97
94
  api_instance = TreezorClient::CardReserveApi.new
98
95
 
99
- id = 789 # Integer | the cardId of the reserved amount you want to pick up
100
-
101
96
  opts = {
102
97
  access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
103
98
  access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics).
@@ -108,7 +103,7 @@ opts = {
108
103
 
109
104
  begin
110
105
  #check reserved amount
111
- result = api_instance.card_reserve_check(id, opts)
106
+ result = api_instance.card_reserve_check(opts)
112
107
  p result
113
108
  rescue TreezorClient::ApiError => e
114
109
  puts "Exception when calling CardReserveApi->card_reserve_check: #{e}"
@@ -119,7 +114,6 @@ end
119
114
 
120
115
  Name | Type | Description | Notes
121
116
  ------------- | ------------- | ------------- | -------------
122
- **id** | **Integer**| the cardId of the reserved amount you want to pick up |
123
117
  **access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
124
118
  **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://www.treezor.com/basics). | [optional]
125
119
  **access_user_id** | **Integer**| Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://www.treezor.com/basics). | [optional]
@@ -67,7 +67,7 @@ Name | Type | Description | Notes
67
67
 
68
68
  search for card transactions
69
69
 
70
- Search for documents.
70
+ Search for documents. The request must contain at least one of those inputs - cardId, paymentId, publicToken, walletId
71
71
 
72
72
  ### Example
73
73
  ```ruby
data/docs/Document.md CHANGED
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
16
16
  **file_name** | **String** | | [optional]
17
17
  **temporary_url** | **String** | | [optional]
18
18
  **temporary_url_thumb** | **String** | | [optional]
19
+ **information_status** | **String** | | [optional]
19
20
  **created_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
20
21
  **modified_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
21
22
  **total_rows** | **Integer** | | [optional]
data/docs/DocumentApi.md CHANGED
@@ -224,7 +224,7 @@ opts = {
224
224
  access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
225
225
  document_id: 56, # Integer | Document's unique id.
226
226
  document_tag: 'document_tag_example', # String | Custom data.
227
- document_status: 'document_status_example', # String | The status of the document. Possible values: * PENDING * CANCELED * VALIDATED
227
+ document_status: 'document_status_example', # String | The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED
228
228
  document_type_id: 56, # Integer | Document type id.
229
229
  document_type: 'document_type_example', # String | Document's type.
230
230
  user_id: 56, # Integer | Document user's id.
@@ -263,7 +263,7 @@ Name | Type | Description | Notes
263
263
  **access_user_ip** | **String**| Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
264
264
  **document_id** | **Integer**| Document&#39;s unique id. | [optional]
265
265
  **document_tag** | **String**| Custom data. | [optional]
266
- **document_status** | **String**| The status of the document. Possible values: * PENDING * CANCELED * VALIDATED | [optional]
266
+ **document_status** | **String**| The status of the document. Possible values: * PENDING * CANCELED * VALIDATED * REFUSED | [optional]
267
267
  **document_type_id** | **Integer**| Document type id. | [optional]
268
268
  **document_type** | **String**| Document&#39;s type. | [optional]
269
269
  **user_id** | **Integer**| Document user&#39;s id. | [optional]
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  **cardtransaction_id** | **String** | | [optional]
7
7
  **card_id** | **String** | | [optional]
8
8
  **wallet_id** | **String** | | [optional]
9
+ **acquirer_id** | **String** | | [optional]
9
10
  **wallet_currency** | **String** | | [optional]
10
11
  **merchant_id** | **String** | | [optional]
11
12
  **merchant_name** | **String** | | [optional]
@@ -3,6 +3,6 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **bankaccounts** | [**Array&lt;MerchantIdRestrictionGroup&gt;**](MerchantIdRestrictionGroup.md) | | [optional]
6
+ **merchant_id_restriction_groups** | [**Array&lt;MerchantIdRestrictionGroup&gt;**](MerchantIdRestrictionGroup.md) | | [optional]
7
7
 
8
8
 
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
6
6
  **cardtransaction_id** | **Integer** | | [optional]
7
7
  **card_id** | **Integer** | | [optional]
8
8
  **wallet_id** | **Integer** | | [optional]
9
+ **acquirer_id** | **Integer** | | [optional]
9
10
  **wallet_currency** | **String** | | [optional]
10
11
  **merchant_id** | **String** | | [optional]
11
12
  **merchant_name** | **String** | | [optional]
@@ -7,6 +7,7 @@ Method | HTTP request | Description
7
7
  [**delete_merchant_id_restriction_groups**](MerchantIdRestrictionGroupsApi.md#delete_merchant_id_restriction_groups) | **DELETE** /merchantIdRestrictionGroups/{id} | cancel a merchant id restriction group
8
8
  [**get_merchant_id_restriction_group**](MerchantIdRestrictionGroupsApi.md#get_merchant_id_restriction_group) | **GET** /merchantIdRestrictionGroups | search merchant id restriction groups
9
9
  [**get_merchant_id_restriction_groups_id**](MerchantIdRestrictionGroupsApi.md#get_merchant_id_restriction_groups_id) | **GET** /merchantIdRestrictionGroups/{id} | get a merchant ID restriction group
10
+ [**merchant_id_restriction_groups_id_delta_update_put**](MerchantIdRestrictionGroupsApi.md#merchant_id_restriction_groups_id_delta_update_put) | **PUT** /merchantIdRestrictionGroups/{id}/DeltaUpdate/ | edit the merchant ID list for a restriction group
10
11
  [**post_merchant_id_restriction_group**](MerchantIdRestrictionGroupsApi.md#post_merchant_id_restriction_group) | **POST** /merchantIdRestrictionGroups | create a merchantIdRestrictionGroup
11
12
  [**put_merchant_id_restriction_groups**](MerchantIdRestrictionGroupsApi.md#put_merchant_id_restriction_groups) | **PUT** /merchantIdRestrictionGroups/{id} | edit a merchant id restriction group
12
13
 
@@ -200,6 +201,72 @@ Name | Type | Description | Notes
200
201
 
201
202
 
202
203
 
204
+ # **merchant_id_restriction_groups_id_delta_update_put**
205
+ > InlineResponse20016 merchant_id_restriction_groups_id_delta_update_put(id, opts)
206
+
207
+ edit the merchant ID list for a restriction group
208
+
209
+ Edit the merchant ID list for a restriction group in the system.
210
+
211
+ ### Example
212
+ ```ruby
213
+ # load the gem
214
+ require 'treezor_client'
215
+ # setup authorization
216
+ TreezorClient.configure do |config|
217
+ # Configure API key authorization: api_key
218
+ config.api_key['Authorization'] = 'YOUR API KEY'
219
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
220
+ #config.api_key_prefix['Authorization'] = 'Bearer'
221
+ end
222
+
223
+ api_instance = TreezorClient::MerchantIdRestrictionGroupsApi.new
224
+
225
+ id = 56 # Integer | Merchant ID restriction group's id.
226
+
227
+ opts = {
228
+ access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
229
+ access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
230
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
231
+ access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
232
+ body: TreezorClient::Body11.new # Body11 |
233
+ }
234
+
235
+ begin
236
+ #edit the merchant ID list for a restriction group
237
+ result = api_instance.merchant_id_restriction_groups_id_delta_update_put(id, opts)
238
+ p result
239
+ rescue TreezorClient::ApiError => e
240
+ puts "Exception when calling MerchantIdRestrictionGroupsApi->merchant_id_restriction_groups_id_delta_update_put: #{e}"
241
+ end
242
+ ```
243
+
244
+ ### Parameters
245
+
246
+ Name | Type | Description | Notes
247
+ ------------- | ------------- | ------------- | -------------
248
+ **id** | **Integer**| Merchant ID restriction group&#39;s id. |
249
+ **access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
250
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
251
+ **access_user_id** | **Integer**| Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
252
+ **access_user_ip** | **String**| Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
253
+ **body** | [**Body11**](Body11.md)| | [optional]
254
+
255
+ ### Return type
256
+
257
+ [**InlineResponse20016**](InlineResponse20016.md)
258
+
259
+ ### Authorization
260
+
261
+ [api_key](../README.md#api_key)
262
+
263
+ ### HTTP request headers
264
+
265
+ - **Content-Type**: application/json
266
+ - **Accept**: application/json
267
+
268
+
269
+
203
270
  # **post_merchant_id_restriction_group**
204
271
  > InlineResponse20016 post_merchant_id_restriction_group(opts)
205
272
 
data/docs/Payin.md CHANGED
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **payin_id** | **Integer** | | [optional]
6
+ **payin_id** | **String** | | [optional]
7
7
  **payin_tag** | **String** | | [optional]
8
8
  **payin_status** | **String** | | [optional]
9
9
  **code_status** | **Integer** | | [optional]
data/docs/PayinApi.md CHANGED
@@ -144,7 +144,7 @@ opts = {
144
144
  access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
145
145
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
146
146
  access_user_ip: 56, # Integer | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
147
- payin_id: 56, # Integer | Payin's id.
147
+ payin_id: 'payin_id_example', # String | Payin's id.
148
148
  wallet_id: 56, # Integer | Payin's wallet id.
149
149
  payin_tag: 'payin_tag_example', # String | Client custom data.
150
150
  payin_status: 'payin_status_example', # String | Payins's status.
@@ -182,7 +182,7 @@ Name | Type | Description | Notes
182
182
  **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
183
183
  **access_user_id** | **Integer**| Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
184
184
  **access_user_ip** | **Integer**| Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
185
- **payin_id** | **Integer**| Payin&#39;s id. | [optional]
185
+ **payin_id** | **String**| Payin&#39;s id. | [optional]
186
186
  **wallet_id** | **Integer**| Payin&#39;s wallet id. | [optional]
187
187
  **payin_tag** | **String**| Client custom data. | [optional]
188
188
  **payin_status** | **String**| Payins&#39;s status. | [optional]
data/docs/Payinrefund.md CHANGED
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
7
7
  **payinrefund_tag** | **String** | | [optional]
8
8
  **payinrefund_status** | **String** | | [optional]
9
9
  **wallet_id** | **Integer** | | [optional]
10
- **payin_id** | **Integer** | | [optional]
10
+ **payin_id** | **String** | | [optional]
11
11
  **payinrefund_date** | **Integer** | | [optional]
12
12
  **amount** | **String** | | [optional]
13
13
  **currency** | **String** | | [optional]
@@ -144,7 +144,7 @@ opts = {
144
144
  access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
145
145
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
146
146
  access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
147
- payin_id: 56, # Integer | Payin's id.
147
+ payin_id: 'payin_id_example', # String | Payin's id.
148
148
  payinrefund_id: 56, # Integer | Payinrefund's id.
149
149
  payinrefund_tag: 'payinrefund_tag_example', # String | Custom data.
150
150
  payinrefund_status: 'payinrefund_status_example', # String | Payinrefund's status. Possible values: * PENDING * CANCELED * VALIDATED
@@ -180,7 +180,7 @@ Name | Type | Description | Notes
180
180
  **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
181
181
  **access_user_id** | **Integer**| Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
182
182
  **access_user_ip** | **String**| Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
183
- **payin_id** | **Integer**| Payin&#39;s id. | [optional]
183
+ **payin_id** | **String**| Payin&#39;s id. | [optional]
184
184
  **payinrefund_id** | **Integer**| Payinrefund&#39;s id. | [optional]
185
185
  **payinrefund_tag** | **String**| Custom data. | [optional]
186
186
  **payinrefund_status** | **String**| Payinrefund&#39;s status. Possible values: * PENDING * CANCELED * VALIDATED | [optional]
@@ -234,7 +234,7 @@ end
234
234
 
235
235
  api_instance = TreezorClient::PayinrefundApi.new
236
236
 
237
- payin_id = 56 # Integer | payin's id to refund.
237
+ payin_id = 'payin_id_example' # String | payin's id to refund.
238
238
 
239
239
  amount = 56 # Integer | Refund amount.
240
240
 
@@ -262,7 +262,7 @@ end
262
262
 
263
263
  Name | Type | Description | Notes
264
264
  ------------- | ------------- | ------------- | -------------
265
- **payin_id** | **Integer**| payin&#39;s id to refund. |
265
+ **payin_id** | **String**| payin&#39;s id to refund. |
266
266
  **amount** | **Integer**| Refund amount. |
267
267
  **currency** | **String**| Refund currency. Format: [ISO 4217](https://fr.wikipedia.org/wiki/ISO_4217). |
268
268
  **access_signature** | **String**| Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication). | [optional]
data/docs/UserApi.md CHANGED
@@ -308,7 +308,7 @@ opts = {
308
308
  language: 'language_example', # String | User's prefered language (ISO 639-1)
309
309
  tax_number: 'tax_number_example', # String | User's tax identification number. If the taxResidence is not set to FR, the field is mandatory.
310
310
  tax_residence: 'tax_residence_example', # String | User's tax residence country code (2 char code following ISO 3166 norm).
311
- position: 'position_example', # String | User's position.
311
+ position: 'position_example', # String | User's position (deprecated, you must use the parameter occupation).
312
312
  personal_assets: 'personal_assets_example' # String | User's personal assets range expressed in k€.
313
313
  }
314
314
 
@@ -368,7 +368,7 @@ Name | Type | Description | Notes
368
368
  **language** | **String**| User&#39;s prefered language (ISO 639-1) | [optional]
369
369
  **tax_number** | **String**| User&#39;s tax identification number. If the taxResidence is not set to FR, the field is mandatory. | [optional]
370
370
  **tax_residence** | **String**| User&#39;s tax residence country code (2 char code following ISO 3166 norm). | [optional]
371
- **position** | **String**| User&#39;s position. | [optional]
371
+ **position** | **String**| User&#39;s position (deprecated, you must use the parameter occupation). | [optional]
372
372
  **personal_assets** | **String**| User&#39;s personal assets range expressed in k€. | [optional]
373
373
 
374
374
  ### Return type
@@ -422,7 +422,7 @@ opts = {
422
422
  parent_type: 'parent_type_example', # String | Type of bound between parent and current user : * shareholder * employee * leader (deprecated you must use the controllingPersonType and employeeType parameters)
423
423
  controlling_person_type: 56, # Integer | Type of relationship : | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) |
424
424
  employee_type: 56, # Integer | Type of user's role : | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)|
425
- entity_type: 56, # Integer | Type of user'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 |
425
+ entity_type: 56, # Integer | Type of user'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 |
426
426
  title: 'title_example', # String | User's title. Possible values: * M * MME * MLLE
427
427
  firstname: 'firstname_example', # String | User's first name
428
428
  lastname: 'lastname_example', # String | User's last name
@@ -456,7 +456,7 @@ opts = {
456
456
  language: 'language_example', # String | User's prefered language (ISO 639-1)
457
457
  tax_number: 'tax_number_example', # String | User'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)
458
458
  tax_residence: 'tax_residence_example', # String | User's tax residence country code (2 char code following ISO 3166 norm). (deprecated, you must use the TaxResidence endpoint)
459
- position: 'position_example', # String | User's position.
459
+ position: 'position_example', # String | User's position (deprecated, you must use the parameter occupation).
460
460
  personal_assets: 'personal_assets_example' # String | User's personal assets range exprimed in K€.
461
461
  }
462
462
 
@@ -485,7 +485,7 @@ Name | Type | Description | Notes
485
485
  **parent_type** | **String**| Type of bound between parent and current user : * shareholder * employee * leader (deprecated you must use the controllingPersonType and employeeType parameters) | [optional]
486
486
  **controlling_person_type** | **Integer**| Type of relationship : | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) | | [optional]
487
487
  **employee_type** | **Integer**| Type of user&#39;s role : | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)| | [optional]
488
- **entity_type** | **Integer**| 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 | | [optional]
488
+ **entity_type** | **Integer**| 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 | | [optional]
489
489
  **title** | **String**| User&#39;s title. Possible values: * M * MME * MLLE | [optional]
490
490
  **firstname** | **String**| User&#39;s first name | [optional]
491
491
  **lastname** | **String**| User&#39;s last name | [optional]
@@ -519,7 +519,7 @@ Name | Type | Description | Notes
519
519
  **language** | **String**| User&#39;s prefered language (ISO 639-1) | [optional]
520
520
  **tax_number** | **String**| 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) | [optional]
521
521
  **tax_residence** | **String**| User&#39;s tax residence country code (2 char code following ISO 3166 norm). (deprecated, you must use the TaxResidence endpoint) | [optional]
522
- **position** | **String**| User&#39;s position. | [optional]
522
+ **position** | **String**| User&#39;s position (deprecated, you must use the parameter occupation). | [optional]
523
523
  **personal_assets** | **String**| User&#39;s personal assets range exprimed in K€. | [optional]
524
524
 
525
525
  ### Return type
data/docs/WalletApi.md CHANGED
@@ -147,7 +147,7 @@ Name | Type | Description | Notes
147
147
 
148
148
  search wallets
149
149
 
150
- Get wallets from the system that match the search criteria.
150
+ Get wallets from the system that match the search criteria. The request must contains at least one of those inputs :walletId eventAlias, userId, walletTypeId, walletTag
151
151
 
152
152
  ### Example
153
153
  ```ruby
@@ -174,13 +174,11 @@ opts = {
174
174
  parent_user_id: 56, # Integer | Parent user id of the wallet owner
175
175
  wallet_tag: 'wallet_tag_example', # String | Custom data.
176
176
  wallet_type_id: 56, # Integer | Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) |
177
- event_name: 'event_name_example', # String | Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y
178
177
  event_alias: 'event_alias_example', # String | Short url wallet name. It's automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet=mywedding
179
178
  event_payin_start_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS
180
179
  event_payin_end_date: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS
181
180
  tariff_id: 56, # Integer | Wallet pricing id.
182
181
  payin_count: 56, # Integer | Number of payin done on the wallet.
183
- solde: 'solde_example', # String | Wallet current balance.
184
182
  page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
185
183
  page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
186
184
  sort_by: 'sort_by_example', # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
@@ -214,13 +212,11 @@ Name | Type | Description | Notes
214
212
  **parent_user_id** | **Integer**| Parent user id of the wallet owner | [optional]
215
213
  **wallet_tag** | **String**| Custom data. | [optional]
216
214
  **wallet_type_id** | **Integer**| Wallet type id. The following values are defined: | Id | Description | |----|----| | 9 | Electronic Money Wallet | | 10 | Payment Account Wallet | | 13 | Mirror Wallet | | 14 | Electronic Money Card (Internal only) | | [optional]
217
- **event_name** | **String**| Event name that will be used as wallet name. For example, in a wedding list: Wedding of X and Y | [optional]
218
215
  **event_alias** | **String**| Short url wallet name. It&#39;s automatically generated by the system, but it could be modified and customised by the user. For example: www.domain.com/wallet&#x3D;mywedding | [optional]
219
216
  **event_payin_start_date** | **DateTime**| Wallet activation date. The date from which you can deposit money on the wallet. Format : YYYY-MM-DD HH:MM:SS | [optional]
220
217
  **event_payin_end_date** | **DateTime**| Deadline to money deposit on the wallet. Format : YYYY-MM-DD HH:MM:SS | [optional]
221
218
  **tariff_id** | **Integer**| Wallet pricing id. | [optional]
222
219
  **payin_count** | **Integer**| Number of payin done on the wallet. | [optional]
223
- **solde** | **String**| Wallet current balance. | [optional]
224
220
  **page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
225
221
  **page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
226
222
  **sort_by** | **String**| The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists). | [optional]
data/generate.sh ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env bash
2
+
3
+ docker run --rm -it -v $(pwd):/swagger-api/out \
4
+ -v $(pwd):/swagger-api/yaml \
5
+ public.ecr.aws/l8y7v9n3/swagger-codegen-cli:2.4.19 generate \
6
+ -i /swagger-api/yaml/treezor_api_spec.yaml \
7
+ -c /swagger-api/yaml/config.json \
8
+ -l ruby \
9
+ -o /swagger-api/out
10
+