@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,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfYotiDeeplinkProviderOutput = instanceOfYotiDeeplinkProviderOutput;
|
|
17
|
+
exports.YotiDeeplinkProviderOutputFromJSON = YotiDeeplinkProviderOutputFromJSON;
|
|
18
|
+
exports.YotiDeeplinkProviderOutputFromJSONTyped = YotiDeeplinkProviderOutputFromJSONTyped;
|
|
19
|
+
exports.YotiDeeplinkProviderOutputToJSON = YotiDeeplinkProviderOutputToJSON;
|
|
20
|
+
exports.YotiDeeplinkProviderOutputToJSONTyped = YotiDeeplinkProviderOutputToJSONTyped;
|
|
21
|
+
const YotiStructuredPostalAddress_1 = require("./YotiStructuredPostalAddress");
|
|
22
|
+
const YotiDocumentDetails_1 = require("./YotiDocumentDetails");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the YotiDeeplinkProviderOutput interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfYotiDeeplinkProviderOutput(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function YotiDeeplinkProviderOutputFromJSON(json) {
|
|
30
|
+
return YotiDeeplinkProviderOutputFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function YotiDeeplinkProviderOutputFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'rememberMeId': json['rememberMeId'] == null ? undefined : json['rememberMeId'],
|
|
38
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
39
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
40
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
41
|
+
'fullName': json['fullName'] == null ? undefined : json['fullName'],
|
|
42
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
43
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
44
|
+
'nationality': json['nationality'] == null ? undefined : json['nationality'],
|
|
45
|
+
'mobileNumber': json['mobileNumber'] == null ? undefined : json['mobileNumber'],
|
|
46
|
+
'structuredPostalAddress': json['structuredPostalAddress'] == null ? undefined : (0, YotiStructuredPostalAddress_1.YotiStructuredPostalAddressFromJSON)(json['structuredPostalAddress']),
|
|
47
|
+
'postalAddress': json['postalAddress'] == null ? undefined : json['postalAddress'],
|
|
48
|
+
'documentDetails': json['documentDetails'] == null ? undefined : (0, YotiDocumentDetails_1.YotiDocumentDetailsFromJSON)(json['documentDetails']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function YotiDeeplinkProviderOutputToJSON(json) {
|
|
52
|
+
return YotiDeeplinkProviderOutputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
function YotiDeeplinkProviderOutputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
55
|
+
if (value == null) {
|
|
56
|
+
return value;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'rememberMeId': value['rememberMeId'],
|
|
60
|
+
'email': value['email'],
|
|
61
|
+
'givenName': value['givenName'],
|
|
62
|
+
'familyName': value['familyName'],
|
|
63
|
+
'fullName': value['fullName'],
|
|
64
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : (value['dateOfBirth'].toISOString().substring(0, 10)),
|
|
65
|
+
'gender': value['gender'],
|
|
66
|
+
'nationality': value['nationality'],
|
|
67
|
+
'mobileNumber': value['mobileNumber'],
|
|
68
|
+
'structuredPostalAddress': (0, YotiStructuredPostalAddress_1.YotiStructuredPostalAddressToJSON)(value['structuredPostalAddress']),
|
|
69
|
+
'postalAddress': value['postalAddress'],
|
|
70
|
+
'documentDetails': (0, YotiDocumentDetails_1.YotiDocumentDetailsToJSON)(value['documentDetails']),
|
|
71
|
+
};
|
|
72
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
export * from './AadhaarClaims';
|
|
1
2
|
export * from './AadhaarInput';
|
|
3
|
+
export * from './AadhaarLanguage';
|
|
4
|
+
export * from './AadhaarLocalizedClaims';
|
|
2
5
|
export * from './AddRedirectUriRequest';
|
|
3
6
|
export * from './AddRedirectUriResponse';
|
|
4
7
|
export * from './Address';
|
|
@@ -11,6 +14,10 @@ export * from './BelgiumIdCardProviderOutput';
|
|
|
11
14
|
export * from './BrazilCpfCheckInput';
|
|
12
15
|
export * from './BrazilDigitalCnhInput';
|
|
13
16
|
export * from './CancelSessionResponse';
|
|
17
|
+
export * from './ConnectIdAddress';
|
|
18
|
+
export * from './ConnectIdAgeVerification';
|
|
19
|
+
export * from './ConnectIdBeneficiaryAccount';
|
|
20
|
+
export * from './ConnectIdProviderOutput';
|
|
14
21
|
export * from './ContractAttachment';
|
|
15
22
|
export * from './ContractAttribute';
|
|
16
23
|
export * from './CoteDIvoireNidLookup2Input';
|
|
@@ -21,12 +28,19 @@ export * from './CreateHostedProviderSessionResponse';
|
|
|
21
28
|
export * from './CreateVerificationProfileResponse';
|
|
22
29
|
export * from './CreateWidgetSessionRequest';
|
|
23
30
|
export * from './CreateWidgetSessionResponse';
|
|
31
|
+
export * from './CzechMojeIdAddressOutput';
|
|
32
|
+
export * from './CzechMojeIdProviderOutput';
|
|
24
33
|
export * from './CzechiaMojeIdProviderOutput';
|
|
34
|
+
export * from './DigilockerAadhaarProviderOutput';
|
|
25
35
|
export * from './DocumentData';
|
|
26
36
|
export * from './DocumentType';
|
|
27
37
|
export * from './EstoniaIdCardProviderOutput';
|
|
28
38
|
export * from './FaydaProviderOutput';
|
|
29
39
|
export * from './FinlandIdCardProviderOutput';
|
|
40
|
+
export * from './FinnishTrustNetworkProviderOutput';
|
|
41
|
+
export * from './FranceIdentiteInput';
|
|
42
|
+
export * from './FranceIdentiteProviderOutput';
|
|
43
|
+
export * from './FrejaIndirectProviderOutput';
|
|
30
44
|
export * from './FrejaProviderOutput';
|
|
31
45
|
export * from './FrenchNumeriqueGivenName';
|
|
32
46
|
export * from './FrenchNumeriqueNationality';
|
|
@@ -34,6 +48,7 @@ export * from './FrenchNumeriquePhone';
|
|
|
34
48
|
export * from './FrenchNumeriqueProviderOutput';
|
|
35
49
|
export * from './GetAttachmentRequest';
|
|
36
50
|
export * from './GetAttachmentResponse';
|
|
51
|
+
export * from './GetProviderResponse';
|
|
37
52
|
export * from './GetSessionResponse';
|
|
38
53
|
export * from './GetSessionResultRequest';
|
|
39
54
|
export * from './GetSessionResultResponse';
|
|
@@ -50,7 +65,9 @@ export * from './IntegrationStep';
|
|
|
50
65
|
export * from './ItsmeProviderOutput';
|
|
51
66
|
export * from './KenyaNidBiometric2Input';
|
|
52
67
|
export * from './KenyaNidInput';
|
|
68
|
+
export * from './KenyaNidLookup2Address';
|
|
53
69
|
export * from './KenyaNidLookup2Input';
|
|
70
|
+
export * from './KenyaNidLookup2ProviderOutput';
|
|
54
71
|
export * from './KenyaNidMatch2Input';
|
|
55
72
|
export * from './KenyaNidMatch2InputSex';
|
|
56
73
|
export * from './LaWalletProviderOutput';
|
|
@@ -78,9 +95,15 @@ export * from './MobileIdProviderOutput';
|
|
|
78
95
|
export * from './NigeriaNinBiometric2Input';
|
|
79
96
|
export * from './NigeriaNinInput';
|
|
80
97
|
export * from './NigeriaNinLookup2Input';
|
|
98
|
+
export * from './NigeriaNinLookup2ProviderOutput';
|
|
81
99
|
export * from './NigeriaNinMatch2Input';
|
|
82
100
|
export * from './NigeriaNinMatch2InputSex';
|
|
101
|
+
export * from './NorwegianBankIdProviderOutput';
|
|
102
|
+
export * from './OneIdProviderAddress';
|
|
103
|
+
export * from './OneIdProviderOutput';
|
|
83
104
|
export * from './OrderDirection';
|
|
105
|
+
export * from './OutputFrejaAddress';
|
|
106
|
+
export * from './OutputFrejaDocument';
|
|
84
107
|
export * from './PersonData';
|
|
85
108
|
export * from './PeruDniAddress';
|
|
86
109
|
export * from './PeruDniLookupInput';
|
|
@@ -98,6 +121,8 @@ export * from './Provider';
|
|
|
98
121
|
export * from './ProviderHealth';
|
|
99
122
|
export * from './ProviderInput';
|
|
100
123
|
export * from './ProviderOutput';
|
|
124
|
+
export * from './Raw18013DocumentRequest';
|
|
125
|
+
export * from './Raw18013RequestInput';
|
|
101
126
|
export * from './RecommendProviderHealthOption';
|
|
102
127
|
export * from './RecommendProviderInformation';
|
|
103
128
|
export * from './RecommendProvidersRequest';
|
|
@@ -108,6 +133,7 @@ export * from './RefreshStepContentRequest';
|
|
|
108
133
|
export * from './RefreshStepContentResponse';
|
|
109
134
|
export * from './ResultCollection';
|
|
110
135
|
export * from './ResultCollectionMethod';
|
|
136
|
+
export * from './SamsungWalletInput';
|
|
111
137
|
export * from './SamsungWalletProviderOutput';
|
|
112
138
|
export * from './SerbiaIdCardProviderOutput';
|
|
113
139
|
export * from './Session';
|
|
@@ -132,7 +158,10 @@ export * from './SwedenBankIdProviderOutput';
|
|
|
132
158
|
export * from './TrinsicTestDatabaseLookupInput';
|
|
133
159
|
export * from './TrinsicTestSubProvidersInput';
|
|
134
160
|
export * from './UgandaNidMatch2Input';
|
|
161
|
+
export * from './UkEvisaLookupInput';
|
|
162
|
+
export * from './UnitedKingdomEvisaProviderOutput';
|
|
135
163
|
export * from './VerificationProfileResponse';
|
|
164
|
+
export * from './YotiDeeplinkProviderOutput';
|
|
136
165
|
export * from './YotiDocumentDetails';
|
|
137
166
|
export * from './YotiProviderOutput';
|
|
138
167
|
export * from './YotiStructuredPostalAddress';
|
package/dist/models/index.js
CHANGED
|
@@ -16,7 +16,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
/* tslint:disable */
|
|
18
18
|
/* eslint-disable */
|
|
19
|
+
__exportStar(require("./AadhaarClaims"), exports);
|
|
19
20
|
__exportStar(require("./AadhaarInput"), exports);
|
|
21
|
+
__exportStar(require("./AadhaarLanguage"), exports);
|
|
22
|
+
__exportStar(require("./AadhaarLocalizedClaims"), exports);
|
|
20
23
|
__exportStar(require("./AddRedirectUriRequest"), exports);
|
|
21
24
|
__exportStar(require("./AddRedirectUriResponse"), exports);
|
|
22
25
|
__exportStar(require("./Address"), exports);
|
|
@@ -29,6 +32,10 @@ __exportStar(require("./BelgiumIdCardProviderOutput"), exports);
|
|
|
29
32
|
__exportStar(require("./BrazilCpfCheckInput"), exports);
|
|
30
33
|
__exportStar(require("./BrazilDigitalCnhInput"), exports);
|
|
31
34
|
__exportStar(require("./CancelSessionResponse"), exports);
|
|
35
|
+
__exportStar(require("./ConnectIdAddress"), exports);
|
|
36
|
+
__exportStar(require("./ConnectIdAgeVerification"), exports);
|
|
37
|
+
__exportStar(require("./ConnectIdBeneficiaryAccount"), exports);
|
|
38
|
+
__exportStar(require("./ConnectIdProviderOutput"), exports);
|
|
32
39
|
__exportStar(require("./ContractAttachment"), exports);
|
|
33
40
|
__exportStar(require("./ContractAttribute"), exports);
|
|
34
41
|
__exportStar(require("./CoteDIvoireNidLookup2Input"), exports);
|
|
@@ -39,12 +46,19 @@ __exportStar(require("./CreateHostedProviderSessionResponse"), exports);
|
|
|
39
46
|
__exportStar(require("./CreateVerificationProfileResponse"), exports);
|
|
40
47
|
__exportStar(require("./CreateWidgetSessionRequest"), exports);
|
|
41
48
|
__exportStar(require("./CreateWidgetSessionResponse"), exports);
|
|
49
|
+
__exportStar(require("./CzechMojeIdAddressOutput"), exports);
|
|
50
|
+
__exportStar(require("./CzechMojeIdProviderOutput"), exports);
|
|
42
51
|
__exportStar(require("./CzechiaMojeIdProviderOutput"), exports);
|
|
52
|
+
__exportStar(require("./DigilockerAadhaarProviderOutput"), exports);
|
|
43
53
|
__exportStar(require("./DocumentData"), exports);
|
|
44
54
|
__exportStar(require("./DocumentType"), exports);
|
|
45
55
|
__exportStar(require("./EstoniaIdCardProviderOutput"), exports);
|
|
46
56
|
__exportStar(require("./FaydaProviderOutput"), exports);
|
|
47
57
|
__exportStar(require("./FinlandIdCardProviderOutput"), exports);
|
|
58
|
+
__exportStar(require("./FinnishTrustNetworkProviderOutput"), exports);
|
|
59
|
+
__exportStar(require("./FranceIdentiteInput"), exports);
|
|
60
|
+
__exportStar(require("./FranceIdentiteProviderOutput"), exports);
|
|
61
|
+
__exportStar(require("./FrejaIndirectProviderOutput"), exports);
|
|
48
62
|
__exportStar(require("./FrejaProviderOutput"), exports);
|
|
49
63
|
__exportStar(require("./FrenchNumeriqueGivenName"), exports);
|
|
50
64
|
__exportStar(require("./FrenchNumeriqueNationality"), exports);
|
|
@@ -52,6 +66,7 @@ __exportStar(require("./FrenchNumeriquePhone"), exports);
|
|
|
52
66
|
__exportStar(require("./FrenchNumeriqueProviderOutput"), exports);
|
|
53
67
|
__exportStar(require("./GetAttachmentRequest"), exports);
|
|
54
68
|
__exportStar(require("./GetAttachmentResponse"), exports);
|
|
69
|
+
__exportStar(require("./GetProviderResponse"), exports);
|
|
55
70
|
__exportStar(require("./GetSessionResponse"), exports);
|
|
56
71
|
__exportStar(require("./GetSessionResultRequest"), exports);
|
|
57
72
|
__exportStar(require("./GetSessionResultResponse"), exports);
|
|
@@ -68,7 +83,9 @@ __exportStar(require("./IntegrationStep"), exports);
|
|
|
68
83
|
__exportStar(require("./ItsmeProviderOutput"), exports);
|
|
69
84
|
__exportStar(require("./KenyaNidBiometric2Input"), exports);
|
|
70
85
|
__exportStar(require("./KenyaNidInput"), exports);
|
|
86
|
+
__exportStar(require("./KenyaNidLookup2Address"), exports);
|
|
71
87
|
__exportStar(require("./KenyaNidLookup2Input"), exports);
|
|
88
|
+
__exportStar(require("./KenyaNidLookup2ProviderOutput"), exports);
|
|
72
89
|
__exportStar(require("./KenyaNidMatch2Input"), exports);
|
|
73
90
|
__exportStar(require("./KenyaNidMatch2InputSex"), exports);
|
|
74
91
|
__exportStar(require("./LaWalletProviderOutput"), exports);
|
|
@@ -96,9 +113,15 @@ __exportStar(require("./MobileIdProviderOutput"), exports);
|
|
|
96
113
|
__exportStar(require("./NigeriaNinBiometric2Input"), exports);
|
|
97
114
|
__exportStar(require("./NigeriaNinInput"), exports);
|
|
98
115
|
__exportStar(require("./NigeriaNinLookup2Input"), exports);
|
|
116
|
+
__exportStar(require("./NigeriaNinLookup2ProviderOutput"), exports);
|
|
99
117
|
__exportStar(require("./NigeriaNinMatch2Input"), exports);
|
|
100
118
|
__exportStar(require("./NigeriaNinMatch2InputSex"), exports);
|
|
119
|
+
__exportStar(require("./NorwegianBankIdProviderOutput"), exports);
|
|
120
|
+
__exportStar(require("./OneIdProviderAddress"), exports);
|
|
121
|
+
__exportStar(require("./OneIdProviderOutput"), exports);
|
|
101
122
|
__exportStar(require("./OrderDirection"), exports);
|
|
123
|
+
__exportStar(require("./OutputFrejaAddress"), exports);
|
|
124
|
+
__exportStar(require("./OutputFrejaDocument"), exports);
|
|
102
125
|
__exportStar(require("./PersonData"), exports);
|
|
103
126
|
__exportStar(require("./PeruDniAddress"), exports);
|
|
104
127
|
__exportStar(require("./PeruDniLookupInput"), exports);
|
|
@@ -116,6 +139,8 @@ __exportStar(require("./Provider"), exports);
|
|
|
116
139
|
__exportStar(require("./ProviderHealth"), exports);
|
|
117
140
|
__exportStar(require("./ProviderInput"), exports);
|
|
118
141
|
__exportStar(require("./ProviderOutput"), exports);
|
|
142
|
+
__exportStar(require("./Raw18013DocumentRequest"), exports);
|
|
143
|
+
__exportStar(require("./Raw18013RequestInput"), exports);
|
|
119
144
|
__exportStar(require("./RecommendProviderHealthOption"), exports);
|
|
120
145
|
__exportStar(require("./RecommendProviderInformation"), exports);
|
|
121
146
|
__exportStar(require("./RecommendProvidersRequest"), exports);
|
|
@@ -126,6 +151,7 @@ __exportStar(require("./RefreshStepContentRequest"), exports);
|
|
|
126
151
|
__exportStar(require("./RefreshStepContentResponse"), exports);
|
|
127
152
|
__exportStar(require("./ResultCollection"), exports);
|
|
128
153
|
__exportStar(require("./ResultCollectionMethod"), exports);
|
|
154
|
+
__exportStar(require("./SamsungWalletInput"), exports);
|
|
129
155
|
__exportStar(require("./SamsungWalletProviderOutput"), exports);
|
|
130
156
|
__exportStar(require("./SerbiaIdCardProviderOutput"), exports);
|
|
131
157
|
__exportStar(require("./Session"), exports);
|
|
@@ -150,7 +176,10 @@ __exportStar(require("./SwedenBankIdProviderOutput"), exports);
|
|
|
150
176
|
__exportStar(require("./TrinsicTestDatabaseLookupInput"), exports);
|
|
151
177
|
__exportStar(require("./TrinsicTestSubProvidersInput"), exports);
|
|
152
178
|
__exportStar(require("./UgandaNidMatch2Input"), exports);
|
|
179
|
+
__exportStar(require("./UkEvisaLookupInput"), exports);
|
|
180
|
+
__exportStar(require("./UnitedKingdomEvisaProviderOutput"), exports);
|
|
153
181
|
__exportStar(require("./VerificationProfileResponse"), exports);
|
|
182
|
+
__exportStar(require("./YotiDeeplinkProviderOutput"), exports);
|
|
154
183
|
__exportStar(require("./YotiDocumentDetails"), exports);
|
|
155
184
|
__exportStar(require("./YotiProviderOutput"), exports);
|
|
156
185
|
__exportStar(require("./YotiStructuredPostalAddress"), exports);
|
package/package.json
CHANGED
package/src/apis/ProvidersApi.ts
CHANGED
|
@@ -15,16 +15,23 @@
|
|
|
15
15
|
|
|
16
16
|
import * as runtime from '../runtime';
|
|
17
17
|
import type {
|
|
18
|
+
GetProviderResponse,
|
|
18
19
|
ListProvidersResponse,
|
|
19
20
|
ProblemDetails,
|
|
20
21
|
} from '../models/index';
|
|
21
22
|
import {
|
|
23
|
+
GetProviderResponseFromJSON,
|
|
24
|
+
GetProviderResponseToJSON,
|
|
22
25
|
ListProvidersResponseFromJSON,
|
|
23
26
|
ListProvidersResponseToJSON,
|
|
24
27
|
ProblemDetailsFromJSON,
|
|
25
28
|
ProblemDetailsToJSON,
|
|
26
29
|
} from '../models/index';
|
|
27
30
|
|
|
31
|
+
export interface GetProviderRequest {
|
|
32
|
+
providerId: string;
|
|
33
|
+
}
|
|
34
|
+
|
|
28
35
|
export interface ListProvidersRequest {
|
|
29
36
|
licensed?: boolean;
|
|
30
37
|
}
|
|
@@ -36,6 +43,22 @@ export interface ListProvidersRequest {
|
|
|
36
43
|
* @interface ProvidersApiInterface
|
|
37
44
|
*/
|
|
38
45
|
export interface ProvidersApiInterface {
|
|
46
|
+
/**
|
|
47
|
+
* Get a single identity provider by ID, including its license status.
|
|
48
|
+
* @summary Get Provider
|
|
49
|
+
* @param {string} providerId The ID of the provider to retrieve
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
* @memberof ProvidersApiInterface
|
|
53
|
+
*/
|
|
54
|
+
getProviderRaw(requestParameters: GetProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetProviderResponse>>;
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Get a single identity provider by ID, including its license status.
|
|
58
|
+
* Get Provider
|
|
59
|
+
*/
|
|
60
|
+
getProvider(providerId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetProviderResponse>;
|
|
61
|
+
|
|
39
62
|
/**
|
|
40
63
|
* List all identity providers available to your Organization, including their license status.
|
|
41
64
|
* @summary List Providers
|
|
@@ -59,6 +82,49 @@ export interface ProvidersApiInterface {
|
|
|
59
82
|
*/
|
|
60
83
|
export class ProvidersApi extends runtime.BaseAPI implements ProvidersApiInterface {
|
|
61
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Get a single identity provider by ID, including its license status.
|
|
87
|
+
* Get Provider
|
|
88
|
+
*/
|
|
89
|
+
async getProviderRaw(requestParameters: GetProviderRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetProviderResponse>> {
|
|
90
|
+
if (requestParameters['providerId'] == null) {
|
|
91
|
+
throw new runtime.RequiredError(
|
|
92
|
+
'providerId',
|
|
93
|
+
'Required parameter "providerId" was null or undefined when calling getProvider().'
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
const queryParameters: any = {};
|
|
98
|
+
|
|
99
|
+
const headerParameters: runtime.HTTPHeaders = {};
|
|
100
|
+
|
|
101
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
102
|
+
const token = this.configuration.accessToken;
|
|
103
|
+
const tokenString = await token("Bearer", []);
|
|
104
|
+
|
|
105
|
+
if (tokenString) {
|
|
106
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
const response = await this.request({
|
|
110
|
+
path: `/api/v1/providers/{providerId}`.replace(`{${"providerId"}}`, encodeURIComponent(String(requestParameters['providerId']))),
|
|
111
|
+
method: 'GET',
|
|
112
|
+
headers: headerParameters,
|
|
113
|
+
query: queryParameters,
|
|
114
|
+
}, initOverrides);
|
|
115
|
+
|
|
116
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetProviderResponseFromJSON(jsonValue));
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* Get a single identity provider by ID, including its license status.
|
|
121
|
+
* Get Provider
|
|
122
|
+
*/
|
|
123
|
+
async getProvider(providerId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetProviderResponse> {
|
|
124
|
+
const response = await this.getProviderRaw({ providerId: providerId }, initOverrides);
|
|
125
|
+
return await response.value();
|
|
126
|
+
}
|
|
127
|
+
|
|
62
128
|
/**
|
|
63
129
|
* List all identity providers available to your Organization, including their license status.
|
|
64
130
|
* List Providers
|
|
@@ -37,6 +37,8 @@ export interface CreateVerificationProfileRequest {
|
|
|
37
37
|
primaryColor?: string;
|
|
38
38
|
providers?: Array<string>;
|
|
39
39
|
logo?: Blob;
|
|
40
|
+
redactionPeriod?: string;
|
|
41
|
+
sessionExpiration?: string;
|
|
40
42
|
isProductionUsage?: boolean;
|
|
41
43
|
}
|
|
42
44
|
|
|
@@ -64,6 +66,8 @@ export interface VerificationProfilesApiInterface {
|
|
|
64
66
|
* @param {string} [primaryColor] The primary color of the verification profile. Must be a 6-character hex string prefixed with a \\\'#\\\' character. Example: #000000
|
|
65
67
|
* @param {Array<string>} [providers] The list of providers you\\\'d like to select for this profile. We will not currently enable any providers.
|
|
66
68
|
* @param {Blob} [logo] The logo of the verification profile.
|
|
69
|
+
* @param {string} [redactionPeriod] The redaction period for verification data. Must be between 0 and 31 days, and at least 15 minutes greater than the session expiration. If not specified, defaults to 31 days.
|
|
70
|
+
* @param {string} [sessionExpiration] The session expiration for verification sessions created with this profile. Must be between 15 minutes and 24 hours. Defaults to 1 hour if not specified.
|
|
67
71
|
* @param {boolean} [isProductionUsage] Whether this profile is for production usage. Only applicable for Live environment profiles. If not specified for Live profiles, defaults to false (Demo).
|
|
68
72
|
* @param {*} [options] Override http request option.
|
|
69
73
|
* @throws {RequiredError}
|
|
@@ -75,7 +79,7 @@ export interface VerificationProfilesApiInterface {
|
|
|
75
79
|
* Creates a new verification profile within your organization.
|
|
76
80
|
* Create Verification Profile
|
|
77
81
|
*/
|
|
78
|
-
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
82
|
+
createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, redactionPeriod?: string, sessionExpiration?: string, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse>;
|
|
79
83
|
|
|
80
84
|
/**
|
|
81
85
|
* Gets a specific verification profile by ID.
|
|
@@ -186,6 +190,14 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
|
|
|
186
190
|
formParams.append('Logo', requestParameters['logo'] as any);
|
|
187
191
|
}
|
|
188
192
|
|
|
193
|
+
if (requestParameters['redactionPeriod'] != null) {
|
|
194
|
+
formParams.append('RedactionPeriod', requestParameters['redactionPeriod'] as any);
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
if (requestParameters['sessionExpiration'] != null) {
|
|
198
|
+
formParams.append('SessionExpiration', requestParameters['sessionExpiration'] as any);
|
|
199
|
+
}
|
|
200
|
+
|
|
189
201
|
if (requestParameters['isProductionUsage'] != null) {
|
|
190
202
|
formParams.append('IsProductionUsage', requestParameters['isProductionUsage'] as any);
|
|
191
203
|
}
|
|
@@ -205,8 +217,8 @@ export class VerificationProfilesApi extends runtime.BaseAPI implements Verifica
|
|
|
205
217
|
* Creates a new verification profile within your organization.
|
|
206
218
|
* Create Verification Profile
|
|
207
219
|
*/
|
|
208
|
-
async createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse> {
|
|
209
|
-
const response = await this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo, isProductionUsage: isProductionUsage }, initOverrides);
|
|
220
|
+
async createVerificationProfile(alias: string, brandName: string, primaryColor?: string, providers?: Array<string>, logo?: Blob, redactionPeriod?: string, sessionExpiration?: string, isProductionUsage?: boolean, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateVerificationProfileResponse> {
|
|
221
|
+
const response = await this.createVerificationProfileRaw({ alias: alias, brandName: brandName, primaryColor: primaryColor, providers: providers, logo: logo, redactionPeriod: redactionPeriod, sessionExpiration: sessionExpiration, isProductionUsage: isProductionUsage }, initOverrides);
|
|
210
222
|
return await response.value();
|
|
211
223
|
}
|
|
212
224
|
|
|
@@ -0,0 +1,186 @@
|
|
|
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 AadhaarClaims
|
|
20
|
+
*/
|
|
21
|
+
export interface AadhaarClaims {
|
|
22
|
+
/**
|
|
23
|
+
* The full name.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof AadhaarClaims
|
|
26
|
+
*/
|
|
27
|
+
name?: string | null;
|
|
28
|
+
/**
|
|
29
|
+
* The date of birth.
|
|
30
|
+
*
|
|
31
|
+
* The format is YYYY-MM-DD.
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof AadhaarClaims
|
|
34
|
+
*/
|
|
35
|
+
dateOfBirth?: Date | null;
|
|
36
|
+
/**
|
|
37
|
+
* The gender of the individual.
|
|
38
|
+
*
|
|
39
|
+
* Possible values:
|
|
40
|
+
* - M (Male)
|
|
41
|
+
* - F (Female)
|
|
42
|
+
* - T (Transgender)
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof AadhaarClaims
|
|
45
|
+
*/
|
|
46
|
+
gender?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
* The address's care-of field. This indicates that mail should be delivered to an individual through another person or entity who is a known resident at the address.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof AadhaarClaims
|
|
51
|
+
*/
|
|
52
|
+
careOf?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
* The address's country.
|
|
55
|
+
*
|
|
56
|
+
* This is formatted as an alpha-2 country code.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof AadhaarClaims
|
|
59
|
+
*/
|
|
60
|
+
country?: string | null;
|
|
61
|
+
/**
|
|
62
|
+
* The address's district.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AadhaarClaims
|
|
65
|
+
*/
|
|
66
|
+
district?: string | null;
|
|
67
|
+
/**
|
|
68
|
+
* The identifier for the house address.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof AadhaarClaims
|
|
71
|
+
*/
|
|
72
|
+
house?: string | null;
|
|
73
|
+
/**
|
|
74
|
+
* The location or locality that helps identify where the address is within a city.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof AadhaarClaims
|
|
77
|
+
*/
|
|
78
|
+
location?: string | null;
|
|
79
|
+
/**
|
|
80
|
+
* A landmark near the address.
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof AadhaarClaims
|
|
83
|
+
*/
|
|
84
|
+
landmark?: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* The address's postal code.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof AadhaarClaims
|
|
89
|
+
*/
|
|
90
|
+
postalCode?: string | null;
|
|
91
|
+
/**
|
|
92
|
+
* The address's post office.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof AadhaarClaims
|
|
95
|
+
*/
|
|
96
|
+
postOffice?: string | null;
|
|
97
|
+
/**
|
|
98
|
+
* The address's state or union territory.
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof AadhaarClaims
|
|
101
|
+
*/
|
|
102
|
+
state?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
* The address's street name.
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof AadhaarClaims
|
|
107
|
+
*/
|
|
108
|
+
street?: string | null;
|
|
109
|
+
/**
|
|
110
|
+
* The address's subdistrict.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof AadhaarClaims
|
|
113
|
+
*/
|
|
114
|
+
subdistrict?: string | null;
|
|
115
|
+
/**
|
|
116
|
+
* The address's village/town/city.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof AadhaarClaims
|
|
119
|
+
*/
|
|
120
|
+
villageTownCity?: string | null;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* Check if a given object implements the AadhaarClaims interface.
|
|
125
|
+
*/
|
|
126
|
+
export function instanceOfAadhaarClaims(value: object): value is AadhaarClaims {
|
|
127
|
+
return true;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export function AadhaarClaimsFromJSON(json: any): AadhaarClaims {
|
|
131
|
+
return AadhaarClaimsFromJSONTyped(json, false);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export function AadhaarClaimsFromJSONTyped(json: any, ignoreDiscriminator: boolean): AadhaarClaims {
|
|
135
|
+
if (json == null) {
|
|
136
|
+
return json;
|
|
137
|
+
}
|
|
138
|
+
return {
|
|
139
|
+
|
|
140
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
141
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
142
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
143
|
+
'careOf': json['careOf'] == null ? undefined : json['careOf'],
|
|
144
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
145
|
+
'district': json['district'] == null ? undefined : json['district'],
|
|
146
|
+
'house': json['house'] == null ? undefined : json['house'],
|
|
147
|
+
'location': json['location'] == null ? undefined : json['location'],
|
|
148
|
+
'landmark': json['landmark'] == null ? undefined : json['landmark'],
|
|
149
|
+
'postalCode': json['postalCode'] == null ? undefined : json['postalCode'],
|
|
150
|
+
'postOffice': json['postOffice'] == null ? undefined : json['postOffice'],
|
|
151
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
152
|
+
'street': json['street'] == null ? undefined : json['street'],
|
|
153
|
+
'subdistrict': json['subdistrict'] == null ? undefined : json['subdistrict'],
|
|
154
|
+
'villageTownCity': json['villageTownCity'] == null ? undefined : json['villageTownCity'],
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export function AadhaarClaimsToJSON(json: any): AadhaarClaims {
|
|
159
|
+
return AadhaarClaimsToJSONTyped(json, false);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export function AadhaarClaimsToJSONTyped(value?: AadhaarClaims | null, ignoreDiscriminator: boolean = false): any {
|
|
163
|
+
if (value == null) {
|
|
164
|
+
return value;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
return {
|
|
168
|
+
|
|
169
|
+
'name': value['name'],
|
|
170
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth'] as any).toISOString().substring(0,10)),
|
|
171
|
+
'gender': value['gender'],
|
|
172
|
+
'careOf': value['careOf'],
|
|
173
|
+
'country': value['country'],
|
|
174
|
+
'district': value['district'],
|
|
175
|
+
'house': value['house'],
|
|
176
|
+
'location': value['location'],
|
|
177
|
+
'landmark': value['landmark'],
|
|
178
|
+
'postalCode': value['postalCode'],
|
|
179
|
+
'postOffice': value['postOffice'],
|
|
180
|
+
'state': value['state'],
|
|
181
|
+
'street': value['street'],
|
|
182
|
+
'subdistrict': value['subdistrict'],
|
|
183
|
+
'villageTownCity': value['villageTownCity'],
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
|