@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
|
@@ -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,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfKenyaNidMatch2Input = instanceOfKenyaNidMatch2Input;
|
|
17
|
+
exports.KenyaNidMatch2InputFromJSON = KenyaNidMatch2InputFromJSON;
|
|
18
|
+
exports.KenyaNidMatch2InputFromJSONTyped = KenyaNidMatch2InputFromJSONTyped;
|
|
19
|
+
exports.KenyaNidMatch2InputToJSON = KenyaNidMatch2InputToJSON;
|
|
20
|
+
exports.KenyaNidMatch2InputToJSONTyped = KenyaNidMatch2InputToJSONTyped;
|
|
21
|
+
const SexV1_1 = require("./SexV1");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the KenyaNidMatch2Input interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfKenyaNidMatch2Input(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function KenyaNidMatch2InputFromJSON(json) {
|
|
29
|
+
return KenyaNidMatch2InputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function KenyaNidMatch2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
37
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
38
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
39
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
40
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
41
|
+
'sex': json['sex'] == null ? undefined : (0, SexV1_1.SexV1FromJSON)(json['sex']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function KenyaNidMatch2InputToJSON(json) {
|
|
45
|
+
return KenyaNidMatch2InputToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function KenyaNidMatch2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'idNumber': value['idNumber'],
|
|
53
|
+
'givenName': value['givenName'],
|
|
54
|
+
'familyName': value['familyName'],
|
|
55
|
+
'middleName': value['middleName'],
|
|
56
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
57
|
+
'sex': (0, SexV1_1.SexV1ToJSON)(value['sex']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -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,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPhilippinesDigitalNidProviderOutput = instanceOfPhilippinesDigitalNidProviderOutput;
|
|
17
|
+
exports.PhilippinesDigitalNidProviderOutputFromJSON = PhilippinesDigitalNidProviderOutputFromJSON;
|
|
18
|
+
exports.PhilippinesDigitalNidProviderOutputFromJSONTyped = PhilippinesDigitalNidProviderOutputFromJSONTyped;
|
|
19
|
+
exports.PhilippinesDigitalNidProviderOutputToJSON = PhilippinesDigitalNidProviderOutputToJSON;
|
|
20
|
+
exports.PhilippinesDigitalNidProviderOutputToJSONTyped = PhilippinesDigitalNidProviderOutputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPhilippinesDigitalNidProviderOutput(value) {
|
|
25
|
+
if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PhilippinesDigitalNidProviderOutputFromJSON(json) {
|
|
30
|
+
return PhilippinesDigitalNidProviderOutputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PhilippinesDigitalNidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'philsysCardNumber': json['philsysCardNumber'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PhilippinesDigitalNidProviderOutputToJSON(json) {
|
|
41
|
+
return PhilippinesDigitalNidProviderOutputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PhilippinesDigitalNidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'philsysCardNumber': value['philsysCardNumber'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfPhilippinesPhysicalNidProviderOutput = instanceOfPhilippinesPhysicalNidProviderOutput;
|
|
17
|
+
exports.PhilippinesPhysicalNidProviderOutputFromJSON = PhilippinesPhysicalNidProviderOutputFromJSON;
|
|
18
|
+
exports.PhilippinesPhysicalNidProviderOutputFromJSONTyped = PhilippinesPhysicalNidProviderOutputFromJSONTyped;
|
|
19
|
+
exports.PhilippinesPhysicalNidProviderOutputToJSON = PhilippinesPhysicalNidProviderOutputToJSON;
|
|
20
|
+
exports.PhilippinesPhysicalNidProviderOutputToJSONTyped = PhilippinesPhysicalNidProviderOutputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the PhilippinesPhysicalNidProviderOutput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfPhilippinesPhysicalNidProviderOutput(value) {
|
|
25
|
+
if (!('philsysCardNumber' in value) || value['philsysCardNumber'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function PhilippinesPhysicalNidProviderOutputFromJSON(json) {
|
|
30
|
+
return PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'philsysCardNumber': json['philsysCardNumber'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function PhilippinesPhysicalNidProviderOutputToJSON(json) {
|
|
41
|
+
return PhilippinesPhysicalNidProviderOutputToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function PhilippinesPhysicalNidProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'philsysCardNumber': value['philsysCardNumber'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -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}
|
|
@@ -28,14 +28,18 @@ const SouthAfricaNidInput_1 = require("./SouthAfricaNidInput");
|
|
|
28
28
|
const PhilippineMatchInput_1 = require("./PhilippineMatchInput");
|
|
29
29
|
const PhilippineQRInput_1 = require("./PhilippineQRInput");
|
|
30
30
|
const BangladeshNidInput_1 = require("./BangladeshNidInput");
|
|
31
|
+
const KenyaNidBiometric2Input_1 = require("./KenyaNidBiometric2Input");
|
|
31
32
|
const AadhaarInput_1 = require("./AadhaarInput");
|
|
32
33
|
const KenyaNidInput_1 = require("./KenyaNidInput");
|
|
33
34
|
const NigeriaNinInput_1 = require("./NigeriaNinInput");
|
|
34
35
|
const SmartIdInput_1 = require("./SmartIdInput");
|
|
35
36
|
const IndonesiaDukcapilMatchInput_1 = require("./IndonesiaDukcapilMatchInput");
|
|
37
|
+
const KenyaNidLookup2Input_1 = require("./KenyaNidLookup2Input");
|
|
38
|
+
const KenyaNidMatch2Input_1 = require("./KenyaNidMatch2Input");
|
|
36
39
|
const MobileIdInput_1 = require("./MobileIdInput");
|
|
37
40
|
const GoogleWalletInput_1 = require("./GoogleWalletInput");
|
|
38
41
|
const TrinsicTestDatabaseLookupInput_1 = require("./TrinsicTestDatabaseLookupInput");
|
|
42
|
+
const SouthAfricaNidLookup2Input_1 = require("./SouthAfricaNidLookup2Input");
|
|
39
43
|
const IndonesiaNikInput_1 = require("./IndonesiaNikInput");
|
|
40
44
|
const IdinInput_1 = require("./IdinInput");
|
|
41
45
|
/**
|
|
@@ -52,11 +56,15 @@ function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
56
|
return json;
|
|
53
57
|
}
|
|
54
58
|
return {
|
|
59
|
+
'kenyaBiometric2': json['kenyaBiometric2'] == null ? undefined : (0, KenyaNidBiometric2Input_1.KenyaNidBiometric2InputFromJSON)(json['kenyaBiometric2']),
|
|
55
60
|
'indonesiaNik': json['indonesiaNik'] == null ? undefined : (0, IndonesiaNikInput_1.IndonesiaNikInputFromJSON)(json['indonesiaNik']),
|
|
56
61
|
'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : (0, IndonesiaDukcapilMatchInput_1.IndonesiaDukcapilMatchInputFromJSON)(json['indonesiaDukcapilMatch']),
|
|
57
62
|
'mexicoCurp': json['mexicoCurp'] == null ? undefined : (0, MexicoCurpInput_1.MexicoCurpInputFromJSON)(json['mexicoCurp']),
|
|
58
63
|
'southAfricaNid': json['southAfricaNid'] == null ? undefined : (0, SouthAfricaNidInput_1.SouthAfricaNidInputFromJSON)(json['southAfricaNid']),
|
|
59
64
|
'kenyaNid': json['kenyaNid'] == null ? undefined : (0, KenyaNidInput_1.KenyaNidInputFromJSON)(json['kenyaNid']),
|
|
65
|
+
'kenyaNidMatch2': json['kenyaNidMatch2'] == null ? undefined : (0, KenyaNidMatch2Input_1.KenyaNidMatch2InputFromJSON)(json['kenyaNidMatch2']),
|
|
66
|
+
'kenyaNidLookup2': json['kenyaNidLookup2'] == null ? undefined : (0, KenyaNidLookup2Input_1.KenyaNidLookup2InputFromJSON)(json['kenyaNidLookup2']),
|
|
67
|
+
'southAfricaNidLookup2': json['southAfricaNidLookup2'] == null ? undefined : (0, SouthAfricaNidLookup2Input_1.SouthAfricaNidLookup2InputFromJSON)(json['southAfricaNidLookup2']),
|
|
60
68
|
'nigeriaNin': json['nigeriaNin'] == null ? undefined : (0, NigeriaNinInput_1.NigeriaNinInputFromJSON)(json['nigeriaNin']),
|
|
61
69
|
'aadhaar': json['aadhaar'] == null ? undefined : (0, AadhaarInput_1.AadhaarInputFromJSON)(json['aadhaar']),
|
|
62
70
|
'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : (0, BangladeshNidInput_1.BangladeshNidInputFromJSON)(json['bangladeshNationalId']),
|
|
@@ -82,11 +90,15 @@ function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
82
90
|
return value;
|
|
83
91
|
}
|
|
84
92
|
return {
|
|
93
|
+
'kenyaBiometric2': (0, KenyaNidBiometric2Input_1.KenyaNidBiometric2InputToJSON)(value['kenyaBiometric2']),
|
|
85
94
|
'indonesiaNik': (0, IndonesiaNikInput_1.IndonesiaNikInputToJSON)(value['indonesiaNik']),
|
|
86
95
|
'indonesiaDukcapilMatch': (0, IndonesiaDukcapilMatchInput_1.IndonesiaDukcapilMatchInputToJSON)(value['indonesiaDukcapilMatch']),
|
|
87
96
|
'mexicoCurp': (0, MexicoCurpInput_1.MexicoCurpInputToJSON)(value['mexicoCurp']),
|
|
88
97
|
'southAfricaNid': (0, SouthAfricaNidInput_1.SouthAfricaNidInputToJSON)(value['southAfricaNid']),
|
|
89
98
|
'kenyaNid': (0, KenyaNidInput_1.KenyaNidInputToJSON)(value['kenyaNid']),
|
|
99
|
+
'kenyaNidMatch2': (0, KenyaNidMatch2Input_1.KenyaNidMatch2InputToJSON)(value['kenyaNidMatch2']),
|
|
100
|
+
'kenyaNidLookup2': (0, KenyaNidLookup2Input_1.KenyaNidLookup2InputToJSON)(value['kenyaNidLookup2']),
|
|
101
|
+
'southAfricaNidLookup2': (0, SouthAfricaNidLookup2Input_1.SouthAfricaNidLookup2InputToJSON)(value['southAfricaNidLookup2']),
|
|
90
102
|
'nigeriaNin': (0, NigeriaNinInput_1.NigeriaNinInputToJSON)(value['nigeriaNin']),
|
|
91
103
|
'aadhaar': (0, AadhaarInput_1.AadhaarInputToJSON)(value['aadhaar']),
|
|
92
104
|
'bangladeshNationalId': (0, BangladeshNidInput_1.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.
|
|
@@ -20,6 +20,8 @@ exports.ProviderOutputToJSON = ProviderOutputToJSON;
|
|
|
20
20
|
exports.ProviderOutputToJSONTyped = ProviderOutputToJSONTyped;
|
|
21
21
|
const FaydaProviderOutput_1 = require("./FaydaProviderOutput");
|
|
22
22
|
const MexicoCurpProviderOutput_1 = require("./MexicoCurpProviderOutput");
|
|
23
|
+
const PhilippinesPhysicalNidProviderOutput_1 = require("./PhilippinesPhysicalNidProviderOutput");
|
|
24
|
+
const PhilippinesDigitalNidProviderOutput_1 = require("./PhilippinesDigitalNidProviderOutput");
|
|
23
25
|
const SpidProviderOutput_1 = require("./SpidProviderOutput");
|
|
24
26
|
/**
|
|
25
27
|
* Check if a given object implements the ProviderOutput interface.
|
|
@@ -38,6 +40,8 @@ function ProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
'italySpid': json['italy-spid'] == null ? undefined : (0, SpidProviderOutput_1.SpidProviderOutputFromJSON)(json['italy-spid']),
|
|
39
41
|
'mexicoCurpLookup': json['mexico-curp-lookup'] == null ? undefined : (0, MexicoCurpProviderOutput_1.MexicoCurpProviderOutputFromJSON)(json['mexico-curp-lookup']),
|
|
40
42
|
'ethiopiaFayda': json['ethiopia-fayda'] == null ? undefined : (0, FaydaProviderOutput_1.FaydaProviderOutputFromJSON)(json['ethiopia-fayda']),
|
|
43
|
+
'philippinesPhysicalNationalIdQr': json['philippines-physical-national-id-qr'] == null ? undefined : (0, PhilippinesPhysicalNidProviderOutput_1.PhilippinesPhysicalNidProviderOutputFromJSON)(json['philippines-physical-national-id-qr']),
|
|
44
|
+
'philippinesDigitalNationalIdQr': json['philippines-digital-national-id-qr'] == null ? undefined : (0, PhilippinesDigitalNidProviderOutput_1.PhilippinesDigitalNidProviderOutputFromJSON)(json['philippines-digital-national-id-qr']),
|
|
41
45
|
};
|
|
42
46
|
}
|
|
43
47
|
function ProviderOutputToJSON(json) {
|
|
@@ -51,5 +55,7 @@ function ProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
55
|
'italy-spid': (0, SpidProviderOutput_1.SpidProviderOutputToJSON)(value['italySpid']),
|
|
52
56
|
'mexico-curp-lookup': (0, MexicoCurpProviderOutput_1.MexicoCurpProviderOutputToJSON)(value['mexicoCurpLookup']),
|
|
53
57
|
'ethiopia-fayda': (0, FaydaProviderOutput_1.FaydaProviderOutputToJSON)(value['ethiopiaFayda']),
|
|
58
|
+
'philippines-physical-national-id-qr': (0, PhilippinesPhysicalNidProviderOutput_1.PhilippinesPhysicalNidProviderOutputToJSON)(value['philippinesPhysicalNationalIdQr']),
|
|
59
|
+
'philippines-digital-national-id-qr': (0, PhilippinesDigitalNidProviderOutput_1.PhilippinesDigitalNidProviderOutputToJSON)(value['philippinesDigitalNationalIdQr']),
|
|
54
60
|
};
|
|
55
61
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const SexV1: {
|
|
17
|
+
readonly Unknown: "Unknown";
|
|
18
|
+
readonly NotApplicable: "NotApplicable";
|
|
19
|
+
readonly Male: "Male";
|
|
20
|
+
readonly Female: "Female";
|
|
21
|
+
};
|
|
22
|
+
export type SexV1 = typeof SexV1[keyof typeof SexV1];
|
|
23
|
+
export declare function instanceOfSexV1(value: any): boolean;
|
|
24
|
+
export declare function SexV1FromJSON(json: any): SexV1;
|
|
25
|
+
export declare function SexV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): SexV1;
|
|
26
|
+
export declare function SexV1ToJSON(value?: SexV1 | null): any;
|
|
27
|
+
export declare function SexV1ToJSONTyped(value: any, ignoreDiscriminator: boolean): SexV1;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SexV1 = void 0;
|
|
17
|
+
exports.instanceOfSexV1 = instanceOfSexV1;
|
|
18
|
+
exports.SexV1FromJSON = SexV1FromJSON;
|
|
19
|
+
exports.SexV1FromJSONTyped = SexV1FromJSONTyped;
|
|
20
|
+
exports.SexV1ToJSON = SexV1ToJSON;
|
|
21
|
+
exports.SexV1ToJSONTyped = SexV1ToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.SexV1 = {
|
|
27
|
+
Unknown: 'Unknown',
|
|
28
|
+
NotApplicable: 'NotApplicable',
|
|
29
|
+
Male: 'Male',
|
|
30
|
+
Female: 'Female'
|
|
31
|
+
};
|
|
32
|
+
function instanceOfSexV1(value) {
|
|
33
|
+
for (const key in exports.SexV1) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(exports.SexV1, key)) {
|
|
35
|
+
if (exports.SexV1[key] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
function SexV1FromJSON(json) {
|
|
43
|
+
return SexV1FromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function SexV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
function SexV1ToJSON(value) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
function SexV1ToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -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 SouthAfricaNidLookup2Input
|
|
16
|
+
*/
|
|
17
|
+
export interface SouthAfricaNidLookup2Input {
|
|
18
|
+
/**
|
|
19
|
+
* The user's National ID number
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SouthAfricaNidLookup2Input
|
|
22
|
+
*/
|
|
23
|
+
idNumber?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SouthAfricaNidLookup2Input interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSouthAfricaNidLookup2Input(value: object): value is SouthAfricaNidLookup2Input;
|
|
29
|
+
export declare function SouthAfricaNidLookup2InputFromJSON(json: any): SouthAfricaNidLookup2Input;
|
|
30
|
+
export declare function SouthAfricaNidLookup2InputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SouthAfricaNidLookup2Input;
|
|
31
|
+
export declare function SouthAfricaNidLookup2InputToJSON(json: any): SouthAfricaNidLookup2Input;
|
|
32
|
+
export declare function SouthAfricaNidLookup2InputToJSONTyped(value?: SouthAfricaNidLookup2Input | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSouthAfricaNidLookup2Input = instanceOfSouthAfricaNidLookup2Input;
|
|
17
|
+
exports.SouthAfricaNidLookup2InputFromJSON = SouthAfricaNidLookup2InputFromJSON;
|
|
18
|
+
exports.SouthAfricaNidLookup2InputFromJSONTyped = SouthAfricaNidLookup2InputFromJSONTyped;
|
|
19
|
+
exports.SouthAfricaNidLookup2InputToJSON = SouthAfricaNidLookup2InputToJSON;
|
|
20
|
+
exports.SouthAfricaNidLookup2InputToJSONTyped = SouthAfricaNidLookup2InputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SouthAfricaNidLookup2Input interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSouthAfricaNidLookup2Input(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SouthAfricaNidLookup2InputFromJSON(json) {
|
|
28
|
+
return SouthAfricaNidLookup2InputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SouthAfricaNidLookup2InputFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'idNumber': json['idNumber'] == null ? undefined : json['idNumber'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function SouthAfricaNidLookup2InputToJSON(json) {
|
|
39
|
+
return SouthAfricaNidLookup2InputToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function SouthAfricaNidLookup2InputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'idNumber': value['idNumber'],
|
|
47
|
+
};
|
|
48
|
+
}
|