@trinsic/api 0.6.0 → 0.6.2
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/dist/apis/AttachmentsApi.d.ts +53 -0
- package/dist/apis/AttachmentsApi.js +68 -0
- package/dist/apis/NetworkApi.d.ts +76 -0
- package/dist/apis/NetworkApi.js +104 -0
- package/dist/apis/SessionsApi.d.ts +193 -0
- package/dist/apis/SessionsApi.js +262 -0
- package/dist/apis/index.d.ts +3 -0
- package/dist/apis/index.js +21 -0
- package/dist/esm/apis/AttachmentsApi.d.ts +53 -0
- package/dist/esm/apis/AttachmentsApi.js +64 -0
- package/dist/esm/apis/NetworkApi.d.ts +76 -0
- package/dist/esm/apis/NetworkApi.js +100 -0
- package/dist/esm/apis/SessionsApi.d.ts +193 -0
- package/dist/esm/apis/SessionsApi.js +258 -0
- package/dist/esm/apis/index.d.ts +3 -0
- package/dist/esm/apis/index.js +5 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/Address.d.ts +73 -0
- package/dist/esm/models/Address.js +52 -0
- package/dist/esm/models/Attachments.d.ts +51 -0
- package/dist/esm/models/Attachments.js +44 -0
- package/dist/esm/models/CancelSessionResponse.d.ts +32 -0
- package/dist/esm/models/CancelSessionResponse.js +41 -0
- package/dist/esm/models/CreateSessionRequest.d.ts +52 -0
- package/dist/esm/models/CreateSessionRequest.js +43 -0
- package/dist/esm/models/CreateSessionResponse.d.ts +43 -0
- package/dist/esm/models/CreateSessionResponse.js +43 -0
- package/dist/esm/models/DisclosedFields.d.ts +97 -0
- package/dist/esm/models/DisclosedFields.js +84 -0
- package/dist/esm/models/DisclosedFieldsRequest.d.ts +97 -0
- package/dist/esm/models/DisclosedFieldsRequest.js +60 -0
- package/dist/esm/models/DocumentData.d.ts +61 -0
- package/dist/esm/models/DocumentData.js +48 -0
- package/dist/esm/models/FailureMessage.d.ts +31 -0
- package/dist/esm/models/FailureMessage.js +40 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +31 -0
- package/dist/esm/models/GetAttachmentRequest.js +40 -0
- package/dist/esm/models/GetSessionResponse.d.ts +32 -0
- package/dist/esm/models/GetSessionResponse.js +41 -0
- package/dist/esm/models/GetSessionResultRequest.d.ts +31 -0
- package/dist/esm/models/GetSessionResultRequest.js +40 -0
- package/dist/esm/models/GetSessionResultResponse.d.ts +39 -0
- package/dist/esm/models/GetSessionResultResponse.js +44 -0
- package/dist/esm/models/IdentityData.d.ts +52 -0
- package/dist/esm/models/IdentityData.js +47 -0
- package/dist/esm/models/IdentityLookupResponse.d.ts +31 -0
- package/dist/esm/models/IdentityLookupResponse.js +40 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +32 -0
- package/dist/esm/models/ListProvidersResponse.js +41 -0
- package/dist/esm/models/ListSessionsResponse.d.ts +44 -0
- package/dist/esm/models/ListSessionsResponse.js +49 -0
- package/dist/esm/models/OrderDirection.d.ts +24 -0
- package/dist/esm/models/OrderDirection.js +40 -0
- package/dist/esm/models/PersonData.d.ts +82 -0
- package/dist/esm/models/PersonData.js +55 -0
- package/dist/esm/models/ProviderInfo.d.ts +43 -0
- package/dist/esm/models/ProviderInfo.js +48 -0
- package/dist/esm/models/Session.d.ts +71 -0
- package/dist/esm/models/Session.js +66 -0
- package/dist/esm/models/SessionFailCode.d.ts +29 -0
- package/dist/esm/models/SessionFailCode.js +45 -0
- package/dist/esm/models/SessionOrdering.d.ts +25 -0
- package/dist/esm/models/SessionOrdering.js +41 -0
- package/dist/esm/models/SessionState.d.ts +28 -0
- package/dist/esm/models/SessionState.js +44 -0
- package/dist/esm/models/ValidationResult.d.ts +37 -0
- package/dist/esm/models/ValidationResult.js +41 -0
- package/dist/esm/models/Verification.d.ts +38 -0
- package/dist/esm/models/Verification.js +41 -0
- package/dist/esm/models/VerificationFailCode.d.ts +27 -0
- package/dist/esm/models/VerificationFailCode.js +43 -0
- package/dist/esm/models/index.d.ts +27 -0
- package/dist/esm/models/index.js +29 -0
- package/dist/esm/runtime.d.ts +181 -0
- package/dist/esm/runtime.js +326 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/Address.d.ts +73 -0
- package/dist/models/Address.js +58 -0
- package/dist/models/Attachments.d.ts +51 -0
- package/dist/models/Attachments.js +50 -0
- package/dist/models/CancelSessionResponse.d.ts +32 -0
- package/dist/models/CancelSessionResponse.js +47 -0
- package/dist/models/CreateSessionRequest.d.ts +52 -0
- package/dist/models/CreateSessionRequest.js +49 -0
- package/dist/models/CreateSessionResponse.d.ts +43 -0
- package/dist/models/CreateSessionResponse.js +49 -0
- package/dist/models/DisclosedFields.d.ts +97 -0
- package/dist/models/DisclosedFields.js +90 -0
- package/dist/models/DisclosedFieldsRequest.d.ts +97 -0
- package/dist/models/DisclosedFieldsRequest.js +66 -0
- package/dist/models/DocumentData.d.ts +61 -0
- package/dist/models/DocumentData.js +54 -0
- package/dist/models/FailureMessage.d.ts +31 -0
- package/dist/models/FailureMessage.js +46 -0
- package/dist/models/GetAttachmentRequest.d.ts +31 -0
- package/dist/models/GetAttachmentRequest.js +46 -0
- package/dist/models/GetSessionResponse.d.ts +32 -0
- package/dist/models/GetSessionResponse.js +47 -0
- package/dist/models/GetSessionResultRequest.d.ts +31 -0
- package/dist/models/GetSessionResultRequest.js +46 -0
- package/dist/models/GetSessionResultResponse.d.ts +39 -0
- package/dist/models/GetSessionResultResponse.js +50 -0
- package/dist/models/IdentityData.d.ts +52 -0
- package/dist/models/IdentityData.js +53 -0
- package/dist/models/IdentityLookupResponse.d.ts +31 -0
- package/dist/models/IdentityLookupResponse.js +46 -0
- package/dist/models/ListProvidersResponse.d.ts +32 -0
- package/dist/models/ListProvidersResponse.js +47 -0
- package/dist/models/ListSessionsResponse.d.ts +44 -0
- package/dist/models/ListSessionsResponse.js +55 -0
- package/dist/models/OrderDirection.d.ts +24 -0
- package/dist/models/OrderDirection.js +47 -0
- package/dist/models/PersonData.d.ts +82 -0
- package/dist/models/PersonData.js +61 -0
- package/dist/models/ProviderInfo.d.ts +43 -0
- package/dist/models/ProviderInfo.js +54 -0
- package/dist/models/Session.d.ts +71 -0
- package/dist/models/Session.js +72 -0
- package/dist/models/SessionFailCode.d.ts +29 -0
- package/dist/models/SessionFailCode.js +52 -0
- package/dist/models/SessionOrdering.d.ts +25 -0
- package/dist/models/SessionOrdering.js +48 -0
- package/dist/models/SessionState.d.ts +28 -0
- package/dist/models/SessionState.js +51 -0
- package/dist/models/ValidationResult.d.ts +37 -0
- package/dist/models/ValidationResult.js +47 -0
- package/dist/models/Verification.d.ts +38 -0
- package/dist/models/Verification.js +47 -0
- package/dist/models/VerificationFailCode.d.ts +27 -0
- package/dist/models/VerificationFailCode.js +50 -0
- package/dist/models/index.d.ts +27 -0
- package/dist/models/index.js +45 -0
- package/dist/runtime.d.ts +181 -0
- package/dist/runtime.js +341 -0
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 FailureMessage
|
|
16
|
+
*/
|
|
17
|
+
export interface FailureMessage {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FailureMessage
|
|
22
|
+
*/
|
|
23
|
+
message: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the FailureMessage interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfFailureMessage(value: object): value is FailureMessage;
|
|
29
|
+
export declare function FailureMessageFromJSON(json: any): FailureMessage;
|
|
30
|
+
export declare function FailureMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): FailureMessage;
|
|
31
|
+
export declare function FailureMessageToJSON(value?: FailureMessage | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfFailureMessage = instanceOfFailureMessage;
|
|
17
|
+
exports.FailureMessageFromJSON = FailureMessageFromJSON;
|
|
18
|
+
exports.FailureMessageFromJSONTyped = FailureMessageFromJSONTyped;
|
|
19
|
+
exports.FailureMessageToJSON = FailureMessageToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the FailureMessage interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfFailureMessage(value) {
|
|
24
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function FailureMessageFromJSON(json) {
|
|
29
|
+
return FailureMessageFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function FailureMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function FailureMessageToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'message': value['message'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 GetAttachmentRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAttachmentRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The Attachment Access Key to exchange for the raw file contents of the related Attachment
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetAttachmentRequest
|
|
22
|
+
*/
|
|
23
|
+
attachmentAccessKey: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetAttachmentRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetAttachmentRequest(value: object): value is GetAttachmentRequest;
|
|
29
|
+
export declare function GetAttachmentRequestFromJSON(json: any): GetAttachmentRequest;
|
|
30
|
+
export declare function GetAttachmentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAttachmentRequest;
|
|
31
|
+
export declare function GetAttachmentRequestToJSON(value?: GetAttachmentRequest | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfGetAttachmentRequest = instanceOfGetAttachmentRequest;
|
|
17
|
+
exports.GetAttachmentRequestFromJSON = GetAttachmentRequestFromJSON;
|
|
18
|
+
exports.GetAttachmentRequestFromJSONTyped = GetAttachmentRequestFromJSONTyped;
|
|
19
|
+
exports.GetAttachmentRequestToJSON = GetAttachmentRequestToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the GetAttachmentRequest interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfGetAttachmentRequest(value) {
|
|
24
|
+
if (!('attachmentAccessKey' in value) || value['attachmentAccessKey'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function GetAttachmentRequestFromJSON(json) {
|
|
29
|
+
return GetAttachmentRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function GetAttachmentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'attachmentAccessKey': json['attachmentAccessKey'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function GetAttachmentRequestToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'attachmentAccessKey': value['attachmentAccessKey'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 { Session } from './Session';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetSessionResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface GetSessionResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Session}
|
|
22
|
+
* @memberof GetSessionResponse
|
|
23
|
+
*/
|
|
24
|
+
session: Session;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the GetSessionResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfGetSessionResponse(value: object): value is GetSessionResponse;
|
|
30
|
+
export declare function GetSessionResponseFromJSON(json: any): GetSessionResponse;
|
|
31
|
+
export declare function GetSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSessionResponse;
|
|
32
|
+
export declare function GetSessionResponseToJSON(value?: GetSessionResponse | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfGetSessionResponse = instanceOfGetSessionResponse;
|
|
17
|
+
exports.GetSessionResponseFromJSON = GetSessionResponseFromJSON;
|
|
18
|
+
exports.GetSessionResponseFromJSONTyped = GetSessionResponseFromJSONTyped;
|
|
19
|
+
exports.GetSessionResponseToJSON = GetSessionResponseToJSON;
|
|
20
|
+
const Session_1 = require("./Session");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetSessionResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetSessionResponse(value) {
|
|
25
|
+
if (!('session' in value) || value['session'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetSessionResponseFromJSON(json) {
|
|
30
|
+
return GetSessionResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetSessionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'session': (0, Session_1.SessionFromJSON)(json['session']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetSessionResponseToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'session': (0, Session_1.SessionToJSON)(value['session']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 GetSessionResultRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetSessionResultRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The Results Access Key to exchange
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetSessionResultRequest
|
|
22
|
+
*/
|
|
23
|
+
resultsAccessKey: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the GetSessionResultRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfGetSessionResultRequest(value: object): value is GetSessionResultRequest;
|
|
29
|
+
export declare function GetSessionResultRequestFromJSON(json: any): GetSessionResultRequest;
|
|
30
|
+
export declare function GetSessionResultRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSessionResultRequest;
|
|
31
|
+
export declare function GetSessionResultRequestToJSON(value?: GetSessionResultRequest | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfGetSessionResultRequest = instanceOfGetSessionResultRequest;
|
|
17
|
+
exports.GetSessionResultRequestFromJSON = GetSessionResultRequestFromJSON;
|
|
18
|
+
exports.GetSessionResultRequestFromJSONTyped = GetSessionResultRequestFromJSONTyped;
|
|
19
|
+
exports.GetSessionResultRequestToJSON = GetSessionResultRequestToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the GetSessionResultRequest interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfGetSessionResultRequest(value) {
|
|
24
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function GetSessionResultRequestFromJSON(json) {
|
|
29
|
+
return GetSessionResultRequestFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function GetSessionResultRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function GetSessionResultRequestToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'resultsAccessKey': value['resultsAccessKey'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 { IdentityData } from './IdentityData';
|
|
13
|
+
import type { Session } from './Session';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface GetSessionResultResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface GetSessionResultResponse {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Session}
|
|
23
|
+
* @memberof GetSessionResultResponse
|
|
24
|
+
*/
|
|
25
|
+
session: Session;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {IdentityData}
|
|
29
|
+
* @memberof GetSessionResultResponse
|
|
30
|
+
*/
|
|
31
|
+
identityData?: IdentityData;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the GetSessionResultResponse interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfGetSessionResultResponse(value: object): value is GetSessionResultResponse;
|
|
37
|
+
export declare function GetSessionResultResponseFromJSON(json: any): GetSessionResultResponse;
|
|
38
|
+
export declare function GetSessionResultResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSessionResultResponse;
|
|
39
|
+
export declare function GetSessionResultResponseToJSON(value?: GetSessionResultResponse | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfGetSessionResultResponse = instanceOfGetSessionResultResponse;
|
|
17
|
+
exports.GetSessionResultResponseFromJSON = GetSessionResultResponseFromJSON;
|
|
18
|
+
exports.GetSessionResultResponseFromJSONTyped = GetSessionResultResponseFromJSONTyped;
|
|
19
|
+
exports.GetSessionResultResponseToJSON = GetSessionResultResponseToJSON;
|
|
20
|
+
const IdentityData_1 = require("./IdentityData");
|
|
21
|
+
const Session_1 = require("./Session");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetSessionResultResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfGetSessionResultResponse(value) {
|
|
26
|
+
if (!('session' in value) || value['session'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function GetSessionResultResponseFromJSON(json) {
|
|
31
|
+
return GetSessionResultResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function GetSessionResultResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'session': (0, Session_1.SessionFromJSON)(json['session']),
|
|
39
|
+
'identityData': json['identityData'] == null ? undefined : (0, IdentityData_1.IdentityDataFromJSON)(json['identityData']),
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function GetSessionResultResponseToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'session': (0, Session_1.SessionToJSON)(value['session']),
|
|
48
|
+
'identityData': (0, IdentityData_1.IdentityDataToJSON)(value['identityData']),
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 { DocumentData } from './DocumentData';
|
|
13
|
+
import type { PersonData } from './PersonData';
|
|
14
|
+
import type { Attachments } from './Attachments';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface IdentityData
|
|
19
|
+
*/
|
|
20
|
+
export interface IdentityData {
|
|
21
|
+
/**
|
|
22
|
+
* The ID of the integration from which this data originated (eg "yoti", "clear")
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof IdentityData
|
|
25
|
+
*/
|
|
26
|
+
originatingProviderId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Identity data of the individual who was verified
|
|
29
|
+
* @type {PersonData}
|
|
30
|
+
* @memberof IdentityData
|
|
31
|
+
*/
|
|
32
|
+
person?: PersonData;
|
|
33
|
+
/**
|
|
34
|
+
* Identity data of the document involved in verification, if relevant
|
|
35
|
+
* @type {DocumentData}
|
|
36
|
+
* @memberof IdentityData
|
|
37
|
+
*/
|
|
38
|
+
document?: DocumentData;
|
|
39
|
+
/**
|
|
40
|
+
* Access keys for attachments (eg document/selfie images)
|
|
41
|
+
* @type {Attachments}
|
|
42
|
+
* @memberof IdentityData
|
|
43
|
+
*/
|
|
44
|
+
attachments?: Attachments;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the IdentityData interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfIdentityData(value: object): value is IdentityData;
|
|
50
|
+
export declare function IdentityDataFromJSON(json: any): IdentityData;
|
|
51
|
+
export declare function IdentityDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentityData;
|
|
52
|
+
export declare function IdentityDataToJSON(value?: IdentityData | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfIdentityData = instanceOfIdentityData;
|
|
17
|
+
exports.IdentityDataFromJSON = IdentityDataFromJSON;
|
|
18
|
+
exports.IdentityDataFromJSONTyped = IdentityDataFromJSONTyped;
|
|
19
|
+
exports.IdentityDataToJSON = IdentityDataToJSON;
|
|
20
|
+
const DocumentData_1 = require("./DocumentData");
|
|
21
|
+
const PersonData_1 = require("./PersonData");
|
|
22
|
+
const Attachments_1 = require("./Attachments");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the IdentityData interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfIdentityData(value) {
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function IdentityDataFromJSON(json) {
|
|
30
|
+
return IdentityDataFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'originatingProviderId': json['originatingProviderId'] == null ? undefined : json['originatingProviderId'],
|
|
38
|
+
'person': json['person'] == null ? undefined : (0, PersonData_1.PersonDataFromJSON)(json['person']),
|
|
39
|
+
'document': json['document'] == null ? undefined : (0, DocumentData_1.DocumentDataFromJSON)(json['document']),
|
|
40
|
+
'attachments': json['attachments'] == null ? undefined : (0, Attachments_1.AttachmentsFromJSON)(json['attachments']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function IdentityDataToJSON(value) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'originatingProviderId': value['originatingProviderId'],
|
|
49
|
+
'person': (0, PersonData_1.PersonDataToJSON)(value['person']),
|
|
50
|
+
'document': (0, DocumentData_1.DocumentDataToJSON)(value['document']),
|
|
51
|
+
'attachments': (0, Attachments_1.AttachmentsToJSON)(value['attachments']),
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 IdentityLookupResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface IdentityLookupResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Whether the given phone number is known to have an identity in the network.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof IdentityLookupResponse
|
|
22
|
+
*/
|
|
23
|
+
identityInNetwork: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the IdentityLookupResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfIdentityLookupResponse(value: object): value is IdentityLookupResponse;
|
|
29
|
+
export declare function IdentityLookupResponseFromJSON(json: any): IdentityLookupResponse;
|
|
30
|
+
export declare function IdentityLookupResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentityLookupResponse;
|
|
31
|
+
export declare function IdentityLookupResponseToJSON(value?: IdentityLookupResponse | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfIdentityLookupResponse = instanceOfIdentityLookupResponse;
|
|
17
|
+
exports.IdentityLookupResponseFromJSON = IdentityLookupResponseFromJSON;
|
|
18
|
+
exports.IdentityLookupResponseFromJSONTyped = IdentityLookupResponseFromJSONTyped;
|
|
19
|
+
exports.IdentityLookupResponseToJSON = IdentityLookupResponseToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the IdentityLookupResponse interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfIdentityLookupResponse(value) {
|
|
24
|
+
if (!('identityInNetwork' in value) || value['identityInNetwork'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function IdentityLookupResponseFromJSON(json) {
|
|
29
|
+
return IdentityLookupResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function IdentityLookupResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'identityInNetwork': json['identityInNetwork'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function IdentityLookupResponseToJSON(value) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'identityInNetwork': value['identityInNetwork'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connect 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 { ProviderInfo } from './ProviderInfo';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListProvidersResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface ListProvidersResponse {
|
|
19
|
+
/**
|
|
20
|
+
* The list of identity providers available to your account
|
|
21
|
+
* @type {Array<ProviderInfo>}
|
|
22
|
+
* @memberof ListProvidersResponse
|
|
23
|
+
*/
|
|
24
|
+
providers: Array<ProviderInfo>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ListProvidersResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfListProvidersResponse(value: object): value is ListProvidersResponse;
|
|
30
|
+
export declare function ListProvidersResponseFromJSON(json: any): ListProvidersResponse;
|
|
31
|
+
export declare function ListProvidersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProvidersResponse;
|
|
32
|
+
export declare function ListProvidersResponseToJSON(value?: ListProvidersResponse | null): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Connect 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.instanceOfListProvidersResponse = instanceOfListProvidersResponse;
|
|
17
|
+
exports.ListProvidersResponseFromJSON = ListProvidersResponseFromJSON;
|
|
18
|
+
exports.ListProvidersResponseFromJSONTyped = ListProvidersResponseFromJSONTyped;
|
|
19
|
+
exports.ListProvidersResponseToJSON = ListProvidersResponseToJSON;
|
|
20
|
+
const ProviderInfo_1 = require("./ProviderInfo");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ListProvidersResponse interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfListProvidersResponse(value) {
|
|
25
|
+
if (!('providers' in value) || value['providers'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function ListProvidersResponseFromJSON(json) {
|
|
30
|
+
return ListProvidersResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function ListProvidersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'providers': (json['providers'].map(ProviderInfo_1.ProviderInfoFromJSON)),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ListProvidersResponseToJSON(value) {
|
|
41
|
+
if (value == null) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'providers': (value['providers'].map(ProviderInfo_1.ProviderInfoToJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|