@trinsic/api 2.0.0-alpha3 → 2.0.0
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 +11 -3
- package/dist/apis/AttachmentsApi.d.ts +4 -4
- package/dist/apis/AttachmentsApi.js +2 -2
- package/dist/apis/NetworkApi.d.ts +28 -5
- package/dist/apis/NetworkApi.js +36 -2
- package/dist/apis/SessionsApi.d.ts +8 -8
- package/dist/apis/SessionsApi.js +4 -4
- package/dist/esm/apis/AttachmentsApi.d.ts +4 -4
- package/dist/esm/apis/AttachmentsApi.js +2 -2
- package/dist/esm/apis/NetworkApi.d.ts +28 -5
- package/dist/esm/apis/NetworkApi.js +37 -3
- package/dist/esm/apis/SessionsApi.d.ts +8 -8
- package/dist/esm/apis/SessionsApi.js +4 -4
- package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +13 -1
- package/dist/esm/models/CreateHostedProviderSessionResponse.js +7 -1
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +6 -5
- package/dist/esm/models/CreateWidgetSessionRequest.js +3 -3
- package/dist/esm/models/CreateWidgetSessionResponse.d.ts +13 -1
- package/dist/esm/models/CreateWidgetSessionResponse.js +7 -1
- package/dist/esm/models/IdentityData.d.ts +6 -0
- package/dist/esm/models/IdentityData.js +2 -0
- package/dist/esm/models/IdinInput.d.ts +33 -0
- package/dist/esm/models/IdinInput.js +38 -0
- package/dist/esm/models/IntegrationLaunchMethod.d.ts +1 -1
- package/dist/esm/models/IntegrationLaunchMethod.js +1 -1
- package/dist/esm/models/Language.d.ts +26 -0
- package/dist/esm/models/Language.js +42 -0
- package/dist/esm/models/ListProviderContractsResponse.d.ts +32 -0
- package/dist/esm/models/ListProviderContractsResponse.js +41 -0
- package/dist/esm/models/MobileIdInput.d.ts +44 -0
- package/dist/esm/models/MobileIdInput.js +43 -0
- package/dist/esm/models/ProviderContract.d.ts +146 -0
- package/dist/esm/models/ProviderContract.js +97 -0
- package/dist/esm/models/ProviderInfo.d.ts +0 -6
- package/dist/esm/models/ProviderInfo.js +0 -2
- package/dist/esm/models/ProviderInformation.d.ts +4 -4
- package/dist/esm/models/ProviderInformation.js +1 -5
- package/dist/esm/models/ProviderInput.d.ts +62 -16
- package/dist/esm/models/ProviderInput.js +23 -5
- package/dist/esm/models/RecommendRequest.d.ts +4 -27
- package/dist/esm/models/RecommendRequest.js +3 -10
- package/dist/esm/models/RecommendationInfo.d.ts +55 -0
- package/dist/esm/models/RecommendationInfo.js +44 -0
- package/dist/esm/models/ResultCollection.d.ts +8 -2
- package/dist/esm/models/ResultCollection.js +3 -1
- package/dist/esm/models/SmartIdInput.d.ts +31 -0
- package/dist/esm/models/SmartIdInput.js +38 -0
- package/dist/esm/models/SpidInput.d.ts +33 -0
- package/dist/esm/models/SpidInput.js +38 -0
- package/dist/esm/models/SubProviderMetadata.d.ts +54 -0
- package/dist/esm/models/SubProviderMetadata.js +52 -0
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +44 -0
- package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +35 -0
- package/dist/esm/models/TrinsicTestSubProvidersInput.js +38 -0
- package/dist/esm/models/index.d.ts +11 -3
- package/dist/esm/models/index.js +11 -3
- package/dist/models/CreateHostedProviderSessionResponse.d.ts +13 -1
- package/dist/models/CreateHostedProviderSessionResponse.js +7 -1
- package/dist/models/CreateWidgetSessionRequest.d.ts +6 -5
- package/dist/models/CreateWidgetSessionRequest.js +3 -3
- package/dist/models/CreateWidgetSessionResponse.d.ts +13 -1
- package/dist/models/CreateWidgetSessionResponse.js +7 -1
- package/dist/models/IdentityData.d.ts +6 -0
- package/dist/models/IdentityData.js +2 -0
- package/dist/models/IdinInput.d.ts +33 -0
- package/dist/models/IdinInput.js +44 -0
- package/dist/models/IntegrationLaunchMethod.d.ts +1 -1
- package/dist/models/IntegrationLaunchMethod.js +1 -1
- package/dist/models/Language.d.ts +26 -0
- package/dist/models/Language.js +49 -0
- package/dist/models/ListProviderContractsResponse.d.ts +32 -0
- package/dist/models/ListProviderContractsResponse.js +47 -0
- package/dist/models/MobileIdInput.d.ts +44 -0
- package/dist/models/MobileIdInput.js +49 -0
- package/dist/models/ProviderContract.d.ts +146 -0
- package/dist/models/ProviderContract.js +103 -0
- package/dist/models/ProviderInfo.d.ts +0 -6
- package/dist/models/ProviderInfo.js +0 -2
- package/dist/models/ProviderInformation.d.ts +4 -4
- package/dist/models/ProviderInformation.js +1 -5
- package/dist/models/ProviderInput.d.ts +62 -16
- package/dist/models/ProviderInput.js +23 -5
- package/dist/models/RecommendRequest.d.ts +4 -27
- package/dist/models/RecommendRequest.js +3 -10
- package/dist/models/RecommendationInfo.d.ts +55 -0
- package/dist/models/RecommendationInfo.js +50 -0
- package/dist/models/ResultCollection.d.ts +8 -2
- package/dist/models/ResultCollection.js +3 -1
- package/dist/models/SmartIdInput.d.ts +31 -0
- package/dist/models/SmartIdInput.js +44 -0
- package/dist/models/SpidInput.d.ts +33 -0
- package/dist/models/SpidInput.js +44 -0
- package/dist/models/SubProviderMetadata.d.ts +54 -0
- package/dist/models/SubProviderMetadata.js +58 -0
- package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +66 -0
- package/dist/models/TrinsicTestDatabaseLookupInput.js +50 -0
- package/dist/models/TrinsicTestSubProvidersInput.d.ts +35 -0
- package/dist/models/TrinsicTestSubProvidersInput.js +44 -0
- package/dist/models/index.d.ts +11 -3
- package/dist/models/index.js +11 -3
- package/package.json +1 -1
- package/src/apis/AttachmentsApi.ts +4 -4
- package/src/apis/NetworkApi.ts +58 -4
- package/src/apis/SessionsApi.ts +8 -8
- package/src/models/BrazilDigitalCnhInput.ts +8 -8
- package/src/models/CreateAdvancedProviderSessionRequest.ts +26 -26
- package/src/models/CreateHostedProviderSessionResponse.ts +24 -8
- package/src/models/CreateWidgetSessionRequest.ts +16 -15
- package/src/models/CreateWidgetSessionResponse.ts +22 -6
- package/src/models/IdentityData.ts +8 -0
- package/src/models/IdinInput.ts +62 -0
- package/src/models/IntegrationLaunchMethod.ts +1 -1
- package/src/models/Language.ts +51 -0
- package/src/models/ListProviderContractsResponse.ts +68 -0
- package/src/models/MobileIdInput.ts +85 -0
- package/src/models/ProviderContract.ts +235 -0
- package/src/models/ProviderInfo.ts +0 -8
- package/src/models/ProviderInformation.ts +4 -7
- package/src/models/ProviderInput.ts +128 -40
- package/src/models/RecommendRequest.ts +12 -37
- package/src/models/RecommendationInfo.ts +90 -0
- package/src/models/ResultCollection.ts +10 -3
- package/src/models/Session.ts +7 -7
- package/src/models/SmartIdInput.ts +60 -0
- package/src/models/SpidInput.ts +62 -0
- package/src/models/StepRefreshInfo.ts +2 -2
- package/src/models/SubProviderMetadata.ts +93 -0
- package/src/models/TrinsicTestDatabaseLookupInput.ts +101 -0
- package/src/models/TrinsicTestSubProvidersInput.ts +64 -0
- package/src/models/index.ts +11 -3
- package/dist/esm/models/KnownAddress.d.ts +0 -74
- package/dist/esm/models/KnownAddress.js +0 -52
- package/dist/esm/models/KnownIdentityData.d.ts +0 -34
- package/dist/esm/models/KnownIdentityData.js +0 -39
- package/dist/esm/models/KnownPersonData.d.ts +0 -74
- package/dist/esm/models/KnownPersonData.js +0 -53
- package/dist/models/KnownAddress.d.ts +0 -74
- package/dist/models/KnownAddress.js +0 -58
- package/dist/models/KnownIdentityData.d.ts +0 -34
- package/dist/models/KnownIdentityData.js +0 -45
- package/dist/models/KnownPersonData.d.ts +0 -74
- package/dist/models/KnownPersonData.js +0 -59
- package/src/models/KnownAddress.ts +0 -117
- package/src/models/KnownIdentityData.ts +0 -69
- package/src/models/KnownPersonData.ts +0 -123
|
@@ -0,0 +1,44 @@
|
|
|
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.instanceOfSmartIdInput = instanceOfSmartIdInput;
|
|
17
|
+
exports.SmartIdInputFromJSON = SmartIdInputFromJSON;
|
|
18
|
+
exports.SmartIdInputFromJSONTyped = SmartIdInputFromJSONTyped;
|
|
19
|
+
exports.SmartIdInputToJSON = SmartIdInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SmartIdInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfSmartIdInput(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function SmartIdInputFromJSON(json) {
|
|
27
|
+
return SmartIdInputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function SmartIdInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'smartIdDocumentNumber': json['smartIdDocumentNumber'] == null ? undefined : json['smartIdDocumentNumber'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function SmartIdInputToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'smartIdDocumentNumber': value['smartIdDocumentNumber'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 SpidInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SpidInput {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the specific IDP to invoke within SPID.
|
|
20
|
+
*
|
|
21
|
+
* If not specified, the user will be prompted to select an IDP.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SpidInput
|
|
24
|
+
*/
|
|
25
|
+
subProviderId?: string | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the SpidInput interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfSpidInput(value: object): value is SpidInput;
|
|
31
|
+
export declare function SpidInputFromJSON(json: any): SpidInput;
|
|
32
|
+
export declare function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidInput;
|
|
33
|
+
export declare function SpidInputToJSON(value?: SpidInput | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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.instanceOfSpidInput = instanceOfSpidInput;
|
|
17
|
+
exports.SpidInputFromJSON = SpidInputFromJSON;
|
|
18
|
+
exports.SpidInputFromJSONTyped = SpidInputFromJSONTyped;
|
|
19
|
+
exports.SpidInputToJSON = SpidInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SpidInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfSpidInput(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function SpidInputFromJSON(json) {
|
|
27
|
+
return SpidInputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function SpidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function SpidInputToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'subProviderId': value['subProviderId'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* Information about a sub-provider.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SubProviderMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface SubProviderMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the sub-provider.
|
|
20
|
+
*
|
|
21
|
+
* This cannot be used as a standalone Provider ID when creating a Session. It must
|
|
22
|
+
* be passed in via the Provider-specific input.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof SubProviderMetadata
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the sub-provider
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SubProviderMetadata
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
* Flavor text for the sub-provider
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof SubProviderMetadata
|
|
37
|
+
*/
|
|
38
|
+
description: string;
|
|
39
|
+
/**
|
|
40
|
+
* A URL pointing to the logo on Trinsic's CDN.
|
|
41
|
+
*
|
|
42
|
+
* May be a PNG, JPG, or SVG image.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof SubProviderMetadata
|
|
45
|
+
*/
|
|
46
|
+
logoUrl: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the SubProviderMetadata interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfSubProviderMetadata(value: object): value is SubProviderMetadata;
|
|
52
|
+
export declare function SubProviderMetadataFromJSON(json: any): SubProviderMetadata;
|
|
53
|
+
export declare function SubProviderMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubProviderMetadata;
|
|
54
|
+
export declare function SubProviderMetadataToJSON(value?: SubProviderMetadata | null): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.instanceOfSubProviderMetadata = instanceOfSubProviderMetadata;
|
|
17
|
+
exports.SubProviderMetadataFromJSON = SubProviderMetadataFromJSON;
|
|
18
|
+
exports.SubProviderMetadataFromJSONTyped = SubProviderMetadataFromJSONTyped;
|
|
19
|
+
exports.SubProviderMetadataToJSON = SubProviderMetadataToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the SubProviderMetadata interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfSubProviderMetadata(value) {
|
|
24
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function SubProviderMetadataFromJSON(json) {
|
|
35
|
+
return SubProviderMetadataFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function SubProviderMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'name': json['name'],
|
|
44
|
+
'description': json['description'],
|
|
45
|
+
'logoUrl': json['logoUrl'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function SubProviderMetadataToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value['id'],
|
|
54
|
+
'name': value['name'],
|
|
55
|
+
'description': value['description'],
|
|
56
|
+
'logoUrl': value['logoUrl'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 TrinsicTestDatabaseLookupInput
|
|
16
|
+
*/
|
|
17
|
+
export interface TrinsicTestDatabaseLookupInput {
|
|
18
|
+
/**
|
|
19
|
+
* The given name to use for the output of the test Session.
|
|
20
|
+
*
|
|
21
|
+
* This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
|
|
22
|
+
* from the user.
|
|
23
|
+
*
|
|
24
|
+
* Can be any non-empty value.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
27
|
+
*/
|
|
28
|
+
givenName?: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* The family name to use for the output of the test Session.
|
|
31
|
+
*
|
|
32
|
+
* This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
|
|
33
|
+
* from the user.
|
|
34
|
+
*
|
|
35
|
+
* Can be any non-empty value.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
38
|
+
*/
|
|
39
|
+
familyName?: string | null;
|
|
40
|
+
/**
|
|
41
|
+
* A 6-digit code; must be "123456" for the Session to succeed.
|
|
42
|
+
*
|
|
43
|
+
* This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
|
|
44
|
+
* from the user.
|
|
45
|
+
*
|
|
46
|
+
* Any other value will cause the Session to fail.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
49
|
+
*/
|
|
50
|
+
identityCode?: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* An optional selfie image, base64-encoded.
|
|
53
|
+
*
|
|
54
|
+
* Will replace the existing test selfie attachment output if provided.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
57
|
+
*/
|
|
58
|
+
selfieBase64?: string | null;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the TrinsicTestDatabaseLookupInput interface.
|
|
62
|
+
*/
|
|
63
|
+
export declare function instanceOfTrinsicTestDatabaseLookupInput(value: object): value is TrinsicTestDatabaseLookupInput;
|
|
64
|
+
export declare function TrinsicTestDatabaseLookupInputFromJSON(json: any): TrinsicTestDatabaseLookupInput;
|
|
65
|
+
export declare function TrinsicTestDatabaseLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestDatabaseLookupInput;
|
|
66
|
+
export declare function TrinsicTestDatabaseLookupInputToJSON(value?: TrinsicTestDatabaseLookupInput | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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.instanceOfTrinsicTestDatabaseLookupInput = instanceOfTrinsicTestDatabaseLookupInput;
|
|
17
|
+
exports.TrinsicTestDatabaseLookupInputFromJSON = TrinsicTestDatabaseLookupInputFromJSON;
|
|
18
|
+
exports.TrinsicTestDatabaseLookupInputFromJSONTyped = TrinsicTestDatabaseLookupInputFromJSONTyped;
|
|
19
|
+
exports.TrinsicTestDatabaseLookupInputToJSON = TrinsicTestDatabaseLookupInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the TrinsicTestDatabaseLookupInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfTrinsicTestDatabaseLookupInput(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function TrinsicTestDatabaseLookupInputFromJSON(json) {
|
|
27
|
+
return TrinsicTestDatabaseLookupInputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function TrinsicTestDatabaseLookupInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
35
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
36
|
+
'identityCode': json['identityCode'] == null ? undefined : json['identityCode'],
|
|
37
|
+
'selfieBase64': json['selfieBase64'] == null ? undefined : json['selfieBase64'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function TrinsicTestDatabaseLookupInputToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'givenName': value['givenName'],
|
|
46
|
+
'familyName': value['familyName'],
|
|
47
|
+
'identityCode': value['identityCode'],
|
|
48
|
+
'selfieBase64': value['selfieBase64'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 TrinsicTestSubProvidersInput
|
|
16
|
+
*/
|
|
17
|
+
export interface TrinsicTestSubProvidersInput {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the specific IDP to invoke within the test federated provider.
|
|
20
|
+
*
|
|
21
|
+
* Valid options are `sub-provider-a` and `sub-provider-b`.
|
|
22
|
+
*
|
|
23
|
+
* If not specified, the user will be prompted to select one.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof TrinsicTestSubProvidersInput
|
|
26
|
+
*/
|
|
27
|
+
subProviderId?: string | null;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the TrinsicTestSubProvidersInput interface.
|
|
31
|
+
*/
|
|
32
|
+
export declare function instanceOfTrinsicTestSubProvidersInput(value: object): value is TrinsicTestSubProvidersInput;
|
|
33
|
+
export declare function TrinsicTestSubProvidersInputFromJSON(json: any): TrinsicTestSubProvidersInput;
|
|
34
|
+
export declare function TrinsicTestSubProvidersInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestSubProvidersInput;
|
|
35
|
+
export declare function TrinsicTestSubProvidersInputToJSON(value?: TrinsicTestSubProvidersInput | null): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
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.instanceOfTrinsicTestSubProvidersInput = instanceOfTrinsicTestSubProvidersInput;
|
|
17
|
+
exports.TrinsicTestSubProvidersInputFromJSON = TrinsicTestSubProvidersInputFromJSON;
|
|
18
|
+
exports.TrinsicTestSubProvidersInputFromJSONTyped = TrinsicTestSubProvidersInputFromJSONTyped;
|
|
19
|
+
exports.TrinsicTestSubProvidersInputToJSON = TrinsicTestSubProvidersInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the TrinsicTestSubProvidersInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfTrinsicTestSubProvidersInput(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function TrinsicTestSubProvidersInputFromJSON(json) {
|
|
27
|
+
return TrinsicTestSubProvidersInputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function TrinsicTestSubProvidersInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function TrinsicTestSubProvidersInputToJSON(value) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'subProviderId': value['subProviderId'],
|
|
43
|
+
};
|
|
44
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -21,17 +21,18 @@ export * from './GetSessionResultRequest';
|
|
|
21
21
|
export * from './GetSessionResultResponse';
|
|
22
22
|
export * from './HttpValidationProblemDetails';
|
|
23
23
|
export * from './IdentityData';
|
|
24
|
+
export * from './IdinInput';
|
|
24
25
|
export * from './IndonesiaNikInput';
|
|
25
26
|
export * from './IntegrationCapability';
|
|
26
27
|
export * from './IntegrationLaunchMethod';
|
|
27
28
|
export * from './IntegrationStep';
|
|
28
29
|
export * from './KenyaNidInput';
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
31
|
-
export * from './KnownPersonData';
|
|
30
|
+
export * from './Language';
|
|
31
|
+
export * from './ListProviderContractsResponse';
|
|
32
32
|
export * from './ListProvidersResponse';
|
|
33
33
|
export * from './ListSessionsResponse';
|
|
34
34
|
export * from './MexicoCurpInput';
|
|
35
|
+
export * from './MobileIdInput';
|
|
35
36
|
export * from './NigeriaNinInput';
|
|
36
37
|
export * from './OrderDirection';
|
|
37
38
|
export * from './PersonData';
|
|
@@ -39,11 +40,13 @@ export * from './PhilippineMatchInput';
|
|
|
39
40
|
export * from './PhilippineQRInput';
|
|
40
41
|
export * from './ProblemDetails';
|
|
41
42
|
export * from './ProviderAttachments';
|
|
43
|
+
export * from './ProviderContract';
|
|
42
44
|
export * from './ProviderInfo';
|
|
43
45
|
export * from './ProviderInformation';
|
|
44
46
|
export * from './ProviderInput';
|
|
45
47
|
export * from './RecommendRequest';
|
|
46
48
|
export * from './RecommendResponse';
|
|
49
|
+
export * from './RecommendationInfo';
|
|
47
50
|
export * from './RefreshStepContentRequest';
|
|
48
51
|
export * from './RefreshStepContentResponse';
|
|
49
52
|
export * from './ResultCollection';
|
|
@@ -52,5 +55,10 @@ export * from './Session';
|
|
|
52
55
|
export * from './SessionErrorCode';
|
|
53
56
|
export * from './SessionOrdering';
|
|
54
57
|
export * from './Sex';
|
|
58
|
+
export * from './SmartIdInput';
|
|
55
59
|
export * from './SouthAfricaNidInput';
|
|
60
|
+
export * from './SpidInput';
|
|
56
61
|
export * from './StepRefreshInfo';
|
|
62
|
+
export * from './SubProviderMetadata';
|
|
63
|
+
export * from './TrinsicTestDatabaseLookupInput';
|
|
64
|
+
export * from './TrinsicTestSubProvidersInput';
|
package/dist/models/index.js
CHANGED
|
@@ -39,17 +39,18 @@ __exportStar(require("./GetSessionResultRequest"), exports);
|
|
|
39
39
|
__exportStar(require("./GetSessionResultResponse"), exports);
|
|
40
40
|
__exportStar(require("./HttpValidationProblemDetails"), exports);
|
|
41
41
|
__exportStar(require("./IdentityData"), exports);
|
|
42
|
+
__exportStar(require("./IdinInput"), exports);
|
|
42
43
|
__exportStar(require("./IndonesiaNikInput"), exports);
|
|
43
44
|
__exportStar(require("./IntegrationCapability"), exports);
|
|
44
45
|
__exportStar(require("./IntegrationLaunchMethod"), exports);
|
|
45
46
|
__exportStar(require("./IntegrationStep"), exports);
|
|
46
47
|
__exportStar(require("./KenyaNidInput"), exports);
|
|
47
|
-
__exportStar(require("./
|
|
48
|
-
__exportStar(require("./
|
|
49
|
-
__exportStar(require("./KnownPersonData"), exports);
|
|
48
|
+
__exportStar(require("./Language"), exports);
|
|
49
|
+
__exportStar(require("./ListProviderContractsResponse"), exports);
|
|
50
50
|
__exportStar(require("./ListProvidersResponse"), exports);
|
|
51
51
|
__exportStar(require("./ListSessionsResponse"), exports);
|
|
52
52
|
__exportStar(require("./MexicoCurpInput"), exports);
|
|
53
|
+
__exportStar(require("./MobileIdInput"), exports);
|
|
53
54
|
__exportStar(require("./NigeriaNinInput"), exports);
|
|
54
55
|
__exportStar(require("./OrderDirection"), exports);
|
|
55
56
|
__exportStar(require("./PersonData"), exports);
|
|
@@ -57,11 +58,13 @@ __exportStar(require("./PhilippineMatchInput"), exports);
|
|
|
57
58
|
__exportStar(require("./PhilippineQRInput"), exports);
|
|
58
59
|
__exportStar(require("./ProblemDetails"), exports);
|
|
59
60
|
__exportStar(require("./ProviderAttachments"), exports);
|
|
61
|
+
__exportStar(require("./ProviderContract"), exports);
|
|
60
62
|
__exportStar(require("./ProviderInfo"), exports);
|
|
61
63
|
__exportStar(require("./ProviderInformation"), exports);
|
|
62
64
|
__exportStar(require("./ProviderInput"), exports);
|
|
63
65
|
__exportStar(require("./RecommendRequest"), exports);
|
|
64
66
|
__exportStar(require("./RecommendResponse"), exports);
|
|
67
|
+
__exportStar(require("./RecommendationInfo"), exports);
|
|
65
68
|
__exportStar(require("./RefreshStepContentRequest"), exports);
|
|
66
69
|
__exportStar(require("./RefreshStepContentResponse"), exports);
|
|
67
70
|
__exportStar(require("./ResultCollection"), exports);
|
|
@@ -70,5 +73,10 @@ __exportStar(require("./Session"), exports);
|
|
|
70
73
|
__exportStar(require("./SessionErrorCode"), exports);
|
|
71
74
|
__exportStar(require("./SessionOrdering"), exports);
|
|
72
75
|
__exportStar(require("./Sex"), exports);
|
|
76
|
+
__exportStar(require("./SmartIdInput"), exports);
|
|
73
77
|
__exportStar(require("./SouthAfricaNidInput"), exports);
|
|
78
|
+
__exportStar(require("./SpidInput"), exports);
|
|
74
79
|
__exportStar(require("./StepRefreshInfo"), exports);
|
|
80
|
+
__exportStar(require("./SubProviderMetadata"), exports);
|
|
81
|
+
__exportStar(require("./TrinsicTestDatabaseLookupInput"), exports);
|
|
82
|
+
__exportStar(require("./TrinsicTestSubProvidersInput"), exports);
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@ export interface GetAttachmentOperationRequest {
|
|
|
40
40
|
*/
|
|
41
41
|
export interface AttachmentsApiInterface {
|
|
42
42
|
/**
|
|
43
|
-
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment.
|
|
43
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
44
44
|
* @summary Get Attachment
|
|
45
45
|
* @param {GetAttachmentRequest} [getAttachmentRequest]
|
|
46
46
|
* @param {*} [options] Override http request option.
|
|
@@ -50,7 +50,7 @@ export interface AttachmentsApiInterface {
|
|
|
50
50
|
getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>>;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment.
|
|
53
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
54
54
|
* Get Attachment
|
|
55
55
|
*/
|
|
56
56
|
getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse>;
|
|
@@ -63,7 +63,7 @@ export interface AttachmentsApiInterface {
|
|
|
63
63
|
export class AttachmentsApi extends runtime.BaseAPI implements AttachmentsApiInterface {
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment.
|
|
66
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
67
67
|
* Get Attachment
|
|
68
68
|
*/
|
|
69
69
|
async getAttachmentRaw(requestParameters: GetAttachmentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAttachmentResponse>> {
|
|
@@ -93,7 +93,7 @@ export class AttachmentsApi extends runtime.BaseAPI implements AttachmentsApiInt
|
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment.
|
|
96
|
+
* Exchange an Attachment Access Key (from `IdentityData.Attachments`) for the raw contents of the attachment. Use this API to fetch document (front, back, portrait) or other (selfie) images from a verification, if relevant. In some cases, attachments may not be immediately available after a verification is completed. If so, this endpoint will return an HTTP 503 code, and you should try again later.
|
|
97
97
|
* Get Attachment
|
|
98
98
|
*/
|
|
99
99
|
async getAttachment(getAttachmentRequest?: GetAttachmentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAttachmentResponse> {
|