@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,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,93 @@
|
|
|
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.instanceOfCzechMojeIdProviderOutput = instanceOfCzechMojeIdProviderOutput;
|
|
17
|
+
exports.CzechMojeIdProviderOutputFromJSON = CzechMojeIdProviderOutputFromJSON;
|
|
18
|
+
exports.CzechMojeIdProviderOutputFromJSONTyped = CzechMojeIdProviderOutputFromJSONTyped;
|
|
19
|
+
exports.CzechMojeIdProviderOutputToJSON = CzechMojeIdProviderOutputToJSON;
|
|
20
|
+
exports.CzechMojeIdProviderOutputToJSONTyped = CzechMojeIdProviderOutputToJSONTyped;
|
|
21
|
+
const CzechMojeIdAddressOutput_1 = require("./CzechMojeIdAddressOutput");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CzechMojeIdProviderOutput interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCzechMojeIdProviderOutput(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function CzechMojeIdProviderOutputFromJSON(json) {
|
|
29
|
+
return CzechMojeIdProviderOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function CzechMojeIdProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'subjectIdentifier': json['subjectIdentifier'] == null ? undefined : json['subjectIdentifier'],
|
|
37
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
38
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
39
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
40
|
+
'nickname': json['nickname'] == null ? undefined : json['nickname'],
|
|
41
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
42
|
+
'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
|
|
43
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
44
|
+
'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
|
|
45
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
46
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
47
|
+
'idCardNumber': json['idCardNumber'] == null ? undefined : json['idCardNumber'],
|
|
48
|
+
'passportNumber': json['passportNumber'] == null ? undefined : json['passportNumber'],
|
|
49
|
+
'socialSecurityNumber': json['socialSecurityNumber'] == null ? undefined : json['socialSecurityNumber'],
|
|
50
|
+
'isAdult': json['isAdult'] == null ? undefined : json['isAdult'],
|
|
51
|
+
'accountValidated': json['accountValidated'] == null ? undefined : json['accountValidated'],
|
|
52
|
+
'companyRegistrationNumber': json['companyRegistrationNumber'] == null ? undefined : json['companyRegistrationNumber'],
|
|
53
|
+
'taxIdentificationNumber': json['taxIdentificationNumber'] == null ? undefined : json['taxIdentificationNumber'],
|
|
54
|
+
'niaVerified': json['niaVerified'] == null ? undefined : json['niaVerified'],
|
|
55
|
+
'transactionId': json['transactionId'] == null ? undefined : json['transactionId'],
|
|
56
|
+
'homeAddress': json['homeAddress'] == null ? undefined : (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputFromJSON)(json['homeAddress']),
|
|
57
|
+
'billingAddress': json['billingAddress'] == null ? undefined : (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputFromJSON)(json['billingAddress']),
|
|
58
|
+
'shippingAddress': json['shippingAddress'] == null ? undefined : (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputFromJSON)(json['shippingAddress']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
function CzechMojeIdProviderOutputToJSON(json) {
|
|
62
|
+
return CzechMojeIdProviderOutputToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
function CzechMojeIdProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'subjectIdentifier': value['subjectIdentifier'],
|
|
70
|
+
'name': value['name'],
|
|
71
|
+
'givenName': value['givenName'],
|
|
72
|
+
'familyName': value['familyName'],
|
|
73
|
+
'nickname': value['nickname'],
|
|
74
|
+
'email': value['email'],
|
|
75
|
+
'emailVerified': value['emailVerified'],
|
|
76
|
+
'phoneNumber': value['phoneNumber'],
|
|
77
|
+
'phoneNumberVerified': value['phoneNumberVerified'],
|
|
78
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
79
|
+
'gender': value['gender'],
|
|
80
|
+
'idCardNumber': value['idCardNumber'],
|
|
81
|
+
'passportNumber': value['passportNumber'],
|
|
82
|
+
'socialSecurityNumber': value['socialSecurityNumber'],
|
|
83
|
+
'isAdult': value['isAdult'],
|
|
84
|
+
'accountValidated': value['accountValidated'],
|
|
85
|
+
'companyRegistrationNumber': value['companyRegistrationNumber'],
|
|
86
|
+
'taxIdentificationNumber': value['taxIdentificationNumber'],
|
|
87
|
+
'niaVerified': value['niaVerified'],
|
|
88
|
+
'transactionId': value['transactionId'],
|
|
89
|
+
'homeAddress': (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputToJSON)(value['homeAddress']),
|
|
90
|
+
'billingAddress': (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputToJSON)(value['billingAddress']),
|
|
91
|
+
'shippingAddress': (0, CzechMojeIdAddressOutput_1.CzechMojeIdAddressOutputToJSON)(value['shippingAddress']),
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -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,64 @@
|
|
|
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.instanceOfDigilockerAadhaarProviderOutput = instanceOfDigilockerAadhaarProviderOutput;
|
|
17
|
+
exports.DigilockerAadhaarProviderOutputFromJSON = DigilockerAadhaarProviderOutputFromJSON;
|
|
18
|
+
exports.DigilockerAadhaarProviderOutputFromJSONTyped = DigilockerAadhaarProviderOutputFromJSONTyped;
|
|
19
|
+
exports.DigilockerAadhaarProviderOutputToJSON = DigilockerAadhaarProviderOutputToJSON;
|
|
20
|
+
exports.DigilockerAadhaarProviderOutputToJSONTyped = DigilockerAadhaarProviderOutputToJSONTyped;
|
|
21
|
+
const AadhaarLocalizedClaims_1 = require("./AadhaarLocalizedClaims");
|
|
22
|
+
const AadhaarClaims_1 = require("./AadhaarClaims");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the DigilockerAadhaarProviderOutput interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfDigilockerAadhaarProviderOutput(value) {
|
|
27
|
+
if (!('documentSignatureValidated' in value) || value['documentSignatureValidated'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function DigilockerAadhaarProviderOutputFromJSON(json) {
|
|
32
|
+
return DigilockerAadhaarProviderOutputFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function DigilockerAadhaarProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'documentType': json['documentType'] == null ? undefined : json['documentType'],
|
|
40
|
+
'documentSignatureValidated': json['documentSignatureValidated'],
|
|
41
|
+
'timestamp': json['timestamp'] == null ? undefined : (new Date(json['timestamp'])),
|
|
42
|
+
'timeToLive': json['timeToLive'] == null ? undefined : (new Date(json['timeToLive'])),
|
|
43
|
+
'aadhaarNumberLastFour': json['aadhaarNumberLastFour'] == null ? undefined : json['aadhaarNumberLastFour'],
|
|
44
|
+
'claims': json['claims'] == null ? undefined : (0, AadhaarClaims_1.AadhaarClaimsFromJSON)(json['claims']),
|
|
45
|
+
'localizedClaims': json['localizedClaims'] == null ? undefined : (0, AadhaarLocalizedClaims_1.AadhaarLocalizedClaimsFromJSON)(json['localizedClaims']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function DigilockerAadhaarProviderOutputToJSON(json) {
|
|
49
|
+
return DigilockerAadhaarProviderOutputToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function DigilockerAadhaarProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'documentType': value['documentType'],
|
|
57
|
+
'documentSignatureValidated': value['documentSignatureValidated'],
|
|
58
|
+
'timestamp': value['timestamp'] == null ? undefined : (value['timestamp'].toISOString()),
|
|
59
|
+
'timeToLive': value['timeToLive'] == null ? undefined : (value['timeToLive'].toISOString()),
|
|
60
|
+
'aadhaarNumberLastFour': value['aadhaarNumberLastFour'],
|
|
61
|
+
'claims': (0, AadhaarClaims_1.AadhaarClaimsToJSON)(value['claims']),
|
|
62
|
+
'localizedClaims': (0, AadhaarLocalizedClaims_1.AadhaarLocalizedClaimsToJSON)(value['localizedClaims']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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.
|
|
@@ -33,6 +33,9 @@ function FaydaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'sub': json['sub'] == null ? undefined : json['sub'],
|
|
36
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
37
|
+
'englishName': json['englishName'] == null ? undefined : json['englishName'],
|
|
38
|
+
'arabicName': json['arabicName'] == null ? undefined : json['arabicName'],
|
|
36
39
|
};
|
|
37
40
|
}
|
|
38
41
|
function FaydaProviderOutputToJSON(json) {
|
|
@@ -44,5 +47,8 @@ function FaydaProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
44
47
|
}
|
|
45
48
|
return {
|
|
46
49
|
'sub': value['sub'],
|
|
50
|
+
'name': value['name'],
|
|
51
|
+
'englishName': value['englishName'],
|
|
52
|
+
'arabicName': value['arabicName'],
|
|
47
53
|
};
|
|
48
54
|
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 `finnish-trust-network` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FinnishTrustNetworkProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface FinnishTrustNetworkProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The full name of the individual.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
fullName?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
* The date of birth of the individual.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
dateOfBirth?: Date | null;
|
|
30
|
+
/**
|
|
31
|
+
* The 11-digit Finnish Personal Identification Code (Henkilötunnus) of the verified individual.
|
|
32
|
+
*
|
|
33
|
+
* This is in the format DDMMYYCZZZQ, where:
|
|
34
|
+
* - DDMMYY is the date of birth
|
|
35
|
+
* - C is a symbol which determines the century of birth
|
|
36
|
+
* - ZZZ is an individual number, indicating gender
|
|
37
|
+
* - Q is a checksum character
|
|
38
|
+
*
|
|
39
|
+
* If ZZZ is even, the individual is female.
|
|
40
|
+
* If ZZZ is odd, the individual is male.
|
|
41
|
+
*
|
|
42
|
+
* If C is '+', the individual was born in the 19th century (1800-1899).
|
|
43
|
+
* If C is '-', 'U', 'V', 'W', 'X', or 'Y', the individual was born in the 20th century (1900-1999).
|
|
44
|
+
* If C is 'A', 'B', 'C', 'D', 'E', or 'F', the individual was born in the 21st century (2000-2099).
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
47
|
+
*/
|
|
48
|
+
personalIdentificationCode?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* The 9-digit Finnish Unique Identification Number (FINUID, or sähköinen asiointitunnus SATU) of the verified individual.
|
|
51
|
+
* This number is typically used for online transactions and unlike the Finnish Personal Identification Code, does not reveal personal information such as birthdate.
|
|
52
|
+
*
|
|
53
|
+
* The first 8 digits are randomly generated and the last character is a check control.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
56
|
+
*/
|
|
57
|
+
uniqueIdentificationNumber?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The given name of the individual.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
62
|
+
*/
|
|
63
|
+
givenName?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* The family name of the individual.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
68
|
+
*/
|
|
69
|
+
familyName?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The level of assurance (LOA) for the verification.
|
|
72
|
+
*
|
|
73
|
+
* The LOA refers to the degree of confidence in the claimed identity of a person.
|
|
74
|
+
* 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.
|
|
75
|
+
* To learn more, see: https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467110081/eIDAS+Levels+of+Assurance
|
|
76
|
+
*
|
|
77
|
+
* Possible values:
|
|
78
|
+
* - Low: The user has self asserted their identity and multifactor authentication is not required.
|
|
79
|
+
* - Substantial: The user has performed either a remote or in-person identity verification and multifactor authentication is required.
|
|
80
|
+
* - 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.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
83
|
+
*/
|
|
84
|
+
levelOfAssurance?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The bank used to perform the identification for the verified individual.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
89
|
+
*/
|
|
90
|
+
bank?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* The phone number of the verified individual.
|
|
93
|
+
*
|
|
94
|
+
* This is only returned if the user authenticated with MobileID (Mobiilivarmenne).
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
97
|
+
*/
|
|
98
|
+
phoneNumber?: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* The organization name that the individual is associated with.
|
|
101
|
+
*
|
|
102
|
+
* This is returned for requests that contain the organization scope.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
105
|
+
*/
|
|
106
|
+
organizationName?: string | null;
|
|
107
|
+
/**
|
|
108
|
+
* The VAT number of the organization that the individual is associated with.
|
|
109
|
+
*
|
|
110
|
+
* This is returned for requests that contain the organization scope.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
113
|
+
*/
|
|
114
|
+
vatNumber?: string | null;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Check if a given object implements the FinnishTrustNetworkProviderOutput interface.
|
|
118
|
+
*/
|
|
119
|
+
export declare function instanceOfFinnishTrustNetworkProviderOutput(value: object): value is FinnishTrustNetworkProviderOutput;
|
|
120
|
+
export declare function FinnishTrustNetworkProviderOutputFromJSON(json: any): FinnishTrustNetworkProviderOutput;
|
|
121
|
+
export declare function FinnishTrustNetworkProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FinnishTrustNetworkProviderOutput;
|
|
122
|
+
export declare function FinnishTrustNetworkProviderOutputToJSON(json: any): FinnishTrustNetworkProviderOutput;
|
|
123
|
+
export declare function FinnishTrustNetworkProviderOutputToJSONTyped(value?: FinnishTrustNetworkProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.instanceOfFinnishTrustNetworkProviderOutput = instanceOfFinnishTrustNetworkProviderOutput;
|
|
17
|
+
exports.FinnishTrustNetworkProviderOutputFromJSON = FinnishTrustNetworkProviderOutputFromJSON;
|
|
18
|
+
exports.FinnishTrustNetworkProviderOutputFromJSONTyped = FinnishTrustNetworkProviderOutputFromJSONTyped;
|
|
19
|
+
exports.FinnishTrustNetworkProviderOutputToJSON = FinnishTrustNetworkProviderOutputToJSON;
|
|
20
|
+
exports.FinnishTrustNetworkProviderOutputToJSONTyped = FinnishTrustNetworkProviderOutputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FinnishTrustNetworkProviderOutput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFinnishTrustNetworkProviderOutput(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function FinnishTrustNetworkProviderOutputFromJSON(json) {
|
|
28
|
+
return FinnishTrustNetworkProviderOutputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function FinnishTrustNetworkProviderOutputFromJSONTyped(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
|
+
'personalIdentificationCode': json['personalIdentificationCode'] == null ? undefined : json['personalIdentificationCode'],
|
|
38
|
+
'uniqueIdentificationNumber': json['uniqueIdentificationNumber'] == null ? undefined : json['uniqueIdentificationNumber'],
|
|
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
|
+
'bank': json['bank'] == null ? undefined : json['bank'],
|
|
43
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
44
|
+
'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
|
|
45
|
+
'vatNumber': json['vatNumber'] == null ? undefined : json['vatNumber'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function FinnishTrustNetworkProviderOutputToJSON(json) {
|
|
49
|
+
return FinnishTrustNetworkProviderOutputToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function FinnishTrustNetworkProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'fullName': value['fullName'],
|
|
57
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
58
|
+
'personalIdentificationCode': value['personalIdentificationCode'],
|
|
59
|
+
'uniqueIdentificationNumber': value['uniqueIdentificationNumber'],
|
|
60
|
+
'givenName': value['givenName'],
|
|
61
|
+
'familyName': value['familyName'],
|
|
62
|
+
'levelOfAssurance': value['levelOfAssurance'],
|
|
63
|
+
'bank': value['bank'],
|
|
64
|
+
'phoneNumber': value['phoneNumber'],
|
|
65
|
+
'organizationName': value['organizationName'],
|
|
66
|
+
'vatNumber': value['vatNumber'],
|
|
67
|
+
};
|
|
68
|
+
}
|