@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
|
@@ -32,6 +32,7 @@ export function AttachmentAccessKeysFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'documentFront': json['documentFront'] == null ? undefined : json['documentFront'],
|
|
33
33
|
'documentBack': json['documentBack'] == null ? undefined : json['documentBack'],
|
|
34
34
|
'documentPortrait': json['documentPortrait'] == null ? undefined : json['documentPortrait'],
|
|
35
|
+
'documentSignature': json['documentSignature'] == null ? undefined : json['documentSignature'],
|
|
35
36
|
'provider': ProviderAttachmentsFromJSON(json['provider']),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
@@ -47,6 +48,7 @@ export function AttachmentAccessKeysToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
47
48
|
'documentFront': value['documentFront'],
|
|
48
49
|
'documentBack': value['documentBack'],
|
|
49
50
|
'documentPortrait': value['documentPortrait'],
|
|
51
|
+
'documentSignature': value['documentSignature'],
|
|
50
52
|
'provider': ProviderAttachmentsToJSON(value['provider']),
|
|
51
53
|
};
|
|
52
54
|
}
|
|
@@ -20,8 +20,15 @@ export interface ContractField {
|
|
|
20
20
|
* The name of the field as it appears in verification results.
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof ContractField
|
|
23
|
+
* @deprecated
|
|
23
24
|
*/
|
|
24
25
|
name: string;
|
|
26
|
+
/**
|
|
27
|
+
* The scope of the field as it appears in verification results.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ContractField
|
|
30
|
+
*/
|
|
31
|
+
scope: string;
|
|
25
32
|
/**
|
|
26
33
|
* Indicates when this field will be present in verification results.
|
|
27
34
|
* @type {FieldAvailability}
|
|
@@ -18,6 +18,8 @@ import { FieldAvailabilityFromJSON, FieldAvailabilityToJSON, } from './FieldAvai
|
|
|
18
18
|
export function instanceOfContractField(value) {
|
|
19
19
|
if (!('name' in value) || value['name'] === undefined)
|
|
20
20
|
return false;
|
|
21
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
22
|
+
return false;
|
|
21
23
|
if (!('outputted' in value) || value['outputted'] === undefined)
|
|
22
24
|
return false;
|
|
23
25
|
return true;
|
|
@@ -31,6 +33,7 @@ export function ContractFieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
33
|
}
|
|
32
34
|
return {
|
|
33
35
|
'name': json['name'],
|
|
36
|
+
'scope': json['scope'],
|
|
34
37
|
'outputted': FieldAvailabilityFromJSON(json['outputted']),
|
|
35
38
|
};
|
|
36
39
|
}
|
|
@@ -43,6 +46,7 @@ export function ContractFieldToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
43
46
|
}
|
|
44
47
|
return {
|
|
45
48
|
'name': value['name'],
|
|
49
|
+
'scope': value['scope'],
|
|
46
50
|
'outputted': FieldAvailabilityToJSON(value['outputted']),
|
|
47
51
|
};
|
|
48
52
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { FieldAvailability } from './FieldAvailability';
|
|
13
|
+
/**
|
|
14
|
+
* Information about an identifier a Provider returns in verification results.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ContractIdentifierField
|
|
17
|
+
*/
|
|
18
|
+
export interface ContractIdentifierField {
|
|
19
|
+
/**
|
|
20
|
+
* The scope of the identifier as it appears in verification results.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ContractIdentifierField
|
|
23
|
+
*/
|
|
24
|
+
scope: string;
|
|
25
|
+
/**
|
|
26
|
+
* Indicates when this field will be present in verification results.
|
|
27
|
+
* @type {FieldAvailability}
|
|
28
|
+
* @memberof ContractIdentifierField
|
|
29
|
+
*/
|
|
30
|
+
outputted: FieldAvailability;
|
|
31
|
+
/**
|
|
32
|
+
* A human-readable description of the identifier, written by Trinsic.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ContractIdentifierField
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ContractIdentifierField interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfContractIdentifierField(value: object): value is ContractIdentifierField;
|
|
42
|
+
export declare function ContractIdentifierFieldFromJSON(json: any): ContractIdentifierField;
|
|
43
|
+
export declare function ContractIdentifierFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): ContractIdentifierField;
|
|
44
|
+
export declare function ContractIdentifierFieldToJSON(json: any): ContractIdentifierField;
|
|
45
|
+
export declare function ContractIdentifierFieldToJSONTyped(value?: ContractIdentifierField | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
import { FieldAvailabilityFromJSON, FieldAvailabilityToJSON, } from './FieldAvailability';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ContractIdentifierField interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfContractIdentifierField(value) {
|
|
19
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('outputted' in value) || value['outputted'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ContractIdentifierFieldFromJSON(json) {
|
|
28
|
+
return ContractIdentifierFieldFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ContractIdentifierFieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'scope': json['scope'],
|
|
36
|
+
'outputted': FieldAvailabilityFromJSON(json['outputted']),
|
|
37
|
+
'description': json['description'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function ContractIdentifierFieldToJSON(json) {
|
|
41
|
+
return ContractIdentifierFieldToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function ContractIdentifierFieldToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'scope': value['scope'],
|
|
49
|
+
'outputted': FieldAvailabilityToJSON(value['outputted']),
|
|
50
|
+
'description': value['description'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 CreateVerificationProfileResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateVerificationProfileResponse {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the verification profile
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CreateVerificationProfileResponse
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CreateVerificationProfileResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCreateVerificationProfileResponse(value: object): value is CreateVerificationProfileResponse;
|
|
29
|
+
export declare function CreateVerificationProfileResponseFromJSON(json: any): CreateVerificationProfileResponse;
|
|
30
|
+
export declare function CreateVerificationProfileResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateVerificationProfileResponse;
|
|
31
|
+
export declare function CreateVerificationProfileResponseToJSON(json: any): CreateVerificationProfileResponse;
|
|
32
|
+
export declare function CreateVerificationProfileResponseToJSONTyped(value?: CreateVerificationProfileResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the CreateVerificationProfileResponse interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCreateVerificationProfileResponse(value) {
|
|
18
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function CreateVerificationProfileResponseFromJSON(json) {
|
|
23
|
+
return CreateVerificationProfileResponseFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function CreateVerificationProfileResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'id': json['id'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function CreateVerificationProfileResponseToJSON(json) {
|
|
34
|
+
return CreateVerificationProfileResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function CreateVerificationProfileResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': value['id'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 EnvironmentRedirectUrisAddRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface EnvironmentRedirectUrisAddRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof EnvironmentRedirectUrisAddRequest
|
|
22
|
+
*/
|
|
23
|
+
uri: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the EnvironmentRedirectUrisAddRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfEnvironmentRedirectUrisAddRequest(value: object): value is EnvironmentRedirectUrisAddRequest;
|
|
29
|
+
export declare function EnvironmentRedirectUrisAddRequestFromJSON(json: any): EnvironmentRedirectUrisAddRequest;
|
|
30
|
+
export declare function EnvironmentRedirectUrisAddRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EnvironmentRedirectUrisAddRequest;
|
|
31
|
+
export declare function EnvironmentRedirectUrisAddRequestToJSON(json: any): EnvironmentRedirectUrisAddRequest;
|
|
32
|
+
export declare function EnvironmentRedirectUrisAddRequestToJSONTyped(value?: EnvironmentRedirectUrisAddRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* Check if a given object implements the EnvironmentRedirectUrisAddRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfEnvironmentRedirectUrisAddRequest(value) {
|
|
18
|
+
if (!('uri' in value) || value['uri'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function EnvironmentRedirectUrisAddRequestFromJSON(json) {
|
|
23
|
+
return EnvironmentRedirectUrisAddRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function EnvironmentRedirectUrisAddRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'uri': json['uri'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function EnvironmentRedirectUrisAddRequestToJSON(json) {
|
|
34
|
+
return EnvironmentRedirectUrisAddRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function EnvironmentRedirectUrisAddRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'uri': value['uri'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 FaydaProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface FaydaProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* A unique eKYC identifying token used to match the original eKYC token received from the provider when the user was initially registered.
|
|
20
|
+
*
|
|
21
|
+
* Since Fayda does not return identifying data, it is the responsibility of the relying party to keep the unique user token received from Fayda when
|
|
22
|
+
* the user was initially registered to do a comparison of the subs to verify that it is the same person.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof FaydaProviderOutput
|
|
25
|
+
*/
|
|
26
|
+
sub?: string | null;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the FaydaProviderOutput interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfFaydaProviderOutput(value: object): value is FaydaProviderOutput;
|
|
32
|
+
export declare function FaydaProviderOutputFromJSON(json: any): FaydaProviderOutput;
|
|
33
|
+
export declare function FaydaProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FaydaProviderOutput;
|
|
34
|
+
export declare function FaydaProviderOutputToJSON(json: any): FaydaProviderOutput;
|
|
35
|
+
export declare function FaydaProviderOutputToJSONTyped(value?: FaydaProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
* Check if a given object implements the FaydaProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFaydaProviderOutput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function FaydaProviderOutputFromJSON(json) {
|
|
21
|
+
return FaydaProviderOutputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function FaydaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'sub': json['sub'] == null ? undefined : json['sub'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function FaydaProviderOutputToJSON(json) {
|
|
32
|
+
return FaydaProviderOutputToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function FaydaProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'sub': value['sub'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 Identifier
|
|
16
|
+
*/
|
|
17
|
+
export interface Identifier {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Identifier
|
|
22
|
+
*/
|
|
23
|
+
identifier: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Identifier
|
|
28
|
+
*/
|
|
29
|
+
scope: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof Identifier
|
|
34
|
+
*/
|
|
35
|
+
description: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the Identifier interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfIdentifier(value: object): value is Identifier;
|
|
41
|
+
export declare function IdentifierFromJSON(json: any): Identifier;
|
|
42
|
+
export declare function IdentifierFromJSONTyped(json: any, ignoreDiscriminator: boolean): Identifier;
|
|
43
|
+
export declare function IdentifierToJSON(json: any): Identifier;
|
|
44
|
+
export declare function IdentifierToJSONTyped(value?: Identifier | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* Check if a given object implements the Identifier interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfIdentifier(value) {
|
|
18
|
+
if (!('identifier' in value) || value['identifier'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('scope' in value) || value['scope'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
export function IdentifierFromJSON(json) {
|
|
27
|
+
return IdentifierFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function IdentifierFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'identifier': json['identifier'],
|
|
35
|
+
'scope': json['scope'],
|
|
36
|
+
'description': json['description'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function IdentifierToJSON(json) {
|
|
40
|
+
return IdentifierToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function IdentifierToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'identifier': value['identifier'],
|
|
48
|
+
'scope': value['scope'],
|
|
49
|
+
'description': value['description'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { DocumentData } from './DocumentData';
|
|
13
13
|
import type { PersonData } from './PersonData';
|
|
14
|
+
import type { Identifier } from './Identifier';
|
|
15
|
+
import type { ProviderOutput } from './ProviderOutput';
|
|
14
16
|
import type { AttachmentAccessKeys } from './AttachmentAccessKeys';
|
|
15
17
|
import type { MatchData } from './MatchData';
|
|
16
18
|
/**
|
|
@@ -55,6 +57,18 @@ export interface IdentityData {
|
|
|
55
57
|
* @memberof IdentityData
|
|
56
58
|
*/
|
|
57
59
|
attachmentAccessKeys?: AttachmentAccessKeys | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {ProviderOutput}
|
|
63
|
+
* @memberof IdentityData
|
|
64
|
+
*/
|
|
65
|
+
providerOutput?: ProviderOutput | null;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<Identifier>}
|
|
69
|
+
* @memberof IdentityData
|
|
70
|
+
*/
|
|
71
|
+
identifiers: Array<Identifier>;
|
|
58
72
|
}
|
|
59
73
|
/**
|
|
60
74
|
* Check if a given object implements the IdentityData interface.
|
|
@@ -13,12 +13,16 @@
|
|
|
13
13
|
*/
|
|
14
14
|
import { DocumentDataFromJSON, DocumentDataToJSON, } from './DocumentData';
|
|
15
15
|
import { PersonDataFromJSON, PersonDataToJSON, } from './PersonData';
|
|
16
|
+
import { IdentifierFromJSON, IdentifierToJSON, } from './Identifier';
|
|
17
|
+
import { ProviderOutputFromJSON, ProviderOutputToJSON, } from './ProviderOutput';
|
|
16
18
|
import { AttachmentAccessKeysFromJSON, AttachmentAccessKeysToJSON, } from './AttachmentAccessKeys';
|
|
17
19
|
import { MatchDataFromJSON, MatchDataToJSON, } from './MatchData';
|
|
18
20
|
/**
|
|
19
21
|
* Check if a given object implements the IdentityData interface.
|
|
20
22
|
*/
|
|
21
23
|
export function instanceOfIdentityData(value) {
|
|
24
|
+
if (!('identifiers' in value) || value['identifiers'] === undefined)
|
|
25
|
+
return false;
|
|
22
26
|
return true;
|
|
23
27
|
}
|
|
24
28
|
export function IdentityDataFromJSON(json) {
|
|
@@ -35,6 +39,8 @@ export function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
39
|
'document': json['document'] == null ? undefined : DocumentDataFromJSON(json['document']),
|
|
36
40
|
'match': json['match'] == null ? undefined : MatchDataFromJSON(json['match']),
|
|
37
41
|
'attachmentAccessKeys': json['attachmentAccessKeys'] == null ? undefined : AttachmentAccessKeysFromJSON(json['attachmentAccessKeys']),
|
|
42
|
+
'providerOutput': json['providerOutput'] == null ? undefined : ProviderOutputFromJSON(json['providerOutput']),
|
|
43
|
+
'identifiers': (json['identifiers'].map(IdentifierFromJSON)),
|
|
38
44
|
};
|
|
39
45
|
}
|
|
40
46
|
export function IdentityDataToJSON(json) {
|
|
@@ -51,5 +57,7 @@ export function IdentityDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
57
|
'document': DocumentDataToJSON(value['document']),
|
|
52
58
|
'match': MatchDataToJSON(value['match']),
|
|
53
59
|
'attachmentAccessKeys': AttachmentAccessKeysToJSON(value['attachmentAccessKeys']),
|
|
60
|
+
'providerOutput': ProviderOutputToJSON(value['providerOutput']),
|
|
61
|
+
'identifiers': (value['identifiers'].map(IdentifierToJSON)),
|
|
54
62
|
};
|
|
55
63
|
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 KenyaNidBiometric2Input
|
|
16
|
+
*/
|
|
17
|
+
export interface KenyaNidBiometric2Input {
|
|
18
|
+
/**
|
|
19
|
+
* The user's Kenyan National ID number
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KenyaNidBiometric2Input
|
|
22
|
+
*/
|
|
23
|
+
idNumber?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* An array of exactly 8 images required for biometric liveness verification.
|
|
26
|
+
* The first 7 images should be liveness frames captured during the liveness detection process,
|
|
27
|
+
* and the last image (8th) should be a selfie of the user. All images must be in JPEG format
|
|
28
|
+
* and each image must be less than 15MB in size.
|
|
29
|
+
* @type {Array<string>}
|
|
30
|
+
* @memberof KenyaNidBiometric2Input
|
|
31
|
+
*/
|
|
32
|
+
livenessImages?: Array<string> | null;
|
|
33
|
+
/**
|
|
34
|
+
* Test selfie for test environment (optional, maximum 15MB). Must be JPEG format.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof KenyaNidBiometric2Input
|
|
37
|
+
*/
|
|
38
|
+
testSelfie?: string | null;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the KenyaNidBiometric2Input interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfKenyaNidBiometric2Input(value: object): value is KenyaNidBiometric2Input;
|
|
44
|
+
export declare function KenyaNidBiometric2InputFromJSON(json: any): KenyaNidBiometric2Input;
|
|
45
|
+
export declare function KenyaNidBiometric2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidBiometric2Input;
|
|
46
|
+
export declare function KenyaNidBiometric2InputToJSON(json: any): KenyaNidBiometric2Input;
|
|
47
|
+
export declare function KenyaNidBiometric2InputToJSONTyped(value?: KenyaNidBiometric2Input | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
* Check if a given object implements the KenyaNidBiometric2Input interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfKenyaNidBiometric2Input(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function KenyaNidBiometric2InputFromJSON(json) {
|
|
21
|
+
return KenyaNidBiometric2InputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function KenyaNidBiometric2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
29
|
+
'livenessImages': json['livenessImages'] == null ? undefined : json['livenessImages'],
|
|
30
|
+
'testSelfie': json['testSelfie'] == null ? undefined : json['testSelfie'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function KenyaNidBiometric2InputToJSON(json) {
|
|
34
|
+
return KenyaNidBiometric2InputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function KenyaNidBiometric2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'idNumber': value['idNumber'],
|
|
42
|
+
'livenessImages': value['livenessImages'],
|
|
43
|
+
'testSelfie': value['testSelfie'],
|
|
44
|
+
};
|
|
45
|
+
}
|