treezor_client 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/docs/BalanceApi.md +3 -3
- data/docs/BankaccountApi.md +21 -21
- data/docs/BeneficiariesApi.md +18 -18
- data/docs/BusinessApi.md +22 -22
- data/docs/CardApi.md +66 -66
- data/docs/CardDigitalizationsApi.md +9 -9
- data/docs/CardReserveApi.md +9 -9
- data/docs/CardtransactionApi.md +5 -5
- data/docs/CountryRestrictionGroupsApi.md +16 -16
- data/docs/DocumentApi.md +23 -23
- data/docs/HeartbeatApi.md +3 -3
- data/docs/IssuerInitiatedDigitizationDataApi.md +10 -10
- data/docs/MandateApi.md +33 -33
- data/docs/MccRestrictionGroupsApi.md +16 -16
- data/docs/MerchantIdRestrictionGroupsApi.md +15 -15
- data/docs/PayinApi.md +28 -28
- data/docs/PayinrefundApi.md +20 -20
- data/docs/PayoutApi.md +27 -27
- data/docs/PayoutRefundsApi.md +6 -6
- data/docs/TaxResidenceApi.md +9 -9
- data/docs/TransactionApi.md +14 -14
- data/docs/TransferApi.md +23 -23
- data/docs/TransferrefundApi.md +19 -19
- data/docs/UserApi.md +103 -103
- data/docs/VirtualibansApi.md +24 -24
- data/docs/WalletApi.md +45 -45
- data/lib/treezor_client/api/balance_api.rb +5 -6
- data/lib/treezor_client/api/bankaccount_api.rb +14 -18
- data/lib/treezor_client/api/beneficiaries_api.rb +14 -18
- data/lib/treezor_client/api/business_api.rb +11 -13
- data/lib/treezor_client/api/card_api.rb +53 -76
- data/lib/treezor_client/api/card_digitalizations_api.rb +14 -18
- data/lib/treezor_client/api/card_reserve_api.rb +11 -14
- data/lib/treezor_client/api/cardtransaction_api.rb +8 -10
- data/lib/treezor_client/api/country_restriction_groups_api.rb +17 -22
- data/lib/treezor_client/api/document_api.rb +28 -33
- data/lib/treezor_client/api/heartbeat_api.rb +5 -6
- data/lib/treezor_client/api/issuer_initiated_digitization_data_api.rb +8 -10
- data/lib/treezor_client/api/mandate_api.rb +20 -26
- data/lib/treezor_client/api/mcc_restriction_groups_api.rb +17 -22
- data/lib/treezor_client/api/merchant_id_restriction_groups_api.rb +17 -22
- data/lib/treezor_client/api/payin_api.rb +14 -18
- data/lib/treezor_client/api/payinrefund_api.rb +14 -18
- data/lib/treezor_client/api/payout_api.rb +14 -18
- data/lib/treezor_client/api/payout_refunds_api.rb +5 -6
- data/lib/treezor_client/api/tax_residence_api.rb +17 -22
- data/lib/treezor_client/api/transaction_api.rb +8 -10
- data/lib/treezor_client/api/transfer_api.rb +14 -18
- data/lib/treezor_client/api/transferrefund_api.rb +14 -18
- data/lib/treezor_client/api/user_api.rb +20 -26
- data/lib/treezor_client/api/virtualibans_api.rb +14 -18
- data/lib/treezor_client/api/wallet_api.rb +17 -22
- data/lib/treezor_client/api_client.rb +9 -9
- data/lib/treezor_client/api_error.rb +1 -1
- data/lib/treezor_client/configuration.rb +2 -2
- data/lib/treezor_client/models/balance.rb +6 -11
- data/lib/treezor_client/models/bankaccount.rb +9 -13
- data/lib/treezor_client/models/beneficiaries_sdd_b2b_whitelist.rb +8 -13
- data/lib/treezor_client/models/beneficiary.rb +6 -11
- data/lib/treezor_client/models/body.rb +11 -15
- data/lib/treezor_client/models/body_1.rb +8 -13
- data/lib/treezor_client/models/body_10.rb +9 -13
- data/lib/treezor_client/models/body_2.rb +6 -11
- data/lib/treezor_client/models/body_3.rb +8 -13
- data/lib/treezor_client/models/body_4.rb +8 -13
- data/lib/treezor_client/models/body_5.rb +11 -15
- data/lib/treezor_client/models/body_6.rb +9 -13
- data/lib/treezor_client/models/body_7.rb +11 -15
- data/lib/treezor_client/models/body_8.rb +9 -13
- data/lib/treezor_client/models/body_9.rb +11 -15
- data/lib/treezor_client/models/businesssearchs_businessinformations.rb +9 -13
- data/lib/treezor_client/models/card.rb +9 -13
- data/lib/treezor_client/models/card_digitalization.rb +6 -11
- data/lib/treezor_client/models/country_restriction_group.rb +9 -13
- data/lib/treezor_client/models/document.rb +9 -13
- data/lib/treezor_client/models/error.rb +6 -11
- data/lib/treezor_client/models/inline_response_200.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_1.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_10.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_10_cardtransactions.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_11.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_11_cardtransactions.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_12.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_13.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_14.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_15.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_16.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_17.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_18.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_19.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_2.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_20.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_21.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_22.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_23.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_24.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_25.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_26.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_27.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_28.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_3.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_4.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_5.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_5_businessinformations.rb +21 -25
- data/lib/treezor_client/models/inline_response_200_5_users.rb +9 -13
- data/lib/treezor_client/models/inline_response_200_6.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_7.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_7_cardimages.rb +8 -14
- data/lib/treezor_client/models/inline_response_200_8.rb +6 -11
- data/lib/treezor_client/models/inline_response_200_9.rb +6 -11
- data/lib/treezor_client/models/inline_response_default.rb +6 -11
- data/lib/treezor_client/models/issuer_initiated_digitization_datas_additionnal_data.rb +8 -13
- data/lib/treezor_client/models/mandate.rb +15 -19
- data/lib/treezor_client/models/mcc_restriction_group.rb +9 -13
- data/lib/treezor_client/models/merchant_id_restriction_group.rb +9 -13
- data/lib/treezor_client/models/payin.rb +9 -13
- data/lib/treezor_client/models/payinrefund.rb +9 -13
- data/lib/treezor_client/models/payout.rb +12 -16
- data/lib/treezor_client/models/payout_refund.rb +9 -13
- data/lib/treezor_client/models/tav.rb +6 -11
- data/lib/treezor_client/models/tax_residence.rb +6 -11
- data/lib/treezor_client/models/transaction.rb +6 -11
- data/lib/treezor_client/models/transfer.rb +9 -13
- data/lib/treezor_client/models/transferrefund.rb +9 -13
- data/lib/treezor_client/models/user.rb +12 -16
- data/lib/treezor_client/models/virtualiban.rb +6 -11
- data/lib/treezor_client/models/wallet.rb +9 -13
- data/lib/treezor_client/version.rb +2 -2
- data/lib/treezor_client.rb +1 -1
- data/pkg/treezor_client-1.3.0.gem +0 -0
- data/pkg/treezor_client-1.4.0.gem +0 -0
- data/treezor_api_spec.yaml +11 -11
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d1c095329ab943fc78df60020266937cc8b27932a64392441dbb455bd506c57
|
|
4
|
+
data.tar.gz: d6a1614e39e486d467d54000b464ca6d6877c204a3b54f532934c30a66d9395d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 993a7c560e5f8d9c89814a838d3c4a2cd6fa26e3fc5f84e062307bf02ac58fd95466e31bf6bbf16cf1ba5938a5a8e6f36d284a09250465b0c7207c4e647d0b0a
|
|
7
|
+
data.tar.gz: 574788d4286642575db06f048bc5e62f51a166fcd4b12ff0043f2a0f298f008a34a56425fd4c156e4fc815928f4c154e8e7b22b10b30a72d5a414669326088ed
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
treezor_client (1.
|
|
4
|
+
treezor_client (1.4.0)
|
|
5
5
|
json (~> 2.1, >= 2.1.0)
|
|
6
6
|
typhoeus (~> 1.0, >= 1.0.1)
|
|
7
7
|
|
|
@@ -24,7 +24,7 @@ GEM
|
|
|
24
24
|
ffi (>= 1.3.0)
|
|
25
25
|
ffi (1.9.25)
|
|
26
26
|
hashdiff (0.3.7)
|
|
27
|
-
json (2.
|
|
27
|
+
json (2.2.0)
|
|
28
28
|
public_suffix (3.0.3)
|
|
29
29
|
rake (12.0.0)
|
|
30
30
|
rspec (3.8.0)
|
data/docs/BalanceApi.md
CHANGED
|
@@ -29,10 +29,10 @@ end
|
|
|
29
29
|
api_instance = TreezorClient::BalanceApi.new
|
|
30
30
|
|
|
31
31
|
opts = {
|
|
32
|
-
access_signature:
|
|
33
|
-
access_tag:
|
|
32
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
33
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
34
34
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
35
|
-
access_user_ip:
|
|
35
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
36
36
|
wallet_id: 56, # Integer | Wallet's ID of wanted balance
|
|
37
37
|
user_id: 56 # Integer | Wallet's user id of wanted balanced
|
|
38
38
|
}
|
data/docs/BankaccountApi.md
CHANGED
|
@@ -140,22 +140,22 @@ end
|
|
|
140
140
|
api_instance = TreezorClient::BankaccountApi.new
|
|
141
141
|
|
|
142
142
|
opts = {
|
|
143
|
-
access_signature:
|
|
144
|
-
access_tag:
|
|
143
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
144
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
145
145
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
146
|
-
access_user_ip:
|
|
146
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
147
147
|
bankaccount_id: 56, # Integer | bank account id.
|
|
148
|
-
bankaccount_status:
|
|
148
|
+
bankaccount_status: 'bankaccount_status_example', # String | bank account status. Possible values: * CANCELED * PENDING * VALIDATED
|
|
149
149
|
user_id: 56, # Integer | Bank account owner user's id
|
|
150
|
-
bankaccount_iban:
|
|
150
|
+
bankaccount_iban: 'bankaccount_iban_example', # String | Bank account IBAN
|
|
151
151
|
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
152
152
|
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
153
|
-
sort_by:
|
|
154
|
-
sort_order:
|
|
155
|
-
created_date_from: DateTime.parse(
|
|
156
|
-
created_date_to: DateTime.parse(
|
|
157
|
-
updated_date_from: DateTime.parse(
|
|
158
|
-
updated_date_to: DateTime.parse(
|
|
153
|
+
sort_by: 'sort_by_example', # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
154
|
+
sort_order: 'sort_order_example', # String | The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
|
155
|
+
created_date_from: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The creation date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
|
156
|
+
created_date_to: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The creation date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
|
157
|
+
updated_date_from: DateTime.parse('2013-10-20T19:20:30+01:00'), # DateTime | The modification date from which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
|
158
|
+
updated_date_to: DateTime.parse('2013-10-20T19:20:30+01:00') # DateTime | The modification date up to which you want to filter the request result. Format YYYY-MM-DD HH:MM:SS. More info [here](https://agent.treezor.com/lists)
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
begin
|
|
@@ -226,23 +226,23 @@ api_instance = TreezorClient::BankaccountApi.new
|
|
|
226
226
|
|
|
227
227
|
user_id = 56 # Integer | Owner user's id.
|
|
228
228
|
|
|
229
|
-
bankaccount_owner_name =
|
|
229
|
+
bankaccount_owner_name = 'bankaccount_owner_name_example' # String | Bank account owner's name.
|
|
230
230
|
|
|
231
|
-
bankaccount_owner_address =
|
|
231
|
+
bankaccount_owner_address = 'bankaccount_owner_address_example' # String | Bank account owner's address.
|
|
232
232
|
|
|
233
|
-
bankaccount_iban =
|
|
233
|
+
bankaccount_iban = 'bankaccount_iban_example' # String | Beneficiary bank account's IBAN.
|
|
234
234
|
|
|
235
|
-
bankaccount_bic =
|
|
235
|
+
bankaccount_bic = 'bankaccount_bic_example' # String | Beneficiary bank account's BIC (or SWIFT).
|
|
236
236
|
|
|
237
|
-
bankaccount_type =
|
|
237
|
+
bankaccount_type = 'bankaccount_type_example' # String | Beneficiary bank account's type.
|
|
238
238
|
|
|
239
239
|
opts = {
|
|
240
|
-
access_signature:
|
|
241
|
-
access_tag:
|
|
240
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
241
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
242
242
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
243
|
-
access_user_ip:
|
|
244
|
-
bankaccount_tag:
|
|
245
|
-
name:
|
|
243
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
244
|
+
bankaccount_tag: 'bankaccount_tag_example', # String | Custom data.
|
|
245
|
+
name: 'name_example' # String | Bank account's name.
|
|
246
246
|
}
|
|
247
247
|
|
|
248
248
|
begin
|
data/docs/BeneficiariesApi.md
CHANGED
|
@@ -32,22 +32,22 @@ end
|
|
|
32
32
|
api_instance = TreezorClient::BeneficiariesApi.new
|
|
33
33
|
|
|
34
34
|
opts = {
|
|
35
|
-
access_signature:
|
|
36
|
-
access_tag:
|
|
35
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
36
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
37
37
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
38
|
-
access_user_ip:
|
|
39
|
-
fields: [
|
|
40
|
-
filter:
|
|
38
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
39
|
+
fields: ['fields_example'], # Array<String> | List of the object's properties you want to pick up.
|
|
40
|
+
filter: 'filter_example', # String | You can filter the API response by using filter(s). Filterable fields are : - id - tag - userId - isActive - nickName - address - iban (encrypted IBAN) - IbanInClear - bic - sepaCreditorIdentifier - usableForSct Filters should be separated by a \";\". Example for 3 filters : FILTER1;FILTER2;FILTER3. A single filter has the following syntax : \"fieldName criterion expression\". Where : - fieldName : the name of a filterable field of this object. - expression : the values to be included or excluded (see the table below for more information) - criterion : a filter criterion. Here are the possible values for criterion : | Criteria | Description | Type | Expression Example | |----------|------------------------|------------------------------------------|--------------------| | > | greater than | alphanumeric string | 100 | | >= | greater or equal than | alphanumeric string | 100 | | < | less than | alphanumeric string | 100 | | <= | less or equal than | alphanumeric string | 100 | | != | not equal to | alphanumeric string | 100 | | like | like | alphanumeric string | 100 | | in | in | alphanumeric strings separated by commas | 100,30,25 | | == | equals | alphanumeric string | 100 |
|
|
41
41
|
id: 56, # Integer | Beneficiary bank account id.
|
|
42
42
|
user_id: 56, # Integer | Owner user's id. (deprecated, you must use the parameter filter)
|
|
43
|
-
iban:
|
|
44
|
-
bic:
|
|
45
|
-
nick_name:
|
|
46
|
-
name:
|
|
43
|
+
iban: 'iban_example', # String | Beneficiary bank account IBAN. (deprecated, you must use the parameter filter)
|
|
44
|
+
bic: 'bic_example', # String | Beneficiary bank account BIC. (deprecated, you must use the parameter filter)
|
|
45
|
+
nick_name: 'nick_name_example', # String | Beneficiary bank account's nick name. (deprecated, you must use the parameter filter)
|
|
46
|
+
name: 'name_example', # String | Beneficiary bank account owner's name. (deprecated, you must use the parameter filter)
|
|
47
47
|
page_number: 56, # Integer | Pagination page number. More info [here](https://agent.treezor.com/lists).
|
|
48
48
|
page_count: 56, # Integer | The number of items per page. More info [here](https://agent.treezor.com/lists).
|
|
49
|
-
sort_by:
|
|
50
|
-
sort_order:
|
|
49
|
+
sort_by: 'sort_by_example', # String | The transaction element you want to sort the list with. Default value : _createdDate_. More info [here](https://agent.treezor.com/lists).
|
|
50
|
+
sort_order: 'sort_order_example' # String | The order you want to sort the list. * **DESC** for a descending sort * **ASC** for a ascending sort. Default value : DESC. More info [here](https://agent.treezor.com/lists).
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
begin
|
|
@@ -119,7 +119,7 @@ api_instance = TreezorClient::BeneficiariesApi.new
|
|
|
119
119
|
id = 789 # Integer | Beneficiary Bank Accounts internal id.
|
|
120
120
|
|
|
121
121
|
opts = {
|
|
122
|
-
fields: [
|
|
122
|
+
fields: ['fields_example'] # Array<String> | List of the object's properties you want to pick up.
|
|
123
123
|
}
|
|
124
124
|
|
|
125
125
|
begin
|
|
@@ -175,10 +175,10 @@ end
|
|
|
175
175
|
api_instance = TreezorClient::BeneficiariesApi.new
|
|
176
176
|
|
|
177
177
|
opts = {
|
|
178
|
-
access_signature:
|
|
179
|
-
access_tag:
|
|
178
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
179
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
180
180
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
181
|
-
access_user_ip:
|
|
181
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
182
182
|
body: TreezorClient::Body1.new # Body1 |
|
|
183
183
|
}
|
|
184
184
|
|
|
@@ -240,10 +240,10 @@ api_instance = TreezorClient::BeneficiariesApi.new
|
|
|
240
240
|
id = 56 # Integer | Beneficiary's id.
|
|
241
241
|
|
|
242
242
|
opts = {
|
|
243
|
-
access_signature:
|
|
244
|
-
access_tag:
|
|
243
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
244
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
245
245
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
246
|
-
access_user_ip:
|
|
246
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
247
247
|
body: TreezorClient::Body2.new # Body2 |
|
|
248
248
|
}
|
|
249
249
|
|
data/docs/BusinessApi.md
CHANGED
|
@@ -29,16 +29,16 @@ end
|
|
|
29
29
|
|
|
30
30
|
api_instance = TreezorClient::BusinessApi.new
|
|
31
31
|
|
|
32
|
-
country =
|
|
32
|
+
country = 'country_example' # String | In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
33
33
|
|
|
34
34
|
opts = {
|
|
35
|
-
access_signature:
|
|
36
|
-
access_tag:
|
|
35
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
36
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
37
37
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
38
|
-
access_user_ip:
|
|
39
|
-
external_id:
|
|
40
|
-
registration_number:
|
|
41
|
-
vat_number:
|
|
38
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
39
|
+
external_id: 'external_id_example', # String | External unique business id. As given in businesssearch reponse.
|
|
40
|
+
registration_number: 'registration_number_example', # String | Unique business registration number.
|
|
41
|
+
vat_number: 'vat_number_example' # String | Unique business VAT number.
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
begin
|
|
@@ -79,7 +79,7 @@ Name | Type | Description | Notes
|
|
|
79
79
|
|
|
80
80
|
|
|
81
81
|
# **businesssearchs_get**
|
|
82
|
-
> Array<
|
|
82
|
+
> Array<Object> businesssearchs_get(country, opts)
|
|
83
83
|
|
|
84
84
|
search businesses
|
|
85
85
|
|
|
@@ -99,22 +99,22 @@ end
|
|
|
99
99
|
|
|
100
100
|
api_instance = TreezorClient::BusinessApi.new
|
|
101
101
|
|
|
102
|
-
country =
|
|
102
|
+
country = 'country_example' # String | In which country to search. Format [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)
|
|
103
103
|
|
|
104
104
|
opts = {
|
|
105
|
-
access_signature:
|
|
106
|
-
access_tag:
|
|
105
|
+
access_signature: 'access_signature_example', # String | Access signature can be mandatory for specific context. Treezor will contact you if so. More info [here](https://agent.treezor.com/security-authentication).
|
|
106
|
+
access_tag: 'access_tag_example', # String | Access tag is used for idem potency query. More info [here](https://agent.treezor.com/basics).
|
|
107
107
|
access_user_id: 56, # Integer | Access user's id is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
108
|
-
access_user_ip:
|
|
109
|
-
name_exact:
|
|
110
|
-
name_match_beginning:
|
|
111
|
-
name_closest_keywords:
|
|
112
|
-
registration_number:
|
|
113
|
-
vat_number:
|
|
114
|
-
phone_number:
|
|
115
|
-
address_street:
|
|
116
|
-
address_city:
|
|
117
|
-
address_postal_code:
|
|
108
|
+
access_user_ip: 'access_user_ip_example', # String | Access user's ip is used for user's action restriction. More info [here](https://agent.treezor.com/basics).
|
|
109
|
+
name_exact: 'name_exact_example', # String | Business exact name. Exclusive with nameMatchBeginning and nameClosestKeywords.
|
|
110
|
+
name_match_beginning: 'name_match_beginning_example', # String | Business names begin with. Exclusive with nameExact and nameClosestKeywords.
|
|
111
|
+
name_closest_keywords: 'name_closest_keywords_example', # String | Business names closed to keywords. Exclusive with nameExact and nameMatchBeginning.
|
|
112
|
+
registration_number: 'registration_number_example', # String | Business registration number.
|
|
113
|
+
vat_number: 'vat_number_example', # String | Business VAT number.
|
|
114
|
+
phone_number: 'phone_number_example', # String | Business phone number.
|
|
115
|
+
address_street: 'address_street_example', # String | Business' street address.
|
|
116
|
+
address_city: 'address_city_example', # String | Business' city address.
|
|
117
|
+
address_postal_code: 'address_postal_code_example' # String | Business' postal code address.
|
|
118
118
|
}
|
|
119
119
|
|
|
120
120
|
begin
|
|
@@ -147,7 +147,7 @@ Name | Type | Description | Notes
|
|
|
147
147
|
|
|
148
148
|
### Return type
|
|
149
149
|
|
|
150
|
-
|
|
150
|
+
**Array<Object>**
|
|
151
151
|
|
|
152
152
|
### Authorization
|
|
153
153
|
|