@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
|
@@ -28,6 +28,26 @@ export interface FaydaProviderOutput {
|
|
|
28
28
|
* @memberof FaydaProviderOutput
|
|
29
29
|
*/
|
|
30
30
|
sub?: string | null;
|
|
31
|
+
/**
|
|
32
|
+
* The full name of the verified individual.
|
|
33
|
+
*
|
|
34
|
+
* 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.
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof FaydaProviderOutput
|
|
37
|
+
*/
|
|
38
|
+
name?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* The full English name of the verified individual.
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof FaydaProviderOutput
|
|
43
|
+
*/
|
|
44
|
+
englishName?: string | null;
|
|
45
|
+
/**
|
|
46
|
+
* The full Arabic name of the verified individual.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof FaydaProviderOutput
|
|
49
|
+
*/
|
|
50
|
+
arabicName?: string | null;
|
|
31
51
|
}
|
|
32
52
|
|
|
33
53
|
/**
|
|
@@ -48,6 +68,9 @@ export function FaydaProviderOutputFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
48
68
|
return {
|
|
49
69
|
|
|
50
70
|
'sub': json['sub'] == null ? undefined : json['sub'],
|
|
71
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
72
|
+
'englishName': json['englishName'] == null ? undefined : json['englishName'],
|
|
73
|
+
'arabicName': json['arabicName'] == null ? undefined : json['arabicName'],
|
|
51
74
|
};
|
|
52
75
|
}
|
|
53
76
|
|
|
@@ -63,6 +86,9 @@ export function FaydaProviderOutputToJSONTyped(value?: FaydaProviderOutput | nul
|
|
|
63
86
|
return {
|
|
64
87
|
|
|
65
88
|
'sub': value['sub'],
|
|
89
|
+
'name': value['name'],
|
|
90
|
+
'englishName': value['englishName'],
|
|
91
|
+
'arabicName': value['arabicName'],
|
|
66
92
|
};
|
|
67
93
|
}
|
|
68
94
|
|
|
@@ -0,0 +1,176 @@
|
|
|
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 `finnish-trust-network` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FinnishTrustNetworkProviderOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface FinnishTrustNetworkProviderOutput {
|
|
22
|
+
/**
|
|
23
|
+
* The full name of the individual.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
26
|
+
*/
|
|
27
|
+
fullName?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* The date of birth of the individual.
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
32
|
+
*/
|
|
33
|
+
dateOfBirth?: Date | null;
|
|
34
|
+
/**
|
|
35
|
+
* The 11-digit Finnish Personal Identification Code (Henkilötunnus) of the verified individual.
|
|
36
|
+
*
|
|
37
|
+
* This is in the format DDMMYYCZZZQ, where:
|
|
38
|
+
* - DDMMYY is the date of birth
|
|
39
|
+
* - C is a symbol which determines the century of birth
|
|
40
|
+
* - ZZZ is an individual number, indicating gender
|
|
41
|
+
* - Q is a checksum character
|
|
42
|
+
*
|
|
43
|
+
* If ZZZ is even, the individual is female.
|
|
44
|
+
* If ZZZ is odd, the individual is male.
|
|
45
|
+
*
|
|
46
|
+
* If C is '+', the individual was born in the 19th century (1800-1899).
|
|
47
|
+
* If C is '-', 'U', 'V', 'W', 'X', or 'Y', the individual was born in the 20th century (1900-1999).
|
|
48
|
+
* If C is 'A', 'B', 'C', 'D', 'E', or 'F', the individual was born in the 21st century (2000-2099).
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
51
|
+
*/
|
|
52
|
+
personalIdentificationCode?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* The 9-digit Finnish Unique Identification Number (FINUID, or sähköinen asiointitunnus SATU) of the verified individual.
|
|
55
|
+
* This number is typically used for online transactions and unlike the Finnish Personal Identification Code, does not reveal personal information such as birthdate.
|
|
56
|
+
*
|
|
57
|
+
* The first 8 digits are randomly generated and the last character is a check control.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
60
|
+
*/
|
|
61
|
+
uniqueIdentificationNumber?: string | null;
|
|
62
|
+
/**
|
|
63
|
+
* The given name of the individual.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
givenName?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The family name of the individual.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
72
|
+
*/
|
|
73
|
+
familyName?: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* The level of assurance (LOA) for the verification.
|
|
76
|
+
*
|
|
77
|
+
* The LOA refers to the degree of confidence in the claimed identity of a person.
|
|
78
|
+
* 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.
|
|
79
|
+
* To learn more, see: https://ec.europa.eu/digital-building-blocks/sites/spaces/DIGITAL/pages/467110081/eIDAS+Levels+of+Assurance
|
|
80
|
+
*
|
|
81
|
+
* Possible values:
|
|
82
|
+
* - Low: The user has self asserted their identity and multifactor authentication is not required.
|
|
83
|
+
* - Substantial: The user has performed either a remote or in-person identity verification and multifactor authentication is required.
|
|
84
|
+
* - 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.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
87
|
+
*/
|
|
88
|
+
levelOfAssurance?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* The bank used to perform the identification for the verified individual.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
93
|
+
*/
|
|
94
|
+
bank?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* The phone number of the verified individual.
|
|
97
|
+
*
|
|
98
|
+
* This is only returned if the user authenticated with MobileID (Mobiilivarmenne).
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
101
|
+
*/
|
|
102
|
+
phoneNumber?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* The organization name that the individual is associated with.
|
|
105
|
+
*
|
|
106
|
+
* This is returned for requests that contain the organization scope.
|
|
107
|
+
* @type {string}
|
|
108
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
109
|
+
*/
|
|
110
|
+
organizationName?: string | null;
|
|
111
|
+
/**
|
|
112
|
+
* The VAT number of the organization that the individual is associated with.
|
|
113
|
+
*
|
|
114
|
+
* This is returned for requests that contain the organization scope.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof FinnishTrustNetworkProviderOutput
|
|
117
|
+
*/
|
|
118
|
+
vatNumber?: string | null;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Check if a given object implements the FinnishTrustNetworkProviderOutput interface.
|
|
123
|
+
*/
|
|
124
|
+
export function instanceOfFinnishTrustNetworkProviderOutput(value: object): value is FinnishTrustNetworkProviderOutput {
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
export function FinnishTrustNetworkProviderOutputFromJSON(json: any): FinnishTrustNetworkProviderOutput {
|
|
129
|
+
return FinnishTrustNetworkProviderOutputFromJSONTyped(json, false);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export function FinnishTrustNetworkProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FinnishTrustNetworkProviderOutput {
|
|
133
|
+
if (json == null) {
|
|
134
|
+
return json;
|
|
135
|
+
}
|
|
136
|
+
return {
|
|
137
|
+
|
|
138
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
139
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
140
|
+
'personalIdentificationCode': json['personalIdentificationCode'] == null ? undefined : json['personalIdentificationCode'],
|
|
141
|
+
'uniqueIdentificationNumber': json['uniqueIdentificationNumber'] == null ? undefined : json['uniqueIdentificationNumber'],
|
|
142
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
143
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
144
|
+
'levelOfAssurance': json['levelOfAssurance'] == null ? undefined : json['levelOfAssurance'],
|
|
145
|
+
'bank': json['bank'] == null ? undefined : json['bank'],
|
|
146
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
147
|
+
'organizationName': json['organizationName'] == null ? undefined : json['organizationName'],
|
|
148
|
+
'vatNumber': json['vatNumber'] == null ? undefined : json['vatNumber'],
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export function FinnishTrustNetworkProviderOutputToJSON(json: any): FinnishTrustNetworkProviderOutput {
|
|
153
|
+
return FinnishTrustNetworkProviderOutputToJSONTyped(json, false);
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export function FinnishTrustNetworkProviderOutputToJSONTyped(value?: FinnishTrustNetworkProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
157
|
+
if (value == null) {
|
|
158
|
+
return value;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
return {
|
|
162
|
+
|
|
163
|
+
'fullName': value['fullName'],
|
|
164
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
165
|
+
'personalIdentificationCode': value['personalIdentificationCode'],
|
|
166
|
+
'uniqueIdentificationNumber': value['uniqueIdentificationNumber'],
|
|
167
|
+
'givenName': value['givenName'],
|
|
168
|
+
'familyName': value['familyName'],
|
|
169
|
+
'levelOfAssurance': value['levelOfAssurance'],
|
|
170
|
+
'bank': value['bank'],
|
|
171
|
+
'phoneNumber': value['phoneNumber'],
|
|
172
|
+
'organizationName': value['organizationName'],
|
|
173
|
+
'vatNumber': value['vatNumber'],
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
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 { Raw18013RequestInput } from './Raw18013RequestInput';
|
|
17
|
+
import {
|
|
18
|
+
Raw18013RequestInputFromJSON,
|
|
19
|
+
Raw18013RequestInputFromJSONTyped,
|
|
20
|
+
Raw18013RequestInputToJSON,
|
|
21
|
+
Raw18013RequestInputToJSONTyped,
|
|
22
|
+
} from './Raw18013RequestInput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface FranceIdentiteInput
|
|
28
|
+
*/
|
|
29
|
+
export interface FranceIdentiteInput {
|
|
30
|
+
/**
|
|
31
|
+
* The raw 18013-7 exchange request to use for this verification.
|
|
32
|
+
*
|
|
33
|
+
* If set, this overrides any default configuration on your Verification Profile.
|
|
34
|
+
* @type {Raw18013RequestInput}
|
|
35
|
+
* @memberof FranceIdentiteInput
|
|
36
|
+
*/
|
|
37
|
+
previewRaw18013Request?: Raw18013RequestInput | null;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the FranceIdentiteInput interface.
|
|
42
|
+
*/
|
|
43
|
+
export function instanceOfFranceIdentiteInput(value: object): value is FranceIdentiteInput {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function FranceIdentiteInputFromJSON(json: any): FranceIdentiteInput {
|
|
48
|
+
return FranceIdentiteInputFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function FranceIdentiteInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteInput {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'previewRaw18013Request': json['preview_raw18013Request'] == null ? undefined : Raw18013RequestInputFromJSON(json['preview_raw18013Request']),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function FranceIdentiteInputToJSON(json: any): FranceIdentiteInput {
|
|
62
|
+
return FranceIdentiteInputToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function FranceIdentiteInputToJSONTyped(value?: FranceIdentiteInput | null, ignoreDiscriminator: boolean = false): any {
|
|
66
|
+
if (value == null) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'preview_raw18013Request': Raw18013RequestInputToJSON(value['previewRaw18013Request']),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -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 { MdlOutput } from './MdlOutput';
|
|
17
|
+
import {
|
|
18
|
+
MdlOutputFromJSON,
|
|
19
|
+
MdlOutputFromJSONTyped,
|
|
20
|
+
MdlOutputToJSON,
|
|
21
|
+
MdlOutputToJSONTyped,
|
|
22
|
+
} from './MdlOutput';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Exposed properties for the `france-identite` Provider which do not directly map to the normalized IdentityData model.
|
|
26
|
+
* @export
|
|
27
|
+
* @interface FranceIdentiteProviderOutput
|
|
28
|
+
*/
|
|
29
|
+
export interface FranceIdentiteProviderOutput {
|
|
30
|
+
/**
|
|
31
|
+
* The raw output of the 18013-7 exchange performed through France Identité.
|
|
32
|
+
* @type {MdlOutput}
|
|
33
|
+
* @memberof FranceIdentiteProviderOutput
|
|
34
|
+
*/
|
|
35
|
+
raw18013Output: MdlOutput;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the FranceIdentiteProviderOutput interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfFranceIdentiteProviderOutput(value: object): value is FranceIdentiteProviderOutput {
|
|
42
|
+
if (!('raw18013Output' in value) || value['raw18013Output'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function FranceIdentiteProviderOutputFromJSON(json: any): FranceIdentiteProviderOutput {
|
|
47
|
+
return FranceIdentiteProviderOutputFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function FranceIdentiteProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FranceIdentiteProviderOutput {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'raw18013Output': MdlOutputFromJSON(json['raw18013Output']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function FranceIdentiteProviderOutputToJSON(json: any): FranceIdentiteProviderOutput {
|
|
61
|
+
return FranceIdentiteProviderOutputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function FranceIdentiteProviderOutputToJSONTyped(value?: FranceIdentiteProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'raw18013Output': MdlOutputToJSON(value['raw18013Output']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,96 @@
|
|
|
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 `a-freja-eid-login` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface FrejaIndirectProviderOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface FrejaIndirectProviderOutput {
|
|
22
|
+
/**
|
|
23
|
+
* The first name of the verified individual
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof FrejaIndirectProviderOutput
|
|
26
|
+
*/
|
|
27
|
+
firstName: string;
|
|
28
|
+
/**
|
|
29
|
+
* The last name of the verified individual
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof FrejaIndirectProviderOutput
|
|
32
|
+
*/
|
|
33
|
+
lastName: string;
|
|
34
|
+
/**
|
|
35
|
+
* The value returned by Freja in the "ssn" field.
|
|
36
|
+
*
|
|
37
|
+
* The actual value of this field depends on the country of origin used to create the Freja credential. It is typically
|
|
38
|
+
* a Social Security Number, National Identification Number, or equivalent personal identifier.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof FrejaIndirectProviderOutput
|
|
41
|
+
*/
|
|
42
|
+
personalNumber: string;
|
|
43
|
+
/**
|
|
44
|
+
* The 2-digit ISO country code of the country which issued the personal number.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof FrejaIndirectProviderOutput
|
|
47
|
+
*/
|
|
48
|
+
personalNumberCountry: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the FrejaIndirectProviderOutput interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfFrejaIndirectProviderOutput(value: object): value is FrejaIndirectProviderOutput {
|
|
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
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function FrejaIndirectProviderOutputFromJSON(json: any): FrejaIndirectProviderOutput {
|
|
63
|
+
return FrejaIndirectProviderOutputFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function FrejaIndirectProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): FrejaIndirectProviderOutput {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
'firstName': json['firstName'],
|
|
73
|
+
'lastName': json['lastName'],
|
|
74
|
+
'personalNumber': json['personalNumber'],
|
|
75
|
+
'personalNumberCountry': json['personalNumberCountry'],
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function FrejaIndirectProviderOutputToJSON(json: any): FrejaIndirectProviderOutput {
|
|
80
|
+
return FrejaIndirectProviderOutputToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function FrejaIndirectProviderOutputToJSONTyped(value?: FrejaIndirectProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'firstName': value['firstName'],
|
|
91
|
+
'lastName': value['lastName'],
|
|
92
|
+
'personalNumber': value['personalNumber'],
|
|
93
|
+
'personalNumberCountry': value['personalNumberCountry'],
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
|