@trinsic/api 2.1.1-alpha1 → 2.2.0-alpha1
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 +19 -3
- package/dist/apis/MdlApi.d.ts +80 -0
- package/dist/apis/MdlApi.js +105 -0
- package/dist/apis/NetworkApi.d.ts +14 -15
- package/dist/apis/NetworkApi.js +13 -11
- package/dist/apis/SessionsApi.d.ts +53 -22
- package/dist/apis/SessionsApi.js +57 -15
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/MdlApi.d.ts +80 -0
- package/dist/esm/apis/MdlApi.js +101 -0
- package/dist/esm/apis/NetworkApi.d.ts +14 -15
- package/dist/esm/apis/NetworkApi.js +13 -11
- package/dist/esm/apis/SessionsApi.d.ts +53 -22
- package/dist/esm/apis/SessionsApi.js +58 -16
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AppleWalletInput.d.ts +35 -0
- package/dist/esm/models/AppleWalletInput.js +42 -0
- package/dist/esm/models/{CreateAdvancedProviderSessionRequest.d.ts → CreateDirectProviderSessionRequest.d.ts} +20 -14
- package/dist/esm/models/{CreateAdvancedProviderSessionRequest.js → CreateDirectProviderSessionRequest.js} +12 -8
- package/dist/esm/models/CreateDirectProviderSessionResponse.d.ts +46 -0
- package/dist/esm/models/{CreateAdvancedProviderSessionResponse.js → CreateDirectProviderSessionResponse.js} +8 -8
- package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +7 -1
- package/dist/esm/models/CreateHostedProviderSessionRequest.js +4 -0
- package/dist/esm/models/CreateMdlExchangeRequest.d.ts +102 -0
- package/dist/esm/models/CreateMdlExchangeRequest.js +66 -0
- package/dist/esm/models/CreateMdlExchangeResponse.d.ts +48 -0
- package/dist/esm/models/CreateMdlExchangeResponse.js +51 -0
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +7 -1
- package/dist/esm/models/CreateWidgetSessionRequest.js +4 -0
- package/dist/esm/models/ExternalMdlFieldData.d.ts +39 -0
- package/dist/esm/models/ExternalMdlFieldData.js +48 -0
- package/dist/esm/models/FinalizeMdlExchangeRequest.d.ts +50 -0
- package/dist/esm/models/FinalizeMdlExchangeRequest.js +55 -0
- package/dist/esm/models/FinalizeMdlExchangeResponse.d.ts +55 -0
- package/dist/esm/models/FinalizeMdlExchangeResponse.js +54 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +6 -0
- package/dist/esm/models/GetAttachmentRequest.js +4 -0
- package/dist/esm/models/GoogleWalletInput.d.ts +35 -0
- package/dist/esm/models/GoogleWalletInput.js +42 -0
- package/dist/esm/models/IdentityData.d.ts +7 -0
- package/dist/esm/models/IdentityData.js +3 -0
- package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
- package/dist/esm/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +8 -8
- package/dist/esm/models/IntegrationCapability.d.ts +1 -0
- package/dist/esm/models/IntegrationCapability.js +2 -1
- package/dist/esm/models/IntegrationLaunchMethod.d.ts +1 -0
- package/dist/esm/models/IntegrationLaunchMethod.js +2 -1
- package/dist/esm/models/IntegrationStep.d.ts +1 -1
- package/dist/esm/models/Match.d.ts +38 -0
- package/dist/esm/models/Match.js +43 -0
- package/dist/esm/models/MatchData.d.ts +87 -0
- package/dist/esm/models/MatchData.js +60 -0
- package/dist/esm/models/MdlCertificateData.d.ts +58 -0
- package/dist/esm/models/MdlCertificateData.js +59 -0
- package/dist/esm/models/MdlExchangeMechanism.d.ts +25 -0
- package/dist/esm/models/MdlExchangeMechanism.js +43 -0
- package/dist/esm/models/MdlFieldDataType.d.ts +28 -0
- package/dist/esm/models/MdlFieldDataType.js +46 -0
- package/dist/esm/models/MdlIdentityData.d.ts +50 -0
- package/dist/esm/models/MdlIdentityData.js +52 -0
- package/dist/esm/models/ProviderContract.d.ts +18 -8
- package/dist/esm/models/ProviderContract.js +4 -0
- package/dist/esm/models/ProviderInput.d.ts +18 -4
- package/dist/esm/models/ProviderInput.js +9 -3
- package/dist/esm/models/RecommendRequest.d.ts +6 -0
- package/dist/esm/models/RecommendRequest.js +4 -0
- package/dist/esm/models/ResultCollectionMethod.d.ts +1 -0
- package/dist/esm/models/ResultCollectionMethod.js +2 -1
- package/dist/esm/models/SessionErrorCode.d.ts +2 -0
- package/dist/esm/models/SessionErrorCode.js +3 -1
- package/dist/esm/models/SubmitNativeChallengeResponseRequest.d.ts +38 -0
- package/dist/esm/models/SubmitNativeChallengeResponseRequest.js +47 -0
- package/dist/esm/models/SubmitNativeChallengeResponseResponse.d.ts +33 -0
- package/dist/esm/models/SubmitNativeChallengeResponseResponse.js +44 -0
- package/dist/esm/models/index.d.ts +18 -3
- package/dist/esm/models/index.js +18 -3
- package/dist/models/AppleWalletInput.d.ts +35 -0
- package/dist/models/AppleWalletInput.js +49 -0
- package/dist/models/{CreateAdvancedProviderSessionRequest.d.ts → CreateDirectProviderSessionRequest.d.ts} +20 -14
- package/dist/models/{CreateAdvancedProviderSessionRequest.js → CreateDirectProviderSessionRequest.js} +17 -13
- package/dist/models/CreateDirectProviderSessionResponse.d.ts +46 -0
- package/dist/models/{CreateAdvancedProviderSessionResponse.js → CreateDirectProviderSessionResponse.js} +13 -13
- package/dist/models/CreateHostedProviderSessionRequest.d.ts +7 -1
- package/dist/models/CreateHostedProviderSessionRequest.js +4 -0
- package/dist/models/CreateMdlExchangeRequest.d.ts +102 -0
- package/dist/models/CreateMdlExchangeRequest.js +73 -0
- package/dist/models/CreateMdlExchangeResponse.d.ts +48 -0
- package/dist/models/CreateMdlExchangeResponse.js +58 -0
- package/dist/models/CreateWidgetSessionRequest.d.ts +7 -1
- package/dist/models/CreateWidgetSessionRequest.js +4 -0
- package/dist/models/ExternalMdlFieldData.d.ts +39 -0
- package/dist/models/ExternalMdlFieldData.js +55 -0
- package/dist/models/FinalizeMdlExchangeRequest.d.ts +50 -0
- package/dist/models/FinalizeMdlExchangeRequest.js +62 -0
- package/dist/models/FinalizeMdlExchangeResponse.d.ts +55 -0
- package/dist/models/FinalizeMdlExchangeResponse.js +61 -0
- package/dist/models/GetAttachmentRequest.d.ts +6 -0
- package/dist/models/GetAttachmentRequest.js +4 -0
- package/dist/models/GoogleWalletInput.d.ts +35 -0
- package/dist/models/GoogleWalletInput.js +49 -0
- package/dist/models/IdentityData.d.ts +7 -0
- package/dist/models/IdentityData.js +3 -0
- package/dist/models/{IndonesiaDukcapilBiometricMatchInput.d.ts → IndonesiaDukcapilMatchInput.d.ts} +17 -17
- package/dist/models/{IndonesiaDukcapilBiometricMatchInput.js → IndonesiaDukcapilMatchInput.js} +13 -13
- package/dist/models/IntegrationCapability.d.ts +1 -0
- package/dist/models/IntegrationCapability.js +2 -1
- package/dist/models/IntegrationLaunchMethod.d.ts +1 -0
- package/dist/models/IntegrationLaunchMethod.js +2 -1
- package/dist/models/IntegrationStep.d.ts +1 -1
- package/dist/models/Match.d.ts +38 -0
- package/dist/models/Match.js +50 -0
- package/dist/models/MatchData.d.ts +87 -0
- package/dist/models/MatchData.js +67 -0
- package/dist/models/MdlCertificateData.d.ts +58 -0
- package/dist/models/MdlCertificateData.js +66 -0
- package/dist/models/MdlExchangeMechanism.d.ts +25 -0
- package/dist/models/MdlExchangeMechanism.js +51 -0
- package/dist/models/MdlFieldDataType.d.ts +28 -0
- package/dist/models/MdlFieldDataType.js +54 -0
- package/dist/models/MdlIdentityData.d.ts +50 -0
- package/dist/models/MdlIdentityData.js +59 -0
- package/dist/models/ProviderContract.d.ts +18 -8
- package/dist/models/ProviderContract.js +4 -0
- package/dist/models/ProviderInput.d.ts +18 -4
- package/dist/models/ProviderInput.js +9 -3
- package/dist/models/RecommendRequest.d.ts +6 -0
- package/dist/models/RecommendRequest.js +4 -0
- package/dist/models/ResultCollectionMethod.d.ts +1 -0
- package/dist/models/ResultCollectionMethod.js +2 -1
- package/dist/models/SessionErrorCode.d.ts +2 -0
- package/dist/models/SessionErrorCode.js +3 -1
- package/dist/models/SubmitNativeChallengeResponseRequest.d.ts +38 -0
- package/dist/models/SubmitNativeChallengeResponseRequest.js +54 -0
- package/dist/models/SubmitNativeChallengeResponseResponse.d.ts +33 -0
- package/dist/models/SubmitNativeChallengeResponseResponse.js +51 -0
- package/dist/models/index.d.ts +18 -3
- package/dist/models/index.js +18 -3
- package/package.json +1 -1
- package/src/apis/MdlApi.ts +169 -0
- package/src/apis/NetworkApi.ts +33 -19
- package/src/apis/SessionsApi.ts +116 -33
- package/src/apis/index.ts +1 -0
- package/src/models/AppleWalletInput.ts +77 -0
- package/src/models/{CreateAdvancedProviderSessionRequest.ts → CreateDirectProviderSessionRequest.ts} +25 -16
- package/src/models/{CreateAdvancedProviderSessionResponse.ts → CreateDirectProviderSessionResponse.ts} +13 -13
- package/src/models/CreateHostedProviderSessionRequest.ts +10 -1
- package/src/models/CreateMdlExchangeRequest.ts +159 -0
- package/src/models/CreateMdlExchangeResponse.ts +88 -0
- package/src/models/CreateWidgetSessionRequest.ts +10 -1
- package/src/models/ExternalMdlFieldData.ts +85 -0
- package/src/models/FinalizeMdlExchangeRequest.ts +93 -0
- package/src/models/FinalizeMdlExchangeResponse.ts +115 -0
- package/src/models/GetAttachmentRequest.ts +9 -0
- package/src/models/GoogleWalletInput.ts +77 -0
- package/src/models/IdentityData.ts +15 -0
- package/src/models/{IndonesiaDukcapilBiometricMatchInput.ts → IndonesiaDukcapilMatchInput.ts} +19 -19
- package/src/models/IntegrationCapability.ts +2 -1
- package/src/models/IntegrationLaunchMethod.ts +2 -1
- package/src/models/IntegrationStep.ts +1 -1
- package/src/models/Match.ts +73 -0
- package/src/models/MatchData.ts +145 -0
- package/src/models/MdlCertificateData.ts +104 -0
- package/src/models/MdlExchangeMechanism.ts +53 -0
- package/src/models/MdlFieldDataType.ts +56 -0
- package/src/models/MdlIdentityData.ts +99 -0
- package/src/models/ProviderContract.ts +21 -8
- package/src/models/ProviderInput.ts +42 -12
- package/src/models/RecommendRequest.ts +9 -0
- package/src/models/ResultCollectionMethod.ts +2 -1
- package/src/models/SessionErrorCode.ts +3 -1
- package/src/models/SubmitNativeChallengeResponseRequest.ts +75 -0
- package/src/models/SubmitNativeChallengeResponseResponse.ts +74 -0
- package/src/models/index.ts +18 -3
- package/dist/esm/models/CreateAdvancedProviderSessionResponse.d.ts +0 -46
- package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +0 -46
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the MdlCertificateData interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfMdlCertificateData(value) {
|
|
18
|
+
if (!('serialNumber' in value) || value['serialNumber'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('commonName' in value) || value['commonName'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('stateOrProvinceName' in value) || value['stateOrProvinceName'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('notBefore' in value) || value['notBefore'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('notAfter' in value) || value['notAfter'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function MdlCertificateDataFromJSON(json) {
|
|
31
|
+
return MdlCertificateDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function MdlCertificateDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'serialNumber': json['serialNumber'],
|
|
39
|
+
'commonName': json['commonName'],
|
|
40
|
+
'stateOrProvinceName': json['stateOrProvinceName'],
|
|
41
|
+
'notBefore': (new Date(json['notBefore'])),
|
|
42
|
+
'notAfter': (new Date(json['notAfter'])),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function MdlCertificateDataToJSON(json) {
|
|
46
|
+
return MdlCertificateDataToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function MdlCertificateDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'serialNumber': value['serialNumber'],
|
|
54
|
+
'commonName': value['commonName'],
|
|
55
|
+
'stateOrProvinceName': value['stateOrProvinceName'],
|
|
56
|
+
'notBefore': ((value['notBefore']).toISOString()),
|
|
57
|
+
'notAfter': ((value['notAfter']).toISOString()),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const MdlExchangeMechanism: {
|
|
17
|
+
readonly NativeApp: "NativeApp";
|
|
18
|
+
readonly DigitalCredentialsApi: "DigitalCredentialsApi";
|
|
19
|
+
};
|
|
20
|
+
export type MdlExchangeMechanism = typeof MdlExchangeMechanism[keyof typeof MdlExchangeMechanism];
|
|
21
|
+
export declare function instanceOfMdlExchangeMechanism(value: any): boolean;
|
|
22
|
+
export declare function MdlExchangeMechanismFromJSON(json: any): MdlExchangeMechanism;
|
|
23
|
+
export declare function MdlExchangeMechanismFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlExchangeMechanism;
|
|
24
|
+
export declare function MdlExchangeMechanismToJSON(value?: MdlExchangeMechanism | null): any;
|
|
25
|
+
export declare function MdlExchangeMechanismToJSONTyped(value: any, ignoreDiscriminator: boolean): MdlExchangeMechanism;
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const MdlExchangeMechanism = {
|
|
19
|
+
NativeApp: 'NativeApp',
|
|
20
|
+
DigitalCredentialsApi: 'DigitalCredentialsApi'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfMdlExchangeMechanism(value) {
|
|
23
|
+
for (const key in MdlExchangeMechanism) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(MdlExchangeMechanism, key)) {
|
|
25
|
+
if (MdlExchangeMechanism[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function MdlExchangeMechanismFromJSON(json) {
|
|
33
|
+
return MdlExchangeMechanismFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function MdlExchangeMechanismFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function MdlExchangeMechanismToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function MdlExchangeMechanismToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const MdlFieldDataType: {
|
|
17
|
+
readonly String: "String";
|
|
18
|
+
readonly Boolean: "Boolean";
|
|
19
|
+
readonly Number: "Number";
|
|
20
|
+
readonly Base64Url: "Base64Url";
|
|
21
|
+
readonly EncodedCbor: "EncodedCbor";
|
|
22
|
+
};
|
|
23
|
+
export type MdlFieldDataType = typeof MdlFieldDataType[keyof typeof MdlFieldDataType];
|
|
24
|
+
export declare function instanceOfMdlFieldDataType(value: any): boolean;
|
|
25
|
+
export declare function MdlFieldDataTypeFromJSON(json: any): MdlFieldDataType;
|
|
26
|
+
export declare function MdlFieldDataTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlFieldDataType;
|
|
27
|
+
export declare function MdlFieldDataTypeToJSON(value?: MdlFieldDataType | null): any;
|
|
28
|
+
export declare function MdlFieldDataTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): MdlFieldDataType;
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const MdlFieldDataType = {
|
|
19
|
+
String: 'String',
|
|
20
|
+
Boolean: 'Boolean',
|
|
21
|
+
Number: 'Number',
|
|
22
|
+
Base64Url: 'Base64Url',
|
|
23
|
+
EncodedCbor: 'EncodedCbor'
|
|
24
|
+
};
|
|
25
|
+
export function instanceOfMdlFieldDataType(value) {
|
|
26
|
+
for (const key in MdlFieldDataType) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(MdlFieldDataType, key)) {
|
|
28
|
+
if (MdlFieldDataType[key] === value) {
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
export function MdlFieldDataTypeFromJSON(json) {
|
|
36
|
+
return MdlFieldDataTypeFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function MdlFieldDataTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
export function MdlFieldDataTypeToJSON(value) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
export function MdlFieldDataTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 { MdlCertificateData } from './MdlCertificateData';
|
|
13
|
+
import type { ExternalMdlFieldData } from './ExternalMdlFieldData';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface MdlIdentityData
|
|
18
|
+
*/
|
|
19
|
+
export interface MdlIdentityData {
|
|
20
|
+
/**
|
|
21
|
+
* Information about the IACA Root Certificate which signed the Issuer Certificate for this mDL.
|
|
22
|
+
* @type {MdlCertificateData}
|
|
23
|
+
* @memberof MdlIdentityData
|
|
24
|
+
*/
|
|
25
|
+
iacaRootCertificate: MdlCertificateData;
|
|
26
|
+
/**
|
|
27
|
+
* Information about the Document Signer Certificate which signed the mDL presented by the user.
|
|
28
|
+
* @type {MdlCertificateData}
|
|
29
|
+
* @memberof MdlIdentityData
|
|
30
|
+
*/
|
|
31
|
+
documentSignerCertificate: MdlCertificateData;
|
|
32
|
+
/**
|
|
33
|
+
* The namespaces, and fields within those namespaces, which were present in the processed mDL.
|
|
34
|
+
* @type {{ [key: string]: { [key: string]: ExternalMdlFieldData; }; }}
|
|
35
|
+
* @memberof MdlIdentityData
|
|
36
|
+
*/
|
|
37
|
+
nameSpaces: {
|
|
38
|
+
[key: string]: {
|
|
39
|
+
[key: string]: ExternalMdlFieldData;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MdlIdentityData interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMdlIdentityData(value: object): value is MdlIdentityData;
|
|
47
|
+
export declare function MdlIdentityDataFromJSON(json: any): MdlIdentityData;
|
|
48
|
+
export declare function MdlIdentityDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): MdlIdentityData;
|
|
49
|
+
export declare function MdlIdentityDataToJSON(json: any): MdlIdentityData;
|
|
50
|
+
export declare function MdlIdentityDataToJSONTyped(value?: MdlIdentityData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { MdlCertificateDataFromJSON, MdlCertificateDataToJSON, } from './MdlCertificateData';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the MdlIdentityData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfMdlIdentityData(value) {
|
|
19
|
+
if (!('iacaRootCertificate' in value) || value['iacaRootCertificate'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('documentSignerCertificate' in value) || value['documentSignerCertificate'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('nameSpaces' in value) || value['nameSpaces'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function MdlIdentityDataFromJSON(json) {
|
|
28
|
+
return MdlIdentityDataFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function MdlIdentityDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'iacaRootCertificate': MdlCertificateDataFromJSON(json['iacaRootCertificate']),
|
|
36
|
+
'documentSignerCertificate': MdlCertificateDataFromJSON(json['documentSignerCertificate']),
|
|
37
|
+
'nameSpaces': json['nameSpaces'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function MdlIdentityDataToJSON(json) {
|
|
41
|
+
return MdlIdentityDataToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function MdlIdentityDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'iacaRootCertificate': MdlCertificateDataToJSON(value['iacaRootCertificate']),
|
|
49
|
+
'documentSignerCertificate': MdlCertificateDataToJSON(value['documentSignerCertificate']),
|
|
50
|
+
'nameSpaces': value['nameSpaces'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -78,17 +78,17 @@ export interface ProviderContract {
|
|
|
78
78
|
*/
|
|
79
79
|
regions: Array<string>;
|
|
80
80
|
/**
|
|
81
|
-
* Relevant only to
|
|
81
|
+
* Relevant only to Direct Provider Sessions.
|
|
82
82
|
*
|
|
83
|
-
* The `LaunchMethod` which must be supported to launch the Provider Session in
|
|
83
|
+
* The `LaunchMethod` which must be supported to launch the Provider Session in Direct Provider Sessions.
|
|
84
84
|
* @type {IntegrationLaunchMethod}
|
|
85
85
|
* @memberof ProviderContract
|
|
86
86
|
*/
|
|
87
87
|
launchMethod: IntegrationLaunchMethod;
|
|
88
88
|
/**
|
|
89
|
-
* Relevant only to
|
|
89
|
+
* Relevant only to Direct Provider Sessions.
|
|
90
90
|
*
|
|
91
|
-
* The `CollectionMethod` which must be supported to launch the Provider Session in
|
|
91
|
+
* The `CollectionMethod` which must be supported to launch the Provider Session in Direct Provider Sessions.
|
|
92
92
|
* @type {ResultCollectionMethod}
|
|
93
93
|
* @memberof ProviderContract
|
|
94
94
|
*/
|
|
@@ -104,7 +104,7 @@ export interface ProviderContract {
|
|
|
104
104
|
*/
|
|
105
105
|
resultsMayBeDelayedAfterRedirect: boolean;
|
|
106
106
|
/**
|
|
107
|
-
* Relevant only to
|
|
107
|
+
* Relevant only to Direct Provider Sessions.
|
|
108
108
|
*
|
|
109
109
|
* Whether the Provider requires the `RefreshStepContent` capability.
|
|
110
110
|
*
|
|
@@ -115,7 +115,7 @@ export interface ProviderContract {
|
|
|
115
115
|
*/
|
|
116
116
|
hasRefreshableContent: boolean;
|
|
117
117
|
/**
|
|
118
|
-
* Relevant to Hosted Provider Sessions and
|
|
118
|
+
* Relevant to Hosted Provider Sessions and Direct Provider Sessions.
|
|
119
119
|
*
|
|
120
120
|
* If `true`, this Provider requires provider-specific input on Session creation.
|
|
121
121
|
* If this input is not provided, Trinsic's Hosted UI will be invoked to collect the input from the user.
|
|
@@ -132,14 +132,24 @@ export interface ProviderContract {
|
|
|
132
132
|
*/
|
|
133
133
|
hasTrinsicInterface: boolean;
|
|
134
134
|
/**
|
|
135
|
-
* Whether this Provider can be fully whitelabeled/OEMed through the
|
|
135
|
+
* Whether this Provider can be fully whitelabeled/OEMed through the Direct Provider Sessions API.
|
|
136
136
|
*
|
|
137
|
-
* If `false`, the Provider may still be launched through
|
|
137
|
+
* If `false`, the Provider may still be launched through Direct Provider Sessions;
|
|
138
138
|
* however, it will necessarily require a Trinsic-hosted UI to function.
|
|
139
139
|
* @type {boolean}
|
|
140
140
|
* @memberof ProviderContract
|
|
141
|
+
* @deprecated
|
|
141
142
|
*/
|
|
142
143
|
supportsAdvancedProviderSessions: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Whether this Provider can be fully whitelabeled/OEMed through the Direct Provider Sessions API.
|
|
146
|
+
*
|
|
147
|
+
* If `false`, the Provider may still be launched through Direct Provider Sessions;
|
|
148
|
+
* however, it will necessarily require a Trinsic-hosted UI to function.
|
|
149
|
+
* @type {boolean}
|
|
150
|
+
* @memberof ProviderContract
|
|
151
|
+
*/
|
|
152
|
+
supportsDirectProviderSessions: boolean;
|
|
143
153
|
/**
|
|
144
154
|
* Information about the fields that this Provider will return in verification results.
|
|
145
155
|
* @type {Array<ContractField>}
|
|
@@ -50,6 +50,8 @@ export function instanceOfProviderContract(value) {
|
|
|
50
50
|
return false;
|
|
51
51
|
if (!('supportsAdvancedProviderSessions' in value) || value['supportsAdvancedProviderSessions'] === undefined)
|
|
52
52
|
return false;
|
|
53
|
+
if (!('supportsDirectProviderSessions' in value) || value['supportsDirectProviderSessions'] === undefined)
|
|
54
|
+
return false;
|
|
53
55
|
if (!('health' in value) || value['health'] === undefined)
|
|
54
56
|
return false;
|
|
55
57
|
return true;
|
|
@@ -77,6 +79,7 @@ export function ProviderContractFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
77
79
|
'requiresInput': json['requiresInput'],
|
|
78
80
|
'hasTrinsicInterface': json['hasTrinsicInterface'],
|
|
79
81
|
'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
|
|
82
|
+
'supportsDirectProviderSessions': json['supportsDirectProviderSessions'],
|
|
80
83
|
'availableFields': json['availableFields'] == null ? undefined : (json['availableFields'].map(ContractFieldFromJSON)),
|
|
81
84
|
'subProviders': json['subProviders'] == null ? undefined : (json['subProviders'].map(SubProviderMetadataFromJSON)),
|
|
82
85
|
'health': ProviderHealthFromJSON(json['health']),
|
|
@@ -105,6 +108,7 @@ export function ProviderContractToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
105
108
|
'requiresInput': value['requiresInput'],
|
|
106
109
|
'hasTrinsicInterface': value['hasTrinsicInterface'],
|
|
107
110
|
'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
|
|
111
|
+
'supportsDirectProviderSessions': value['supportsDirectProviderSessions'],
|
|
108
112
|
'availableFields': value['availableFields'] == null ? undefined : (value['availableFields'].map(ContractFieldToJSON)),
|
|
109
113
|
'subProviders': value['subProviders'] == null ? undefined : (value['subProviders'].map(SubProviderMetadataToJSON)),
|
|
110
114
|
'health': ProviderHealthToJSON(value['health']),
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AppleWalletInput } from './AppleWalletInput';
|
|
12
13
|
import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
|
|
13
14
|
import type { MexicoCurpInput } from './MexicoCurpInput';
|
|
14
15
|
import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
|
|
15
16
|
import type { TrinsicTestSubProvidersInput } from './TrinsicTestSubProvidersInput';
|
|
16
17
|
import type { SpidInput } from './SpidInput';
|
|
17
18
|
import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
|
|
18
|
-
import type { IndonesiaDukcapilBiometricMatchInput } from './IndonesiaDukcapilBiometricMatchInput';
|
|
19
19
|
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
20
20
|
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
21
21
|
import type { BangladeshNidInput } from './BangladeshNidInput';
|
|
@@ -23,7 +23,9 @@ import type { AadhaarInput } from './AadhaarInput';
|
|
|
23
23
|
import type { KenyaNidInput } from './KenyaNidInput';
|
|
24
24
|
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
25
25
|
import type { SmartIdInput } from './SmartIdInput';
|
|
26
|
+
import type { IndonesiaDukcapilMatchInput } from './IndonesiaDukcapilMatchInput';
|
|
26
27
|
import type { MobileIdInput } from './MobileIdInput';
|
|
28
|
+
import type { GoogleWalletInput } from './GoogleWalletInput';
|
|
27
29
|
import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
|
|
28
30
|
import type { IndonesiaNikInput } from './IndonesiaNikInput';
|
|
29
31
|
import type { IdinInput } from './IdinInput';
|
|
@@ -40,11 +42,11 @@ export interface ProviderInput {
|
|
|
40
42
|
*/
|
|
41
43
|
indonesiaNik?: IndonesiaNikInput | null;
|
|
42
44
|
/**
|
|
43
|
-
* Input for the `indonesia-dukcapil-
|
|
44
|
-
* @type {
|
|
45
|
+
* Input for the `indonesia-dukcapil-match` provider
|
|
46
|
+
* @type {IndonesiaDukcapilMatchInput}
|
|
45
47
|
* @memberof ProviderInput
|
|
46
48
|
*/
|
|
47
|
-
|
|
49
|
+
indonesiaDukcapilMatch?: IndonesiaDukcapilMatchInput | null;
|
|
48
50
|
/**
|
|
49
51
|
* Input for the `mexico-curp-lookup` provider
|
|
50
52
|
* @type {MexicoCurpInput}
|
|
@@ -129,6 +131,18 @@ export interface ProviderInput {
|
|
|
129
131
|
* @memberof ProviderInput
|
|
130
132
|
*/
|
|
131
133
|
spid?: SpidInput | null;
|
|
134
|
+
/**
|
|
135
|
+
* Input for the `google-wallet` provider
|
|
136
|
+
* @type {GoogleWalletInput}
|
|
137
|
+
* @memberof ProviderInput
|
|
138
|
+
*/
|
|
139
|
+
googleWallet?: GoogleWalletInput | null;
|
|
140
|
+
/**
|
|
141
|
+
* Input for the `apple-wallet` provider
|
|
142
|
+
* @type {AppleWalletInput}
|
|
143
|
+
* @memberof ProviderInput
|
|
144
|
+
*/
|
|
145
|
+
appleWallet?: AppleWalletInput | null;
|
|
132
146
|
/**
|
|
133
147
|
* *TEST MODE ONLY.*
|
|
134
148
|
*
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { AppleWalletInputFromJSON, AppleWalletInputToJSON, } from './AppleWalletInput';
|
|
14
15
|
import { BrazilCpfCheckInputFromJSON, BrazilCpfCheckInputToJSON, } from './BrazilCpfCheckInput';
|
|
15
16
|
import { MexicoCurpInputFromJSON, MexicoCurpInputToJSON, } from './MexicoCurpInput';
|
|
16
17
|
import { BrazilDigitalCnhInputFromJSON, BrazilDigitalCnhInputToJSON, } from './BrazilDigitalCnhInput';
|
|
17
18
|
import { TrinsicTestSubProvidersInputFromJSON, TrinsicTestSubProvidersInputToJSON, } from './TrinsicTestSubProvidersInput';
|
|
18
19
|
import { SpidInputFromJSON, SpidInputToJSON, } from './SpidInput';
|
|
19
20
|
import { SouthAfricaNidInputFromJSON, SouthAfricaNidInputToJSON, } from './SouthAfricaNidInput';
|
|
20
|
-
import { IndonesiaDukcapilBiometricMatchInputFromJSON, IndonesiaDukcapilBiometricMatchInputToJSON, } from './IndonesiaDukcapilBiometricMatchInput';
|
|
21
21
|
import { PhilippineMatchInputFromJSON, PhilippineMatchInputToJSON, } from './PhilippineMatchInput';
|
|
22
22
|
import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
|
|
23
23
|
import { BangladeshNidInputFromJSON, BangladeshNidInputToJSON, } from './BangladeshNidInput';
|
|
@@ -25,7 +25,9 @@ import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
|
|
|
25
25
|
import { KenyaNidInputFromJSON, KenyaNidInputToJSON, } from './KenyaNidInput';
|
|
26
26
|
import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
|
|
27
27
|
import { SmartIdInputFromJSON, SmartIdInputToJSON, } from './SmartIdInput';
|
|
28
|
+
import { IndonesiaDukcapilMatchInputFromJSON, IndonesiaDukcapilMatchInputToJSON, } from './IndonesiaDukcapilMatchInput';
|
|
28
29
|
import { MobileIdInputFromJSON, MobileIdInputToJSON, } from './MobileIdInput';
|
|
30
|
+
import { GoogleWalletInputFromJSON, GoogleWalletInputToJSON, } from './GoogleWalletInput';
|
|
29
31
|
import { TrinsicTestDatabaseLookupInputFromJSON, TrinsicTestDatabaseLookupInputToJSON, } from './TrinsicTestDatabaseLookupInput';
|
|
30
32
|
import { IndonesiaNikInputFromJSON, IndonesiaNikInputToJSON, } from './IndonesiaNikInput';
|
|
31
33
|
import { IdinInputFromJSON, IdinInputToJSON, } from './IdinInput';
|
|
@@ -44,7 +46,7 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
46
|
}
|
|
45
47
|
return {
|
|
46
48
|
'indonesiaNik': json['indonesiaNik'] == null ? undefined : IndonesiaNikInputFromJSON(json['indonesiaNik']),
|
|
47
|
-
'
|
|
49
|
+
'indonesiaDukcapilMatch': json['indonesiaDukcapilMatch'] == null ? undefined : IndonesiaDukcapilMatchInputFromJSON(json['indonesiaDukcapilMatch']),
|
|
48
50
|
'mexicoCurp': json['mexicoCurp'] == null ? undefined : MexicoCurpInputFromJSON(json['mexicoCurp']),
|
|
49
51
|
'southAfricaNid': json['southAfricaNid'] == null ? undefined : SouthAfricaNidInputFromJSON(json['southAfricaNid']),
|
|
50
52
|
'kenyaNid': json['kenyaNid'] == null ? undefined : KenyaNidInputFromJSON(json['kenyaNid']),
|
|
@@ -59,6 +61,8 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
59
61
|
'mobileId': json['mobileId'] == null ? undefined : MobileIdInputFromJSON(json['mobileId']),
|
|
60
62
|
'idin': json['idin'] == null ? undefined : IdinInputFromJSON(json['idin']),
|
|
61
63
|
'spid': json['spid'] == null ? undefined : SpidInputFromJSON(json['spid']),
|
|
64
|
+
'googleWallet': json['googleWallet'] == null ? undefined : GoogleWalletInputFromJSON(json['googleWallet']),
|
|
65
|
+
'appleWallet': json['appleWallet'] == null ? undefined : AppleWalletInputFromJSON(json['appleWallet']),
|
|
62
66
|
'trinsicTestDatabaseLookup': json['trinsicTestDatabaseLookup'] == null ? undefined : TrinsicTestDatabaseLookupInputFromJSON(json['trinsicTestDatabaseLookup']),
|
|
63
67
|
'trinsicTestSubProviders': json['trinsicTestSubProviders'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsicTestSubProviders']),
|
|
64
68
|
};
|
|
@@ -72,7 +76,7 @@ export function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
72
76
|
}
|
|
73
77
|
return {
|
|
74
78
|
'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
|
|
75
|
-
'
|
|
79
|
+
'indonesiaDukcapilMatch': IndonesiaDukcapilMatchInputToJSON(value['indonesiaDukcapilMatch']),
|
|
76
80
|
'mexicoCurp': MexicoCurpInputToJSON(value['mexicoCurp']),
|
|
77
81
|
'southAfricaNid': SouthAfricaNidInputToJSON(value['southAfricaNid']),
|
|
78
82
|
'kenyaNid': KenyaNidInputToJSON(value['kenyaNid']),
|
|
@@ -87,6 +91,8 @@ export function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
87
91
|
'mobileId': MobileIdInputToJSON(value['mobileId']),
|
|
88
92
|
'idin': IdinInputToJSON(value['idin']),
|
|
89
93
|
'spid': SpidInputToJSON(value['spid']),
|
|
94
|
+
'googleWallet': GoogleWalletInputToJSON(value['googleWallet']),
|
|
95
|
+
'appleWallet': AppleWalletInputToJSON(value['appleWallet']),
|
|
90
96
|
'trinsicTestDatabaseLookup': TrinsicTestDatabaseLookupInputToJSON(value['trinsicTestDatabaseLookup']),
|
|
91
97
|
'trinsicTestSubProviders': TrinsicTestSubProvidersInputToJSON(value['trinsicTestSubProviders']),
|
|
92
98
|
};
|
|
@@ -16,6 +16,12 @@ import type { RecommendationInfo } from './RecommendationInfo';
|
|
|
16
16
|
* @interface RecommendRequest
|
|
17
17
|
*/
|
|
18
18
|
export interface RecommendRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The ID of the VerificationProfile to use for this recommendation.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof RecommendRequest
|
|
23
|
+
*/
|
|
24
|
+
verificationProfileId: string;
|
|
19
25
|
/**
|
|
20
26
|
* Information about the user you wish to generate a recommendation for.
|
|
21
27
|
* @type {RecommendationInfo}
|
|
@@ -16,6 +16,8 @@ import { RecommendationInfoFromJSON, RecommendationInfoToJSON, } from './Recomme
|
|
|
16
16
|
* Check if a given object implements the RecommendRequest interface.
|
|
17
17
|
*/
|
|
18
18
|
export function instanceOfRecommendRequest(value) {
|
|
19
|
+
if (!('verificationProfileId' in value) || value['verificationProfileId'] === undefined)
|
|
20
|
+
return false;
|
|
19
21
|
return true;
|
|
20
22
|
}
|
|
21
23
|
export function RecommendRequestFromJSON(json) {
|
|
@@ -26,6 +28,7 @@ export function RecommendRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
28
|
return json;
|
|
27
29
|
}
|
|
28
30
|
return {
|
|
31
|
+
'verificationProfileId': json['verificationProfileId'],
|
|
29
32
|
'recommendationInfo': json['recommendationInfo'] == null ? undefined : RecommendationInfoFromJSON(json['recommendationInfo']),
|
|
30
33
|
'health': json['health'] == null ? undefined : json['health'],
|
|
31
34
|
};
|
|
@@ -38,6 +41,7 @@ export function RecommendRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
38
41
|
return value;
|
|
39
42
|
}
|
|
40
43
|
return {
|
|
44
|
+
'verificationProfileId': value['verificationProfileId'],
|
|
41
45
|
'recommendationInfo': RecommendationInfoToJSON(value['recommendationInfo']),
|
|
42
46
|
'health': value['health'],
|
|
43
47
|
};
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export declare const ResultCollectionMethod: {
|
|
17
17
|
readonly PollResult: "PollResult";
|
|
18
18
|
readonly CaptureRedirect: "CaptureRedirect";
|
|
19
|
+
readonly SubmitNativeChallengeResponse: "SubmitNativeChallengeResponse";
|
|
19
20
|
};
|
|
20
21
|
export type ResultCollectionMethod = typeof ResultCollectionMethod[keyof typeof ResultCollectionMethod];
|
|
21
22
|
export declare function instanceOfResultCollectionMethod(value: any): boolean;
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export const ResultCollectionMethod = {
|
|
19
19
|
PollResult: 'PollResult',
|
|
20
|
-
CaptureRedirect: 'CaptureRedirect'
|
|
20
|
+
CaptureRedirect: 'CaptureRedirect',
|
|
21
|
+
SubmitNativeChallengeResponse: 'SubmitNativeChallengeResponse'
|
|
21
22
|
};
|
|
22
23
|
export function instanceOfResultCollectionMethod(value) {
|
|
23
24
|
for (const key in ResultCollectionMethod) {
|
|
@@ -24,6 +24,8 @@ export declare const SessionErrorCode: {
|
|
|
24
24
|
readonly Inauthentic: "Inauthentic";
|
|
25
25
|
readonly UnsupportedDocument: "UnsupportedDocument";
|
|
26
26
|
readonly AssuranceLevelNotMet: "AssuranceLevelNotMet";
|
|
27
|
+
readonly SecurityValidationFailed: "SecurityValidationFailed";
|
|
28
|
+
readonly InvalidResponse: "InvalidResponse";
|
|
27
29
|
};
|
|
28
30
|
export type SessionErrorCode = typeof SessionErrorCode[keyof typeof SessionErrorCode];
|
|
29
31
|
export declare function instanceOfSessionErrorCode(value: any): boolean;
|
|
@@ -25,7 +25,9 @@ export const SessionErrorCode = {
|
|
|
25
25
|
InvalidImage: 'InvalidImage',
|
|
26
26
|
Inauthentic: 'Inauthentic',
|
|
27
27
|
UnsupportedDocument: 'UnsupportedDocument',
|
|
28
|
-
AssuranceLevelNotMet: 'AssuranceLevelNotMet'
|
|
28
|
+
AssuranceLevelNotMet: 'AssuranceLevelNotMet',
|
|
29
|
+
SecurityValidationFailed: 'SecurityValidationFailed',
|
|
30
|
+
InvalidResponse: 'InvalidResponse'
|
|
29
31
|
};
|
|
30
32
|
export function instanceOfSessionErrorCode(value) {
|
|
31
33
|
for (const key in SessionErrorCode) {
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SubmitNativeChallengeResponseRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SubmitNativeChallengeResponseRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The Results Access Key for the Session in question
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SubmitNativeChallengeResponseRequest
|
|
22
|
+
*/
|
|
23
|
+
resultsAccessKey: string;
|
|
24
|
+
/**
|
|
25
|
+
* The response token retrieved from a Trinsic UI SDK's performMdlExchange() call.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SubmitNativeChallengeResponseRequest
|
|
28
|
+
*/
|
|
29
|
+
responseToken: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the SubmitNativeChallengeResponseRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfSubmitNativeChallengeResponseRequest(value: object): value is SubmitNativeChallengeResponseRequest;
|
|
35
|
+
export declare function SubmitNativeChallengeResponseRequestFromJSON(json: any): SubmitNativeChallengeResponseRequest;
|
|
36
|
+
export declare function SubmitNativeChallengeResponseRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubmitNativeChallengeResponseRequest;
|
|
37
|
+
export declare function SubmitNativeChallengeResponseRequestToJSON(json: any): SubmitNativeChallengeResponseRequest;
|
|
38
|
+
export declare function SubmitNativeChallengeResponseRequestToJSONTyped(value?: SubmitNativeChallengeResponseRequest | null, ignoreDiscriminator?: boolean): any;
|