treezor_client 1.11.0 → 2.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (283) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/Gemfile.lock +25 -24
  4. data/README.md +7 -5
  5. data/config.json +2 -1
  6. data/docs/Body11.md +9 -0
  7. data/docs/BusinessApi.md +2 -2
  8. data/docs/CardApi.md +0 -53
  9. data/docs/CardDigitalization.md +1 -1
  10. data/docs/CardReserveApi.md +4 -10
  11. data/docs/CardtransactionApi.md +1 -1
  12. data/docs/InlineResponse20010Cardtransactions.md +1 -0
  13. data/docs/InlineResponse20016.md +1 -1
  14. data/docs/InlineResponse2009Cardtransactions.md +1 -0
  15. data/docs/MerchantIdRestrictionGroupsApi.md +67 -0
  16. data/docs/Payin.md +1 -1
  17. data/docs/PayinApi.md +2 -2
  18. data/docs/Payinrefund.md +1 -1
  19. data/docs/PayinrefundApi.md +4 -4
  20. data/docs/SepaSctrInst.md +26 -0
  21. data/docs/UserApi.md +6 -6
  22. data/docs/WalletApi.md +1 -5
  23. data/generate.sh +14 -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 +1 -1
  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 +3 -2
  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 +8 -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/sepa_sctr_inst.rb +347 -0
  120. data/lib/treezor_client/models/tax_residence.rb +3 -2
  121. data/lib/treezor_client/models/transaction.rb +3 -2
  122. data/lib/treezor_client/models/transfer.rb +3 -2
  123. data/lib/treezor_client/models/transferrefund.rb +3 -2
  124. data/lib/treezor_client/models/user.rb +3 -2
  125. data/lib/treezor_client/models/virtualiban.rb +3 -2
  126. data/lib/treezor_client/models/wallet.rb +3 -2
  127. data/lib/treezor_client/version.rb +2 -2
  128. data/lib/treezor_client.rb +3 -1
  129. data/original_treezor_api_spec.yaml +111 -78
  130. data/patches/01_update_rake_gemfile.patch +11 -0
  131. data/patches/02_iban_bic_case.patch +13 -0
  132. data/pkg/treezor_client-2.1.0.gem +0 -0
  133. data/spec/models/body_11_spec.rb +51 -0
  134. data/spec/models/sepa_sctr_inst_spec.rb +149 -0
  135. data/treezor_api_spec.yaml +149 -78
  136. data/treezor_client.gemspec +2 -1
  137. metadata +37 -152
  138. data/doc/TreezorClient/ApiClient.html +0 -2600
  139. data/doc/TreezorClient/ApiError.html +0 -464
  140. data/doc/TreezorClient/Balance.html +0 -2042
  141. data/doc/TreezorClient/BalanceApi.html +0 -760
  142. data/doc/TreezorClient/Bankaccount/EnumAttributeValidator.html +0 -455
  143. data/doc/TreezorClient/Bankaccount.html +0 -2560
  144. data/doc/TreezorClient/BankaccountApi.html +0 -2450
  145. data/doc/TreezorClient/BeneficiariesApi.html +0 -2387
  146. data/doc/TreezorClient/BeneficiariesSddB2bWhitelist.html +0 -1816
  147. data/doc/TreezorClient/Beneficiary.html +0 -2574
  148. data/doc/TreezorClient/Body/EnumAttributeValidator.html +0 -455
  149. data/doc/TreezorClient/Body.html +0 -1826
  150. data/doc/TreezorClient/Body1.html +0 -2596
  151. data/doc/TreezorClient/Body10/EnumAttributeValidator.html +0 -455
  152. data/doc/TreezorClient/Body10.html +0 -2069
  153. data/doc/TreezorClient/Body2.html +0 -2492
  154. data/doc/TreezorClient/Body3.html +0 -1726
  155. data/doc/TreezorClient/Body4.html +0 -1726
  156. data/doc/TreezorClient/Body5/EnumAttributeValidator.html +0 -455
  157. data/doc/TreezorClient/Body5.html +0 -2001
  158. data/doc/TreezorClient/Body6/EnumAttributeValidator.html +0 -455
  159. data/doc/TreezorClient/Body6.html +0 -2069
  160. data/doc/TreezorClient/Body7/EnumAttributeValidator.html +0 -455
  161. data/doc/TreezorClient/Body7.html +0 -2002
  162. data/doc/TreezorClient/Body8/EnumAttributeValidator.html +0 -455
  163. data/doc/TreezorClient/Body8.html +0 -1981
  164. data/doc/TreezorClient/Body9/EnumAttributeValidator.html +0 -455
  165. data/doc/TreezorClient/Body9.html +0 -2001
  166. data/doc/TreezorClient/BusinessApi.html +0 -1548
  167. data/doc/TreezorClient/BusinesssearchsBusinessinformations/EnumAttributeValidator.html +0 -455
  168. data/doc/TreezorClient/BusinesssearchsBusinessinformations.html +0 -2822
  169. data/doc/TreezorClient/Card/EnumAttributeValidator.html +0 -455
  170. data/doc/TreezorClient/Card.html +0 -6928
  171. data/doc/TreezorClient/CardApi.html +0 -9907
  172. data/doc/TreezorClient/CardDigitalization.html +0 -2126
  173. data/doc/TreezorClient/CardDigitalizationDetailsFromGPS.html +0 -4343
  174. data/doc/TreezorClient/CardDigitalizationsApi.html +0 -1542
  175. data/doc/TreezorClient/CardReserveApi.html +0 -1622
  176. data/doc/TreezorClient/CardtransactionApi.html +0 -1243
  177. data/doc/TreezorClient/Configuration.html +0 -2459
  178. data/doc/TreezorClient/CountryRestrictionGroupsApi.html +0 -2602
  179. data/doc/TreezorClient/Document/EnumAttributeValidator.html +0 -455
  180. data/doc/TreezorClient/Document.html +0 -2812
  181. data/doc/TreezorClient/DocumentApi.html +0 -2878
  182. data/doc/TreezorClient/Error.html +0 -1794
  183. data/doc/TreezorClient/HeartbeatApi.html +0 -702
  184. data/doc/TreezorClient/InlineResponse200.html +0 -1626
  185. data/doc/TreezorClient/InlineResponse2001.html +0 -1626
  186. data/doc/TreezorClient/InlineResponse20010.html +0 -1626
  187. data/doc/TreezorClient/InlineResponse20010Cardtransactions.html +0 -5844
  188. data/doc/TreezorClient/InlineResponse20011.html +0 -1626
  189. data/doc/TreezorClient/InlineResponse20012.html +0 -1626
  190. data/doc/TreezorClient/InlineResponse20013.html +0 -1626
  191. data/doc/TreezorClient/InlineResponse20014.html +0 -1626
  192. data/doc/TreezorClient/InlineResponse20015.html +0 -1626
  193. data/doc/TreezorClient/InlineResponse20016.html +0 -1626
  194. data/doc/TreezorClient/InlineResponse20017.html +0 -1626
  195. data/doc/TreezorClient/InlineResponse20018.html +0 -1626
  196. data/doc/TreezorClient/InlineResponse20019.html +0 -1626
  197. data/doc/TreezorClient/InlineResponse2002.html +0 -1626
  198. data/doc/TreezorClient/InlineResponse20020.html +0 -1626
  199. data/doc/TreezorClient/InlineResponse20021.html +0 -1626
  200. data/doc/TreezorClient/InlineResponse20022.html +0 -1626
  201. data/doc/TreezorClient/InlineResponse20023.html +0 -1626
  202. data/doc/TreezorClient/InlineResponse20024.html +0 -1626
  203. data/doc/TreezorClient/InlineResponse20025.html +0 -1626
  204. data/doc/TreezorClient/InlineResponse2003.html +0 -1626
  205. data/doc/TreezorClient/InlineResponse2004.html +0 -1626
  206. data/doc/TreezorClient/InlineResponse2005.html +0 -1626
  207. data/doc/TreezorClient/InlineResponse2005Businessinformations/EnumAttributeValidator.html +0 -455
  208. data/doc/TreezorClient/InlineResponse2005Businessinformations.html +0 -3561
  209. data/doc/TreezorClient/InlineResponse2005Users/EnumAttributeValidator.html +0 -455
  210. data/doc/TreezorClient/InlineResponse2005Users.html +0 -1972
  211. data/doc/TreezorClient/InlineResponse2006.html +0 -1626
  212. data/doc/TreezorClient/InlineResponse2007.html +0 -1626
  213. data/doc/TreezorClient/InlineResponse2007Cardimages.html +0 -1800
  214. data/doc/TreezorClient/InlineResponse2008.html +0 -1626
  215. data/doc/TreezorClient/InlineResponse2009.html +0 -1790
  216. data/doc/TreezorClient/InlineResponseDefault.html +0 -1626
  217. data/doc/TreezorClient/IssuerInitiatedDigitizationDataApi.html +0 -1371
  218. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalData.html +0 -1803
  219. data/doc/TreezorClient/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.html +0 -1804
  220. data/doc/TreezorClient/Mandate/EnumAttributeValidator.html +0 -455
  221. data/doc/TreezorClient/Mandate.html +0 -4584
  222. data/doc/TreezorClient/MandateApi.html +0 -3787
  223. data/doc/TreezorClient/MccRestrictionGroup/EnumAttributeValidator.html +0 -455
  224. data/doc/TreezorClient/MccRestrictionGroup.html +0 -2144
  225. data/doc/TreezorClient/MccRestrictionGroupsApi.html +0 -2598
  226. data/doc/TreezorClient/MerchantIdRestrictionGroup/EnumAttributeValidator.html +0 -455
  227. data/doc/TreezorClient/MerchantIdRestrictionGroup.html +0 -2144
  228. data/doc/TreezorClient/MerchantIdRestrictionGroupsApi.html +0 -2638
  229. data/doc/TreezorClient/Payin/EnumAttributeValidator.html +0 -455
  230. data/doc/TreezorClient/Payin.html +0 -5584
  231. data/doc/TreezorClient/PayinApi.html +0 -2963
  232. data/doc/TreezorClient/Payinrefund/EnumAttributeValidator.html +0 -455
  233. data/doc/TreezorClient/Payinrefund.html +0 -2476
  234. data/doc/TreezorClient/PayinrefundApi.html +0 -2449
  235. data/doc/TreezorClient/Payout/EnumAttributeValidator.html +0 -455
  236. data/doc/TreezorClient/Payout.html +0 -3488
  237. data/doc/TreezorClient/PayoutApi.html +0 -2737
  238. data/doc/TreezorClient/Tav.html +0 -2130
  239. data/doc/TreezorClient/Transaction.html +0 -2798
  240. data/doc/TreezorClient/TransactionApi.html +0 -1491
  241. data/doc/TreezorClient/Transfer/EnumAttributeValidator.html +0 -455
  242. data/doc/TreezorClient/Transfer.html +0 -3158
  243. data/doc/TreezorClient/TransferApi.html +0 -2725
  244. data/doc/TreezorClient/Transferrefund/EnumAttributeValidator.html +0 -455
  245. data/doc/TreezorClient/Transferrefund.html +0 -2644
  246. data/doc/TreezorClient/TransferrefundApi.html +0 -2450
  247. data/doc/TreezorClient/User/EnumAttributeValidator.html +0 -455
  248. data/doc/TreezorClient/User.html +0 -5844
  249. data/doc/TreezorClient/UserApi.html +0 -6647
  250. data/doc/TreezorClient/Virtualiban.html +0 -2462
  251. data/doc/TreezorClient/VirtualibansApi.html +0 -2845
  252. data/doc/TreezorClient/Wallet/EnumAttributeValidator.html +0 -455
  253. data/doc/TreezorClient/Wallet.html +0 -4076
  254. data/doc/TreezorClient/WalletApi.html +0 -3944
  255. data/doc/TreezorClient.html +0 -251
  256. data/doc/_index.html +0 -1025
  257. data/doc/class_list.html +0 -51
  258. data/doc/css/common.css +0 -1
  259. data/doc/css/full_list.css +0 -58
  260. data/doc/css/style.css +0 -496
  261. data/doc/file.README.html +0 -636
  262. data/doc/file_list.html +0 -56
  263. data/doc/frames.html +0 -17
  264. data/doc/index.html +0 -636
  265. data/doc/js/app.js +0 -292
  266. data/doc/js/full_list.js +0 -216
  267. data/doc/js/jquery.js +0 -4
  268. data/doc/method_list.html +0 -15699
  269. data/doc/top-level-namespace.html +0 -110
  270. data/docs/CardDigitalizationDetailsFromGPS.md +0 -40
  271. data/docs/InlineResponse20011Cardtransactions.md +0 -58
  272. data/docs/InlineResponse2005Businessinformations.md +0 -26
  273. data/docs/InlineResponse2005Users.md +0 -12
  274. data/docs/InlineResponse2007Cardimages.md +0 -10
  275. data/docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md +0 -10
  276. data/docs/Tav.md +0 -14
  277. data/lib/treezor_client/models/card_digitalization_details_from_gps.rb +0 -509
  278. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +0 -637
  279. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +0 -447
  280. data/lib/treezor_client/models/inline_response_200_5_users.rb +0 -258
  281. data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates.rb +0 -209
  282. data/lib/treezor_client/models/tav.rb +0 -241
  283. data/pkg/treezor_client-1.10.0.gem +0 -0
@@ -0,0 +1,149 @@
1
+ =begin
2
+ #Treezor
3
+
4
+ #Treezor API. more info [here](https://www.treezor.com).
5
+
6
+ OpenAPI spec version: 0.1.1
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.4.19
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for TreezorClient::SepaSctrInst
18
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
19
+ # Please update as you see appropriate
20
+ describe 'SepaSctrInst' do
21
+ before do
22
+ # run before each test
23
+ @instance = TreezorClient::SepaSctrInst.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of SepaSctrInst' do
31
+ it 'should create an instance of SepaSctrInst' do
32
+ expect(@instance).to be_instance_of(TreezorClient::SepaSctrInst)
33
+ end
34
+ end
35
+ describe 'test attribute "wallet_id"' do
36
+ it 'should work' do
37
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
38
+ end
39
+ end
40
+
41
+ describe 'test attribute "debtor_bic"' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ describe 'test attribute "debtor_iban"' do
48
+ it 'should work' do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ describe 'test attribute "debitor_name"' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ describe 'test attribute "debitor_country"' do
60
+ it 'should work' do
61
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
62
+ end
63
+ end
64
+
65
+ describe 'test attribute "debitor_address_line"' do
66
+ it 'should work' do
67
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
68
+ end
69
+ end
70
+
71
+ describe 'test attribute "creditor_bic"' do
72
+ it 'should work' do
73
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
74
+ end
75
+ end
76
+
77
+ describe 'test attribute "creditor_iban"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
83
+ describe 'test attribute "creditor_name"' do
84
+ it 'should work' do
85
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
86
+ end
87
+ end
88
+
89
+ describe 'test attribute "creditor_address_line"' do
90
+ it 'should work' do
91
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
92
+ end
93
+ end
94
+
95
+ describe 'test attribute "creditor_country"' do
96
+ it 'should work' do
97
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
98
+ end
99
+ end
100
+
101
+ describe 'test attribute "transaction_id"' do
102
+ it 'should work' do
103
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
104
+ end
105
+ end
106
+
107
+ describe 'test attribute "virtual_iban_id"' do
108
+ it 'should work' do
109
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
110
+ end
111
+ end
112
+
113
+ describe 'test attribute "settlement_date"' do
114
+ it 'should work' do
115
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
116
+ end
117
+ end
118
+
119
+ describe 'test attribute "settlement_amount"' do
120
+ it 'should work' do
121
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
122
+ end
123
+ end
124
+
125
+ describe 'test attribute "return_reason_code"' do
126
+ it 'should work' do
127
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
128
+ end
129
+ end
130
+
131
+ describe 'test attribute "virtual_iban_reference"' do
132
+ it 'should work' do
133
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
134
+ end
135
+ end
136
+
137
+ describe 'test attribute "remittance_information"' do
138
+ it 'should work' do
139
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
140
+ end
141
+ end
142
+
143
+ describe 'test attribute "transaction_end_to_end_id"' do
144
+ it 'should work' do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ end
@@ -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:
@@ -6435,7 +6391,7 @@ paths:
6435
6391
  schema:
6436
6392
  type: object
6437
6393
  properties:
6438
- bankaccounts:
6394
+ merchantIdRestrictionGroups:
6439
6395
  type: array
6440
6396
  items:
6441
6397
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6576,7 +6532,7 @@ paths:
6576
6532
  schema:
6577
6533
  type: object
6578
6534
  properties:
6579
- bankaccounts:
6535
+ merchantIdRestrictionGroups:
6580
6536
  type: array
6581
6537
  items:
6582
6538
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6624,7 +6580,7 @@ paths:
6624
6580
  schema:
6625
6581
  type: object
6626
6582
  properties:
6627
- bankaccounts:
6583
+ merchantIdRestrictionGroups:
6628
6584
  type: array
6629
6585
  items:
6630
6586
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6716,7 +6672,7 @@ paths:
6716
6672
  schema:
6717
6673
  type: object
6718
6674
  properties:
6719
- bankaccounts:
6675
+ merchantIdRestrictionGroups:
6720
6676
  type: array
6721
6677
  items:
6722
6678
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -6763,7 +6719,88 @@ paths:
6763
6719
  schema:
6764
6720
  type: object
6765
6721
  properties:
6766
- 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:
6767
6804
  type: array
6768
6805
  items:
6769
6806
  $ref: '#/definitions/MerchantIdRestrictionGroup'
@@ -7009,7 +7046,7 @@ paths:
7009
7046
  in: query
7010
7047
  description: Payin's id.
7011
7048
  required: false
7012
- type: integer
7049
+ type: string
7013
7050
  - name: walletId
7014
7051
  in: query
7015
7052
  description: Payin's wallet id.
@@ -7283,7 +7320,7 @@ paths:
7283
7320
  in: query
7284
7321
  description: payin's id to refund.
7285
7322
  required: true
7286
- type: integer
7323
+ type: string
7287
7324
  - name: comment
7288
7325
  in: query
7289
7326
  description: End user, client or issuer comment.
@@ -7368,7 +7405,7 @@ paths:
7368
7405
  in: query
7369
7406
  description: Payin's id.
7370
7407
  required: false
7371
- type: integer
7408
+ type: string
7372
7409
  - name: payinrefundId
7373
7410
  in: query
7374
7411
  description: Payinrefund's id.
@@ -9431,7 +9468,8 @@ paths:
9431
9468
  - name: entityType
9432
9469
  in: query
9433
9470
  description: |
9434
- Type of user's entity type
9471
+ Type of user's entity type :
9472
+
9435
9473
  | Value | Type |
9436
9474
  | --- | --- |
9437
9475
  | 1 | Reporting Financial Institution |
@@ -9892,7 +9930,7 @@ paths:
9892
9930
  type: string
9893
9931
  - name: position
9894
9932
  in: query
9895
- description: User's position.
9933
+ description: User's position (deprecated, you must use the parameter occupation).
9896
9934
  required: false
9897
9935
  type: string
9898
9936
  - name: personalAssets
@@ -10732,7 +10770,7 @@ paths:
10732
10770
  type: string
10733
10771
  - name: position
10734
10772
  in: query
10735
- description: User's position.
10773
+ description: User's position (deprecated, you must use the parameter occupation).
10736
10774
  required: false
10737
10775
  type: string
10738
10776
  - name: personalAssets
@@ -11505,7 +11543,7 @@ paths:
11505
11543
  tags:
11506
11544
  - wallet
11507
11545
  summary: search wallets
11508
- 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'
11509
11547
  operationId: getWallets
11510
11548
  consumes:
11511
11549
  - application/json
@@ -11579,13 +11617,6 @@ paths:
11579
11617
  | 14 | Electronic Money Card (Internal only) |
11580
11618
  required: false
11581
11619
  type: integer
11582
- - name: eventName
11583
- in: query
11584
- description: |
11585
- Event name that will be used as wallet name. For example, in a
11586
- wedding list: Wedding of X and Y
11587
- required: false
11588
- type: string
11589
11620
  - name: eventAlias
11590
11621
  in: query
11591
11622
  description: |
@@ -11618,11 +11649,6 @@ paths:
11618
11649
  description: Number of payin done on the wallet.
11619
11650
  required: false
11620
11651
  type: integer
11621
- - name: solde
11622
- in: query
11623
- description: Wallet current balance.
11624
- required: false
11625
- type: string
11626
11652
  - name: pageNumber
11627
11653
  in: query
11628
11654
  description: |
@@ -12068,7 +12094,7 @@ definitions:
12068
12094
  walletId:
12069
12095
  type: integer
12070
12096
  payinId:
12071
- type: integer
12097
+ type: string
12072
12098
  payinrefundDate:
12073
12099
  type: integer
12074
12100
  amount:
@@ -12510,9 +12536,9 @@ definitions:
12510
12536
  | Status | Description |
12511
12537
  | ---- | ----------- |
12512
12538
  | A | Active |
12513
- | N | Not tokenized |
12539
+ | U | Not tokenized |
12514
12540
  | S | Suspended |
12515
- | X | Deactivated (Final status, cannot be changed)|
12541
+ | D | Deactivated (Final status, cannot be changed)|
12516
12542
  createdDate:
12517
12543
  type: string
12518
12544
  modifiedDate:
@@ -12823,12 +12849,12 @@ definitions:
12823
12849
  type: object
12824
12850
  properties:
12825
12851
  payinId:
12826
- type: integer
12852
+ type: string
12827
12853
  payinTag:
12828
12854
  type: string
12829
12855
  payinStatus:
12830
12856
  type: string
12831
- enum: ['PENDING', 'CANCELED', 'VALIDATED']
12857
+ enum: ['PENDING', 'CANCELED', 'CANCELLED', 'VALIDATED']
12832
12858
  codeStatus:
12833
12859
  type: integer
12834
12860
  informationStatus:
@@ -13119,6 +13145,51 @@ definitions:
13119
13145
  deletedDate:
13120
13146
  description: Date of the TaxResidence has been deleted
13121
13147
  type: string
13148
+ SepaSctrInst:
13149
+ type: object
13150
+ properties:
13151
+ walletId:
13152
+ type: integer
13153
+ debtorBic:
13154
+ type: string
13155
+ debtorIban:
13156
+ type: string
13157
+ debitorName:
13158
+ type: string
13159
+ debitorCountry:
13160
+ type: string
13161
+ debitorAddressLine:
13162
+ type: string
13163
+ messageId:
13164
+ type: text
13165
+ creditorBIC:
13166
+ type: string
13167
+ creditorIban:
13168
+ type: string
13169
+ creditorName:
13170
+ type: string
13171
+ creditorAddressLine:
13172
+ type: string
13173
+ creditorCountry:
13174
+ type: string
13175
+ transactionId:
13176
+ type: string
13177
+ virtualIbanId:
13178
+ type: string
13179
+ settlementDate:
13180
+ type: string
13181
+ format: datetime
13182
+ description: RFC 3339
13183
+ settlementAmount:
13184
+ type: string
13185
+ return_reason_code:
13186
+ type: string
13187
+ virtualIbanReference:
13188
+ type: string
13189
+ remittanceInformation:
13190
+ type: string
13191
+ transactionEndToEndId:
13192
+ type: string
13122
13193
  Error:
13123
13194
  type: object
13124
13195
  properties:
@@ -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'