@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.
Files changed (137) hide show
  1. package/dist/apis/AttachmentsApi.d.ts +53 -0
  2. package/dist/apis/AttachmentsApi.js +68 -0
  3. package/dist/apis/NetworkApi.d.ts +76 -0
  4. package/dist/apis/NetworkApi.js +104 -0
  5. package/dist/apis/SessionsApi.d.ts +193 -0
  6. package/dist/apis/SessionsApi.js +262 -0
  7. package/dist/apis/index.d.ts +3 -0
  8. package/dist/apis/index.js +21 -0
  9. package/dist/esm/apis/AttachmentsApi.d.ts +53 -0
  10. package/dist/esm/apis/AttachmentsApi.js +64 -0
  11. package/dist/esm/apis/NetworkApi.d.ts +76 -0
  12. package/dist/esm/apis/NetworkApi.js +100 -0
  13. package/dist/esm/apis/SessionsApi.d.ts +193 -0
  14. package/dist/esm/apis/SessionsApi.js +258 -0
  15. package/dist/esm/apis/index.d.ts +3 -0
  16. package/dist/esm/apis/index.js +5 -0
  17. package/dist/esm/index.d.ts +3 -0
  18. package/dist/esm/index.js +5 -0
  19. package/dist/esm/models/Address.d.ts +73 -0
  20. package/dist/esm/models/Address.js +52 -0
  21. package/dist/esm/models/Attachments.d.ts +51 -0
  22. package/dist/esm/models/Attachments.js +44 -0
  23. package/dist/esm/models/CancelSessionResponse.d.ts +32 -0
  24. package/dist/esm/models/CancelSessionResponse.js +41 -0
  25. package/dist/esm/models/CreateSessionRequest.d.ts +52 -0
  26. package/dist/esm/models/CreateSessionRequest.js +43 -0
  27. package/dist/esm/models/CreateSessionResponse.d.ts +43 -0
  28. package/dist/esm/models/CreateSessionResponse.js +43 -0
  29. package/dist/esm/models/DisclosedFields.d.ts +97 -0
  30. package/dist/esm/models/DisclosedFields.js +84 -0
  31. package/dist/esm/models/DisclosedFieldsRequest.d.ts +97 -0
  32. package/dist/esm/models/DisclosedFieldsRequest.js +60 -0
  33. package/dist/esm/models/DocumentData.d.ts +61 -0
  34. package/dist/esm/models/DocumentData.js +48 -0
  35. package/dist/esm/models/FailureMessage.d.ts +31 -0
  36. package/dist/esm/models/FailureMessage.js +40 -0
  37. package/dist/esm/models/GetAttachmentRequest.d.ts +31 -0
  38. package/dist/esm/models/GetAttachmentRequest.js +40 -0
  39. package/dist/esm/models/GetSessionResponse.d.ts +32 -0
  40. package/dist/esm/models/GetSessionResponse.js +41 -0
  41. package/dist/esm/models/GetSessionResultRequest.d.ts +31 -0
  42. package/dist/esm/models/GetSessionResultRequest.js +40 -0
  43. package/dist/esm/models/GetSessionResultResponse.d.ts +39 -0
  44. package/dist/esm/models/GetSessionResultResponse.js +44 -0
  45. package/dist/esm/models/IdentityData.d.ts +52 -0
  46. package/dist/esm/models/IdentityData.js +47 -0
  47. package/dist/esm/models/IdentityLookupResponse.d.ts +31 -0
  48. package/dist/esm/models/IdentityLookupResponse.js +40 -0
  49. package/dist/esm/models/ListProvidersResponse.d.ts +32 -0
  50. package/dist/esm/models/ListProvidersResponse.js +41 -0
  51. package/dist/esm/models/ListSessionsResponse.d.ts +44 -0
  52. package/dist/esm/models/ListSessionsResponse.js +49 -0
  53. package/dist/esm/models/OrderDirection.d.ts +24 -0
  54. package/dist/esm/models/OrderDirection.js +40 -0
  55. package/dist/esm/models/PersonData.d.ts +82 -0
  56. package/dist/esm/models/PersonData.js +55 -0
  57. package/dist/esm/models/ProviderInfo.d.ts +43 -0
  58. package/dist/esm/models/ProviderInfo.js +48 -0
  59. package/dist/esm/models/Session.d.ts +71 -0
  60. package/dist/esm/models/Session.js +66 -0
  61. package/dist/esm/models/SessionFailCode.d.ts +29 -0
  62. package/dist/esm/models/SessionFailCode.js +45 -0
  63. package/dist/esm/models/SessionOrdering.d.ts +25 -0
  64. package/dist/esm/models/SessionOrdering.js +41 -0
  65. package/dist/esm/models/SessionState.d.ts +28 -0
  66. package/dist/esm/models/SessionState.js +44 -0
  67. package/dist/esm/models/ValidationResult.d.ts +37 -0
  68. package/dist/esm/models/ValidationResult.js +41 -0
  69. package/dist/esm/models/Verification.d.ts +38 -0
  70. package/dist/esm/models/Verification.js +41 -0
  71. package/dist/esm/models/VerificationFailCode.d.ts +27 -0
  72. package/dist/esm/models/VerificationFailCode.js +43 -0
  73. package/dist/esm/models/index.d.ts +27 -0
  74. package/dist/esm/models/index.js +29 -0
  75. package/dist/esm/runtime.d.ts +181 -0
  76. package/dist/esm/runtime.js +326 -0
  77. package/dist/index.d.ts +3 -0
  78. package/dist/index.js +21 -0
  79. package/dist/models/Address.d.ts +73 -0
  80. package/dist/models/Address.js +58 -0
  81. package/dist/models/Attachments.d.ts +51 -0
  82. package/dist/models/Attachments.js +50 -0
  83. package/dist/models/CancelSessionResponse.d.ts +32 -0
  84. package/dist/models/CancelSessionResponse.js +47 -0
  85. package/dist/models/CreateSessionRequest.d.ts +52 -0
  86. package/dist/models/CreateSessionRequest.js +49 -0
  87. package/dist/models/CreateSessionResponse.d.ts +43 -0
  88. package/dist/models/CreateSessionResponse.js +49 -0
  89. package/dist/models/DisclosedFields.d.ts +97 -0
  90. package/dist/models/DisclosedFields.js +90 -0
  91. package/dist/models/DisclosedFieldsRequest.d.ts +97 -0
  92. package/dist/models/DisclosedFieldsRequest.js +66 -0
  93. package/dist/models/DocumentData.d.ts +61 -0
  94. package/dist/models/DocumentData.js +54 -0
  95. package/dist/models/FailureMessage.d.ts +31 -0
  96. package/dist/models/FailureMessage.js +46 -0
  97. package/dist/models/GetAttachmentRequest.d.ts +31 -0
  98. package/dist/models/GetAttachmentRequest.js +46 -0
  99. package/dist/models/GetSessionResponse.d.ts +32 -0
  100. package/dist/models/GetSessionResponse.js +47 -0
  101. package/dist/models/GetSessionResultRequest.d.ts +31 -0
  102. package/dist/models/GetSessionResultRequest.js +46 -0
  103. package/dist/models/GetSessionResultResponse.d.ts +39 -0
  104. package/dist/models/GetSessionResultResponse.js +50 -0
  105. package/dist/models/IdentityData.d.ts +52 -0
  106. package/dist/models/IdentityData.js +53 -0
  107. package/dist/models/IdentityLookupResponse.d.ts +31 -0
  108. package/dist/models/IdentityLookupResponse.js +46 -0
  109. package/dist/models/ListProvidersResponse.d.ts +32 -0
  110. package/dist/models/ListProvidersResponse.js +47 -0
  111. package/dist/models/ListSessionsResponse.d.ts +44 -0
  112. package/dist/models/ListSessionsResponse.js +55 -0
  113. package/dist/models/OrderDirection.d.ts +24 -0
  114. package/dist/models/OrderDirection.js +47 -0
  115. package/dist/models/PersonData.d.ts +82 -0
  116. package/dist/models/PersonData.js +61 -0
  117. package/dist/models/ProviderInfo.d.ts +43 -0
  118. package/dist/models/ProviderInfo.js +54 -0
  119. package/dist/models/Session.d.ts +71 -0
  120. package/dist/models/Session.js +72 -0
  121. package/dist/models/SessionFailCode.d.ts +29 -0
  122. package/dist/models/SessionFailCode.js +52 -0
  123. package/dist/models/SessionOrdering.d.ts +25 -0
  124. package/dist/models/SessionOrdering.js +48 -0
  125. package/dist/models/SessionState.d.ts +28 -0
  126. package/dist/models/SessionState.js +51 -0
  127. package/dist/models/ValidationResult.d.ts +37 -0
  128. package/dist/models/ValidationResult.js +47 -0
  129. package/dist/models/Verification.d.ts +38 -0
  130. package/dist/models/Verification.js +47 -0
  131. package/dist/models/VerificationFailCode.d.ts +27 -0
  132. package/dist/models/VerificationFailCode.js +50 -0
  133. package/dist/models/index.d.ts +27 -0
  134. package/dist/models/index.js +45 -0
  135. package/dist/runtime.d.ts +181 -0
  136. package/dist/runtime.js +341 -0
  137. package/package.json +1 -1
@@ -0,0 +1,61 @@
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 DocumentData
16
+ */
17
+ export interface DocumentData {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof DocumentData
22
+ */
23
+ type?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DocumentData
28
+ */
29
+ number?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DocumentData
34
+ */
35
+ issueDate?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof DocumentData
40
+ */
41
+ expirationDate?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof DocumentData
46
+ */
47
+ issuingCountry?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof DocumentData
52
+ */
53
+ issuingAuthority?: string;
54
+ }
55
+ /**
56
+ * Check if a given object implements the DocumentData interface.
57
+ */
58
+ export declare function instanceOfDocumentData(value: object): value is DocumentData;
59
+ export declare function DocumentDataFromJSON(json: any): DocumentData;
60
+ export declare function DocumentDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentData;
61
+ export declare function DocumentDataToJSON(value?: DocumentData | null): any;
@@ -0,0 +1,48 @@
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
+ }
@@ -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,40 @@
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
+ }
@@ -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,40 @@
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 GetAttachmentRequest interface.
16
+ */
17
+ export function instanceOfGetAttachmentRequest(value) {
18
+ if (!('attachmentAccessKey' in value) || value['attachmentAccessKey'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function GetAttachmentRequestFromJSON(json) {
23
+ return GetAttachmentRequestFromJSONTyped(json, false);
24
+ }
25
+ export function GetAttachmentRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'attachmentAccessKey': json['attachmentAccessKey'],
31
+ };
32
+ }
33
+ export function GetAttachmentRequestToJSON(value) {
34
+ if (value == null) {
35
+ return value;
36
+ }
37
+ return {
38
+ 'attachmentAccessKey': value['attachmentAccessKey'],
39
+ };
40
+ }
@@ -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,41 @@
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
+ }
@@ -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,40 @@
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 GetSessionResultRequest interface.
16
+ */
17
+ export function instanceOfGetSessionResultRequest(value) {
18
+ if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function GetSessionResultRequestFromJSON(json) {
23
+ return GetSessionResultRequestFromJSONTyped(json, false);
24
+ }
25
+ export function GetSessionResultRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'resultsAccessKey': json['resultsAccessKey'],
31
+ };
32
+ }
33
+ export function GetSessionResultRequestToJSON(value) {
34
+ if (value == null) {
35
+ return value;
36
+ }
37
+ return {
38
+ 'resultsAccessKey': value['resultsAccessKey'],
39
+ };
40
+ }
@@ -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,44 @@
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 GetSessionResultResponse interface.
18
+ */
19
+ export function instanceOfGetSessionResultResponse(value) {
20
+ if (!('session' in value) || value['session'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function GetSessionResultResponseFromJSON(json) {
25
+ return GetSessionResultResponseFromJSONTyped(json, false);
26
+ }
27
+ export function GetSessionResultResponseFromJSONTyped(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 GetSessionResultResponseToJSON(value) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'session': SessionToJSON(value['session']),
42
+ 'identityData': IdentityDataToJSON(value['identityData']),
43
+ };
44
+ }
@@ -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,47 @@
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
+ }
@@ -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,40 @@
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
+ }