trinsic_api 2.2.0 → 2.3.0.pre.alpha2

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 (100) hide show
  1. checksums.yaml +4 -4
  2. data/docs/AddRedirectUriResponse.md +18 -0
  3. data/docs/AttachmentAccessKeys.md +2 -0
  4. data/docs/ContractField.md +2 -0
  5. data/docs/ContractIdentifierField.md +22 -0
  6. data/docs/CreateHostedProviderSessionResponse.md +1 -1
  7. data/docs/CreateVerificationProfileResponse.md +18 -0
  8. data/docs/CreateWidgetSessionResponse.md +1 -1
  9. data/docs/EnvironmentRedirectUrisAddRequest.md +18 -0
  10. data/docs/EnvironmentRedirectUrisApi.md +222 -0
  11. data/docs/FaydaProviderOutput.md +18 -0
  12. data/docs/Identifier.md +22 -0
  13. data/docs/IdentityData.md +5 -1
  14. data/docs/IntegrationStep.md +1 -1
  15. data/docs/KenyaNidBiometric2Input.md +22 -0
  16. data/docs/KenyaNidInput.md +1 -1
  17. data/docs/KenyaNidLookup2Input.md +18 -0
  18. data/docs/KenyaNidMatch2Input.md +28 -0
  19. data/docs/ListEnvironmentRedirectUrisResponse.md +20 -0
  20. data/docs/ListVerificationProfilesResponse.md +20 -0
  21. data/docs/MexicoCurpProviderOutput.md +18 -0
  22. data/docs/NigeriaNinInput.md +1 -1
  23. data/docs/PhilippinesDigitalNidProviderOutput.md +18 -0
  24. data/docs/PhilippinesPhysicalNidProviderOutput.md +18 -0
  25. data/docs/ProviderContract.md +2 -0
  26. data/docs/ProviderInput.md +8 -0
  27. data/docs/ProviderOutput.md +26 -0
  28. data/docs/RedirectUriResponse.md +20 -0
  29. data/docs/SexV1.md +15 -0
  30. data/docs/SouthAfricaNidInput.md +1 -1
  31. data/docs/SouthAfricaNidLookup2Input.md +18 -0
  32. data/docs/SpidBillingInformation.md +22 -0
  33. data/docs/SpidInput.md +3 -1
  34. data/docs/SpidProviderOutput.md +44 -0
  35. data/docs/VerificationProfileResponse.md +28 -0
  36. data/docs/VerificationProfilesApi.md +231 -0
  37. data/lib/trinsic_api/api/environment_redirect_uris_api.rb +228 -0
  38. data/lib/trinsic_api/api/verification_profiles_api.rb +273 -0
  39. data/lib/trinsic_api/models/add_redirect_uri_response.rb +237 -0
  40. data/lib/trinsic_api/models/attachment_access_keys.rb +11 -1
  41. data/lib/trinsic_api/models/contract_field.rb +28 -1
  42. data/lib/trinsic_api/models/contract_identifier_field.rb +315 -0
  43. data/lib/trinsic_api/models/create_verification_profile_response.rb +238 -0
  44. data/lib/trinsic_api/models/environment_redirect_uris_add_request.rb +237 -0
  45. data/lib/trinsic_api/models/fayda_provider_output.rb +222 -0
  46. data/lib/trinsic_api/models/identifier.rb +289 -0
  47. data/lib/trinsic_api/models/identity_data.rb +43 -5
  48. data/lib/trinsic_api/models/kenya_nid_biometric2_input.rb +246 -0
  49. data/lib/trinsic_api/models/kenya_nid_input.rb +1 -1
  50. data/lib/trinsic_api/models/kenya_nid_lookup2_input.rb +222 -0
  51. data/lib/trinsic_api/models/kenya_nid_match2_input.rb +299 -0
  52. data/lib/trinsic_api/models/list_environment_redirect_uris_response.rb +268 -0
  53. data/lib/trinsic_api/models/list_verification_profiles_response.rb +266 -0
  54. data/lib/trinsic_api/models/mexico_curp_provider_output.rb +222 -0
  55. data/lib/trinsic_api/models/nigeria_nin_input.rb +1 -1
  56. data/lib/trinsic_api/models/philippines_digital_nid_provider_output.rb +238 -0
  57. data/lib/trinsic_api/models/philippines_physical_nid_provider_output.rb +238 -0
  58. data/lib/trinsic_api/models/provider_contract.rb +14 -1
  59. data/lib/trinsic_api/models/provider_input.rb +45 -1
  60. data/lib/trinsic_api/models/provider_output.rb +261 -0
  61. data/lib/trinsic_api/models/redirect_uri_response.rb +263 -0
  62. data/lib/trinsic_api/models/sex_v1.rb +42 -0
  63. data/lib/trinsic_api/models/south_africa_nid_input.rb +1 -1
  64. data/lib/trinsic_api/models/south_africa_nid_lookup2_input.rb +222 -0
  65. data/lib/trinsic_api/models/spid_billing_information.rb +293 -0
  66. data/lib/trinsic_api/models/spid_input.rb +16 -5
  67. data/lib/trinsic_api/models/spid_provider_output.rb +397 -0
  68. data/lib/trinsic_api/models/verification_profile_response.rb +375 -0
  69. data/lib/trinsic_api/version.rb +1 -1
  70. data/lib/trinsic_api.rb +23 -0
  71. data/spec/api/environment_redirect_uris_api_spec.rb +72 -0
  72. data/spec/api/verification_profiles_api_spec.rb +76 -0
  73. data/spec/models/add_redirect_uri_response_spec.rb +36 -0
  74. data/spec/models/attachment_access_keys_spec.rb +6 -0
  75. data/spec/models/contract_field_spec.rb +6 -0
  76. data/spec/models/contract_identifier_field_spec.rb +48 -0
  77. data/spec/models/create_verification_profile_response_spec.rb +36 -0
  78. data/spec/models/environment_redirect_uris_add_request_spec.rb +36 -0
  79. data/spec/models/fayda_provider_output_spec.rb +36 -0
  80. data/spec/models/identifier_spec.rb +48 -0
  81. data/spec/models/identity_data_spec.rb +12 -0
  82. data/spec/models/kenya_nid_biometric2_input_spec.rb +48 -0
  83. data/spec/models/kenya_nid_lookup2_input_spec.rb +36 -0
  84. data/spec/models/kenya_nid_match2_input_spec.rb +66 -0
  85. data/spec/models/list_environment_redirect_uris_response_spec.rb +42 -0
  86. data/spec/models/list_verification_profiles_response_spec.rb +42 -0
  87. data/spec/models/mexico_curp_provider_output_spec.rb +36 -0
  88. data/spec/models/philippines_digital_nid_provider_output_spec.rb +36 -0
  89. data/spec/models/philippines_physical_nid_provider_output_spec.rb +36 -0
  90. data/spec/models/provider_contract_spec.rb +6 -0
  91. data/spec/models/provider_input_spec.rb +24 -0
  92. data/spec/models/provider_output_spec.rb +60 -0
  93. data/spec/models/redirect_uri_response_spec.rb +42 -0
  94. data/spec/models/sex_v1_spec.rb +30 -0
  95. data/spec/models/south_africa_nid_lookup2_input_spec.rb +36 -0
  96. data/spec/models/spid_billing_information_spec.rb +48 -0
  97. data/spec/models/spid_input_spec.rb +6 -0
  98. data/spec/models/spid_provider_output_spec.rb +114 -0
  99. data/spec/models/verification_profile_response_spec.rb +66 -0
  100. metadata +94 -2
@@ -4,11 +4,15 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
+ | **kenya_biometric2** | [**KenyaNidBiometric2Input**](KenyaNidBiometric2Input.md) | Input for the `kenya-nid-match-biometric-2` provider | [optional] |
7
8
  | **indonesia_nik** | [**IndonesiaNikInput**](IndonesiaNikInput.md) | Input for the `indonesia-nik-lookup` provider | [optional] |
8
9
  | **indonesia_dukcapil_match** | [**IndonesiaDukcapilMatchInput**](IndonesiaDukcapilMatchInput.md) | Input for the `indonesia-dukcapil-match` provider | [optional] |
9
10
  | **mexico_curp** | [**MexicoCurpInput**](MexicoCurpInput.md) | Input for the `mexico-curp-lookup` provider | [optional] |
10
11
  | **south_africa_nid** | [**SouthAfricaNidInput**](SouthAfricaNidInput.md) | Input for the `south-africa-nid-lookup` provider | [optional] |
11
12
  | **kenya_nid** | [**KenyaNidInput**](KenyaNidInput.md) | Input for the `kenya-nid-lookup` provider | [optional] |
13
+ | **kenya_nid_match2** | [**KenyaNidMatch2Input**](KenyaNidMatch2Input.md) | Input for the `kenya-nid-match-2` provider | [optional] |
14
+ | **kenya_nid_lookup2** | [**KenyaNidLookup2Input**](KenyaNidLookup2Input.md) | Input for the `kenya-nid-lookup-2` provider | [optional] |
15
+ | **south_africa_nid_lookup2** | [**SouthAfricaNidLookup2Input**](SouthAfricaNidLookup2Input.md) | Input for the `south-africa-nid-lookup-2` provider | [optional] |
12
16
  | **nigeria_nin** | [**NigeriaNinInput**](NigeriaNinInput.md) | Input for the `nigeria-nin-lookup` provider | [optional] |
13
17
  | **aadhaar** | [**AadhaarInput**](AadhaarInput.md) | Input for the `india-digilocker-aadhaar-match` provider | [optional] |
14
18
  | **bangladesh_national_id** | [**BangladeshNidInput**](BangladeshNidInput.md) | Input for the `bangladesh-nid` provider | [optional] |
@@ -31,11 +35,15 @@
31
35
  require 'trinsic_api'
32
36
 
33
37
  instance = TrinsicApi::ProviderInput.new(
38
+ kenya_biometric2: null,
34
39
  indonesia_nik: null,
35
40
  indonesia_dukcapil_match: null,
36
41
  mexico_curp: null,
37
42
  south_africa_nid: null,
38
43
  kenya_nid: null,
44
+ kenya_nid_match2: null,
45
+ kenya_nid_lookup2: null,
46
+ south_africa_nid_lookup2: null,
39
47
  nigeria_nin: null,
40
48
  aadhaar: null,
41
49
  bangladesh_national_id: null,
@@ -0,0 +1,26 @@
1
+ # TrinsicApi::ProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **italy_spid** | [**SpidProviderOutput**](SpidProviderOutput.md) | | [optional] |
8
+ | **mexico_curp_lookup** | [**MexicoCurpProviderOutput**](MexicoCurpProviderOutput.md) | | [optional] |
9
+ | **ethiopia_fayda** | [**FaydaProviderOutput**](FaydaProviderOutput.md) | | [optional] |
10
+ | **philippines_physical_national_id_qr** | [**PhilippinesPhysicalNidProviderOutput**](PhilippinesPhysicalNidProviderOutput.md) | | [optional] |
11
+ | **philippines_digital_national_id_qr** | [**PhilippinesDigitalNidProviderOutput**](PhilippinesDigitalNidProviderOutput.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'trinsic_api'
17
+
18
+ instance = TrinsicApi::ProviderOutput.new(
19
+ italy_spid: null,
20
+ mexico_curp_lookup: null,
21
+ ethiopia_fayda: null,
22
+ philippines_physical_national_id_qr: null,
23
+ philippines_digital_national_id_qr: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,20 @@
1
+ # TrinsicApi::RedirectUriResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | |
8
+ | **uri** | **String** | | |
9
+
10
+ ## Example
11
+
12
+ ```ruby
13
+ require 'trinsic_api'
14
+
15
+ instance = TrinsicApi::RedirectUriResponse.new(
16
+ id: null,
17
+ uri: null
18
+ )
19
+ ```
20
+
data/docs/SexV1.md ADDED
@@ -0,0 +1,15 @@
1
+ # TrinsicApi::SexV1
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'trinsic_api'
12
+
13
+ instance = TrinsicApi::SexV1.new()
14
+ ```
15
+
@@ -7,7 +7,7 @@
7
7
  | **full_name** | **String** | The user's full name as it appears in their National ID | |
8
8
  | **date_of_birth** | **Date** | The user's date of birth, in `YYYY-MM-DD` format | |
9
9
  | **gender** | **String** | The user's gender as it appears in their National ID (e.g., male, female) | |
10
- | **national_id_number** | **String** | The user's South African National ID number | |
10
+ | **national_id_number** | **String** | The user's National ID number | |
11
11
 
12
12
  ## Example
13
13
 
@@ -0,0 +1,18 @@
1
+ # TrinsicApi::SouthAfricaNidLookup2Input
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id_number** | **String** | The user's National ID number | [optional] |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'trinsic_api'
13
+
14
+ instance = TrinsicApi::SouthAfricaNidLookup2Input.new(
15
+ id_number: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,22 @@
1
+ # TrinsicApi::SpidBillingInformation
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **is_billable** | **Boolean** | Whether this SPID verification has resulted in a billable event. | |
8
+ | **verification_type** | **String** | The billable verification type for this SPID verification. Possible values: \"Authentication\" | \"Registration\" | |
9
+ | **verification_level** | **Integer** | The billable verification level for this SPID verification. Possible values: 1 | 2 | 3 | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'trinsic_api'
15
+
16
+ instance = TrinsicApi::SpidBillingInformation.new(
17
+ is_billable: true,
18
+ verification_type: "Authentication",
19
+ verification_level: 1
20
+ )
21
+ ```
22
+
data/docs/SpidInput.md CHANGED
@@ -5,6 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **sub_provider_id** | **String** | The ID of the specific IDP to invoke within SPID. If not specified, the user will be prompted to select an IDP. | [optional] |
8
+ | **billing_tracking_secret** | **String** | Only applicable if period-based billing is enabled for your Verification Profile. Contact Trinsic to enable this. A secret UTF-8 string between 32 and 64 characters in length, used to enable privacy-preserving tracking of unique user verifications during a billing period. WARNING: This value must NOT change during the course of a billing period for a given Verification Profile, or double-billing may occur. If multiple Verification Profiles are configured to use the same Trinsic-managed SPID Service Provider, the same Billing Tracking Secret must be provided across all such Verification Profiles. | [optional] |
8
9
 
9
10
  ## Example
10
11
 
@@ -12,7 +13,8 @@
12
13
  require 'trinsic_api'
13
14
 
14
15
  instance = TrinsicApi::SpidInput.new(
15
- sub_provider_id: null
16
+ sub_provider_id: null,
17
+ billing_tracking_secret: null
16
18
  )
17
19
  ```
18
20
 
@@ -0,0 +1,44 @@
1
+ # TrinsicApi::SpidProviderOutput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **billing_information** | [**SpidBillingInformation**](SpidBillingInformation.md) | Information about the billable status of this SPID Verification. Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this. | [optional] |
8
+ | **identity_provider_entity_id** | **String** | The SPID Entity ID of the Identity Provider which issued the SPID identity. This is an HTTPS URI which uniquely identifies the IdP within the SPID federation. A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model. | |
9
+ | **spid_code** | **String** | The identifier of the user's SPID credential. This uniquely identifies the credential within the SPID federation. | |
10
+ | **spid_credential_expiration_date** | **Date** | Expiration date of the user's SPID credential. This is not the same as the expiration date of the underlying identity document (such as a passport) which was used to create the SPID identity. | [optional] |
11
+ | **place_of_birth** | **String** | The user's place of birth. | [optional] |
12
+ | **county_of_birth** | **String** | The user's county of birth. | [optional] |
13
+ | **raw_id_card** | **String** | The raw, space-separated string value for the \"IdCard\" field from the SPID identity. Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model. | [optional] |
14
+ | **email** | **String** | The email address of the user. | [optional] |
15
+ | **digital_address** | **String** | The digital address of the user. | [optional] |
16
+ | **fiscal_number** | **String** | Fiscal tax number for the subject. | [optional] |
17
+ | **iva_code** | **String** | VAT number for the subject. | [optional] |
18
+ | **company_name** | **String** | The name of the company which the user is associated with. | [optional] |
19
+ | **company_fiscal_number** | **String** | The fiscal tax number of the company which the user is associated with. | [optional] |
20
+ | **registered_office** | **String** | The registered office address of the company which the user is associated with. | [optional] |
21
+
22
+ ## Example
23
+
24
+ ```ruby
25
+ require 'trinsic_api'
26
+
27
+ instance = TrinsicApi::SpidProviderOutput.new(
28
+ billing_information: null,
29
+ identity_provider_entity_id: null,
30
+ spid_code: null,
31
+ spid_credential_expiration_date: null,
32
+ place_of_birth: null,
33
+ county_of_birth: null,
34
+ raw_id_card: null,
35
+ email: null,
36
+ digital_address: null,
37
+ fiscal_number: null,
38
+ iva_code: null,
39
+ company_name: null,
40
+ company_fiscal_number: null,
41
+ registered_office: null
42
+ )
43
+ ```
44
+
@@ -0,0 +1,28 @@
1
+ # TrinsicApi::VerificationProfileResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | The ID of the verification profile | |
8
+ | **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
9
+ | **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
10
+ | **logo_url** | **String** | The URL of the verification profile's logo. | |
11
+ | **primary_color** | **String** | The primary color of the verification profile. | |
12
+ | **enabled_providers** | **Array<String>** | The providers that are currently enabled for the verification profile. | |
13
+
14
+ ## Example
15
+
16
+ ```ruby
17
+ require 'trinsic_api'
18
+
19
+ instance = TrinsicApi::VerificationProfileResponse.new(
20
+ id: null,
21
+ _alias: null,
22
+ brand_name: null,
23
+ logo_url: null,
24
+ primary_color: null,
25
+ enabled_providers: null
26
+ )
27
+ ```
28
+
@@ -0,0 +1,231 @@
1
+ # TrinsicApi::VerificationProfilesApi
2
+
3
+ All URIs are relative to *https://api.trinsic.id*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**create_verification_profile**](VerificationProfilesApi.md#create_verification_profile) | **POST** /api/valpha/verification-profiles | Create Verification Profile |
8
+ | [**get_verification_profile_by_id**](VerificationProfilesApi.md#get_verification_profile_by_id) | **GET** /api/valpha/verification-profiles/{id} | Get Verification Profile |
9
+ | [**list_verification_profiles**](VerificationProfilesApi.md#list_verification_profiles) | **GET** /api/valpha/verification-profiles | List Verification Profiles |
10
+
11
+
12
+ ## create_verification_profile
13
+
14
+ > <CreateVerificationProfileResponse> create_verification_profile(_alias, brand_name, opts)
15
+
16
+ Create Verification Profile
17
+
18
+ Creates a new verification profile within your organization.
19
+
20
+ ### Examples
21
+
22
+ ```ruby
23
+ require 'time'
24
+ require 'trinsic_api'
25
+ # setup authorization
26
+ TrinsicApi.configure do |config|
27
+ # Configure Bearer authorization: Bearer
28
+ config.access_token = 'YOUR_BEARER_TOKEN'
29
+ end
30
+
31
+ api_instance = TrinsicApi::VerificationProfilesApi.new
32
+ _alias = '_alias_example' # String | An alias of the verification profile shown to developers and administrators.
33
+ brand_name = 'brand_name_example' # String | The brand name of the verification profile shown to end-users.
34
+ opts = {
35
+ primary_color: 'primary_color_example', # String | The primary color of the verification profile. Must be a 6-character hex string prefixed with a '#' character. Example: #000000
36
+ providers: ['inner_example'], # Array<String> | The list of providers you'd like to select for this profile. We will not currently enable any providers.
37
+ logo: File.new('/path/to/some/file') # File | The logo of the verification profile.
38
+ }
39
+
40
+ begin
41
+ # Create Verification Profile
42
+ result = api_instance.create_verification_profile(_alias, brand_name, opts)
43
+ p result
44
+ rescue TrinsicApi::ApiError => e
45
+ puts "Error when calling VerificationProfilesApi->create_verification_profile: #{e}"
46
+ end
47
+ ```
48
+
49
+ #### Using the create_verification_profile_with_http_info variant
50
+
51
+ This returns an Array which contains the response data, status code and headers.
52
+
53
+ > <Array(<CreateVerificationProfileResponse>, Integer, Hash)> create_verification_profile_with_http_info(_alias, brand_name, opts)
54
+
55
+ ```ruby
56
+ begin
57
+ # Create Verification Profile
58
+ data, status_code, headers = api_instance.create_verification_profile_with_http_info(_alias, brand_name, opts)
59
+ p status_code # => 2xx
60
+ p headers # => { ... }
61
+ p data # => <CreateVerificationProfileResponse>
62
+ rescue TrinsicApi::ApiError => e
63
+ puts "Error when calling VerificationProfilesApi->create_verification_profile_with_http_info: #{e}"
64
+ end
65
+ ```
66
+
67
+ ### Parameters
68
+
69
+ | Name | Type | Description | Notes |
70
+ | ---- | ---- | ----------- | ----- |
71
+ | **_alias** | **String** | An alias of the verification profile shown to developers and administrators. | |
72
+ | **brand_name** | **String** | The brand name of the verification profile shown to end-users. | |
73
+ | **primary_color** | **String** | The primary color of the verification profile. Must be a 6-character hex string prefixed with a &#39;#&#39; character. Example: #000000 | [optional] |
74
+ | **providers** | [**Array&lt;String&gt;**](String.md) | The list of providers you&#39;d like to select for this profile. We will not currently enable any providers. | [optional] |
75
+ | **logo** | **File** | The logo of the verification profile. | [optional] |
76
+
77
+ ### Return type
78
+
79
+ [**CreateVerificationProfileResponse**](CreateVerificationProfileResponse.md)
80
+
81
+ ### Authorization
82
+
83
+ [Bearer](../README.md#Bearer)
84
+
85
+ ### HTTP request headers
86
+
87
+ - **Content-Type**: multipart/form-data
88
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
89
+
90
+
91
+ ## get_verification_profile_by_id
92
+
93
+ > <VerificationProfileResponse> get_verification_profile_by_id(id)
94
+
95
+ Get Verification Profile
96
+
97
+ Gets a specific verification profile by ID.
98
+
99
+ ### Examples
100
+
101
+ ```ruby
102
+ require 'time'
103
+ require 'trinsic_api'
104
+ # setup authorization
105
+ TrinsicApi.configure do |config|
106
+ # Configure Bearer authorization: Bearer
107
+ config.access_token = 'YOUR_BEARER_TOKEN'
108
+ end
109
+
110
+ api_instance = TrinsicApi::VerificationProfilesApi.new
111
+ id = '38400000-8cf0-11bd-b23e-10b96e4ef00d' # String |
112
+
113
+ begin
114
+ # Get Verification Profile
115
+ result = api_instance.get_verification_profile_by_id(id)
116
+ p result
117
+ rescue TrinsicApi::ApiError => e
118
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_id: #{e}"
119
+ end
120
+ ```
121
+
122
+ #### Using the get_verification_profile_by_id_with_http_info variant
123
+
124
+ This returns an Array which contains the response data, status code and headers.
125
+
126
+ > <Array(<VerificationProfileResponse>, Integer, Hash)> get_verification_profile_by_id_with_http_info(id)
127
+
128
+ ```ruby
129
+ begin
130
+ # Get Verification Profile
131
+ data, status_code, headers = api_instance.get_verification_profile_by_id_with_http_info(id)
132
+ p status_code # => 2xx
133
+ p headers # => { ... }
134
+ p data # => <VerificationProfileResponse>
135
+ rescue TrinsicApi::ApiError => e
136
+ puts "Error when calling VerificationProfilesApi->get_verification_profile_by_id_with_http_info: #{e}"
137
+ end
138
+ ```
139
+
140
+ ### Parameters
141
+
142
+ | Name | Type | Description | Notes |
143
+ | ---- | ---- | ----------- | ----- |
144
+ | **id** | **String** | | |
145
+
146
+ ### Return type
147
+
148
+ [**VerificationProfileResponse**](VerificationProfileResponse.md)
149
+
150
+ ### Authorization
151
+
152
+ [Bearer](../README.md#Bearer)
153
+
154
+ ### HTTP request headers
155
+
156
+ - **Content-Type**: Not defined
157
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
158
+
159
+
160
+ ## list_verification_profiles
161
+
162
+ > <ListVerificationProfilesResponse> list_verification_profiles(opts)
163
+
164
+ List Verification Profiles
165
+
166
+ List the verification profiles for the current organization and environment.
167
+
168
+ ### Examples
169
+
170
+ ```ruby
171
+ require 'time'
172
+ require 'trinsic_api'
173
+ # setup authorization
174
+ TrinsicApi.configure do |config|
175
+ # Configure Bearer authorization: Bearer
176
+ config.access_token = 'YOUR_BEARER_TOKEN'
177
+ end
178
+
179
+ api_instance = TrinsicApi::VerificationProfilesApi.new
180
+ opts = {
181
+ page: 56, # Integer |
182
+ page_size: 56 # Integer | Size of the list to be returned. Accepted range from 1 to 100
183
+ }
184
+
185
+ begin
186
+ # List Verification Profiles
187
+ result = api_instance.list_verification_profiles(opts)
188
+ p result
189
+ rescue TrinsicApi::ApiError => e
190
+ puts "Error when calling VerificationProfilesApi->list_verification_profiles: #{e}"
191
+ end
192
+ ```
193
+
194
+ #### Using the list_verification_profiles_with_http_info variant
195
+
196
+ This returns an Array which contains the response data, status code and headers.
197
+
198
+ > <Array(<ListVerificationProfilesResponse>, Integer, Hash)> list_verification_profiles_with_http_info(opts)
199
+
200
+ ```ruby
201
+ begin
202
+ # List Verification Profiles
203
+ data, status_code, headers = api_instance.list_verification_profiles_with_http_info(opts)
204
+ p status_code # => 2xx
205
+ p headers # => { ... }
206
+ p data # => <ListVerificationProfilesResponse>
207
+ rescue TrinsicApi::ApiError => e
208
+ puts "Error when calling VerificationProfilesApi->list_verification_profiles_with_http_info: #{e}"
209
+ end
210
+ ```
211
+
212
+ ### Parameters
213
+
214
+ | Name | Type | Description | Notes |
215
+ | ---- | ---- | ----------- | ----- |
216
+ | **page** | **Integer** | | [optional][default to 1] |
217
+ | **page_size** | **Integer** | Size of the list to be returned. Accepted range from 1 to 100 | [optional][default to 20] |
218
+
219
+ ### Return type
220
+
221
+ [**ListVerificationProfilesResponse**](ListVerificationProfilesResponse.md)
222
+
223
+ ### Authorization
224
+
225
+ [Bearer](../README.md#Bearer)
226
+
227
+ ### HTTP request headers
228
+
229
+ - **Content-Type**: Not defined
230
+ - **Accept**: text/plain, application/json, text/json, application/problem+json
231
+