@trinsic/api 3.0.1 → 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 +27 -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/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 +82 -3
- package/dist/esm/models/ProviderOutput.js +35 -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 +27 -0
- package/dist/esm/models/index.js +27 -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/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 +82 -3
- package/dist/models/ProviderOutput.js +35 -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 +27 -0
- package/dist/models/index.js +27 -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/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 +172 -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 +27 -0
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
* Exposed properties for the `norway-bankid` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface NorwegianBankIdProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface NorwegianBankIdProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The full name of the individual.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
fullName?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The date of birth of the individual.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
dateOfBirth?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The personal identifier for Norwegian BankID.
|
|
32
|
+
*
|
|
33
|
+
* This uniquely identifies the user in the Norwegian BankID system and is considered a stable identifier to use.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
36
|
+
*/
|
|
37
|
+
personalIdentifier?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The 11-digit Norwegian National Identity Number (fødselsnummer) of the verified individual.
|
|
40
|
+
*
|
|
41
|
+
* This is in the format DDMMYYZZZCC, where:
|
|
42
|
+
* - DDMMYY is the date of birth (In some cases, this is not the date of birth due to no available identity numbers for some dates
|
|
43
|
+
* - ZZZ is an individual number, indicating gender
|
|
44
|
+
* - CC is a checksum character
|
|
45
|
+
*
|
|
46
|
+
* If ZZZ is even, the individual is female.
|
|
47
|
+
* If ZZZ is odd, the individual is male.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
50
|
+
*/
|
|
51
|
+
nationalIdentityNumber?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The given name of the individual.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
56
|
+
*/
|
|
57
|
+
givenName?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The family name of the individual.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
62
|
+
*/
|
|
63
|
+
familyName?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* The level of assurance (LOA) for the verification.
|
|
66
|
+
*
|
|
67
|
+
* The LOA refers to the degree of confidence in the claimed identity of a person.
|
|
68
|
+
* The European Digital Identity Framework (EUDI) measures the confidence of the digital identity's verification and authentication strength by a set of requirements for different levels.
|
|
69
|
+
* To learn more, see: https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467110081/eIDAS+Levels+of+Assurance
|
|
70
|
+
*
|
|
71
|
+
* Possible values:
|
|
72
|
+
* - Low: The user has self asserted their identity and multifactor authentication is not required.
|
|
73
|
+
* - Substantial: The user has performed either a remote or in-person identity verification and multifactor authentication is required.
|
|
74
|
+
* - High: The user has performed an in-person identity proofing with an authorized representative and has strong cryptographic authentication requirements such as using a smart card.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
77
|
+
*/
|
|
78
|
+
levelOfAssurance?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* The authentication method used by the individual.
|
|
81
|
+
*
|
|
82
|
+
* Possible values:
|
|
83
|
+
* - urn:bankid:bis - BankID with Biometrics
|
|
84
|
+
* - urn:bankid:bid - Standard BankID with High Assurance
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
87
|
+
*/
|
|
88
|
+
authenticationMethod?: string | null;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Check if a given object implements the NorwegianBankIdProviderOutput interface.
|
|
92
|
+
*/
|
|
93
|
+
export declare function instanceOfNorwegianBankIdProviderOutput(value: object): value is NorwegianBankIdProviderOutput;
|
|
94
|
+
export declare function NorwegianBankIdProviderOutputFromJSON(json: any): NorwegianBankIdProviderOutput;
|
|
95
|
+
export declare function NorwegianBankIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NorwegianBankIdProviderOutput;
|
|
96
|
+
export declare function NorwegianBankIdProviderOutputToJSON(json: any): NorwegianBankIdProviderOutput;
|
|
97
|
+
export declare function NorwegianBankIdProviderOutputToJSONTyped(value?: NorwegianBankIdProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,62 @@
|
|
|
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.instanceOfNorwegianBankIdProviderOutput = instanceOfNorwegianBankIdProviderOutput;
|
|
17
|
+
exports.NorwegianBankIdProviderOutputFromJSON = NorwegianBankIdProviderOutputFromJSON;
|
|
18
|
+
exports.NorwegianBankIdProviderOutputFromJSONTyped = NorwegianBankIdProviderOutputFromJSONTyped;
|
|
19
|
+
exports.NorwegianBankIdProviderOutputToJSON = NorwegianBankIdProviderOutputToJSON;
|
|
20
|
+
exports.NorwegianBankIdProviderOutputToJSONTyped = NorwegianBankIdProviderOutputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the NorwegianBankIdProviderOutput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfNorwegianBankIdProviderOutput(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function NorwegianBankIdProviderOutputFromJSON(json) {
|
|
28
|
+
return NorwegianBankIdProviderOutputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function NorwegianBankIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
36
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
37
|
+
'personalIdentifier': json['personalIdentifier'] == null ? undefined : json['personalIdentifier'],
|
|
38
|
+
'nationalIdentityNumber': json['nationalIdentityNumber'] == null ? undefined : json['nationalIdentityNumber'],
|
|
39
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
40
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
41
|
+
'levelOfAssurance': json['levelOfAssurance'] == null ? undefined : json['levelOfAssurance'],
|
|
42
|
+
'authenticationMethod': json['authenticationMethod'] == null ? undefined : json['authenticationMethod'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function NorwegianBankIdProviderOutputToJSON(json) {
|
|
46
|
+
return NorwegianBankIdProviderOutputToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function NorwegianBankIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'fullName': value['fullName'],
|
|
54
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
55
|
+
'personalIdentifier': value['personalIdentifier'],
|
|
56
|
+
'nationalIdentityNumber': value['nationalIdentityNumber'],
|
|
57
|
+
'givenName': value['givenName'],
|
|
58
|
+
'familyName': value['familyName'],
|
|
59
|
+
'levelOfAssurance': value['levelOfAssurance'],
|
|
60
|
+
'authenticationMethod': value['authenticationMethod'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 OneIdProviderAddress
|
|
16
|
+
*/
|
|
17
|
+
export interface OneIdProviderAddress {
|
|
18
|
+
/**
|
|
19
|
+
* The line or street portion of the address.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OneIdProviderAddress
|
|
22
|
+
*/
|
|
23
|
+
streetAddress?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The locality or city portion of the address.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OneIdProviderAddress
|
|
28
|
+
*/
|
|
29
|
+
locality?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The region or subdivision portion of the address.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OneIdProviderAddress
|
|
34
|
+
*/
|
|
35
|
+
region?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The postal code of the address.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OneIdProviderAddress
|
|
40
|
+
*/
|
|
41
|
+
postalCode?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The alpha-2 country code of the address.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OneIdProviderAddress
|
|
46
|
+
*/
|
|
47
|
+
countryCode?: string | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OneIdProviderAddress interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfOneIdProviderAddress(value: object): value is OneIdProviderAddress;
|
|
53
|
+
export declare function OneIdProviderAddressFromJSON(json: any): OneIdProviderAddress;
|
|
54
|
+
export declare function OneIdProviderAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): OneIdProviderAddress;
|
|
55
|
+
export declare function OneIdProviderAddressToJSON(json: any): OneIdProviderAddress;
|
|
56
|
+
export declare function OneIdProviderAddressToJSONTyped(value?: OneIdProviderAddress | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfOneIdProviderAddress = instanceOfOneIdProviderAddress;
|
|
17
|
+
exports.OneIdProviderAddressFromJSON = OneIdProviderAddressFromJSON;
|
|
18
|
+
exports.OneIdProviderAddressFromJSONTyped = OneIdProviderAddressFromJSONTyped;
|
|
19
|
+
exports.OneIdProviderAddressToJSON = OneIdProviderAddressToJSON;
|
|
20
|
+
exports.OneIdProviderAddressToJSONTyped = OneIdProviderAddressToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OneIdProviderAddress interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOneIdProviderAddress(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function OneIdProviderAddressFromJSON(json) {
|
|
28
|
+
return OneIdProviderAddressFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function OneIdProviderAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'streetAddress': json['streetAddress'] == null ? undefined : json['streetAddress'],
|
|
36
|
+
'locality': json['locality'] == null ? undefined : json['locality'],
|
|
37
|
+
'region': json['region'] == null ? undefined : json['region'],
|
|
38
|
+
'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
|
|
39
|
+
'countryCode': json['countryCode'] == null ? undefined : json['countryCode'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function OneIdProviderAddressToJSON(json) {
|
|
43
|
+
return OneIdProviderAddressToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function OneIdProviderAddressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'streetAddress': value['streetAddress'],
|
|
51
|
+
'locality': value['locality'],
|
|
52
|
+
'region': value['region'],
|
|
53
|
+
'postalCode': value['postalCode'],
|
|
54
|
+
'countryCode': value['countryCode'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -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 { OneIdProviderAddress } from './OneIdProviderAddress';
|
|
13
|
+
/**
|
|
14
|
+
* Exposed properties for the `oneid` Provider which do not directly map to the normalized IdentityData model.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OneIdProviderOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface OneIdProviderOutput {
|
|
19
|
+
/**
|
|
20
|
+
* The OpenID Connect (OIDC) subject identifier (sub).
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof OneIdProviderOutput
|
|
23
|
+
*/
|
|
24
|
+
sub?: string | null;
|
|
25
|
+
/**
|
|
26
|
+
* The individual's full name.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof OneIdProviderOutput
|
|
29
|
+
*/
|
|
30
|
+
fullName?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The individual's given name.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof OneIdProviderOutput
|
|
35
|
+
*/
|
|
36
|
+
givenName?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The individual's family name.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof OneIdProviderOutput
|
|
41
|
+
*/
|
|
42
|
+
familyName?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The date of birth of the individual.
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof OneIdProviderOutput
|
|
47
|
+
*/
|
|
48
|
+
birthdate?: Date | null;
|
|
49
|
+
/**
|
|
50
|
+
* The address of the individual.
|
|
51
|
+
* @type {OneIdProviderAddress}
|
|
52
|
+
* @memberof OneIdProviderOutput
|
|
53
|
+
*/
|
|
54
|
+
address?: OneIdProviderAddress | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the OneIdProviderOutput interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfOneIdProviderOutput(value: object): value is OneIdProviderOutput;
|
|
60
|
+
export declare function OneIdProviderOutputFromJSON(json: any): OneIdProviderOutput;
|
|
61
|
+
export declare function OneIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): OneIdProviderOutput;
|
|
62
|
+
export declare function OneIdProviderOutputToJSON(json: any): OneIdProviderOutput;
|
|
63
|
+
export declare function OneIdProviderOutputToJSONTyped(value?: OneIdProviderOutput | 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.instanceOfOneIdProviderOutput = instanceOfOneIdProviderOutput;
|
|
17
|
+
exports.OneIdProviderOutputFromJSON = OneIdProviderOutputFromJSON;
|
|
18
|
+
exports.OneIdProviderOutputFromJSONTyped = OneIdProviderOutputFromJSONTyped;
|
|
19
|
+
exports.OneIdProviderOutputToJSON = OneIdProviderOutputToJSON;
|
|
20
|
+
exports.OneIdProviderOutputToJSONTyped = OneIdProviderOutputToJSONTyped;
|
|
21
|
+
const OneIdProviderAddress_1 = require("./OneIdProviderAddress");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the OneIdProviderOutput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfOneIdProviderOutput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function OneIdProviderOutputFromJSON(json) {
|
|
29
|
+
return OneIdProviderOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function OneIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'sub': json['sub'] == null ? undefined : json['sub'],
|
|
37
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
38
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
39
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
40
|
+
'birthdate': json['birthdate'] == null ? undefined : (new Date(json['birthdate'])),
|
|
41
|
+
'address': json['address'] == null ? undefined : (0, OneIdProviderAddress_1.OneIdProviderAddressFromJSON)(json['address']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
function OneIdProviderOutputToJSON(json) {
|
|
45
|
+
return OneIdProviderOutputToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function OneIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'sub': value['sub'],
|
|
53
|
+
'fullName': value['fullName'],
|
|
54
|
+
'givenName': value['givenName'],
|
|
55
|
+
'familyName': value['familyName'],
|
|
56
|
+
'birthdate': value['birthdate'] == null ? undefined : (value['birthdate'].toISOString().substring(0, 10)),
|
|
57
|
+
'address': (0, OneIdProviderAddress_1.OneIdProviderAddressToJSON)(value['address']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 OutputFrejaAddress
|
|
16
|
+
*/
|
|
17
|
+
export interface OutputFrejaAddress {
|
|
18
|
+
/**
|
|
19
|
+
* The line1 portion of the address. Incorporates all address details that are not included by city, postal code, and country.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OutputFrejaAddress
|
|
22
|
+
*/
|
|
23
|
+
line1?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the city associated with the address.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OutputFrejaAddress
|
|
28
|
+
*/
|
|
29
|
+
city?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The postal code associated with the address.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OutputFrejaAddress
|
|
34
|
+
*/
|
|
35
|
+
postalCode?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The ISO 3166-1 alpha-2 country code associated with the address.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OutputFrejaAddress
|
|
40
|
+
*/
|
|
41
|
+
country?: string | null;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OutputFrejaAddress interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfOutputFrejaAddress(value: object): value is OutputFrejaAddress;
|
|
47
|
+
export declare function OutputFrejaAddressFromJSON(json: any): OutputFrejaAddress;
|
|
48
|
+
export declare function OutputFrejaAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutputFrejaAddress;
|
|
49
|
+
export declare function OutputFrejaAddressToJSON(json: any): OutputFrejaAddress;
|
|
50
|
+
export declare function OutputFrejaAddressToJSONTyped(value?: OutputFrejaAddress | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfOutputFrejaAddress = instanceOfOutputFrejaAddress;
|
|
17
|
+
exports.OutputFrejaAddressFromJSON = OutputFrejaAddressFromJSON;
|
|
18
|
+
exports.OutputFrejaAddressFromJSONTyped = OutputFrejaAddressFromJSONTyped;
|
|
19
|
+
exports.OutputFrejaAddressToJSON = OutputFrejaAddressToJSON;
|
|
20
|
+
exports.OutputFrejaAddressToJSONTyped = OutputFrejaAddressToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OutputFrejaAddress interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOutputFrejaAddress(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function OutputFrejaAddressFromJSON(json) {
|
|
28
|
+
return OutputFrejaAddressFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function OutputFrejaAddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'line1': json['line1'] == null ? undefined : json['line1'],
|
|
36
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
37
|
+
'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
|
|
38
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OutputFrejaAddressToJSON(json) {
|
|
42
|
+
return OutputFrejaAddressToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OutputFrejaAddressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'line1': value['line1'],
|
|
50
|
+
'city': value['city'],
|
|
51
|
+
'postalCode': value['postalCode'],
|
|
52
|
+
'country': value['country'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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 OutputFrejaDocument
|
|
16
|
+
*/
|
|
17
|
+
export interface OutputFrejaDocument {
|
|
18
|
+
/**
|
|
19
|
+
* Type of document. Possible values are:
|
|
20
|
+
* * "PASS": Passport
|
|
21
|
+
* * "DRILIC": Driver's License
|
|
22
|
+
* * "NATID": National ID
|
|
23
|
+
* * "IDSIS": SiS certified ID document
|
|
24
|
+
* * "TAXID": Tax Agency ID card
|
|
25
|
+
* * "OTHERID": Other IDs
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OutputFrejaDocument
|
|
28
|
+
*/
|
|
29
|
+
type?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The document serial number. The structure of this number depends on the type and nationality of the document.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OutputFrejaDocument
|
|
34
|
+
*/
|
|
35
|
+
serialNumber?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Expiration date of the document. Formatted as an ISO 8601 Date.
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof OutputFrejaDocument
|
|
40
|
+
*/
|
|
41
|
+
expirationDate?: Date | null;
|
|
42
|
+
/**
|
|
43
|
+
* The ISO 3166-1 alpha-2 country code associated with the document.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OutputFrejaDocument
|
|
46
|
+
*/
|
|
47
|
+
country?: string | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the OutputFrejaDocument interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfOutputFrejaDocument(value: object): value is OutputFrejaDocument;
|
|
53
|
+
export declare function OutputFrejaDocumentFromJSON(json: any): OutputFrejaDocument;
|
|
54
|
+
export declare function OutputFrejaDocumentFromJSONTyped(json: any, ignoreDiscriminator: boolean): OutputFrejaDocument;
|
|
55
|
+
export declare function OutputFrejaDocumentToJSON(json: any): OutputFrejaDocument;
|
|
56
|
+
export declare function OutputFrejaDocumentToJSONTyped(value?: OutputFrejaDocument | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfOutputFrejaDocument = instanceOfOutputFrejaDocument;
|
|
17
|
+
exports.OutputFrejaDocumentFromJSON = OutputFrejaDocumentFromJSON;
|
|
18
|
+
exports.OutputFrejaDocumentFromJSONTyped = OutputFrejaDocumentFromJSONTyped;
|
|
19
|
+
exports.OutputFrejaDocumentToJSON = OutputFrejaDocumentToJSON;
|
|
20
|
+
exports.OutputFrejaDocumentToJSONTyped = OutputFrejaDocumentToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the OutputFrejaDocument interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfOutputFrejaDocument(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function OutputFrejaDocumentFromJSON(json) {
|
|
28
|
+
return OutputFrejaDocumentFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function OutputFrejaDocumentFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
36
|
+
'serialNumber': json['serialNumber'] == null ? undefined : json['serialNumber'],
|
|
37
|
+
'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
|
|
38
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function OutputFrejaDocumentToJSON(json) {
|
|
42
|
+
return OutputFrejaDocumentToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function OutputFrejaDocumentToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'type': value['type'],
|
|
50
|
+
'serialNumber': value['serialNumber'],
|
|
51
|
+
'expirationDate': value['expirationDate'] == null ? undefined : (value['expirationDate'].toISOString().substring(0, 10)),
|
|
52
|
+
'country': value['country'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -22,6 +22,70 @@ export interface PhilippinesDigitalNidProviderOutput {
|
|
|
22
22
|
* @memberof PhilippinesDigitalNidProviderOutput
|
|
23
23
|
*/
|
|
24
24
|
philsysCardNumber: string;
|
|
25
|
+
/**
|
|
26
|
+
* The given (first) name of the individual.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
29
|
+
*/
|
|
30
|
+
givenName?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The middle name of the individual.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
35
|
+
*/
|
|
36
|
+
middleName?: string | null;
|
|
37
|
+
/**
|
|
38
|
+
* The family (last) name of the individual.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
41
|
+
*/
|
|
42
|
+
familyName?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The date of birth of the individual.
|
|
45
|
+
* @type {Date}
|
|
46
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
47
|
+
*/
|
|
48
|
+
dateOfBirth?: Date | null;
|
|
49
|
+
/**
|
|
50
|
+
* The name suffix of the individual (e.g. Jr., III).
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
53
|
+
*/
|
|
54
|
+
suffix?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* The sex of the individual.
|
|
57
|
+
*
|
|
58
|
+
* Possible values:
|
|
59
|
+
* - Male
|
|
60
|
+
* - Female
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
63
|
+
*/
|
|
64
|
+
sex?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
* The place of birth of the individual as recorded on the PhilSys credential.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
69
|
+
*/
|
|
70
|
+
placeOfBirth?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* The date the document was issued.
|
|
73
|
+
* @type {Date}
|
|
74
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
75
|
+
*/
|
|
76
|
+
documentIssueDate?: Date | null;
|
|
77
|
+
/**
|
|
78
|
+
* The document number of the digital National ID.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
81
|
+
*/
|
|
82
|
+
documentNumber?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* The issuing authority of the document.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PhilippinesDigitalNidProviderOutput
|
|
87
|
+
*/
|
|
88
|
+
issuingAuthority?: string | null;
|
|
25
89
|
}
|
|
26
90
|
/**
|
|
27
91
|
* Check if a given object implements the PhilippinesDigitalNidProviderOutput interface.
|