@trinsic/api 2.2.0 → 2.3.0-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.
- package/.openapi-generator/FILES +23 -0
- package/dist/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
- package/dist/apis/EnvironmentRedirectUrisApi.js +145 -0
- package/dist/apis/VerificationProfilesApi.d.ts +117 -0
- package/dist/apis/VerificationProfilesApi.js +183 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/apis/EnvironmentRedirectUrisApi.d.ts +109 -0
- package/dist/esm/apis/EnvironmentRedirectUrisApi.js +141 -0
- package/dist/esm/apis/VerificationProfilesApi.d.ts +117 -0
- package/dist/esm/apis/VerificationProfilesApi.js +179 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AddRedirectUriResponse.d.ts +32 -0
- package/dist/esm/models/AddRedirectUriResponse.js +43 -0
- package/dist/esm/models/AttachmentAccessKeys.d.ts +6 -0
- package/dist/esm/models/AttachmentAccessKeys.js +2 -0
- package/dist/esm/models/ContractField.d.ts +7 -0
- package/dist/esm/models/ContractField.js +4 -0
- package/dist/esm/models/ContractIdentifierField.d.ts +45 -0
- package/dist/esm/models/ContractIdentifierField.js +52 -0
- package/dist/esm/models/CreateVerificationProfileResponse.d.ts +32 -0
- package/dist/esm/models/CreateVerificationProfileResponse.js +43 -0
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
- package/dist/esm/models/EnvironmentRedirectUrisAddRequest.js +43 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +35 -0
- package/dist/esm/models/FaydaProviderOutput.js +41 -0
- package/dist/esm/models/Identifier.d.ts +44 -0
- package/dist/esm/models/Identifier.js +51 -0
- package/dist/esm/models/IdentityData.d.ts +14 -0
- package/dist/esm/models/IdentityData.js +8 -0
- package/dist/esm/models/KenyaNidBiometric2Input.d.ts +47 -0
- package/dist/esm/models/KenyaNidBiometric2Input.js +45 -0
- package/dist/esm/models/KenyaNidInput.d.ts +1 -1
- package/dist/esm/models/KenyaNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/KenyaNidLookup2Input.js +41 -0
- package/dist/esm/models/KenyaNidMatch2Input.d.ts +63 -0
- package/dist/esm/models/KenyaNidMatch2Input.js +52 -0
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
- package/dist/esm/models/ListEnvironmentRedirectUrisResponse.js +48 -0
- package/dist/esm/models/ListVerificationProfilesResponse.d.ts +39 -0
- package/dist/esm/models/ListVerificationProfilesResponse.js +48 -0
- package/dist/esm/models/MexicoCurpProviderOutput.d.ts +44 -0
- package/dist/esm/models/MexicoCurpProviderOutput.js +41 -0
- package/dist/esm/models/NigeriaNinInput.d.ts +1 -1
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +43 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +43 -0
- package/dist/esm/models/ProviderContract.d.ts +7 -0
- package/dist/esm/models/ProviderContract.js +3 -0
- package/dist/esm/models/ProviderInput.d.ts +28 -0
- package/dist/esm/models/ProviderInput.js +12 -0
- package/dist/esm/models/ProviderOutput.d.ts +61 -0
- package/dist/esm/models/ProviderOutput.js +54 -0
- package/dist/esm/models/RedirectUriResponse.d.ts +38 -0
- package/dist/esm/models/RedirectUriResponse.js +47 -0
- package/dist/esm/models/SexV1.d.ts +27 -0
- package/dist/esm/models/SexV1.js +45 -0
- package/dist/esm/models/SouthAfricaNidInput.d.ts +1 -1
- package/dist/esm/models/SouthAfricaNidLookup2Input.d.ts +32 -0
- package/dist/esm/models/SouthAfricaNidLookup2Input.js +41 -0
- package/dist/esm/models/SpidBillingInformation.d.ts +48 -0
- package/dist/esm/models/SpidBillingInformation.js +51 -0
- package/dist/esm/models/SpidInput.d.ts +11 -0
- package/dist/esm/models/SpidInput.js +2 -0
- package/dist/esm/models/SpidProviderOutput.d.ts +124 -0
- package/dist/esm/models/SpidProviderOutput.js +72 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +62 -0
- package/dist/esm/models/VerificationProfileResponse.js +63 -0
- package/dist/esm/models/index.d.ts +21 -0
- package/dist/esm/models/index.js +21 -0
- package/dist/models/AddRedirectUriResponse.d.ts +32 -0
- package/dist/models/AddRedirectUriResponse.js +50 -0
- package/dist/models/AttachmentAccessKeys.d.ts +6 -0
- package/dist/models/AttachmentAccessKeys.js +2 -0
- package/dist/models/ContractField.d.ts +7 -0
- package/dist/models/ContractField.js +4 -0
- package/dist/models/ContractIdentifierField.d.ts +45 -0
- package/dist/models/ContractIdentifierField.js +59 -0
- package/dist/models/CreateVerificationProfileResponse.d.ts +32 -0
- package/dist/models/CreateVerificationProfileResponse.js +50 -0
- package/dist/models/EnvironmentRedirectUrisAddRequest.d.ts +32 -0
- package/dist/models/EnvironmentRedirectUrisAddRequest.js +50 -0
- package/dist/models/FaydaProviderOutput.d.ts +35 -0
- package/dist/models/FaydaProviderOutput.js +48 -0
- package/dist/models/Identifier.d.ts +44 -0
- package/dist/models/Identifier.js +58 -0
- package/dist/models/IdentityData.d.ts +14 -0
- package/dist/models/IdentityData.js +8 -0
- package/dist/models/KenyaNidBiometric2Input.d.ts +47 -0
- package/dist/models/KenyaNidBiometric2Input.js +52 -0
- package/dist/models/KenyaNidInput.d.ts +1 -1
- package/dist/models/KenyaNidLookup2Input.d.ts +32 -0
- package/dist/models/KenyaNidLookup2Input.js +48 -0
- package/dist/models/KenyaNidMatch2Input.d.ts +63 -0
- package/dist/models/KenyaNidMatch2Input.js +59 -0
- package/dist/models/ListEnvironmentRedirectUrisResponse.d.ts +39 -0
- package/dist/models/ListEnvironmentRedirectUrisResponse.js +55 -0
- package/dist/models/ListVerificationProfilesResponse.d.ts +39 -0
- package/dist/models/ListVerificationProfilesResponse.js +55 -0
- package/dist/models/MexicoCurpProviderOutput.d.ts +44 -0
- package/dist/models/MexicoCurpProviderOutput.js +48 -0
- package/dist/models/NigeriaNinInput.d.ts +1 -1
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +32 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +50 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +32 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +50 -0
- package/dist/models/ProviderContract.d.ts +7 -0
- package/dist/models/ProviderContract.js +3 -0
- package/dist/models/ProviderInput.d.ts +28 -0
- package/dist/models/ProviderInput.js +12 -0
- package/dist/models/ProviderOutput.d.ts +61 -0
- package/dist/models/ProviderOutput.js +61 -0
- package/dist/models/RedirectUriResponse.d.ts +38 -0
- package/dist/models/RedirectUriResponse.js +54 -0
- package/dist/models/SexV1.d.ts +27 -0
- package/dist/models/SexV1.js +53 -0
- package/dist/models/SouthAfricaNidInput.d.ts +1 -1
- package/dist/models/SouthAfricaNidLookup2Input.d.ts +32 -0
- package/dist/models/SouthAfricaNidLookup2Input.js +48 -0
- package/dist/models/SpidBillingInformation.d.ts +48 -0
- package/dist/models/SpidBillingInformation.js +58 -0
- package/dist/models/SpidInput.d.ts +11 -0
- package/dist/models/SpidInput.js +2 -0
- package/dist/models/SpidProviderOutput.d.ts +124 -0
- package/dist/models/SpidProviderOutput.js +79 -0
- package/dist/models/VerificationProfileResponse.d.ts +62 -0
- package/dist/models/VerificationProfileResponse.js +70 -0
- package/dist/models/index.d.ts +21 -0
- package/dist/models/index.js +21 -0
- package/package.json +1 -1
- package/src/apis/EnvironmentRedirectUrisApi.ts +235 -0
- package/src/apis/VerificationProfilesApi.ts +294 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AddRedirectUriResponse.ts +66 -0
- package/src/models/AttachmentAccessKeys.ts +8 -0
- package/src/models/ContractField.ts +10 -0
- package/src/models/ContractIdentifierField.ts +94 -0
- package/src/models/CreateVerificationProfileResponse.ts +66 -0
- package/src/models/EnvironmentRedirectUrisAddRequest.ts +66 -0
- package/src/models/FaydaProviderOutput.ts +68 -0
- package/src/models/Identifier.ts +84 -0
- package/src/models/IdentityData.ts +31 -0
- package/src/models/KenyaNidBiometric2Input.ts +84 -0
- package/src/models/KenyaNidInput.ts +1 -1
- package/src/models/KenyaNidLookup2Input.ts +65 -0
- package/src/models/KenyaNidMatch2Input.ts +115 -0
- package/src/models/ListEnvironmentRedirectUrisResponse.ts +83 -0
- package/src/models/ListVerificationProfilesResponse.ts +83 -0
- package/src/models/MexicoCurpProviderOutput.ts +77 -0
- package/src/models/NigeriaNinInput.ts +1 -1
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +66 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +66 -0
- package/src/models/ProviderContract.ts +15 -0
- package/src/models/ProviderInput.ts +60 -0
- package/src/models/ProviderOutput.ts +133 -0
- package/src/models/RedirectUriResponse.ts +75 -0
- package/src/models/SexV1.ts +55 -0
- package/src/models/SouthAfricaNidInput.ts +1 -1
- package/src/models/SouthAfricaNidLookup2Input.ts +65 -0
- package/src/models/SpidBillingInformation.ts +88 -0
- package/src/models/SpidInput.ts +13 -0
- package/src/models/SpidProviderOutput.ts +192 -0
- package/src/models/VerificationProfileResponse.ts +111 -0
- package/src/models/index.ts +21 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SpidBillingInformation } from './SpidBillingInformation';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SpidProviderOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface SpidProviderOutput {
|
|
19
|
+
/**
|
|
20
|
+
* Information about the billable status of this SPID Verification.
|
|
21
|
+
*
|
|
22
|
+
* Present only if your account has period-based billing enabled for SPID. Contact Trinsic to enable this.
|
|
23
|
+
* @type {SpidBillingInformation}
|
|
24
|
+
* @memberof SpidProviderOutput
|
|
25
|
+
*/
|
|
26
|
+
billingInformation?: SpidBillingInformation | null;
|
|
27
|
+
/**
|
|
28
|
+
* The SPID Entity ID of the Identity Provider which issued the SPID identity.
|
|
29
|
+
*
|
|
30
|
+
* This is an HTTPS URI which uniquely identifies the IdP within the SPID federation.
|
|
31
|
+
*
|
|
32
|
+
* A normalized / simplified representation of this value is present in the `originatingSubProviderId` field in Trinsic's normalized data model.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SpidProviderOutput
|
|
35
|
+
*/
|
|
36
|
+
identityProviderEntityId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The identifier of the user's SPID credential.
|
|
39
|
+
*
|
|
40
|
+
* This uniquely identifies the credential within the SPID federation.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof SpidProviderOutput
|
|
43
|
+
*/
|
|
44
|
+
spidCode: string;
|
|
45
|
+
/**
|
|
46
|
+
* Expiration date of the user's SPID credential.
|
|
47
|
+
*
|
|
48
|
+
* This is not the same as the expiration date of the underlying identity document (such as a passport) which was
|
|
49
|
+
* used to create the SPID identity.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof SpidProviderOutput
|
|
52
|
+
*/
|
|
53
|
+
spidCredentialExpirationDate?: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* The user's place of birth.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof SpidProviderOutput
|
|
58
|
+
*/
|
|
59
|
+
placeOfBirth?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* The user's county of birth.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SpidProviderOutput
|
|
64
|
+
*/
|
|
65
|
+
countyOfBirth?: string | null;
|
|
66
|
+
/**
|
|
67
|
+
* The raw, space-separated string value for the "IdCard" field from the SPID identity.
|
|
68
|
+
*
|
|
69
|
+
* Trinsic additionally parses this field and uses it to populate the `Document` object in the normalized data model.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof SpidProviderOutput
|
|
72
|
+
*/
|
|
73
|
+
rawIdCard?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* The email address of the user.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof SpidProviderOutput
|
|
78
|
+
*/
|
|
79
|
+
email?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* The digital address of the user.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof SpidProviderOutput
|
|
84
|
+
*/
|
|
85
|
+
digitalAddress?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Fiscal tax number for the subject.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof SpidProviderOutput
|
|
90
|
+
*/
|
|
91
|
+
fiscalNumber?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* VAT number for the subject.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof SpidProviderOutput
|
|
96
|
+
*/
|
|
97
|
+
ivaCode?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the company which the user is associated with.
|
|
100
|
+
* @type {string}
|
|
101
|
+
* @memberof SpidProviderOutput
|
|
102
|
+
*/
|
|
103
|
+
companyName?: string | null;
|
|
104
|
+
/**
|
|
105
|
+
* The fiscal tax number of the company which the user is associated with.
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof SpidProviderOutput
|
|
108
|
+
*/
|
|
109
|
+
companyFiscalNumber?: string | null;
|
|
110
|
+
/**
|
|
111
|
+
* The registered office address of the company which the user is associated with.
|
|
112
|
+
* @type {string}
|
|
113
|
+
* @memberof SpidProviderOutput
|
|
114
|
+
*/
|
|
115
|
+
registeredOffice?: string | null;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Check if a given object implements the SpidProviderOutput interface.
|
|
119
|
+
*/
|
|
120
|
+
export declare function instanceOfSpidProviderOutput(value: object): value is SpidProviderOutput;
|
|
121
|
+
export declare function SpidProviderOutputFromJSON(json: any): SpidProviderOutput;
|
|
122
|
+
export declare function SpidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidProviderOutput;
|
|
123
|
+
export declare function SpidProviderOutputToJSON(json: any): SpidProviderOutput;
|
|
124
|
+
export declare function SpidProviderOutputToJSONTyped(value?: SpidProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSpidProviderOutput = instanceOfSpidProviderOutput;
|
|
17
|
+
exports.SpidProviderOutputFromJSON = SpidProviderOutputFromJSON;
|
|
18
|
+
exports.SpidProviderOutputFromJSONTyped = SpidProviderOutputFromJSONTyped;
|
|
19
|
+
exports.SpidProviderOutputToJSON = SpidProviderOutputToJSON;
|
|
20
|
+
exports.SpidProviderOutputToJSONTyped = SpidProviderOutputToJSONTyped;
|
|
21
|
+
const SpidBillingInformation_1 = require("./SpidBillingInformation");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the SpidProviderOutput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfSpidProviderOutput(value) {
|
|
26
|
+
if (!('identityProviderEntityId' in value) || value['identityProviderEntityId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('spidCode' in value) || value['spidCode'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function SpidProviderOutputFromJSON(json) {
|
|
33
|
+
return SpidProviderOutputFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function SpidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'billingInformation': json['billingInformation'] == null ? undefined : (0, SpidBillingInformation_1.SpidBillingInformationFromJSON)(json['billingInformation']),
|
|
41
|
+
'identityProviderEntityId': json['identityProviderEntityId'],
|
|
42
|
+
'spidCode': json['spidCode'],
|
|
43
|
+
'spidCredentialExpirationDate': json['spidCredentialExpirationDate'] == null ? undefined : (new Date(json['spidCredentialExpirationDate'])),
|
|
44
|
+
'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
|
|
45
|
+
'countyOfBirth': json['countyOfBirth'] == null ? undefined : json['countyOfBirth'],
|
|
46
|
+
'rawIdCard': json['rawIdCard'] == null ? undefined : json['rawIdCard'],
|
|
47
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
48
|
+
'digitalAddress': json['digitalAddress'] == null ? undefined : json['digitalAddress'],
|
|
49
|
+
'fiscalNumber': json['fiscalNumber'] == null ? undefined : json['fiscalNumber'],
|
|
50
|
+
'ivaCode': json['ivaCode'] == null ? undefined : json['ivaCode'],
|
|
51
|
+
'companyName': json['companyName'] == null ? undefined : json['companyName'],
|
|
52
|
+
'companyFiscalNumber': json['companyFiscalNumber'] == null ? undefined : json['companyFiscalNumber'],
|
|
53
|
+
'registeredOffice': json['registeredOffice'] == null ? undefined : json['registeredOffice'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function SpidProviderOutputToJSON(json) {
|
|
57
|
+
return SpidProviderOutputToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
function SpidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
'billingInformation': (0, SpidBillingInformation_1.SpidBillingInformationToJSON)(value['billingInformation']),
|
|
65
|
+
'identityProviderEntityId': value['identityProviderEntityId'],
|
|
66
|
+
'spidCode': value['spidCode'],
|
|
67
|
+
'spidCredentialExpirationDate': value['spidCredentialExpirationDate'] == null ? undefined : (value['spidCredentialExpirationDate'].toISOString().substring(0, 10)),
|
|
68
|
+
'placeOfBirth': value['placeOfBirth'],
|
|
69
|
+
'countyOfBirth': value['countyOfBirth'],
|
|
70
|
+
'rawIdCard': value['rawIdCard'],
|
|
71
|
+
'email': value['email'],
|
|
72
|
+
'digitalAddress': value['digitalAddress'],
|
|
73
|
+
'fiscalNumber': value['fiscalNumber'],
|
|
74
|
+
'ivaCode': value['ivaCode'],
|
|
75
|
+
'companyName': value['companyName'],
|
|
76
|
+
'companyFiscalNumber': value['companyFiscalNumber'],
|
|
77
|
+
'registeredOffice': value['registeredOffice'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VerificationProfileResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface VerificationProfileResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the verification profile
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VerificationProfileResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* An alias of the verification profile shown to developers and administrators.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof VerificationProfileResponse
|
|
28
|
+
*/
|
|
29
|
+
alias: string;
|
|
30
|
+
/**
|
|
31
|
+
* The brand name of the verification profile shown to end-users.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof VerificationProfileResponse
|
|
34
|
+
*/
|
|
35
|
+
brandName: string;
|
|
36
|
+
/**
|
|
37
|
+
* The URL of the verification profile's logo.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof VerificationProfileResponse
|
|
40
|
+
*/
|
|
41
|
+
logoUrl: string;
|
|
42
|
+
/**
|
|
43
|
+
* The primary color of the verification profile.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof VerificationProfileResponse
|
|
46
|
+
*/
|
|
47
|
+
primaryColor: string;
|
|
48
|
+
/**
|
|
49
|
+
* The providers that are currently enabled for the verification profile.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof VerificationProfileResponse
|
|
52
|
+
*/
|
|
53
|
+
enabledProviders: Array<string>;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the VerificationProfileResponse interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfVerificationProfileResponse(value: object): value is VerificationProfileResponse;
|
|
59
|
+
export declare function VerificationProfileResponseFromJSON(json: any): VerificationProfileResponse;
|
|
60
|
+
export declare function VerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerificationProfileResponse;
|
|
61
|
+
export declare function VerificationProfileResponseToJSON(json: any): VerificationProfileResponse;
|
|
62
|
+
export declare function VerificationProfileResponseToJSONTyped(value?: VerificationProfileResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfVerificationProfileResponse = instanceOfVerificationProfileResponse;
|
|
17
|
+
exports.VerificationProfileResponseFromJSON = VerificationProfileResponseFromJSON;
|
|
18
|
+
exports.VerificationProfileResponseFromJSONTyped = VerificationProfileResponseFromJSONTyped;
|
|
19
|
+
exports.VerificationProfileResponseToJSON = VerificationProfileResponseToJSON;
|
|
20
|
+
exports.VerificationProfileResponseToJSONTyped = VerificationProfileResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the VerificationProfileResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfVerificationProfileResponse(value) {
|
|
25
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('alias' in value) || value['alias'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('brandName' in value) || value['brandName'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('primaryColor' in value) || value['primaryColor'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('enabledProviders' in value) || value['enabledProviders'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
function VerificationProfileResponseFromJSON(json) {
|
|
40
|
+
return VerificationProfileResponseFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function VerificationProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'id': json['id'],
|
|
48
|
+
'alias': json['alias'],
|
|
49
|
+
'brandName': json['brandName'],
|
|
50
|
+
'logoUrl': json['logoUrl'],
|
|
51
|
+
'primaryColor': json['primaryColor'],
|
|
52
|
+
'enabledProviders': json['enabledProviders'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function VerificationProfileResponseToJSON(json) {
|
|
56
|
+
return VerificationProfileResponseToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function VerificationProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'id': value['id'],
|
|
64
|
+
'alias': value['alias'],
|
|
65
|
+
'brandName': value['brandName'],
|
|
66
|
+
'logoUrl': value['logoUrl'],
|
|
67
|
+
'primaryColor': value['primaryColor'],
|
|
68
|
+
'enabledProviders': value['enabledProviders'],
|
|
69
|
+
};
|
|
70
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './AadhaarInput';
|
|
2
|
+
export * from './AddRedirectUriResponse';
|
|
2
3
|
export * from './Address';
|
|
3
4
|
export * from './AppleWalletInput';
|
|
4
5
|
export * from './AttachmentAccessKeys';
|
|
@@ -7,18 +8,22 @@ export * from './BrazilCpfCheckInput';
|
|
|
7
8
|
export * from './BrazilDigitalCnhInput';
|
|
8
9
|
export * from './CancelSessionResponse';
|
|
9
10
|
export * from './ContractField';
|
|
11
|
+
export * from './ContractIdentifierField';
|
|
10
12
|
export * from './CreateDirectProviderSessionRequest';
|
|
11
13
|
export * from './CreateDirectProviderSessionResponse';
|
|
12
14
|
export * from './CreateHostedProviderSessionRequest';
|
|
13
15
|
export * from './CreateHostedProviderSessionResponse';
|
|
14
16
|
export * from './CreateMdlExchangeRequest';
|
|
15
17
|
export * from './CreateMdlExchangeResponse';
|
|
18
|
+
export * from './CreateVerificationProfileResponse';
|
|
16
19
|
export * from './CreateWidgetSessionRequest';
|
|
17
20
|
export * from './CreateWidgetSessionResponse';
|
|
18
21
|
export * from './DocumentData';
|
|
19
22
|
export * from './DocumentScanAttachments';
|
|
20
23
|
export * from './DocumentType';
|
|
24
|
+
export * from './EnvironmentRedirectUrisAddRequest';
|
|
21
25
|
export * from './ExternalMdlFieldData';
|
|
26
|
+
export * from './FaydaProviderOutput';
|
|
22
27
|
export * from './FieldAvailability';
|
|
23
28
|
export * from './FinalizeMdlExchangeRequest';
|
|
24
29
|
export * from './FinalizeMdlExchangeResponse';
|
|
@@ -29,6 +34,7 @@ export * from './GetSessionResultRequest';
|
|
|
29
34
|
export * from './GetSessionResultResponse';
|
|
30
35
|
export * from './GoogleWalletInput';
|
|
31
36
|
export * from './HttpValidationProblemDetails';
|
|
37
|
+
export * from './Identifier';
|
|
32
38
|
export * from './IdentityData';
|
|
33
39
|
export * from './IdinInput';
|
|
34
40
|
export * from './IndonesiaDukcapilMatchInput';
|
|
@@ -36,11 +42,16 @@ export * from './IndonesiaNikInput';
|
|
|
36
42
|
export * from './IntegrationCapability';
|
|
37
43
|
export * from './IntegrationLaunchMethod';
|
|
38
44
|
export * from './IntegrationStep';
|
|
45
|
+
export * from './KenyaNidBiometric2Input';
|
|
39
46
|
export * from './KenyaNidInput';
|
|
47
|
+
export * from './KenyaNidLookup2Input';
|
|
48
|
+
export * from './KenyaNidMatch2Input';
|
|
40
49
|
export * from './Language';
|
|
50
|
+
export * from './ListEnvironmentRedirectUrisResponse';
|
|
41
51
|
export * from './ListProviderContractsResponse';
|
|
42
52
|
export * from './ListProvidersResponse';
|
|
43
53
|
export * from './ListSessionsResponse';
|
|
54
|
+
export * from './ListVerificationProfilesResponse';
|
|
44
55
|
export * from './Match';
|
|
45
56
|
export * from './MatchData';
|
|
46
57
|
export * from './MdlCertificateData';
|
|
@@ -48,12 +59,15 @@ export * from './MdlExchangeMechanism';
|
|
|
48
59
|
export * from './MdlFieldDataType';
|
|
49
60
|
export * from './MdlIdentityData';
|
|
50
61
|
export * from './MexicoCurpInput';
|
|
62
|
+
export * from './MexicoCurpProviderOutput';
|
|
51
63
|
export * from './MobileIdInput';
|
|
52
64
|
export * from './NigeriaNinInput';
|
|
53
65
|
export * from './OrderDirection';
|
|
54
66
|
export * from './PersonData';
|
|
55
67
|
export * from './PhilippineMatchInput';
|
|
56
68
|
export * from './PhilippineQRInput';
|
|
69
|
+
export * from './PhilippinesDigitalNidProviderOutput';
|
|
70
|
+
export * from './PhilippinesPhysicalNidProviderOutput';
|
|
57
71
|
export * from './ProblemDetails';
|
|
58
72
|
export * from './ProviderAttachments';
|
|
59
73
|
export * from './ProviderContract';
|
|
@@ -61,9 +75,11 @@ export * from './ProviderHealth';
|
|
|
61
75
|
export * from './ProviderInfo';
|
|
62
76
|
export * from './ProviderInformation';
|
|
63
77
|
export * from './ProviderInput';
|
|
78
|
+
export * from './ProviderOutput';
|
|
64
79
|
export * from './RecommendRequest';
|
|
65
80
|
export * from './RecommendResponse';
|
|
66
81
|
export * from './RecommendationInfo';
|
|
82
|
+
export * from './RedirectUriResponse';
|
|
67
83
|
export * from './RefreshStepContentRequest';
|
|
68
84
|
export * from './RefreshStepContentResponse';
|
|
69
85
|
export * from './ResultCollection';
|
|
@@ -72,12 +88,17 @@ export * from './Session';
|
|
|
72
88
|
export * from './SessionErrorCode';
|
|
73
89
|
export * from './SessionOrdering';
|
|
74
90
|
export * from './Sex';
|
|
91
|
+
export * from './SexV1';
|
|
75
92
|
export * from './SmartIdInput';
|
|
76
93
|
export * from './SouthAfricaNidInput';
|
|
94
|
+
export * from './SouthAfricaNidLookup2Input';
|
|
95
|
+
export * from './SpidBillingInformation';
|
|
77
96
|
export * from './SpidInput';
|
|
97
|
+
export * from './SpidProviderOutput';
|
|
78
98
|
export * from './StepRefreshInfo';
|
|
79
99
|
export * from './SubProviderMetadata';
|
|
80
100
|
export * from './SubmitNativeChallengeResponseRequest';
|
|
81
101
|
export * from './SubmitNativeChallengeResponseResponse';
|
|
82
102
|
export * from './TrinsicTestDatabaseLookupInput';
|
|
83
103
|
export * from './TrinsicTestSubProvidersInput';
|
|
104
|
+
export * from './VerificationProfileResponse';
|
package/dist/models/index.js
CHANGED
|
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
19
|
__exportStar(require("./AadhaarInput"), exports);
|
|
20
|
+
__exportStar(require("./AddRedirectUriResponse"), exports);
|
|
20
21
|
__exportStar(require("./Address"), exports);
|
|
21
22
|
__exportStar(require("./AppleWalletInput"), exports);
|
|
22
23
|
__exportStar(require("./AttachmentAccessKeys"), exports);
|
|
@@ -25,18 +26,22 @@ __exportStar(require("./BrazilCpfCheckInput"), exports);
|
|
|
25
26
|
__exportStar(require("./BrazilDigitalCnhInput"), exports);
|
|
26
27
|
__exportStar(require("./CancelSessionResponse"), exports);
|
|
27
28
|
__exportStar(require("./ContractField"), exports);
|
|
29
|
+
__exportStar(require("./ContractIdentifierField"), exports);
|
|
28
30
|
__exportStar(require("./CreateDirectProviderSessionRequest"), exports);
|
|
29
31
|
__exportStar(require("./CreateDirectProviderSessionResponse"), exports);
|
|
30
32
|
__exportStar(require("./CreateHostedProviderSessionRequest"), exports);
|
|
31
33
|
__exportStar(require("./CreateHostedProviderSessionResponse"), exports);
|
|
32
34
|
__exportStar(require("./CreateMdlExchangeRequest"), exports);
|
|
33
35
|
__exportStar(require("./CreateMdlExchangeResponse"), exports);
|
|
36
|
+
__exportStar(require("./CreateVerificationProfileResponse"), exports);
|
|
34
37
|
__exportStar(require("./CreateWidgetSessionRequest"), exports);
|
|
35
38
|
__exportStar(require("./CreateWidgetSessionResponse"), exports);
|
|
36
39
|
__exportStar(require("./DocumentData"), exports);
|
|
37
40
|
__exportStar(require("./DocumentScanAttachments"), exports);
|
|
38
41
|
__exportStar(require("./DocumentType"), exports);
|
|
42
|
+
__exportStar(require("./EnvironmentRedirectUrisAddRequest"), exports);
|
|
39
43
|
__exportStar(require("./ExternalMdlFieldData"), exports);
|
|
44
|
+
__exportStar(require("./FaydaProviderOutput"), exports);
|
|
40
45
|
__exportStar(require("./FieldAvailability"), exports);
|
|
41
46
|
__exportStar(require("./FinalizeMdlExchangeRequest"), exports);
|
|
42
47
|
__exportStar(require("./FinalizeMdlExchangeResponse"), exports);
|
|
@@ -47,6 +52,7 @@ __exportStar(require("./GetSessionResultRequest"), exports);
|
|
|
47
52
|
__exportStar(require("./GetSessionResultResponse"), exports);
|
|
48
53
|
__exportStar(require("./GoogleWalletInput"), exports);
|
|
49
54
|
__exportStar(require("./HttpValidationProblemDetails"), exports);
|
|
55
|
+
__exportStar(require("./Identifier"), exports);
|
|
50
56
|
__exportStar(require("./IdentityData"), exports);
|
|
51
57
|
__exportStar(require("./IdinInput"), exports);
|
|
52
58
|
__exportStar(require("./IndonesiaDukcapilMatchInput"), exports);
|
|
@@ -54,11 +60,16 @@ __exportStar(require("./IndonesiaNikInput"), exports);
|
|
|
54
60
|
__exportStar(require("./IntegrationCapability"), exports);
|
|
55
61
|
__exportStar(require("./IntegrationLaunchMethod"), exports);
|
|
56
62
|
__exportStar(require("./IntegrationStep"), exports);
|
|
63
|
+
__exportStar(require("./KenyaNidBiometric2Input"), exports);
|
|
57
64
|
__exportStar(require("./KenyaNidInput"), exports);
|
|
65
|
+
__exportStar(require("./KenyaNidLookup2Input"), exports);
|
|
66
|
+
__exportStar(require("./KenyaNidMatch2Input"), exports);
|
|
58
67
|
__exportStar(require("./Language"), exports);
|
|
68
|
+
__exportStar(require("./ListEnvironmentRedirectUrisResponse"), exports);
|
|
59
69
|
__exportStar(require("./ListProviderContractsResponse"), exports);
|
|
60
70
|
__exportStar(require("./ListProvidersResponse"), exports);
|
|
61
71
|
__exportStar(require("./ListSessionsResponse"), exports);
|
|
72
|
+
__exportStar(require("./ListVerificationProfilesResponse"), exports);
|
|
62
73
|
__exportStar(require("./Match"), exports);
|
|
63
74
|
__exportStar(require("./MatchData"), exports);
|
|
64
75
|
__exportStar(require("./MdlCertificateData"), exports);
|
|
@@ -66,12 +77,15 @@ __exportStar(require("./MdlExchangeMechanism"), exports);
|
|
|
66
77
|
__exportStar(require("./MdlFieldDataType"), exports);
|
|
67
78
|
__exportStar(require("./MdlIdentityData"), exports);
|
|
68
79
|
__exportStar(require("./MexicoCurpInput"), exports);
|
|
80
|
+
__exportStar(require("./MexicoCurpProviderOutput"), exports);
|
|
69
81
|
__exportStar(require("./MobileIdInput"), exports);
|
|
70
82
|
__exportStar(require("./NigeriaNinInput"), exports);
|
|
71
83
|
__exportStar(require("./OrderDirection"), exports);
|
|
72
84
|
__exportStar(require("./PersonData"), exports);
|
|
73
85
|
__exportStar(require("./PhilippineMatchInput"), exports);
|
|
74
86
|
__exportStar(require("./PhilippineQRInput"), exports);
|
|
87
|
+
__exportStar(require("./PhilippinesDigitalNidProviderOutput"), exports);
|
|
88
|
+
__exportStar(require("./PhilippinesPhysicalNidProviderOutput"), exports);
|
|
75
89
|
__exportStar(require("./ProblemDetails"), exports);
|
|
76
90
|
__exportStar(require("./ProviderAttachments"), exports);
|
|
77
91
|
__exportStar(require("./ProviderContract"), exports);
|
|
@@ -79,9 +93,11 @@ __exportStar(require("./ProviderHealth"), exports);
|
|
|
79
93
|
__exportStar(require("./ProviderInfo"), exports);
|
|
80
94
|
__exportStar(require("./ProviderInformation"), exports);
|
|
81
95
|
__exportStar(require("./ProviderInput"), exports);
|
|
96
|
+
__exportStar(require("./ProviderOutput"), exports);
|
|
82
97
|
__exportStar(require("./RecommendRequest"), exports);
|
|
83
98
|
__exportStar(require("./RecommendResponse"), exports);
|
|
84
99
|
__exportStar(require("./RecommendationInfo"), exports);
|
|
100
|
+
__exportStar(require("./RedirectUriResponse"), exports);
|
|
85
101
|
__exportStar(require("./RefreshStepContentRequest"), exports);
|
|
86
102
|
__exportStar(require("./RefreshStepContentResponse"), exports);
|
|
87
103
|
__exportStar(require("./ResultCollection"), exports);
|
|
@@ -90,12 +106,17 @@ __exportStar(require("./Session"), exports);
|
|
|
90
106
|
__exportStar(require("./SessionErrorCode"), exports);
|
|
91
107
|
__exportStar(require("./SessionOrdering"), exports);
|
|
92
108
|
__exportStar(require("./Sex"), exports);
|
|
109
|
+
__exportStar(require("./SexV1"), exports);
|
|
93
110
|
__exportStar(require("./SmartIdInput"), exports);
|
|
94
111
|
__exportStar(require("./SouthAfricaNidInput"), exports);
|
|
112
|
+
__exportStar(require("./SouthAfricaNidLookup2Input"), exports);
|
|
113
|
+
__exportStar(require("./SpidBillingInformation"), exports);
|
|
95
114
|
__exportStar(require("./SpidInput"), exports);
|
|
115
|
+
__exportStar(require("./SpidProviderOutput"), exports);
|
|
96
116
|
__exportStar(require("./StepRefreshInfo"), exports);
|
|
97
117
|
__exportStar(require("./SubProviderMetadata"), exports);
|
|
98
118
|
__exportStar(require("./SubmitNativeChallengeResponseRequest"), exports);
|
|
99
119
|
__exportStar(require("./SubmitNativeChallengeResponseResponse"), exports);
|
|
100
120
|
__exportStar(require("./TrinsicTestDatabaseLookupInput"), exports);
|
|
101
121
|
__exportStar(require("./TrinsicTestSubProvidersInput"), exports);
|
|
122
|
+
__exportStar(require("./VerificationProfileResponse"), exports);
|