@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,31 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface FailureMessage
16
+ */
17
+ export interface FailureMessage {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof FailureMessage
22
+ */
23
+ message: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the FailureMessage interface.
27
+ */
28
+ export declare function instanceOfFailureMessage(value: object): value is FailureMessage;
29
+ export declare function FailureMessageFromJSON(json: any): FailureMessage;
30
+ export declare function FailureMessageFromJSONTyped(json: any, ignoreDiscriminator: boolean): FailureMessage;
31
+ export declare function FailureMessageToJSON(value?: FailureMessage | null): any;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfFailureMessage = instanceOfFailureMessage;
17
+ exports.FailureMessageFromJSON = FailureMessageFromJSON;
18
+ exports.FailureMessageFromJSONTyped = FailureMessageFromJSONTyped;
19
+ exports.FailureMessageToJSON = FailureMessageToJSON;
20
+ /**
21
+ * Check if a given object implements the FailureMessage interface.
22
+ */
23
+ function instanceOfFailureMessage(value) {
24
+ if (!('message' in value) || value['message'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ function FailureMessageFromJSON(json) {
29
+ return FailureMessageFromJSONTyped(json, false);
30
+ }
31
+ function FailureMessageFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'message': json['message'],
37
+ };
38
+ }
39
+ function FailureMessageToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'message': value['message'],
45
+ };
46
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetAttachmentRequest
16
+ */
17
+ export interface GetAttachmentRequest {
18
+ /**
19
+ * The Attachment Access Key to exchange for the raw file contents of the related Attachment
20
+ * @type {string}
21
+ * @memberof GetAttachmentRequest
22
+ */
23
+ attachmentAccessKey: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the GetAttachmentRequest interface.
27
+ */
28
+ export declare function instanceOfGetAttachmentRequest(value: object): value is GetAttachmentRequest;
29
+ export declare function GetAttachmentRequestFromJSON(json: any): GetAttachmentRequest;
30
+ export declare function GetAttachmentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAttachmentRequest;
31
+ export declare function GetAttachmentRequestToJSON(value?: GetAttachmentRequest | null): any;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetAttachmentRequest = instanceOfGetAttachmentRequest;
17
+ exports.GetAttachmentRequestFromJSON = GetAttachmentRequestFromJSON;
18
+ exports.GetAttachmentRequestFromJSONTyped = GetAttachmentRequestFromJSONTyped;
19
+ exports.GetAttachmentRequestToJSON = GetAttachmentRequestToJSON;
20
+ /**
21
+ * Check if a given object implements the GetAttachmentRequest interface.
22
+ */
23
+ function instanceOfGetAttachmentRequest(value) {
24
+ if (!('attachmentAccessKey' in value) || value['attachmentAccessKey'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ function GetAttachmentRequestFromJSON(json) {
29
+ return GetAttachmentRequestFromJSONTyped(json, false);
30
+ }
31
+ function GetAttachmentRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'attachmentAccessKey': json['attachmentAccessKey'],
37
+ };
38
+ }
39
+ function GetAttachmentRequestToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'attachmentAccessKey': value['attachmentAccessKey'],
45
+ };
46
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Session } from './Session';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetSessionResponse
17
+ */
18
+ export interface GetSessionResponse {
19
+ /**
20
+ *
21
+ * @type {Session}
22
+ * @memberof GetSessionResponse
23
+ */
24
+ session: Session;
25
+ }
26
+ /**
27
+ * Check if a given object implements the GetSessionResponse interface.
28
+ */
29
+ export declare function instanceOfGetSessionResponse(value: object): value is GetSessionResponse;
30
+ export declare function GetSessionResponseFromJSON(json: any): GetSessionResponse;
31
+ export declare function GetSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSessionResponse;
32
+ export declare function GetSessionResponseToJSON(value?: GetSessionResponse | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetSessionResponse = instanceOfGetSessionResponse;
17
+ exports.GetSessionResponseFromJSON = GetSessionResponseFromJSON;
18
+ exports.GetSessionResponseFromJSONTyped = GetSessionResponseFromJSONTyped;
19
+ exports.GetSessionResponseToJSON = GetSessionResponseToJSON;
20
+ const Session_1 = require("./Session");
21
+ /**
22
+ * Check if a given object implements the GetSessionResponse interface.
23
+ */
24
+ function instanceOfGetSessionResponse(value) {
25
+ if (!('session' in value) || value['session'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function GetSessionResponseFromJSON(json) {
30
+ return GetSessionResponseFromJSONTyped(json, false);
31
+ }
32
+ function GetSessionResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'session': (0, Session_1.SessionFromJSON)(json['session']),
38
+ };
39
+ }
40
+ function GetSessionResponseToJSON(value) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'session': (0, Session_1.SessionToJSON)(value['session']),
46
+ };
47
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetSessionResultRequest
16
+ */
17
+ export interface GetSessionResultRequest {
18
+ /**
19
+ * The Results Access Key to exchange
20
+ * @type {string}
21
+ * @memberof GetSessionResultRequest
22
+ */
23
+ resultsAccessKey: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the GetSessionResultRequest interface.
27
+ */
28
+ export declare function instanceOfGetSessionResultRequest(value: object): value is GetSessionResultRequest;
29
+ export declare function GetSessionResultRequestFromJSON(json: any): GetSessionResultRequest;
30
+ export declare function GetSessionResultRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSessionResultRequest;
31
+ export declare function GetSessionResultRequestToJSON(value?: GetSessionResultRequest | null): any;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetSessionResultRequest = instanceOfGetSessionResultRequest;
17
+ exports.GetSessionResultRequestFromJSON = GetSessionResultRequestFromJSON;
18
+ exports.GetSessionResultRequestFromJSONTyped = GetSessionResultRequestFromJSONTyped;
19
+ exports.GetSessionResultRequestToJSON = GetSessionResultRequestToJSON;
20
+ /**
21
+ * Check if a given object implements the GetSessionResultRequest interface.
22
+ */
23
+ function instanceOfGetSessionResultRequest(value) {
24
+ if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ function GetSessionResultRequestFromJSON(json) {
29
+ return GetSessionResultRequestFromJSONTyped(json, false);
30
+ }
31
+ function GetSessionResultRequestFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'resultsAccessKey': json['resultsAccessKey'],
37
+ };
38
+ }
39
+ function GetSessionResultRequestToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'resultsAccessKey': value['resultsAccessKey'],
45
+ };
46
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { IdentityData } from './IdentityData';
13
+ import type { Session } from './Session';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface GetSessionResultResponse
18
+ */
19
+ export interface GetSessionResultResponse {
20
+ /**
21
+ *
22
+ * @type {Session}
23
+ * @memberof GetSessionResultResponse
24
+ */
25
+ session: Session;
26
+ /**
27
+ *
28
+ * @type {IdentityData}
29
+ * @memberof GetSessionResultResponse
30
+ */
31
+ identityData?: IdentityData;
32
+ }
33
+ /**
34
+ * Check if a given object implements the GetSessionResultResponse interface.
35
+ */
36
+ export declare function instanceOfGetSessionResultResponse(value: object): value is GetSessionResultResponse;
37
+ export declare function GetSessionResultResponseFromJSON(json: any): GetSessionResultResponse;
38
+ export declare function GetSessionResultResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetSessionResultResponse;
39
+ export declare function GetSessionResultResponseToJSON(value?: GetSessionResultResponse | null): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetSessionResultResponse = instanceOfGetSessionResultResponse;
17
+ exports.GetSessionResultResponseFromJSON = GetSessionResultResponseFromJSON;
18
+ exports.GetSessionResultResponseFromJSONTyped = GetSessionResultResponseFromJSONTyped;
19
+ exports.GetSessionResultResponseToJSON = GetSessionResultResponseToJSON;
20
+ const IdentityData_1 = require("./IdentityData");
21
+ const Session_1 = require("./Session");
22
+ /**
23
+ * Check if a given object implements the GetSessionResultResponse interface.
24
+ */
25
+ function instanceOfGetSessionResultResponse(value) {
26
+ if (!('session' in value) || value['session'] === undefined)
27
+ return false;
28
+ return true;
29
+ }
30
+ function GetSessionResultResponseFromJSON(json) {
31
+ return GetSessionResultResponseFromJSONTyped(json, false);
32
+ }
33
+ function GetSessionResultResponseFromJSONTyped(json, ignoreDiscriminator) {
34
+ if (json == null) {
35
+ return json;
36
+ }
37
+ return {
38
+ 'session': (0, Session_1.SessionFromJSON)(json['session']),
39
+ 'identityData': json['identityData'] == null ? undefined : (0, IdentityData_1.IdentityDataFromJSON)(json['identityData']),
40
+ };
41
+ }
42
+ function GetSessionResultResponseToJSON(value) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'session': (0, Session_1.SessionToJSON)(value['session']),
48
+ 'identityData': (0, IdentityData_1.IdentityDataToJSON)(value['identityData']),
49
+ };
50
+ }
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { DocumentData } from './DocumentData';
13
+ import type { PersonData } from './PersonData';
14
+ import type { Attachments } from './Attachments';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface IdentityData
19
+ */
20
+ export interface IdentityData {
21
+ /**
22
+ * The ID of the integration from which this data originated (eg "yoti", "clear")
23
+ * @type {string}
24
+ * @memberof IdentityData
25
+ */
26
+ originatingProviderId?: string;
27
+ /**
28
+ * Identity data of the individual who was verified
29
+ * @type {PersonData}
30
+ * @memberof IdentityData
31
+ */
32
+ person?: PersonData;
33
+ /**
34
+ * Identity data of the document involved in verification, if relevant
35
+ * @type {DocumentData}
36
+ * @memberof IdentityData
37
+ */
38
+ document?: DocumentData;
39
+ /**
40
+ * Access keys for attachments (eg document/selfie images)
41
+ * @type {Attachments}
42
+ * @memberof IdentityData
43
+ */
44
+ attachments?: Attachments;
45
+ }
46
+ /**
47
+ * Check if a given object implements the IdentityData interface.
48
+ */
49
+ export declare function instanceOfIdentityData(value: object): value is IdentityData;
50
+ export declare function IdentityDataFromJSON(json: any): IdentityData;
51
+ export declare function IdentityDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentityData;
52
+ export declare function IdentityDataToJSON(value?: IdentityData | null): any;
@@ -0,0 +1,53 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfIdentityData = instanceOfIdentityData;
17
+ exports.IdentityDataFromJSON = IdentityDataFromJSON;
18
+ exports.IdentityDataFromJSONTyped = IdentityDataFromJSONTyped;
19
+ exports.IdentityDataToJSON = IdentityDataToJSON;
20
+ const DocumentData_1 = require("./DocumentData");
21
+ const PersonData_1 = require("./PersonData");
22
+ const Attachments_1 = require("./Attachments");
23
+ /**
24
+ * Check if a given object implements the IdentityData interface.
25
+ */
26
+ function instanceOfIdentityData(value) {
27
+ return true;
28
+ }
29
+ function IdentityDataFromJSON(json) {
30
+ return IdentityDataFromJSONTyped(json, false);
31
+ }
32
+ function IdentityDataFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'originatingProviderId': json['originatingProviderId'] == null ? undefined : json['originatingProviderId'],
38
+ 'person': json['person'] == null ? undefined : (0, PersonData_1.PersonDataFromJSON)(json['person']),
39
+ 'document': json['document'] == null ? undefined : (0, DocumentData_1.DocumentDataFromJSON)(json['document']),
40
+ 'attachments': json['attachments'] == null ? undefined : (0, Attachments_1.AttachmentsFromJSON)(json['attachments']),
41
+ };
42
+ }
43
+ function IdentityDataToJSON(value) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'originatingProviderId': value['originatingProviderId'],
49
+ 'person': (0, PersonData_1.PersonDataToJSON)(value['person']),
50
+ 'document': (0, DocumentData_1.DocumentDataToJSON)(value['document']),
51
+ 'attachments': (0, Attachments_1.AttachmentsToJSON)(value['attachments']),
52
+ };
53
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface IdentityLookupResponse
16
+ */
17
+ export interface IdentityLookupResponse {
18
+ /**
19
+ * Whether the given phone number is known to have an identity in the network.
20
+ * @type {boolean}
21
+ * @memberof IdentityLookupResponse
22
+ */
23
+ identityInNetwork: boolean;
24
+ }
25
+ /**
26
+ * Check if a given object implements the IdentityLookupResponse interface.
27
+ */
28
+ export declare function instanceOfIdentityLookupResponse(value: object): value is IdentityLookupResponse;
29
+ export declare function IdentityLookupResponseFromJSON(json: any): IdentityLookupResponse;
30
+ export declare function IdentityLookupResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdentityLookupResponse;
31
+ export declare function IdentityLookupResponseToJSON(value?: IdentityLookupResponse | null): any;
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfIdentityLookupResponse = instanceOfIdentityLookupResponse;
17
+ exports.IdentityLookupResponseFromJSON = IdentityLookupResponseFromJSON;
18
+ exports.IdentityLookupResponseFromJSONTyped = IdentityLookupResponseFromJSONTyped;
19
+ exports.IdentityLookupResponseToJSON = IdentityLookupResponseToJSON;
20
+ /**
21
+ * Check if a given object implements the IdentityLookupResponse interface.
22
+ */
23
+ function instanceOfIdentityLookupResponse(value) {
24
+ if (!('identityInNetwork' in value) || value['identityInNetwork'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ function IdentityLookupResponseFromJSON(json) {
29
+ return IdentityLookupResponseFromJSONTyped(json, false);
30
+ }
31
+ function IdentityLookupResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'identityInNetwork': json['identityInNetwork'],
37
+ };
38
+ }
39
+ function IdentityLookupResponseToJSON(value) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'identityInNetwork': value['identityInNetwork'],
45
+ };
46
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Connect API
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: v1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { ProviderInfo } from './ProviderInfo';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListProvidersResponse
17
+ */
18
+ export interface ListProvidersResponse {
19
+ /**
20
+ * The list of identity providers available to your account
21
+ * @type {Array<ProviderInfo>}
22
+ * @memberof ListProvidersResponse
23
+ */
24
+ providers: Array<ProviderInfo>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ListProvidersResponse interface.
28
+ */
29
+ export declare function instanceOfListProvidersResponse(value: object): value is ListProvidersResponse;
30
+ export declare function ListProvidersResponseFromJSON(json: any): ListProvidersResponse;
31
+ export declare function ListProvidersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProvidersResponse;
32
+ export declare function ListProvidersResponseToJSON(value?: ListProvidersResponse | null): any;
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Connect API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: v1
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfListProvidersResponse = instanceOfListProvidersResponse;
17
+ exports.ListProvidersResponseFromJSON = ListProvidersResponseFromJSON;
18
+ exports.ListProvidersResponseFromJSONTyped = ListProvidersResponseFromJSONTyped;
19
+ exports.ListProvidersResponseToJSON = ListProvidersResponseToJSON;
20
+ const ProviderInfo_1 = require("./ProviderInfo");
21
+ /**
22
+ * Check if a given object implements the ListProvidersResponse interface.
23
+ */
24
+ function instanceOfListProvidersResponse(value) {
25
+ if (!('providers' in value) || value['providers'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function ListProvidersResponseFromJSON(json) {
30
+ return ListProvidersResponseFromJSONTyped(json, false);
31
+ }
32
+ function ListProvidersResponseFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'providers': (json['providers'].map(ProviderInfo_1.ProviderInfoFromJSON)),
38
+ };
39
+ }
40
+ function ListProvidersResponseToJSON(value) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ 'providers': (value['providers'].map(ProviderInfo_1.ProviderInfoToJSON)),
46
+ };
47
+ }