trulioo_sdk 1.0.3

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.
Files changed (92) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +155 -0
  3. data/docs/Address.md +44 -0
  4. data/docs/AppendedField.md +20 -0
  5. data/docs/Business.md +36 -0
  6. data/docs/BusinessApi.md +155 -0
  7. data/docs/BusinessRecord.md +24 -0
  8. data/docs/BusinessRegistrationNumber.md +30 -0
  9. data/docs/BusinessRegistrationNumberMask.md +22 -0
  10. data/docs/BusinessResult.md +22 -0
  11. data/docs/BusinessSearchRequest.md +28 -0
  12. data/docs/BusinessSearchRequestBusinessSearchModel.md +26 -0
  13. data/docs/BusinessSearchResponse.md +28 -0
  14. data/docs/BusinessSearchResponseIndustryCode.md +20 -0
  15. data/docs/Communication.md +24 -0
  16. data/docs/ConfigurationApi.md +761 -0
  17. data/docs/ConnectionApi.md +213 -0
  18. data/docs/Consent.md +22 -0
  19. data/docs/CountrySubdivision.md +22 -0
  20. data/docs/DataField.md +22 -0
  21. data/docs/DataFields.md +34 -0
  22. data/docs/DatasourceField.md +24 -0
  23. data/docs/DatasourceResult.md +28 -0
  24. data/docs/Document.md +28 -0
  25. data/docs/DriverLicence.md +26 -0
  26. data/docs/Location.md +42 -0
  27. data/docs/LocationAdditionalFields.md +18 -0
  28. data/docs/NationalId.md +28 -0
  29. data/docs/NormalizedDatasourceField.md +20 -0
  30. data/docs/NormalizedDatasourceGroupCountry.md +34 -0
  31. data/docs/Passport.md +28 -0
  32. data/docs/PersonInfo.md +38 -0
  33. data/docs/PersonInfoAdditionalFields.md +18 -0
  34. data/docs/Record.md +26 -0
  35. data/docs/RecordRule.md +20 -0
  36. data/docs/Result.md +62 -0
  37. data/docs/ServiceError.md +20 -0
  38. data/docs/TestEntityDataFields.md +36 -0
  39. data/docs/TransactionRecordResult.md +32 -0
  40. data/docs/TransactionRecordResultAllOf.md +18 -0
  41. data/docs/TransactionStatus.md +26 -0
  42. data/docs/VerificationsApi.md +529 -0
  43. data/docs/VerifyRequest.md +38 -0
  44. data/docs/VerifyResult.md +30 -0
  45. data/lib/trulioo_sdk.rb +77 -0
  46. data/lib/trulioo_sdk/api/business_api.rb +158 -0
  47. data/lib/trulioo_sdk/api/configuration_api.rb +750 -0
  48. data/lib/trulioo_sdk/api/connection_api.rb +221 -0
  49. data/lib/trulioo_sdk/api/verifications_api.rb +515 -0
  50. data/lib/trulioo_sdk/api_client.rb +391 -0
  51. data/lib/trulioo_sdk/api_error.rb +53 -0
  52. data/lib/trulioo_sdk/configuration.rb +268 -0
  53. data/lib/trulioo_sdk/models/address.rb +356 -0
  54. data/lib/trulioo_sdk/models/appended_field.rb +237 -0
  55. data/lib/trulioo_sdk/models/business.rb +318 -0
  56. data/lib/trulioo_sdk/models/business_record.rb +261 -0
  57. data/lib/trulioo_sdk/models/business_registration_number.rb +410 -0
  58. data/lib/trulioo_sdk/models/business_registration_number_mask.rb +272 -0
  59. data/lib/trulioo_sdk/models/business_result.rb +249 -0
  60. data/lib/trulioo_sdk/models/business_search_request.rb +306 -0
  61. data/lib/trulioo_sdk/models/business_search_request_business_search_model.rb +364 -0
  62. data/lib/trulioo_sdk/models/business_search_response.rb +279 -0
  63. data/lib/trulioo_sdk/models/business_search_response_industry_code.rb +236 -0
  64. data/lib/trulioo_sdk/models/communication.rb +354 -0
  65. data/lib/trulioo_sdk/models/consent.rb +249 -0
  66. data/lib/trulioo_sdk/models/country_subdivision.rb +320 -0
  67. data/lib/trulioo_sdk/models/data_field.rb +245 -0
  68. data/lib/trulioo_sdk/models/data_fields.rb +306 -0
  69. data/lib/trulioo_sdk/models/datasource_field.rb +254 -0
  70. data/lib/trulioo_sdk/models/datasource_result.rb +281 -0
  71. data/lib/trulioo_sdk/models/document.rb +278 -0
  72. data/lib/trulioo_sdk/models/driver_licence.rb +268 -0
  73. data/lib/trulioo_sdk/models/location.rb +347 -0
  74. data/lib/trulioo_sdk/models/location_additional_fields.rb +229 -0
  75. data/lib/trulioo_sdk/models/national_id.rb +277 -0
  76. data/lib/trulioo_sdk/models/normalized_datasource_field.rb +286 -0
  77. data/lib/trulioo_sdk/models/normalized_datasource_group_country.rb +437 -0
  78. data/lib/trulioo_sdk/models/passport.rb +326 -0
  79. data/lib/trulioo_sdk/models/person_info.rb +448 -0
  80. data/lib/trulioo_sdk/models/person_info_additional_fields.rb +228 -0
  81. data/lib/trulioo_sdk/models/record.rb +270 -0
  82. data/lib/trulioo_sdk/models/record_rule.rb +239 -0
  83. data/lib/trulioo_sdk/models/result.rb +440 -0
  84. data/lib/trulioo_sdk/models/service_error.rb +236 -0
  85. data/lib/trulioo_sdk/models/test_entity_data_fields.rb +315 -0
  86. data/lib/trulioo_sdk/models/transaction_record_result.rb +307 -0
  87. data/lib/trulioo_sdk/models/transaction_record_result_all_of.rb +229 -0
  88. data/lib/trulioo_sdk/models/transaction_status.rb +341 -0
  89. data/lib/trulioo_sdk/models/verify_request.rb +410 -0
  90. data/lib/trulioo_sdk/models/verify_result.rb +288 -0
  91. data/lib/trulioo_sdk/version.rb +11 -0
  92. metadata +223 -0
@@ -0,0 +1,18 @@
1
+ # Trulioo::LocationAdditionalFields
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **address1** | **String** | Address1 is available in certain countries. It can be used to pass a compiled address field instead of sending individual address attributes (such as UnitNumber, BuidlingNumber, BuildingName, StreetName and StreetType). GlobalGateway will provide a pass through of Address1 directly to connected datasources for the selected country. Please note: each datasource requires the address fields to be configured in a certain manner, implementing and sending Address1 instead of individual address fields may affect your ability to verify this address. | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trulioo_sdk'
13
+
14
+ instance = Trulioo::LocationAdditionalFields.new(
15
+ address1: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,28 @@
1
+ # Trulioo::NationalId
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **number** | **String** | | [optional] |
8
+ | **type** | **String** | Supported Types: NationalID, Health, SocialService, TaxIDNumber | [optional] |
9
+ | **district_of_issue** | **String** | District that issued the ID | [optional] |
10
+ | **city_of_issue** | **String** | City that issued the ID | [optional] |
11
+ | **province_of_issue** | **String** | Province that issued the ID | [optional] |
12
+ | **county_of_issue** | **String** | County that issued the ID | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'trulioo_sdk'
18
+
19
+ instance = Trulioo::NationalId.new(
20
+ number: null,
21
+ type: null,
22
+ district_of_issue: null,
23
+ city_of_issue: null,
24
+ province_of_issue: null,
25
+ county_of_issue: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,20 @@
1
+ # Trulioo::NormalizedDatasourceField
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **field_name** | **String** | Field Name | [optional] |
8
+ | **type** | **String** | Type | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trulioo_sdk'
14
+
15
+ instance = Trulioo::NormalizedDatasourceField.new(
16
+ field_name: null,
17
+ type: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,34 @@
1
+ # Trulioo::NormalizedDatasourceGroupCountry
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | Name | [optional] |
8
+ | **description** | **String** | Description | [optional] |
9
+ | **required_fields** | [**Array<NormalizedDatasourceField>**](NormalizedDatasourceField.md) | Required Fields | [optional] |
10
+ | **optional_fields** | [**Array<NormalizedDatasourceField>**](NormalizedDatasourceField.md) | Optional Fields | [optional] |
11
+ | **appended_fields** | [**Array<NormalizedDatasourceField>**](NormalizedDatasourceField.md) | Appended Fields | [optional] |
12
+ | **output_fields** | [**Array<NormalizedDatasourceField>**](NormalizedDatasourceField.md) | Output Fields | [optional] |
13
+ | **source_type** | **String** | Source Type | [optional] |
14
+ | **update_frequency** | **String** | Update Frequency | [optional] |
15
+ | **coverage** | **String** | Coverage | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'trulioo_sdk'
21
+
22
+ instance = Trulioo::NormalizedDatasourceGroupCountry.new(
23
+ name: null,
24
+ description: null,
25
+ required_fields: null,
26
+ optional_fields: null,
27
+ appended_fields: null,
28
+ output_fields: null,
29
+ source_type: null,
30
+ update_frequency: null,
31
+ coverage: null
32
+ )
33
+ ```
34
+
data/docs/Passport.md ADDED
@@ -0,0 +1,28 @@
1
+ # Trulioo::Passport
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **mrz1** | **String** | Line 1 of the passport MRZ | [optional] |
8
+ | **mrz2** | **String** | line 2 of the passport MRZ | [optional] |
9
+ | **number** | **String** | Passport Number | [optional] |
10
+ | **day_of_expiry** | **Integer** | Passport's Licence day of expiry of the individual to be verified | [optional] |
11
+ | **month_of_expiry** | **Integer** | Passport's Licence month of expiry of the individual to be verified | [optional] |
12
+ | **year_of_expiry** | **Integer** | Passport's Licence year of expiry of the individual to be verified | [optional] |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'trulioo_sdk'
18
+
19
+ instance = Trulioo::Passport.new(
20
+ mrz1: null,
21
+ mrz2: null,
22
+ number: null,
23
+ day_of_expiry: null,
24
+ month_of_expiry: null,
25
+ year_of_expiry: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,38 @@
1
+ # Trulioo::PersonInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **first_given_name** | **String** | First name of the individual to be verified | [optional] |
8
+ | **middle_name** | **String** | Second given name of the individual to be verified | [optional] |
9
+ | **first_sur_name** | **String** | First (paternal) family name of the individual to be verified | [optional] |
10
+ | **second_surname** | **String** | second family name of the individual to be verified | [optional] |
11
+ | **iso_latin1_name** | **String** | Enter full name in ISO Latin-1 character set | [optional] |
12
+ | **day_of_birth** | **Integer** | Day of birth date (e.g. 23 for a date of birth of 23/11/1975) | [optional] |
13
+ | **month_of_birth** | **Integer** | Month of birth date (e.g. 11 for a date of birth of 23/11/1975) | [optional] |
14
+ | **year_of_birth** | **Integer** | Year of birth date (e.g. 1975 for a date of birth of 23/11/1975) | [optional] |
15
+ | **minimum_age** | **Integer** | Minimum permitted age of the individual | [optional] |
16
+ | **gender** | **String** | Single character M / F (M = Male, F = Female) | [optional] |
17
+ | **additional_fields** | [**PersonInfoAdditionalFields**](PersonInfoAdditionalFields.md) | | [optional] |
18
+
19
+ ## Example
20
+
21
+ ```ruby
22
+ require 'trulioo_sdk'
23
+
24
+ instance = Trulioo::PersonInfo.new(
25
+ first_given_name: null,
26
+ middle_name: null,
27
+ first_sur_name: null,
28
+ second_surname: null,
29
+ iso_latin1_name: null,
30
+ day_of_birth: null,
31
+ month_of_birth: null,
32
+ year_of_birth: null,
33
+ minimum_age: null,
34
+ gender: null,
35
+ additional_fields: null
36
+ )
37
+ ```
38
+
@@ -0,0 +1,18 @@
1
+ # Trulioo::PersonInfoAdditionalFields
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **full_name** | **String** | Full name of of the individual to be verified | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trulioo_sdk'
13
+
14
+ instance = Trulioo::PersonInfoAdditionalFields.new(
15
+ full_name: null
16
+ )
17
+ ```
18
+
data/docs/Record.md ADDED
@@ -0,0 +1,26 @@
1
+ # Trulioo::Record
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transaction_record_id** | **String** | The TransactionRecordID, this is the ID you will use to fetch the transaction again. | [optional] |
8
+ | **record_status** | **String** | 'match' or 'nomatch' if the verification passed the rules configured on your account this will be 'match'. | [optional] |
9
+ | **datasource_results** | [**Array<DatasourceResult>**](DatasourceResult.md) | Results for each datasource that was queried | [optional] |
10
+ | **errors** | [**Array<ServiceError>**](ServiceError.md) | | [optional] |
11
+ | **rule** | [**RecordRule**](RecordRule.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'trulioo_sdk'
17
+
18
+ instance = Trulioo::Record.new(
19
+ transaction_record_id: null,
20
+ record_status: null,
21
+ datasource_results: null,
22
+ errors: null,
23
+ rule: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,20 @@
1
+ # Trulioo::RecordRule
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rule_name** | **String** | Name of RecordRule. | [optional] |
8
+ | **note** | **String** | Rule Description. | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trulioo_sdk'
14
+
15
+ instance = Trulioo::RecordRule.new(
16
+ rule_name: null,
17
+ note: null
18
+ )
19
+ ```
20
+
data/docs/Result.md ADDED
@@ -0,0 +1,62 @@
1
+ # Trulioo::Result
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **index** | **String** | | [optional] |
8
+ | **business_name** | **String** | | [optional] |
9
+ | **matching_score** | **String** | | [optional] |
10
+ | **business_registration_number** | **String** | | [optional] |
11
+ | **duns_number** | **String** | | [optional] |
12
+ | **business_tax_id_number** | **String** | | [optional] |
13
+ | **business_license_number** | **String** | | [optional] |
14
+ | **jurisdiction_of_incorporation** | **String** | | [optional] |
15
+ | **full_address** | **String** | | [optional] |
16
+ | **business_status** | **String** | Business Status | [optional] |
17
+ | **trade_style_name** | **String** | Trade Style Name | [optional] |
18
+ | **business_type** | **String** | Business Type | [optional] |
19
+ | **address** | [**Address**](Address.md) | | [optional] |
20
+ | **other_business_names** | **Array<String>** | | [optional] |
21
+ | **website** | **String** | | [optional] |
22
+ | **telephone** | **String** | | [optional] |
23
+ | **tax_id_number** | **String** | | [optional] |
24
+ | **tax_id_numbers** | **Array<String>** | | [optional] |
25
+ | **email_address** | **String** | | [optional] |
26
+ | **web_domain** | **String** | | [optional] |
27
+ | **web_domains** | **Array<String>** | | [optional] |
28
+ | **naics** | [**Array<BusinessSearchResponseIndustryCode>**](BusinessSearchResponseIndustryCode.md) | North American Industry Classification System | [optional] |
29
+ | **sic** | [**Array<BusinessSearchResponseIndustryCode>**](BusinessSearchResponseIndustryCode.md) | Standard Industrial Classification | [optional] |
30
+
31
+ ## Example
32
+
33
+ ```ruby
34
+ require 'trulioo_sdk'
35
+
36
+ instance = Trulioo::Result.new(
37
+ index: null,
38
+ business_name: null,
39
+ matching_score: null,
40
+ business_registration_number: null,
41
+ duns_number: null,
42
+ business_tax_id_number: null,
43
+ business_license_number: null,
44
+ jurisdiction_of_incorporation: null,
45
+ full_address: null,
46
+ business_status: null,
47
+ trade_style_name: null,
48
+ business_type: null,
49
+ address: null,
50
+ other_business_names: null,
51
+ website: null,
52
+ telephone: null,
53
+ tax_id_number: null,
54
+ tax_id_numbers: null,
55
+ email_address: null,
56
+ web_domain: null,
57
+ web_domains: null,
58
+ naics: null,
59
+ sic: null
60
+ )
61
+ ```
62
+
@@ -0,0 +1,20 @@
1
+ # Trulioo::ServiceError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **String** | | [optional] |
8
+ | **message** | **String** | | [optional] |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trulioo_sdk'
14
+
15
+ instance = Trulioo::ServiceError.new(
16
+ code: null,
17
+ message: null
18
+ )
19
+ ```
20
+
@@ -0,0 +1,36 @@
1
+ # Trulioo::TestEntityDataFields
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **test_entity_name** | **String** | Friendly name for the test entity | [optional] |
8
+ | **person_info** | [**PersonInfo**](PersonInfo.md) | | [optional] |
9
+ | **location** | [**Location**](Location.md) | | [optional] |
10
+ | **communication** | [**Communication**](Communication.md) | | [optional] |
11
+ | **driver_licence** | [**DriverLicence**](DriverLicence.md) | | [optional] |
12
+ | **national_ids** | [**Array<NationalId>**](NationalId.md) | National Identification Information | [optional] |
13
+ | **passport** | [**Passport**](Passport.md) | | [optional] |
14
+ | **document** | [**Document**](Document.md) | | [optional] |
15
+ | **business** | [**Business**](Business.md) | | [optional] |
16
+ | **country_specific** | **Hash<String, Hash<String, String>>** | CountrySpecific fields {\"CountryCode\" : {\"Field1\" : \"Value\", \"Field2\" : \"Value\" }} | [optional] |
17
+
18
+ ## Example
19
+
20
+ ```ruby
21
+ require 'trulioo_sdk'
22
+
23
+ instance = Trulioo::TestEntityDataFields.new(
24
+ test_entity_name: null,
25
+ person_info: null,
26
+ location: null,
27
+ communication: null,
28
+ driver_licence: null,
29
+ national_ids: null,
30
+ passport: null,
31
+ document: null,
32
+ business: null,
33
+ country_specific: null
34
+ )
35
+ ```
36
+
@@ -0,0 +1,32 @@
1
+ # Trulioo::TransactionRecordResult
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transaction_id** | **String** | The id for the transaction it will be a GUID | [optional] |
8
+ | **uploaded_dt** | **Time** | Time in UTC | [optional] |
9
+ | **country_code** | **String** | Country Code | [optional] |
10
+ | **product_name** | **String** | Product Name | [optional] |
11
+ | **record** | [**Record**](Record.md) | | [optional] |
12
+ | **customer_reference_id** | **String** | Customer Reference Id | [optional] |
13
+ | **errors** | [**Array<ServiceError>**](ServiceError.md) | | [optional] |
14
+ | **input_fields** | [**Array<DataField>**](DataField.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'trulioo_sdk'
20
+
21
+ instance = Trulioo::TransactionRecordResult.new(
22
+ transaction_id: null,
23
+ uploaded_dt: null,
24
+ country_code: null,
25
+ product_name: null,
26
+ record: null,
27
+ customer_reference_id: null,
28
+ errors: null,
29
+ input_fields: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,18 @@
1
+ # Trulioo::TransactionRecordResultAllOf
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **input_fields** | [**Array<DataField>**](DataField.md) | | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trulioo_sdk'
13
+
14
+ instance = Trulioo::TransactionRecordResultAllOf.new(
15
+ input_fields: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # Trulioo::TransactionStatus
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **transaction_id** | **String** | Transaction ID of the transaction | [optional] |
8
+ | **transaction_record_id** | **String** | Transaction Record ID of the transaction available once the transaction has finished processing | [optional] |
9
+ | **status** | **String** | Status of the transaction. Possible Values: Uploading, Processing, Completed, InProgress, Failed, WaitAsync, ToBeResumed, Canceled, TimeoutCanceled. Call GetTransactionRecord when status changes to Completed, Failed, Canceled or TimeoutCanceled to get the verification results. | [optional] |
10
+ | **uploaded_dt** | **Time** | Uploaded date for transaction | [optional] |
11
+ | **is_timed_out** | **Boolean** | Set to true when transaction has timed out | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'trulioo_sdk'
17
+
18
+ instance = Trulioo::TransactionStatus.new(
19
+ transaction_id: null,
20
+ transaction_record_id: null,
21
+ status: null,
22
+ uploaded_dt: null,
23
+ is_timed_out: null
24
+ )
25
+ ```
26
+