@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
|
@@ -13,49 +13,150 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { OutputFrejaAddress } from './OutputFrejaAddress';
|
|
17
|
+
import {
|
|
18
|
+
OutputFrejaAddressFromJSON,
|
|
19
|
+
OutputFrejaAddressFromJSONTyped,
|
|
20
|
+
OutputFrejaAddressToJSON,
|
|
21
|
+
OutputFrejaAddressToJSONTyped,
|
|
22
|
+
} from './OutputFrejaAddress';
|
|
23
|
+
import type { OutputFrejaDocument } from './OutputFrejaDocument';
|
|
24
|
+
import {
|
|
25
|
+
OutputFrejaDocumentFromJSON,
|
|
26
|
+
OutputFrejaDocumentFromJSONTyped,
|
|
27
|
+
OutputFrejaDocumentToJSON,
|
|
28
|
+
OutputFrejaDocumentToJSONTyped,
|
|
29
|
+
} from './OutputFrejaDocument';
|
|
30
|
+
|
|
16
31
|
/**
|
|
17
|
-
* Exposed properties for the `
|
|
32
|
+
* Exposed properties for the `freja` Provider which do not directly map to the normalized IdentityData model.
|
|
18
33
|
* @export
|
|
19
34
|
* @interface FrejaProviderOutput
|
|
20
35
|
*/
|
|
21
36
|
export interface FrejaProviderOutput {
|
|
22
37
|
/**
|
|
23
|
-
* The
|
|
38
|
+
* The individual's full name.
|
|
24
39
|
* @type {string}
|
|
25
40
|
* @memberof FrejaProviderOutput
|
|
26
41
|
*/
|
|
27
|
-
|
|
42
|
+
name?: string | null;
|
|
28
43
|
/**
|
|
29
|
-
* The
|
|
44
|
+
* The individual's first name.
|
|
30
45
|
* @type {string}
|
|
31
46
|
* @memberof FrejaProviderOutput
|
|
32
47
|
*/
|
|
33
|
-
|
|
48
|
+
givenName?: string | null;
|
|
34
49
|
/**
|
|
35
|
-
* The
|
|
50
|
+
* The individual's last name.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof FrejaProviderOutput
|
|
53
|
+
*/
|
|
54
|
+
familyName?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* The date of birth of the individual.
|
|
36
57
|
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
58
|
+
* Formatted as an ISO 8601 Date.
|
|
59
|
+
* @type {Date}
|
|
60
|
+
* @memberof FrejaProviderOutput
|
|
61
|
+
*/
|
|
62
|
+
dateOfBirth?: Date | null;
|
|
63
|
+
/**
|
|
64
|
+
* The individual's primary email address within Freja.
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof FrejaProviderOutput
|
|
67
|
+
*/
|
|
68
|
+
email?: string | null;
|
|
69
|
+
/**
|
|
70
|
+
* A boolean which indicates whether the individual's primary email address has been verified by Freja.
|
|
71
|
+
* @type {boolean}
|
|
72
|
+
* @memberof FrejaProviderOutput
|
|
73
|
+
*/
|
|
74
|
+
emailVerified?: boolean | null;
|
|
75
|
+
/**
|
|
76
|
+
* An array of all associated email addresses of the individual.
|
|
77
|
+
* @type {Array<string>}
|
|
78
|
+
* @memberof FrejaProviderOutput
|
|
79
|
+
*/
|
|
80
|
+
allEmailAddresses?: Array<string> | null;
|
|
81
|
+
/**
|
|
82
|
+
* The individual's primary address on file.
|
|
83
|
+
* @type {OutputFrejaAddress}
|
|
84
|
+
* @memberof FrejaProviderOutput
|
|
85
|
+
*/
|
|
86
|
+
primaryPhysicalAddress?: OutputFrejaAddress | null;
|
|
87
|
+
/**
|
|
88
|
+
* A list of all associated addresses of the individual.
|
|
89
|
+
* @type {Array<OutputFrejaAddress>}
|
|
90
|
+
* @memberof FrejaProviderOutput
|
|
91
|
+
*/
|
|
92
|
+
allPhysicalAddresses?: Array<OutputFrejaAddress> | null;
|
|
93
|
+
/**
|
|
94
|
+
* The individual's age in years.
|
|
95
|
+
* @type {number}
|
|
96
|
+
* @memberof FrejaProviderOutput
|
|
97
|
+
*/
|
|
98
|
+
age?: number | null;
|
|
99
|
+
/**
|
|
100
|
+
* The individual's phone number in the E.164 format.
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof FrejaProviderOutput
|
|
103
|
+
*/
|
|
104
|
+
phoneNumber?: string | null;
|
|
105
|
+
/**
|
|
106
|
+
* Whether the individual's phone number has been verified by Freja.
|
|
107
|
+
* @type {boolean}
|
|
108
|
+
* @memberof FrejaProviderOutput
|
|
109
|
+
*/
|
|
110
|
+
phoneNumberVerified?: boolean | null;
|
|
111
|
+
/**
|
|
112
|
+
* The individual's personal identity number. The actual value of this field depends on the country of origin used to
|
|
113
|
+
* create the Freja credential. It is typically a Social Security Number, National Identification Number, or equivalent
|
|
114
|
+
* personal identifier.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof FrejaProviderOutput
|
|
117
|
+
*/
|
|
118
|
+
personalIdentityNumber?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* The ISO 3166-1 alpha-2 country code associated with the individual's country of origin.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof FrejaProviderOutput
|
|
123
|
+
*/
|
|
124
|
+
country?: string | null;
|
|
125
|
+
/**
|
|
126
|
+
* The underlying document, such as a passport, used to create the Freja credential.
|
|
127
|
+
* @type {OutputFrejaDocument}
|
|
128
|
+
* @memberof FrejaProviderOutput
|
|
129
|
+
*/
|
|
130
|
+
document?: OutputFrejaDocument | null;
|
|
131
|
+
/**
|
|
132
|
+
* The Freja registration level associated with this individual. This can be BASIC, EXTENDED, or PLUS.
|
|
133
|
+
* * BASIC: Individual has a registered account with Freja.
|
|
134
|
+
* * EXTENDED: Individual has an official identity document verified by Freja.
|
|
135
|
+
* * PLUS: Individual has undergone in-person verification with Freja.
|
|
136
|
+
* @type {string}
|
|
137
|
+
* @memberof FrejaProviderOutput
|
|
138
|
+
*/
|
|
139
|
+
registrationLevel?: string | null;
|
|
140
|
+
/**
|
|
141
|
+
* The relying party user identifier for this individual. This is an identifier specific to the individual and the
|
|
142
|
+
* relying party (your service).
|
|
39
143
|
* @type {string}
|
|
40
144
|
* @memberof FrejaProviderOutput
|
|
41
145
|
*/
|
|
42
|
-
|
|
146
|
+
relyingPartyUserId?: string | null;
|
|
43
147
|
/**
|
|
44
|
-
* The
|
|
148
|
+
* The Freja transaction reference for this verification. This is an identifier specific to the verification
|
|
149
|
+
* transaction.
|
|
45
150
|
* @type {string}
|
|
46
151
|
* @memberof FrejaProviderOutput
|
|
47
152
|
*/
|
|
48
|
-
|
|
153
|
+
transactionReference?: string | null;
|
|
49
154
|
}
|
|
50
155
|
|
|
51
156
|
/**
|
|
52
157
|
* Check if a given object implements the FrejaProviderOutput interface.
|
|
53
158
|
*/
|
|
54
159
|
export function instanceOfFrejaProviderOutput(value: object): value is FrejaProviderOutput {
|
|
55
|
-
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
56
|
-
if (!('lastName' in value) || value['lastName'] === undefined) return false;
|
|
57
|
-
if (!('personalNumber' in value) || value['personalNumber'] === undefined) return false;
|
|
58
|
-
if (!('personalNumberCountry' in value) || value['personalNumberCountry'] === undefined) return false;
|
|
59
160
|
return true;
|
|
60
161
|
}
|
|
61
162
|
|
|
@@ -69,10 +170,24 @@ export function FrejaProviderOutputFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
69
170
|
}
|
|
70
171
|
return {
|
|
71
172
|
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
75
|
-
'
|
|
173
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
174
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
175
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
176
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
177
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
178
|
+
'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
|
|
179
|
+
'allEmailAddresses': json['allEmailAddresses'] == null ? undefined : json['allEmailAddresses'],
|
|
180
|
+
'primaryPhysicalAddress': json['primaryPhysicalAddress'] == null ? undefined : OutputFrejaAddressFromJSON(json['primaryPhysicalAddress']),
|
|
181
|
+
'allPhysicalAddresses': json['allPhysicalAddresses'] == null ? undefined : ((json['allPhysicalAddresses'] as Array<any>).map(OutputFrejaAddressFromJSON)),
|
|
182
|
+
'age': json['age'] == null ? undefined : json['age'],
|
|
183
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
184
|
+
'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
|
|
185
|
+
'personalIdentityNumber': json['personalIdentityNumber'] == null ? undefined : json['personalIdentityNumber'],
|
|
186
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
187
|
+
'document': json['document'] == null ? undefined : OutputFrejaDocumentFromJSON(json['document']),
|
|
188
|
+
'registrationLevel': json['registrationLevel'] == null ? undefined : json['registrationLevel'],
|
|
189
|
+
'relyingPartyUserId': json['relyingPartyUserId'] == null ? undefined : json['relyingPartyUserId'],
|
|
190
|
+
'transactionReference': json['transactionReference'] == null ? undefined : json['transactionReference'],
|
|
76
191
|
};
|
|
77
192
|
}
|
|
78
193
|
|
|
@@ -87,10 +202,24 @@ export function FrejaProviderOutputToJSONTyped(value?: FrejaProviderOutput | nul
|
|
|
87
202
|
|
|
88
203
|
return {
|
|
89
204
|
|
|
90
|
-
'
|
|
91
|
-
'
|
|
92
|
-
'
|
|
93
|
-
'
|
|
205
|
+
'name': value['name'],
|
|
206
|
+
'givenName': value['givenName'],
|
|
207
|
+
'familyName': value['familyName'],
|
|
208
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
209
|
+
'email': value['email'],
|
|
210
|
+
'emailVerified': value['emailVerified'],
|
|
211
|
+
'allEmailAddresses': value['allEmailAddresses'],
|
|
212
|
+
'primaryPhysicalAddress': OutputFrejaAddressToJSON(value['primaryPhysicalAddress']),
|
|
213
|
+
'allPhysicalAddresses': value['allPhysicalAddresses'] == null ? undefined : ((value['allPhysicalAddresses'] as Array<any>).map(OutputFrejaAddressToJSON)),
|
|
214
|
+
'age': value['age'],
|
|
215
|
+
'phoneNumber': value['phoneNumber'],
|
|
216
|
+
'phoneNumberVerified': value['phoneNumberVerified'],
|
|
217
|
+
'personalIdentityNumber': value['personalIdentityNumber'],
|
|
218
|
+
'country': value['country'],
|
|
219
|
+
'document': OutputFrejaDocumentToJSON(value['document']),
|
|
220
|
+
'registrationLevel': value['registrationLevel'],
|
|
221
|
+
'relyingPartyUserId': value['relyingPartyUserId'],
|
|
222
|
+
'transactionReference': value['transactionReference'],
|
|
94
223
|
};
|
|
95
224
|
}
|
|
96
225
|
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
import type { Provider } from './Provider';
|
|
17
|
+
import {
|
|
18
|
+
ProviderFromJSON,
|
|
19
|
+
ProviderFromJSONTyped,
|
|
20
|
+
ProviderToJSON,
|
|
21
|
+
ProviderToJSONTyped,
|
|
22
|
+
} from './Provider';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface GetProviderResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface GetProviderResponse {
|
|
30
|
+
/**
|
|
31
|
+
* The provider available to this organization
|
|
32
|
+
* @type {Provider}
|
|
33
|
+
* @memberof GetProviderResponse
|
|
34
|
+
*/
|
|
35
|
+
provider: Provider;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the GetProviderResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfGetProviderResponse(value: object): value is GetProviderResponse {
|
|
42
|
+
if (!('provider' in value) || value['provider'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function GetProviderResponseFromJSON(json: any): GetProviderResponse {
|
|
47
|
+
return GetProviderResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function GetProviderResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetProviderResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'provider': ProviderFromJSON(json['provider']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function GetProviderResponseToJSON(json: any): GetProviderResponse {
|
|
61
|
+
return GetProviderResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function GetProviderResponseToJSONTyped(value?: GetProviderResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'provider': ProviderToJSON(value['provider']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -20,6 +20,13 @@ import {
|
|
|
20
20
|
MdlExchangeMechanismToJSON,
|
|
21
21
|
MdlExchangeMechanismToJSONTyped,
|
|
22
22
|
} from './MdlExchangeMechanism';
|
|
23
|
+
import type { Raw18013RequestInput } from './Raw18013RequestInput';
|
|
24
|
+
import {
|
|
25
|
+
Raw18013RequestInputFromJSON,
|
|
26
|
+
Raw18013RequestInputFromJSONTyped,
|
|
27
|
+
Raw18013RequestInputToJSON,
|
|
28
|
+
Raw18013RequestInputToJSONTyped,
|
|
29
|
+
} from './Raw18013RequestInput';
|
|
23
30
|
|
|
24
31
|
/**
|
|
25
32
|
*
|
|
@@ -35,6 +42,16 @@ export interface GoogleWalletInput {
|
|
|
35
42
|
* @memberof GoogleWalletInput
|
|
36
43
|
*/
|
|
37
44
|
exchangeMechanism?: MdlExchangeMechanism | null;
|
|
45
|
+
/**
|
|
46
|
+
* **Preview feature: not suitable for production use cases**
|
|
47
|
+
*
|
|
48
|
+
* The raw 18013-7 exchange request to use for this verification.
|
|
49
|
+
*
|
|
50
|
+
* If set, this overrides any default configuration on your Verification Profile.
|
|
51
|
+
* @type {Raw18013RequestInput}
|
|
52
|
+
* @memberof GoogleWalletInput
|
|
53
|
+
*/
|
|
54
|
+
previewRaw18013Request?: Raw18013RequestInput | null;
|
|
38
55
|
}
|
|
39
56
|
|
|
40
57
|
|
|
@@ -57,6 +74,7 @@ export function GoogleWalletInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
57
74
|
return {
|
|
58
75
|
|
|
59
76
|
'exchangeMechanism': json['exchangeMechanism'] == null ? undefined : MdlExchangeMechanismFromJSON(json['exchangeMechanism']),
|
|
77
|
+
'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : Raw18013RequestInputFromJSON(json['preview_raw18013Request']),
|
|
60
78
|
};
|
|
61
79
|
}
|
|
62
80
|
|
|
@@ -72,6 +90,7 @@ export function GoogleWalletInputToJSONTyped(value?: GoogleWalletInput | null, i
|
|
|
72
90
|
return {
|
|
73
91
|
|
|
74
92
|
'exchangeMechanism': MdlExchangeMechanismToJSON(value['exchangeMechanism']),
|
|
93
|
+
'preview_raw18013Request': Raw18013RequestInputToJSON(value['previewRaw18013Request']),
|
|
75
94
|
};
|
|
76
95
|
}
|
|
77
96
|
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from './IntegrationLaunchMethod';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
|
-
* A step to perform in the process of executing
|
|
32
|
+
* A step to perform in the process of executing a Direct Provider Session
|
|
33
33
|
* @export
|
|
34
34
|
* @interface IntegrationStep
|
|
35
35
|
*/
|
|
@@ -0,0 +1,170 @@
|
|
|
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
|
+
* Exposed properties for the `nigeria-nin-lookup-2` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NigeriaNinLookup2ProviderOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface NigeriaNinLookup2ProviderOutput {
|
|
22
|
+
/**
|
|
23
|
+
* The first name (given name) of the ID holder.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
26
|
+
*/
|
|
27
|
+
firstName: string;
|
|
28
|
+
/**
|
|
29
|
+
* The middle name of the ID holder.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
32
|
+
*/
|
|
33
|
+
middleName?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The surname (family name) of the ID holder.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
38
|
+
*/
|
|
39
|
+
surname: string;
|
|
40
|
+
/**
|
|
41
|
+
* The sex of the ID holder.
|
|
42
|
+
*
|
|
43
|
+
* Possible values:
|
|
44
|
+
* - Male
|
|
45
|
+
* - Female
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
48
|
+
*/
|
|
49
|
+
sex?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* The date of birth of the ID holder.
|
|
52
|
+
* @type {Date}
|
|
53
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
54
|
+
*/
|
|
55
|
+
dateOfBirth?: Date | null;
|
|
56
|
+
/**
|
|
57
|
+
* Country of birth as an ISO 3166-1 alpha-2 code.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
60
|
+
*/
|
|
61
|
+
birthCountry?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* National Identification Number (NIN).
|
|
64
|
+
*
|
|
65
|
+
* This is a unique, permanent identifier assigned by the National Identity Management Commission
|
|
66
|
+
* upon enrollment.
|
|
67
|
+
*
|
|
68
|
+
* Format: 11 numeric digits (regex: /^[0-9]{11}$/). The digits are validated using the Verhoeff
|
|
69
|
+
* algorithm, meaning the last digit serves as a check digit.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
72
|
+
*/
|
|
73
|
+
nationalIdentityNumber: string;
|
|
74
|
+
/**
|
|
75
|
+
* Phone number registered with the National Identity Management Commission.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
78
|
+
*/
|
|
79
|
+
phoneNumber?: string | null;
|
|
80
|
+
/**
|
|
81
|
+
* Email address registered with the National Identity Management Commission.
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
84
|
+
*/
|
|
85
|
+
email?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Full residential address as a single string, normalized to lowercase without delimiters.
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
90
|
+
*/
|
|
91
|
+
address?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Local Government Area of residence.
|
|
94
|
+
*
|
|
95
|
+
* Nigeria is divided into 774 Local Government Areas (LGAs), which are the third-tier
|
|
96
|
+
* administrative divisions below states and the Federal Capital Territory. LGAs are roughly
|
|
97
|
+
* equivalent to counties or municipalities in other countries.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
100
|
+
*/
|
|
101
|
+
localGovernmentArea?: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* State of residence.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof NigeriaNinLookup2ProviderOutput
|
|
106
|
+
*/
|
|
107
|
+
state?: string | null;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Check if a given object implements the NigeriaNinLookup2ProviderOutput interface.
|
|
112
|
+
*/
|
|
113
|
+
export function instanceOfNigeriaNinLookup2ProviderOutput(value: object): value is NigeriaNinLookup2ProviderOutput {
|
|
114
|
+
if (!('firstName' in value) || value['firstName'] === undefined) return false;
|
|
115
|
+
if (!('surname' in value) || value['surname'] === undefined) return false;
|
|
116
|
+
if (!('nationalIdentityNumber' in value) || value['nationalIdentityNumber'] === undefined) return false;
|
|
117
|
+
return true;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export function NigeriaNinLookup2ProviderOutputFromJSON(json: any): NigeriaNinLookup2ProviderOutput {
|
|
121
|
+
return NigeriaNinLookup2ProviderOutputFromJSONTyped(json, false);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export function NigeriaNinLookup2ProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NigeriaNinLookup2ProviderOutput {
|
|
125
|
+
if (json == null) {
|
|
126
|
+
return json;
|
|
127
|
+
}
|
|
128
|
+
return {
|
|
129
|
+
|
|
130
|
+
'firstName': json['firstName'],
|
|
131
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
132
|
+
'surname': json['surname'],
|
|
133
|
+
'sex': json['sex'] == null ? undefined : json['sex'],
|
|
134
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
135
|
+
'birthCountry': json['birthCountry'] == null ? undefined : json['birthCountry'],
|
|
136
|
+
'nationalIdentityNumber': json['nationalIdentityNumber'],
|
|
137
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
138
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
139
|
+
'address': json['address'] == null ? undefined : json['address'],
|
|
140
|
+
'localGovernmentArea': json['localGovernmentArea'] == null ? undefined : json['localGovernmentArea'],
|
|
141
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export function NigeriaNinLookup2ProviderOutputToJSON(json: any): NigeriaNinLookup2ProviderOutput {
|
|
146
|
+
return NigeriaNinLookup2ProviderOutputToJSONTyped(json, false);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export function NigeriaNinLookup2ProviderOutputToJSONTyped(value?: NigeriaNinLookup2ProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
150
|
+
if (value == null) {
|
|
151
|
+
return value;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
return {
|
|
155
|
+
|
|
156
|
+
'firstName': value['firstName'],
|
|
157
|
+
'middleName': value['middleName'],
|
|
158
|
+
'surname': value['surname'],
|
|
159
|
+
'sex': value['sex'],
|
|
160
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
161
|
+
'birthCountry': value['birthCountry'],
|
|
162
|
+
'nationalIdentityNumber': value['nationalIdentityNumber'],
|
|
163
|
+
'phoneNumber': value['phoneNumber'],
|
|
164
|
+
'email': value['email'],
|
|
165
|
+
'address': value['address'],
|
|
166
|
+
'localGovernmentArea': value['localGovernmentArea'],
|
|
167
|
+
'state': value['state'],
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
|
|
@@ -0,0 +1,144 @@
|
|
|
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
|
+
* Exposed properties for the `norway-bankid` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface NorwegianBankIdProviderOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface NorwegianBankIdProviderOutput {
|
|
22
|
+
/**
|
|
23
|
+
* The full name of the individual.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
26
|
+
*/
|
|
27
|
+
fullName?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* The date of birth of the individual.
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
32
|
+
*/
|
|
33
|
+
dateOfBirth?: Date | null;
|
|
34
|
+
/**
|
|
35
|
+
* The personal identifier for Norwegian BankID.
|
|
36
|
+
*
|
|
37
|
+
* This uniquely identifies the user in the Norwegian BankID system and is considered a stable identifier to use.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
40
|
+
*/
|
|
41
|
+
personalIdentifier?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The 11-digit Norwegian National Identity Number (fødselsnummer) of the verified individual.
|
|
44
|
+
*
|
|
45
|
+
* This is in the format DDMMYYZZZCC, where:
|
|
46
|
+
* - 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
|
|
47
|
+
* - ZZZ is an individual number, indicating gender
|
|
48
|
+
* - CC is a checksum character
|
|
49
|
+
*
|
|
50
|
+
* If ZZZ is even, the individual is female.
|
|
51
|
+
* If ZZZ is odd, the individual is male.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
54
|
+
*/
|
|
55
|
+
nationalIdentityNumber?: string | null;
|
|
56
|
+
/**
|
|
57
|
+
* The given name of the individual.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
60
|
+
*/
|
|
61
|
+
givenName?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The family name of the individual.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
familyName?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The level of assurance (LOA) for the verification.
|
|
70
|
+
*
|
|
71
|
+
* The LOA refers to the degree of confidence in the claimed identity of a person.
|
|
72
|
+
* 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.
|
|
73
|
+
* To learn more, see: https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467110081/eIDAS+Levels+of+Assurance
|
|
74
|
+
*
|
|
75
|
+
* Possible values:
|
|
76
|
+
* - Low: The user has self asserted their identity and multifactor authentication is not required.
|
|
77
|
+
* - Substantial: The user has performed either a remote or in-person identity verification and multifactor authentication is required.
|
|
78
|
+
* - 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.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
81
|
+
*/
|
|
82
|
+
levelOfAssurance?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
* The authentication method used by the individual.
|
|
85
|
+
*
|
|
86
|
+
* Possible values:
|
|
87
|
+
* - urn:bankid:bis - BankID with Biometrics
|
|
88
|
+
* - urn:bankid:bid - Standard BankID with High Assurance
|
|
89
|
+
* @type {string}
|
|
90
|
+
* @memberof NorwegianBankIdProviderOutput
|
|
91
|
+
*/
|
|
92
|
+
authenticationMethod?: string | null;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Check if a given object implements the NorwegianBankIdProviderOutput interface.
|
|
97
|
+
*/
|
|
98
|
+
export function instanceOfNorwegianBankIdProviderOutput(value: object): value is NorwegianBankIdProviderOutput {
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function NorwegianBankIdProviderOutputFromJSON(json: any): NorwegianBankIdProviderOutput {
|
|
103
|
+
return NorwegianBankIdProviderOutputFromJSONTyped(json, false);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function NorwegianBankIdProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): NorwegianBankIdProviderOutput {
|
|
107
|
+
if (json == null) {
|
|
108
|
+
return json;
|
|
109
|
+
}
|
|
110
|
+
return {
|
|
111
|
+
|
|
112
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
113
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
114
|
+
'personalIdentifier': json['personalIdentifier'] == null ? undefined : json['personalIdentifier'],
|
|
115
|
+
'nationalIdentityNumber': json['nationalIdentityNumber'] == null ? undefined : json['nationalIdentityNumber'],
|
|
116
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
117
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
118
|
+
'levelOfAssurance': json['levelOfAssurance'] == null ? undefined : json['levelOfAssurance'],
|
|
119
|
+
'authenticationMethod': json['authenticationMethod'] == null ? undefined : json['authenticationMethod'],
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function NorwegianBankIdProviderOutputToJSON(json: any): NorwegianBankIdProviderOutput {
|
|
124
|
+
return NorwegianBankIdProviderOutputToJSONTyped(json, false);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export function NorwegianBankIdProviderOutputToJSONTyped(value?: NorwegianBankIdProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
128
|
+
if (value == null) {
|
|
129
|
+
return value;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
return {
|
|
133
|
+
|
|
134
|
+
'fullName': value['fullName'],
|
|
135
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
136
|
+
'personalIdentifier': value['personalIdentifier'],
|
|
137
|
+
'nationalIdentityNumber': value['nationalIdentityNumber'],
|
|
138
|
+
'givenName': value['givenName'],
|
|
139
|
+
'familyName': value['familyName'],
|
|
140
|
+
'levelOfAssurance': value['levelOfAssurance'],
|
|
141
|
+
'authenticationMethod': value['authenticationMethod'],
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
|