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.
- checksums.yaml +4 -4
- data/Gemfile +1 -5
- data/Gemfile.lock +4 -6
- data/README.md +19 -5
- data/config.json +10 -0
- data/docs/BalanceApi.md +8 -8
- data/docs/BankaccountApi.md +30 -30
- data/docs/BeneficiariesApi.md +30 -30
- data/docs/Beneficiary.md +1 -0
- data/docs/BusinessApi.md +26 -26
- data/docs/Card.md +2 -2
- data/docs/CardApi.md +209 -150
- data/docs/CardDigitalization.md +1 -3
- data/docs/CardDigitalizationsApi.md +73 -16
- data/docs/CardReserveApi.md +24 -24
- data/docs/CardtransactionApi.md +16 -14
- data/docs/CountryRestrictionGroup.md +14 -0
- data/docs/CountryRestrictionGroupsApi.md +40 -40
- data/docs/Document.md +1 -0
- data/docs/DocumentApi.md +46 -44
- data/docs/HeartbeatApi.md +8 -8
- data/docs/InlineResponse20010Cardtransactions.md +3 -3
- data/docs/InlineResponse20011.md +1 -1
- data/docs/InlineResponse20011Cardtransactions.md +58 -0
- data/docs/InlineResponse20012.md +1 -1
- data/docs/InlineResponse20013.md +1 -1
- data/docs/InlineResponse20014.md +1 -1
- data/docs/InlineResponse20015.md +1 -1
- data/docs/InlineResponse20016.md +1 -1
- data/docs/InlineResponse20017.md +1 -1
- data/docs/InlineResponse20018.md +1 -1
- data/docs/InlineResponse20019.md +1 -1
- data/docs/InlineResponse20020.md +1 -1
- data/docs/InlineResponse20021.md +1 -1
- data/docs/InlineResponse20022.md +1 -1
- data/docs/InlineResponse20023.md +1 -1
- data/docs/InlineResponse20024.md +1 -1
- data/docs/InlineResponse20025.md +1 -1
- data/docs/InlineResponse20026.md +8 -0
- data/docs/InlineResponse20027.md +8 -0
- data/docs/InlineResponse20028.md +8 -0
- data/docs/InlineResponse2005Businessinformations.md +2 -2
- data/docs/IssuerInitiatedDigitizationDataApi.md +22 -22
- data/docs/MandateApi.md +50 -50
- data/docs/MccRestrictionGroupsApi.md +40 -40
- data/docs/MerchantIdRestrictionGroupsApi.md +40 -40
- data/docs/PayinApi.md +38 -38
- data/docs/PayinrefundApi.md +38 -38
- data/docs/PayoutApi.md +38 -38
- data/docs/PayoutRefund.md +22 -0
- data/docs/PayoutRefundsApi.md +82 -0
- data/docs/TaxResidence.md +15 -0
- data/docs/TaxResidenceApi.md +319 -0
- data/docs/TransactionApi.md +22 -22
- data/docs/TransferApi.md +42 -42
- data/docs/TransferrefundApi.md +42 -42
- data/docs/User.md +3 -0
- data/docs/UserApi.md +104 -85
- data/docs/VirtualibansApi.md +46 -46
- data/docs/WalletApi.md +84 -84
- data/lib/treezor_client/api/balance_api.rb +8 -8
- data/lib/treezor_client/api/bankaccount_api.rb +30 -30
- data/lib/treezor_client/api/beneficiaries_api.rb +30 -30
- data/lib/treezor_client/api/business_api.rb +26 -26
- data/lib/treezor_client/api/card_api.rb +209 -154
- data/lib/treezor_client/api/card_digitalizations_api.rb +82 -16
- data/lib/treezor_client/api/card_reserve_api.rb +24 -24
- data/lib/treezor_client/api/cardtransaction_api.rb +18 -15
- data/lib/treezor_client/api/country_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/document_api.rb +64 -57
- data/lib/treezor_client/api/heartbeat_api.rb +8 -8
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +22 -22
- data/lib/treezor_client/api/mandate_api.rb +58 -58
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +45 -45
- data/lib/treezor_client/api/payin_api.rb +42 -42
- data/lib/treezor_client/api/payinrefund_api.rb +42 -42
- data/lib/treezor_client/api/payout_api.rb +42 -42
- data/lib/treezor_client/api/payout_refunds_api.rb +102 -0
- data/lib/treezor_client/api/tax_residence_api.rb +319 -0
- data/lib/treezor_client/api/transaction_api.rb +24 -24
- data/lib/treezor_client/api/transfer_api.rb +46 -46
- data/lib/treezor_client/api/transferrefund_api.rb +46 -46
- data/lib/treezor_client/api/user_api.rb +124 -93
- data/lib/treezor_client/api/virtualibans_api.rb +50 -50
- data/lib/treezor_client/api/wallet_api.rb +89 -89
- data/lib/treezor_client/models/beneficiary.rb +11 -1
- data/lib/treezor_client/models/card.rb +2 -2
- data/lib/treezor_client/models/card_digitalization.rb +3 -20
- data/lib/treezor_client/models/country_restriction_group.rb +284 -0
- data/lib/treezor_client/models/document.rb +10 -1
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +3 -3
- data/lib/treezor_client/models/inline_response_200_11.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +642 -0
- data/lib/treezor_client/models/inline_response_200_12.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_13.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_14.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_15.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_16.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_17.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_18.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_19.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_20.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_21.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_22.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_23.rb +1 -1
- data/lib/treezor_client/models/inline_response_200_24.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_25.rb +8 -8
- data/lib/treezor_client/models/inline_response_200_26.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_27.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_28.rb +190 -0
- data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +2 -2
- data/lib/treezor_client/models/payout_refund.rb +347 -0
- data/lib/treezor_client/models/tax_residence.rb +259 -0
- data/lib/treezor_client/models/user.rb +28 -1
- data/lib/treezor_client/version.rb +1 -1
- data/lib/treezor_client.rb +9 -1
- data/pkg/treezor_client-1.0.0.gem +0 -0
- data/pkg/treezor_client-1.1.0.gem +0 -0
- data/pkg/treezor_client-1.2.0.gem +0 -0
- data/spec/api/balance_api_spec.rb +4 -4
- data/spec/api/bankaccount_api_spec.rb +15 -15
- data/spec/api/beneficiaries_api_spec.rb +15 -15
- data/spec/api/business_api_spec.rb +13 -13
- data/spec/api/card_api_spec.rb +93 -75
- data/spec/api/card_digitalizations_api_spec.rb +19 -6
- data/spec/api/card_reserve_api_spec.rb +12 -12
- data/spec/api/cardtransaction_api_spec.rb +8 -7
- data/spec/api/country_restriction_groups_api_spec.rb +20 -20
- data/spec/api/document_api_spec.rb +22 -21
- data/spec/api/heartbeat_api_spec.rb +4 -4
- data/spec/api/issuer_initiated_digitization_data_api_spec.rb +11 -11
- data/spec/api/mandate_api_spec.rb +26 -26
- data/spec/api/mcc_restriction_groups_api_spec.rb +20 -20
- data/spec/api/merchant_id_restriction_groups_api_spec.rb +20 -22
- data/spec/api/payin_api_spec.rb +19 -19
- data/spec/api/payinrefund_api_spec.rb +19 -19
- data/spec/api/payout_api_spec.rb +19 -19
- data/spec/api/payout_refunds_api_spec.rb +56 -0
- data/spec/api/tax_residence_api_spec.rb +108 -0
- data/spec/api/transaction_api_spec.rb +11 -11
- data/spec/api/transfer_api_spec.rb +21 -21
- data/spec/api/transferrefund_api_spec.rb +21 -21
- data/spec/api/user_api_spec.rb +58 -41
- data/spec/api/virtualibans_api_spec.rb +23 -23
- data/spec/api/wallet_api_spec.rb +42 -42
- data/spec/models/beneficiary_spec.rb +6 -0
- data/spec/models/card_digitalization_spec.rb +0 -12
- data/spec/models/card_spec.rb +6 -0
- data/spec/models/country_restriction_group_spec.rb +82 -0
- data/spec/models/document_spec.rb +6 -0
- data/spec/models/inline_response_200_11_cardtransactions_spec.rb +342 -0
- data/spec/models/inline_response_200_11_spec.rb +1 -1
- data/spec/models/inline_response_200_12_spec.rb +1 -1
- data/spec/models/inline_response_200_13_spec.rb +1 -1
- data/spec/models/inline_response_200_16_spec.rb +1 -1
- data/spec/models/inline_response_200_17_spec.rb +1 -1
- data/spec/models/inline_response_200_18_spec.rb +1 -1
- data/spec/models/inline_response_200_19_spec.rb +1 -1
- data/spec/models/inline_response_200_20_spec.rb +1 -1
- data/spec/models/inline_response_200_21_spec.rb +1 -1
- data/spec/models/inline_response_200_22_spec.rb +1 -1
- data/spec/models/inline_response_200_24_spec.rb +1 -1
- data/spec/models/inline_response_200_25_spec.rb +1 -1
- data/spec/models/inline_response_200_26_spec.rb +42 -0
- data/spec/models/inline_response_200_27_spec.rb +42 -0
- data/spec/models/inline_response_200_28_spec.rb +42 -0
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_spec.rb +1 -1
- data/spec/models/merchant_id_restriction_group_spec.rb +1 -1
- data/spec/models/payout_refund_spec.rb +130 -0
- data/spec/models/tax_residence_spec.rb +84 -0
- data/spec/models/user_spec.rb +42 -0
- data/treezor_api_spec.yaml +1841 -1207
- data/treezor_client.gemspec +1 -3
- metadata +45 -9
- data/spec/models/card_digitalization_details_from_gps_spec.rb +0 -234
- data/spec/models/issuer_initiated_digitization_datas_additionnal_data_ecc_public_certificates_spec.rb +0 -54
@@ -25,11 +25,11 @@ module TreezorClient
|
|
25
25
|
# @param id User's ID
|
26
26
|
# @param origin Origin of the request. Possible values: * OPERATOR * USER
|
27
27
|
# @param [Hash] opts the optional parameters
|
28
|
-
# @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).
|
29
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
30
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
31
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
32
|
-
# @return [
|
28
|
+
# @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).
|
29
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
30
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
31
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
32
|
+
# @return [InlineResponse20026]
|
33
33
|
def delete_user(id, origin, opts = {})
|
34
34
|
data, _status_code, _headers = delete_user_with_http_info(id, origin, opts)
|
35
35
|
return data
|
@@ -40,11 +40,11 @@ module TreezorClient
|
|
40
40
|
# @param id User's ID
|
41
41
|
# @param origin Origin of the request. Possible values: * OPERATOR * USER
|
42
42
|
# @param [Hash] opts the optional parameters
|
43
|
-
# @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).
|
44
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
45
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
46
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
47
|
-
# @return [Array<(
|
43
|
+
# @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).
|
44
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
45
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
46
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
47
|
+
# @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
|
48
48
|
def delete_user_with_http_info(id, origin, opts = {})
|
49
49
|
if @api_client.config.debugging
|
50
50
|
@api_client.config.logger.debug "Calling API: UserApi.delete_user ..."
|
@@ -87,7 +87,7 @@ module TreezorClient
|
|
87
87
|
:form_params => form_params,
|
88
88
|
:body => post_body,
|
89
89
|
:auth_names => auth_names,
|
90
|
-
:return_type => '
|
90
|
+
:return_type => 'InlineResponse20026')
|
91
91
|
if @api_client.config.debugging
|
92
92
|
@api_client.config.logger.debug "API called: UserApi#delete_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
93
93
|
end
|
@@ -98,11 +98,11 @@ module TreezorClient
|
|
98
98
|
# Get user's information for given user's id.
|
99
99
|
# @param id User's ID
|
100
100
|
# @param [Hash] opts the optional parameters
|
101
|
-
# @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).
|
102
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
103
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
104
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
105
|
-
# @return [
|
101
|
+
# @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).
|
102
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
103
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
104
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
105
|
+
# @return [InlineResponse20026]
|
106
106
|
def get_user(id, opts = {})
|
107
107
|
data, _status_code, _headers = get_user_with_http_info(id, opts)
|
108
108
|
return data
|
@@ -112,11 +112,11 @@ module TreezorClient
|
|
112
112
|
# Get user's information for given user's id.
|
113
113
|
# @param id User's ID
|
114
114
|
# @param [Hash] opts the optional parameters
|
115
|
-
# @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).
|
116
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
117
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
118
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
119
|
-
# @return [Array<(
|
115
|
+
# @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).
|
116
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
117
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
118
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
119
|
+
# @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
|
120
120
|
def get_user_with_http_info(id, opts = {})
|
121
121
|
if @api_client.config.debugging
|
122
122
|
@api_client.config.logger.debug "Calling API: UserApi.get_user ..."
|
@@ -154,7 +154,7 @@ module TreezorClient
|
|
154
154
|
:form_params => form_params,
|
155
155
|
:body => post_body,
|
156
156
|
:auth_names => auth_names,
|
157
|
-
:return_type => '
|
157
|
+
:return_type => 'InlineResponse20026')
|
158
158
|
if @api_client.config.debugging
|
159
159
|
@api_client.config.logger.debug "API called: UserApi#get_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
160
160
|
end
|
@@ -164,27 +164,30 @@ module TreezorClient
|
|
164
164
|
# search users
|
165
165
|
# Get users from the system.
|
166
166
|
# @param [Hash] opts the optional parameters
|
167
|
-
# @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).
|
168
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
169
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
170
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
167
|
+
# @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).
|
168
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
169
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
170
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
171
171
|
# @option opts [Integer] :user_id User's unique ID
|
172
172
|
# @option opts [Integer] :user_type_id User's type.
|
173
173
|
# @option opts [String] :user_status User's status.
|
174
174
|
# @option opts [String] :user_tag Custom data that you can add to this item.
|
175
|
+
# @option opts [Integer] :specified_us_person Est considéré comme ayant la nationalité ou la citoyenneté américaine : Tout citoyen des États-Unis : une personne est présumée citoyen des Etats-Unis dès lors qu’elle possède un passeport américain ou qu’elle est née sur le territoire des Etats-Unis, même lorsqu’un tel lieu de naissance figure sur un passeport d’un autre pays, ou que la personne possède également une autre nationalité ou a sa résidence dans un autre pays. Une condition néanmoins : la personne ne doit pas avoir renoncé à la citoyenneté américaine ; • Tout résident légal des États-Unis, quelle que soit sa nationalité : (i) quiconque est considéré comme résident fiscal aux Etats-Unis aux termes de la loi fédérale américaine, (ii) quiconque demande à être traité comme résident fiscal aux Etats-Unis, ou (iii) quiconque est considéré comme résident fiscal aux termes de la loi de cet Etat américain. • Toute personne titulaire d’une carte de séjour permanent (green card) aux Etats-Unis ou résidant de façon permanente aux Etats-Unis ou y ayant passé une période suffisamment longue au cours des trois dernières années.
|
176
|
+
# @option opts [Integer] :controlling_person_type Type of relationship
|
177
|
+
# @option opts [Integer] :employee_type Type of user's role
|
175
178
|
# @option opts [String] :email User's email address (must be valid).
|
176
179
|
# @option opts [String] :name User's Name.
|
177
180
|
# @option opts [String] :legal_name Business name
|
178
181
|
# @option opts [String] :parent_user_id User id of user's parent
|
179
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
180
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
182
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
183
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
181
184
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value: createdDate. More info [here](https://agent.treezor.com/lists).
|
182
185
|
# @option opts [String] :sort_order 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).
|
183
186
|
# @option opts [DateTime] :created_date_from 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)
|
184
|
-
# @option opts [DateTime] :created_date_to 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)
|
185
|
-
# @option opts [DateTime] :updated_date_from 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)
|
186
|
-
# @option opts [DateTime] :updated_date_to 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)
|
187
|
-
# @return [
|
187
|
+
# @option opts [DateTime] :created_date_to 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)
|
188
|
+
# @option opts [DateTime] :updated_date_from 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)
|
189
|
+
# @option opts [DateTime] :updated_date_to 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)
|
190
|
+
# @return [InlineResponse20026]
|
188
191
|
def get_users(opts = {})
|
189
192
|
data, _status_code, _headers = get_users_with_http_info(opts)
|
190
193
|
return data
|
@@ -193,27 +196,30 @@ module TreezorClient
|
|
193
196
|
# search users
|
194
197
|
# Get users from the system.
|
195
198
|
# @param [Hash] opts the optional parameters
|
196
|
-
# @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).
|
197
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
198
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
199
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
199
|
+
# @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).
|
200
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
201
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
202
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
200
203
|
# @option opts [Integer] :user_id User's unique ID
|
201
204
|
# @option opts [Integer] :user_type_id User's type.
|
202
205
|
# @option opts [String] :user_status User's status.
|
203
206
|
# @option opts [String] :user_tag Custom data that you can add to this item.
|
207
|
+
# @option opts [Integer] :specified_us_person Est considéré comme ayant la nationalité ou la citoyenneté américaine : Tout citoyen des États-Unis : une personne est présumée citoyen des Etats-Unis dès lors qu’elle possède un passeport américain ou qu’elle est née sur le territoire des Etats-Unis, même lorsqu’un tel lieu de naissance figure sur un passeport d’un autre pays, ou que la personne possède également une autre nationalité ou a sa résidence dans un autre pays. Une condition néanmoins : la personne ne doit pas avoir renoncé à la citoyenneté américaine ; • Tout résident légal des États-Unis, quelle que soit sa nationalité : (i) quiconque est considéré comme résident fiscal aux Etats-Unis aux termes de la loi fédérale américaine, (ii) quiconque demande à être traité comme résident fiscal aux Etats-Unis, ou (iii) quiconque est considéré comme résident fiscal aux termes de la loi de cet Etat américain. • Toute personne titulaire d’une carte de séjour permanent (green card) aux Etats-Unis ou résidant de façon permanente aux Etats-Unis ou y ayant passé une période suffisamment longue au cours des trois dernières années.
|
208
|
+
# @option opts [Integer] :controlling_person_type Type of relationship
|
209
|
+
# @option opts [Integer] :employee_type Type of user's role
|
204
210
|
# @option opts [String] :email User's email address (must be valid).
|
205
211
|
# @option opts [String] :name User's Name.
|
206
212
|
# @option opts [String] :legal_name Business name
|
207
213
|
# @option opts [String] :parent_user_id User id of user's parent
|
208
|
-
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
209
|
-
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
214
|
+
# @option opts [Integer] :page_number Pagination page number. More info [here](https://agent.treezor.com/lists).
|
215
|
+
# @option opts [Integer] :page_count The number of items per page. More info [here](https://agent.treezor.com/lists).
|
210
216
|
# @option opts [String] :sort_by The transaction element you want to sort the list with. Default value: createdDate. More info [here](https://agent.treezor.com/lists).
|
211
217
|
# @option opts [String] :sort_order 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).
|
212
218
|
# @option opts [DateTime] :created_date_from 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)
|
213
|
-
# @option opts [DateTime] :created_date_to 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)
|
214
|
-
# @option opts [DateTime] :updated_date_from 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)
|
215
|
-
# @option opts [DateTime] :updated_date_to 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)
|
216
|
-
# @return [Array<(
|
219
|
+
# @option opts [DateTime] :created_date_to 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)
|
220
|
+
# @option opts [DateTime] :updated_date_from 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)
|
221
|
+
# @option opts [DateTime] :updated_date_to 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)
|
222
|
+
# @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
|
217
223
|
def get_users_with_http_info(opts = {})
|
218
224
|
if @api_client.config.debugging
|
219
225
|
@api_client.config.logger.debug "Calling API: UserApi.get_users ..."
|
@@ -231,6 +237,9 @@ module TreezorClient
|
|
231
237
|
query_params[:'userTypeId'] = opts[:'user_type_id'] if !opts[:'user_type_id'].nil?
|
232
238
|
query_params[:'userStatus'] = opts[:'user_status'] if !opts[:'user_status'].nil?
|
233
239
|
query_params[:'userTag'] = opts[:'user_tag'] if !opts[:'user_tag'].nil?
|
240
|
+
query_params[:'specifiedUSPerson'] = opts[:'specified_us_person'] if !opts[:'specified_us_person'].nil?
|
241
|
+
query_params[:'controllingPersonType'] = opts[:'controlling_person_type'] if !opts[:'controlling_person_type'].nil?
|
242
|
+
query_params[:'employeeType'] = opts[:'employee_type'] if !opts[:'employee_type'].nil?
|
234
243
|
query_params[:'email'] = opts[:'email'] if !opts[:'email'].nil?
|
235
244
|
query_params[:'name'] = opts[:'name'] if !opts[:'name'].nil?
|
236
245
|
query_params[:'legalName'] = opts[:'legal_name'] if !opts[:'legal_name'].nil?
|
@@ -263,7 +272,7 @@ module TreezorClient
|
|
263
272
|
:form_params => form_params,
|
264
273
|
:body => post_body,
|
265
274
|
:auth_names => auth_names,
|
266
|
-
:return_type => '
|
275
|
+
:return_type => 'InlineResponse20026')
|
267
276
|
if @api_client.config.debugging
|
268
277
|
@api_client.config.logger.debug "API called: UserApi#get_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
269
278
|
end
|
@@ -274,11 +283,14 @@ module TreezorClient
|
|
274
283
|
# Update user's information.
|
275
284
|
# @param id User's ID
|
276
285
|
# @param [Hash] opts the optional parameters
|
277
|
-
# @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).
|
278
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
279
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
280
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
286
|
+
# @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).
|
287
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
288
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
289
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
281
290
|
# @option opts [String] :user_tag Custom data.
|
291
|
+
# @option opts [Integer] :specified_us_person Est considÉrÉ comme ayant la nationalitÉ ou la citoyennetÉ amÉricaine : Tout citoyen des États-Unis : une personne est prÉsumÉe citoyen des Etats-Unis dès lors qu’elle possède un passeport amÉricain ou qu’elle est nÉe sur le territoire des Etats-Unis, même lorsqu’un tel lieu de naissance figure sur un passeport d’un autre pays, ou que la personne possède Également une autre nationalitÉ ou a sa rÉsidence dans un autre pays. Une condition nÉanmoins : la personne ne doit pas avoir renoncÉ Ã la citoyennetÉ amÉricaine ; • Tout rÉsident lÉgal des États-Unis, quelle que soit sa nationalitÉ : (i) quiconque est considÉrÉ comme rÉsident fiscal aux Etats-Unis aux termes de la loi fÉdÉrale amÉricaine, (ii) quiconque demande à être traitÉ comme rÉsident fiscal aux Etats-Unis, ou (iii) quiconque est considÉrÉ comme rÉsident fiscal aux termes de la loi de cet Etat amÉricain. • Toute personne titulaire d’une carte de sÉjour permanent (green card) aux Etats-Unis ou rÉsidant de façon permanente aux Etats-Unis ou y ayant passÉ une pÉriode suffisamment longue au cours des trois dernières annÉes. | Value | Type | | --- | --- | | 0 | No | | 1 | Yes |
|
292
|
+
# @option opts [Integer] :controlling_person_type Type of relationship | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) |
|
293
|
+
# @option opts [Integer] :employee_type Type of relationship. Possible values: | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)|
|
282
294
|
# @option opts [String] :title User's title. Possible values: * M * MME * MLLE
|
283
295
|
# @option opts [String] :firstname User's first name
|
284
296
|
# @option opts [String] :lastname User's last name
|
@@ -315,7 +327,7 @@ module TreezorClient
|
|
315
327
|
# @option opts [String] :tax_residence User's tax residence country code (2 char code following ISO 3166 norm).
|
316
328
|
# @option opts [String] :position User's position.
|
317
329
|
# @option opts [String] :personal_assets User's personal assets range exprimed in K€.
|
318
|
-
# @return [
|
330
|
+
# @return [InlineResponse20026]
|
319
331
|
def put_user(id, opts = {})
|
320
332
|
data, _status_code, _headers = put_user_with_http_info(id, opts)
|
321
333
|
return data
|
@@ -325,11 +337,14 @@ module TreezorClient
|
|
325
337
|
# Update user's information.
|
326
338
|
# @param id User's ID
|
327
339
|
# @param [Hash] opts the optional parameters
|
328
|
-
# @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).
|
329
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
330
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
331
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
340
|
+
# @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).
|
341
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
342
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
343
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
332
344
|
# @option opts [String] :user_tag Custom data.
|
345
|
+
# @option opts [Integer] :specified_us_person Est considÉrÉ comme ayant la nationalitÉ ou la citoyennetÉ amÉricaine : Tout citoyen des États-Unis : une personne est prÉsumÉe citoyen des Etats-Unis dès lors qu’elle possède un passeport amÉricain ou qu’elle est nÉe sur le territoire des Etats-Unis, même lorsqu’un tel lieu de naissance figure sur un passeport d’un autre pays, ou que la personne possède Également une autre nationalitÉ ou a sa rÉsidence dans un autre pays. Une condition nÉanmoins : la personne ne doit pas avoir renoncÉ Ã la citoyennetÉ amÉricaine ; • Tout rÉsident lÉgal des États-Unis, quelle que soit sa nationalitÉ : (i) quiconque est considÉrÉ comme rÉsident fiscal aux Etats-Unis aux termes de la loi fÉdÉrale amÉricaine, (ii) quiconque demande à être traitÉ comme rÉsident fiscal aux Etats-Unis, ou (iii) quiconque est considÉrÉ comme rÉsident fiscal aux termes de la loi de cet Etat amÉricain. • Toute personne titulaire d’une carte de sÉjour permanent (green card) aux Etats-Unis ou rÉsidant de façon permanente aux Etats-Unis ou y ayant passÉ une pÉriode suffisamment longue au cours des trois dernières annÉes. | Value | Type | | --- | --- | | 0 | No | | 1 | Yes |
|
346
|
+
# @option opts [Integer] :controlling_person_type Type of relationship | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) |
|
347
|
+
# @option opts [Integer] :employee_type Type of relationship. Possible values: | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)|
|
333
348
|
# @option opts [String] :title User's title. Possible values: * M * MME * MLLE
|
334
349
|
# @option opts [String] :firstname User's first name
|
335
350
|
# @option opts [String] :lastname User's last name
|
@@ -366,7 +381,7 @@ module TreezorClient
|
|
366
381
|
# @option opts [String] :tax_residence User's tax residence country code (2 char code following ISO 3166 norm).
|
367
382
|
# @option opts [String] :position User's position.
|
368
383
|
# @option opts [String] :personal_assets User's personal assets range exprimed in K€.
|
369
|
-
# @return [Array<(
|
384
|
+
# @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
|
370
385
|
def put_user_with_http_info(id, opts = {})
|
371
386
|
if @api_client.config.debugging
|
372
387
|
@api_client.config.logger.debug "Calling API: UserApi.put_user ..."
|
@@ -403,6 +418,9 @@ module TreezorClient
|
|
403
418
|
query_params[:'accessUserId'] = opts[:'access_user_id'] if !opts[:'access_user_id'].nil?
|
404
419
|
query_params[:'accessUserIp'] = opts[:'access_user_ip'] if !opts[:'access_user_ip'].nil?
|
405
420
|
query_params[:'userTag'] = opts[:'user_tag'] if !opts[:'user_tag'].nil?
|
421
|
+
query_params[:'specifiedUSPerson'] = opts[:'specified_us_person'] if !opts[:'specified_us_person'].nil?
|
422
|
+
query_params[:'controllingPersonType'] = opts[:'controlling_person_type'] if !opts[:'controlling_person_type'].nil?
|
423
|
+
query_params[:'employeeType'] = opts[:'employee_type'] if !opts[:'employee_type'].nil?
|
406
424
|
query_params[:'title'] = opts[:'title'] if !opts[:'title'].nil?
|
407
425
|
query_params[:'firstname'] = opts[:'firstname'] if !opts[:'firstname'].nil?
|
408
426
|
query_params[:'lastname'] = opts[:'lastname'] if !opts[:'lastname'].nil?
|
@@ -459,7 +477,7 @@ module TreezorClient
|
|
459
477
|
:form_params => form_params,
|
460
478
|
:body => post_body,
|
461
479
|
:auth_names => auth_names,
|
462
|
-
:return_type => '
|
480
|
+
:return_type => 'InlineResponse20026')
|
463
481
|
if @api_client.config.debugging
|
464
482
|
@api_client.config.logger.debug "API called: UserApi#put_user\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
465
483
|
end
|
@@ -468,16 +486,19 @@ module TreezorClient
|
|
468
486
|
|
469
487
|
# create user
|
470
488
|
# Create a new user in the system.
|
489
|
+
# @param specified_us_person Est considÉrÉ comme ayant la nationalitÉ ou la citoyennetÉ amÉricaine : Tout citoyen des États-Unis : une personne est prÉsumÉe citoyen des Etats-Unis dès lors qu’elle possède un passeport amÉricain ou qu’elle est nÉe sur le territoire des Etats-Unis, même lorsqu’un tel lieu de naissance figure sur un passeport d’un autre pays, ou que la personne possède Également une autre nationalitÉ ou a sa rÉsidence dans un autre pays. Une condition nÉanmoins : la personne ne doit pas avoir renoncÉ Ã la citoyennetÉ amÉricaine ; • Tout rÉsident lÉgal des États-Unis, quelle que soit sa nationalitÉ : (i) quiconque est considÉrÉ comme rÉsident fiscal aux Etats-Unis aux termes de la loi fÉdÉrale amÉricaine, (ii) quiconque demande à être traitÉ comme rÉsident fiscal aux Etats-Unis, ou (iii) quiconque est considÉrÉ comme rÉsident fiscal aux termes de la loi de cet Etat amÉricain. • Toute personne titulaire d’une carte de sÉjour permanent (green card) aux Etats-Unis ou rÉsidant de façon permanente aux Etats-Unis ou y ayant passÉ une pÉriode suffisamment longue au cours des trois dernières annÉes : | Value | Type | | --- | --- | | 0 | No | | 1 | Yes |
|
471
490
|
# @param email User's email address (must be valid).
|
472
491
|
# @param [Hash] opts the optional parameters
|
473
|
-
# @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).
|
474
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
475
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
476
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
492
|
+
# @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).
|
493
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
494
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
495
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
477
496
|
# @option opts [Integer] :user_type_id User's type. Possible values: | Value | Type | | --- | --- | | 1 | Natural person (default)| | 2 | Business entity | | 3 | Non - governmental organization | | 4 | Governmental organization |
|
478
497
|
# @option opts [String] :user_tag Custom data.
|
479
498
|
# @option opts [Integer] :parent_user_id User id of user's parent if any.
|
480
|
-
# @option opts [String] :parent_type Type of bound between parent and current user : * shareholder * employee * leader
|
499
|
+
# @option opts [String] :parent_type Type of bound between parent and current user : * shareholder * employee * leader (deprecated you must use the controllingPersonType and employeeType parameters)
|
500
|
+
# @option opts [Integer] :controlling_person_type Type of relationship : | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) |
|
501
|
+
# @option opts [Integer] :employee_type Type of user's role : | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)|
|
481
502
|
# @option opts [String] :title User's title. Possible values: * M * MME * MLLE
|
482
503
|
# @option opts [String] :firstname User's first name
|
483
504
|
# @option opts [String] :lastname User's last name
|
@@ -504,33 +525,36 @@ module TreezorClient
|
|
504
525
|
# @option opts [String] :legal_form | Code | Category | Details (in french) | | ---- | ----- | ---- | | 1000 | Individual company | Entrepreneur Individuel a Responsabilité Limitée (EIRL) | | 1100 | Individual company | Artisan-Commerçant | | 1200 | Individual company | Commerçant | | 1300 | Individual company | Artisan | | 1400 | Liberal profession | Officier public ou ministériel | | 1500 | Liberal profession | Profession libérale | | 1600 | Farm operator | Exploitant agricole | | 1700 | Liberal profession | Agent commercial | | 1800 | Partner Director | Associé-gérant | | 1900 | Individual company | Personne physique | | 2110 | Indivision and others | Indivision entre personnes physiques | | 2120 | Indivision and others | Indivision avec personne morale | | 2210 | Indivision and others | Société créée de fait entre personnes physiques | | 2220 | Indivision and others | Société créée de fait avec personne morale | | 2310 | Indivision and others | Société en participation entre personnes physiques | | 2320 | Indivision and others | Société en participation avec personne morale | | 2385 | Indivision and others | Société en participation de professions libérales | | 2400 | Indivision and others | Fiducie | | 2700 | Diverse | Paroisse hors zone concordataire | | 2900 | Economic Interest Grouping | Autre groupement de droit privé non doté de la personnalité morale | | 3110 | Foreign company | Représentation ou agence commerciale d'état ou organisme public étranger immatriculé au RCS | | 3120 | Foreign company | Société étrangère immatriculée au RCS | | 3205 | Foreign company | Organisation internationale | | 3210 | Foreign company | Etat collectivité ou établissement public étranger | | 3220 | Foreign company | Société étrangère non immatriculée au RCS | | 3290 | Foreign company | (Autre) personne morale de droit étranger | | 4110 | Administrations, Instituions | Etablissement public national à caractère industriel ou commercial doté d'un comptable public | | 4120 | Administrations, Instituions | Etablissement public national à caractère industriel ou commercial non doté d'un comptable public | | 4130 | Administrations, Instituions | Exploitant public | | 4140 | Administrations, Instituions | Etablissement public local à caractère industriel ou commercial | | 4150 | Administrations, Instituions | Régie d'une collectivité locale à caractère industriel ou commercial | | 4160 | Administrations, Instituions | Institution Banque de France | | 5191 | De facto undivided ownership company | Société de caution mutuelle | | 5192 | Diverse | Société coopérative de banque populaire | | 5193 | De facto undivided ownership company | Caisse de crédit maritime mutuel | | 5194 | De facto undivided ownership company | Caisse (fédérale) de crédit mutuel | | 5195 | Association fondation | Association coopérative inscrite (droit local Alsace Moselle) | | 5196 | De facto undivided ownership company | Caisse d'épargne et de prévoyance à forme coopérative | | 5202 | General partnership | Société en nom collectif | | 5203 | General partnership | Société en nom collectif coopérative | | 5306 | Limited company | Société en commandite simple | | 5307 | Limited company | Société en commandite simple coopérative | | 5308 | Limited company | Société en commandite par actions | | 5309 | Limited company | Société en commandite par actions coopérative | | 5385 | Limited company | Société d'exercice libéral en commandite par action | | 5410 | Limited Liability Company | SARL nationale | | 5415 | Limited Liability Company | SARL d'économie mixte | | 5422 | Limited Liability Company | SARL immobilière pour le commerce et l'industrie (SICOMI) | | 5426 | Limited Liability Company | Société immobilière de gestion | | 5430 | Limited Liability Company | Safer en SARL | | 5431 | Limited Liability Company | SARL mixte d'intérêt agricole (SIMA) | | 5432 | Limited Liability Company | SARL d'intérêt collectif agricole (SICA) | | 5442 | Limited Liability Company | SARL d'attribution | | 5443 | Limited Liability Company | SARL coopérative de construction | | 5451 | Limited Liability Company | SARL coopérative de consommation | | 5453 | Limited Liability Company | SARL coopérative artisanale | | 5454 | Limited Liability Company | SARL coopérative d'intérêt maritime | | 5455 | Limited Liability Company | SARL coopérative de transports | | 5458 | Limited Liability Company | SARL coopérative ouvrière de production et de crédit (SCOP) | | 5459 | Limited Liability Company | SARL union de sociétés coopératives | | 5460 | Limited Liability Company | SARL coopérative | | 5485 | Limited Liability Company | Société d'exercice libéral à responsabilité limitée | | 5498 | Limited Liability Company | SARL unipersonnelle | | 5499 | Limited Liability Company | SARL | | 5505 | Limited company | SA à participation ouvrière à conseil d'administration | | 5510 | Limited company | SA nationale à conseil d'administration | | 5515 | Limited company | SA d'économie mixte à conseil d'administration | | 5520 | Limited company | Société d'investissement à capital variable (SICAV) à conseil d'administration | | 5522 | Limited company | Société anonyme immobilière pour le commerce et l'industrie (SICOMI) à conseil d'administration | | 5525 | Limited company | Société anonyme immobilière d'investissement à conseil d'administration | | 5530 | Limited company | Safer anonyme à conseil d'administration | | 5531 | Limited company | Société anonyme mixte d'intérêt agricole (SMIA) à conseil d'administration | | 5532 | Limited company | Société anonyme mixte d'intérêt collectif agricole (SICA) à conseil d'administration | | 5542 | Limited company | Société anonyme d'attribution à conseil d'administration | | 5543 | Limited company | Société anonyme coopérative de construction à conseil d'administration | | 5546 | Limited company | SA de HLM à conseil d'administration | | 5547 | Limited company | SA coopérative de production de HLM à conseil d'administration | | 5548 | Limited company | SA de crédit immobilier à conseil d'administration | | 5551 | Limited company | SA coopérative de consommation à conseil d'administration | | 5552 | Limited company | SA coopérative de commerçants détaillants à conseil d'administration | | 5553 | Limited company | SA coopérative artisanale à conseil d'administration | | 5554 | Limited company | SA coopérative (d'intérêt) maritime à conseil d'administration | | 5555 | Limited company | SA coopérative de transports à conseil d'administration | | 5558 | Limited company | SCOP à conseil d'administration | | 5559 | Limited company | SA union de sociétés coopératives à conseil d'administration | | 5560 | Limited company | SA coopérative à conseil d'administration | | 5585 | Limited company | Société d'exercice libéral à forme anonyme à conseil d'administration | | 5599 | Limited company | SA à conseil d'administration | | 5605 | Limited company | SA à participation ouvrière à directoire | | 5610 | Limited company | SA nationale à directoire | | 5615 | Limited company | SA d'économie mixte à directoire | | 5620 | Limited company | SICAV | | 5622 | Limited company | SICOMI | | 5625 | Limited company | Société immobilière d'investissement anonyme à directoire | | 5630 | Limited company | Safer anonyme à directoire | | 5631 | Limited company | Société anonyme mixte d'intérêt agricole (SMIA) | | 5632 | Limited company | SICA | | 5642 | Limited company | Société anonyme d'attribution à directoire | | 5643 | Limited company | Société anonyme coopérative de construction à directoire | | 5646 | Limited company | S.A. HLM à directoire | | 5647 | Limited company | Société coopérative de production de HLM anonyme à directoire | | 5648 | Limited company | SA de crédit immobilier à directoire | | 5651 | Limited company | SA coopérative de consommation à directoire | | 5652 | Limited company | SA coopérative de commerçants détaillants à directoire | | 5653 | Limited company | SA coopérative artisanale à directoire | | 5654 | Limited company | SA coopérative (d'intérêt) maritime à directoire | | 5655 | Limited company | SA coopérative de transport à directoire | | 5658 | Limited company | SCOP | | 5659 | Limited company | SA union de sociétés coopératives à directoire | | 5660 | Limited company | SA coopérative à directoire | | 5685 | Limited company | Société d'exercice libéral à forme anonyme à directoire | | 5699 | Limited company | (Autre) SA à directoire | | 5710 | Limited company | SAS | | 5720 | Limited company | SASU | | 5785 | Limited company | Société d'exercice libéral par action simplifiée | | 5800 | Diverse | Société européenne | | 6100 | De facto undivided ownership company | Caisse d'épargne et de prévoyance | | 6210 | Economic Interest Grouping | GEIE | | 6220 | Economic Interest Grouping | GIE | | 6316 | Diverse | CUMA | | 6317 | Diverse | Société coopérative agricole | | 6318 | Diverse | Union de sociétés coopératives agricoles | | 6411 | De facto undivided ownership company | Société d'assurance mutuelle | | 6521 | Civils companies (without SCI) | SCPI | | 6532 | Civils companies (without SCI) | SICA | | 6533 | Civils companies (without SCI) | GAEC | | 6534 | Civils companies (without SCI) | Groupement foncier agricole | | 6535 | Civils companies (without SCI) | Groupement agricole foncier | | 6536 | Civils companies (without SCI) | Groupement forestier | | 6537 | Civils companies (without SCI) | Groupement pastoral | | 6538 | Civils companies (without SCI) | Groupement foncier rural | | 6539 | Civils companies (without SCI) | Société civile foncière | | 6540 | Civils companies | SCI | | 6541 | Civils companies | SCI de construction vente | | 6542 | Civils companies (without SCI) | Société civile d'attribution | | 6543 | Civils companies (without SCI) | Société civile coopérative de construction | | 6544 | Civils companies | Société civile d'accession progressive à la propriété | | 6551 | Civils companies (without SCI) | Société civile coopérative de consommation | | 6554 | Civils companies (without SCI) | Société civile coopérative (d'intérêt) maritime | | 6558 | Civils companies (without SCI) | Société civile coopérative entre médecins | | 6560 | Civils companies (without SCI) | SCP | | 6561 | Civils companies (without SCI) | SCP d'avocats | | 6562 | Civils companies (without SCI) | SCP d'avocats aux conseil | | 6563 | Civils companies (without SCI) | SCP d'avoués d'appel | | 6564 | Civils companies (without SCI) | SCP d'huissiers | | 6565 | Civils companies (without SCI) | SCP de notaires | | 6566 | Civils companies (without SCI) | SCP de commissaires-priseurs | | 6567 | Civils companies (without SCI) | SCP de greffiers de tribunal de commerce | | 6568 | Civils companies (without SCI) | SCP de conseils juridiques | | 6569 | Civils companies (without SCI) | SCP de commissaires aux comptes | | 6571 | Civils companies (without SCI) | SCP de médecins | | 6572 | Civils companies (without SCI) | SCP de dentistes | | 6573 | Civils companies (without SCI) | SCP d'infirmiers | | 6574 | Civils companies (without SCI) | SCP de masseurs kinésithérapeutes | | 6575 | Civils companies (without SCI) | SCP de directeurs de laboratoire d'analyse médicale | | 6576 | Civils companies (without SCI) | SCP de vétérinaires | | 6577 | Civils companies (without SCI) | SCP de géomètres-experts | | 6578 | Civils companies (without SCI) | SCP d'architectes | | 6585 | Civils companies (without SCI) | SCP | | 6588 | Civils companies (without SCI) | Société civile laitière | | 6589 | Civils companies (without SCI) | Société civile de moyens | | 6595 | Civils companies (without SCI) | Caisse (locale) de crédit mutuel | | 6596 | Civils companies (without SCI) | Caisse de crédit agricole mutuel | | 6597 | Civils companies (without SCI) | Société civile d'exploitation agricole | | 6598 | Farm operator | Exploitation agricole à responsabilité limitée | | 6599 | Civils companies (without SCI) | Autre société civile | | 6901 | Diverse | Autres personnes de droit privé inscrites au registre du commerce et des sociétés | | 7111 | Administrations, Instituions | Autorité constitutionnelle | | 7112 | Administrations, Instituions | Autorité administrative indépendante | | 7113 | Administrations, Instituions | Ministère | | 7120 | Administrations, Instituions | Service central d'un ministère | | 7150 | Administrations, Instituions | Service du ministère de la Défense | | 7160 | Administrations, Instituions | Service déconcentré à compétence nation . D'un ministère (hors Défense) | | 7171 | Administrations, Instituions | Service déconcentré de l'Etat à compétence (inter) régionale | | 7172 | Administrations, Instituions | Service déconcentré de l'Etat à compétence (inter) départementale | | 7179 | Administrations, Instituions | (Autre) Service déconcentré de l'Etat à compétence territoriale | | 7190 | Administrations, Instituions | Ecole nationale non dotée de la personnalité morale | | 7210 | Administrations, Instituions | Commune | | 7220 | Administrations, Instituions | Département | | 7225 | Administrations, Instituions | Territoire d'Outre-Mer | | 7229 | Administrations, Instituions | (Autre) Collectivité territoriale | | 7230 | Administrations, Instituions | Région | | 7312 | Administrations, Instituions | Commune associée | | 7313 | Administrations, Instituions | Section de commune | | 7314 | Administrations, Instituions | Ensemble urbain | | 7321 | Administrations, Instituions | Association syndicale autorisée | | 7322 | Administrations, Instituions | Association foncière urbaine | | 7323 | Administrations, Instituions | Association foncière de remembrement | | 7331 | Administrations, Instituions | Etablissement public local d'enseignement | | 7340 | Administrations, Instituions | Pôle métropolitain | | 7341 | Administrations, Instituions | Secteur de commune | | 7342 | Administrations, Instituions | District urbain | | 7343 | Administrations, Instituions | Communauté urbaine | | 7344 | Administrations, Instituions | Métropole | | 7345 | Administrations, Instituions | Syndicat intercommunal à vocation multiple (SIVOM) | | 7346 | Administrations, Instituions | Communauté de commune | | 7347 | Administrations, Instituions | Communauté de villes | | 7348 | Administrations, Instituions | Communauté d'agglomération | | 7349 | Administrations, Instituions | Autre établissement public local de coopération non spécialisé ou entente | | 7351 | Administrations, Instituions | Institution interdépartementale ou entente | | 7352 | Administrations, Instituions | Institution interrégionale ou entente | | 7353 | Administrations, Instituions | Syndicat intercommunal à vocation unique (SIVU) | | 7354 | Administrations, Instituions | Syndicat mixte communal | | 7355 | Administrations, Instituions | Autre syndicat mixte | | 7356 | Administrations, Instituions | Commission syndicale pour la gestion des biens indivis des communes | | 7361 | Administrations, Instituions | Centre communal d'action sociale | | 7362 | Administrations, Instituions | Caisse des écoles | | 7363 | Administrations, Instituions | Caisse de crédit municipal | | 7364 | Administrations, Instituions | Etablissement d'hospitalisation | | 7365 | Administrations, Instituions | Syndicat inter hospitalier | | 7366 | Administrations, Instituions | Etablissement public local social et médico-social | | 7371 | Administrations, Instituions | Office public d'habitation à loyer modéré (OPHLM) | | 7372 | Administrations, Instituions | Service départemental d'incendie | | 7373 | Administrations, Instituions | Etablissement public local culturel | | 7378 | Administrations, Instituions | Régie d'une collectivité locale à caractère administratif | | 7379 | Administrations, Instituions | (Autre) Etablissement public administratif local | | 7381 | Administrations, Instituions | Organisme consulaire | | 7382 | Administrations, Instituions | Etablissement public national ayant fonction d'administration centrale | | 7383 | Administrations, Instituions | Etablissement public national à caractère scientifique culturel et professionnel | | 7384 | Administrations, Instituions | Autre établissement public national d'enseignement | | 7385 | Administrations, Instituions | Autre établissement public national administratif à compétence territoriale limitée | | 7389 | Administrations, Instituions | Etablissement public national à caractère administratif | | 7410 | Administrations, Instituions | Groupement d'intérêt public (GIP) | | 7430 | Administrations, Instituions | Etablissement public des cultes d'Alsace-Lorraine | | 7450 | Administrations, Instituions | Etablissement public, cercle et foyer dans les armées | | 7470 | Administrations, Instituions | Groupement de coopération sanitaire à gestion publique | | 7490 | Administrations, Instituions | Autre personne morale de droit administratif | | 8110 | Administrations, Instituions | Régime général de la sécurité sociale | | 8120 | Administrations, Instituions | Régime spécial de sécurité sociale | | 8130 | Administrations, Instituions | Institution de retraite complémentaire | | 8140 | Administrations, Instituions | Mutualité sociale agricole | | 8150 | Administrations, Instituions | Régime maladie des non-salariés non agricoles | | 8160 | Administrations, Instituions | Régime vieillesse ne dépendant pas du régime général de la sécurité sociale | | 8170 | Administrations, Instituions | Régime d'assurance chômage | | 8190 | Administrations, Instituions | Autre régime de prévoyance sociale | | 8210 | De facto undivided ownership company | Mutuelle | | 8250 | De facto undivided ownership company | Assurance mutuelle agricole | | 8290 | De facto undivided ownership company | Autre organisme mutualiste | | 8310 | Association fondation | Comité central d'entreprise | | 8311 | Association fondation | Comité d'établissement | | 8410 | Association fondation | Syndicat de salariés | | 8420 | Association fondation | Syndicat patronal | | 8450 | Association fondation | Ordre professionnel ou assimilé | | 8470 | Association fondation | Centre technique industriel ou comité professionnel du développement économique | | 8490 | Association fondation | Autre organisme professionnel | | 8510 | Administrations, Instituions | Institution de prévoyance | | 8520 | Administrations, Instituions | Institution de retraite supplémentaire | | 9110 | Condominium syndicate | Syndicat de copropriété | | 9150 | Association fondation | Association syndicale libre | | 9210 | Association fondation | Association non déclarée | | 9220 | Association fondation | Association déclarée | | 9221 | Association fondation | Association déclarée \"entreprises d'insertion par l'économique\" | | 9222 | Association fondation | Association intermédiaire | | 9223 | Association fondation | Groupement d'employeurs | | 9224 | Association fondation | Association d'avocats à responsabilité professionnelle individuelle | | 9230 | Association fondation | Association déclarée reconnue d'utilité publique | | 9240 | Association fondation | Congrégation | | 9260 | Association fondation | Association de droit local | | 9300 | Association fondation | Fondation | | 9900 | Diverse | Autre personne morale de droit privé | | 9970 | Diverse | Groupement de coopération sanitaire à gestion privée |
|
505
526
|
# @option opts [Integer] :legal_share_capital Business share capital
|
506
527
|
# @option opts [String] :legal_sector Business sector. NAF code in France
|
507
|
-
# @option opts [String] :legal_annual_turn_over Business annual turnover (in k
|
508
|
-
# @option opts [String] :legal_net_income_range Business net income range (in k
|
528
|
+
# @option opts [String] :legal_annual_turn_over Business annual turnover (in k€)
|
529
|
+
# @option opts [String] :legal_net_income_range Business net income range (in k€)
|
509
530
|
# @option opts [String] :legal_number_of_employee_range Business number of employees range
|
510
531
|
# @option opts [Integer] :effective_beneficiary Business effective beneficiary
|
511
532
|
# @option opts [String] :language User's prefered language (ISO 639-1)
|
512
|
-
# @option opts [String] :tax_number User's tax identification number. If the taxResidence is set to another country than France, the field is mandatory.
|
513
|
-
# @option opts [String] :tax_residence User's tax residence country code (2 char code following ISO 3166 norm).
|
533
|
+
# @option opts [String] :tax_number 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)
|
534
|
+
# @option opts [String] :tax_residence User's tax residence country code (2 char code following ISO 3166 norm). (deprecated, you must use the TaxResidence endpoint)
|
514
535
|
# @option opts [String] :position User's position.
|
515
|
-
# @option opts [String] :personal_assets User's personal assets range exprimed in K
|
516
|
-
# @return [
|
517
|
-
def put_users(email, opts = {})
|
518
|
-
data, _status_code, _headers = put_users_with_http_info(email, opts)
|
536
|
+
# @option opts [String] :personal_assets User's personal assets range exprimed in K€.
|
537
|
+
# @return [InlineResponse20026]
|
538
|
+
def put_users(specified_us_person, email, opts = {})
|
539
|
+
data, _status_code, _headers = put_users_with_http_info(specified_us_person, email, opts)
|
519
540
|
return data
|
520
541
|
end
|
521
542
|
|
522
543
|
# create user
|
523
544
|
# Create a new user in the system.
|
545
|
+
# @param specified_us_person Est considÉrÉ comme ayant la nationalitÉ ou la citoyennetÉ amÉricaine : Tout citoyen des États-Unis : une personne est prÉsumÉe citoyen des Etats-Unis dès lors qu’elle possède un passeport amÉricain ou qu’elle est nÉe sur le territoire des Etats-Unis, même lorsqu’un tel lieu de naissance figure sur un passeport d’un autre pays, ou que la personne possède Également une autre nationalitÉ ou a sa rÉsidence dans un autre pays. Une condition nÉanmoins : la personne ne doit pas avoir renoncÉ Ã la citoyennetÉ amÉricaine ; • Tout rÉsident lÉgal des États-Unis, quelle que soit sa nationalitÉ : (i) quiconque est considÉrÉ comme rÉsident fiscal aux Etats-Unis aux termes de la loi fÉdÉrale amÉricaine, (ii) quiconque demande à être traitÉ comme rÉsident fiscal aux Etats-Unis, ou (iii) quiconque est considÉrÉ comme rÉsident fiscal aux termes de la loi de cet Etat amÉricain. • Toute personne titulaire d’une carte de sÉjour permanent (green card) aux Etats-Unis ou rÉsidant de façon permanente aux Etats-Unis ou y ayant passÉ une pÉriode suffisamment longue au cours des trois dernières annÉes : | Value | Type | | --- | --- | | 0 | No | | 1 | Yes |
|
524
546
|
# @param email User's email address (must be valid).
|
525
547
|
# @param [Hash] opts the optional parameters
|
526
|
-
# @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).
|
527
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
528
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
529
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
548
|
+
# @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).
|
549
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
550
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
551
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
530
552
|
# @option opts [Integer] :user_type_id User's type. Possible values: | Value | Type | | --- | --- | | 1 | Natural person (default)| | 2 | Business entity | | 3 | Non - governmental organization | | 4 | Governmental organization |
|
531
553
|
# @option opts [String] :user_tag Custom data.
|
532
554
|
# @option opts [Integer] :parent_user_id User id of user's parent if any.
|
533
|
-
# @option opts [String] :parent_type Type of bound between parent and current user : * shareholder * employee * leader
|
555
|
+
# @option opts [String] :parent_type Type of bound between parent and current user : * shareholder * employee * leader (deprecated you must use the controllingPersonType and employeeType parameters)
|
556
|
+
# @option opts [Integer] :controlling_person_type Type of relationship : | Value | Type | | --- | --- | | 1 | Shareholder | | 2 | Other_relationship | | 3 | Director | | 4 | None (default) |
|
557
|
+
# @option opts [Integer] :employee_type Type of user's role : | Value | Type | | --- | --- | | 1 | Leader | | 2 | Employee | | 3 | None (default)|
|
534
558
|
# @option opts [String] :title User's title. Possible values: * M * MME * MLLE
|
535
559
|
# @option opts [String] :firstname User's first name
|
536
560
|
# @option opts [String] :lastname User's last name
|
@@ -557,20 +581,24 @@ module TreezorClient
|
|
557
581
|
# @option opts [String] :legal_form | Code | Category | Details (in french) | | ---- | ----- | ---- | | 1000 | Individual company | Entrepreneur Individuel a Responsabilité Limitée (EIRL) | | 1100 | Individual company | Artisan-Commerçant | | 1200 | Individual company | Commerçant | | 1300 | Individual company | Artisan | | 1400 | Liberal profession | Officier public ou ministériel | | 1500 | Liberal profession | Profession libérale | | 1600 | Farm operator | Exploitant agricole | | 1700 | Liberal profession | Agent commercial | | 1800 | Partner Director | Associé-gérant | | 1900 | Individual company | Personne physique | | 2110 | Indivision and others | Indivision entre personnes physiques | | 2120 | Indivision and others | Indivision avec personne morale | | 2210 | Indivision and others | Société créée de fait entre personnes physiques | | 2220 | Indivision and others | Société créée de fait avec personne morale | | 2310 | Indivision and others | Société en participation entre personnes physiques | | 2320 | Indivision and others | Société en participation avec personne morale | | 2385 | Indivision and others | Société en participation de professions libérales | | 2400 | Indivision and others | Fiducie | | 2700 | Diverse | Paroisse hors zone concordataire | | 2900 | Economic Interest Grouping | Autre groupement de droit privé non doté de la personnalité morale | | 3110 | Foreign company | Représentation ou agence commerciale d'état ou organisme public étranger immatriculé au RCS | | 3120 | Foreign company | Société étrangère immatriculée au RCS | | 3205 | Foreign company | Organisation internationale | | 3210 | Foreign company | Etat collectivité ou établissement public étranger | | 3220 | Foreign company | Société étrangère non immatriculée au RCS | | 3290 | Foreign company | (Autre) personne morale de droit étranger | | 4110 | Administrations, Instituions | Etablissement public national à caractère industriel ou commercial doté d'un comptable public | | 4120 | Administrations, Instituions | Etablissement public national à caractère industriel ou commercial non doté d'un comptable public | | 4130 | Administrations, Instituions | Exploitant public | | 4140 | Administrations, Instituions | Etablissement public local à caractère industriel ou commercial | | 4150 | Administrations, Instituions | Régie d'une collectivité locale à caractère industriel ou commercial | | 4160 | Administrations, Instituions | Institution Banque de France | | 5191 | De facto undivided ownership company | Société de caution mutuelle | | 5192 | Diverse | Société coopérative de banque populaire | | 5193 | De facto undivided ownership company | Caisse de crédit maritime mutuel | | 5194 | De facto undivided ownership company | Caisse (fédérale) de crédit mutuel | | 5195 | Association fondation | Association coopérative inscrite (droit local Alsace Moselle) | | 5196 | De facto undivided ownership company | Caisse d'épargne et de prévoyance à forme coopérative | | 5202 | General partnership | Société en nom collectif | | 5203 | General partnership | Société en nom collectif coopérative | | 5306 | Limited company | Société en commandite simple | | 5307 | Limited company | Société en commandite simple coopérative | | 5308 | Limited company | Société en commandite par actions | | 5309 | Limited company | Société en commandite par actions coopérative | | 5385 | Limited company | Société d'exercice libéral en commandite par action | | 5410 | Limited Liability Company | SARL nationale | | 5415 | Limited Liability Company | SARL d'économie mixte | | 5422 | Limited Liability Company | SARL immobilière pour le commerce et l'industrie (SICOMI) | | 5426 | Limited Liability Company | Société immobilière de gestion | | 5430 | Limited Liability Company | Safer en SARL | | 5431 | Limited Liability Company | SARL mixte d'intérêt agricole (SIMA) | | 5432 | Limited Liability Company | SARL d'intérêt collectif agricole (SICA) | | 5442 | Limited Liability Company | SARL d'attribution | | 5443 | Limited Liability Company | SARL coopérative de construction | | 5451 | Limited Liability Company | SARL coopérative de consommation | | 5453 | Limited Liability Company | SARL coopérative artisanale | | 5454 | Limited Liability Company | SARL coopérative d'intérêt maritime | | 5455 | Limited Liability Company | SARL coopérative de transports | | 5458 | Limited Liability Company | SARL coopérative ouvrière de production et de crédit (SCOP) | | 5459 | Limited Liability Company | SARL union de sociétés coopératives | | 5460 | Limited Liability Company | SARL coopérative | | 5485 | Limited Liability Company | Société d'exercice libéral à responsabilité limitée | | 5498 | Limited Liability Company | SARL unipersonnelle | | 5499 | Limited Liability Company | SARL | | 5505 | Limited company | SA à participation ouvrière à conseil d'administration | | 5510 | Limited company | SA nationale à conseil d'administration | | 5515 | Limited company | SA d'économie mixte à conseil d'administration | | 5520 | Limited company | Société d'investissement à capital variable (SICAV) à conseil d'administration | | 5522 | Limited company | Société anonyme immobilière pour le commerce et l'industrie (SICOMI) à conseil d'administration | | 5525 | Limited company | Société anonyme immobilière d'investissement à conseil d'administration | | 5530 | Limited company | Safer anonyme à conseil d'administration | | 5531 | Limited company | Société anonyme mixte d'intérêt agricole (SMIA) à conseil d'administration | | 5532 | Limited company | Société anonyme mixte d'intérêt collectif agricole (SICA) à conseil d'administration | | 5542 | Limited company | Société anonyme d'attribution à conseil d'administration | | 5543 | Limited company | Société anonyme coopérative de construction à conseil d'administration | | 5546 | Limited company | SA de HLM à conseil d'administration | | 5547 | Limited company | SA coopérative de production de HLM à conseil d'administration | | 5548 | Limited company | SA de crédit immobilier à conseil d'administration | | 5551 | Limited company | SA coopérative de consommation à conseil d'administration | | 5552 | Limited company | SA coopérative de commerçants détaillants à conseil d'administration | | 5553 | Limited company | SA coopérative artisanale à conseil d'administration | | 5554 | Limited company | SA coopérative (d'intérêt) maritime à conseil d'administration | | 5555 | Limited company | SA coopérative de transports à conseil d'administration | | 5558 | Limited company | SCOP à conseil d'administration | | 5559 | Limited company | SA union de sociétés coopératives à conseil d'administration | | 5560 | Limited company | SA coopérative à conseil d'administration | | 5585 | Limited company | Société d'exercice libéral à forme anonyme à conseil d'administration | | 5599 | Limited company | SA à conseil d'administration | | 5605 | Limited company | SA à participation ouvrière à directoire | | 5610 | Limited company | SA nationale à directoire | | 5615 | Limited company | SA d'économie mixte à directoire | | 5620 | Limited company | SICAV | | 5622 | Limited company | SICOMI | | 5625 | Limited company | Société immobilière d'investissement anonyme à directoire | | 5630 | Limited company | Safer anonyme à directoire | | 5631 | Limited company | Société anonyme mixte d'intérêt agricole (SMIA) | | 5632 | Limited company | SICA | | 5642 | Limited company | Société anonyme d'attribution à directoire | | 5643 | Limited company | Société anonyme coopérative de construction à directoire | | 5646 | Limited company | S.A. HLM à directoire | | 5647 | Limited company | Société coopérative de production de HLM anonyme à directoire | | 5648 | Limited company | SA de crédit immobilier à directoire | | 5651 | Limited company | SA coopérative de consommation à directoire | | 5652 | Limited company | SA coopérative de commerçants détaillants à directoire | | 5653 | Limited company | SA coopérative artisanale à directoire | | 5654 | Limited company | SA coopérative (d'intérêt) maritime à directoire | | 5655 | Limited company | SA coopérative de transport à directoire | | 5658 | Limited company | SCOP | | 5659 | Limited company | SA union de sociétés coopératives à directoire | | 5660 | Limited company | SA coopérative à directoire | | 5685 | Limited company | Société d'exercice libéral à forme anonyme à directoire | | 5699 | Limited company | (Autre) SA à directoire | | 5710 | Limited company | SAS | | 5720 | Limited company | SASU | | 5785 | Limited company | Société d'exercice libéral par action simplifiée | | 5800 | Diverse | Société européenne | | 6100 | De facto undivided ownership company | Caisse d'épargne et de prévoyance | | 6210 | Economic Interest Grouping | GEIE | | 6220 | Economic Interest Grouping | GIE | | 6316 | Diverse | CUMA | | 6317 | Diverse | Société coopérative agricole | | 6318 | Diverse | Union de sociétés coopératives agricoles | | 6411 | De facto undivided ownership company | Société d'assurance mutuelle | | 6521 | Civils companies (without SCI) | SCPI | | 6532 | Civils companies (without SCI) | SICA | | 6533 | Civils companies (without SCI) | GAEC | | 6534 | Civils companies (without SCI) | Groupement foncier agricole | | 6535 | Civils companies (without SCI) | Groupement agricole foncier | | 6536 | Civils companies (without SCI) | Groupement forestier | | 6537 | Civils companies (without SCI) | Groupement pastoral | | 6538 | Civils companies (without SCI) | Groupement foncier rural | | 6539 | Civils companies (without SCI) | Société civile foncière | | 6540 | Civils companies | SCI | | 6541 | Civils companies | SCI de construction vente | | 6542 | Civils companies (without SCI) | Société civile d'attribution | | 6543 | Civils companies (without SCI) | Société civile coopérative de construction | | 6544 | Civils companies | Société civile d'accession progressive à la propriété | | 6551 | Civils companies (without SCI) | Société civile coopérative de consommation | | 6554 | Civils companies (without SCI) | Société civile coopérative (d'intérêt) maritime | | 6558 | Civils companies (without SCI) | Société civile coopérative entre médecins | | 6560 | Civils companies (without SCI) | SCP | | 6561 | Civils companies (without SCI) | SCP d'avocats | | 6562 | Civils companies (without SCI) | SCP d'avocats aux conseil | | 6563 | Civils companies (without SCI) | SCP d'avoués d'appel | | 6564 | Civils companies (without SCI) | SCP d'huissiers | | 6565 | Civils companies (without SCI) | SCP de notaires | | 6566 | Civils companies (without SCI) | SCP de commissaires-priseurs | | 6567 | Civils companies (without SCI) | SCP de greffiers de tribunal de commerce | | 6568 | Civils companies (without SCI) | SCP de conseils juridiques | | 6569 | Civils companies (without SCI) | SCP de commissaires aux comptes | | 6571 | Civils companies (without SCI) | SCP de médecins | | 6572 | Civils companies (without SCI) | SCP de dentistes | | 6573 | Civils companies (without SCI) | SCP d'infirmiers | | 6574 | Civils companies (without SCI) | SCP de masseurs kinésithérapeutes | | 6575 | Civils companies (without SCI) | SCP de directeurs de laboratoire d'analyse médicale | | 6576 | Civils companies (without SCI) | SCP de vétérinaires | | 6577 | Civils companies (without SCI) | SCP de géomètres-experts | | 6578 | Civils companies (without SCI) | SCP d'architectes | | 6585 | Civils companies (without SCI) | SCP | | 6588 | Civils companies (without SCI) | Société civile laitière | | 6589 | Civils companies (without SCI) | Société civile de moyens | | 6595 | Civils companies (without SCI) | Caisse (locale) de crédit mutuel | | 6596 | Civils companies (without SCI) | Caisse de crédit agricole mutuel | | 6597 | Civils companies (without SCI) | Société civile d'exploitation agricole | | 6598 | Farm operator | Exploitation agricole à responsabilité limitée | | 6599 | Civils companies (without SCI) | Autre société civile | | 6901 | Diverse | Autres personnes de droit privé inscrites au registre du commerce et des sociétés | | 7111 | Administrations, Instituions | Autorité constitutionnelle | | 7112 | Administrations, Instituions | Autorité administrative indépendante | | 7113 | Administrations, Instituions | Ministère | | 7120 | Administrations, Instituions | Service central d'un ministère | | 7150 | Administrations, Instituions | Service du ministère de la Défense | | 7160 | Administrations, Instituions | Service déconcentré à compétence nation . D'un ministère (hors Défense) | | 7171 | Administrations, Instituions | Service déconcentré de l'Etat à compétence (inter) régionale | | 7172 | Administrations, Instituions | Service déconcentré de l'Etat à compétence (inter) départementale | | 7179 | Administrations, Instituions | (Autre) Service déconcentré de l'Etat à compétence territoriale | | 7190 | Administrations, Instituions | Ecole nationale non dotée de la personnalité morale | | 7210 | Administrations, Instituions | Commune | | 7220 | Administrations, Instituions | Département | | 7225 | Administrations, Instituions | Territoire d'Outre-Mer | | 7229 | Administrations, Instituions | (Autre) Collectivité territoriale | | 7230 | Administrations, Instituions | Région | | 7312 | Administrations, Instituions | Commune associée | | 7313 | Administrations, Instituions | Section de commune | | 7314 | Administrations, Instituions | Ensemble urbain | | 7321 | Administrations, Instituions | Association syndicale autorisée | | 7322 | Administrations, Instituions | Association foncière urbaine | | 7323 | Administrations, Instituions | Association foncière de remembrement | | 7331 | Administrations, Instituions | Etablissement public local d'enseignement | | 7340 | Administrations, Instituions | Pôle métropolitain | | 7341 | Administrations, Instituions | Secteur de commune | | 7342 | Administrations, Instituions | District urbain | | 7343 | Administrations, Instituions | Communauté urbaine | | 7344 | Administrations, Instituions | Métropole | | 7345 | Administrations, Instituions | Syndicat intercommunal à vocation multiple (SIVOM) | | 7346 | Administrations, Instituions | Communauté de commune | | 7347 | Administrations, Instituions | Communauté de villes | | 7348 | Administrations, Instituions | Communauté d'agglomération | | 7349 | Administrations, Instituions | Autre établissement public local de coopération non spécialisé ou entente | | 7351 | Administrations, Instituions | Institution interdépartementale ou entente | | 7352 | Administrations, Instituions | Institution interrégionale ou entente | | 7353 | Administrations, Instituions | Syndicat intercommunal à vocation unique (SIVU) | | 7354 | Administrations, Instituions | Syndicat mixte communal | | 7355 | Administrations, Instituions | Autre syndicat mixte | | 7356 | Administrations, Instituions | Commission syndicale pour la gestion des biens indivis des communes | | 7361 | Administrations, Instituions | Centre communal d'action sociale | | 7362 | Administrations, Instituions | Caisse des écoles | | 7363 | Administrations, Instituions | Caisse de crédit municipal | | 7364 | Administrations, Instituions | Etablissement d'hospitalisation | | 7365 | Administrations, Instituions | Syndicat inter hospitalier | | 7366 | Administrations, Instituions | Etablissement public local social et médico-social | | 7371 | Administrations, Instituions | Office public d'habitation à loyer modéré (OPHLM) | | 7372 | Administrations, Instituions | Service départemental d'incendie | | 7373 | Administrations, Instituions | Etablissement public local culturel | | 7378 | Administrations, Instituions | Régie d'une collectivité locale à caractère administratif | | 7379 | Administrations, Instituions | (Autre) Etablissement public administratif local | | 7381 | Administrations, Instituions | Organisme consulaire | | 7382 | Administrations, Instituions | Etablissement public national ayant fonction d'administration centrale | | 7383 | Administrations, Instituions | Etablissement public national à caractère scientifique culturel et professionnel | | 7384 | Administrations, Instituions | Autre établissement public national d'enseignement | | 7385 | Administrations, Instituions | Autre établissement public national administratif à compétence territoriale limitée | | 7389 | Administrations, Instituions | Etablissement public national à caractère administratif | | 7410 | Administrations, Instituions | Groupement d'intérêt public (GIP) | | 7430 | Administrations, Instituions | Etablissement public des cultes d'Alsace-Lorraine | | 7450 | Administrations, Instituions | Etablissement public, cercle et foyer dans les armées | | 7470 | Administrations, Instituions | Groupement de coopération sanitaire à gestion publique | | 7490 | Administrations, Instituions | Autre personne morale de droit administratif | | 8110 | Administrations, Instituions | Régime général de la sécurité sociale | | 8120 | Administrations, Instituions | Régime spécial de sécurité sociale | | 8130 | Administrations, Instituions | Institution de retraite complémentaire | | 8140 | Administrations, Instituions | Mutualité sociale agricole | | 8150 | Administrations, Instituions | Régime maladie des non-salariés non agricoles | | 8160 | Administrations, Instituions | Régime vieillesse ne dépendant pas du régime général de la sécurité sociale | | 8170 | Administrations, Instituions | Régime d'assurance chômage | | 8190 | Administrations, Instituions | Autre régime de prévoyance sociale | | 8210 | De facto undivided ownership company | Mutuelle | | 8250 | De facto undivided ownership company | Assurance mutuelle agricole | | 8290 | De facto undivided ownership company | Autre organisme mutualiste | | 8310 | Association fondation | Comité central d'entreprise | | 8311 | Association fondation | Comité d'établissement | | 8410 | Association fondation | Syndicat de salariés | | 8420 | Association fondation | Syndicat patronal | | 8450 | Association fondation | Ordre professionnel ou assimilé | | 8470 | Association fondation | Centre technique industriel ou comité professionnel du développement économique | | 8490 | Association fondation | Autre organisme professionnel | | 8510 | Administrations, Instituions | Institution de prévoyance | | 8520 | Administrations, Instituions | Institution de retraite supplémentaire | | 9110 | Condominium syndicate | Syndicat de copropriété | | 9150 | Association fondation | Association syndicale libre | | 9210 | Association fondation | Association non déclarée | | 9220 | Association fondation | Association déclarée | | 9221 | Association fondation | Association déclarée \"entreprises d'insertion par l'économique\" | | 9222 | Association fondation | Association intermédiaire | | 9223 | Association fondation | Groupement d'employeurs | | 9224 | Association fondation | Association d'avocats à responsabilité professionnelle individuelle | | 9230 | Association fondation | Association déclarée reconnue d'utilité publique | | 9240 | Association fondation | Congrégation | | 9260 | Association fondation | Association de droit local | | 9300 | Association fondation | Fondation | | 9900 | Diverse | Autre personne morale de droit privé | | 9970 | Diverse | Groupement de coopération sanitaire à gestion privée |
|
558
582
|
# @option opts [Integer] :legal_share_capital Business share capital
|
559
583
|
# @option opts [String] :legal_sector Business sector. NAF code in France
|
560
|
-
# @option opts [String] :legal_annual_turn_over Business annual turnover (in k
|
561
|
-
# @option opts [String] :legal_net_income_range Business net income range (in k
|
584
|
+
# @option opts [String] :legal_annual_turn_over Business annual turnover (in k€)
|
585
|
+
# @option opts [String] :legal_net_income_range Business net income range (in k€)
|
562
586
|
# @option opts [String] :legal_number_of_employee_range Business number of employees range
|
563
587
|
# @option opts [Integer] :effective_beneficiary Business effective beneficiary
|
564
588
|
# @option opts [String] :language User's prefered language (ISO 639-1)
|
565
|
-
# @option opts [String] :tax_number User's tax identification number. If the taxResidence is set to another country than France, the field is mandatory.
|
566
|
-
# @option opts [String] :tax_residence User's tax residence country code (2 char code following ISO 3166 norm).
|
589
|
+
# @option opts [String] :tax_number 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)
|
590
|
+
# @option opts [String] :tax_residence User's tax residence country code (2 char code following ISO 3166 norm). (deprecated, you must use the TaxResidence endpoint)
|
567
591
|
# @option opts [String] :position User's position.
|
568
|
-
# @option opts [String] :personal_assets User's personal assets range exprimed in K
|
569
|
-
# @return [Array<(
|
570
|
-
def put_users_with_http_info(email, opts = {})
|
592
|
+
# @option opts [String] :personal_assets User's personal assets range exprimed in K€.
|
593
|
+
# @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
|
594
|
+
def put_users_with_http_info(specified_us_person, email, opts = {})
|
571
595
|
if @api_client.config.debugging
|
572
596
|
@api_client.config.logger.debug "Calling API: UserApi.put_users ..."
|
573
597
|
end
|
598
|
+
# verify the required parameter 'specified_us_person' is set
|
599
|
+
if @api_client.config.client_side_validation && specified_us_person.nil?
|
600
|
+
fail ArgumentError, "Missing the required parameter 'specified_us_person' when calling UserApi.put_users"
|
601
|
+
end
|
574
602
|
# verify the required parameter 'email' is set
|
575
603
|
if @api_client.config.client_side_validation && email.nil?
|
576
604
|
fail ArgumentError, "Missing the required parameter 'email' when calling UserApi.put_users"
|
@@ -598,6 +626,7 @@ module TreezorClient
|
|
598
626
|
|
599
627
|
# query parameters
|
600
628
|
query_params = {}
|
629
|
+
query_params[:'specifiedUSPerson'] = specified_us_person
|
601
630
|
query_params[:'email'] = email
|
602
631
|
query_params[:'accessSignature'] = opts[:'access_signature'] if !opts[:'access_signature'].nil?
|
603
632
|
query_params[:'accessTag'] = opts[:'access_tag'] if !opts[:'access_tag'].nil?
|
@@ -607,6 +636,8 @@ module TreezorClient
|
|
607
636
|
query_params[:'userTag'] = opts[:'user_tag'] if !opts[:'user_tag'].nil?
|
608
637
|
query_params[:'parentUserId'] = opts[:'parent_user_id'] if !opts[:'parent_user_id'].nil?
|
609
638
|
query_params[:'parentType'] = opts[:'parent_type'] if !opts[:'parent_type'].nil?
|
639
|
+
query_params[:'controllingPersonType'] = opts[:'controlling_person_type'] if !opts[:'controlling_person_type'].nil?
|
640
|
+
query_params[:'employeeType'] = opts[:'employee_type'] if !opts[:'employee_type'].nil?
|
610
641
|
query_params[:'title'] = opts[:'title'] if !opts[:'title'].nil?
|
611
642
|
query_params[:'firstname'] = opts[:'firstname'] if !opts[:'firstname'].nil?
|
612
643
|
query_params[:'lastname'] = opts[:'lastname'] if !opts[:'lastname'].nil?
|
@@ -662,7 +693,7 @@ module TreezorClient
|
|
662
693
|
:form_params => form_params,
|
663
694
|
:body => post_body,
|
664
695
|
:auth_names => auth_names,
|
665
|
-
:return_type => '
|
696
|
+
:return_type => 'InlineResponse20026')
|
666
697
|
if @api_client.config.debugging
|
667
698
|
@api_client.config.logger.debug "API called: UserApi#put_users\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
668
699
|
end
|
@@ -673,12 +704,12 @@ module TreezorClient
|
|
673
704
|
# Perform a KYC review for given user.
|
674
705
|
# @param id User's id.
|
675
706
|
# @param [Hash] opts the optional parameters
|
676
|
-
# @option opts [String] :access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
677
|
-
# @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).
|
678
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
679
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
680
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
681
|
-
# @return [
|
707
|
+
# @option opts [String] :access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
708
|
+
# @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).
|
709
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
710
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
711
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
712
|
+
# @return [InlineResponse20026]
|
682
713
|
def users_id_kycreview_put(id, opts = {})
|
683
714
|
data, _status_code, _headers = users_id_kycreview_put_with_http_info(id, opts)
|
684
715
|
return data
|
@@ -688,12 +719,12 @@ module TreezorClient
|
|
688
719
|
# Perform a KYC review for given user.
|
689
720
|
# @param id User's id.
|
690
721
|
# @param [Hash] opts the optional parameters
|
691
|
-
# @option opts [String] :access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
692
|
-
# @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).
|
693
|
-
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
694
|
-
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
695
|
-
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
696
|
-
# @return [Array<(
|
722
|
+
# @option opts [String] :access_token Access token must be defined here or in Authorization HTTP header. More info [here](https://agent.treezor.com/security-authentication).
|
723
|
+
# @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).
|
724
|
+
# @option opts [String] :access_tag Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
725
|
+
# @option opts [Integer] :access_user_id Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
726
|
+
# @option opts [String] :access_user_ip Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
727
|
+
# @return [Array<(InlineResponse20026, Fixnum, Hash)>] InlineResponse20026 data, response status code and response headers
|
697
728
|
def users_id_kycreview_put_with_http_info(id, opts = {})
|
698
729
|
if @api_client.config.debugging
|
699
730
|
@api_client.config.logger.debug "Calling API: UserApi.users_id_kycreview_put ..."
|
@@ -728,7 +759,7 @@ module TreezorClient
|
|
728
759
|
:form_params => form_params,
|
729
760
|
:body => post_body,
|
730
761
|
:auth_names => auth_names,
|
731
|
-
:return_type => '
|
762
|
+
:return_type => 'InlineResponse20026')
|
732
763
|
if @api_client.config.debugging
|
733
764
|
@api_client.config.logger.debug "API called: UserApi#users_id_kycreview_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
734
765
|
end
|