@trinsic/api 2.3.0-alpha1 → 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 +7 -0
- package/dist/esm/models/AttachmentAccessKeys.d.ts +6 -0
- package/dist/esm/models/AttachmentAccessKeys.js +2 -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/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/ProviderInput.d.ts +28 -0
- package/dist/esm/models/ProviderInput.js +12 -0
- package/dist/esm/models/ProviderOutput.d.ts +14 -0
- package/dist/esm/models/ProviderOutput.js +6 -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/SpidProviderOutput.d.ts +72 -10
- package/dist/esm/models/SpidProviderOutput.js +26 -4
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- package/dist/models/AttachmentAccessKeys.d.ts +6 -0
- package/dist/models/AttachmentAccessKeys.js +2 -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/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/ProviderInput.d.ts +28 -0
- package/dist/models/ProviderInput.js +12 -0
- package/dist/models/ProviderOutput.d.ts +14 -0
- package/dist/models/ProviderOutput.js +6 -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/SpidProviderOutput.d.ts +72 -10
- package/dist/models/SpidProviderOutput.js +26 -4
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/models/AttachmentAccessKeys.ts +8 -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/NigeriaNinInput.ts +1 -1
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +66 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +66 -0
- package/src/models/ProviderInput.ts +60 -0
- package/src/models/ProviderOutput.ts +30 -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/SpidProviderOutput.ts +96 -14
- package/src/models/index.ts +7 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -55,7 +55,10 @@ src/models/IndonesiaNikInput.ts
|
|
|
55
55
|
src/models/IntegrationCapability.ts
|
|
56
56
|
src/models/IntegrationLaunchMethod.ts
|
|
57
57
|
src/models/IntegrationStep.ts
|
|
58
|
+
src/models/KenyaNidBiometric2Input.ts
|
|
58
59
|
src/models/KenyaNidInput.ts
|
|
60
|
+
src/models/KenyaNidLookup2Input.ts
|
|
61
|
+
src/models/KenyaNidMatch2Input.ts
|
|
59
62
|
src/models/Language.ts
|
|
60
63
|
src/models/ListEnvironmentRedirectUrisResponse.ts
|
|
61
64
|
src/models/ListProviderContractsResponse.ts
|
|
@@ -76,6 +79,8 @@ src/models/OrderDirection.ts
|
|
|
76
79
|
src/models/PersonData.ts
|
|
77
80
|
src/models/PhilippineMatchInput.ts
|
|
78
81
|
src/models/PhilippineQRInput.ts
|
|
82
|
+
src/models/PhilippinesDigitalNidProviderOutput.ts
|
|
83
|
+
src/models/PhilippinesPhysicalNidProviderOutput.ts
|
|
79
84
|
src/models/ProblemDetails.ts
|
|
80
85
|
src/models/ProviderAttachments.ts
|
|
81
86
|
src/models/ProviderContract.ts
|
|
@@ -96,8 +101,10 @@ src/models/Session.ts
|
|
|
96
101
|
src/models/SessionErrorCode.ts
|
|
97
102
|
src/models/SessionOrdering.ts
|
|
98
103
|
src/models/Sex.ts
|
|
104
|
+
src/models/SexV1.ts
|
|
99
105
|
src/models/SmartIdInput.ts
|
|
100
106
|
src/models/SouthAfricaNidInput.ts
|
|
107
|
+
src/models/SouthAfricaNidLookup2Input.ts
|
|
101
108
|
src/models/SpidBillingInformation.ts
|
|
102
109
|
src/models/SpidInput.ts
|
|
103
110
|
src/models/SpidProviderOutput.ts
|
|
@@ -40,6 +40,12 @@ export interface AttachmentAccessKeys {
|
|
|
40
40
|
* @memberof AttachmentAccessKeys
|
|
41
41
|
*/
|
|
42
42
|
documentPortrait?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof AttachmentAccessKeys
|
|
47
|
+
*/
|
|
48
|
+
documentSignature?: string | null;
|
|
43
49
|
/**
|
|
44
50
|
*
|
|
45
51
|
* @type {ProviderAttachments}
|
|
@@ -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
|
}
|
|
@@ -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
|
+
}
|
|
@@ -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 KenyaNidLookup2Input
|
|
16
|
+
*/
|
|
17
|
+
export interface KenyaNidLookup2Input {
|
|
18
|
+
/**
|
|
19
|
+
* The user's National ID number
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KenyaNidLookup2Input
|
|
22
|
+
*/
|
|
23
|
+
idNumber?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the KenyaNidLookup2Input interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfKenyaNidLookup2Input(value: object): value is KenyaNidLookup2Input;
|
|
29
|
+
export declare function KenyaNidLookup2InputFromJSON(json: any): KenyaNidLookup2Input;
|
|
30
|
+
export declare function KenyaNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidLookup2Input;
|
|
31
|
+
export declare function KenyaNidLookup2InputToJSON(json: any): KenyaNidLookup2Input;
|
|
32
|
+
export declare function KenyaNidLookup2InputToJSONTyped(value?: KenyaNidLookup2Input | 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 KenyaNidLookup2Input interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfKenyaNidLookup2Input(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function KenyaNidLookup2InputFromJSON(json) {
|
|
21
|
+
return KenyaNidLookup2InputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function KenyaNidLookup2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function KenyaNidLookup2InputToJSON(json) {
|
|
32
|
+
return KenyaNidLookup2InputToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function KenyaNidLookup2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'idNumber': value['idNumber'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { SexV1 } from './SexV1';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface KenyaNidMatch2Input
|
|
17
|
+
*/
|
|
18
|
+
export interface KenyaNidMatch2Input {
|
|
19
|
+
/**
|
|
20
|
+
* The user's Kenyan National ID number
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof KenyaNidMatch2Input
|
|
23
|
+
*/
|
|
24
|
+
idNumber?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* The user's first name as it appears in their National ID
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof KenyaNidMatch2Input
|
|
29
|
+
*/
|
|
30
|
+
givenName?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The user's last name as it appears in their National ID
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof KenyaNidMatch2Input
|
|
35
|
+
*/
|
|
36
|
+
familyName?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The user's middle name as it appears in their National ID (optional)
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof KenyaNidMatch2Input
|
|
41
|
+
*/
|
|
42
|
+
middleName?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The user's date of birth, in `YYYY-MM-DD` format
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof KenyaNidMatch2Input
|
|
47
|
+
*/
|
|
48
|
+
dateOfBirth?: Date | null;
|
|
49
|
+
/**
|
|
50
|
+
* The user's sex as it appears in their National ID
|
|
51
|
+
* @type {SexV1}
|
|
52
|
+
* @memberof KenyaNidMatch2Input
|
|
53
|
+
*/
|
|
54
|
+
sex?: SexV1 | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the KenyaNidMatch2Input interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfKenyaNidMatch2Input(value: object): value is KenyaNidMatch2Input;
|
|
60
|
+
export declare function KenyaNidMatch2InputFromJSON(json: any): KenyaNidMatch2Input;
|
|
61
|
+
export declare function KenyaNidMatch2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidMatch2Input;
|
|
62
|
+
export declare function KenyaNidMatch2InputToJSON(json: any): KenyaNidMatch2Input;
|
|
63
|
+
export declare function KenyaNidMatch2InputToJSONTyped(value?: KenyaNidMatch2Input | 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 { SexV1FromJSON, SexV1ToJSON, } from './SexV1';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the KenyaNidMatch2Input interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfKenyaNidMatch2Input(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function KenyaNidMatch2InputFromJSON(json) {
|
|
22
|
+
return KenyaNidMatch2InputFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function KenyaNidMatch2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
30
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
31
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
32
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
33
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
34
|
+
'sex': json['sex'] == null ? undefined : SexV1FromJSON(json['sex']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function KenyaNidMatch2InputToJSON(json) {
|
|
38
|
+
return KenyaNidMatch2InputToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function KenyaNidMatch2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'idNumber': value['idNumber'],
|
|
46
|
+
'givenName': value['givenName'],
|
|
47
|
+
'familyName': value['familyName'],
|
|
48
|
+
'middleName': value['middleName'],
|
|
49
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
50
|
+
'sex': SexV1ToJSON(value['sex']),
|
|
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 PhilippinesDigitalNidProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface PhilippinesDigitalNidProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The PhilSys card number.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
philsysCardNumber: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPhilippinesDigitalNidProviderOutput(value: object): value is PhilippinesDigitalNidProviderOutput;
|
|
29
|
+
export declare function PhilippinesDigitalNidProviderOutputFromJSON(json: any): PhilippinesDigitalNidProviderOutput;
|
|
30
|
+
export declare function PhilippinesDigitalNidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippinesDigitalNidProviderOutput;
|
|
31
|
+
export declare function PhilippinesDigitalNidProviderOutputToJSON(json: any): PhilippinesDigitalNidProviderOutput;
|
|
32
|
+
export declare function PhilippinesDigitalNidProviderOutputToJSONTyped(value?: PhilippinesDigitalNidProviderOutput | 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 PhilippinesDigitalNidProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPhilippinesDigitalNidProviderOutput(value) {
|
|
18
|
+
if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PhilippinesDigitalNidProviderOutputFromJSON(json) {
|
|
23
|
+
return PhilippinesDigitalNidProviderOutputFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PhilippinesDigitalNidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'philsysCardNumber': json['philsysCardNumber'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PhilippinesDigitalNidProviderOutputToJSON(json) {
|
|
34
|
+
return PhilippinesDigitalNidProviderOutputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PhilippinesDigitalNidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'philsysCardNumber': value['philsysCardNumber'],
|
|
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 PhilippinesPhysicalNidProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface PhilippinesPhysicalNidProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The PhilSys card number.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
philsysCardNumber: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PhilippinesPhysicalNidProviderOutput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPhilippinesPhysicalNidProviderOutput(value: object): value is PhilippinesPhysicalNidProviderOutput;
|
|
29
|
+
export declare function PhilippinesPhysicalNidProviderOutputFromJSON(json: any): PhilippinesPhysicalNidProviderOutput;
|
|
30
|
+
export declare function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippinesPhysicalNidProviderOutput;
|
|
31
|
+
export declare function PhilippinesPhysicalNidProviderOutputToJSON(json: any): PhilippinesPhysicalNidProviderOutput;
|
|
32
|
+
export declare function PhilippinesPhysicalNidProviderOutputToJSONTyped(value?: PhilippinesPhysicalNidProviderOutput | 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 PhilippinesPhysicalNidProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPhilippinesPhysicalNidProviderOutput(value) {
|
|
18
|
+
if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PhilippinesPhysicalNidProviderOutputFromJSON(json) {
|
|
23
|
+
return PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'philsysCardNumber': json['philsysCardNumber'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PhilippinesPhysicalNidProviderOutputToJSON(json) {
|
|
34
|
+
return PhilippinesPhysicalNidProviderOutputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PhilippinesPhysicalNidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'philsysCardNumber': value['philsysCardNumber'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -19,14 +19,18 @@ import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
|
|
|
19
19
|
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
20
20
|
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
21
21
|
import type { BangladeshNidInput } from './BangladeshNidInput';
|
|
22
|
+
import type { KenyaNidBiometric2Input } from './KenyaNidBiometric2Input';
|
|
22
23
|
import type { AadhaarInput } from './AadhaarInput';
|
|
23
24
|
import type { KenyaNidInput } from './KenyaNidInput';
|
|
24
25
|
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
25
26
|
import type { SmartIdInput } from './SmartIdInput';
|
|
26
27
|
import type { IndonesiaDukcapilMatchInput } from './IndonesiaDukcapilMatchInput';
|
|
28
|
+
import type { KenyaNidLookup2Input } from './KenyaNidLookup2Input';
|
|
29
|
+
import type { KenyaNidMatch2Input } from './KenyaNidMatch2Input';
|
|
27
30
|
import type { MobileIdInput } from './MobileIdInput';
|
|
28
31
|
import type { GoogleWalletInput } from './GoogleWalletInput';
|
|
29
32
|
import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
|
|
33
|
+
import type { SouthAfricaNidLookup2Input } from './SouthAfricaNidLookup2Input';
|
|
30
34
|
import type { IndonesiaNikInput } from './IndonesiaNikInput';
|
|
31
35
|
import type { IdinInput } from './IdinInput';
|
|
32
36
|
/**
|
|
@@ -35,6 +39,12 @@ import type { IdinInput } from './IdinInput';
|
|
|
35
39
|
* @interface ProviderInput
|
|
36
40
|
*/
|
|
37
41
|
export interface ProviderInput {
|
|
42
|
+
/**
|
|
43
|
+
* Input for the `kenya-nid-match-biometric-2` provider
|
|
44
|
+
* @type {KenyaNidBiometric2Input}
|
|
45
|
+
* @memberof ProviderInput
|
|
46
|
+
*/
|
|
47
|
+
kenyaBiometric2?: KenyaNidBiometric2Input | null;
|
|
38
48
|
/**
|
|
39
49
|
* Input for the `indonesia-nik-lookup` provider
|
|
40
50
|
* @type {IndonesiaNikInput}
|
|
@@ -65,6 +75,24 @@ export interface ProviderInput {
|
|
|
65
75
|
* @memberof ProviderInput
|
|
66
76
|
*/
|
|
67
77
|
kenyaNid?: KenyaNidInput | null;
|
|
78
|
+
/**
|
|
79
|
+
* Input for the `kenya-nid-match-2` provider
|
|
80
|
+
* @type {KenyaNidMatch2Input}
|
|
81
|
+
* @memberof ProviderInput
|
|
82
|
+
*/
|
|
83
|
+
kenyaNidMatch2?: KenyaNidMatch2Input | null;
|
|
84
|
+
/**
|
|
85
|
+
* Input for the `kenya-nid-lookup-2` provider
|
|
86
|
+
* @type {KenyaNidLookup2Input}
|
|
87
|
+
* @memberof ProviderInput
|
|
88
|
+
*/
|
|
89
|
+
kenyaNidLookup2?: KenyaNidLookup2Input | null;
|
|
90
|
+
/**
|
|
91
|
+
* Input for the `south-africa-nid-lookup-2` provider
|
|
92
|
+
* @type {SouthAfricaNidLookup2Input}
|
|
93
|
+
* @memberof ProviderInput
|
|
94
|
+
*/
|
|
95
|
+
southAfricaNidLookup2?: SouthAfricaNidLookup2Input | null;
|
|
68
96
|
/**
|
|
69
97
|
* Input for the `nigeria-nin-lookup` provider
|
|
70
98
|
* @type {NigeriaNinInput}
|
|
@@ -21,14 +21,18 @@ import { SouthAfricaNidInputFromJSON, SouthAfricaNidInputToJSON, } from './South
|
|
|
21
21
|
import { PhilippineMatchInputFromJSON, PhilippineMatchInputToJSON, } from './PhilippineMatchInput';
|
|
22
22
|
import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
|
|
23
23
|
import { BangladeshNidInputFromJSON, BangladeshNidInputToJSON, } from './BangladeshNidInput';
|
|
24
|
+
import { KenyaNidBiometric2InputFromJSON, KenyaNidBiometric2InputToJSON, } from './KenyaNidBiometric2Input';
|
|
24
25
|
import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
|
|
25
26
|
import { KenyaNidInputFromJSON, KenyaNidInputToJSON, } from './KenyaNidInput';
|
|
26
27
|
import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
|
|
27
28
|
import { SmartIdInputFromJSON, SmartIdInputToJSON, } from './SmartIdInput';
|
|
28
29
|
import { IndonesiaDukcapilMatchInputFromJSON, IndonesiaDukcapilMatchInputToJSON, } from './IndonesiaDukcapilMatchInput';
|
|
30
|
+
import { KenyaNidLookup2InputFromJSON, KenyaNidLookup2InputToJSON, } from './KenyaNidLookup2Input';
|
|
31
|
+
import { KenyaNidMatch2InputFromJSON, KenyaNidMatch2InputToJSON, } from './KenyaNidMatch2Input';
|
|
29
32
|
import { MobileIdInputFromJSON, MobileIdInputToJSON, } from './MobileIdInput';
|
|
30
33
|
import { GoogleWalletInputFromJSON, GoogleWalletInputToJSON, } from './GoogleWalletInput';
|
|
31
34
|
import { TrinsicTestDatabaseLookupInputFromJSON, TrinsicTestDatabaseLookupInputToJSON, } from './TrinsicTestDatabaseLookupInput';
|
|
35
|
+
import { SouthAfricaNidLookup2InputFromJSON, SouthAfricaNidLookup2InputToJSON, } from './SouthAfricaNidLookup2Input';
|
|
32
36
|
import { IndonesiaNikInputFromJSON, IndonesiaNikInputToJSON, } from './IndonesiaNikInput';
|
|
33
37
|
import { IdinInputFromJSON, IdinInputToJSON, } from './IdinInput';
|
|
34
38
|
/**
|
|
@@ -45,11 +49,15 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
49
|
return json;
|
|
46
50
|
}
|
|
47
51
|
return {
|
|
52
|
+
'kenyaBiometric2': json['kenyaBiometric2'] == null ? undefined : KenyaNidBiometric2InputFromJSON(json['kenyaBiometric2']),
|
|
48
53
|
'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
|
|
49
54
|
'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : IndonesiaDukcapilMatchInputFromJSON(json['indonesiaDukcapilMatch']),
|
|
50
55
|
'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
|
|
51
56
|
'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
|
|
52
57
|
'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
|
|
58
|
+
'kenyaNidMatch2': json['kenyaNidMatch2'] == null ? undefined : KenyaNidMatch2InputFromJSON(json['kenyaNidMatch2']),
|
|
59
|
+
'kenyaNidLookup2': json['kenyaNidLookup2'] == null ? undefined : KenyaNidLookup2InputFromJSON(json['kenyaNidLookup2']),
|
|
60
|
+
'southAfricaNidLookup2': json['southAfricaNidLookup2'] == null ? undefined : SouthAfricaNidLookup2InputFromJSON(json['southAfricaNidLookup2']),
|
|
53
61
|
'nigeriaNin': json['nigeriaNin'] == null ? undefined : NigeriaNinInputFromJSON(json['nigeriaNin']),
|
|
54
62
|
'aadhaar': json['aadhaar'] == null ? undefined : AadhaarInputFromJSON(json['aadhaar']),
|
|
55
63
|
'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : BangladeshNidInputFromJSON(json['bangladeshNationalId']),
|
|
@@ -75,11 +83,15 @@ export function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
75
83
|
return value;
|
|
76
84
|
}
|
|
77
85
|
return {
|
|
86
|
+
'kenyaBiometric2': KenyaNidBiometric2InputToJSON(value['kenyaBiometric2']),
|
|
78
87
|
'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
|
|
79
88
|
'indonesiaDukcapilMatch': IndonesiaDukcapilMatchInputToJSON(value['indonesiaDukcapilMatch']),
|
|
80
89
|
'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
|
|
81
90
|
'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
|
|
82
91
|
'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
|
|
92
|
+
'kenyaNidMatch2': KenyaNidMatch2InputToJSON(value['kenyaNidMatch2']),
|
|
93
|
+
'kenyaNidLookup2': KenyaNidLookup2InputToJSON(value['kenyaNidLookup2']),
|
|
94
|
+
'southAfricaNidLookup2': SouthAfricaNidLookup2InputToJSON(value['southAfricaNidLookup2']),
|
|
83
95
|
'nigeriaNin': NigeriaNinInputToJSON(value['nigeriaNin']),
|
|
84
96
|
'aadhaar': AadhaarInputToJSON(value['aadhaar']),
|
|
85
97
|
'bangladeshNationalId': BangladeshNidInputToJSON(value['bangladeshNationalId']),
|
|
@@ -11,6 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { FaydaProviderOutput } from './FaydaProviderOutput';
|
|
13
13
|
import type { MexicoCurpProviderOutput } from './MexicoCurpProviderOutput';
|
|
14
|
+
import type { PhilippinesPhysicalNidProviderOutput } from './PhilippinesPhysicalNidProviderOutput';
|
|
15
|
+
import type { PhilippinesDigitalNidProviderOutput } from './PhilippinesDigitalNidProviderOutput';
|
|
14
16
|
import type { SpidProviderOutput } from './SpidProviderOutput';
|
|
15
17
|
/**
|
|
16
18
|
*
|
|
@@ -36,6 +38,18 @@ export interface ProviderOutput {
|
|
|
36
38
|
* @memberof ProviderOutput
|
|
37
39
|
*/
|
|
38
40
|
ethiopiaFayda?: FaydaProviderOutput | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {PhilippinesPhysicalNidProviderOutput}
|
|
44
|
+
* @memberof ProviderOutput
|
|
45
|
+
*/
|
|
46
|
+
philippinesPhysicalNationalIdQr?: PhilippinesPhysicalNidProviderOutput | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {PhilippinesDigitalNidProviderOutput}
|
|
50
|
+
* @memberof ProviderOutput
|
|
51
|
+
*/
|
|
52
|
+
philippinesDigitalNationalIdQr?: PhilippinesDigitalNidProviderOutput | null;
|
|
39
53
|
}
|
|
40
54
|
/**
|
|
41
55
|
* Check if a given object implements the ProviderOutput interface.
|