@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,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,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the FinnishTrustNetworkProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFinnishTrustNetworkProviderOutput(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function FinnishTrustNetworkProviderOutputFromJSON(json) {
|
|
21
|
+
return FinnishTrustNetworkProviderOutputFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function FinnishTrustNetworkProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
29
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
30
|
+
'personalIdentificationCode': json['personalIdentificationCode'] == null ? undefined : json['personalIdentificationCode'],
|
|
31
|
+
'uniqueIdentificationNumber': json['uniqueIdentificationNumber'] == null ? undefined : json['uniqueIdentificationNumber'],
|
|
32
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
33
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
34
|
+
'levelOfAssurance': json['levelOfAssurance'] == null ? undefined : json['levelOfAssurance'],
|
|
35
|
+
'bank': json['bank'] == null ? undefined : json['bank'],
|
|
36
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
37
|
+
'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
|
|
38
|
+
'vatNumber': json['vatNumber'] == null ? undefined : json['vatNumber'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function FinnishTrustNetworkProviderOutputToJSON(json) {
|
|
42
|
+
return FinnishTrustNetworkProviderOutputToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function FinnishTrustNetworkProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'fullName': value['fullName'],
|
|
50
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
51
|
+
'personalIdentificationCode': value['personalIdentificationCode'],
|
|
52
|
+
'uniqueIdentificationNumber': value['uniqueIdentificationNumber'],
|
|
53
|
+
'givenName': value['givenName'],
|
|
54
|
+
'familyName': value['familyName'],
|
|
55
|
+
'levelOfAssurance': value['levelOfAssurance'],
|
|
56
|
+
'bank': value['bank'],
|
|
57
|
+
'phoneNumber': value['phoneNumber'],
|
|
58
|
+
'organizationName': value['organizationName'],
|
|
59
|
+
'vatNumber': value['vatNumber'],
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { Raw18013RequestInput } from './Raw18013RequestInput';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FranceIdentiteInput
|
|
17
|
+
*/
|
|
18
|
+
export interface FranceIdentiteInput {
|
|
19
|
+
/**
|
|
20
|
+
* The raw 18013-7 exchange request to use for this verification.
|
|
21
|
+
*
|
|
22
|
+
* If set, this overrides any default configuration on your Verification Profile.
|
|
23
|
+
* @type {Raw18013RequestInput}
|
|
24
|
+
* @memberof FranceIdentiteInput
|
|
25
|
+
*/
|
|
26
|
+
previewRaw18013Request?: Raw18013RequestInput | null;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the FranceIdentiteInput interface.
|
|
30
|
+
*/
|
|
31
|
+
export declare function instanceOfFranceIdentiteInput(value: object): value is FranceIdentiteInput;
|
|
32
|
+
export declare function FranceIdentiteInputFromJSON(json: any): FranceIdentiteInput;
|
|
33
|
+
export declare function FranceIdentiteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteInput;
|
|
34
|
+
export declare function FranceIdentiteInputToJSON(json: any): FranceIdentiteInput;
|
|
35
|
+
export declare function FranceIdentiteInputToJSONTyped(value?: FranceIdentiteInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { Raw18013RequestInputFromJSON, Raw18013RequestInputToJSON, } from './Raw18013RequestInput';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the FranceIdentiteInput interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfFranceIdentiteInput(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function FranceIdentiteInputFromJSON(json) {
|
|
22
|
+
return FranceIdentiteInputFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function FranceIdentiteInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : Raw18013RequestInputFromJSON(json['preview_raw18013Request']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function FranceIdentiteInputToJSON(json) {
|
|
33
|
+
return FranceIdentiteInputToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function FranceIdentiteInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'preview_raw18013Request': Raw18013RequestInputToJSON(value['previewRaw18013Request']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 { MdlOutput } from './MdlOutput';
|
|
13
|
+
/**
|
|
14
|
+
* Exposed properties for the `france-identite` Provider which do not directly map to the normalized IdentityData model.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FranceIdentiteProviderOutput
|
|
17
|
+
*/
|
|
18
|
+
export interface FranceIdentiteProviderOutput {
|
|
19
|
+
/**
|
|
20
|
+
* The raw output of the 18013-7 exchange performed through France Identité.
|
|
21
|
+
* @type {MdlOutput}
|
|
22
|
+
* @memberof FranceIdentiteProviderOutput
|
|
23
|
+
*/
|
|
24
|
+
raw18013Output: MdlOutput;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the FranceIdentiteProviderOutput interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfFranceIdentiteProviderOutput(value: object): value is FranceIdentiteProviderOutput;
|
|
30
|
+
export declare function FranceIdentiteProviderOutputFromJSON(json: any): FranceIdentiteProviderOutput;
|
|
31
|
+
export declare function FranceIdentiteProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteProviderOutput;
|
|
32
|
+
export declare function FranceIdentiteProviderOutputToJSON(json: any): FranceIdentiteProviderOutput;
|
|
33
|
+
export declare function FranceIdentiteProviderOutputToJSONTyped(value?: FranceIdentiteProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { MdlOutputFromJSON, MdlOutputToJSON, } from './MdlOutput';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the FranceIdentiteProviderOutput interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfFranceIdentiteProviderOutput(value) {
|
|
19
|
+
if (!('raw18013Output' in value) || value['raw18013Output'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function FranceIdentiteProviderOutputFromJSON(json) {
|
|
24
|
+
return FranceIdentiteProviderOutputFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function FranceIdentiteProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'raw18013Output': MdlOutputFromJSON(json['raw18013Output']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function FranceIdentiteProviderOutputToJSON(json) {
|
|
35
|
+
return FranceIdentiteProviderOutputToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function FranceIdentiteProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'raw18013Output': MdlOutputToJSON(value['raw18013Output']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 `a-freja-eid-login` Provider which do not directly map to the normalized IdentityData model.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FrejaIndirectProviderOutput
|
|
16
|
+
*/
|
|
17
|
+
export interface FrejaIndirectProviderOutput {
|
|
18
|
+
/**
|
|
19
|
+
* The first name of the verified individual
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FrejaIndirectProviderOutput
|
|
22
|
+
*/
|
|
23
|
+
firstName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The last name of the verified individual
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FrejaIndirectProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
lastName: string;
|
|
30
|
+
/**
|
|
31
|
+
* The value returned by Freja in the "ssn" field.
|
|
32
|
+
*
|
|
33
|
+
* The actual value of this field depends on the country of origin used to create the Freja credential. It is typically
|
|
34
|
+
* a Social Security Number, National Identification Number, or equivalent personal identifier.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof FrejaIndirectProviderOutput
|
|
37
|
+
*/
|
|
38
|
+
personalNumber: string;
|
|
39
|
+
/**
|
|
40
|
+
* The 2-digit ISO country code of the country which issued the personal number.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof FrejaIndirectProviderOutput
|
|
43
|
+
*/
|
|
44
|
+
personalNumberCountry: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the FrejaIndirectProviderOutput interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfFrejaIndirectProviderOutput(value: object): value is FrejaIndirectProviderOutput;
|
|
50
|
+
export declare function FrejaIndirectProviderOutputFromJSON(json: any): FrejaIndirectProviderOutput;
|
|
51
|
+
export declare function FrejaIndirectProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrejaIndirectProviderOutput;
|
|
52
|
+
export declare function FrejaIndirectProviderOutputToJSON(json: any): FrejaIndirectProviderOutput;
|
|
53
|
+
export declare function FrejaIndirectProviderOutputToJSONTyped(value?: FrejaIndirectProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the FrejaIndirectProviderOutput interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfFrejaIndirectProviderOutput(value) {
|
|
18
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('personalNumber' in value) || value['personalNumber'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('personalNumberCountry' in value) || value['personalNumberCountry'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function FrejaIndirectProviderOutputFromJSON(json) {
|
|
29
|
+
return FrejaIndirectProviderOutputFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function FrejaIndirectProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'firstName': json['firstName'],
|
|
37
|
+
'lastName': json['lastName'],
|
|
38
|
+
'personalNumber': json['personalNumber'],
|
|
39
|
+
'personalNumberCountry': json['personalNumberCountry'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export function FrejaIndirectProviderOutputToJSON(json) {
|
|
43
|
+
return FrejaIndirectProviderOutputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function FrejaIndirectProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'firstName': value['firstName'],
|
|
51
|
+
'lastName': value['lastName'],
|
|
52
|
+
'personalNumber': value['personalNumber'],
|
|
53
|
+
'personalNumberCountry': value['personalNumberCountry'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -9,39 +9,131 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { OutputFrejaAddress } from './OutputFrejaAddress';
|
|
13
|
+
import type { OutputFrejaDocument } from './OutputFrejaDocument';
|
|
12
14
|
/**
|
|
13
|
-
* Exposed properties for the `
|
|
15
|
+
* Exposed properties for the `freja` Provider which do not directly map to the normalized IdentityData model.
|
|
14
16
|
* @export
|
|
15
17
|
* @interface FrejaProviderOutput
|
|
16
18
|
*/
|
|
17
19
|
export interface FrejaProviderOutput {
|
|
18
20
|
/**
|
|
19
|
-
* The
|
|
21
|
+
* The individual's full name.
|
|
20
22
|
* @type {string}
|
|
21
23
|
* @memberof FrejaProviderOutput
|
|
22
24
|
*/
|
|
23
|
-
|
|
25
|
+
name?: string | null;
|
|
24
26
|
/**
|
|
25
|
-
* The
|
|
27
|
+
* The individual's first name.
|
|
26
28
|
* @type {string}
|
|
27
29
|
* @memberof FrejaProviderOutput
|
|
28
30
|
*/
|
|
29
|
-
|
|
31
|
+
givenName?: string | null;
|
|
30
32
|
/**
|
|
31
|
-
* The
|
|
33
|
+
* The individual's last name.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof FrejaProviderOutput
|
|
36
|
+
*/
|
|
37
|
+
familyName?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The date of birth of the individual.
|
|
32
40
|
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
41
|
+
* Formatted as an ISO 8601 Date.
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof FrejaProviderOutput
|
|
44
|
+
*/
|
|
45
|
+
dateOfBirth?: Date | null;
|
|
46
|
+
/**
|
|
47
|
+
* The individual's primary email address within Freja.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof FrejaProviderOutput
|
|
50
|
+
*/
|
|
51
|
+
email?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* A boolean which indicates whether the individual's primary email address has been verified by Freja.
|
|
54
|
+
* @type {boolean}
|
|
55
|
+
* @memberof FrejaProviderOutput
|
|
56
|
+
*/
|
|
57
|
+
emailVerified?: boolean | null;
|
|
58
|
+
/**
|
|
59
|
+
* An array of all associated email addresses of the individual.
|
|
60
|
+
* @type {Array<string>}
|
|
61
|
+
* @memberof FrejaProviderOutput
|
|
62
|
+
*/
|
|
63
|
+
allEmailAddresses?: Array<string> | null;
|
|
64
|
+
/**
|
|
65
|
+
* The individual's primary address on file.
|
|
66
|
+
* @type {OutputFrejaAddress}
|
|
67
|
+
* @memberof FrejaProviderOutput
|
|
68
|
+
*/
|
|
69
|
+
primaryPhysicalAddress?: OutputFrejaAddress | null;
|
|
70
|
+
/**
|
|
71
|
+
* A list of all associated addresses of the individual.
|
|
72
|
+
* @type {Array<OutputFrejaAddress>}
|
|
73
|
+
* @memberof FrejaProviderOutput
|
|
74
|
+
*/
|
|
75
|
+
allPhysicalAddresses?: Array<OutputFrejaAddress> | null;
|
|
76
|
+
/**
|
|
77
|
+
* The individual's age in years.
|
|
78
|
+
* @type {number}
|
|
79
|
+
* @memberof FrejaProviderOutput
|
|
80
|
+
*/
|
|
81
|
+
age?: number | null;
|
|
82
|
+
/**
|
|
83
|
+
* The individual's phone number in the E.164 format.
|
|
84
|
+
* @type {string}
|
|
85
|
+
* @memberof FrejaProviderOutput
|
|
86
|
+
*/
|
|
87
|
+
phoneNumber?: string | null;
|
|
88
|
+
/**
|
|
89
|
+
* Whether the individual's phone number has been verified by Freja.
|
|
90
|
+
* @type {boolean}
|
|
91
|
+
* @memberof FrejaProviderOutput
|
|
92
|
+
*/
|
|
93
|
+
phoneNumberVerified?: boolean | null;
|
|
94
|
+
/**
|
|
95
|
+
* The individual's personal identity number. The actual value of this field depends on the country of origin used to
|
|
96
|
+
* create the Freja credential. It is typically a Social Security Number, National Identification Number, or equivalent
|
|
97
|
+
* personal identifier.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof FrejaProviderOutput
|
|
100
|
+
*/
|
|
101
|
+
personalIdentityNumber?: string | null;
|
|
102
|
+
/**
|
|
103
|
+
* The ISO 3166-1 alpha-2 country code associated with the individual's country of origin.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof FrejaProviderOutput
|
|
106
|
+
*/
|
|
107
|
+
country?: string | null;
|
|
108
|
+
/**
|
|
109
|
+
* The underlying document, such as a passport, used to create the Freja credential.
|
|
110
|
+
* @type {OutputFrejaDocument}
|
|
111
|
+
* @memberof FrejaProviderOutput
|
|
112
|
+
*/
|
|
113
|
+
document?: OutputFrejaDocument | null;
|
|
114
|
+
/**
|
|
115
|
+
* The Freja registration level associated with this individual. This can be BASIC, EXTENDED, or PLUS.
|
|
116
|
+
* * BASIC: Individual has a registered account with Freja.
|
|
117
|
+
* * EXTENDED: Individual has an official identity document verified by Freja.
|
|
118
|
+
* * PLUS: Individual has undergone in-person verification with Freja.
|
|
119
|
+
* @type {string}
|
|
120
|
+
* @memberof FrejaProviderOutput
|
|
121
|
+
*/
|
|
122
|
+
registrationLevel?: string | null;
|
|
123
|
+
/**
|
|
124
|
+
* The relying party user identifier for this individual. This is an identifier specific to the individual and the
|
|
125
|
+
* relying party (your service).
|
|
35
126
|
* @type {string}
|
|
36
127
|
* @memberof FrejaProviderOutput
|
|
37
128
|
*/
|
|
38
|
-
|
|
129
|
+
relyingPartyUserId?: string | null;
|
|
39
130
|
/**
|
|
40
|
-
* The
|
|
131
|
+
* The Freja transaction reference for this verification. This is an identifier specific to the verification
|
|
132
|
+
* transaction.
|
|
41
133
|
* @type {string}
|
|
42
134
|
* @memberof FrejaProviderOutput
|
|
43
135
|
*/
|
|
44
|
-
|
|
136
|
+
transactionReference?: string | null;
|
|
45
137
|
}
|
|
46
138
|
/**
|
|
47
139
|
* Check if a given object implements the FrejaProviderOutput interface.
|
|
@@ -11,18 +11,12 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { OutputFrejaAddressFromJSON, OutputFrejaAddressToJSON, } from './OutputFrejaAddress';
|
|
15
|
+
import { OutputFrejaDocumentFromJSON, OutputFrejaDocumentToJSON, } from './OutputFrejaDocument';
|
|
14
16
|
/**
|
|
15
17
|
* Check if a given object implements the FrejaProviderOutput interface.
|
|
16
18
|
*/
|
|
17
19
|
export function instanceOfFrejaProviderOutput(value) {
|
|
18
|
-
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
if (!('personalNumber' in value) || value['personalNumber'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('personalNumberCountry' in value) || value['personalNumberCountry'] === undefined)
|
|
25
|
-
return false;
|
|
26
20
|
return true;
|
|
27
21
|
}
|
|
28
22
|
export function FrejaProviderOutputFromJSON(json) {
|
|
@@ -33,10 +27,24 @@ export function FrejaProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
27
|
return json;
|
|
34
28
|
}
|
|
35
29
|
return {
|
|
36
|
-
'
|
|
37
|
-
'
|
|
38
|
-
'
|
|
39
|
-
'
|
|
30
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
31
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
32
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
33
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
34
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
35
|
+
'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
|
|
36
|
+
'allEmailAddresses': json['allEmailAddresses'] == null ? undefined : json['allEmailAddresses'],
|
|
37
|
+
'primaryPhysicalAddress': json['primaryPhysicalAddress'] == null ? undefined : OutputFrejaAddressFromJSON(json['primaryPhysicalAddress']),
|
|
38
|
+
'allPhysicalAddresses': json['allPhysicalAddresses'] == null ? undefined : (json['allPhysicalAddresses'].map(OutputFrejaAddressFromJSON)),
|
|
39
|
+
'age': json['age'] == null ? undefined : json['age'],
|
|
40
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
41
|
+
'phoneNumberVerified': json['phoneNumberVerified'] == null ? undefined : json['phoneNumberVerified'],
|
|
42
|
+
'personalIdentityNumber': json['personalIdentityNumber'] == null ? undefined : json['personalIdentityNumber'],
|
|
43
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
44
|
+
'document': json['document'] == null ? undefined : OutputFrejaDocumentFromJSON(json['document']),
|
|
45
|
+
'registrationLevel': json['registrationLevel'] == null ? undefined : json['registrationLevel'],
|
|
46
|
+
'relyingPartyUserId': json['relyingPartyUserId'] == null ? undefined : json['relyingPartyUserId'],
|
|
47
|
+
'transactionReference': json['transactionReference'] == null ? undefined : json['transactionReference'],
|
|
40
48
|
};
|
|
41
49
|
}
|
|
42
50
|
export function FrejaProviderOutputToJSON(json) {
|
|
@@ -47,9 +55,23 @@ export function FrejaProviderOutputToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
47
55
|
return value;
|
|
48
56
|
}
|
|
49
57
|
return {
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'givenName': value['givenName'],
|
|
60
|
+
'familyName': value['familyName'],
|
|
61
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
62
|
+
'email': value['email'],
|
|
63
|
+
'emailVerified': value['emailVerified'],
|
|
64
|
+
'allEmailAddresses': value['allEmailAddresses'],
|
|
65
|
+
'primaryPhysicalAddress': OutputFrejaAddressToJSON(value['primaryPhysicalAddress']),
|
|
66
|
+
'allPhysicalAddresses': value['allPhysicalAddresses'] == null ? undefined : (value['allPhysicalAddresses'].map(OutputFrejaAddressToJSON)),
|
|
67
|
+
'age': value['age'],
|
|
68
|
+
'phoneNumber': value['phoneNumber'],
|
|
69
|
+
'phoneNumberVerified': value['phoneNumberVerified'],
|
|
70
|
+
'personalIdentityNumber': value['personalIdentityNumber'],
|
|
71
|
+
'country': value['country'],
|
|
72
|
+
'document': OutputFrejaDocumentToJSON(value['document']),
|
|
73
|
+
'registrationLevel': value['registrationLevel'],
|
|
74
|
+
'relyingPartyUserId': value['relyingPartyUserId'],
|
|
75
|
+
'transactionReference': value['transactionReference'],
|
|
54
76
|
};
|
|
55
77
|
}
|