treezor_client 1.11.0 → 1.12.0

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