treezor_client 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e09a7c01a310c8f18f3824c69bdf2fbaf19def51ba8e2f40c8acf276e2959d9b
4
- data.tar.gz: 2d5e07902c5270bd9e28595e8deebeb5f42f43835d757258a0362a841f5e8567
3
+ metadata.gz: 5f3e170e313c0e9e2af1fbcd812f34f630a86f1b89670b240f70a2fb99bc8419
4
+ data.tar.gz: 3e06a538a4e809aa8638d9708864ed870118e6746ac7897d07b974db27733aef
5
5
  SHA512:
6
- metadata.gz: 277655c158c9f78098bd8b660f54a3a380e5233b55691b9461b8bc2b00b0eae2981ba9b4d04cc7bbaa5a3d1cadbecfdb8bd5359b55bc460dc49815f67b96155e
7
- data.tar.gz: 1302d2ec3944fb50de75fc06ce543fb5d6f6ca6ad60f2d047ddd6eab670793f2b9b01d58787534f9e7f8a10ca17c775c1e461f53b8a3e4fdd077ce49d1b04780
6
+ metadata.gz: a8a829c6e2b18b92d0c662e2d18c6ffd78ccfec1a27c4f28c7fdf8324ae70913e0cac44c07d3ef849db97978f6fe216542805d1c384132ef458457c40ade559a
7
+ data.tar.gz: 2e7ac388ad3b5637a252e22e4c86d2be07590087a24328aa8cff3eecad49f024eff12f6c13f7ac074c69308c627974415973dcb13ee87cfe00fbaded620d44d1
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- treezor_client (1.0.0)
4
+ treezor_client (1.1.0)
5
5
  json (~> 2.1, >= 2.1.0)
6
6
  typhoeus (~> 1.0, >= 1.0.1)
7
7
 
@@ -13,7 +13,7 @@ GEM
13
13
  public_suffix (>= 2.0.2, < 4.0)
14
14
  autotest (4.4.6)
15
15
  ZenTest (>= 4.4.1)
16
- autotest-fsevent (0.2.13)
16
+ autotest-fsevent (0.2.14)
17
17
  sys-uname
18
18
  autotest-growl (0.2.16)
19
19
  autotest-rails-pure (4.1.2)
@@ -25,15 +25,15 @@ GEM
25
25
  ffi (1.9.25)
26
26
  hashdiff (0.3.7)
27
27
  json (2.1.0)
28
- public_suffix (3.0.2)
29
- rake (12.3.1)
28
+ public_suffix (3.0.3)
29
+ rake (12.3.2)
30
30
  rspec (3.8.0)
31
31
  rspec-core (~> 3.8.0)
32
32
  rspec-expectations (~> 3.8.0)
33
33
  rspec-mocks (~> 3.8.0)
34
34
  rspec-core (3.8.0)
35
35
  rspec-support (~> 3.8.0)
36
- rspec-expectations (3.8.1)
36
+ rspec-expectations (3.8.2)
37
37
  diff-lcs (>= 1.2.0, < 2.0)
38
38
  rspec-support (~> 3.8.0)
39
39
  rspec-mocks (3.8.0)
@@ -41,16 +41,16 @@ GEM
41
41
  rspec-support (~> 3.8.0)
42
42
  rspec-support (3.8.0)
43
43
  safe_yaml (1.0.4)
44
- sys-uname (1.0.3)
44
+ sys-uname (1.0.4)
45
45
  ffi (>= 1.0.0)
46
- typhoeus (1.3.0)
46
+ typhoeus (1.3.1)
47
47
  ethon (>= 0.9.0)
48
48
  vcr (3.0.3)
49
49
  webmock (1.24.6)
50
50
  addressable (>= 2.3.6)
51
51
  crack (>= 0.3.2)
52
52
  hashdiff
53
- yard (0.9.15)
53
+ yard (0.9.16)
54
54
 
55
55
  PLATFORMS
56
56
  ruby
@@ -68,4 +68,4 @@ DEPENDENCIES
68
68
  yard
69
69
 
70
70
  BUNDLED WITH
71
- 1.16.1
71
+ 1.16.6
data/README.md CHANGED
@@ -50,7 +50,6 @@ ruby -Ilib script.rb
50
50
  ## Getting Started
51
51
 
52
52
  Please follow the [installation](#installation) procedure and then run the following code:
53
-
54
53
  ```ruby
55
54
  # Load the gem
56
55
  require 'treezor_client'
@@ -248,7 +247,6 @@ Class | Method | HTTP request | Description
248
247
  - [TreezorClient::InlineResponse2009](docs/InlineResponse2009.md)
249
248
  - [TreezorClient::InlineResponseDefault](docs/InlineResponseDefault.md)
250
249
  - [TreezorClient::IssuerInitiatedDigitizationDatasAdditionnalData](docs/IssuerInitiatedDigitizationDatasAdditionnalData.md)
251
- - [TreezorClient::IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates](docs/IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md)
252
250
  - [TreezorClient::Mandate](docs/Mandate.md)
253
251
  - [TreezorClient::MccRestrictionGroup](docs/MccRestrictionGroup.md)
254
252
  - [TreezorClient::MerchantIdRestrictionGroup](docs/MerchantIdRestrictionGroup.md)
data/docs/Card.md CHANGED
@@ -52,6 +52,7 @@ Name | Type | Description | Notes
52
52
  **limit_payment_week** | **Integer** | | [optional]
53
53
  **limit_payment_day** | **Integer** | | [optional]
54
54
  **limit_payment_all** | **Integer** | | [optional]
55
+ **payment_daily_limit** | **Float** | | [optional]
55
56
  **total_atm_year** | **Integer** | | [optional]
56
57
  **total_atm_month** | **Integer** | | [optional]
57
58
  **total_atm_week** | **Integer** | | [optional]
data/docs/CardApi.md CHANGED
@@ -118,6 +118,7 @@ card_print = "card_print_example" # String | Card appareance code, also used to
118
118
  opts = {
119
119
  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).
120
120
  card_tag: "card_tag_example", # String | Custom field
121
+ batch_delivery_id: "batch_delivery_id_example", # String | Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
121
122
  limit_atm_year: 56, # Integer | ATM operations limit for a sliding year. No default value.
122
123
  limit_atm_month: 56, # Integer | ATM operations limit for a sliding month. No default value.
123
124
  limit_atm_week: 56, # Integer | ATM operations limit for a sliding week. Default value 2000€.
@@ -128,6 +129,7 @@ opts = {
128
129
  limit_payment_week: 56, # Integer | POS operations limit for a sliding week. Default value 3000€.
129
130
  limit_payment_day: 56, # Integer | POS operations limit for a single day. Default value 2000€.
130
131
  limit_payment_all: 56, # Integer | POS operations limit from beginning. No default value.
132
+ payment_daily_limit: 3.4, # Float | POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
131
133
  pin: "pin_example", # String | Card's PIN code value.
132
134
  anonymous: 56, # Integer | Card is anonymous. If value is 1 there will be no embossed name.
133
135
  send_to_parent: 56, # Integer | If you put the value 1 the delivery address will be the parent user's.
@@ -158,6 +160,7 @@ Name | Type | Description | Notes
158
160
  **card_print** | **String**| Card appareance code, also used to choose the program ID of the card |
159
161
  **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]
160
162
  **card_tag** | **String**| Custom field | [optional]
163
+ **batch_delivery_id** | **String**| Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL | [optional]
161
164
  **limit_atm_year** | **Integer**| ATM operations limit for a sliding year. No default value. | [optional]
162
165
  **limit_atm_month** | **Integer**| ATM operations limit for a sliding month. No default value. | [optional]
163
166
  **limit_atm_week** | **Integer**| ATM operations limit for a sliding week. Default value 2000€. | [optional]
@@ -168,6 +171,7 @@ Name | Type | Description | Notes
168
171
  **limit_payment_week** | **Integer**| POS operations limit for a sliding week. Default value 3000€. | [optional]
169
172
  **limit_payment_day** | **Integer**| POS operations limit for a single day. Default value 2000€. | [optional]
170
173
  **limit_payment_all** | **Integer**| POS operations limit from beginning. No default value. | [optional]
174
+ **payment_daily_limit** | **Float**| POS operations limit for a single day including cents. The decimal delimiter must be \&quot;.\&quot;. No default value. | [optional]
171
175
  **pin** | **String**| Card&#39;s PIN code value. | [optional]
172
176
  **anonymous** | **Integer**| Card is anonymous. If value is 1 there will be no embossed name. | [optional]
173
177
  **send_to_parent** | **Integer**| If you put the value 1 the delivery address will be the parent user&#39;s. | [optional]
@@ -632,6 +636,7 @@ opts = {
632
636
  limit_payment_week: 56, # Integer | Payment week limit
633
637
  limit_payment_day: 56, # Integer | Payment day limit
634
638
  limit_payment_all: 56, # Integer | Payment from beginning limit
639
+ payment_daily_limit: 3.4, # Float | Payment day limit including cents. The decimal delimiter must be \".\"
635
640
  access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
636
641
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
637
642
  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).
@@ -662,6 +667,7 @@ Name | Type | Description | Notes
662
667
  **limit_payment_week** | **Integer**| Payment week limit | [optional]
663
668
  **limit_payment_day** | **Integer**| Payment day limit | [optional]
664
669
  **limit_payment_all** | **Integer**| Payment from beginning limit | [optional]
670
+ **payment_daily_limit** | **Float**| Payment day limit including cents. The decimal delimiter must be \&quot;.\&quot; | [optional]
665
671
  **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
666
672
  **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]
667
673
  **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]
@@ -1125,6 +1131,7 @@ card_print = "card_print_example" # String | Card appearance code, also used to
1125
1131
 
1126
1132
  opts = {
1127
1133
  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).
1134
+ batch_delivery_id: "batch_delivery_id_example", # String | Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
1128
1135
  limit_atm_year: 56, # Integer | ATM operations limit for a sliding year. No default value.
1129
1136
  limit_atm_month: 56, # Integer | ATM operations limit for a sliding month. No default value.
1130
1137
  limit_atm_week: 56, # Integer | ATM operations limit for a sliding week. Default value 2000€.
@@ -1135,6 +1142,7 @@ opts = {
1135
1142
  limit_payment_week: 56, # Integer | POS operations limit for a sliding week. Default value 3000€.
1136
1143
  limit_payment_day: 56, # Integer | POS operations limit for a single day. Default value 2000€.
1137
1144
  limit_payment_all: 56, # Integer | POS operations limit from beginning. No default value.
1145
+ payment_daily_limit: 3.4, # Float | POS operations limit for a single day including cents. The decimal delimiter must be \".\". No default value.
1138
1146
  pin: "pin_example", # String | Card's PIN code value. Default random PIN.
1139
1147
  anonymous: 56, # Integer | Card is anonymous. If value is 1 there will be no embossed name.
1140
1148
  send_to_parent: 56, # Integer | If you put the value 1 the delivery address will be the parent user's.
@@ -1165,6 +1173,7 @@ Name | Type | Description | Notes
1165
1173
  **card_tag** | **String**| Custom field |
1166
1174
  **card_print** | **String**| Card appearance code, also used to choose the program ID of the card |
1167
1175
  **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]
1176
+ **batch_delivery_id** | **String**| Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL | [optional]
1168
1177
  **limit_atm_year** | **Integer**| ATM operations limit for a sliding year. No default value. | [optional]
1169
1178
  **limit_atm_month** | **Integer**| ATM operations limit for a sliding month. No default value. | [optional]
1170
1179
  **limit_atm_week** | **Integer**| ATM operations limit for a sliding week. Default value 2000€. | [optional]
@@ -1175,6 +1184,7 @@ Name | Type | Description | Notes
1175
1184
  **limit_payment_week** | **Integer**| POS operations limit for a sliding week. Default value 3000€. | [optional]
1176
1185
  **limit_payment_day** | **Integer**| POS operations limit for a single day. Default value 2000€. | [optional]
1177
1186
  **limit_payment_all** | **Integer**| POS operations limit from beginning. No default value. | [optional]
1187
+ **payment_daily_limit** | **Float**| POS operations limit for a single day including cents. The decimal delimiter must be \&quot;.\&quot;. No default value. | [optional]
1178
1188
  **pin** | **String**| Card&#39;s PIN code value. Default random PIN. | [optional]
1179
1189
  **anonymous** | **Integer**| Card is anonymous. If value is 1 there will be no embossed name. | [optional]
1180
1190
  **send_to_parent** | **Integer**| If you put the value 1 the delivery address will be the parent user&#39;s. | [optional]
data/docs/DocumentApi.md CHANGED
@@ -81,7 +81,7 @@ Name | Type | Description | Notes
81
81
 
82
82
  ### HTTP request headers
83
83
 
84
- - **Content-Type**: application/json
84
+ - **Content-Type**: multipart/form-data
85
85
  - **Accept**: application/json
86
86
 
87
87
 
@@ -3,7 +3,7 @@
3
3
  ## Properties
4
4
  Name | Type | Description | Notes
5
5
  ------------ | ------------- | ------------- | -------------
6
- **ecc_public_certificates** | [**IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates**](IssuerInitiatedDigitizationDatasAdditionnalDataECCPublicCertificates.md) | | [optional]
6
+ **certificates** | **Array&lt;String&gt;** | The certificate chain. Required when tokenRequestor is APPLE. The first element of array is the leaf certificate and the last should be the root certificate. There can be 0 or several sub certificates inbetween the first element of array and the last. All certificates are of type string (base64 encoded of DER format) | [optional]
7
7
  **nonce** | **String** | The nonce as provided by the Apple SDK. Required when tokenRequestor is APPLE | [optional]
8
8
  **nonce_signature** | **String** | The nonce signature as provided by the Apple SDK. Required when tokenRequestor is APPLE | [optional]
9
9
 
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
6
6
  **id** | **Integer** | Merchant ID Group&#39;s id | [optional]
7
7
  **name** | **String** | Merchant ID Group&#39;s name | [optional]
8
8
  **is_whitelist** | **BOOLEAN** | determines whether it will be a black or a white list | [optional]
9
- **mcc** | **Array&lt;String&gt;** | Array of Merchant ID | [optional]
9
+ **merchants** | **Array&lt;String&gt;** | Array of Merchant ID | [optional]
10
10
  **status** | **String** | status of the Merchant ID group | [optional]
11
11
  **start_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
12
12
  **created_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
@@ -226,7 +226,6 @@ opts = {
226
226
  access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
227
227
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
228
228
  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).
229
- fields: ["fields_example"], # Array<String> | List of the object's properties you want to pick up.
230
229
  body: TreezorClient::Body7.new # Body7 |
231
230
  }
232
231
 
@@ -247,7 +246,6 @@ Name | Type | Description | Notes
247
246
  **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
248
247
  **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]
249
248
  **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]
250
- **fields** | [**Array&lt;String&gt;**](String.md)| List of the object&#39;s properties you want to pick up. | [optional]
251
249
  **body** | [**Body7**](Body7.md)| | [optional]
252
250
 
253
251
  ### Return type
@@ -293,7 +291,6 @@ opts = {
293
291
  access_tag: "access_tag_example", # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
294
292
  access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
295
293
  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).
296
- fields: ["fields_example"], # Array<String> | List of the object's properties you want to pick up.
297
294
  body: TreezorClient::Body8.new # Body8 |
298
295
  }
299
296
 
@@ -315,7 +312,6 @@ Name | Type | Description | Notes
315
312
  **access_tag** | **String**| Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics). | [optional]
316
313
  **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]
317
314
  **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]
318
- **fields** | [**Array&lt;String&gt;**](String.md)| List of the object&#39;s properties you want to pick up. | [optional]
319
315
  **body** | [**Body8**](Body8.md)| | [optional]
320
316
 
321
317
  ### Return type
data/docs/User.md CHANGED
@@ -49,6 +49,10 @@ Name | Type | Description | Notes
49
49
  **language** | **String** | | [optional]
50
50
  **opt_in_mailing** | **Integer** | | [optional]
51
51
  **sepa_creditor_identifier** | **String** | | [optional]
52
+ **tax_number** | **String** | | [optional]
53
+ **tax_residence** | **String** | | [optional]
54
+ **position** | **String** | | [optional]
55
+ **personal_assets** | **String** | | [optional]
52
56
  **created_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
53
57
  **modified_date** | **String** | Date YYYY-MM-DD HH:MM:SS | [optional]
54
58
  **wallet_count** | **Integer** | | [optional]
data/docs/UserApi.md CHANGED
@@ -296,7 +296,11 @@ opts = {
296
296
  legal_net_income_range: "legal_net_income_range_example", # String | Business net income range (in k€)
297
297
  legal_number_of_employee_range: "legal_number_of_employee_range_example", # String | Business number of employees range
298
298
  effective_beneficiary: 56, # Integer | Business effective beneficiary
299
- language: "language_example" # String | User's prefered language (ISO 639-1)
299
+ language: "language_example", # String | User's prefered language (ISO 639-1)
300
+ tax_number: "tax_number_example", # String | User's tax identification number. If the taxResidence is not set to FR, the field is mandatory.
301
+ tax_residence: "tax_residence_example", # String | User's tax residence country code (2 char code following ISO 3166 norm).
302
+ position: "position_example", # String | User's position.
303
+ personal_assets: "personal_assets_example" # String | User's personal assets range exprimed in K€.
300
304
  }
301
305
 
302
306
  begin
@@ -350,6 +354,10 @@ Name | Type | Description | Notes
350
354
  **legal_number_of_employee_range** | **String**| Business number of employees range | [optional]
351
355
  **effective_beneficiary** | **Integer**| Business effective beneficiary | [optional]
352
356
  **language** | **String**| User&#39;s prefered language (ISO 639-1) | [optional]
357
+ **tax_number** | **String**| User&#39;s tax identification number. If the taxResidence is not set to FR, the field is mandatory. | [optional]
358
+ **tax_residence** | **String**| User&#39;s tax residence country code (2 char code following ISO 3166 norm). | [optional]
359
+ **position** | **String**| User&#39;s position. | [optional]
360
+ **personal_assets** | **String**| User&#39;s personal assets range exprimed in K€. | [optional]
353
361
 
354
362
  ### Return type
355
363
 
@@ -403,8 +411,8 @@ opts = {
403
411
  lastname: "lastname_example", # String | User's last name
404
412
  middle_names: "middle_names_example", # String | User's middle names
405
413
  birthday: "birthday_example", # String | User's birth date. Format YYYY-MM-DD
406
- address1: "address1_example", # String | User's postal address (main)
407
- address2: "address2_example", # String | User's postal address (complement)
414
+ address1: "address1_example", # String | User's postal address (main). Can not contain carriage return.
415
+ address2: "address2_example", # String | User's postal address (complement). Can not contain carriage return.
408
416
  postcode: "postcode_example", # String | User's postcode
409
417
  city: "city_example", # String | User's city
410
418
  state: "state_example", # String | User's state
@@ -428,7 +436,11 @@ opts = {
428
436
  legal_net_income_range: "legal_net_income_range_example", # String | Business net income range (in k€)
429
437
  legal_number_of_employee_range: "legal_number_of_employee_range_example", # String | Business number of employees range
430
438
  effective_beneficiary: 56, # Integer | Business effective beneficiary
431
- language: "language_example" # String | User's prefered language (ISO 639-1)
439
+ language: "language_example", # String | User's prefered language (ISO 639-1)
440
+ 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.
441
+ tax_residence: "tax_residence_example", # String | User's tax residence country code (2 char code following ISO 3166 norm).
442
+ position: "position_example", # String | User's position.
443
+ personal_assets: "personal_assets_example" # String | User's personal assets range exprimed in K€.
432
444
  }
433
445
 
434
446
  begin
@@ -458,8 +470,8 @@ Name | Type | Description | Notes
458
470
  **lastname** | **String**| User&#39;s last name | [optional]
459
471
  **middle_names** | **String**| User&#39;s middle names | [optional]
460
472
  **birthday** | **String**| User&#39;s birth date. Format YYYY-MM-DD | [optional]
461
- **address1** | **String**| User&#39;s postal address (main) | [optional]
462
- **address2** | **String**| User&#39;s postal address (complement) | [optional]
473
+ **address1** | **String**| User&#39;s postal address (main). Can not contain carriage return. | [optional]
474
+ **address2** | **String**| User&#39;s postal address (complement). Can not contain carriage return. | [optional]
463
475
  **postcode** | **String**| User&#39;s postcode | [optional]
464
476
  **city** | **String**| User&#39;s city | [optional]
465
477
  **state** | **String**| User&#39;s state | [optional]
@@ -484,6 +496,10 @@ Name | Type | Description | Notes
484
496
  **legal_number_of_employee_range** | **String**| Business number of employees range | [optional]
485
497
  **effective_beneficiary** | **Integer**| Business effective beneficiary | [optional]
486
498
  **language** | **String**| User&#39;s prefered language (ISO 639-1) | [optional]
499
+ **tax_number** | **String**| User&#39;s tax identification number. If the taxResidence is set to another country than France, the field is mandatory. | [optional]
500
+ **tax_residence** | **String**| User&#39;s tax residence country code (2 char code following ISO 3166 norm). | [optional]
501
+ **position** | **String**| User&#39;s position. | [optional]
502
+ **personal_assets** | **String**| User&#39;s personal assets range exprimed in K€. | [optional]
487
503
 
488
504
  ### Return type
489
505
 
@@ -93,6 +93,7 @@ module TreezorClient
93
93
  # @param [Hash] opts the optional parameters
94
94
  # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
95
95
  # @option opts [String] :card_tag Custom field
96
+ # @option opts [String] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
96
97
  # @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
97
98
  # @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
98
99
  # @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
@@ -103,6 +104,7 @@ module TreezorClient
103
104
  # @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
104
105
  # @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
105
106
  # @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
107
+ # @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \&quot;.\&quot;. No default value.
106
108
  # @option opts [String] :pin Card&#39;s PIN code value.
107
109
  # @option opts [Integer] :anonymous Card is anonymous. If value is 1 there will be no embossed name.
108
110
  # @option opts [Integer] :send_to_parent If you put the value 1 the delivery address will be the parent user&#39;s.
@@ -127,6 +129,7 @@ module TreezorClient
127
129
  # @param [Hash] opts the optional parameters
128
130
  # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
129
131
  # @option opts [String] :card_tag Custom field
132
+ # @option opts [String] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
130
133
  # @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
131
134
  # @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
132
135
  # @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
@@ -137,6 +140,7 @@ module TreezorClient
137
140
  # @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
138
141
  # @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
139
142
  # @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
143
+ # @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \&quot;.\&quot;. No default value.
140
144
  # @option opts [String] :pin Card&#39;s PIN code value.
141
145
  # @option opts [Integer] :anonymous Card is anonymous. If value is 1 there will be no embossed name.
142
146
  # @option opts [Integer] :send_to_parent If you put the value 1 the delivery address will be the parent user&#39;s.
@@ -178,6 +182,7 @@ module TreezorClient
178
182
  query_params[:'cardPrint'] = card_print
179
183
  query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
180
184
  query_params[:'cardTag'] = opts[:'card_tag'] if !opts[:'card_tag'].nil?
185
+ query_params[:'batchDeliveryId'] = opts[:'batch_delivery_id'] if !opts[:'batch_delivery_id'].nil?
181
186
  query_params[:'limitAtmYear'] = opts[:'limit_atm_year'] if !opts[:'limit_atm_year'].nil?
182
187
  query_params[:'limitAtmMonth'] = opts[:'limit_atm_month'] if !opts[:'limit_atm_month'].nil?
183
188
  query_params[:'limitAtmWeek'] = opts[:'limit_atm_week'] if !opts[:'limit_atm_week'].nil?
@@ -188,6 +193,7 @@ module TreezorClient
188
193
  query_params[:'limitPaymentWeek'] = opts[:'limit_payment_week'] if !opts[:'limit_payment_week'].nil?
189
194
  query_params[:'limitPaymentDay'] = opts[:'limit_payment_day'] if !opts[:'limit_payment_day'].nil?
190
195
  query_params[:'limitPaymentAll'] = opts[:'limit_payment_all'] if !opts[:'limit_payment_all'].nil?
196
+ query_params[:'paymentDailyLimit'] = opts[:'payment_daily_limit'] if !opts[:'payment_daily_limit'].nil?
191
197
  query_params[:'pin'] = opts[:'pin'] if !opts[:'pin'].nil?
192
198
  query_params[:'anonymous'] = opts[:'anonymous'] if !opts[:'anonymous'].nil?
193
199
  query_params[:'sendToParent'] = opts[:'send_to_parent'] if !opts[:'send_to_parent'].nil?
@@ -664,6 +670,7 @@ module TreezorClient
664
670
  # @option opts [Integer] :limit_payment_week Payment week limit
665
671
  # @option opts [Integer] :limit_payment_day Payment day limit
666
672
  # @option opts [Integer] :limit_payment_all Payment from beginning limit
673
+ # @option opts [Float] :payment_daily_limit Payment day limit including cents. The decimal delimiter must be \&quot;.\&quot;
667
674
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
668
675
  # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
669
676
  # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
@@ -688,6 +695,7 @@ module TreezorClient
688
695
  # @option opts [Integer] :limit_payment_week Payment week limit
689
696
  # @option opts [Integer] :limit_payment_day Payment day limit
690
697
  # @option opts [Integer] :limit_payment_all Payment from beginning limit
698
+ # @option opts [Float] :payment_daily_limit Payment day limit including cents. The decimal delimiter must be \&quot;.\&quot;
691
699
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
692
700
  # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
693
701
  # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
@@ -716,6 +724,7 @@ module TreezorClient
716
724
  query_params[:'limitPaymentWeek'] = opts[:'limit_payment_week'] if !opts[:'limit_payment_week'].nil?
717
725
  query_params[:'limitPaymentDay'] = opts[:'limit_payment_day'] if !opts[:'limit_payment_day'].nil?
718
726
  query_params[:'limitPaymentAll'] = opts[:'limit_payment_all'] if !opts[:'limit_payment_all'].nil?
727
+ query_params[:'paymentDailyLimit'] = opts[:'payment_daily_limit'] if !opts[:'payment_daily_limit'].nil?
719
728
  query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
720
729
  query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
721
730
  query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
@@ -1187,6 +1196,7 @@ module TreezorClient
1187
1196
  # @param card_print Card appearance code, also used to choose the program ID of the card
1188
1197
  # @param [Hash] opts the optional parameters
1189
1198
  # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
1199
+ # @option opts [String] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
1190
1200
  # @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
1191
1201
  # @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
1192
1202
  # @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
@@ -1197,6 +1207,7 @@ module TreezorClient
1197
1207
  # @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
1198
1208
  # @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
1199
1209
  # @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
1210
+ # @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \&quot;.\&quot;. No default value.
1200
1211
  # @option opts [String] :pin Card&#39;s PIN code value. Default random PIN.
1201
1212
  # @option opts [Integer] :anonymous Card is anonymous. If value is 1 there will be no embossed name.
1202
1213
  # @option opts [Integer] :send_to_parent If you put the value 1 the delivery address will be the parent user&#39;s.
@@ -1221,6 +1232,7 @@ module TreezorClient
1221
1232
  # @param card_print Card appearance code, also used to choose the program ID of the card
1222
1233
  # @param [Hash] opts the optional parameters
1223
1234
  # @option opts [String] :access_signature Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
1235
+ # @option opts [String] :batch_delivery_id Batch regroupement identifier (must be between 1 and 238327) NOT YET OPERATIONAL
1224
1236
  # @option opts [Integer] :limit_atm_year ATM operations limit for a sliding year. No default value.
1225
1237
  # @option opts [Integer] :limit_atm_month ATM operations limit for a sliding month. No default value.
1226
1238
  # @option opts [Integer] :limit_atm_week ATM operations limit for a sliding week. Default value 2000€.
@@ -1231,6 +1243,7 @@ module TreezorClient
1231
1243
  # @option opts [Integer] :limit_payment_week POS operations limit for a sliding week. Default value 3000€.
1232
1244
  # @option opts [Integer] :limit_payment_day POS operations limit for a single day. Default value 2000€.
1233
1245
  # @option opts [Integer] :limit_payment_all POS operations limit from beginning. No default value.
1246
+ # @option opts [Float] :payment_daily_limit POS operations limit for a single day including cents. The decimal delimiter must be \&quot;.\&quot;. No default value.
1234
1247
  # @option opts [String] :pin Card&#39;s PIN code value. Default random PIN.
1235
1248
  # @option opts [Integer] :anonymous Card is anonymous. If value is 1 there will be no embossed name.
1236
1249
  # @option opts [Integer] :send_to_parent If you put the value 1 the delivery address will be the parent user&#39;s.
@@ -1276,6 +1289,7 @@ module TreezorClient
1276
1289
  query_params[:'cardTag'] = card_tag
1277
1290
  query_params[:'cardPrint'] = card_print
1278
1291
  query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
1292
+ query_params[:'batchDeliveryId'] = opts[:'batch_delivery_id'] if !opts[:'batch_delivery_id'].nil?
1279
1293
  query_params[:'limitAtmYear'] = opts[:'limit_atm_year'] if !opts[:'limit_atm_year'].nil?
1280
1294
  query_params[:'limitAtmMonth'] = opts[:'limit_atm_month'] if !opts[:'limit_atm_month'].nil?
1281
1295
  query_params[:'limitAtmWeek'] = opts[:'limit_atm_week'] if !opts[:'limit_atm_week'].nil?
@@ -1286,6 +1300,7 @@ module TreezorClient
1286
1300
  query_params[:'limitPaymentWeek'] = opts[:'limit_payment_week'] if !opts[:'limit_payment_week'].nil?
1287
1301
  query_params[:'limitPaymentDay'] = opts[:'limit_payment_day'] if !opts[:'limit_payment_day'].nil?
1288
1302
  query_params[:'limitPaymentAll'] = opts[:'limit_payment_all'] if !opts[:'limit_payment_all'].nil?
1303
+ query_params[:'paymentDailyLimit'] = opts[:'payment_daily_limit'] if !opts[:'payment_daily_limit'].nil?
1289
1304
  query_params[:'pin'] = opts[:'pin'] if !opts[:'pin'].nil?
1290
1305
  query_params[:'anonymous'] = opts[:'anonymous'] if !opts[:'anonymous'].nil?
1291
1306
  query_params[:'sendToParent'] = opts[:'send_to_parent'] if !opts[:'send_to_parent'].nil?
@@ -76,25 +76,25 @@ module TreezorClient
76
76
 
77
77
  # query parameters
78
78
  query_params = {}
79
- query_params[:'userId'] = user_id
80
- query_params[:'documentTypeId'] = document_type_id
81
- query_params[:'name'] = name
82
- query_params[:'fileContentBase64'] = file_content_base64
83
- query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
84
- query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
85
- query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
86
- query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
87
- query_params[:'documentTag'] = opts[:'document_tag'] if !opts[:'document_tag'].nil?
88
79
 
89
80
  # header parameters
90
81
  header_params = {}
91
82
  # HTTP header 'Accept' (if needed)
92
83
  header_params['Accept'] = @api_client.select_header_accept(['application/json'])
93
84
  # HTTP header 'Content-Type'
94
- header_params['Content-Type'] = @api_client.select_header_content_type(['application/json'])
85
+ header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
95
86
 
96
87
  # form parameters
97
88
  form_params = {}
89
+ form_params["userId"] = user_id
90
+ form_params["documentTypeId"] = document_type_id
91
+ form_params["name"] = name
92
+ form_params["fileContentBase64"] = file_content_base64
93
+ form_params["accessSignature"] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
94
+ form_params["accessTag"] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
95
+ form_params["accessUserId"] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
96
+ form_params["accessUserIp"] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
97
+ form_params["documentTag"] = opts[:'document_tag'] if !opts[:'document_tag'].nil?
98
98
 
99
99
  # http body (model)
100
100
  post_body = nil
@@ -222,7 +222,6 @@ module TreezorClient
222
222
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
223
223
  # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
224
224
  # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
225
- # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
226
225
  # @option opts [Body7] :body
227
226
  # @return [InlineResponse20014]
228
227
  def post_merchant_id_restriction_group(opts = {})
@@ -237,7 +236,6 @@ module TreezorClient
237
236
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
238
237
  # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
239
238
  # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
240
- # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
241
239
  # @option opts [Body7] :body
242
240
  # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
243
241
  def post_merchant_id_restriction_group_with_http_info(opts = {})
@@ -253,7 +251,6 @@ module TreezorClient
253
251
  query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
254
252
  query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
255
253
  query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
256
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
257
254
 
258
255
  # header parameters
259
256
  header_params = {}
@@ -289,7 +286,6 @@ module TreezorClient
289
286
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
290
287
  # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
291
288
  # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
292
- # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
293
289
  # @option opts [Body8] :body
294
290
  # @return [InlineResponse20014]
295
291
  def put_merchant_id_restriction_groups(id, opts = {})
@@ -305,7 +301,6 @@ module TreezorClient
305
301
  # @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
306
302
  # @option opts [Integer] :access_user_id Access user&#39;s id is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
307
303
  # @option opts [String] :access_user_ip Access user&#39;s ip is used for user&#39;s action restriction. More info [here](https://agent.treezor.com/basics).
308
- # @option opts [Array<String>] :fields List of the object&#39;s properties you want to pick up.
309
304
  # @option opts [Body8] :body
310
305
  # @return [Array<(InlineResponse20014, Fixnum, Hash)>] InlineResponse20014 data, response status code and response headers
311
306
  def put_merchant_id_restriction_groups_with_http_info(id, opts = {})
@@ -325,7 +320,6 @@ module TreezorClient
325
320
  query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
326
321
  query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
327
322
  query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
328
- query_params[:'fields'] = @api_client.build_collection_param(opts[:'fields'], :csv) if !opts[:'fields'].nil?
329
323
 
330
324
  # header parameters
331
325
  header_params = {}