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
@@ -1958,42 +1958,6 @@ paths:
1958
1958
  - api_key: []
1959
1959
  tags:
1960
1960
  - card
1961
- delete:
1962
- summary: deactivate a card
1963
- parameters:
1964
- - name: id
1965
- in: path
1966
- description: Card's id.
1967
- required: true
1968
- type: integer
1969
- format: int64
1970
- responses:
1971
- '200':
1972
- description: OK
1973
- schema:
1974
- type: object
1975
- properties:
1976
- cards:
1977
- type: array
1978
- items:
1979
- $ref: '#/definitions/Card'
1980
- '400':
1981
- description: Bad Request
1982
- '401':
1983
- description: Unauthorized
1984
- default:
1985
- description: Unexpected error
1986
- schema:
1987
- type: object
1988
- properties:
1989
- errors:
1990
- type: array
1991
- items:
1992
- $ref: '#/definitions/Error'
1993
- security:
1994
- - api_key: []
1995
- tags:
1996
- - card
1997
1961
  /cards/CreateVirtual:
1998
1962
  post:
1999
1963
  summary: create a virtual card
@@ -3649,12 +3613,6 @@ paths:
3649
3613
  [here](https://www.treezor.com/basics).
3650
3614
  required: false
3651
3615
  type: string
3652
- - name: id
3653
- in: query
3654
- description: the cardId of the reserved amount you want to pick up
3655
- required: true
3656
- type: integer
3657
- format: int64
3658
3616
  - in: body
3659
3617
  name: body
3660
3618
  schema:
@@ -3732,12 +3690,6 @@ paths:
3732
3690
  [here](https://www.treezor.com/basics).
3733
3691
  required: false
3734
3692
  type: string
3735
- - name: id
3736
- in: query
3737
- description: the cardId of the reserved amount you want to pick up
3738
- required: true
3739
- type: integer
3740
- format: int64
3741
3693
  - in: body
3742
3694
  name: body
3743
3695
  schema:
@@ -3778,7 +3730,7 @@ paths:
3778
3730
  tags:
3779
3731
  - cardtransaction
3780
3732
  summary: search for card transactions
3781
- description: Search for documents.
3733
+ description: Search for documents. The request must contain at least one of those inputs - cardId, paymentId, publicToken, walletId
3782
3734
  operationId: readCardTransaction
3783
3735
  consumes:
3784
3736
  - application/json
@@ -3884,6 +3836,8 @@ paths:
3884
3836
  type: integer
3885
3837
  walletId:
3886
3838
  type: integer
3839
+ acquirerId:
3840
+ type: integer
3887
3841
  walletCurrency:
3888
3842
  type: string
3889
3843
  merchantId:
@@ -4081,6 +4035,8 @@ paths:
4081
4035
  type: string
4082
4036
  walletId:
4083
4037
  type: string
4038
+ acquirerId:
4039
+ type: string
4084
4040
  walletCurrency:
4085
4041
  type: string
4086
4042
  merchantId:
@@ -4852,9 +4808,10 @@ paths:
4852
4808
  * PENDING
4853
4809
  * CANCELED
4854
4810
  * VALIDATED
4811
+ * REFUSED
4855
4812
  required: false
4856
4813
  type: string
4857
- enum: ["PENDING", "CANCELED", "VALIDATED"]
4814
+ enum: ["PENDING", "CANCELED", "VALIDATED", "REFUSED"]
4858
4815
  - name: documentTypeId
4859
4816
  in: query
4860
4817
  description: Document type id.
@@ -6434,7 +6391,7 @@ paths:
6434
6391
  schema:
6435
6392
  type: object
6436
6393
  properties:
6437
- bankaccounts:
6394
+ merchantIdRestrictionGroups:
6438
6395
  type: array
6439
6396
  items:
6440
6397
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6575,7 +6532,7 @@ paths:
6575
6532
  schema:
6576
6533
  type: object
6577
6534
  properties:
6578
- bankaccounts:
6535
+ merchantIdRestrictionGroups:
6579
6536
  type: array
6580
6537
  items:
6581
6538
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6623,7 +6580,7 @@ paths:
6623
6580
  schema:
6624
6581
  type: object
6625
6582
  properties:
6626
- bankaccounts:
6583
+ merchantIdRestrictionGroups:
6627
6584
  type: array
6628
6585
  items:
6629
6586
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6715,7 +6672,7 @@ paths:
6715
6672
  schema:
6716
6673
  type: object
6717
6674
  properties:
6718
- bankaccounts:
6675
+ merchantIdRestrictionGroups:
6719
6676
  type: array
6720
6677
  items:
6721
6678
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6762,7 +6719,88 @@ paths:
6762
6719
  schema:
6763
6720
  type: object
6764
6721
  properties:
6765
- bankaccounts:
6722
+ merchantIdRestrictionGroups:
6723
+ type: array
6724
+ items:
6725
+ $ref: '#/definitions/MerchantIdRestrictionGroup'
6726
+ '405':
6727
+ description: Invalid input
6728
+ default:
6729
+ description: Unexpected error
6730
+ schema:
6731
+ type: object
6732
+ properties:
6733
+ errors:
6734
+ type: array
6735
+ items:
6736
+ $ref: '#/definitions/Error'
6737
+ security:
6738
+ - api_key: []
6739
+ '/merchantIdRestrictionGroups/{id}/DeltaUpdate/':
6740
+ put:
6741
+ tags:
6742
+ - merchantIdRestrictionGroups
6743
+ summary: edit the merchant ID list for a restriction group
6744
+ description: Edit the merchant ID list for a restriction group in the system.
6745
+ consumes:
6746
+ - application/json
6747
+ produces:
6748
+ - application/json
6749
+ parameters:
6750
+ - name: id
6751
+ in: path
6752
+ description: Merchant ID restriction group's id.
6753
+ required: true
6754
+ type: integer
6755
+ - name: accessSignature
6756
+ in: query
6757
+ description: |
6758
+ Access signature can be mandatory for specific context. Treezor will
6759
+ contact you if so. More info
6760
+ [here](https://agent.treezor.com/security-authentication).
6761
+ required: false
6762
+ type: string
6763
+ - name: accessTag
6764
+ in: query
6765
+ description: |
6766
+ Access tag is used for idem potency query. More info
6767
+ [here](https://agent.treezor.com/basics).
6768
+ required: false
6769
+ type: string
6770
+ - name: accessUserId
6771
+ in: query
6772
+ description: |
6773
+ Access user's id is used for user's action restriction. More info
6774
+ [here](https://agent.treezor.com/basics).
6775
+ required: false
6776
+ type: integer
6777
+ - name: accessUserIp
6778
+ in: query
6779
+ description: |
6780
+ Access user's ip is used for user's action restriction. More info
6781
+ [here](https://agent.treezor.com/basics).
6782
+ required: false
6783
+ type: string
6784
+ - in: body
6785
+ name: body
6786
+ schema:
6787
+ properties:
6788
+ merchants:
6789
+ description: Array of merchant ID
6790
+ type: array
6791
+ items:
6792
+ type: string
6793
+ merchantsOperation:
6794
+ description: Action to do with merchants id list
6795
+ type: string
6796
+ enum: ["add", "remove"]
6797
+ responses:
6798
+ '200':
6799
+ description: OK
6800
+ schema:
6801
+ type: object
6802
+ properties:
6803
+ merchantIdRestrictionGroups:
6766
6804
  type: array
6767
6805
  items:
6768
6806
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -7008,7 +7046,7 @@ paths:
7008
7046
  in: query
7009
7047
  description: Payin's id.
7010
7048
  required: false
7011
- type: integer
7049
+ type: string
7012
7050
  - name: walletId
7013
7051
  in: query
7014
7052
  description: Payin's wallet id.
@@ -7282,7 +7320,7 @@ paths:
7282
7320
  in: query
7283
7321
  description: payin's id to refund.
7284
7322
  required: true
7285
- type: integer
7323
+ type: string
7286
7324
  - name: comment
7287
7325
  in: query
7288
7326
  description: End user, client or issuer comment.
@@ -7367,7 +7405,7 @@ paths:
7367
7405
  in: query
7368
7406
  description: Payin's id.
7369
7407
  required: false
7370
- type: integer
7408
+ type: string
7371
7409
  - name: payinrefundId
7372
7410
  in: query
7373
7411
  description: Payinrefund's id.
@@ -9430,7 +9468,8 @@ paths:
9430
9468
  - name: entityType
9431
9469
  in: query
9432
9470
  description: |
9433
- Type of user's entity type
9471
+ Type of user's entity type :
9472
+
9434
9473
  | Value | Type |
9435
9474
  | --- | --- |
9436
9475
  | 1 | Reporting Financial Institution |
@@ -9891,7 +9930,7 @@ paths:
9891
9930
  type: string
9892
9931
  - name: position
9893
9932
  in: query
9894
- description: User's position.
9933
+ description: User's position (deprecated, you must use the parameter occupation).
9895
9934
  required: false
9896
9935
  type: string
9897
9936
  - name: personalAssets
@@ -10731,7 +10770,7 @@ paths:
10731
10770
  type: string
10732
10771
  - name: position
10733
10772
  in: query
10734
- description: User's position.
10773
+ description: User's position (deprecated, you must use the parameter occupation).
10735
10774
  required: false
10736
10775
  type: string
10737
10776
  - name: personalAssets
@@ -11504,7 +11543,7 @@ paths:
11504
11543
  tags:
11505
11544
  - wallet
11506
11545
  summary: search wallets
11507
- description: Get wallets from the system that match the search criteria.
11546
+ description: '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'
11508
11547
  operationId: getWallets
11509
11548
  consumes:
11510
11549
  - application/json
@@ -11578,13 +11617,6 @@ paths:
11578
11617
  | 14 | Electronic Money Card (Internal only) |
11579
11618
  required: false
11580
11619
  type: integer
11581
- - name: eventName
11582
- in: query
11583
- description: |
11584
- Event name that will be used as wallet name. For example, in a
11585
- wedding list: Wedding of X and Y
11586
- required: false
11587
- type: string
11588
11620
  - name: eventAlias
11589
11621
  in: query
11590
11622
  description: |
@@ -11617,11 +11649,6 @@ paths:
11617
11649
  description: Number of payin done on the wallet.
11618
11650
  required: false
11619
11651
  type: integer
11620
- - name: solde
11621
- in: query
11622
- description: Wallet current balance.
11623
- required: false
11624
- type: string
11625
11652
  - name: pageNumber
11626
11653
  in: query
11627
11654
  description: |
@@ -12067,7 +12094,7 @@ definitions:
12067
12094
  walletId:
12068
12095
  type: integer
12069
12096
  payinId:
12070
- type: integer
12097
+ type: string
12071
12098
  payinrefundDate:
12072
12099
  type: integer
12073
12100
  amount:
@@ -12289,7 +12316,7 @@ definitions:
12289
12316
  type: string
12290
12317
  documentStatus:
12291
12318
  type: string
12292
- enum: ['PENDING', 'CANCELED', 'VALIDATED']
12319
+ enum: ['PENDING', 'CANCELED', 'VALIDATED', 'REFUSED']
12293
12320
  documentTypeId:
12294
12321
  type: integer
12295
12322
  documentType:
@@ -12310,6 +12337,8 @@ definitions:
12310
12337
  type: string
12311
12338
  temporaryUrlThumb:
12312
12339
  type: string
12340
+ informationStatus:
12341
+ type: string
12313
12342
  createdDate:
12314
12343
  type: string
12315
12344
  description: Date YYYY-MM-DD HH:MM:SS
@@ -12507,9 +12536,9 @@ definitions:
12507
12536
  | Status | Description |
12508
12537
  | ---- | ----------- |
12509
12538
  | A | Active |
12510
- | N | Not tokenized |
12539
+ | U | Not tokenized |
12511
12540
  | S | Suspended |
12512
- | X | Deactivated (Final status, cannot be changed)|
12541
+ | D | Deactivated (Final status, cannot be changed)|
12513
12542
  createdDate:
12514
12543
  type: string
12515
12544
  modifiedDate:
@@ -12820,12 +12849,12 @@ definitions:
12820
12849
  type: object
12821
12850
  properties:
12822
12851
  payinId:
12823
- type: integer
12852
+ type: string
12824
12853
  payinTag:
12825
12854
  type: string
12826
12855
  payinStatus:
12827
12856
  type: string
12828
- enum: ['PENDING', 'CANCELED', 'VALIDATED']
12857
+ enum: ['PENDING', 'CANCELED', 'CANCELLED', 'VALIDATED']
12829
12858
  codeStatus:
12830
12859
  type: integer
12831
12860
  informationStatus:
@@ -13126,4 +13155,4 @@ definitions:
13126
13155
  additionalInformation:
13127
13156
  type: array
13128
13157
  items:
13129
- type: string
13158
+ type: string
@@ -8,7 +8,7 @@
8
8
  OpenAPI spec version: 0.1.1
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 2.4.1
11
+ Swagger Codegen version: 2.4.19
12
12
 
13
13
  =end
14
14
 
@@ -29,6 +29,7 @@ Gem::Specification.new do |s|
29
29
 
30
30
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
31
31
  s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
32
+ s.add_runtime_dependency 'addressable', '~> 2.3', '>= 2.3.0'
32
33
 
33
34
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
34
35
  s.add_development_dependency 'vcr', '~> 3.0', '>= 3.0.1'