@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,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { YotiStructuredPostalAddress } from './YotiStructuredPostalAddress';
|
|
13
|
+
import type { YotiDocumentDetails } from './YotiDocumentDetails';
|
|
14
|
+
/**
|
|
15
|
+
* Exposed properties for the `yoti-deeplink` Provider which do not directly map to the normalized IdentityData model.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface YotiDeeplinkProviderOutput
|
|
18
|
+
*/
|
|
19
|
+
export interface YotiDeeplinkProviderOutput {
|
|
20
|
+
/**
|
|
21
|
+
* 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.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
24
|
+
*/
|
|
25
|
+
rememberMeId?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* The email address of the individual
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
30
|
+
*/
|
|
31
|
+
email?: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* The given name of the individual. This can correspond to first and middle names in English.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
36
|
+
*/
|
|
37
|
+
givenName?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The family name of the individual
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
42
|
+
*/
|
|
43
|
+
familyName?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* Full name of the individual which is composed of the given and family name.
|
|
46
|
+
* 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".
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
49
|
+
*/
|
|
50
|
+
fullName?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* The date of birth of the individual.
|
|
53
|
+
* 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".
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
56
|
+
*/
|
|
57
|
+
dateOfBirth?: Date | null;
|
|
58
|
+
/**
|
|
59
|
+
* 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.
|
|
60
|
+
*
|
|
61
|
+
* 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".
|
|
62
|
+
* In some countries
|
|
63
|
+
* Possible values:
|
|
64
|
+
* - "MALE"
|
|
65
|
+
* - "FEMALE"
|
|
66
|
+
* - "TRANSGENDER"
|
|
67
|
+
* - "OTHER"
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
70
|
+
*/
|
|
71
|
+
gender?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* The nationality of the individual as a ISO alpha-3 code
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
76
|
+
*/
|
|
77
|
+
nationality?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* 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.
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
82
|
+
*/
|
|
83
|
+
mobileNumber?: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* 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".
|
|
86
|
+
* 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".
|
|
87
|
+
* @type {YotiStructuredPostalAddress}
|
|
88
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
89
|
+
*/
|
|
90
|
+
structuredPostalAddress?: YotiStructuredPostalAddress | null;
|
|
91
|
+
/**
|
|
92
|
+
* 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.
|
|
93
|
+
* Refer to `StructuredPostalAddress` for a detailed version of the address.
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
96
|
+
*/
|
|
97
|
+
postalAddress?: string | null;
|
|
98
|
+
/**
|
|
99
|
+
* The details of the underlying document used to help create the Yoti credential
|
|
100
|
+
* @type {YotiDocumentDetails}
|
|
101
|
+
* @memberof YotiDeeplinkProviderOutput
|
|
102
|
+
*/
|
|
103
|
+
documentDetails?: YotiDocumentDetails | null;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Check if a given object implements the YotiDeeplinkProviderOutput interface.
|
|
107
|
+
*/
|
|
108
|
+
export declare function instanceOfYotiDeeplinkProviderOutput(value: object): value is YotiDeeplinkProviderOutput;
|
|
109
|
+
export declare function YotiDeeplinkProviderOutputFromJSON(json: any): YotiDeeplinkProviderOutput;
|
|
110
|
+
export declare function YotiDeeplinkProviderOutputFromJSONTyped(json: any, ignoreDiscriminator: boolean): YotiDeeplinkProviderOutput;
|
|
111
|
+
export declare function YotiDeeplinkProviderOutputToJSON(json: any): YotiDeeplinkProviderOutput;
|
|
112
|
+
export declare function YotiDeeplinkProviderOutputToJSONTyped(value?: YotiDeeplinkProviderOutput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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';
|
|
@@ -80,9 +95,15 @@ export * from './MobileIdProviderOutput';
|
|
|
80
95
|
export * from './NigeriaNinBiometric2Input';
|
|
81
96
|
export * from './NigeriaNinInput';
|
|
82
97
|
export * from './NigeriaNinLookup2Input';
|
|
98
|
+
export * from './NigeriaNinLookup2ProviderOutput';
|
|
83
99
|
export * from './NigeriaNinMatch2Input';
|
|
84
100
|
export * from './NigeriaNinMatch2InputSex';
|
|
101
|
+
export * from './NorwegianBankIdProviderOutput';
|
|
102
|
+
export * from './OneIdProviderAddress';
|
|
103
|
+
export * from './OneIdProviderOutput';
|
|
85
104
|
export * from './OrderDirection';
|
|
105
|
+
export * from './OutputFrejaAddress';
|
|
106
|
+
export * from './OutputFrejaDocument';
|
|
86
107
|
export * from './PersonData';
|
|
87
108
|
export * from './PeruDniAddress';
|
|
88
109
|
export * from './PeruDniLookupInput';
|
|
@@ -100,6 +121,8 @@ export * from './Provider';
|
|
|
100
121
|
export * from './ProviderHealth';
|
|
101
122
|
export * from './ProviderInput';
|
|
102
123
|
export * from './ProviderOutput';
|
|
124
|
+
export * from './Raw18013DocumentRequest';
|
|
125
|
+
export * from './Raw18013RequestInput';
|
|
103
126
|
export * from './RecommendProviderHealthOption';
|
|
104
127
|
export * from './RecommendProviderInformation';
|
|
105
128
|
export * from './RecommendProvidersRequest';
|
|
@@ -110,6 +133,7 @@ export * from './RefreshStepContentRequest';
|
|
|
110
133
|
export * from './RefreshStepContentResponse';
|
|
111
134
|
export * from './ResultCollection';
|
|
112
135
|
export * from './ResultCollectionMethod';
|
|
136
|
+
export * from './SamsungWalletInput';
|
|
113
137
|
export * from './SamsungWalletProviderOutput';
|
|
114
138
|
export * from './SerbiaIdCardProviderOutput';
|
|
115
139
|
export * from './Session';
|
|
@@ -134,7 +158,10 @@ export * from './SwedenBankIdProviderOutput';
|
|
|
134
158
|
export * from './TrinsicTestDatabaseLookupInput';
|
|
135
159
|
export * from './TrinsicTestSubProvidersInput';
|
|
136
160
|
export * from './UgandaNidMatch2Input';
|
|
161
|
+
export * from './UkEvisaLookupInput';
|
|
162
|
+
export * from './UnitedKingdomEvisaProviderOutput';
|
|
137
163
|
export * from './VerificationProfileResponse';
|
|
164
|
+
export * from './YotiDeeplinkProviderOutput';
|
|
138
165
|
export * from './YotiDocumentDetails';
|
|
139
166
|
export * from './YotiProviderOutput';
|
|
140
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);
|
|
@@ -98,9 +113,15 @@ __exportStar(require("./MobileIdProviderOutput"), exports);
|
|
|
98
113
|
__exportStar(require("./NigeriaNinBiometric2Input"), exports);
|
|
99
114
|
__exportStar(require("./NigeriaNinInput"), exports);
|
|
100
115
|
__exportStar(require("./NigeriaNinLookup2Input"), exports);
|
|
116
|
+
__exportStar(require("./NigeriaNinLookup2ProviderOutput"), exports);
|
|
101
117
|
__exportStar(require("./NigeriaNinMatch2Input"), exports);
|
|
102
118
|
__exportStar(require("./NigeriaNinMatch2InputSex"), exports);
|
|
119
|
+
__exportStar(require("./NorwegianBankIdProviderOutput"), exports);
|
|
120
|
+
__exportStar(require("./OneIdProviderAddress"), exports);
|
|
121
|
+
__exportStar(require("./OneIdProviderOutput"), exports);
|
|
103
122
|
__exportStar(require("./OrderDirection"), exports);
|
|
123
|
+
__exportStar(require("./OutputFrejaAddress"), exports);
|
|
124
|
+
__exportStar(require("./OutputFrejaDocument"), exports);
|
|
104
125
|
__exportStar(require("./PersonData"), exports);
|
|
105
126
|
__exportStar(require("./PeruDniAddress"), exports);
|
|
106
127
|
__exportStar(require("./PeruDniLookupInput"), exports);
|
|
@@ -118,6 +139,8 @@ __exportStar(require("./Provider"), exports);
|
|
|
118
139
|
__exportStar(require("./ProviderHealth"), exports);
|
|
119
140
|
__exportStar(require("./ProviderInput"), exports);
|
|
120
141
|
__exportStar(require("./ProviderOutput"), exports);
|
|
142
|
+
__exportStar(require("./Raw18013DocumentRequest"), exports);
|
|
143
|
+
__exportStar(require("./Raw18013RequestInput"), exports);
|
|
121
144
|
__exportStar(require("./RecommendProviderHealthOption"), exports);
|
|
122
145
|
__exportStar(require("./RecommendProviderInformation"), exports);
|
|
123
146
|
__exportStar(require("./RecommendProvidersRequest"), exports);
|
|
@@ -128,6 +151,7 @@ __exportStar(require("./RefreshStepContentRequest"), exports);
|
|
|
128
151
|
__exportStar(require("./RefreshStepContentResponse"), exports);
|
|
129
152
|
__exportStar(require("./ResultCollection"), exports);
|
|
130
153
|
__exportStar(require("./ResultCollectionMethod"), exports);
|
|
154
|
+
__exportStar(require("./SamsungWalletInput"), exports);
|
|
131
155
|
__exportStar(require("./SamsungWalletProviderOutput"), exports);
|
|
132
156
|
__exportStar(require("./SerbiaIdCardProviderOutput"), exports);
|
|
133
157
|
__exportStar(require("./Session"), exports);
|
|
@@ -152,7 +176,10 @@ __exportStar(require("./SwedenBankIdProviderOutput"), exports);
|
|
|
152
176
|
__exportStar(require("./TrinsicTestDatabaseLookupInput"), exports);
|
|
153
177
|
__exportStar(require("./TrinsicTestSubProvidersInput"), exports);
|
|
154
178
|
__exportStar(require("./UgandaNidMatch2Input"), exports);
|
|
179
|
+
__exportStar(require("./UkEvisaLookupInput"), exports);
|
|
180
|
+
__exportStar(require("./UnitedKingdomEvisaProviderOutput"), exports);
|
|
155
181
|
__exportStar(require("./VerificationProfileResponse"), exports);
|
|
182
|
+
__exportStar(require("./YotiDeeplinkProviderOutput"), exports);
|
|
156
183
|
__exportStar(require("./YotiDocumentDetails"), exports);
|
|
157
184
|
__exportStar(require("./YotiProviderOutput"), exports);
|
|
158
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
|
|