@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,48 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the DocumentData interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfDocumentData(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function DocumentDataFromJSON(json) {
|
|
21
|
-
return DocumentDataFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function DocumentDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
if (json == null) {
|
|
25
|
-
return json;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
'type': json['type'] == null ? undefined : json['type'],
|
|
29
|
-
'number': json['number'] == null ? undefined : json['number'],
|
|
30
|
-
'issueDate': json['issueDate'] == null ? undefined : json['issueDate'],
|
|
31
|
-
'expirationDate': json['expirationDate'] == null ? undefined : json['expirationDate'],
|
|
32
|
-
'issuingCountry': json['issuingCountry'] == null ? undefined : json['issuingCountry'],
|
|
33
|
-
'issuingAuthority': json['issuingAuthority'] == null ? undefined : json['issuingAuthority'],
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function DocumentDataToJSON(value) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'type': value['type'],
|
|
42
|
-
'number': value['number'],
|
|
43
|
-
'issueDate': value['issueDate'],
|
|
44
|
-
'expirationDate': value['expirationDate'],
|
|
45
|
-
'issuingCountry': value['issuingCountry'],
|
|
46
|
-
'issuingAuthority': value['issuingAuthority'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
@@ -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,40 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the ExchangeAttachmentAccessKeyRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfExchangeAttachmentAccessKeyRequest(value) {
|
|
18
|
-
if (!('attachmentAccessKey' in value) || value['attachmentAccessKey'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function ExchangeAttachmentAccessKeyRequestFromJSON(json) {
|
|
23
|
-
return ExchangeAttachmentAccessKeyRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function ExchangeAttachmentAccessKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'attachmentAccessKey': json['attachmentAccessKey'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function ExchangeAttachmentAccessKeyRequestToJSON(value) {
|
|
34
|
-
if (value == null) {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'attachmentAccessKey': value['attachmentAccessKey'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
@@ -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,40 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the ExchangeResultsKeyRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfExchangeResultsKeyRequest(value) {
|
|
18
|
-
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function ExchangeResultsKeyRequestFromJSON(json) {
|
|
23
|
-
return ExchangeResultsKeyRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function ExchangeResultsKeyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'resultsAccessKey': json['resultsAccessKey'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function ExchangeResultsKeyRequestToJSON(value) {
|
|
34
|
-
if (value == null) {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'resultsAccessKey': value['resultsAccessKey'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
@@ -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,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { IdentityDataFromJSON, IdentityDataToJSON, } from './IdentityData';
|
|
15
|
-
import { SessionFromJSON, SessionToJSON, } from './Session';
|
|
16
|
-
/**
|
|
17
|
-
* Check if a given object implements the ExchangeResultsKeyResponse interface.
|
|
18
|
-
*/
|
|
19
|
-
export function instanceOfExchangeResultsKeyResponse(value) {
|
|
20
|
-
if (!('session' in value) || value['session'] === undefined)
|
|
21
|
-
return false;
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
export function ExchangeResultsKeyResponseFromJSON(json) {
|
|
25
|
-
return ExchangeResultsKeyResponseFromJSONTyped(json, false);
|
|
26
|
-
}
|
|
27
|
-
export function ExchangeResultsKeyResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
-
if (json == null) {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
return {
|
|
32
|
-
'session': SessionFromJSON(json['session']),
|
|
33
|
-
'identityData': json['identityData'] == null ? undefined : IdentityDataFromJSON(json['identityData']),
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
export function ExchangeResultsKeyResponseToJSON(value) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'session': SessionToJSON(value['session']),
|
|
42
|
-
'identityData': IdentityDataToJSON(value['identityData']),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
@@ -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,40 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the FailureMessage interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfFailureMessage(value) {
|
|
18
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function FailureMessageFromJSON(json) {
|
|
23
|
-
return FailureMessageFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function FailureMessageFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'message': json['message'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function FailureMessageToJSON(value) {
|
|
34
|
-
if (value == null) {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'message': value['message'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
@@ -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,41 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { SessionFromJSON, SessionToJSON, } from './Session';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the GetSessionResponse interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfGetSessionResponse(value) {
|
|
19
|
-
if (!('session' in value) || value['session'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function GetSessionResponseFromJSON(json) {
|
|
24
|
-
return GetSessionResponseFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function GetSessionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'session': SessionFromJSON(json['session']),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function GetSessionResponseToJSON(value) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'session': SessionToJSON(value['session']),
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -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,47 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { DocumentDataFromJSON, DocumentDataToJSON, } from './DocumentData';
|
|
15
|
-
import { PersonDataFromJSON, PersonDataToJSON, } from './PersonData';
|
|
16
|
-
import { AttachmentsFromJSON, AttachmentsToJSON, } from './Attachments';
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the IdentityData interface.
|
|
19
|
-
*/
|
|
20
|
-
export function instanceOfIdentityData(value) {
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function IdentityDataFromJSON(json) {
|
|
24
|
-
return IdentityDataFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'originatingProviderId': json['originatingProviderId'] == null ? undefined : json['originatingProviderId'],
|
|
32
|
-
'person': json['person'] == null ? undefined : PersonDataFromJSON(json['person']),
|
|
33
|
-
'document': json['document'] == null ? undefined : DocumentDataFromJSON(json['document']),
|
|
34
|
-
'attachments': json['attachments'] == null ? undefined : AttachmentsFromJSON(json['attachments']),
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
export function IdentityDataToJSON(value) {
|
|
38
|
-
if (value == null) {
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'originatingProviderId': value['originatingProviderId'],
|
|
43
|
-
'person': PersonDataToJSON(value['person']),
|
|
44
|
-
'document': DocumentDataToJSON(value['document']),
|
|
45
|
-
'attachments': AttachmentsToJSON(value['attachments']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -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,40 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the IdentityLookupResponse interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfIdentityLookupResponse(value) {
|
|
18
|
-
if (!('identityInNetwork' in value) || value['identityInNetwork'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function IdentityLookupResponseFromJSON(json) {
|
|
23
|
-
return IdentityLookupResponseFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function IdentityLookupResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'identityInNetwork': json['identityInNetwork'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function IdentityLookupResponseToJSON(value) {
|
|
34
|
-
if (value == null) {
|
|
35
|
-
return value;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'identityInNetwork': value['identityInNetwork'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
@@ -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,41 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Connect API
|
|
5
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: v1
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ProviderInfoFromJSON, ProviderInfoToJSON, } from './ProviderInfo';
|
|
15
|
-
/**
|
|
16
|
-
* Check if a given object implements the ListProvidersResponse interface.
|
|
17
|
-
*/
|
|
18
|
-
export function instanceOfListProvidersResponse(value) {
|
|
19
|
-
if (!('providers' in value) || value['providers'] === undefined)
|
|
20
|
-
return false;
|
|
21
|
-
return true;
|
|
22
|
-
}
|
|
23
|
-
export function ListProvidersResponseFromJSON(json) {
|
|
24
|
-
return ListProvidersResponseFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
export function ListProvidersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
'providers': (json['providers'].map(ProviderInfoFromJSON)),
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
export function ListProvidersResponseToJSON(value) {
|
|
35
|
-
if (value == null) {
|
|
36
|
-
return value;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'providers': (value['providers'].map(ProviderInfoToJSON)),
|
|
40
|
-
};
|
|
41
|
-
}
|