treezor_client 1.1.0 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (177) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -5
  3. data/Gemfile.lock +4 -6
  4. data/README.md +19 -5
  5. data/config.json +10 -0
  6. data/docs/BalanceApi.md +8 -8
  7. data/docs/BankaccountApi.md +30 -30
  8. data/docs/BeneficiariesApi.md +30 -30
  9. data/docs/Beneficiary.md +1 -0
  10. data/docs/BusinessApi.md +26 -26
  11. data/docs/Card.md +2 -2
  12. data/docs/CardApi.md +209 -150
  13. data/docs/CardDigitalization.md +1 -3
  14. data/docs/CardDigitalizationsApi.md +73 -16
  15. data/docs/CardReserveApi.md +24 -24
  16. data/docs/CardtransactionApi.md +16 -14
  17. data/docs/CountryRestrictionGroup.md +14 -0
  18. data/docs/CountryRestrictionGroupsApi.md +40 -40
  19. data/docs/Document.md +1 -0
  20. data/docs/DocumentApi.md +46 -44
  21. data/docs/HeartbeatApi.md +8 -8
  22. data/docs/InlineResponse20010Cardtransactions.md +3 -3
  23. data/docs/InlineResponse20011.md +1 -1
  24. data/docs/InlineResponse20011Cardtransactions.md +58 -0
  25. data/docs/InlineResponse20012.md +1 -1
  26. data/docs/InlineResponse20013.md +1 -1
  27. data/docs/InlineResponse20014.md +1 -1
  28. data/docs/InlineResponse20015.md +1 -1
  29. data/docs/InlineResponse20016.md +1 -1
  30. data/docs/InlineResponse20017.md +1 -1
  31. data/docs/InlineResponse20018.md +1 -1
  32. data/docs/InlineResponse20019.md +1 -1
  33. data/docs/InlineResponse20020.md +1 -1
  34. data/docs/InlineResponse20021.md +1 -1
  35. data/docs/InlineResponse20022.md +1 -1
  36. data/docs/InlineResponse20023.md +1 -1
  37. data/docs/InlineResponse20024.md +1 -1
  38. data/docs/InlineResponse20025.md +1 -1
  39. data/docs/InlineResponse20026.md +8 -0
  40. data/docs/InlineResponse20027.md +8 -0
  41. data/docs/InlineResponse20028.md +8 -0
  42. data/docs/InlineResponse2005Businessinformations.md +2 -2
  43. data/docs/IssuerInitiatedDigitizationDataApi.md +22 -22
  44. data/docs/MandateApi.md +50 -50
  45. data/docs/MccRestrictionGroupsApi.md +40 -40
  46. data/docs/MerchantIdRestrictionGroupsApi.md +40 -40
  47. data/docs/PayinApi.md +38 -38
  48. data/docs/PayinrefundApi.md +38 -38
  49. data/docs/PayoutApi.md +38 -38
  50. data/docs/PayoutRefund.md +22 -0
  51. data/docs/PayoutRefundsApi.md +82 -0
  52. data/docs/TaxResidence.md +15 -0
  53. data/docs/TaxResidenceApi.md +319 -0
  54. data/docs/TransactionApi.md +22 -22
  55. data/docs/TransferApi.md +42 -42
  56. data/docs/TransferrefundApi.md +42 -42
  57. data/docs/User.md +3 -0
  58. data/docs/UserApi.md +104 -85
  59. data/docs/VirtualibansApi.md +46 -46
  60. data/docs/WalletApi.md +84 -84
  61. data/lib/treezor_client/api/balance_api.rb +8 -8
  62. data/lib/treezor_client/api/bankaccount_api.rb +30 -30
  63. data/lib/treezor_client/api/beneficiaries_api.rb +30 -30
  64. data/lib/treezor_client/api/business_api.rb +26 -26
  65. data/lib/treezor_client/api/card_api.rb +209 -154
  66. data/lib/treezor_client/api/card_digitalizations_api.rb +82 -16
  67. data/lib/treezor_client/api/card_reserve_api.rb +24 -24
  68. data/lib/treezor_client/api/cardtransaction_api.rb +18 -15
  69. data/lib/treezor_client/api/country_restriction_groups_api.rb +45 -45
  70. data/lib/treezor_client/api/document_api.rb +64 -57
  71. data/lib/treezor_client/api/heartbeat_api.rb +8 -8
  72. data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +22 -22
  73. data/lib/treezor_client/api/mandate_api.rb +58 -58
  74. data/lib/treezor_client/api/mcc_restriction_groups_api.rb +45 -45
  75. data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +45 -45
  76. data/lib/treezor_client/api/payin_api.rb +42 -42
  77. data/lib/treezor_client/api/payinrefund_api.rb +42 -42
  78. data/lib/treezor_client/api/payout_api.rb +42 -42
  79. data/lib/treezor_client/api/payout_refunds_api.rb +102 -0
  80. data/lib/treezor_client/api/tax_residence_api.rb +319 -0
  81. data/lib/treezor_client/api/transaction_api.rb +24 -24
  82. data/lib/treezor_client/api/transfer_api.rb +46 -46
  83. data/lib/treezor_client/api/transferrefund_api.rb +46 -46
  84. data/lib/treezor_client/api/user_api.rb +124 -93
  85. data/lib/treezor_client/api/virtualibans_api.rb +50 -50
  86. data/lib/treezor_client/api/wallet_api.rb +89 -89
  87. data/lib/treezor_client/models/beneficiary.rb +11 -1
  88. data/lib/treezor_client/models/card.rb +2 -2
  89. data/lib/treezor_client/models/card_digitalization.rb +3 -20
  90. data/lib/treezor_client/models/country_restriction_group.rb +284 -0
  91. data/lib/treezor_client/models/document.rb +10 -1
  92. data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
  93. data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
  94. data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +642 -0
  95. data/lib/treezor_client/models/inline_response_200_12.rb +8 -8
  96. data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
  97. data/lib/treezor_client/models/inline_response_200_14.rb +1 -1
  98. data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
  99. data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
  100. data/lib/treezor_client/models/inline_response_200_17.rb +8 -8
  101. data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
  102. data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
  103. data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
  104. data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
  105. data/lib/treezor_client/models/inline_response_200_22.rb +8 -8
  106. data/lib/treezor_client/models/inline_response_200_23.rb +1 -1
  107. data/lib/treezor_client/models/inline_response_200_24.rb +8 -8
  108. data/lib/treezor_client/models/inline_response_200_25.rb +8 -8
  109. data/lib/treezor_client/models/inline_response_200_26.rb +190 -0
  110. data/lib/treezor_client/models/inline_response_200_27.rb +190 -0
  111. data/lib/treezor_client/models/inline_response_200_28.rb +190 -0
  112. data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +2 -2
  113. data/lib/treezor_client/models/payout_refund.rb +347 -0
  114. data/lib/treezor_client/models/tax_residence.rb +259 -0
  115. data/lib/treezor_client/models/user.rb +28 -1
  116. data/lib/treezor_client/version.rb +1 -1
  117. data/lib/treezor_client.rb +9 -1
  118. data/pkg/treezor_client-1.0.0.gem +0 -0
  119. data/pkg/treezor_client-1.1.0.gem +0 -0
  120. data/pkg/treezor_client-1.2.0.gem +0 -0
  121. data/spec/api/balance_api_spec.rb +4 -4
  122. data/spec/api/bankaccount_api_spec.rb +15 -15
  123. data/spec/api/beneficiaries_api_spec.rb +15 -15
  124. data/spec/api/business_api_spec.rb +13 -13
  125. data/spec/api/card_api_spec.rb +93 -75
  126. data/spec/api/card_digitalizations_api_spec.rb +19 -6
  127. data/spec/api/card_reserve_api_spec.rb +12 -12
  128. data/spec/api/cardtransaction_api_spec.rb +8 -7
  129. data/spec/api/country_restriction_groups_api_spec.rb +20 -20
  130. data/spec/api/document_api_spec.rb +22 -21
  131. data/spec/api/heartbeat_api_spec.rb +4 -4
  132. data/spec/api/issuer_initiated_digitization_data_api_spec.rb +11 -11
  133. data/spec/api/mandate_api_spec.rb +26 -26
  134. data/spec/api/mcc_restriction_groups_api_spec.rb +20 -20
  135. data/spec/api/merchant_id_restriction_groups_api_spec.rb +20 -22
  136. data/spec/api/payin_api_spec.rb +19 -19
  137. data/spec/api/payinrefund_api_spec.rb +19 -19
  138. data/spec/api/payout_api_spec.rb +19 -19
  139. data/spec/api/payout_refunds_api_spec.rb +56 -0
  140. data/spec/api/tax_residence_api_spec.rb +108 -0
  141. data/spec/api/transaction_api_spec.rb +11 -11
  142. data/spec/api/transfer_api_spec.rb +21 -21
  143. data/spec/api/transferrefund_api_spec.rb +21 -21
  144. data/spec/api/user_api_spec.rb +58 -41
  145. data/spec/api/virtualibans_api_spec.rb +23 -23
  146. data/spec/api/wallet_api_spec.rb +42 -42
  147. data/spec/models/beneficiary_spec.rb +6 -0
  148. data/spec/models/card_digitalization_spec.rb +0 -12
  149. data/spec/models/card_spec.rb +6 -0
  150. data/spec/models/country_restriction_group_spec.rb +82 -0
  151. data/spec/models/document_spec.rb +6 -0
  152. data/spec/models/inline_response_200_11_cardtransactions_spec.rb +342 -0
  153. data/spec/models/inline_response_200_11_spec.rb +1 -1
  154. data/spec/models/inline_response_200_12_spec.rb +1 -1
  155. data/spec/models/inline_response_200_13_spec.rb +1 -1
  156. data/spec/models/inline_response_200_16_spec.rb +1 -1
  157. data/spec/models/inline_response_200_17_spec.rb +1 -1
  158. data/spec/models/inline_response_200_18_spec.rb +1 -1
  159. data/spec/models/inline_response_200_19_spec.rb +1 -1
  160. data/spec/models/inline_response_200_20_spec.rb +1 -1
  161. data/spec/models/inline_response_200_21_spec.rb +1 -1
  162. data/spec/models/inline_response_200_22_spec.rb +1 -1
  163. data/spec/models/inline_response_200_24_spec.rb +1 -1
  164. data/spec/models/inline_response_200_25_spec.rb +1 -1
  165. data/spec/models/inline_response_200_26_spec.rb +42 -0
  166. data/spec/models/inline_response_200_27_spec.rb +42 -0
  167. data/spec/models/inline_response_200_28_spec.rb +42 -0
  168. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +1 -1
  169. data/spec/models/merchant_id_restriction_group_spec.rb +1 -1
  170. data/spec/models/payout_refund_spec.rb +130 -0
  171. data/spec/models/tax_residence_spec.rb +84 -0
  172. data/spec/models/user_spec.rb +42 -0
  173. data/treezor_api_spec.yaml +1841 -1207
  174. data/treezor_client.gemspec +1 -3
  175. metadata +45 -9
  176. data/spec/models/card_digitalization_details_from_gps_spec.rb +0 -234
  177. data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +0 -54
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f3e170e313c0e9e2af1fbcd812f34f630a86f1b89670b240f70a2fb99bc8419
4
- data.tar.gz: 3e06a538a4e809aa8638d9708864ed870118e6746ac7897d07b974db27733aef
3
+ metadata.gz: 62e4359e2d0539561e3f44e0ee43b712be753cc62087a0146b787daa209431ed
4
+ data.tar.gz: 9e9216fc6d410d1c00b5ac6f2b2cf5da111746158ec96150b456752850925c90
5
5
  SHA512:
6
- metadata.gz: a8a829c6e2b18b92d0c662e2d18c6ffd78ccfec1a27c4f28c7fdf8324ae70913e0cac44c07d3ef849db97978f6fe216542805d1c384132ef458457c40ade559a
7
- data.tar.gz: 2e7ac388ad3b5637a252e22e4c86d2be07590087a24328aa8cff3eecad49f024eff12f6c13f7ac074c69308c627974415973dcb13ee87cfe00fbaded620d44d1
6
+ metadata.gz: 789af877e9ce6dc175625cda6705dde7e820860900bafa36157eb61d1c9c84abae8e8cbcbdc70caea142debacc279fcea29cbfb7cb6bd3fec28190afbc04d31f
7
+ data.tar.gz: ab65409710ef74b4eee541eb13803fbb821d688cd6b55b453c6cedacdfceb0a4049819ef29f5b356acff69b03efb27c2ae73eb730808d51aefbd83d9114c7f70
data/Gemfile CHANGED
@@ -3,9 +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', '~> 12.0.0'
7
7
  end
8
-
9
- group :doc do
10
- gem 'yard'
11
- end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- treezor_client (1.1.0)
4
+ treezor_client (1.2.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -20,13 +20,13 @@ GEM
20
20
  crack (0.4.3)
21
21
  safe_yaml (~> 1.0.0)
22
22
  diff-lcs (1.3)
23
- ethon (0.11.0)
23
+ ethon (0.12.0)
24
24
  ffi (>= 1.3.0)
25
25
  ffi (1.9.25)
26
26
  hashdiff (0.3.7)
27
27
  json (2.1.0)
28
28
  public_suffix (3.0.3)
29
- rake (12.3.2)
29
+ rake (12.0.0)
30
30
  rspec (3.8.0)
31
31
  rspec-core (~> 3.8.0)
32
32
  rspec-expectations (~> 3.8.0)
@@ -50,7 +50,6 @@ GEM
50
50
  addressable (>= 2.3.6)
51
51
  crack (>= 0.3.2)
52
52
  hashdiff
53
- yard (0.9.16)
54
53
 
55
54
  PLATFORMS
56
55
  ruby
@@ -60,12 +59,11 @@ DEPENDENCIES
60
59
  autotest-fsevent (~> 0.2, >= 0.2.12)
61
60
  autotest-growl (~> 0.2, >= 0.2.16)
62
61
  autotest-rails-pure (~> 4.1, >= 4.1.2)
63
- rake (>= 12.0.0)
62
+ rake (~> 12.0.0)
64
63
  rspec (~> 3.6, >= 3.6.0)
65
64
  treezor_client!
66
65
  vcr (~> 3.0, >= 3.0.1)
67
66
  webmock (~> 1.24, >= 1.24.3)
68
- yard
69
67
 
70
68
  BUNDLED WITH
71
69
  1.16.6
data/README.md CHANGED
@@ -65,10 +65,10 @@ end
65
65
  api_instance = TreezorClient::BalanceApi.new
66
66
 
67
67
  opts = {
68
- 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).
69
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
70
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
71
- 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).
68
+ 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).
69
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
70
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
71
+ 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).
72
72
  wallet_id: 56, # Integer | Wallet's ID of wanted balance
73
73
  user_id: 56 # Integer | Wallet's user id of wanted balanced
74
74
  }
@@ -115,8 +115,10 @@ Class | Method | HTTP request | Description
115
115
  *TreezorClient::CardApi* | [**cards_id_regenerate_put**](docs/CardApi.md#cards_id_regenerate_put) | **PUT** /cards/{id}/Regenerate/ | regenerate card
116
116
  *TreezorClient::CardApi* | [**cards_id_set_pin_put**](docs/CardApi.md#cards_id_set_pin_put) | **PUT** /cards/{id}/setPIN/ | set card's PIN
117
117
  *TreezorClient::CardApi* | [**cards_id_unblock_pin_put**](docs/CardApi.md#cards_id_unblock_pin_put) | **PUT** /cards/{id}/UnblockPIN/ | unblock card's PIN
118
+ *TreezorClient::CardApi* | [**cards_register3_ds_post**](docs/CardApi.md#cards_register3_ds_post) | **POST** /cards/Register3DS | Register 3D secure
118
119
  *TreezorClient::CardApi* | [**cards_request_physical_post**](docs/CardApi.md#cards_request_physical_post) | **POST** /cards/RequestPhysical | create a physical card
119
120
  *TreezorClient::CardDigitalizationsApi* | [**card_digitalizations_id**](docs/CardDigitalizationsApi.md#card_digitalizations_id) | **GET** /cardDigitalizations/{id} | Get a card digitalizations based on its internal id
121
+ *TreezorClient::CardDigitalizationsApi* | [**deletecard_digitalizations_id**](docs/CardDigitalizationsApi.md#deletecard_digitalizations_id) | **DELETE** /cardDigitalizations/{id} | Deletes a payment Token
120
122
  *TreezorClient::CardDigitalizationsApi* | [**putcard_digitalizations_id**](docs/CardDigitalizationsApi.md#putcard_digitalizations_id) | **PUT** /cardDigitalizations/{id} | Update the status of a payment Token
121
123
  *TreezorClient::CardDigitalizationsApi* | [**readcard_digitalizations**](docs/CardDigitalizationsApi.md#readcard_digitalizations) | **GET** /cardDigitalizations | search for card digitalizations
122
124
  *TreezorClient::CardReserveApi* | [**card_reserve_add_to**](docs/CardReserveApi.md#card_reserve_add_to) | **POST** /cardReserves/AddTo | add an amount to the reserved amount of a card
@@ -165,6 +167,12 @@ Class | Method | HTTP request | Description
165
167
  *TreezorClient::PayoutApi* | [**get_payout**](docs/PayoutApi.md#get_payout) | **GET** /payouts/{id} | get a payout
166
168
  *TreezorClient::PayoutApi* | [**get_payouts**](docs/PayoutApi.md#get_payouts) | **GET** /payouts | search pay outs
167
169
  *TreezorClient::PayoutApi* | [**post_payout**](docs/PayoutApi.md#post_payout) | **POST** /payouts | create a pay out
170
+ *TreezorClient::PayoutRefundsApi* | [**get_payout_refunds**](docs/PayoutRefundsApi.md#get_payout_refunds) | **GET** /payoutRefunds | search pay outs refund
171
+ *TreezorClient::TaxResidenceApi* | [**tax_residences_get**](docs/TaxResidenceApi.md#tax_residences_get) | **GET** /taxResidences | search a residence
172
+ *TreezorClient::TaxResidenceApi* | [**tax_residences_id_delete**](docs/TaxResidenceApi.md#tax_residences_id_delete) | **DELETE** /taxResidences/{id} | delete a residence
173
+ *TreezorClient::TaxResidenceApi* | [**tax_residences_id_get**](docs/TaxResidenceApi.md#tax_residences_id_get) | **GET** /taxResidences/{id} | read the informations of a residence
174
+ *TreezorClient::TaxResidenceApi* | [**tax_residences_id_put**](docs/TaxResidenceApi.md#tax_residences_id_put) | **PUT** /taxResidences/{id} | update the residence
175
+ *TreezorClient::TaxResidenceApi* | [**tax_residences_post**](docs/TaxResidenceApi.md#tax_residences_post) | **POST** /taxResidences | create a residence
168
176
  *TreezorClient::TransactionApi* | [**get_transaction**](docs/TransactionApi.md#get_transaction) | **GET** /transactions/{id} | get a transaction
169
177
  *TreezorClient::TransactionApi* | [**get_transactions**](docs/TransactionApi.md#get_transactions) | **GET** /transactions | search transactions
170
178
  *TreezorClient::TransferApi* | [**delete_transfer**](docs/TransferApi.md#delete_transfer) | **DELETE** /transfers/{id} | cancel a transfer
@@ -212,7 +220,7 @@ Class | Method | HTTP request | Description
212
220
  - [TreezorClient::BusinesssearchsBusinessinformations](docs/BusinesssearchsBusinessinformations.md)
213
221
  - [TreezorClient::Card](docs/Card.md)
214
222
  - [TreezorClient::CardDigitalization](docs/CardDigitalization.md)
215
- - [TreezorClient::CardDigitalizationDetailsFromGPS](docs/CardDigitalizationDetailsFromGPS.md)
223
+ - [TreezorClient::CountryRestrictionGroup](docs/CountryRestrictionGroup.md)
216
224
  - [TreezorClient::Document](docs/Document.md)
217
225
  - [TreezorClient::Error](docs/Error.md)
218
226
  - [TreezorClient::InlineResponse200](docs/InlineResponse200.md)
@@ -220,6 +228,7 @@ Class | Method | HTTP request | Description
220
228
  - [TreezorClient::InlineResponse20010](docs/InlineResponse20010.md)
221
229
  - [TreezorClient::InlineResponse20010Cardtransactions](docs/InlineResponse20010Cardtransactions.md)
222
230
  - [TreezorClient::InlineResponse20011](docs/InlineResponse20011.md)
231
+ - [TreezorClient::InlineResponse20011Cardtransactions](docs/InlineResponse20011Cardtransactions.md)
223
232
  - [TreezorClient::InlineResponse20012](docs/InlineResponse20012.md)
224
233
  - [TreezorClient::InlineResponse20013](docs/InlineResponse20013.md)
225
234
  - [TreezorClient::InlineResponse20014](docs/InlineResponse20014.md)
@@ -235,6 +244,9 @@ Class | Method | HTTP request | Description
235
244
  - [TreezorClient::InlineResponse20023](docs/InlineResponse20023.md)
236
245
  - [TreezorClient::InlineResponse20024](docs/InlineResponse20024.md)
237
246
  - [TreezorClient::InlineResponse20025](docs/InlineResponse20025.md)
247
+ - [TreezorClient::InlineResponse20026](docs/InlineResponse20026.md)
248
+ - [TreezorClient::InlineResponse20027](docs/InlineResponse20027.md)
249
+ - [TreezorClient::InlineResponse20028](docs/InlineResponse20028.md)
238
250
  - [TreezorClient::InlineResponse2003](docs/InlineResponse2003.md)
239
251
  - [TreezorClient::InlineResponse2004](docs/InlineResponse2004.md)
240
252
  - [TreezorClient::InlineResponse2005](docs/InlineResponse2005.md)
@@ -253,7 +265,9 @@ Class | Method | HTTP request | Description
253
265
  - [TreezorClient::Payin](docs/Payin.md)
254
266
  - [TreezorClient::Payinrefund](docs/Payinrefund.md)
255
267
  - [TreezorClient::Payout](docs/Payout.md)
268
+ - [TreezorClient::PayoutRefund](docs/PayoutRefund.md)
256
269
  - [TreezorClient::Tav](docs/Tav.md)
270
+ - [TreezorClient::TaxResidence](docs/TaxResidence.md)
257
271
  - [TreezorClient::Transaction](docs/Transaction.md)
258
272
  - [TreezorClient::Transfer](docs/Transfer.md)
259
273
  - [TreezorClient::Transferrefund](docs/Transferrefund.md)
data/config.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "gemName": "treezor_client",
3
+ "gemAuthor": "Chaker Nakhli",
4
+ "gemAuthorEmail": "chaker.nakhli@cashbee.fr",
5
+ "gemSummary": "Treezor Ruby Gem",
6
+ "gemDescription": "Treezor API. More info at https://www.treezor.com. Generated by Cashbee https://www.cashbee.fr",
7
+ "gemHomepage": "https://github.com/cashbee-team/treezor_client",
8
+ "moduleName": "TreezorClient",
9
+ "gemLicense": "Apache 2.0"
10
+ }
data/docs/BalanceApi.md CHANGED
@@ -29,10 +29,10 @@ end
29
29
  api_instance = TreezorClient::BalanceApi.new
30
30
 
31
31
  opts = {
32
- 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).
33
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
34
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
35
- 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).
32
+ 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).
33
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
34
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
35
+ 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).
36
36
  wallet_id: 56, # Integer | Wallet's ID of wanted balance
37
37
  user_id: 56 # Integer | Wallet's user id of wanted balanced
38
38
  }
@@ -50,10 +50,10 @@ end
50
50
 
51
51
  Name | Type | Description | Notes
52
52
  ------------- | ------------- | ------------- | -------------
53
- **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]
54
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
55
- **access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
56
- **access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
53
+ **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]
54
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
55
+ **access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
56
+ **access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
57
57
  **wallet_id** | **Integer**| Wallet's ID of wanted balance | [optional]
58
58
  **user_id** | **Integer**| Wallet's user id of wanted balanced | [optional]
59
59
 
@@ -140,22 +140,22 @@ end
140
140
  api_instance = TreezorClient::BankaccountApi.new
141
141
 
142
142
  opts = {
143
- 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).
144
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
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
- 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).
143
+ 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).
144
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
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
+ 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
147
  bankaccount_id: 56, # Integer | bank account id.
148
148
  bankaccount_status: "bankaccount_status_example", # String | bank account status. Possible values: * CANCELED * PENDING * VALIDATED
149
149
  user_id: 56, # Integer | Bank account owner user's id
150
150
  bankaccount_iban: "bankaccount_iban_example", # String | Bank account IBAN
151
- page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
152
- page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
153
- 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).
151
+ page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
152
+ page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
153
+ 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).
154
154
  sort_order: "sort_order_example", # String | The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
155
- created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
156
- created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
157
- updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
158
- updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
155
+ created_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
156
+ created_date_to: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
157
+ updated_date_from: DateTime.parse("2013-10-20T19:20:30+01:00"), # DateTime | The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
158
+ updated_date_to: DateTime.parse("2013-10-20T19:20:30+01:00") # DateTime | The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
159
159
  }
160
160
 
161
161
  begin
@@ -171,22 +171,22 @@ end
171
171
 
172
172
  Name | Type | Description | Notes
173
173
  ------------- | ------------- | ------------- | -------------
174
- **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]
175
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
176
- **access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
177
- **access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
174
+ **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]
175
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
176
+ **access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
177
+ **access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
178
178
  **bankaccount_id** | **Integer**| bank account id. | [optional]
179
179
  **bankaccount_status** | **String**| bank account status. Possible values: * CANCELED * PENDING * VALIDATED | [optional]
180
180
  **user_id** | **Integer**| Bank account owner user's id | [optional]
181
181
  **bankaccount_iban** | **String**| Bank account IBAN | [optional]
182
- **page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
183
- **page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
184
- **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]
182
+ **page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
183
+ **page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
184
+ **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]
185
185
  **sort_order** | **String**| The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists). | [optional]
186
- **created_date_from** | **DateTime**| The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
187
- **created_date_to** | **DateTime**| The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
188
- **updated_date_from** | **DateTime**| The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
189
- **updated_date_to** | **DateTime**| The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
186
+ **created_date_from** | **DateTime**| The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
187
+ **created_date_to** | **DateTime**| The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
188
+ **updated_date_from** | **DateTime**| The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
189
+ **updated_date_to** | **DateTime**| The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists) | [optional]
190
190
 
191
191
  ### Return type
192
192
 
@@ -237,10 +237,10 @@ bankaccount_bic = "bankaccount_bic_example" # String | Beneficiary bank account'
237
237
  bankaccount_type = "bankaccount_type_example" # String | Beneficiary bank account's type.
238
238
 
239
239
  opts = {
240
- 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).
241
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
242
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
243
- 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).
240
+ 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).
241
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
242
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
243
+ 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).
244
244
  bankaccount_tag: "bankaccount_tag_example", # String | Custom data.
245
245
  name: "name_example" # String | Bank account's name.
246
246
  }
@@ -264,10 +264,10 @@ Name | Type | Description | Notes
264
264
  **bankaccount_iban** | **String**| Beneficiary bank account's IBAN. |
265
265
  **bankaccount_bic** | **String**| Beneficiary bank account's BIC (or SWIFT). |
266
266
  **bankaccount_type** | **String**| Beneficiary bank account's type. |
267
- **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]
268
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
269
- **access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
270
- **access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
267
+ **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]
268
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
269
+ **access_user_id** | **Integer**| Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
270
+ **access_user_ip** | **String**| Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics). | [optional]
271
271
  **bankaccount_tag** | **String**| Custom data. | [optional]
272
272
  **name** | **String**| Bank account's name. | [optional]
273
273
 
@@ -32,10 +32,10 @@ end
32
32
  api_instance = TreezorClient::BeneficiariesApi.new
33
33
 
34
34
  opts = {
35
- 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).
36
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
37
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
38
- 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).
35
+ 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).
36
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
37
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
38
+ 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).
39
39
  fields: ["fields_example"], # Array<String> | List of the object's properties you want to pick up.
40
40
  filter: "filter_example", # String | You can filter the API response by using filter(s). Filterable fields are : - id - tag - userId - isActive - nickName - address - iban (encrypted IBAN) - IbanInClear - bic - sepaCreditorIdentifier - usableForSct Filters should be separated by a \";\". Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \"fieldName criterion expression\". Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | > | greater than | alphanumeric string | 100 | | >= | greater or equal than | alphanumeric string | 100 | | < | less than | alphanumeric string | 100 | | <= | less or equal than | alphanumeric string | 100 | | != | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | == | equals | alphanumeric string | 100 |
41
41
  id: 56, # Integer | Beneficiary bank account id.
@@ -44,9 +44,9 @@ opts = {
44
44
  bic: "bic_example", # String | Beneficiary bank account BIC. (deprecated, you must use the parameter filter)
45
45
  nick_name: "nick_name_example", # String | Beneficiary bank account's nick name. (deprecated, you must use the parameter filter)
46
46
  name: "name_example", # String | Beneficiary bank account owner's name. (deprecated, you must use the parameter filter)
47
- page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
48
- page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
49
- 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).
47
+ page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
48
+ page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
49
+ 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).
50
50
  sort_order: "sort_order_example" # String | The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
51
51
  }
52
52
 
@@ -63,10 +63,10 @@ end
63
63
 
64
64
  Name | Type | Description | Notes
65
65
  ------------- | ------------- | ------------- | -------------
66
- **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]
67
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
68
- **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]
69
- **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]
66
+ **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]
67
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
68
+ **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]
69
+ **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]
70
70
  **fields** | [**Array&lt;String&gt;**](String.md)| List of the object&#39;s properties you want to pick up. | [optional]
71
71
  **filter** | **String**| You can filter the API response by using filter(s). Filterable fields are : - id - tag - userId - isActive - nickName - address - iban (encrypted IBAN) - IbanInClear - bic - sepaCreditorIdentifier - usableForSct Filters should be separated by a \&quot;;\&quot;. Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \&quot;fieldName criterion expression\&quot;. Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | &gt; | greater than | alphanumeric string | 100 | | &gt;&#x3D; | greater or equal than | alphanumeric string | 100 | | &lt; | less than | alphanumeric string | 100 | | &lt;&#x3D; | less or equal than | alphanumeric string | 100 | | !&#x3D; | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | &#x3D;&#x3D; | equals | alphanumeric string | 100 | | [optional]
72
72
  **id** | **Integer**| Beneficiary bank account id. | [optional]
@@ -75,9 +75,9 @@ Name | Type | Description | Notes
75
75
  **bic** | **String**| Beneficiary bank account BIC. (deprecated, you must use the parameter filter) | [optional]
76
76
  **nick_name** | **String**| Beneficiary bank account&#39;s nick name. (deprecated, you must use the parameter filter) | [optional]
77
77
  **name** | **String**| Beneficiary bank account owner&#39;s name. (deprecated, you must use the parameter filter) | [optional]
78
- **page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
79
- **page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
80
- **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]
78
+ **page_number** | **Integer**| Pagination page number. More info [here](https://agent.treezor.com/lists). | [optional]
79
+ **page_count** | **Integer**| The number of items per page. More info [here](https://agent.treezor.com/lists). | [optional]
80
+ **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]
81
81
  **sort_order** | **String**| The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists). | [optional]
82
82
 
83
83
  ### Return type
@@ -175,10 +175,10 @@ end
175
175
  api_instance = TreezorClient::BeneficiariesApi.new
176
176
 
177
177
  opts = {
178
- 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).
179
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
180
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
181
- 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).
178
+ 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).
179
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
180
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
181
+ 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).
182
182
  body: TreezorClient::Body1.new # Body1 |
183
183
  }
184
184
 
@@ -195,10 +195,10 @@ end
195
195
 
196
196
  Name | Type | Description | Notes
197
197
  ------------- | ------------- | ------------- | -------------
198
- **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]
199
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
200
- **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]
201
- **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]
198
+ **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]
199
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
200
+ **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]
201
+ **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]
202
202
  **body** | [**Body1**](Body1.md)| | [optional]
203
203
 
204
204
  ### Return type
@@ -240,10 +240,10 @@ api_instance = TreezorClient::BeneficiariesApi.new
240
240
  id = 56 # Integer | Beneficiary's id.
241
241
 
242
242
  opts = {
243
- 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).
244
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
245
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
246
- 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).
243
+ 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).
244
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
245
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
246
+ 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).
247
247
  body: TreezorClient::Body2.new # Body2 |
248
248
  }
249
249
 
@@ -261,10 +261,10 @@ end
261
261
  Name | Type | Description | Notes
262
262
  ------------- | ------------- | ------------- | -------------
263
263
  **id** | **Integer**| Beneficiary&#39;s id. |
264
- **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]
265
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
266
- **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]
267
- **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
+ **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]
265
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
266
+ **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]
267
+ **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]
268
268
  **body** | [**Body2**](Body2.md)| | [optional]
269
269
 
270
270
  ### Return type
data/docs/Beneficiary.md CHANGED
@@ -4,6 +4,7 @@
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
6
  **tag** | **String** | Custom data that could be used by caller to search the instance. | [optional]
7
+ **id** | **Integer** | Should be named beneficiaryId to conform to the API&#39;s naming convention. | [optional]
7
8
  **user_id** | **Integer** | Beneficiary&#39;s userId | [optional]
8
9
  **nick_name** | **String** | Name choosen by end user to easily recognize the beneficiary. | [optional]
9
10
  **name** | **String** | Beneficiary name, linked to bank account. | [optional]
data/docs/BusinessApi.md CHANGED
@@ -29,13 +29,13 @@ end
29
29
 
30
30
  api_instance = TreezorClient::BusinessApi.new
31
31
 
32
- country = "country_example" # String | In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
32
+ country = "country_example" # String | In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
33
33
 
34
34
  opts = {
35
- 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).
36
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
37
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
38
- 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).
35
+ 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).
36
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
37
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
38
+ 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).
39
39
  external_id: "external_id_example", # String | External unique business id. As given in businesssearch reponse.
40
40
  registration_number: "registration_number_example", # String | Unique business registration number.
41
41
  vat_number: "vat_number_example" # String | Unique business VAT number.
@@ -54,11 +54,11 @@ end
54
54
 
55
55
  Name | Type | Description | Notes
56
56
  ------------- | ------------- | ------------- | -------------
57
- **country** | **String**| In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) |
58
- **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]
59
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
60
- **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]
61
- **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]
57
+ **country** | **String**| In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) |
58
+ **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]
59
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
60
+ **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]
61
+ **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]
62
62
  **external_id** | **String**| External unique business id. As given in businesssearch reponse. | [optional]
63
63
  **registration_number** | **String**| Unique business registration number. | [optional]
64
64
  **vat_number** | **String**| Unique business VAT number. | [optional]
@@ -99,16 +99,16 @@ end
99
99
 
100
100
  api_instance = TreezorClient::BusinessApi.new
101
101
 
102
- country = "country_example" # String | In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
102
+ country = "country_example" # String | In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
103
103
 
104
104
  opts = {
105
- 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).
106
- access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
107
- access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
108
- 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).
109
- name_exact: "name_exact_example", # String | Business exact name. Exclusive with nameMatchBeginning and nameClosestKeywords.
110
- name_match_beginning: "name_match_beginning_example", # String | Business names begin with. Exclusive with nameExact and nameClosestKeywords.
111
- name_closest_keywords: "name_closest_keywords_example", # String | Business names closed to keywords. Exclusive with nameExact and nameMatchBeginning.
105
+ 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).
106
+ access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
107
+ access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
108
+ 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).
109
+ name_exact: "name_exact_example", # String | Business exact name. Exclusive with nameMatchBeginning and nameClosestKeywords.
110
+ name_match_beginning: "name_match_beginning_example", # String | Business names begin with. Exclusive with nameExact and nameClosestKeywords.
111
+ name_closest_keywords: "name_closest_keywords_example", # String | Business names closed to keywords. Exclusive with nameExact and nameMatchBeginning.
112
112
  registration_number: "registration_number_example", # String | Business registration number.
113
113
  vat_number: "vat_number_example", # String | Business VAT number.
114
114
  phone_number: "phone_number_example", # String | Business phone number.
@@ -130,14 +130,14 @@ end
130
130
 
131
131
  Name | Type | Description | Notes
132
132
  ------------- | ------------- | ------------- | -------------
133
- **country** | **String**| In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) |
134
- **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]
135
- **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
136
- **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]
137
- **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]
138
- **name_exact** | **String**| Business exact name. Exclusive with nameMatchBeginning and nameClosestKeywords. | [optional]
139
- **name_match_beginning** | **String**| Business names begin with. Exclusive with nameExact and nameClosestKeywords. | [optional]
140
- **name_closest_keywords** | **String**| Business names closed to keywords. Exclusive with nameExact and nameMatchBeginning. | [optional]
133
+ **country** | **String**| In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) |
134
+ **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]
135
+ **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
136
+ **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]
137
+ **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]
138
+ **name_exact** | **String**| Business exact name. Exclusive with nameMatchBeginning and nameClosestKeywords. | [optional]
139
+ **name_match_beginning** | **String**| Business names begin with. Exclusive with nameExact and nameClosestKeywords. | [optional]
140
+ **name_closest_keywords** | **String**| Business names closed to keywords. Exclusive with nameExact and nameMatchBeginning. | [optional]
141
141
  **registration_number** | **String**| Business registration number. | [optional]
142
142
  **vat_number** | **String**| Business VAT number. | [optional]
143
143
  **phone_number** | **String**| Business phone number. | [optional]
data/docs/Card.md CHANGED
@@ -64,9 +64,9 @@ Name | Type | Description | Notes
64
64
  **total_payment_day** | **Integer** | | [optional]
65
65
  **total_payment_all** | **Integer** | | [optional]
66
66
  **created_by** | **Integer** | | [optional]
67
- **created_date** | **Integer** | Date YYYY-MM-DD HH:MM:SS | [optional]
67
+ **created_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
68
68
  **modified_by** | **Integer** | | [optional]
69
- **modified_date** | **Integer** | Date YYYY-MM-DD HH:MM:SS | [optional]
69
+ **modified_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
70
70
  **total_rows** | **Integer** | | [optional]
71
71
 
72
72