@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,111 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface VerificationProfileResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface VerificationProfileResponse {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the verification profile
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof VerificationProfileResponse
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
/**
|
|
29
|
+
* An alias of the verification profile shown to developers and administrators.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof VerificationProfileResponse
|
|
32
|
+
*/
|
|
33
|
+
alias: string;
|
|
34
|
+
/**
|
|
35
|
+
* The brand name of the verification profile shown to end-users.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof VerificationProfileResponse
|
|
38
|
+
*/
|
|
39
|
+
brandName: string;
|
|
40
|
+
/**
|
|
41
|
+
* The URL of the verification profile's logo.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof VerificationProfileResponse
|
|
44
|
+
*/
|
|
45
|
+
logoUrl: string;
|
|
46
|
+
/**
|
|
47
|
+
* The primary color of the verification profile.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof VerificationProfileResponse
|
|
50
|
+
*/
|
|
51
|
+
primaryColor: string;
|
|
52
|
+
/**
|
|
53
|
+
* The providers that are currently enabled for the verification profile.
|
|
54
|
+
* @type {Array<string>}
|
|
55
|
+
* @memberof VerificationProfileResponse
|
|
56
|
+
*/
|
|
57
|
+
enabledProviders: Array<string>;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the VerificationProfileResponse interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfVerificationProfileResponse(value: object): value is VerificationProfileResponse {
|
|
64
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
65
|
+
if (!('alias' in value) || value['alias'] === undefined) return false;
|
|
66
|
+
if (!('brandName' in value) || value['brandName'] === undefined) return false;
|
|
67
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined) return false;
|
|
68
|
+
if (!('primaryColor' in value) || value['primaryColor'] === undefined) return false;
|
|
69
|
+
if (!('enabledProviders' in value) || value['enabledProviders'] === undefined) return false;
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function VerificationProfileResponseFromJSON(json: any): VerificationProfileResponse {
|
|
74
|
+
return VerificationProfileResponseFromJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function VerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VerificationProfileResponse {
|
|
78
|
+
if (json == null) {
|
|
79
|
+
return json;
|
|
80
|
+
}
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'id': json['id'],
|
|
84
|
+
'alias': json['alias'],
|
|
85
|
+
'brandName': json['brandName'],
|
|
86
|
+
'logoUrl': json['logoUrl'],
|
|
87
|
+
'primaryColor': json['primaryColor'],
|
|
88
|
+
'enabledProviders': json['enabledProviders'],
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export function VerificationProfileResponseToJSON(json: any): VerificationProfileResponse {
|
|
93
|
+
return VerificationProfileResponseToJSONTyped(json, false);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export function VerificationProfileResponseToJSONTyped(value?: VerificationProfileResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
97
|
+
if (value == null) {
|
|
98
|
+
return value;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
return {
|
|
102
|
+
|
|
103
|
+
'id': value['id'],
|
|
104
|
+
'alias': value['alias'],
|
|
105
|
+
'brandName': value['brandName'],
|
|
106
|
+
'logoUrl': value['logoUrl'],
|
|
107
|
+
'primaryColor': value['primaryColor'],
|
|
108
|
+
'enabledProviders': value['enabledProviders'],
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
export * from './AadhaarInput';
|
|
4
|
+
export * from './AddRedirectUriResponse';
|
|
4
5
|
export * from './Address';
|
|
5
6
|
export * from './AppleWalletInput';
|
|
6
7
|
export * from './AttachmentAccessKeys';
|
|
@@ -9,18 +10,22 @@ export * from './BrazilCpfCheckInput';
|
|
|
9
10
|
export * from './BrazilDigitalCnhInput';
|
|
10
11
|
export * from './CancelSessionResponse';
|
|
11
12
|
export * from './ContractField';
|
|
13
|
+
export * from './ContractIdentifierField';
|
|
12
14
|
export * from './CreateDirectProviderSessionRequest';
|
|
13
15
|
export * from './CreateDirectProviderSessionResponse';
|
|
14
16
|
export * from './CreateHostedProviderSessionRequest';
|
|
15
17
|
export * from './CreateHostedProviderSessionResponse';
|
|
16
18
|
export * from './CreateMdlExchangeRequest';
|
|
17
19
|
export * from './CreateMdlExchangeResponse';
|
|
20
|
+
export * from './CreateVerificationProfileResponse';
|
|
18
21
|
export * from './CreateWidgetSessionRequest';
|
|
19
22
|
export * from './CreateWidgetSessionResponse';
|
|
20
23
|
export * from './DocumentData';
|
|
21
24
|
export * from './DocumentScanAttachments';
|
|
22
25
|
export * from './DocumentType';
|
|
26
|
+
export * from './EnvironmentRedirectUrisAddRequest';
|
|
23
27
|
export * from './ExternalMdlFieldData';
|
|
28
|
+
export * from './FaydaProviderOutput';
|
|
24
29
|
export * from './FieldAvailability';
|
|
25
30
|
export * from './FinalizeMdlExchangeRequest';
|
|
26
31
|
export * from './FinalizeMdlExchangeResponse';
|
|
@@ -31,6 +36,7 @@ export * from './GetSessionResultRequest';
|
|
|
31
36
|
export * from './GetSessionResultResponse';
|
|
32
37
|
export * from './GoogleWalletInput';
|
|
33
38
|
export * from './HttpValidationProblemDetails';
|
|
39
|
+
export * from './Identifier';
|
|
34
40
|
export * from './IdentityData';
|
|
35
41
|
export * from './IdinInput';
|
|
36
42
|
export * from './IndonesiaDukcapilMatchInput';
|
|
@@ -38,11 +44,16 @@ export * from './IndonesiaNikInput';
|
|
|
38
44
|
export * from './IntegrationCapability';
|
|
39
45
|
export * from './IntegrationLaunchMethod';
|
|
40
46
|
export * from './IntegrationStep';
|
|
47
|
+
export * from './KenyaNidBiometric2Input';
|
|
41
48
|
export * from './KenyaNidInput';
|
|
49
|
+
export * from './KenyaNidLookup2Input';
|
|
50
|
+
export * from './KenyaNidMatch2Input';
|
|
42
51
|
export * from './Language';
|
|
52
|
+
export * from './ListEnvironmentRedirectUrisResponse';
|
|
43
53
|
export * from './ListProviderContractsResponse';
|
|
44
54
|
export * from './ListProvidersResponse';
|
|
45
55
|
export * from './ListSessionsResponse';
|
|
56
|
+
export * from './ListVerificationProfilesResponse';
|
|
46
57
|
export * from './Match';
|
|
47
58
|
export * from './MatchData';
|
|
48
59
|
export * from './MdlCertificateData';
|
|
@@ -50,12 +61,15 @@ export * from './MdlExchangeMechanism';
|
|
|
50
61
|
export * from './MdlFieldDataType';
|
|
51
62
|
export * from './MdlIdentityData';
|
|
52
63
|
export * from './MexicoCurpInput';
|
|
64
|
+
export * from './MexicoCurpProviderOutput';
|
|
53
65
|
export * from './MobileIdInput';
|
|
54
66
|
export * from './NigeriaNinInput';
|
|
55
67
|
export * from './OrderDirection';
|
|
56
68
|
export * from './PersonData';
|
|
57
69
|
export * from './PhilippineMatchInput';
|
|
58
70
|
export * from './PhilippineQRInput';
|
|
71
|
+
export * from './PhilippinesDigitalNidProviderOutput';
|
|
72
|
+
export * from './PhilippinesPhysicalNidProviderOutput';
|
|
59
73
|
export * from './ProblemDetails';
|
|
60
74
|
export * from './ProviderAttachments';
|
|
61
75
|
export * from './ProviderContract';
|
|
@@ -63,9 +77,11 @@ export * from './ProviderHealth';
|
|
|
63
77
|
export * from './ProviderInfo';
|
|
64
78
|
export * from './ProviderInformation';
|
|
65
79
|
export * from './ProviderInput';
|
|
80
|
+
export * from './ProviderOutput';
|
|
66
81
|
export * from './RecommendRequest';
|
|
67
82
|
export * from './RecommendResponse';
|
|
68
83
|
export * from './RecommendationInfo';
|
|
84
|
+
export * from './RedirectUriResponse';
|
|
69
85
|
export * from './RefreshStepContentRequest';
|
|
70
86
|
export * from './RefreshStepContentResponse';
|
|
71
87
|
export * from './ResultCollection';
|
|
@@ -74,12 +90,17 @@ export * from './Session';
|
|
|
74
90
|
export * from './SessionErrorCode';
|
|
75
91
|
export * from './SessionOrdering';
|
|
76
92
|
export * from './Sex';
|
|
93
|
+
export * from './SexV1';
|
|
77
94
|
export * from './SmartIdInput';
|
|
78
95
|
export * from './SouthAfricaNidInput';
|
|
96
|
+
export * from './SouthAfricaNidLookup2Input';
|
|
97
|
+
export * from './SpidBillingInformation';
|
|
79
98
|
export * from './SpidInput';
|
|
99
|
+
export * from './SpidProviderOutput';
|
|
80
100
|
export * from './StepRefreshInfo';
|
|
81
101
|
export * from './SubProviderMetadata';
|
|
82
102
|
export * from './SubmitNativeChallengeResponseRequest';
|
|
83
103
|
export * from './SubmitNativeChallengeResponseResponse';
|
|
84
104
|
export * from './TrinsicTestDatabaseLookupInput';
|
|
85
105
|
export * from './TrinsicTestSubProvidersInput';
|
|
106
|
+
export * from './VerificationProfileResponse';
|