@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,64 @@
|
|
|
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 { ConnectIdBeneficiaryAccountFromJSON, ConnectIdBeneficiaryAccountToJSON, } from './ConnectIdBeneficiaryAccount';
|
|
15
|
+
import { ConnectIdAgeVerificationFromJSON, ConnectIdAgeVerificationToJSON, } from './ConnectIdAgeVerification';
|
|
16
|
+
import { ConnectIdAddressFromJSON, ConnectIdAddressToJSON, } from './ConnectIdAddress';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ConnectIdProviderOutput interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfConnectIdProviderOutput(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ConnectIdProviderOutputFromJSON(json) {
|
|
24
|
+
return ConnectIdProviderOutputFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ConnectIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'birthdate': json['birthdate'] == null ? undefined : (new Date(json['birthdate'])),
|
|
32
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
33
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
34
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
35
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
36
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
37
|
+
'sub': json['sub'] == null ? undefined : json['sub'],
|
|
38
|
+
'ageVerification': json['ageVerification'] == null ? undefined : ConnectIdAgeVerificationFromJSON(json['ageVerification']),
|
|
39
|
+
'transaction': json['transaction'] == null ? undefined : json['transaction'],
|
|
40
|
+
'beneficiaryAccount': json['beneficiaryAccount'] == null ? undefined : ConnectIdBeneficiaryAccountFromJSON(json['beneficiaryAccount']),
|
|
41
|
+
'address': json['address'] == null ? undefined : ConnectIdAddressFromJSON(json['address']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function ConnectIdProviderOutputToJSON(json) {
|
|
45
|
+
return ConnectIdProviderOutputToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function ConnectIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'birthdate': value['birthdate'] == null ? undefined : (value['birthdate'].toISOString().substring(0, 10)),
|
|
53
|
+
'givenName': value['givenName'],
|
|
54
|
+
'middleName': value['middleName'],
|
|
55
|
+
'familyName': value['familyName'],
|
|
56
|
+
'phoneNumber': value['phoneNumber'],
|
|
57
|
+
'email': value['email'],
|
|
58
|
+
'sub': value['sub'],
|
|
59
|
+
'ageVerification': ConnectIdAgeVerificationToJSON(value['ageVerification']),
|
|
60
|
+
'transaction': value['transaction'],
|
|
61
|
+
'beneficiaryAccount': ConnectIdBeneficiaryAccountToJSON(value['beneficiaryAccount']),
|
|
62
|
+
'address': ConnectIdAddressToJSON(value['address']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
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 CzechMojeIdAddressOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface CzechMojeIdAddressOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The street address line, including house number.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CzechMojeIdAddressOutput
|
|
22
|
+
*/
|
|
23
|
+
streetAddress?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The city or locality.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CzechMojeIdAddressOutput
|
|
28
|
+
*/
|
|
29
|
+
city?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The region or state.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CzechMojeIdAddressOutput
|
|
34
|
+
*/
|
|
35
|
+
region?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The postal code.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CzechMojeIdAddressOutput
|
|
40
|
+
*/
|
|
41
|
+
postalCode?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The ISO 3166-1 alpha-2 country code.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CzechMojeIdAddressOutput
|
|
46
|
+
*/
|
|
47
|
+
country?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* The full address as a formatted string, with components separated by newlines.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CzechMojeIdAddressOutput
|
|
52
|
+
*/
|
|
53
|
+
formattedAddress?: string | null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the CzechMojeIdAddressOutput interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfCzechMojeIdAddressOutput(value: object): value is CzechMojeIdAddressOutput;
|
|
59
|
+
export declare function CzechMojeIdAddressOutputFromJSON(json: any): CzechMojeIdAddressOutput;
|
|
60
|
+
export declare function CzechMojeIdAddressOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CzechMojeIdAddressOutput;
|
|
61
|
+
export declare function CzechMojeIdAddressOutputToJSON(json: any): CzechMojeIdAddressOutput;
|
|
62
|
+
export declare function CzechMojeIdAddressOutputToJSONTyped(value?: CzechMojeIdAddressOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the CzechMojeIdAddressOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCzechMojeIdAddressOutput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function CzechMojeIdAddressOutputFromJSON(json) {
|
|
21
|
+
return CzechMojeIdAddressOutputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function CzechMojeIdAddressOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'streetAddress': json['streetAddress'] == null ? undefined : json['streetAddress'],
|
|
29
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
30
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
31
|
+
'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
|
|
32
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
33
|
+
'formattedAddress': json['formattedAddress'] == null ? undefined : json['formattedAddress'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function CzechMojeIdAddressOutputToJSON(json) {
|
|
37
|
+
return CzechMojeIdAddressOutputToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function CzechMojeIdAddressOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'streetAddress': value['streetAddress'],
|
|
45
|
+
'city': value['city'],
|
|
46
|
+
'region': value['region'],
|
|
47
|
+
'postalCode': value['postalCode'],
|
|
48
|
+
'country': value['country'],
|
|
49
|
+
'formattedAddress': value['formattedAddress'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
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 { CzechMojeIdAddressOutput } from './CzechMojeIdAddressOutput';
|
|
13
|
+
/**
|
|
14
|
+
* Exposed properties for the `czech-moje-id` Provider which do not directly map to the normalized IdentityData model.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CzechMojeIdProviderOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface CzechMojeIdProviderOutput {
|
|
19
|
+
/**
|
|
20
|
+
* The subject identifier (sub) of the verified individual's MojeID account.
|
|
21
|
+
*
|
|
22
|
+
* This is a unique identifier that represents the user within the MojeID system.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CzechMojeIdProviderOutput
|
|
25
|
+
*/
|
|
26
|
+
subjectIdentifier?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* The individual's full name.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof CzechMojeIdProviderOutput
|
|
31
|
+
*/
|
|
32
|
+
name?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* The individual's given (first) name.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof CzechMojeIdProviderOutput
|
|
37
|
+
*/
|
|
38
|
+
givenName?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* The individual's family (last) name.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof CzechMojeIdProviderOutput
|
|
43
|
+
*/
|
|
44
|
+
familyName?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* The individual's nickname.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof CzechMojeIdProviderOutput
|
|
49
|
+
*/
|
|
50
|
+
nickname?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* The individual's email address.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof CzechMojeIdProviderOutput
|
|
55
|
+
*/
|
|
56
|
+
email?: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Whether the individual's email address has been verified by MojeID.
|
|
59
|
+
* (Verification email and link clicked)
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof CzechMojeIdProviderOutput
|
|
62
|
+
*/
|
|
63
|
+
emailVerified?: boolean | null;
|
|
64
|
+
/**
|
|
65
|
+
* The individual's phone number.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof CzechMojeIdProviderOutput
|
|
68
|
+
*/
|
|
69
|
+
phoneNumber?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* An individual's phone number has been verified by MojeID.
|
|
72
|
+
* (SMS verification)
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof CzechMojeIdProviderOutput
|
|
75
|
+
*/
|
|
76
|
+
phoneNumberVerified?: boolean | null;
|
|
77
|
+
/**
|
|
78
|
+
* The individual's date of birth.
|
|
79
|
+
*
|
|
80
|
+
* Formatted as an ISO 8601 Date.
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof CzechMojeIdProviderOutput
|
|
83
|
+
*/
|
|
84
|
+
dateOfBirth?: Date | null;
|
|
85
|
+
/**
|
|
86
|
+
* The individual's gender as reported by MojeID.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof CzechMojeIdProviderOutput
|
|
89
|
+
*/
|
|
90
|
+
gender?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* The individual's Czech ID card number.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof CzechMojeIdProviderOutput
|
|
95
|
+
*/
|
|
96
|
+
idCardNumber?: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* The individual's Czech passport number.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof CzechMojeIdProviderOutput
|
|
101
|
+
*/
|
|
102
|
+
passportNumber?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* The individual's Ministry of Labour and Social Affairs identifier (Czech social security equivalent).
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof CzechMojeIdProviderOutput
|
|
107
|
+
*/
|
|
108
|
+
socialSecurityNumber?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* The individual is an adult (18 years or older).
|
|
111
|
+
* @type {boolean}
|
|
112
|
+
* @memberof CzechMojeIdProviderOutput
|
|
113
|
+
*/
|
|
114
|
+
isAdult?: boolean | null;
|
|
115
|
+
/**
|
|
116
|
+
* The MojeID account has been validated.
|
|
117
|
+
*
|
|
118
|
+
* A validated account indicates the individual's identity has been verified
|
|
119
|
+
* to a higher level of assurance within the MojeID system.
|
|
120
|
+
* @type {boolean}
|
|
121
|
+
* @memberof CzechMojeIdProviderOutput
|
|
122
|
+
*/
|
|
123
|
+
accountValidated?: boolean | null;
|
|
124
|
+
/**
|
|
125
|
+
* The individual's or organization's Czech Registration ID (ICO), the Czech company registration number.
|
|
126
|
+
* @type {string}
|
|
127
|
+
* @memberof CzechMojeIdProviderOutput
|
|
128
|
+
*/
|
|
129
|
+
companyRegistrationNumber?: string | null;
|
|
130
|
+
/**
|
|
131
|
+
* The individual's or organization's Danove Identifikacni Cislo (DIC), the Czech tax identification number.
|
|
132
|
+
* @type {string}
|
|
133
|
+
* @memberof CzechMojeIdProviderOutput
|
|
134
|
+
*/
|
|
135
|
+
taxIdentificationNumber?: string | null;
|
|
136
|
+
/**
|
|
137
|
+
* The individual's identity has been verified through the Czech National Identity Authority (NIA).
|
|
138
|
+
*
|
|
139
|
+
* NIA verification indicates a higher level of identity assurance, typically involving government-issued
|
|
140
|
+
* credentials verified through the Czech eGovernment infrastructure.
|
|
141
|
+
* @type {boolean}
|
|
142
|
+
* @memberof CzechMojeIdProviderOutput
|
|
143
|
+
*/
|
|
144
|
+
niaVerified?: boolean | null;
|
|
145
|
+
/**
|
|
146
|
+
* Unique login transaction identifier
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof CzechMojeIdProviderOutput
|
|
149
|
+
*/
|
|
150
|
+
transactionId?: string | null;
|
|
151
|
+
/**
|
|
152
|
+
* The individual's home (default) address, from the `mojeid_address_def` claim.
|
|
153
|
+
* @type {CzechMojeIdAddressOutput}
|
|
154
|
+
* @memberof CzechMojeIdProviderOutput
|
|
155
|
+
*/
|
|
156
|
+
homeAddress?: CzechMojeIdAddressOutput | null;
|
|
157
|
+
/**
|
|
158
|
+
* The individual's billing address, from the `mojeid_address_bill` claim.
|
|
159
|
+
* @type {CzechMojeIdAddressOutput}
|
|
160
|
+
* @memberof CzechMojeIdProviderOutput
|
|
161
|
+
*/
|
|
162
|
+
billingAddress?: CzechMojeIdAddressOutput | null;
|
|
163
|
+
/**
|
|
164
|
+
* The individual's shipping address, from the `mojeid_address_ship` claim.
|
|
165
|
+
* @type {CzechMojeIdAddressOutput}
|
|
166
|
+
* @memberof CzechMojeIdProviderOutput
|
|
167
|
+
*/
|
|
168
|
+
shippingAddress?: CzechMojeIdAddressOutput | null;
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Check if a given object implements the CzechMojeIdProviderOutput interface.
|
|
172
|
+
*/
|
|
173
|
+
export declare function instanceOfCzechMojeIdProviderOutput(value: object): value is CzechMojeIdProviderOutput;
|
|
174
|
+
export declare function CzechMojeIdProviderOutputFromJSON(json: any): CzechMojeIdProviderOutput;
|
|
175
|
+
export declare function CzechMojeIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): CzechMojeIdProviderOutput;
|
|
176
|
+
export declare function CzechMojeIdProviderOutputToJSON(json: any): CzechMojeIdProviderOutput;
|
|
177
|
+
export declare function CzechMojeIdProviderOutputToJSONTyped(value?: CzechMojeIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { CzechMojeIdAddressOutputFromJSON, CzechMojeIdAddressOutputToJSON, } from './CzechMojeIdAddressOutput';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CzechMojeIdProviderOutput interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCzechMojeIdProviderOutput(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function CzechMojeIdProviderOutputFromJSON(json) {
|
|
22
|
+
return CzechMojeIdProviderOutputFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function CzechMojeIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'subjectIdentifier': json['subjectIdentifier'] == null ? undefined : json['subjectIdentifier'],
|
|
30
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
31
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
32
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
33
|
+
'nickname': json['nickname'] == null ? undefined : json['nickname'],
|
|
34
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
35
|
+
'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
|
|
36
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
37
|
+
'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
|
|
38
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
39
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
40
|
+
'idCardNumber': json['idCardNumber'] == null ? undefined : json['idCardNumber'],
|
|
41
|
+
'passportNumber': json['passportNumber'] == null ? undefined : json['passportNumber'],
|
|
42
|
+
'socialSecurityNumber': json['socialSecurityNumber'] == null ? undefined : json['socialSecurityNumber'],
|
|
43
|
+
'isAdult': json['isAdult'] == null ? undefined : json['isAdult'],
|
|
44
|
+
'accountValidated': json['accountValidated'] == null ? undefined : json['accountValidated'],
|
|
45
|
+
'companyRegistrationNumber': json['companyRegistrationNumber'] == null ? undefined : json['companyRegistrationNumber'],
|
|
46
|
+
'taxIdentificationNumber': json['taxIdentificationNumber'] == null ? undefined : json['taxIdentificationNumber'],
|
|
47
|
+
'niaVerified': json['niaVerified'] == null ? undefined : json['niaVerified'],
|
|
48
|
+
'transactionId': json['transactionId'] == null ? undefined : json['transactionId'],
|
|
49
|
+
'homeAddress': json['homeAddress'] == null ? undefined : CzechMojeIdAddressOutputFromJSON(json['homeAddress']),
|
|
50
|
+
'billingAddress': json['billingAddress'] == null ? undefined : CzechMojeIdAddressOutputFromJSON(json['billingAddress']),
|
|
51
|
+
'shippingAddress': json['shippingAddress'] == null ? undefined : CzechMojeIdAddressOutputFromJSON(json['shippingAddress']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function CzechMojeIdProviderOutputToJSON(json) {
|
|
55
|
+
return CzechMojeIdProviderOutputToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function CzechMojeIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
'subjectIdentifier': value['subjectIdentifier'],
|
|
63
|
+
'name': value['name'],
|
|
64
|
+
'givenName': value['givenName'],
|
|
65
|
+
'familyName': value['familyName'],
|
|
66
|
+
'nickname': value['nickname'],
|
|
67
|
+
'email': value['email'],
|
|
68
|
+
'emailVerified': value['emailVerified'],
|
|
69
|
+
'phoneNumber': value['phoneNumber'],
|
|
70
|
+
'phoneNumberVerified': value['phoneNumberVerified'],
|
|
71
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
72
|
+
'gender': value['gender'],
|
|
73
|
+
'idCardNumber': value['idCardNumber'],
|
|
74
|
+
'passportNumber': value['passportNumber'],
|
|
75
|
+
'socialSecurityNumber': value['socialSecurityNumber'],
|
|
76
|
+
'isAdult': value['isAdult'],
|
|
77
|
+
'accountValidated': value['accountValidated'],
|
|
78
|
+
'companyRegistrationNumber': value['companyRegistrationNumber'],
|
|
79
|
+
'taxIdentificationNumber': value['taxIdentificationNumber'],
|
|
80
|
+
'niaVerified': value['niaVerified'],
|
|
81
|
+
'transactionId': value['transactionId'],
|
|
82
|
+
'homeAddress': CzechMojeIdAddressOutputToJSON(value['homeAddress']),
|
|
83
|
+
'billingAddress': CzechMojeIdAddressOutputToJSON(value['billingAddress']),
|
|
84
|
+
'shippingAddress': CzechMojeIdAddressOutputToJSON(value['shippingAddress']),
|
|
85
|
+
};
|
|
86
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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 { AadhaarLocalizedClaims } from './AadhaarLocalizedClaims';
|
|
13
|
+
import type { AadhaarClaims } from './AadhaarClaims';
|
|
14
|
+
/**
|
|
15
|
+
* Exposed properties for the `india-digilocker-aadhaar` Provider which do not directly map to the normalized IdentityData model.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface DigilockerAadhaarProviderOutput
|
|
18
|
+
*/
|
|
19
|
+
export interface DigilockerAadhaarProviderOutput {
|
|
20
|
+
/**
|
|
21
|
+
* The document type from which the identity data was retrieved from.
|
|
22
|
+
*
|
|
23
|
+
* Possible values:
|
|
24
|
+
* - ADHAR
|
|
25
|
+
* - PANCR
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof DigilockerAadhaarProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
documentType?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* Whether the downloaded Aadhaar document signature and certificate chain validation succeeded.
|
|
32
|
+
*
|
|
33
|
+
* In some cases, the document may not be returned, but the data is. When the document is received, a certificate validation is performed. When it is not, the signature can not be validated.
|
|
34
|
+
* @type {boolean}
|
|
35
|
+
* @memberof DigilockerAadhaarProviderOutput
|
|
36
|
+
*/
|
|
37
|
+
documentSignatureValidated: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* The timestamp when the signed document was generated and verified.
|
|
40
|
+
*
|
|
41
|
+
* This is parsed as a date-time value. Aadhaar may omit timezone information.
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof DigilockerAadhaarProviderOutput
|
|
44
|
+
*/
|
|
45
|
+
timestamp?: Date | null;
|
|
46
|
+
/**
|
|
47
|
+
* The validity expiration timestamp for the verification document.
|
|
48
|
+
*
|
|
49
|
+
* This is parsed as a date-time value. Aadhaar may omit timezone information.
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof DigilockerAadhaarProviderOutput
|
|
52
|
+
*/
|
|
53
|
+
timeToLive?: Date | null;
|
|
54
|
+
/**
|
|
55
|
+
* The Aadhaar number (UID) value for the individual.
|
|
56
|
+
*
|
|
57
|
+
* This is only the last four digits of the Aadhaar number.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof DigilockerAadhaarProviderOutput
|
|
60
|
+
*/
|
|
61
|
+
aadhaarNumberLastFour?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The claims extracted from the signed Aadhaar document.
|
|
64
|
+
* @type {AadhaarClaims}
|
|
65
|
+
* @memberof DigilockerAadhaarProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
claims?: AadhaarClaims | null;
|
|
68
|
+
/**
|
|
69
|
+
* The localized claims extracted from the signed Aadhaar document.
|
|
70
|
+
* @type {AadhaarLocalizedClaims}
|
|
71
|
+
* @memberof DigilockerAadhaarProviderOutput
|
|
72
|
+
*/
|
|
73
|
+
localizedClaims?: AadhaarLocalizedClaims | null;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the DigilockerAadhaarProviderOutput interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfDigilockerAadhaarProviderOutput(value: object): value is DigilockerAadhaarProviderOutput;
|
|
79
|
+
export declare function DigilockerAadhaarProviderOutputFromJSON(json: any): DigilockerAadhaarProviderOutput;
|
|
80
|
+
export declare function DigilockerAadhaarProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DigilockerAadhaarProviderOutput;
|
|
81
|
+
export declare function DigilockerAadhaarProviderOutputToJSON(json: any): DigilockerAadhaarProviderOutput;
|
|
82
|
+
export declare function DigilockerAadhaarProviderOutputToJSONTyped(value?: DigilockerAadhaarProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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 { AadhaarLocalizedClaimsFromJSON, AadhaarLocalizedClaimsToJSON, } from './AadhaarLocalizedClaims';
|
|
15
|
+
import { AadhaarClaimsFromJSON, AadhaarClaimsToJSON, } from './AadhaarClaims';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the DigilockerAadhaarProviderOutput interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfDigilockerAadhaarProviderOutput(value) {
|
|
20
|
+
if (!('documentSignatureValidated' in value) || value['documentSignatureValidated'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function DigilockerAadhaarProviderOutputFromJSON(json) {
|
|
25
|
+
return DigilockerAadhaarProviderOutputFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function DigilockerAadhaarProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'documentType': json['documentType'] == null ? undefined : json['documentType'],
|
|
33
|
+
'documentSignatureValidated': json['documentSignatureValidated'],
|
|
34
|
+
'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
|
|
35
|
+
'timeToLive': json['timeToLive'] == null ? undefined : (new Date(json['timeToLive'])),
|
|
36
|
+
'aadhaarNumberLastFour': json['aadhaarNumberLastFour'] == null ? undefined : json['aadhaarNumberLastFour'],
|
|
37
|
+
'claims': json['claims'] == null ? undefined : AadhaarClaimsFromJSON(json['claims']),
|
|
38
|
+
'localizedClaims': json['localizedClaims'] == null ? undefined : AadhaarLocalizedClaimsFromJSON(json['localizedClaims']),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function DigilockerAadhaarProviderOutputToJSON(json) {
|
|
42
|
+
return DigilockerAadhaarProviderOutputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function DigilockerAadhaarProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'documentType': value['documentType'],
|
|
50
|
+
'documentSignatureValidated': value['documentSignatureValidated'],
|
|
51
|
+
'timestamp': value['timestamp'] == null ? undefined : (value['timestamp'].toISOString()),
|
|
52
|
+
'timeToLive': value['timeToLive'] == null ? undefined : (value['timeToLive'].toISOString()),
|
|
53
|
+
'aadhaarNumberLastFour': value['aadhaarNumberLastFour'],
|
|
54
|
+
'claims': AadhaarClaimsToJSON(value['claims']),
|
|
55
|
+
'localizedClaims': AadhaarLocalizedClaimsToJSON(value['localizedClaims']),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -24,6 +24,26 @@ export interface FaydaProviderOutput {
|
|
|
24
24
|
* @memberof FaydaProviderOutput
|
|
25
25
|
*/
|
|
26
26
|
sub?: string | null;
|
|
27
|
+
/**
|
|
28
|
+
* The full name of the verified individual.
|
|
29
|
+
*
|
|
30
|
+
* This may be an English or Arabic name if the individual only has it one language, otherwise this will be null and the other names will be populated.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FaydaProviderOutput
|
|
33
|
+
*/
|
|
34
|
+
name?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* The full English name of the verified individual.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof FaydaProviderOutput
|
|
39
|
+
*/
|
|
40
|
+
englishName?: string | null;
|
|
41
|
+
/**
|
|
42
|
+
* The full Arabic name of the verified individual.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof FaydaProviderOutput
|
|
45
|
+
*/
|
|
46
|
+
arabicName?: string | null;
|
|
27
47
|
}
|
|
28
48
|
/**
|
|
29
49
|
* Check if a given object implements the FaydaProviderOutput interface.
|
|
@@ -26,6 +26,9 @@ export function FaydaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
26
|
}
|
|
27
27
|
return {
|
|
28
28
|
'sub': json['sub'] == null ? undefined : json['sub'],
|
|
29
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
30
|
+
'englishName': json['englishName'] == null ? undefined : json['englishName'],
|
|
31
|
+
'arabicName': json['arabicName'] == null ? undefined : json['arabicName'],
|
|
29
32
|
};
|
|
30
33
|
}
|
|
31
34
|
export function FaydaProviderOutputToJSON(json) {
|
|
@@ -37,5 +40,8 @@ export function FaydaProviderOutputToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
37
40
|
}
|
|
38
41
|
return {
|
|
39
42
|
'sub': value['sub'],
|
|
43
|
+
'name': value['name'],
|
|
44
|
+
'englishName': value['englishName'],
|
|
45
|
+
'arabicName': value['arabicName'],
|
|
40
46
|
};
|
|
41
47
|
}
|