@trinsic/api 0.3.0 → 0.4.1
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 +3 -3
- package/.openapi-generator/VERSION +1 -1
- package/README.md +39 -29
- package/package.json +1 -1
- package/src/apis/AttachmentsApi.ts +18 -15
- package/src/apis/NetworkApi.ts +10 -4
- package/src/apis/SessionsApi.ts +63 -48
- package/src/models/{ExchangeAttachmentAccessKeyRequest.ts → GetAttachmentRequest.ts} +9 -9
- package/src/models/{ExchangeResultsKeyRequest.ts → GetSessionResultRequest.ts} +9 -9
- package/src/models/{ExchangeResultsKeyResponse.ts → GetSessionResultResponse.ts} +10 -10
- package/src/models/OrderDirection.ts +1 -1
- package/src/models/Session.ts +2 -0
- package/src/models/SessionFailCode.ts +1 -1
- package/src/models/SessionOrdering.ts +1 -1
- package/src/models/SessionState.ts +1 -1
- package/src/models/Verification.ts +2 -0
- package/src/models/VerificationFailCode.ts +1 -1
- package/src/models/index.ts +3 -3
- package/dist/apis/AttachmentsApi.d.ts +0 -50
- package/dist/apis/AttachmentsApi.js +0 -66
- package/dist/apis/NetworkApi.d.ts +0 -70
- package/dist/apis/NetworkApi.js +0 -100
- package/dist/apis/SessionsApi.d.ts +0 -178
- package/dist/apis/SessionsApi.js +0 -252
- package/dist/apis/index.d.ts +0 -3
- package/dist/apis/index.js +0 -21
- package/dist/esm/apis/AttachmentsApi.d.ts +0 -50
- package/dist/esm/apis/AttachmentsApi.js +0 -62
- package/dist/esm/apis/NetworkApi.d.ts +0 -70
- package/dist/esm/apis/NetworkApi.js +0 -96
- package/dist/esm/apis/SessionsApi.d.ts +0 -178
- package/dist/esm/apis/SessionsApi.js +0 -248
- package/dist/esm/apis/index.d.ts +0 -3
- package/dist/esm/apis/index.js +0 -5
- package/dist/esm/index.d.ts +0 -3
- package/dist/esm/index.js +0 -5
- package/dist/esm/models/Address.d.ts +0 -73
- package/dist/esm/models/Address.js +0 -52
- package/dist/esm/models/Attachments.d.ts +0 -51
- package/dist/esm/models/Attachments.js +0 -44
- package/dist/esm/models/CancelSessionResponse.d.ts +0 -32
- package/dist/esm/models/CancelSessionResponse.js +0 -41
- package/dist/esm/models/CreateSessionRequest.d.ts +0 -52
- package/dist/esm/models/CreateSessionRequest.js +0 -43
- package/dist/esm/models/CreateSessionResponse.d.ts +0 -45
- package/dist/esm/models/CreateSessionResponse.js +0 -43
- package/dist/esm/models/DisclosedFields.d.ts +0 -97
- package/dist/esm/models/DisclosedFields.js +0 -84
- package/dist/esm/models/DisclosedFieldsRequest.d.ts +0 -97
- package/dist/esm/models/DisclosedFieldsRequest.js +0 -60
- package/dist/esm/models/DocumentData.d.ts +0 -61
- package/dist/esm/models/DocumentData.js +0 -48
- package/dist/esm/models/ExchangeAttachmentAccessKeyRequest.d.ts +0 -31
- package/dist/esm/models/ExchangeAttachmentAccessKeyRequest.js +0 -40
- package/dist/esm/models/ExchangeResultsKeyRequest.d.ts +0 -31
- package/dist/esm/models/ExchangeResultsKeyRequest.js +0 -40
- package/dist/esm/models/ExchangeResultsKeyResponse.d.ts +0 -39
- package/dist/esm/models/ExchangeResultsKeyResponse.js +0 -44
- package/dist/esm/models/FailureMessage.d.ts +0 -31
- package/dist/esm/models/FailureMessage.js +0 -40
- package/dist/esm/models/GetSessionResponse.d.ts +0 -32
- package/dist/esm/models/GetSessionResponse.js +0 -41
- package/dist/esm/models/IdentityData.d.ts +0 -52
- package/dist/esm/models/IdentityData.js +0 -47
- package/dist/esm/models/IdentityLookupResponse.d.ts +0 -31
- package/dist/esm/models/IdentityLookupResponse.js +0 -40
- package/dist/esm/models/ListProvidersResponse.d.ts +0 -32
- package/dist/esm/models/ListProvidersResponse.js +0 -41
- package/dist/esm/models/ListSessionsResponse.d.ts +0 -44
- package/dist/esm/models/ListSessionsResponse.js +0 -49
- package/dist/esm/models/OrderDirection.d.ts +0 -24
- package/dist/esm/models/OrderDirection.js +0 -40
- package/dist/esm/models/PersonData.d.ts +0 -82
- package/dist/esm/models/PersonData.js +0 -55
- package/dist/esm/models/ProviderInfo.d.ts +0 -43
- package/dist/esm/models/ProviderInfo.js +0 -48
- package/dist/esm/models/Session.d.ts +0 -71
- package/dist/esm/models/Session.js +0 -66
- package/dist/esm/models/SessionFailCode.d.ts +0 -29
- package/dist/esm/models/SessionFailCode.js +0 -45
- package/dist/esm/models/SessionOrdering.d.ts +0 -25
- package/dist/esm/models/SessionOrdering.js +0 -41
- package/dist/esm/models/SessionState.d.ts +0 -28
- package/dist/esm/models/SessionState.js +0 -44
- package/dist/esm/models/ValidationResult.d.ts +0 -37
- package/dist/esm/models/ValidationResult.js +0 -41
- package/dist/esm/models/Verification.d.ts +0 -38
- package/dist/esm/models/Verification.js +0 -41
- package/dist/esm/models/VerificationFailCode.d.ts +0 -27
- package/dist/esm/models/VerificationFailCode.js +0 -43
- package/dist/esm/models/index.d.ts +0 -27
- package/dist/esm/models/index.js +0 -29
- package/dist/esm/runtime.d.ts +0 -181
- package/dist/esm/runtime.js +0 -326
- package/dist/index.d.ts +0 -3
- package/dist/index.js +0 -21
- package/dist/models/Address.d.ts +0 -73
- package/dist/models/Address.js +0 -58
- package/dist/models/Attachments.d.ts +0 -51
- package/dist/models/Attachments.js +0 -50
- package/dist/models/CancelSessionResponse.d.ts +0 -32
- package/dist/models/CancelSessionResponse.js +0 -47
- package/dist/models/CreateSessionRequest.d.ts +0 -52
- package/dist/models/CreateSessionRequest.js +0 -49
- package/dist/models/CreateSessionResponse.d.ts +0 -45
- package/dist/models/CreateSessionResponse.js +0 -49
- package/dist/models/DisclosedFields.d.ts +0 -97
- package/dist/models/DisclosedFields.js +0 -90
- package/dist/models/DisclosedFieldsRequest.d.ts +0 -97
- package/dist/models/DisclosedFieldsRequest.js +0 -66
- package/dist/models/DocumentData.d.ts +0 -61
- package/dist/models/DocumentData.js +0 -54
- package/dist/models/ExchangeAttachmentAccessKeyRequest.d.ts +0 -31
- package/dist/models/ExchangeAttachmentAccessKeyRequest.js +0 -46
- package/dist/models/ExchangeResultsKeyRequest.d.ts +0 -31
- package/dist/models/ExchangeResultsKeyRequest.js +0 -46
- package/dist/models/ExchangeResultsKeyResponse.d.ts +0 -39
- package/dist/models/ExchangeResultsKeyResponse.js +0 -50
- package/dist/models/FailureMessage.d.ts +0 -31
- package/dist/models/FailureMessage.js +0 -46
- package/dist/models/GetSessionResponse.d.ts +0 -32
- package/dist/models/GetSessionResponse.js +0 -47
- package/dist/models/IdentityData.d.ts +0 -52
- package/dist/models/IdentityData.js +0 -53
- package/dist/models/IdentityLookupResponse.d.ts +0 -31
- package/dist/models/IdentityLookupResponse.js +0 -46
- package/dist/models/ListProvidersResponse.d.ts +0 -32
- package/dist/models/ListProvidersResponse.js +0 -47
- package/dist/models/ListSessionsResponse.d.ts +0 -44
- package/dist/models/ListSessionsResponse.js +0 -55
- package/dist/models/OrderDirection.d.ts +0 -24
- package/dist/models/OrderDirection.js +0 -47
- package/dist/models/PersonData.d.ts +0 -82
- package/dist/models/PersonData.js +0 -61
- package/dist/models/ProviderInfo.d.ts +0 -43
- package/dist/models/ProviderInfo.js +0 -54
- package/dist/models/Session.d.ts +0 -71
- package/dist/models/Session.js +0 -72
- package/dist/models/SessionFailCode.d.ts +0 -29
- package/dist/models/SessionFailCode.js +0 -52
- package/dist/models/SessionOrdering.d.ts +0 -25
- package/dist/models/SessionOrdering.js +0 -48
- package/dist/models/SessionState.d.ts +0 -28
- package/dist/models/SessionState.js +0 -51
- package/dist/models/ValidationResult.d.ts +0 -37
- package/dist/models/ValidationResult.js +0 -47
- package/dist/models/Verification.d.ts +0 -38
- package/dist/models/Verification.js +0 -47
- package/dist/models/VerificationFailCode.d.ts +0 -27
- package/dist/models/VerificationFailCode.js +0 -50
- package/dist/models/index.d.ts +0 -27
- package/dist/models/index.js +0 -45
- package/dist/runtime.d.ts +0 -181
- package/dist/runtime.js +0 -341
|
@@ -1,31 +0,0 @@
|
|
|
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 ExchangeAttachmentAccessKeyRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface ExchangeAttachmentAccessKeyRequest {
|
|
18
|
-
/**
|
|
19
|
-
* The Attachment Access Key to exchange for the raw file contents of the related Attachment
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ExchangeAttachmentAccessKeyRequest
|
|
22
|
-
*/
|
|
23
|
-
attachmentAccessKey: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ExchangeAttachmentAccessKeyRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfExchangeAttachmentAccessKeyRequest(value: object): value is ExchangeAttachmentAccessKeyRequest;
|
|
29
|
-
export declare function ExchangeAttachmentAccessKeyRequestFromJSON(json: any): ExchangeAttachmentAccessKeyRequest;
|
|
30
|
-
export declare function ExchangeAttachmentAccessKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeAttachmentAccessKeyRequest;
|
|
31
|
-
export declare function ExchangeAttachmentAccessKeyRequestToJSON(value?: ExchangeAttachmentAccessKeyRequest | null): any;
|
|
@@ -1,46 +0,0 @@
|
|
|
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.instanceOfExchangeAttachmentAccessKeyRequest = instanceOfExchangeAttachmentAccessKeyRequest;
|
|
17
|
-
exports.ExchangeAttachmentAccessKeyRequestFromJSON = ExchangeAttachmentAccessKeyRequestFromJSON;
|
|
18
|
-
exports.ExchangeAttachmentAccessKeyRequestFromJSONTyped = ExchangeAttachmentAccessKeyRequestFromJSONTyped;
|
|
19
|
-
exports.ExchangeAttachmentAccessKeyRequestToJSON = ExchangeAttachmentAccessKeyRequestToJSON;
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the ExchangeAttachmentAccessKeyRequest interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfExchangeAttachmentAccessKeyRequest(value) {
|
|
24
|
-
if (!('attachmentAccessKey' in value) || value['attachmentAccessKey'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ExchangeAttachmentAccessKeyRequestFromJSON(json) {
|
|
29
|
-
return ExchangeAttachmentAccessKeyRequestFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ExchangeAttachmentAccessKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'attachmentAccessKey': json['attachmentAccessKey'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ExchangeAttachmentAccessKeyRequestToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'attachmentAccessKey': value['attachmentAccessKey'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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 ExchangeResultsKeyRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface ExchangeResultsKeyRequest {
|
|
18
|
-
/**
|
|
19
|
-
* The Results Access Key to exchange
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ExchangeResultsKeyRequest
|
|
22
|
-
*/
|
|
23
|
-
resultsAccessKey: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the ExchangeResultsKeyRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfExchangeResultsKeyRequest(value: object): value is ExchangeResultsKeyRequest;
|
|
29
|
-
export declare function ExchangeResultsKeyRequestFromJSON(json: any): ExchangeResultsKeyRequest;
|
|
30
|
-
export declare function ExchangeResultsKeyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeResultsKeyRequest;
|
|
31
|
-
export declare function ExchangeResultsKeyRequestToJSON(value?: ExchangeResultsKeyRequest | null): any;
|
|
@@ -1,46 +0,0 @@
|
|
|
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.instanceOfExchangeResultsKeyRequest = instanceOfExchangeResultsKeyRequest;
|
|
17
|
-
exports.ExchangeResultsKeyRequestFromJSON = ExchangeResultsKeyRequestFromJSON;
|
|
18
|
-
exports.ExchangeResultsKeyRequestFromJSONTyped = ExchangeResultsKeyRequestFromJSONTyped;
|
|
19
|
-
exports.ExchangeResultsKeyRequestToJSON = ExchangeResultsKeyRequestToJSON;
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the ExchangeResultsKeyRequest interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfExchangeResultsKeyRequest(value) {
|
|
24
|
-
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ExchangeResultsKeyRequestFromJSON(json) {
|
|
29
|
-
return ExchangeResultsKeyRequestFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ExchangeResultsKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'resultsAccessKey': json['resultsAccessKey'],
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ExchangeResultsKeyRequestToJSON(value) {
|
|
40
|
-
if (value == null) {
|
|
41
|
-
return value;
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
'resultsAccessKey': value['resultsAccessKey'],
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
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 ExchangeResultsKeyResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface ExchangeResultsKeyResponse {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {Session}
|
|
23
|
-
* @memberof ExchangeResultsKeyResponse
|
|
24
|
-
*/
|
|
25
|
-
session: Session;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {IdentityData}
|
|
29
|
-
* @memberof ExchangeResultsKeyResponse
|
|
30
|
-
*/
|
|
31
|
-
identityData?: IdentityData;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Check if a given object implements the ExchangeResultsKeyResponse interface.
|
|
35
|
-
*/
|
|
36
|
-
export declare function instanceOfExchangeResultsKeyResponse(value: object): value is ExchangeResultsKeyResponse;
|
|
37
|
-
export declare function ExchangeResultsKeyResponseFromJSON(json: any): ExchangeResultsKeyResponse;
|
|
38
|
-
export declare function ExchangeResultsKeyResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ExchangeResultsKeyResponse;
|
|
39
|
-
export declare function ExchangeResultsKeyResponseToJSON(value?: ExchangeResultsKeyResponse | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
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.instanceOfExchangeResultsKeyResponse = instanceOfExchangeResultsKeyResponse;
|
|
17
|
-
exports.ExchangeResultsKeyResponseFromJSON = ExchangeResultsKeyResponseFromJSON;
|
|
18
|
-
exports.ExchangeResultsKeyResponseFromJSONTyped = ExchangeResultsKeyResponseFromJSONTyped;
|
|
19
|
-
exports.ExchangeResultsKeyResponseToJSON = ExchangeResultsKeyResponseToJSON;
|
|
20
|
-
const IdentityData_1 = require("./IdentityData");
|
|
21
|
-
const Session_1 = require("./Session");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ExchangeResultsKeyResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfExchangeResultsKeyResponse(value) {
|
|
26
|
-
if (!('session' in value) || value['session'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function ExchangeResultsKeyResponseFromJSON(json) {
|
|
31
|
-
return ExchangeResultsKeyResponseFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function ExchangeResultsKeyResponseFromJSONTyped(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 ExchangeResultsKeyResponseToJSON(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
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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;
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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;
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
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;
|
|
@@ -1,53 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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;
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
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;
|
|
@@ -1,47 +0,0 @@
|
|
|
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
|
-
}
|