@trinsic/api 3.0.1 → 3.0.2-preview1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +27 -0
- package/dist/apis/ProvidersApi.d.ts +28 -1
- package/dist/apis/ProvidersApi.js +37 -0
- package/dist/apis/VerificationProfilesApi.d.ts +6 -2
- package/dist/apis/VerificationProfilesApi.js +8 -2
- package/dist/esm/apis/ProvidersApi.d.ts +28 -1
- package/dist/esm/apis/ProvidersApi.js +38 -1
- package/dist/esm/apis/VerificationProfilesApi.d.ts +6 -2
- package/dist/esm/apis/VerificationProfilesApi.js +8 -2
- package/dist/esm/models/AadhaarClaims.d.ts +125 -0
- package/dist/esm/models/AadhaarClaims.js +69 -0
- package/dist/esm/models/AadhaarLanguage.d.ts +55 -0
- package/dist/esm/models/AadhaarLanguage.js +44 -0
- package/dist/esm/models/AadhaarLocalizedClaims.d.ts +99 -0
- package/dist/esm/models/AadhaarLocalizedClaims.js +64 -0
- package/dist/esm/models/AppleWalletInput.d.ts +13 -0
- package/dist/esm/models/AppleWalletInput.js +3 -0
- package/dist/esm/models/ConnectIdAddress.d.ts +58 -0
- package/dist/esm/models/ConnectIdAddress.js +49 -0
- package/dist/esm/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/esm/models/ConnectIdAgeVerification.js +43 -0
- package/dist/esm/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
- package/dist/esm/models/ConnectIdBeneficiaryAccount.js +47 -0
- package/dist/esm/models/ConnectIdProviderOutput.d.ts +97 -0
- package/dist/esm/models/ConnectIdProviderOutput.js +64 -0
- package/dist/esm/models/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/esm/models/CzechMojeIdAddressOutput.js +51 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.d.ts +177 -0
- package/dist/esm/models/CzechMojeIdProviderOutput.js +86 -0
- package/dist/esm/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
- package/dist/esm/models/DigilockerAadhaarProviderOutput.js +57 -0
- package/dist/esm/models/FaydaProviderOutput.d.ts +20 -0
- package/dist/esm/models/FaydaProviderOutput.js +6 -0
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/esm/models/FinnishTrustNetworkProviderOutput.js +61 -0
- package/dist/esm/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/esm/models/FranceIdentiteInput.js +42 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/esm/models/FranceIdentiteProviderOutput.js +44 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/esm/models/FrejaIndirectProviderOutput.js +55 -0
- package/dist/esm/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/esm/models/FrejaProviderOutput.js +38 -16
- package/dist/esm/models/GetProviderResponse.d.ts +33 -0
- package/dist/esm/models/GetProviderResponse.js +44 -0
- package/dist/esm/models/GoogleWalletInput.d.ts +11 -0
- package/dist/esm/models/GoogleWalletInput.js +3 -0
- package/dist/esm/models/IntegrationStep.d.ts +1 -1
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
- package/dist/esm/models/NigeriaNinLookup2ProviderOutput.js +69 -0
- package/dist/esm/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/esm/models/NorwegianBankIdProviderOutput.js +55 -0
- package/dist/esm/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/esm/models/OneIdProviderAddress.js +49 -0
- package/dist/esm/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/esm/models/OneIdProviderOutput.js +52 -0
- package/dist/esm/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/esm/models/OutputFrejaAddress.js +47 -0
- package/dist/esm/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/esm/models/OutputFrejaDocument.js +47 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
- package/dist/esm/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/esm/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- package/dist/esm/models/ProviderInput.d.ts +21 -0
- package/dist/esm/models/ProviderInput.js +9 -0
- package/dist/esm/models/ProviderOutput.d.ts +82 -3
- package/dist/esm/models/ProviderOutput.js +35 -2
- package/dist/esm/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/esm/models/Raw18013DocumentRequest.js +47 -0
- package/dist/esm/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/esm/models/Raw18013RequestInput.js +44 -0
- package/dist/esm/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/esm/models/RecommendProvidersResponse.js +4 -0
- package/dist/esm/models/SamsungWalletInput.d.ts +37 -0
- package/dist/esm/models/SamsungWalletInput.js +42 -0
- package/dist/esm/models/UkEvisaLookupInput.d.ts +38 -0
- package/dist/esm/models/UkEvisaLookupInput.js +47 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
- package/dist/esm/models/UnitedKingdomEvisaProviderOutput.js +61 -0
- package/dist/esm/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/esm/models/VerificationProfileResponse.js +4 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/esm/models/YotiDeeplinkProviderOutput.js +65 -0
- package/dist/esm/models/index.d.ts +27 -0
- package/dist/esm/models/index.js +27 -0
- package/dist/models/AadhaarClaims.d.ts +125 -0
- package/dist/models/AadhaarClaims.js +76 -0
- package/dist/models/AadhaarLanguage.d.ts +55 -0
- package/dist/models/AadhaarLanguage.js +51 -0
- package/dist/models/AadhaarLocalizedClaims.d.ts +99 -0
- package/dist/models/AadhaarLocalizedClaims.js +71 -0
- package/dist/models/AppleWalletInput.d.ts +13 -0
- package/dist/models/AppleWalletInput.js +3 -0
- package/dist/models/ConnectIdAddress.d.ts +58 -0
- package/dist/models/ConnectIdAddress.js +56 -0
- package/dist/models/ConnectIdAgeVerification.d.ts +38 -0
- package/dist/models/ConnectIdAgeVerification.js +50 -0
- package/dist/models/ConnectIdBeneficiaryAccount.d.ts +52 -0
- package/dist/models/ConnectIdBeneficiaryAccount.js +54 -0
- package/dist/models/ConnectIdProviderOutput.d.ts +97 -0
- package/dist/models/ConnectIdProviderOutput.js +71 -0
- package/dist/models/CzechMojeIdAddressOutput.d.ts +62 -0
- package/dist/models/CzechMojeIdAddressOutput.js +58 -0
- package/dist/models/CzechMojeIdProviderOutput.d.ts +177 -0
- package/dist/models/CzechMojeIdProviderOutput.js +93 -0
- package/dist/models/DigilockerAadhaarProviderOutput.d.ts +82 -0
- package/dist/models/DigilockerAadhaarProviderOutput.js +64 -0
- package/dist/models/FaydaProviderOutput.d.ts +20 -0
- package/dist/models/FaydaProviderOutput.js +6 -0
- package/dist/models/FinnishTrustNetworkProviderOutput.d.ts +123 -0
- package/dist/models/FinnishTrustNetworkProviderOutput.js +68 -0
- package/dist/models/FranceIdentiteInput.d.ts +35 -0
- package/dist/models/FranceIdentiteInput.js +49 -0
- package/dist/models/FranceIdentiteProviderOutput.d.ts +33 -0
- package/dist/models/FranceIdentiteProviderOutput.js +51 -0
- package/dist/models/FrejaIndirectProviderOutput.d.ts +53 -0
- package/dist/models/FrejaIndirectProviderOutput.js +62 -0
- package/dist/models/FrejaProviderOutput.d.ts +103 -11
- package/dist/models/FrejaProviderOutput.js +38 -16
- package/dist/models/GetProviderResponse.d.ts +33 -0
- package/dist/models/GetProviderResponse.js +51 -0
- package/dist/models/GoogleWalletInput.d.ts +11 -0
- package/dist/models/GoogleWalletInput.js +3 -0
- package/dist/models/IntegrationStep.d.ts +1 -1
- package/dist/models/NigeriaNinLookup2ProviderOutput.d.ts +112 -0
- package/dist/models/NigeriaNinLookup2ProviderOutput.js +76 -0
- package/dist/models/NorwegianBankIdProviderOutput.d.ts +97 -0
- package/dist/models/NorwegianBankIdProviderOutput.js +62 -0
- package/dist/models/OneIdProviderAddress.d.ts +56 -0
- package/dist/models/OneIdProviderAddress.js +56 -0
- package/dist/models/OneIdProviderOutput.d.ts +63 -0
- package/dist/models/OneIdProviderOutput.js +59 -0
- package/dist/models/OutputFrejaAddress.d.ts +50 -0
- package/dist/models/OutputFrejaAddress.js +54 -0
- package/dist/models/OutputFrejaDocument.d.ts +56 -0
- package/dist/models/OutputFrejaDocument.js +54 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.d.ts +64 -0
- package/dist/models/PhilippinesDigitalNidProviderOutput.js +20 -0
- package/dist/models/PhilippinesPhysicalNidProviderOutput.d.ts +54 -1
- package/dist/models/PhilippinesPhysicalNidProviderOutput.js +16 -0
- package/dist/models/ProviderInput.d.ts +21 -0
- package/dist/models/ProviderInput.js +9 -0
- package/dist/models/ProviderOutput.d.ts +82 -3
- package/dist/models/ProviderOutput.js +35 -2
- package/dist/models/Raw18013DocumentRequest.d.ts +60 -0
- package/dist/models/Raw18013DocumentRequest.js +54 -0
- package/dist/models/Raw18013RequestInput.d.ts +38 -0
- package/dist/models/Raw18013RequestInput.js +51 -0
- package/dist/models/RecommendProvidersResponse.d.ts +6 -0
- package/dist/models/RecommendProvidersResponse.js +4 -0
- package/dist/models/SamsungWalletInput.d.ts +37 -0
- package/dist/models/SamsungWalletInput.js +49 -0
- package/dist/models/UkEvisaLookupInput.d.ts +38 -0
- package/dist/models/UkEvisaLookupInput.js +54 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.d.ts +106 -0
- package/dist/models/UnitedKingdomEvisaProviderOutput.js +68 -0
- package/dist/models/VerificationProfileResponse.d.ts +6 -0
- package/dist/models/VerificationProfileResponse.js +4 -0
- package/dist/models/YotiDeeplinkProviderOutput.d.ts +112 -0
- package/dist/models/YotiDeeplinkProviderOutput.js +72 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +27 -0
- package/package.json +1 -1
- package/src/apis/ProvidersApi.ts +66 -0
- package/src/apis/VerificationProfilesApi.ts +15 -3
- package/src/models/AadhaarClaims.ts +186 -0
- package/src/models/AadhaarLanguage.ts +90 -0
- package/src/models/AadhaarLocalizedClaims.ts +161 -0
- package/src/models/AppleWalletInput.ts +21 -0
- package/src/models/ConnectIdAddress.ts +99 -0
- package/src/models/ConnectIdAgeVerification.ts +73 -0
- package/src/models/ConnectIdBeneficiaryAccount.ts +91 -0
- package/src/models/ConnectIdProviderOutput.ts +169 -0
- package/src/models/CzechMojeIdAddressOutput.ts +105 -0
- package/src/models/CzechMojeIdProviderOutput.ts +261 -0
- package/src/models/DigilockerAadhaarProviderOutput.ts +141 -0
- package/src/models/FaydaProviderOutput.ts +26 -0
- package/src/models/FinnishTrustNetworkProviderOutput.ts +176 -0
- package/src/models/FranceIdentiteInput.ts +75 -0
- package/src/models/FranceIdentiteProviderOutput.ts +74 -0
- package/src/models/FrejaIndirectProviderOutput.ts +96 -0
- package/src/models/FrejaProviderOutput.ts +152 -23
- package/src/models/GetProviderResponse.ts +74 -0
- package/src/models/GoogleWalletInput.ts +19 -0
- package/src/models/IntegrationStep.ts +1 -1
- package/src/models/NigeriaNinLookup2ProviderOutput.ts +170 -0
- package/src/models/NorwegianBankIdProviderOutput.ts +144 -0
- package/src/models/OneIdProviderAddress.ts +97 -0
- package/src/models/OneIdProviderOutput.ts +113 -0
- package/src/models/OutputFrejaAddress.ts +89 -0
- package/src/models/OutputFrejaDocument.ts +95 -0
- package/src/models/PhilippinesDigitalNidProviderOutput.ts +84 -0
- package/src/models/PhilippinesPhysicalNidProviderOutput.ts +70 -1
- package/src/models/ProviderInput.ts +45 -0
- package/src/models/ProviderOutput.ts +172 -5
- package/src/models/Raw18013DocumentRequest.ts +93 -0
- package/src/models/Raw18013RequestInput.ts +79 -0
- package/src/models/RecommendProvidersResponse.ts +9 -0
- package/src/models/SamsungWalletInput.ts +77 -0
- package/src/models/UkEvisaLookupInput.ts +75 -0
- package/src/models/UnitedKingdomEvisaProviderOutput.ts +159 -0
- package/src/models/VerificationProfileResponse.ts +9 -0
- package/src/models/YotiDeeplinkProviderOutput.ts +180 -0
- package/src/models/index.ts +27 -0
|
@@ -0,0 +1,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
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UkEvisaLookupInput
|
|
20
|
+
*/
|
|
21
|
+
export interface UkEvisaLookupInput {
|
|
22
|
+
/**
|
|
23
|
+
* The 9-character share code.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UkEvisaLookupInput
|
|
26
|
+
*/
|
|
27
|
+
shareCode: string;
|
|
28
|
+
/**
|
|
29
|
+
* The user's date of birth, in `YYYY-MM-DD` format.
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof UkEvisaLookupInput
|
|
32
|
+
*/
|
|
33
|
+
dateOfBirth: Date;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the UkEvisaLookupInput interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfUkEvisaLookupInput(value: object): value is UkEvisaLookupInput {
|
|
40
|
+
if (!('shareCode' in value) || value['shareCode'] === undefined) return false;
|
|
41
|
+
if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function UkEvisaLookupInputFromJSON(json: any): UkEvisaLookupInput {
|
|
46
|
+
return UkEvisaLookupInputFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function UkEvisaLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UkEvisaLookupInput {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'shareCode': json['shareCode'],
|
|
56
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function UkEvisaLookupInputToJSON(json: any): UkEvisaLookupInput {
|
|
61
|
+
return UkEvisaLookupInputToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function UkEvisaLookupInputToJSONTyped(value?: UkEvisaLookupInput | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'shareCode': value['shareCode'],
|
|
72
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0,10)),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,159 @@
|
|
|
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 `uk-evisa-lookup` Provider which do not directly map to the normalized IdentityData model.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UnitedKingdomEvisaProviderOutput
|
|
20
|
+
*/
|
|
21
|
+
export interface UnitedKingdomEvisaProviderOutput {
|
|
22
|
+
/**
|
|
23
|
+
* The first name of the individual as recorded on the eVisa.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
26
|
+
*/
|
|
27
|
+
firstName?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* The last name of the individual as recorded on the eVisa.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
32
|
+
*/
|
|
33
|
+
lastName?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
* The date of birth of the individual.
|
|
36
|
+
* @type {Date}
|
|
37
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
38
|
+
*/
|
|
39
|
+
dateOfBirth?: Date | null;
|
|
40
|
+
/**
|
|
41
|
+
* The 9-character share code used for the verification.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
44
|
+
*/
|
|
45
|
+
shareCode?: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* The eVisa reference number issued by UK Visas and Immigration (UKVI).
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
50
|
+
*/
|
|
51
|
+
referenceNumber?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* The expiration date of the eVisa. Only present for immigration_status verifications.
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
56
|
+
*/
|
|
57
|
+
expirationDate?: Date | null;
|
|
58
|
+
/**
|
|
59
|
+
* The start date from which the eVisa is valid. Only returned for immigration_status and right_to_rent verifications — not returned for right_to_work.
|
|
60
|
+
* @type {Date}
|
|
61
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
62
|
+
*/
|
|
63
|
+
validFrom?: Date | null;
|
|
64
|
+
/**
|
|
65
|
+
* The nationality of the individual as recorded on the eVisa. Only present for immigration_status verifications.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
68
|
+
*/
|
|
69
|
+
nationality?: string | null;
|
|
70
|
+
/**
|
|
71
|
+
* The immigration status of the individual. Only present for immigration_status verifications.
|
|
72
|
+
* This is a personalized record for each individual, and there is no single definitive list.
|
|
73
|
+
* Some common values:
|
|
74
|
+
* - Settled
|
|
75
|
+
* - Pre-settled
|
|
76
|
+
* - Student
|
|
77
|
+
* - Graduate
|
|
78
|
+
* - Youth Mobility
|
|
79
|
+
* - Global Talent
|
|
80
|
+
* - Skilled Worker
|
|
81
|
+
* - Limited leave
|
|
82
|
+
* @type {string}
|
|
83
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
84
|
+
*/
|
|
85
|
+
immigrationStatus?: string | null;
|
|
86
|
+
/**
|
|
87
|
+
* Overall verification outcome: "pass" or "fail".
|
|
88
|
+
* @type {string}
|
|
89
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
90
|
+
*/
|
|
91
|
+
outcome?: string | null;
|
|
92
|
+
/**
|
|
93
|
+
* Type of verification.
|
|
94
|
+
* List of possible values:
|
|
95
|
+
* - immigration_status
|
|
96
|
+
* - right_to_work
|
|
97
|
+
* - right_to_rent
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof UnitedKingdomEvisaProviderOutput
|
|
100
|
+
*/
|
|
101
|
+
evidenceType?: string | null;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Check if a given object implements the UnitedKingdomEvisaProviderOutput interface.
|
|
106
|
+
*/
|
|
107
|
+
export function instanceOfUnitedKingdomEvisaProviderOutput(value: object): value is UnitedKingdomEvisaProviderOutput {
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export function UnitedKingdomEvisaProviderOutputFromJSON(json: any): UnitedKingdomEvisaProviderOutput {
|
|
112
|
+
return UnitedKingdomEvisaProviderOutputFromJSONTyped(json, false);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export function UnitedKingdomEvisaProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitedKingdomEvisaProviderOutput {
|
|
116
|
+
if (json == null) {
|
|
117
|
+
return json;
|
|
118
|
+
}
|
|
119
|
+
return {
|
|
120
|
+
|
|
121
|
+
'firstName': json['firstName'] == null ? undefined : json['firstName'],
|
|
122
|
+
'lastName': json['lastName'] == null ? undefined : json['lastName'],
|
|
123
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
124
|
+
'shareCode': json['shareCode'] == null ? undefined : json['shareCode'],
|
|
125
|
+
'referenceNumber': json['referenceNumber'] == null ? undefined : json['referenceNumber'],
|
|
126
|
+
'expirationDate': json['expirationDate'] == null ? undefined : (new Date(json['expirationDate'])),
|
|
127
|
+
'validFrom': json['validFrom'] == null ? undefined : (new Date(json['validFrom'])),
|
|
128
|
+
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
129
|
+
'immigrationStatus': json['immigrationStatus'] == null ? undefined : json['immigrationStatus'],
|
|
130
|
+
'outcome': json['outcome'] == null ? undefined : json['outcome'],
|
|
131
|
+
'evidenceType': json['evidenceType'] == null ? undefined : json['evidenceType'],
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function UnitedKingdomEvisaProviderOutputToJSON(json: any): UnitedKingdomEvisaProviderOutput {
|
|
136
|
+
return UnitedKingdomEvisaProviderOutputToJSONTyped(json, false);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
export function UnitedKingdomEvisaProviderOutputToJSONTyped(value?: UnitedKingdomEvisaProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
140
|
+
if (value == null) {
|
|
141
|
+
return value;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
return {
|
|
145
|
+
|
|
146
|
+
'firstName': value['firstName'],
|
|
147
|
+
'lastName': value['lastName'],
|
|
148
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
149
|
+
'shareCode': value['shareCode'],
|
|
150
|
+
'referenceNumber': value['referenceNumber'],
|
|
151
|
+
'expirationDate': value['expirationDate'] == null ? undefined : ((value['expirationDate'] as any).toISOString().substring(0,10)),
|
|
152
|
+
'validFrom': value['validFrom'] == null ? undefined : ((value['validFrom'] as any).toISOString().substring(0,10)),
|
|
153
|
+
'nationality': value['nationality'],
|
|
154
|
+
'immigrationStatus': value['immigrationStatus'],
|
|
155
|
+
'outcome': value['outcome'],
|
|
156
|
+
'evidenceType': value['evidenceType'],
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
|
|
@@ -55,6 +55,12 @@ export interface VerificationProfileResponse {
|
|
|
55
55
|
* @memberof VerificationProfileResponse
|
|
56
56
|
*/
|
|
57
57
|
enabledProviders: Array<string>;
|
|
58
|
+
/**
|
|
59
|
+
* The session expiration for verification sessions created with this profile.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof VerificationProfileResponse
|
|
62
|
+
*/
|
|
63
|
+
sessionExpiration: string;
|
|
58
64
|
/**
|
|
59
65
|
* Whether this profile is for production usage. Only applicable for Live environment profiles.
|
|
60
66
|
* @type {boolean}
|
|
@@ -73,6 +79,7 @@ export function instanceOfVerificationProfileResponse(value: object): value is V
|
|
|
73
79
|
if (!('logoUrl' in value) || value['logoUrl'] === undefined) return false;
|
|
74
80
|
if (!('primaryColor' in value) || value['primaryColor'] === undefined) return false;
|
|
75
81
|
if (!('enabledProviders' in value) || value['enabledProviders'] === undefined) return false;
|
|
82
|
+
if (!('sessionExpiration' in value) || value['sessionExpiration'] === undefined) return false;
|
|
76
83
|
if (!('isProductionUsage' in value) || value['isProductionUsage'] === undefined) return false;
|
|
77
84
|
return true;
|
|
78
85
|
}
|
|
@@ -93,6 +100,7 @@ export function VerificationProfileResponseFromJSONTyped(json: any, ignoreDiscri
|
|
|
93
100
|
'logoUrl': json['logoUrl'],
|
|
94
101
|
'primaryColor': json['primaryColor'],
|
|
95
102
|
'enabledProviders': json['enabledProviders'],
|
|
103
|
+
'sessionExpiration': json['sessionExpiration'],
|
|
96
104
|
'isProductionUsage': json['isProductionUsage'],
|
|
97
105
|
};
|
|
98
106
|
}
|
|
@@ -114,6 +122,7 @@ export function VerificationProfileResponseToJSONTyped(value?: VerificationProfi
|
|
|
114
122
|
'logoUrl': value['logoUrl'],
|
|
115
123
|
'primaryColor': value['primaryColor'],
|
|
116
124
|
'enabledProviders': value['enabledProviders'],
|
|
125
|
+
'sessionExpiration': value['sessionExpiration'],
|
|
117
126
|
'isProductionUsage': value['isProductionUsage'],
|
|
118
127
|
};
|
|
119
128
|
}
|
|
@@ -0,0 +1,180 @@
|
|
|
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 { YotiStructuredPostalAddress } from './YotiStructuredPostalAddress';
|
|
17
|
+
import {
|
|
18
|
+
YotiStructuredPostalAddressFromJSON,
|
|
19
|
+
YotiStructuredPostalAddressFromJSONTyped,
|
|
20
|
+
YotiStructuredPostalAddressToJSON,
|
|
21
|
+
YotiStructuredPostalAddressToJSONTyped,
|
|
22
|
+
} from './YotiStructuredPostalAddress';
|
|
23
|
+
import type { YotiDocumentDetails } from './YotiDocumentDetails';
|
|
24
|
+
import {
|
|
25
|
+
YotiDocumentDetailsFromJSON,
|
|
26
|
+
YotiDocumentDetailsFromJSONTyped,
|
|
27
|
+
YotiDocumentDetailsToJSON,
|
|
28
|
+
YotiDocumentDetailsToJSONTyped,
|
|
29
|
+
} from './YotiDocumentDetails';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Exposed properties for the `yoti-deeplink` Provider which do not directly map to the normalized IdentityData model.
|
|
33
|
+
* @export
|
|
34
|
+
* @interface YotiDeeplinkProviderOutput
|
|
35
|
+
*/
|
|
36
|
+
export interface YotiDeeplinkProviderOutput {
|
|
37
|
+
/**
|
|
38
|
+
* The unique id for your service of the individual. This is not shared between different services so if the user logs into a different service, the user will have a new id for the other service.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
41
|
+
*/
|
|
42
|
+
rememberMeId?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The email address of the individual
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
47
|
+
*/
|
|
48
|
+
email?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* The given name of the individual. This can correspond to first and middle names in English.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
53
|
+
*/
|
|
54
|
+
givenName?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* The family name of the individual
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
59
|
+
*/
|
|
60
|
+
familyName?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* Full name of the individual which is composed of the given and family name.
|
|
63
|
+
* Unverified full name may be safe to use. For example, Aadhaar card provides full name, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
66
|
+
*/
|
|
67
|
+
fullName?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* The date of birth of the individual.
|
|
70
|
+
* Unverified date of birth may be safe to use. For example, Aadhaar card provides date of birth, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
71
|
+
* @type {Date}
|
|
72
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
73
|
+
*/
|
|
74
|
+
dateOfBirth?: Date | null;
|
|
75
|
+
/**
|
|
76
|
+
* The gender of the individual. Depending on the source or country, gender may not be verified. This is a setting that can be configured while setting up scopes.
|
|
77
|
+
*
|
|
78
|
+
* Unverified gender may be safe to use. For example, Aadhaar card provides gender, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
79
|
+
* In some countries
|
|
80
|
+
* Possible values:
|
|
81
|
+
* - "MALE"
|
|
82
|
+
* - "FEMALE"
|
|
83
|
+
* - "TRANSGENDER"
|
|
84
|
+
* - "OTHER"
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
87
|
+
*/
|
|
88
|
+
gender?: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* The nationality of the individual as a ISO alpha-3 code
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
93
|
+
*/
|
|
94
|
+
nationality?: string | null;
|
|
95
|
+
/**
|
|
96
|
+
* The mobile phone number of the individual. This number was verified with a one time password (OTP) during the user's registration with Yoti. In some cases, Yoti may do additional checks against its sources to confirm the user's identity.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
99
|
+
*/
|
|
100
|
+
mobileNumber?: string | null;
|
|
101
|
+
/**
|
|
102
|
+
* A structured postal address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified".
|
|
103
|
+
* Unverified addresses may be safe to use. For example, Aadhaar card provides an address, but due to certain limitations of verifying Aadhaar, Yoti is unable to verify this property so it is listed as "unverified".
|
|
104
|
+
* @type {YotiStructuredPostalAddress}
|
|
105
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
106
|
+
*/
|
|
107
|
+
structuredPostalAddress?: YotiStructuredPostalAddress | null;
|
|
108
|
+
/**
|
|
109
|
+
* The whole address for the individual that comes from the underlying document or can be manually added. In the case of being manually added, the address is considered "unverified". The format of this will be different for each country.
|
|
110
|
+
* Refer to `StructuredPostalAddress` for a detailed version of the address.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
113
|
+
*/
|
|
114
|
+
postalAddress?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* The details of the underlying document used to help create the Yoti credential
|
|
117
|
+
* @type {YotiDocumentDetails}
|
|
118
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
119
|
+
*/
|
|
120
|
+
documentDetails?: YotiDocumentDetails | null;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the YotiDeeplinkProviderOutput interface.
|
|
125
|
+
*/
|
|
126
|
+
export function instanceOfYotiDeeplinkProviderOutput(value: object): value is YotiDeeplinkProviderOutput {
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function YotiDeeplinkProviderOutputFromJSON(json: any): YotiDeeplinkProviderOutput {
|
|
131
|
+
return YotiDeeplinkProviderOutputFromJSONTyped(json, false);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export function YotiDeeplinkProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): YotiDeeplinkProviderOutput {
|
|
135
|
+
if (json == null) {
|
|
136
|
+
return json;
|
|
137
|
+
}
|
|
138
|
+
return {
|
|
139
|
+
|
|
140
|
+
'rememberMeId': json['rememberMeId'] == null ? undefined : json['rememberMeId'],
|
|
141
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
142
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
143
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
144
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
145
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
146
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
147
|
+
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
148
|
+
'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
|
|
149
|
+
'structuredPostalAddress': json['structuredPostalAddress'] == null ? undefined : YotiStructuredPostalAddressFromJSON(json['structuredPostalAddress']),
|
|
150
|
+
'postalAddress': json['postalAddress'] == null ? undefined : json['postalAddress'],
|
|
151
|
+
'documentDetails': json['documentDetails'] == null ? undefined : YotiDocumentDetailsFromJSON(json['documentDetails']),
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export function YotiDeeplinkProviderOutputToJSON(json: any): YotiDeeplinkProviderOutput {
|
|
156
|
+
return YotiDeeplinkProviderOutputToJSONTyped(json, false);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export function YotiDeeplinkProviderOutputToJSONTyped(value?: YotiDeeplinkProviderOutput | null, ignoreDiscriminator: boolean = false): any {
|
|
160
|
+
if (value == null) {
|
|
161
|
+
return value;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return {
|
|
165
|
+
|
|
166
|
+
'rememberMeId': value['rememberMeId'],
|
|
167
|
+
'email': value['email'],
|
|
168
|
+
'givenName': value['givenName'],
|
|
169
|
+
'familyName': value['familyName'],
|
|
170
|
+
'fullName': value['fullName'],
|
|
171
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
172
|
+
'gender': value['gender'],
|
|
173
|
+
'nationality': value['nationality'],
|
|
174
|
+
'mobileNumber': value['mobileNumber'],
|
|
175
|
+
'structuredPostalAddress': YotiStructuredPostalAddressToJSON(value['structuredPostalAddress']),
|
|
176
|
+
'postalAddress': value['postalAddress'],
|
|
177
|
+
'documentDetails': YotiDocumentDetailsToJSON(value['documentDetails']),
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './AadhaarClaims';
|
|
3
4
|
export * from './AadhaarInput';
|
|
5
|
+
export * from './AadhaarLanguage';
|
|
6
|
+
export * from './AadhaarLocalizedClaims';
|
|
4
7
|
export * from './AddRedirectUriRequest';
|
|
5
8
|
export * from './AddRedirectUriResponse';
|
|
6
9
|
export * from './Address';
|
|
@@ -13,6 +16,10 @@ export * from './BelgiumIdCardProviderOutput';
|
|
|
13
16
|
export * from './BrazilCpfCheckInput';
|
|
14
17
|
export * from './BrazilDigitalCnhInput';
|
|
15
18
|
export * from './CancelSessionResponse';
|
|
19
|
+
export * from './ConnectIdAddress';
|
|
20
|
+
export * from './ConnectIdAgeVerification';
|
|
21
|
+
export * from './ConnectIdBeneficiaryAccount';
|
|
22
|
+
export * from './ConnectIdProviderOutput';
|
|
16
23
|
export * from './ContractAttachment';
|
|
17
24
|
export * from './ContractAttribute';
|
|
18
25
|
export * from './CoteDIvoireNidLookup2Input';
|
|
@@ -23,12 +30,19 @@ export * from './CreateHostedProviderSessionResponse';
|
|
|
23
30
|
export * from './CreateVerificationProfileResponse';
|
|
24
31
|
export * from './CreateWidgetSessionRequest';
|
|
25
32
|
export * from './CreateWidgetSessionResponse';
|
|
33
|
+
export * from './CzechMojeIdAddressOutput';
|
|
34
|
+
export * from './CzechMojeIdProviderOutput';
|
|
26
35
|
export * from './CzechiaMojeIdProviderOutput';
|
|
36
|
+
export * from './DigilockerAadhaarProviderOutput';
|
|
27
37
|
export * from './DocumentData';
|
|
28
38
|
export * from './DocumentType';
|
|
29
39
|
export * from './EstoniaIdCardProviderOutput';
|
|
30
40
|
export * from './FaydaProviderOutput';
|
|
31
41
|
export * from './FinlandIdCardProviderOutput';
|
|
42
|
+
export * from './FinnishTrustNetworkProviderOutput';
|
|
43
|
+
export * from './FranceIdentiteInput';
|
|
44
|
+
export * from './FranceIdentiteProviderOutput';
|
|
45
|
+
export * from './FrejaIndirectProviderOutput';
|
|
32
46
|
export * from './FrejaProviderOutput';
|
|
33
47
|
export * from './FrenchNumeriqueGivenName';
|
|
34
48
|
export * from './FrenchNumeriqueNationality';
|
|
@@ -36,6 +50,7 @@ export * from './FrenchNumeriquePhone';
|
|
|
36
50
|
export * from './FrenchNumeriqueProviderOutput';
|
|
37
51
|
export * from './GetAttachmentRequest';
|
|
38
52
|
export * from './GetAttachmentResponse';
|
|
53
|
+
export * from './GetProviderResponse';
|
|
39
54
|
export * from './GetSessionResponse';
|
|
40
55
|
export * from './GetSessionResultRequest';
|
|
41
56
|
export * from './GetSessionResultResponse';
|
|
@@ -82,9 +97,15 @@ export * from './MobileIdProviderOutput';
|
|
|
82
97
|
export * from './NigeriaNinBiometric2Input';
|
|
83
98
|
export * from './NigeriaNinInput';
|
|
84
99
|
export * from './NigeriaNinLookup2Input';
|
|
100
|
+
export * from './NigeriaNinLookup2ProviderOutput';
|
|
85
101
|
export * from './NigeriaNinMatch2Input';
|
|
86
102
|
export * from './NigeriaNinMatch2InputSex';
|
|
103
|
+
export * from './NorwegianBankIdProviderOutput';
|
|
104
|
+
export * from './OneIdProviderAddress';
|
|
105
|
+
export * from './OneIdProviderOutput';
|
|
87
106
|
export * from './OrderDirection';
|
|
107
|
+
export * from './OutputFrejaAddress';
|
|
108
|
+
export * from './OutputFrejaDocument';
|
|
88
109
|
export * from './PersonData';
|
|
89
110
|
export * from './PeruDniAddress';
|
|
90
111
|
export * from './PeruDniLookupInput';
|
|
@@ -102,6 +123,8 @@ export * from './Provider';
|
|
|
102
123
|
export * from './ProviderHealth';
|
|
103
124
|
export * from './ProviderInput';
|
|
104
125
|
export * from './ProviderOutput';
|
|
126
|
+
export * from './Raw18013DocumentRequest';
|
|
127
|
+
export * from './Raw18013RequestInput';
|
|
105
128
|
export * from './RecommendProviderHealthOption';
|
|
106
129
|
export * from './RecommendProviderInformation';
|
|
107
130
|
export * from './RecommendProvidersRequest';
|
|
@@ -112,6 +135,7 @@ export * from './RefreshStepContentRequest';
|
|
|
112
135
|
export * from './RefreshStepContentResponse';
|
|
113
136
|
export * from './ResultCollection';
|
|
114
137
|
export * from './ResultCollectionMethod';
|
|
138
|
+
export * from './SamsungWalletInput';
|
|
115
139
|
export * from './SamsungWalletProviderOutput';
|
|
116
140
|
export * from './SerbiaIdCardProviderOutput';
|
|
117
141
|
export * from './Session';
|
|
@@ -136,7 +160,10 @@ export * from './SwedenBankIdProviderOutput';
|
|
|
136
160
|
export * from './TrinsicTestDatabaseLookupInput';
|
|
137
161
|
export * from './TrinsicTestSubProvidersInput';
|
|
138
162
|
export * from './UgandaNidMatch2Input';
|
|
163
|
+
export * from './UkEvisaLookupInput';
|
|
164
|
+
export * from './UnitedKingdomEvisaProviderOutput';
|
|
139
165
|
export * from './VerificationProfileResponse';
|
|
166
|
+
export * from './YotiDeeplinkProviderOutput';
|
|
140
167
|
export * from './YotiDocumentDetails';
|
|
141
168
|
export * from './YotiProviderOutput';
|
|
142
169
|
export * from './YotiStructuredPostalAddress';
|