@trinsic/api 3.0.0 → 3.0.2-preview1
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 +29 -0
- package/dist/apis/ProvidersApi.d.ts +28 -1
- package/dist/apis/ProvidersApi.js +37 -0
- package/dist/apis/VerificationProfilesApi.d.ts +6 -2
- package/dist/apis/VerificationProfilesApi.js +8 -2
- package/dist/esm/apis/ProvidersApi.d.ts +28 -1
- package/dist/esm/apis/ProvidersApi.js +38 -1
- package/dist/esm/apis/VerificationProfilesApi.d.ts +6 -2
- package/dist/esm/apis/VerificationProfilesApi.js +8 -2
- package/dist/esm/models/AadhaarClaims.d.ts +125 -0
- package/dist/esm/models/AadhaarClaims.js +69 -0
- package/dist/esm/models/AadhaarLanguage.d.ts +55 -0
- package/dist/esm/models/AadhaarLanguage.js +44 -0
- package/dist/esm/models/AadhaarLocalizedClaims.d.ts +99 -0
- package/dist/esm/models/AadhaarLocalizedClaims.js +64 -0
- package/dist/esm/models/AppleWalletInput.d.ts +13 -0
- package/dist/esm/models/AppleWalletInput.js +3 -0
- package/dist/esm/models/ConnectIdAddress.d.ts +58 -0
- package/dist/esm/models/ConnectIdAddress.js +49 -0
- package/dist/esm/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/esm/models/ConnectIdAgeVerification.js +43 -0
- package/dist/esm/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
- package/dist/esm/models/ConnectIdBeneficiaryAccount.js +47 -0
- package/dist/esm/models/ConnectIdProviderOutput.d.ts +97 -0
- package/dist/esm/models/ConnectIdProviderOutput.js +64 -0
- package/dist/esm/models/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/esm/models/CzechMojeIdAddressOutput.js +51 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +177 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.js +86 -0
- package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
- package/dist/esm/models/DigilockerAadhaarProviderOutput.js +57 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +20 -0
- package/dist/esm/models/FaydaProviderOutput.js +6 -0
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +61 -0
- package/dist/esm/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/esm/models/FranceIdentiteInput.js +42 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.js +44 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/esm/models/FrejaProviderOutput.js +38 -16
- package/dist/esm/models/GetProviderResponse.d.ts +33 -0
- package/dist/esm/models/GetProviderResponse.js +44 -0
- package/dist/esm/models/GoogleWalletInput.d.ts +11 -0
- package/dist/esm/models/GoogleWalletInput.js +3 -0
- package/dist/esm/models/IntegrationStep.d.ts +1 -1
- package/dist/esm/models/KenyaNidLookup2Address.d.ts +90 -0
- package/dist/esm/models/KenyaNidLookup2Address.js +49 -0
- package/dist/esm/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
- package/dist/esm/models/KenyaNidLookup2ProviderOutput.js +74 -0
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +69 -0
- package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/esm/models/NorwegianBankIdProviderOutput.js +55 -0
- package/dist/esm/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/esm/models/OneIdProviderAddress.js +49 -0
- package/dist/esm/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/esm/models/OneIdProviderOutput.js +52 -0
- package/dist/esm/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/esm/models/OutputFrejaAddress.js +47 -0
- package/dist/esm/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/esm/models/OutputFrejaDocument.js +47 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- package/dist/esm/models/ProviderInput.d.ts +21 -0
- package/dist/esm/models/ProviderInput.js +9 -0
- package/dist/esm/models/ProviderOutput.d.ts +89 -3
- package/dist/esm/models/ProviderOutput.js +38 -2
- package/dist/esm/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/esm/models/Raw18013DocumentRequest.js +47 -0
- package/dist/esm/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/esm/models/Raw18013RequestInput.js +44 -0
- package/dist/esm/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/esm/models/RecommendProvidersResponse.js +4 -0
- package/dist/esm/models/SamsungWalletInput.d.ts +37 -0
- package/dist/esm/models/SamsungWalletInput.js +42 -0
- package/dist/esm/models/UkEvisaLookupInput.d.ts +38 -0
- package/dist/esm/models/UkEvisaLookupInput.js +47 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +61 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +4 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.js +65 -0
- package/dist/esm/models/index.d.ts +29 -0
- package/dist/esm/models/index.js +29 -0
- package/dist/models/AadhaarClaims.d.ts +125 -0
- package/dist/models/AadhaarClaims.js +76 -0
- package/dist/models/AadhaarLanguage.d.ts +55 -0
- package/dist/models/AadhaarLanguage.js +51 -0
- package/dist/models/AadhaarLocalizedClaims.d.ts +99 -0
- package/dist/models/AadhaarLocalizedClaims.js +71 -0
- package/dist/models/AppleWalletInput.d.ts +13 -0
- package/dist/models/AppleWalletInput.js +3 -0
- package/dist/models/ConnectIdAddress.d.ts +58 -0
- package/dist/models/ConnectIdAddress.js +56 -0
- package/dist/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/models/ConnectIdAgeVerification.js +50 -0
- package/dist/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
- package/dist/models/ConnectIdBeneficiaryAccount.js +54 -0
- package/dist/models/ConnectIdProviderOutput.d.ts +97 -0
- package/dist/models/ConnectIdProviderOutput.js +71 -0
- package/dist/models/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/models/CzechMojeIdAddressOutput.js +58 -0
- package/dist/models/CzechMojeIdProviderOutput.d.ts +177 -0
- package/dist/models/CzechMojeIdProviderOutput.js +93 -0
- package/dist/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
- package/dist/models/DigilockerAadhaarProviderOutput.js +64 -0
- package/dist/models/FaydaProviderOutput.d.ts +20 -0
- package/dist/models/FaydaProviderOutput.js +6 -0
- package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/models/FinnishTrustNetworkProviderOutput.js +68 -0
- package/dist/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/models/FranceIdentiteInput.js +49 -0
- package/dist/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/models/FranceIdentiteProviderOutput.js +51 -0
- package/dist/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/models/FrejaIndirectProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/models/FrejaProviderOutput.js +38 -16
- package/dist/models/GetProviderResponse.d.ts +33 -0
- package/dist/models/GetProviderResponse.js +51 -0
- package/dist/models/GoogleWalletInput.d.ts +11 -0
- package/dist/models/GoogleWalletInput.js +3 -0
- package/dist/models/IntegrationStep.d.ts +1 -1
- package/dist/models/KenyaNidLookup2Address.d.ts +90 -0
- package/dist/models/KenyaNidLookup2Address.js +56 -0
- package/dist/models/KenyaNidLookup2ProviderOutput.d.ts +114 -0
- package/dist/models/KenyaNidLookup2ProviderOutput.js +81 -0
- package/dist/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
- package/dist/models/NigeriaNinLookup2ProviderOutput.js +76 -0
- package/dist/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/models/NorwegianBankIdProviderOutput.js +62 -0
- package/dist/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/models/OneIdProviderAddress.js +56 -0
- package/dist/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/models/OneIdProviderOutput.js +59 -0
- package/dist/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/models/OutputFrejaAddress.js +54 -0
- package/dist/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/models/OutputFrejaDocument.js +54 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- package/dist/models/ProviderInput.d.ts +21 -0
- package/dist/models/ProviderInput.js +9 -0
- package/dist/models/ProviderOutput.d.ts +89 -3
- package/dist/models/ProviderOutput.js +38 -2
- package/dist/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/models/Raw18013DocumentRequest.js +54 -0
- package/dist/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/models/Raw18013RequestInput.js +51 -0
- package/dist/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/models/RecommendProvidersResponse.js +4 -0
- package/dist/models/SamsungWalletInput.d.ts +37 -0
- package/dist/models/SamsungWalletInput.js +49 -0
- package/dist/models/UkEvisaLookupInput.d.ts +38 -0
- package/dist/models/UkEvisaLookupInput.js +54 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.js +68 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +4 -0
- package/dist/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/models/YotiDeeplinkProviderOutput.js +72 -0
- package/dist/models/index.d.ts +29 -0
- package/dist/models/index.js +29 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +66 -0
- package/src/apis/VerificationProfilesApi.ts +15 -3
- package/src/models/AadhaarClaims.ts +186 -0
- package/src/models/AadhaarLanguage.ts +90 -0
- package/src/models/AadhaarLocalizedClaims.ts +161 -0
- package/src/models/AppleWalletInput.ts +21 -0
- package/src/models/ConnectIdAddress.ts +99 -0
- package/src/models/ConnectIdAgeVerification.ts +73 -0
- package/src/models/ConnectIdBeneficiaryAccount.ts +91 -0
- package/src/models/ConnectIdProviderOutput.ts +169 -0
- package/src/models/CzechMojeIdAddressOutput.ts +105 -0
- package/src/models/CzechMojeIdProviderOutput.ts +261 -0
- package/src/models/DigilockerAadhaarProviderOutput.ts +141 -0
- package/src/models/FaydaProviderOutput.ts +26 -0
- package/src/models/FinnishTrustNetworkProviderOutput.ts +176 -0
- package/src/models/FranceIdentiteInput.ts +75 -0
- package/src/models/FranceIdentiteProviderOutput.ts +74 -0
- package/src/models/FrejaIndirectProviderOutput.ts +96 -0
- package/src/models/FrejaProviderOutput.ts +152 -23
- package/src/models/GetProviderResponse.ts +74 -0
- package/src/models/GoogleWalletInput.ts +19 -0
- package/src/models/IntegrationStep.ts +1 -1
- package/src/models/KenyaNidLookup2Address.ts +131 -0
- package/src/models/KenyaNidLookup2ProviderOutput.ts +180 -0
- package/src/models/NigeriaNinLookup2ProviderOutput.ts +170 -0
- package/src/models/NorwegianBankIdProviderOutput.ts +144 -0
- package/src/models/OneIdProviderAddress.ts +97 -0
- package/src/models/OneIdProviderOutput.ts +113 -0
- package/src/models/OutputFrejaAddress.ts +89 -0
- package/src/models/OutputFrejaDocument.ts +95 -0
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +84 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +70 -1
- package/src/models/ProviderInput.ts +45 -0
- package/src/models/ProviderOutput.ts +187 -5
- package/src/models/Raw18013DocumentRequest.ts +93 -0
- package/src/models/Raw18013RequestInput.ts +79 -0
- package/src/models/RecommendProvidersResponse.ts +9 -0
- package/src/models/SamsungWalletInput.ts +77 -0
- package/src/models/UkEvisaLookupInput.ts +75 -0
- package/src/models/UnitedKingdomEvisaProviderOutput.ts +159 -0
- package/src/models/VerificationProfileResponse.ts +9 -0
- package/src/models/YotiDeeplinkProviderOutput.ts +180 -0
- package/src/models/index.ts +29 -0
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface OutputFrejaDocument
|
|
20
|
+
*/
|
|
21
|
+
export interface OutputFrejaDocument {
|
|
22
|
+
/**
|
|
23
|
+
* Type of document. Possible values are:
|
|
24
|
+
* * "PASS": Passport
|
|
25
|
+
* * "DRILIC": Driver's License
|
|
26
|
+
* * "NATID": National ID
|
|
27
|
+
* * "IDSIS": SiS certified ID document
|
|
28
|
+
* * "TAXID": Tax Agency ID card
|
|
29
|
+
* * "OTHERID": Other IDs
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof OutputFrejaDocument
|
|
32
|
+
*/
|
|
33
|
+
type?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The document serial number. The structure of this number depends on the type and nationality of the document.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof OutputFrejaDocument
|
|
38
|
+
*/
|
|
39
|
+
serialNumber?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* Expiration date of the document. Formatted as an ISO 8601 Date.
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof OutputFrejaDocument
|
|
44
|
+
*/
|
|
45
|
+
expirationDate?: Date | null;
|
|
46
|
+
/**
|
|
47
|
+
* The ISO 3166-1 alpha-2 country code associated with the document.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof OutputFrejaDocument
|
|
50
|
+
*/
|
|
51
|
+
country?: string | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the OutputFrejaDocument interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfOutputFrejaDocument(value: object): value is OutputFrejaDocument {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function OutputFrejaDocumentFromJSON(json: any): OutputFrejaDocument {
|
|
62
|
+
return OutputFrejaDocumentFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function OutputFrejaDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutputFrejaDocument {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
72
|
+
'serialNumber': json['serialNumber'] == null ? undefined : json['serialNumber'],
|
|
73
|
+
'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
|
|
74
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function OutputFrejaDocumentToJSON(json: any): OutputFrejaDocument {
|
|
79
|
+
return OutputFrejaDocumentToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function OutputFrejaDocumentToJSONTyped(value?: OutputFrejaDocument | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'type': value['type'],
|
|
90
|
+
'serialNumber': value['serialNumber'],
|
|
91
|
+
'expirationDate': value['expirationDate'] == null ? undefined : ((value['expirationDate'] as any).toISOString().substring(0,10)),
|
|
92
|
+
'country': value['country'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -26,6 +26,70 @@ export interface PhilippinesDigitalNidProviderOutput {
|
|
|
26
26
|
* @memberof PhilippinesDigitalNidProviderOutput
|
|
27
27
|
*/
|
|
28
28
|
philsysCardNumber: string;
|
|
29
|
+
/**
|
|
30
|
+
* The given (first) name of the individual.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
33
|
+
*/
|
|
34
|
+
givenName?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* The middle name of the individual.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
39
|
+
*/
|
|
40
|
+
middleName?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The family (last) name of the individual.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
45
|
+
*/
|
|
46
|
+
familyName?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* The date of birth of the individual.
|
|
49
|
+
* @type {Date}
|
|
50
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
51
|
+
*/
|
|
52
|
+
dateOfBirth?: Date | null;
|
|
53
|
+
/**
|
|
54
|
+
* The name suffix of the individual (e.g. Jr., III).
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
57
|
+
*/
|
|
58
|
+
suffix?: string | null;
|
|
59
|
+
/**
|
|
60
|
+
* The sex of the individual.
|
|
61
|
+
*
|
|
62
|
+
* Possible values:
|
|
63
|
+
* - Male
|
|
64
|
+
* - Female
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
67
|
+
*/
|
|
68
|
+
sex?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* The place of birth of the individual as recorded on the PhilSys credential.
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
73
|
+
*/
|
|
74
|
+
placeOfBirth?: string | null;
|
|
75
|
+
/**
|
|
76
|
+
* The date the document was issued.
|
|
77
|
+
* @type {Date}
|
|
78
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
79
|
+
*/
|
|
80
|
+
documentIssueDate?: Date | null;
|
|
81
|
+
/**
|
|
82
|
+
* The document number of the digital National ID.
|
|
83
|
+
* @type {string}
|
|
84
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
85
|
+
*/
|
|
86
|
+
documentNumber?: string | null;
|
|
87
|
+
/**
|
|
88
|
+
* The issuing authority of the document.
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
91
|
+
*/
|
|
92
|
+
issuingAuthority?: string | null;
|
|
29
93
|
}
|
|
30
94
|
|
|
31
95
|
/**
|
|
@@ -47,6 +111,16 @@ export function PhilippinesDigitalNidProviderOutputFromJSONTyped(json: any, igno
|
|
|
47
111
|
return {
|
|
48
112
|
|
|
49
113
|
'philsysCardNumber': json['philsysCardNumber'],
|
|
114
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
115
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
116
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
117
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
118
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
119
|
+
'sex': json['sex'] == null ? undefined : json['sex'],
|
|
120
|
+
'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
|
|
121
|
+
'documentIssueDate': json['documentIssueDate'] == null ? undefined : (new Date(json['documentIssueDate'])),
|
|
122
|
+
'documentNumber': json['documentNumber'] == null ? undefined : json['documentNumber'],
|
|
123
|
+
'issuingAuthority': json['issuingAuthority'] == null ? undefined : json['issuingAuthority'],
|
|
50
124
|
};
|
|
51
125
|
}
|
|
52
126
|
|
|
@@ -62,6 +136,16 @@ export function PhilippinesDigitalNidProviderOutputToJSONTyped(value?: Philippin
|
|
|
62
136
|
return {
|
|
63
137
|
|
|
64
138
|
'philsysCardNumber': value['philsysCardNumber'],
|
|
139
|
+
'givenName': value['givenName'],
|
|
140
|
+
'middleName': value['middleName'],
|
|
141
|
+
'familyName': value['familyName'],
|
|
142
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
143
|
+
'suffix': value['suffix'],
|
|
144
|
+
'sex': value['sex'],
|
|
145
|
+
'placeOfBirth': value['placeOfBirth'],
|
|
146
|
+
'documentIssueDate': value['documentIssueDate'] == null ? undefined : ((value['documentIssueDate'] as any).toISOString().substring(0,10)),
|
|
147
|
+
'documentNumber': value['documentNumber'],
|
|
148
|
+
'issuingAuthority': value['issuingAuthority'],
|
|
65
149
|
};
|
|
66
150
|
}
|
|
67
151
|
|
|
@@ -14,7 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
* Exposed properties for the `philippines-physical-national-id-qr` Provider which do not directly map to the
|
|
17
|
+
* Exposed properties for the `philippines-physical-national-id-qr` Provider which do not directly map to the
|
|
18
|
+
* normalized IdentityData model.
|
|
18
19
|
* @export
|
|
19
20
|
* @interface PhilippinesPhysicalNidProviderOutput
|
|
20
21
|
*/
|
|
@@ -26,6 +27,58 @@ export interface PhilippinesPhysicalNidProviderOutput {
|
|
|
26
27
|
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
27
28
|
*/
|
|
28
29
|
philsysCardNumber: string;
|
|
30
|
+
/**
|
|
31
|
+
* The given (first) name of the individual.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
34
|
+
*/
|
|
35
|
+
givenName?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The middle name of the individual.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
40
|
+
*/
|
|
41
|
+
middleName?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The family (last) name of the individual.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
46
|
+
*/
|
|
47
|
+
familyName?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* The date of birth of the individual.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
52
|
+
*/
|
|
53
|
+
dateOfBirth?: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* The name suffix of the individual (e.g. Jr., III).
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
58
|
+
*/
|
|
59
|
+
suffix?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* The sex of the individual.
|
|
62
|
+
*
|
|
63
|
+
* Possible values:
|
|
64
|
+
* - Male
|
|
65
|
+
* - Female
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
68
|
+
*/
|
|
69
|
+
sex?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The place of birth of the individual as recorded on the PhilSys credential.
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
74
|
+
*/
|
|
75
|
+
placeOfBirth?: string | null;
|
|
76
|
+
/**
|
|
77
|
+
* The date the document was issued.
|
|
78
|
+
* @type {Date}
|
|
79
|
+
* @memberof PhilippinesPhysicalNidProviderOutput
|
|
80
|
+
*/
|
|
81
|
+
documentIssueDate?: Date | null;
|
|
29
82
|
}
|
|
30
83
|
|
|
31
84
|
/**
|
|
@@ -47,6 +100,14 @@ export function PhilippinesPhysicalNidProviderOutputFromJSONTyped(json: any, ign
|
|
|
47
100
|
return {
|
|
48
101
|
|
|
49
102
|
'philsysCardNumber': json['philsysCardNumber'],
|
|
103
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
104
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
105
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
106
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
107
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
108
|
+
'sex': json['sex'] == null ? undefined : json['sex'],
|
|
109
|
+
'placeOfBirth': json['placeOfBirth'] == null ? undefined : json['placeOfBirth'],
|
|
110
|
+
'documentIssueDate': json['documentIssueDate'] == null ? undefined : (new Date(json['documentIssueDate'])),
|
|
50
111
|
};
|
|
51
112
|
}
|
|
52
113
|
|
|
@@ -62,6 +123,14 @@ export function PhilippinesPhysicalNidProviderOutputToJSONTyped(value?: Philippi
|
|
|
62
123
|
return {
|
|
63
124
|
|
|
64
125
|
'philsysCardNumber': value['philsysCardNumber'],
|
|
126
|
+
'givenName': value['givenName'],
|
|
127
|
+
'middleName': value['middleName'],
|
|
128
|
+
'familyName': value['familyName'],
|
|
129
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
130
|
+
'suffix': value['suffix'],
|
|
131
|
+
'sex': value['sex'],
|
|
132
|
+
'placeOfBirth': value['placeOfBirth'],
|
|
133
|
+
'documentIssueDate': value['documentIssueDate'] == null ? undefined : ((value['documentIssueDate'] as any).toISOString().substring(0,10)),
|
|
65
134
|
};
|
|
66
135
|
}
|
|
67
136
|
|
|
@@ -153,6 +153,13 @@ import {
|
|
|
153
153
|
IdinInputToJSON,
|
|
154
154
|
IdinInputToJSONTyped,
|
|
155
155
|
} from './IdinInput';
|
|
156
|
+
import type { UkEvisaLookupInput } from './UkEvisaLookupInput';
|
|
157
|
+
import {
|
|
158
|
+
UkEvisaLookupInputFromJSON,
|
|
159
|
+
UkEvisaLookupInputFromJSONTyped,
|
|
160
|
+
UkEvisaLookupInputToJSON,
|
|
161
|
+
UkEvisaLookupInputToJSONTyped,
|
|
162
|
+
} from './UkEvisaLookupInput';
|
|
156
163
|
import type { AppleWalletInput } from './AppleWalletInput';
|
|
157
164
|
import {
|
|
158
165
|
AppleWalletInputFromJSON,
|
|
@@ -202,6 +209,13 @@ import {
|
|
|
202
209
|
NigeriaNinInputToJSON,
|
|
203
210
|
NigeriaNinInputToJSONTyped,
|
|
204
211
|
} from './NigeriaNinInput';
|
|
212
|
+
import type { SamsungWalletInput } from './SamsungWalletInput';
|
|
213
|
+
import {
|
|
214
|
+
SamsungWalletInputFromJSON,
|
|
215
|
+
SamsungWalletInputFromJSONTyped,
|
|
216
|
+
SamsungWalletInputToJSON,
|
|
217
|
+
SamsungWalletInputToJSONTyped,
|
|
218
|
+
} from './SamsungWalletInput';
|
|
205
219
|
import type { SouthAfricaNidMatch2Input } from './SouthAfricaNidMatch2Input';
|
|
206
220
|
import {
|
|
207
221
|
SouthAfricaNidMatch2InputFromJSON,
|
|
@@ -209,6 +223,13 @@ import {
|
|
|
209
223
|
SouthAfricaNidMatch2InputToJSON,
|
|
210
224
|
SouthAfricaNidMatch2InputToJSONTyped,
|
|
211
225
|
} from './SouthAfricaNidMatch2Input';
|
|
226
|
+
import type { FranceIdentiteInput } from './FranceIdentiteInput';
|
|
227
|
+
import {
|
|
228
|
+
FranceIdentiteInputFromJSON,
|
|
229
|
+
FranceIdentiteInputFromJSONTyped,
|
|
230
|
+
FranceIdentiteInputToJSON,
|
|
231
|
+
FranceIdentiteInputToJSONTyped,
|
|
232
|
+
} from './FranceIdentiteInput';
|
|
212
233
|
import type { GoogleWalletInput } from './GoogleWalletInput';
|
|
213
234
|
import {
|
|
214
235
|
GoogleWalletInputFromJSON,
|
|
@@ -424,12 +445,30 @@ export interface ProviderInput {
|
|
|
424
445
|
* @memberof ProviderInput
|
|
425
446
|
*/
|
|
426
447
|
appleWallet?: AppleWalletInput | null;
|
|
448
|
+
/**
|
|
449
|
+
* Input for the `samsung-wallet` provider
|
|
450
|
+
* @type {SamsungWalletInput}
|
|
451
|
+
* @memberof ProviderInput
|
|
452
|
+
*/
|
|
453
|
+
samsungWallet?: SamsungWalletInput | null;
|
|
454
|
+
/**
|
|
455
|
+
* Input for the `france-identite` provider
|
|
456
|
+
* @type {FranceIdentiteInput}
|
|
457
|
+
* @memberof ProviderInput
|
|
458
|
+
*/
|
|
459
|
+
franceIdentite?: FranceIdentiteInput | null;
|
|
427
460
|
/**
|
|
428
461
|
* Input for the `peru-dni-lookup` provider
|
|
429
462
|
* @type {PeruDniLookupInput}
|
|
430
463
|
* @memberof ProviderInput
|
|
431
464
|
*/
|
|
432
465
|
peruDniLookup?: PeruDniLookupInput | null;
|
|
466
|
+
/**
|
|
467
|
+
* Input for the `uk-evisa-lookup` provider
|
|
468
|
+
* @type {UkEvisaLookupInput}
|
|
469
|
+
* @memberof ProviderInput
|
|
470
|
+
*/
|
|
471
|
+
ukEvisaLookup?: UkEvisaLookupInput | null;
|
|
433
472
|
/**
|
|
434
473
|
* *TEST MODE ONLY.*
|
|
435
474
|
*
|
|
@@ -495,7 +534,10 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
495
534
|
'italySpid': json['italy-spid'] == null ? undefined : SpidInputFromJSON(json['italy-spid']),
|
|
496
535
|
'googleWallet': json['google-wallet'] == null ? undefined : GoogleWalletInputFromJSON(json['google-wallet']),
|
|
497
536
|
'appleWallet': json['apple-wallet'] == null ? undefined : AppleWalletInputFromJSON(json['apple-wallet']),
|
|
537
|
+
'samsungWallet': json['samsung-wallet'] == null ? undefined : SamsungWalletInputFromJSON(json['samsung-wallet']),
|
|
538
|
+
'franceIdentite': json['france-identite'] == null ? undefined : FranceIdentiteInputFromJSON(json['france-identite']),
|
|
498
539
|
'peruDniLookup': json['peru-dni-lookup'] == null ? undefined : PeruDniLookupInputFromJSON(json['peru-dni-lookup']),
|
|
540
|
+
'ukEvisaLookup': json['uk-evisa-lookup'] == null ? undefined : UkEvisaLookupInputFromJSON(json['uk-evisa-lookup']),
|
|
499
541
|
'trinsicTestDatabaseLookup': json['trinsic-test-database-lookup'] == null ? undefined : TrinsicTestDatabaseLookupInputFromJSON(json['trinsic-test-database-lookup']),
|
|
500
542
|
'trinsicTestSubProviders': json['trinsic-test-sub-providers'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsic-test-sub-providers']),
|
|
501
543
|
};
|
|
@@ -542,7 +584,10 @@ export function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDis
|
|
|
542
584
|
'italy-spid': SpidInputToJSON(value['italySpid']),
|
|
543
585
|
'google-wallet': GoogleWalletInputToJSON(value['googleWallet']),
|
|
544
586
|
'apple-wallet': AppleWalletInputToJSON(value['appleWallet']),
|
|
587
|
+
'samsung-wallet': SamsungWalletInputToJSON(value['samsungWallet']),
|
|
588
|
+
'france-identite': FranceIdentiteInputToJSON(value['franceIdentite']),
|
|
545
589
|
'peru-dni-lookup': PeruDniLookupInputToJSON(value['peruDniLookup']),
|
|
590
|
+
'uk-evisa-lookup': UkEvisaLookupInputToJSON(value['ukEvisaLookup']),
|
|
546
591
|
'trinsic-test-database-lookup': TrinsicTestDatabaseLookupInputToJSON(value['trinsicTestDatabaseLookup']),
|
|
547
592
|
'trinsic-test-sub-providers': TrinsicTestSubProvidersInputToJSON(value['trinsicTestSubProviders']),
|
|
548
593
|
};
|