@trinsic/api 1.1.2 → 2.0.0-alpha2
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 +34 -11
- package/dist/apis/AttachmentsApi.d.ts +1 -1
- package/dist/apis/AttachmentsApi.js +1 -1
- package/dist/apis/NetworkApi.d.ts +27 -27
- package/dist/apis/NetworkApi.js +22 -23
- package/dist/apis/SessionsApi.d.ts +100 -17
- package/dist/apis/SessionsApi.js +123 -12
- package/dist/esm/apis/AttachmentsApi.d.ts +1 -1
- package/dist/esm/apis/AttachmentsApi.js +1 -1
- package/dist/esm/apis/NetworkApi.d.ts +27 -27
- package/dist/esm/apis/NetworkApi.js +23 -24
- package/dist/esm/apis/SessionsApi.d.ts +100 -17
- package/dist/esm/apis/SessionsApi.js +124 -13
- package/dist/esm/models/AadhaarInput.d.ts +37 -0
- package/dist/esm/models/AadhaarInput.js +40 -0
- package/dist/esm/models/Address.d.ts +4 -4
- package/dist/esm/models/Address.js +3 -3
- package/dist/esm/models/AttachmentAccessKeys.d.ts +12 -7
- package/dist/esm/models/AttachmentAccessKeys.js +6 -1
- package/dist/esm/models/BangladeshNationalIdInput.d.ts +49 -0
- package/dist/esm/models/BangladeshNationalIdInput.js +44 -0
- package/dist/esm/models/BrazilCpfCheckInput.d.ts +31 -0
- package/dist/esm/models/{FailureMessage.js → BrazilCpfCheckInput.js} +10 -10
- package/dist/esm/models/BrazilDigitalCnhInput.d.ts +57 -0
- package/dist/esm/models/BrazilDigitalCnhInput.js +46 -0
- package/dist/esm/models/CancelSessionResponse.d.ts +1 -1
- package/dist/esm/models/CancelSessionResponse.js +1 -1
- package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +83 -0
- package/dist/esm/models/CreateAdvancedProviderSessionRequest.js +52 -0
- package/dist/esm/models/CreateAdvancedProviderSessionResponse.d.ts +45 -0
- package/dist/esm/models/CreateAdvancedProviderSessionResponse.js +50 -0
- package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +44 -0
- package/dist/esm/models/CreateHostedProviderSessionRequest.js +47 -0
- package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +43 -0
- package/dist/esm/models/CreateHostedProviderSessionResponse.js +42 -0
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +49 -0
- package/dist/esm/models/CreateWidgetSessionRequest.js +43 -0
- package/dist/esm/models/CreateWidgetSessionResponse.d.ts +41 -0
- package/dist/esm/models/{CreateSessionResponse.js → CreateWidgetSessionResponse.js} +10 -11
- package/dist/esm/models/DocumentData.d.ts +8 -7
- package/dist/esm/models/DocumentData.js +8 -7
- package/dist/esm/models/DocumentScanAttachments.d.ts +31 -0
- package/dist/esm/models/DocumentScanAttachments.js +38 -0
- package/dist/esm/models/DocumentType.d.ts +26 -0
- package/dist/esm/models/DocumentType.js +42 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +1 -1
- package/dist/esm/models/GetAttachmentRequest.js +1 -1
- package/dist/esm/models/GetAttachmentResponse.d.ts +1 -1
- package/dist/esm/models/GetAttachmentResponse.js +1 -1
- package/dist/esm/models/GetSessionResponse.d.ts +1 -1
- package/dist/esm/models/GetSessionResponse.js +1 -1
- package/dist/esm/models/GetSessionResultRequest.d.ts +1 -1
- package/dist/esm/models/GetSessionResultRequest.js +1 -1
- package/dist/esm/models/GetSessionResultResponse.d.ts +1 -1
- package/dist/esm/models/GetSessionResultResponse.js +1 -1
- package/dist/esm/models/HttpValidationProblemDetails.d.ts +63 -0
- package/dist/esm/models/HttpValidationProblemDetails.js +48 -0
- package/dist/esm/models/IdentityData.d.ts +5 -5
- package/dist/esm/models/IdentityData.js +1 -1
- package/dist/esm/models/IntegrationCapability.d.ts +28 -0
- package/dist/esm/models/IntegrationCapability.js +44 -0
- package/dist/esm/models/IntegrationLaunchMethod.d.ts +26 -0
- package/dist/esm/models/IntegrationLaunchMethod.js +42 -0
- package/dist/esm/models/IntegrationStep.d.ts +45 -0
- package/dist/esm/models/IntegrationStep.js +50 -0
- package/dist/esm/models/KnownAddress.d.ts +74 -0
- package/dist/esm/models/KnownAddress.js +52 -0
- package/dist/esm/models/KnownIdentityData.d.ts +34 -0
- package/dist/esm/models/KnownIdentityData.js +39 -0
- package/dist/esm/models/KnownPersonData.d.ts +74 -0
- package/dist/esm/models/KnownPersonData.js +53 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +1 -1
- package/dist/esm/models/ListProvidersResponse.js +1 -1
- package/dist/esm/models/ListSessionsResponse.d.ts +1 -1
- package/dist/esm/models/ListSessionsResponse.js +1 -1
- package/dist/esm/models/OrderDirection.d.ts +1 -1
- package/dist/esm/models/OrderDirection.js +1 -1
- package/dist/esm/models/PersonData.d.ts +17 -12
- package/dist/esm/models/PersonData.js +8 -5
- package/dist/esm/models/PhilippineMatchInput.d.ts +55 -0
- package/dist/esm/models/PhilippineMatchInput.js +46 -0
- package/dist/esm/models/PhilippineQRInput.d.ts +37 -0
- package/dist/esm/models/PhilippineQRInput.js +40 -0
- package/dist/esm/models/ProblemDetails.d.ts +56 -0
- package/dist/esm/models/ProblemDetails.js +34 -0
- package/dist/esm/models/ProviderAttachments.d.ts +32 -0
- package/dist/esm/models/ProviderAttachments.js +39 -0
- package/dist/esm/models/ProviderInfo.d.ts +7 -1
- package/dist/esm/models/ProviderInfo.js +3 -1
- package/dist/esm/models/ProviderInformation.d.ts +43 -0
- package/dist/esm/models/ProviderInformation.js +48 -0
- package/dist/esm/models/ProviderInput.d.ts +67 -0
- package/dist/esm/models/ProviderInput.js +54 -0
- package/dist/esm/models/RecommendRequest.d.ts +49 -0
- package/dist/esm/models/RecommendRequest.js +44 -0
- package/dist/esm/models/RecommendResponse.d.ts +44 -0
- package/dist/esm/models/RecommendResponse.js +49 -0
- package/dist/esm/models/RefreshStepContentRequest.d.ts +31 -0
- package/dist/esm/models/RefreshStepContentRequest.js +38 -0
- package/dist/esm/models/RefreshStepContentResponse.d.ts +32 -0
- package/dist/esm/models/RefreshStepContentResponse.js +41 -0
- package/dist/esm/models/ResultCollection.d.ts +38 -0
- package/dist/esm/models/ResultCollection.js +43 -0
- package/dist/esm/models/ResultCollectionMethod.d.ts +24 -0
- package/dist/esm/models/ResultCollectionMethod.js +40 -0
- package/dist/esm/models/Session.d.ts +18 -20
- package/dist/esm/models/Session.js +10 -17
- package/dist/esm/models/SessionErrorCode.d.ts +32 -0
- package/dist/esm/models/SessionErrorCode.js +48 -0
- package/dist/esm/models/SessionOrdering.d.ts +1 -1
- package/dist/esm/models/SessionOrdering.js +1 -1
- package/dist/esm/models/Sex.d.ts +26 -0
- package/dist/esm/models/Sex.js +42 -0
- package/dist/esm/models/StepRefreshInfo.d.ts +45 -0
- package/dist/esm/models/StepRefreshInfo.js +48 -0
- package/dist/esm/models/index.d.ts +34 -11
- package/dist/esm/models/index.js +34 -11
- package/dist/esm/runtime.d.ts +1 -1
- package/dist/esm/runtime.js +1 -1
- package/dist/models/AadhaarInput.d.ts +37 -0
- package/dist/models/AadhaarInput.js +46 -0
- package/dist/models/Address.d.ts +4 -4
- package/dist/models/Address.js +3 -3
- package/dist/models/AttachmentAccessKeys.d.ts +12 -7
- package/dist/models/AttachmentAccessKeys.js +6 -1
- package/dist/models/BangladeshNationalIdInput.d.ts +49 -0
- package/dist/models/BangladeshNationalIdInput.js +50 -0
- package/dist/models/BrazilCpfCheckInput.d.ts +31 -0
- package/dist/models/BrazilCpfCheckInput.js +46 -0
- package/dist/models/BrazilDigitalCnhInput.d.ts +57 -0
- package/dist/models/BrazilDigitalCnhInput.js +52 -0
- package/dist/models/CancelSessionResponse.d.ts +1 -1
- package/dist/models/CancelSessionResponse.js +1 -1
- package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +83 -0
- package/dist/models/CreateAdvancedProviderSessionRequest.js +58 -0
- package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +45 -0
- package/dist/models/CreateAdvancedProviderSessionResponse.js +56 -0
- package/dist/models/CreateHostedProviderSessionRequest.d.ts +44 -0
- package/dist/models/CreateHostedProviderSessionRequest.js +53 -0
- package/dist/models/CreateHostedProviderSessionResponse.d.ts +43 -0
- package/dist/models/CreateHostedProviderSessionResponse.js +48 -0
- package/dist/models/CreateWidgetSessionRequest.d.ts +49 -0
- package/dist/models/CreateWidgetSessionRequest.js +49 -0
- package/dist/models/CreateWidgetSessionResponse.d.ts +41 -0
- package/dist/models/CreateWidgetSessionResponse.js +48 -0
- package/dist/models/DocumentData.d.ts +8 -7
- package/dist/models/DocumentData.js +8 -7
- package/dist/models/DocumentScanAttachments.d.ts +31 -0
- package/dist/models/DocumentScanAttachments.js +44 -0
- package/dist/models/DocumentType.d.ts +26 -0
- package/dist/models/DocumentType.js +49 -0
- package/dist/models/GetAttachmentRequest.d.ts +1 -1
- package/dist/models/GetAttachmentRequest.js +1 -1
- package/dist/models/GetAttachmentResponse.d.ts +1 -1
- package/dist/models/GetAttachmentResponse.js +1 -1
- package/dist/models/GetSessionResponse.d.ts +1 -1
- package/dist/models/GetSessionResponse.js +1 -1
- package/dist/models/GetSessionResultRequest.d.ts +1 -1
- package/dist/models/GetSessionResultRequest.js +1 -1
- package/dist/models/GetSessionResultResponse.d.ts +1 -1
- package/dist/models/GetSessionResultResponse.js +1 -1
- package/dist/models/HttpValidationProblemDetails.d.ts +63 -0
- package/dist/models/HttpValidationProblemDetails.js +54 -0
- package/dist/models/IdentityData.d.ts +5 -5
- package/dist/models/IdentityData.js +1 -1
- package/dist/models/IntegrationCapability.d.ts +28 -0
- package/dist/models/IntegrationCapability.js +51 -0
- package/dist/models/IntegrationLaunchMethod.d.ts +26 -0
- package/dist/models/IntegrationLaunchMethod.js +49 -0
- package/dist/models/IntegrationStep.d.ts +45 -0
- package/dist/models/IntegrationStep.js +56 -0
- package/dist/models/KnownAddress.d.ts +74 -0
- package/dist/models/KnownAddress.js +58 -0
- package/dist/models/KnownIdentityData.d.ts +34 -0
- package/dist/models/KnownIdentityData.js +45 -0
- package/dist/models/KnownPersonData.d.ts +74 -0
- package/dist/models/KnownPersonData.js +59 -0
- package/dist/models/ListProvidersResponse.d.ts +1 -1
- package/dist/models/ListProvidersResponse.js +1 -1
- package/dist/models/ListSessionsResponse.d.ts +1 -1
- package/dist/models/ListSessionsResponse.js +1 -1
- package/dist/models/OrderDirection.d.ts +1 -1
- package/dist/models/OrderDirection.js +1 -1
- package/dist/models/PersonData.d.ts +17 -12
- package/dist/models/PersonData.js +8 -5
- package/dist/models/PhilippineMatchInput.d.ts +55 -0
- package/dist/models/PhilippineMatchInput.js +52 -0
- package/dist/models/PhilippineQRInput.d.ts +37 -0
- package/dist/models/PhilippineQRInput.js +46 -0
- package/dist/models/ProblemDetails.d.ts +56 -0
- package/dist/models/ProblemDetails.js +40 -0
- package/dist/models/ProviderAttachments.d.ts +32 -0
- package/dist/models/ProviderAttachments.js +45 -0
- package/dist/models/ProviderInfo.d.ts +7 -1
- package/dist/models/ProviderInfo.js +3 -1
- package/dist/models/ProviderInformation.d.ts +43 -0
- package/dist/models/ProviderInformation.js +54 -0
- package/dist/models/ProviderInput.d.ts +67 -0
- package/dist/models/ProviderInput.js +60 -0
- package/dist/models/RecommendRequest.d.ts +49 -0
- package/dist/models/RecommendRequest.js +50 -0
- package/dist/models/RecommendResponse.d.ts +44 -0
- package/dist/models/RecommendResponse.js +55 -0
- package/dist/models/RefreshStepContentRequest.d.ts +31 -0
- package/dist/models/RefreshStepContentRequest.js +44 -0
- package/dist/models/RefreshStepContentResponse.d.ts +32 -0
- package/dist/models/RefreshStepContentResponse.js +47 -0
- package/dist/models/ResultCollection.d.ts +38 -0
- package/dist/models/ResultCollection.js +49 -0
- package/dist/models/ResultCollectionMethod.d.ts +24 -0
- package/dist/models/ResultCollectionMethod.js +47 -0
- package/dist/models/Session.d.ts +18 -20
- package/dist/models/Session.js +10 -17
- package/dist/models/SessionErrorCode.d.ts +32 -0
- package/dist/models/SessionErrorCode.js +55 -0
- package/dist/models/SessionOrdering.d.ts +1 -1
- package/dist/models/SessionOrdering.js +1 -1
- package/dist/models/Sex.d.ts +26 -0
- package/dist/models/Sex.js +49 -0
- package/dist/models/StepRefreshInfo.d.ts +45 -0
- package/dist/models/StepRefreshInfo.js +54 -0
- package/dist/models/index.d.ts +34 -11
- package/dist/models/index.js +34 -11
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.js +1 -1
- package/package.json +1 -1
- package/src/apis/AttachmentsApi.ts +4 -7
- package/src/apis/NetworkApi.ts +47 -51
- package/src/apis/SessionsApi.ts +234 -33
- package/src/models/AadhaarInput.ts +68 -0
- package/src/models/Address.ts +6 -6
- package/src/models/AttachmentAccessKeys.ts +22 -8
- package/src/models/BangladeshNationalIdInput.ts +84 -0
- package/src/models/BrazilCpfCheckInput.ts +61 -0
- package/src/models/BrazilDigitalCnhInput.ts +93 -0
- package/src/models/CancelSessionResponse.ts +1 -1
- package/src/models/CreateAdvancedProviderSessionRequest.ts +133 -0
- package/src/models/CreateAdvancedProviderSessionResponse.ts +92 -0
- package/src/models/CreateHostedProviderSessionRequest.ts +85 -0
- package/src/models/CreateHostedProviderSessionResponse.ts +75 -0
- package/src/models/CreateWidgetSessionRequest.ts +88 -0
- package/src/models/{CreateSessionResponse.ts → CreateWidgetSessionResponse.ts} +17 -25
- package/src/models/DocumentData.ts +22 -13
- package/src/models/DocumentScanAttachments.ts +60 -0
- package/src/models/DocumentType.ts +51 -0
- package/src/models/GetAttachmentRequest.ts +1 -1
- package/src/models/GetAttachmentResponse.ts +1 -1
- package/src/models/GetSessionResponse.ts +1 -1
- package/src/models/GetSessionResultRequest.ts +1 -1
- package/src/models/GetSessionResultResponse.ts +1 -1
- package/src/models/HttpValidationProblemDetails.ts +100 -0
- package/src/models/IdentityData.ts +5 -5
- package/src/models/IntegrationCapability.ts +53 -0
- package/src/models/IntegrationLaunchMethod.ts +51 -0
- package/src/models/IntegrationStep.ts +94 -0
- package/src/models/KnownAddress.ts +117 -0
- package/src/models/KnownIdentityData.ts +69 -0
- package/src/models/KnownPersonData.ts +123 -0
- package/src/models/ListProvidersResponse.ts +1 -1
- package/src/models/ListSessionsResponse.ts +1 -1
- package/src/models/OrderDirection.ts +1 -1
- package/src/models/PersonData.ts +31 -17
- package/src/models/PhilippineMatchInput.ts +92 -0
- package/src/models/PhilippineQRInput.ts +68 -0
- package/src/models/ProblemDetails.ts +95 -0
- package/src/models/ProviderAttachments.ts +67 -0
- package/src/models/ProviderInfo.ts +9 -1
- package/src/models/ProviderInformation.ts +79 -0
- package/src/models/ProviderInput.ts +137 -0
- package/src/models/RecommendRequest.ts +84 -0
- package/src/models/RecommendResponse.ts +86 -0
- package/src/models/RefreshStepContentRequest.ts +60 -0
- package/src/models/RefreshStepContentResponse.ts +68 -0
- package/src/models/ResultCollection.ts +78 -0
- package/src/models/ResultCollectionMethod.ts +49 -0
- package/src/models/Session.ts +30 -50
- package/src/models/SessionErrorCode.ts +57 -0
- package/src/models/SessionOrdering.ts +1 -1
- package/src/models/Sex.ts +51 -0
- package/src/models/StepRefreshInfo.ts +81 -0
- package/src/models/index.ts +34 -11
- package/src/runtime.ts +1 -1
- package/dist/esm/models/CreateSessionRequest.d.ts +0 -73
- package/dist/esm/models/CreateSessionRequest.js +0 -45
- package/dist/esm/models/CreateSessionResponse.d.ts +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/FailureMessage.d.ts +0 -31
- package/dist/esm/models/IdentityLookupResponse.d.ts +0 -31
- package/dist/esm/models/IdentityLookupResponse.js +0 -40
- package/dist/esm/models/SessionFailCode.d.ts +0 -29
- package/dist/esm/models/SessionFailCode.js +0 -45
- 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/models/CreateSessionRequest.d.ts +0 -73
- package/dist/models/CreateSessionRequest.js +0 -51
- package/dist/models/CreateSessionResponse.d.ts +0 -43
- 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/FailureMessage.d.ts +0 -31
- package/dist/models/FailureMessage.js +0 -46
- package/dist/models/IdentityLookupResponse.d.ts +0 -31
- package/dist/models/IdentityLookupResponse.js +0 -46
- package/dist/models/SessionFailCode.d.ts +0 -29
- package/dist/models/SessionFailCode.js +0 -52
- 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/src/models/CreateSessionRequest.ts +0 -114
- package/src/models/DisclosedFields.ts +0 -160
- package/src/models/DisclosedFieldsRequest.ts +0 -148
- package/src/models/FailureMessage.ts +0 -61
- package/src/models/IdentityLookupResponse.ts +0 -61
- package/src/models/SessionFailCode.ts +0 -54
- package/src/models/SessionState.ts +0 -53
- package/src/models/ValidationResult.ts +0 -68
- package/src/models/Verification.ts +0 -77
- package/src/models/VerificationFailCode.ts +0 -52
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProblemDetails
|
|
20
|
+
*/
|
|
21
|
+
export interface ProblemDetails {
|
|
22
|
+
[key: string]: any | any;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof ProblemDetails
|
|
27
|
+
*/
|
|
28
|
+
type?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ProblemDetails
|
|
33
|
+
*/
|
|
34
|
+
title?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof ProblemDetails
|
|
39
|
+
*/
|
|
40
|
+
status?: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProblemDetails
|
|
45
|
+
*/
|
|
46
|
+
detail?: string;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProblemDetails
|
|
51
|
+
*/
|
|
52
|
+
instance?: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the ProblemDetails interface.
|
|
57
|
+
*/
|
|
58
|
+
export function instanceOfProblemDetails(value: object): value is ProblemDetails {
|
|
59
|
+
return true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ProblemDetailsFromJSON(json: any): ProblemDetails {
|
|
63
|
+
return ProblemDetailsFromJSONTyped(json, false);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function ProblemDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProblemDetails {
|
|
67
|
+
if (json == null) {
|
|
68
|
+
return json;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
|
|
72
|
+
...json,
|
|
73
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
74
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
75
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
76
|
+
'detail': json['detail'] == null ? undefined : json['detail'],
|
|
77
|
+
'instance': json['instance'] == null ? undefined : json['instance'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function ProblemDetailsToJSON(value?: ProblemDetails | null): any {
|
|
82
|
+
if (value == null) {
|
|
83
|
+
return value;
|
|
84
|
+
}
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
...value,
|
|
88
|
+
'type': value['type'],
|
|
89
|
+
'title': value['title'],
|
|
90
|
+
'status': value['status'],
|
|
91
|
+
'detail': value['detail'],
|
|
92
|
+
'instance': value['instance'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { DocumentScanAttachments } from './DocumentScanAttachments';
|
|
17
|
+
import {
|
|
18
|
+
DocumentScanAttachmentsFromJSON,
|
|
19
|
+
DocumentScanAttachmentsFromJSONTyped,
|
|
20
|
+
DocumentScanAttachmentsToJSON,
|
|
21
|
+
} from './DocumentScanAttachments';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface ProviderAttachments
|
|
27
|
+
*/
|
|
28
|
+
export interface ProviderAttachments {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {DocumentScanAttachments}
|
|
32
|
+
* @memberof ProviderAttachments
|
|
33
|
+
*/
|
|
34
|
+
documentScan?: DocumentScanAttachments;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ProviderAttachments interface.
|
|
39
|
+
*/
|
|
40
|
+
export function instanceOfProviderAttachments(value: object): value is ProviderAttachments {
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function ProviderAttachmentsFromJSON(json: any): ProviderAttachments {
|
|
45
|
+
return ProviderAttachmentsFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function ProviderAttachmentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderAttachments {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
|
|
54
|
+
'documentScan': json['document-scan'] == null ? undefined : DocumentScanAttachmentsFromJSON(json['document-scan']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ProviderAttachmentsToJSON(value?: ProviderAttachments | null): any {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'document-scan': DocumentScanAttachmentsToJSON(value['documentScan']),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Trinsic API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: v1
|
|
@@ -37,6 +37,12 @@ export interface ProviderInfo {
|
|
|
37
37
|
* @memberof ProviderInfo
|
|
38
38
|
*/
|
|
39
39
|
logoUrl: string;
|
|
40
|
+
/**
|
|
41
|
+
* List of child provider id's where the provider allows deep-launching of a specific provider.
|
|
42
|
+
* @type {Array<string>}
|
|
43
|
+
* @memberof ProviderInfo
|
|
44
|
+
*/
|
|
45
|
+
childProviderIds?: Array<string>;
|
|
40
46
|
}
|
|
41
47
|
|
|
42
48
|
/**
|
|
@@ -62,6 +68,7 @@ export function ProviderInfoFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
62
68
|
'id': json['id'],
|
|
63
69
|
'name': json['name'],
|
|
64
70
|
'logoUrl': json['logoUrl'],
|
|
71
|
+
'childProviderIds': json['childProviderIds'] == null ? undefined : json['childProviderIds'],
|
|
65
72
|
};
|
|
66
73
|
}
|
|
67
74
|
|
|
@@ -74,6 +81,7 @@ export function ProviderInfoToJSON(value?: ProviderInfo | null): any {
|
|
|
74
81
|
'id': value['id'],
|
|
75
82
|
'name': value['name'],
|
|
76
83
|
'logoUrl': value['logoUrl'],
|
|
84
|
+
'childProviderIds': value['childProviderIds'],
|
|
77
85
|
};
|
|
78
86
|
}
|
|
79
87
|
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ProviderInformation
|
|
20
|
+
*/
|
|
21
|
+
export interface ProviderInformation {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ProviderInformation
|
|
26
|
+
*/
|
|
27
|
+
providerId: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ProviderInformation
|
|
32
|
+
*/
|
|
33
|
+
providerDisplayName: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ProviderInformation
|
|
38
|
+
*/
|
|
39
|
+
providerLogo: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ProviderInformation interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfProviderInformation(value: object): value is ProviderInformation {
|
|
46
|
+
if (!('providerId' in value) || value['providerId'] === undefined) return false;
|
|
47
|
+
if (!('providerDisplayName' in value) || value['providerDisplayName'] === undefined) return false;
|
|
48
|
+
if (!('providerLogo' in value) || value['providerLogo'] === undefined) return false;
|
|
49
|
+
return true;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ProviderInformationFromJSON(json: any): ProviderInformation {
|
|
53
|
+
return ProviderInformationFromJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ProviderInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInformation {
|
|
57
|
+
if (json == null) {
|
|
58
|
+
return json;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'providerId': json['providerId'],
|
|
63
|
+
'providerDisplayName': json['providerDisplayName'],
|
|
64
|
+
'providerLogo': json['providerLogo'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function ProviderInformationToJSON(value?: ProviderInformation | null): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'providerId': value['providerId'],
|
|
75
|
+
'providerDisplayName': value['providerDisplayName'],
|
|
76
|
+
'providerLogo': value['providerLogo'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
17
|
+
import {
|
|
18
|
+
PhilippineQRInputFromJSON,
|
|
19
|
+
PhilippineQRInputFromJSONTyped,
|
|
20
|
+
PhilippineQRInputToJSON,
|
|
21
|
+
} from './PhilippineQRInput';
|
|
22
|
+
import type { BangladeshNationalIdInput } from './BangladeshNationalIdInput';
|
|
23
|
+
import {
|
|
24
|
+
BangladeshNationalIdInputFromJSON,
|
|
25
|
+
BangladeshNationalIdInputFromJSONTyped,
|
|
26
|
+
BangladeshNationalIdInputToJSON,
|
|
27
|
+
} from './BangladeshNationalIdInput';
|
|
28
|
+
import type { AadhaarInput } from './AadhaarInput';
|
|
29
|
+
import {
|
|
30
|
+
AadhaarInputFromJSON,
|
|
31
|
+
AadhaarInputFromJSONTyped,
|
|
32
|
+
AadhaarInputToJSON,
|
|
33
|
+
} from './AadhaarInput';
|
|
34
|
+
import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
|
|
35
|
+
import {
|
|
36
|
+
BrazilCpfCheckInputFromJSON,
|
|
37
|
+
BrazilCpfCheckInputFromJSONTyped,
|
|
38
|
+
BrazilCpfCheckInputToJSON,
|
|
39
|
+
} from './BrazilCpfCheckInput';
|
|
40
|
+
import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
|
|
41
|
+
import {
|
|
42
|
+
BrazilDigitalCnhInputFromJSON,
|
|
43
|
+
BrazilDigitalCnhInputFromJSONTyped,
|
|
44
|
+
BrazilDigitalCnhInputToJSON,
|
|
45
|
+
} from './BrazilDigitalCnhInput';
|
|
46
|
+
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
47
|
+
import {
|
|
48
|
+
PhilippineMatchInputFromJSON,
|
|
49
|
+
PhilippineMatchInputFromJSONTyped,
|
|
50
|
+
PhilippineMatchInputToJSON,
|
|
51
|
+
} from './PhilippineMatchInput';
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @export
|
|
56
|
+
* @interface ProviderInput
|
|
57
|
+
*/
|
|
58
|
+
export interface ProviderInput {
|
|
59
|
+
/**
|
|
60
|
+
* Input for the `f-india-aadhaar-match` integration
|
|
61
|
+
* @type {AadhaarInput}
|
|
62
|
+
* @memberof ProviderInput
|
|
63
|
+
*/
|
|
64
|
+
aadhaar?: AadhaarInput;
|
|
65
|
+
/**
|
|
66
|
+
* Input for the `bangladesh-nid` integration
|
|
67
|
+
* @type {BangladeshNationalIdInput}
|
|
68
|
+
* @memberof ProviderInput
|
|
69
|
+
*/
|
|
70
|
+
bangladeshNationalId?: BangladeshNationalIdInput;
|
|
71
|
+
/**
|
|
72
|
+
* Input for the `g-brazil-cpf` integration
|
|
73
|
+
* @type {BrazilCpfCheckInput}
|
|
74
|
+
* @memberof ProviderInput
|
|
75
|
+
*/
|
|
76
|
+
brazilCpfCheck?: BrazilCpfCheckInput;
|
|
77
|
+
/**
|
|
78
|
+
* Input for the `g-brazil-digital-cnh` integration
|
|
79
|
+
* @type {BrazilDigitalCnhInput}
|
|
80
|
+
* @memberof ProviderInput
|
|
81
|
+
*/
|
|
82
|
+
brazilDigitalCnh?: BrazilDigitalCnhInput;
|
|
83
|
+
/**
|
|
84
|
+
* Input for the `b-philsys-biometric` integration
|
|
85
|
+
* @type {PhilippineMatchInput}
|
|
86
|
+
* @memberof ProviderInput
|
|
87
|
+
*/
|
|
88
|
+
philippineMatch?: PhilippineMatchInput;
|
|
89
|
+
/**
|
|
90
|
+
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` integrations
|
|
91
|
+
* @type {PhilippineQRInput}
|
|
92
|
+
* @memberof ProviderInput
|
|
93
|
+
*/
|
|
94
|
+
philippineQR?: PhilippineQRInput;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Check if a given object implements the ProviderInput interface.
|
|
99
|
+
*/
|
|
100
|
+
export function instanceOfProviderInput(value: object): value is ProviderInput {
|
|
101
|
+
return true;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export function ProviderInputFromJSON(json: any): ProviderInput {
|
|
105
|
+
return ProviderInputFromJSONTyped(json, false);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInput {
|
|
109
|
+
if (json == null) {
|
|
110
|
+
return json;
|
|
111
|
+
}
|
|
112
|
+
return {
|
|
113
|
+
|
|
114
|
+
'aadhaar': json['aadhaar'] == null ? undefined : AadhaarInputFromJSON(json['aadhaar']),
|
|
115
|
+
'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : BangladeshNationalIdInputFromJSON(json['bangladeshNationalId']),
|
|
116
|
+
'brazilCpfCheck': json['brazilCpfCheck'] == null ? undefined : BrazilCpfCheckInputFromJSON(json['brazilCpfCheck']),
|
|
117
|
+
'brazilDigitalCnh': json['brazilDigitalCnh'] == null ? undefined : BrazilDigitalCnhInputFromJSON(json['brazilDigitalCnh']),
|
|
118
|
+
'philippineMatch': json['philippineMatch'] == null ? undefined : PhilippineMatchInputFromJSON(json['philippineMatch']),
|
|
119
|
+
'philippineQR': json['philippineQR'] == null ? undefined : PhilippineQRInputFromJSON(json['philippineQR']),
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export function ProviderInputToJSON(value?: ProviderInput | null): any {
|
|
124
|
+
if (value == null) {
|
|
125
|
+
return value;
|
|
126
|
+
}
|
|
127
|
+
return {
|
|
128
|
+
|
|
129
|
+
'aadhaar': AadhaarInputToJSON(value['aadhaar']),
|
|
130
|
+
'bangladeshNationalId': BangladeshNationalIdInputToJSON(value['bangladeshNationalId']),
|
|
131
|
+
'brazilCpfCheck': BrazilCpfCheckInputToJSON(value['brazilCpfCheck']),
|
|
132
|
+
'brazilDigitalCnh': BrazilDigitalCnhInputToJSON(value['brazilDigitalCnh']),
|
|
133
|
+
'philippineMatch': PhilippineMatchInputToJSON(value['philippineMatch']),
|
|
134
|
+
'philippineQR': PhilippineQRInputToJSON(value['philippineQR']),
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RecommendRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface RecommendRequest {
|
|
22
|
+
/**
|
|
23
|
+
* The phone number of the user you wish to generate a recommendation for. Will be used to look up the user's identity in the network
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RecommendRequest
|
|
26
|
+
*/
|
|
27
|
+
phoneNumber?: string;
|
|
28
|
+
/**
|
|
29
|
+
* A list of countries, in alpha-2 ISO 3166 format, you wish to specify for the recommendation, this can include the user's country of residence, nationality, etc.
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof RecommendRequest
|
|
32
|
+
*/
|
|
33
|
+
countries?: Array<string>;
|
|
34
|
+
/**
|
|
35
|
+
* If one of the countries has subdivisions, for example the US states, you can specify a list of these to further refine the recommendation (e.g., CA, UT, NY)
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof RecommendRequest
|
|
38
|
+
*/
|
|
39
|
+
subdivisions?: Array<string>;
|
|
40
|
+
/**
|
|
41
|
+
* If true, the recommendation will include providers that are disabled for the app
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof RecommendRequest
|
|
44
|
+
*/
|
|
45
|
+
includeDisabledProviders?: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the RecommendRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfRecommendRequest(value: object): value is RecommendRequest {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function RecommendRequestFromJSON(json: any): RecommendRequest {
|
|
56
|
+
return RecommendRequestFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function RecommendRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendRequest {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
66
|
+
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
67
|
+
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
68
|
+
'includeDisabledProviders': json['includeDisabledProviders'] == null ? undefined : json['includeDisabledProviders'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function RecommendRequestToJSON(value?: RecommendRequest | null): any {
|
|
73
|
+
if (value == null) {
|
|
74
|
+
return value;
|
|
75
|
+
}
|
|
76
|
+
return {
|
|
77
|
+
|
|
78
|
+
'phoneNumber': value['phoneNumber'],
|
|
79
|
+
'countries': value['countries'],
|
|
80
|
+
'subdivisions': value['subdivisions'],
|
|
81
|
+
'includeDisabledProviders': value['includeDisabledProviders'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ProviderInformation } from './ProviderInformation';
|
|
17
|
+
import {
|
|
18
|
+
ProviderInformationFromJSON,
|
|
19
|
+
ProviderInformationFromJSONTyped,
|
|
20
|
+
ProviderInformationToJSON,
|
|
21
|
+
} from './ProviderInformation';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface RecommendResponse
|
|
27
|
+
*/
|
|
28
|
+
export interface RecommendResponse {
|
|
29
|
+
/**
|
|
30
|
+
* The list of providers that were recognized in Trinsic's network. These are providers that already verified this user
|
|
31
|
+
* @type {Array<ProviderInformation>}
|
|
32
|
+
* @memberof RecommendResponse
|
|
33
|
+
*/
|
|
34
|
+
recognized: Array<ProviderInformation>;
|
|
35
|
+
/**
|
|
36
|
+
* The list of providers that although not recognized, are relevant to the user's identity. The user may have been verified by these providers
|
|
37
|
+
* @type {Array<ProviderInformation>}
|
|
38
|
+
* @memberof RecommendResponse
|
|
39
|
+
*/
|
|
40
|
+
relevant: Array<ProviderInformation>;
|
|
41
|
+
/**
|
|
42
|
+
* The list of providers that are not recognized and are not relevant to the user's identity
|
|
43
|
+
* @type {Array<ProviderInformation>}
|
|
44
|
+
* @memberof RecommendResponse
|
|
45
|
+
*/
|
|
46
|
+
remainder: Array<ProviderInformation>;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the RecommendResponse interface.
|
|
51
|
+
*/
|
|
52
|
+
export function instanceOfRecommendResponse(value: object): value is RecommendResponse {
|
|
53
|
+
if (!('recognized' in value) || value['recognized'] === undefined) return false;
|
|
54
|
+
if (!('relevant' in value) || value['relevant'] === undefined) return false;
|
|
55
|
+
if (!('remainder' in value) || value['remainder'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function RecommendResponseFromJSON(json: any): RecommendResponse {
|
|
60
|
+
return RecommendResponseFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function RecommendResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendResponse {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'recognized': ((json['recognized'] as Array<any>).map(ProviderInformationFromJSON)),
|
|
70
|
+
'relevant': ((json['relevant'] as Array<any>).map(ProviderInformationFromJSON)),
|
|
71
|
+
'remainder': ((json['remainder'] as Array<any>).map(ProviderInformationFromJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function RecommendResponseToJSON(value?: RecommendResponse | null): any {
|
|
76
|
+
if (value == null) {
|
|
77
|
+
return value;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'recognized': ((value['recognized'] as Array<any>).map(ProviderInformationToJSON)),
|
|
82
|
+
'relevant': ((value['relevant'] as Array<any>).map(ProviderInformationToJSON)),
|
|
83
|
+
'remainder': ((value['remainder'] as Array<any>).map(ProviderInformationToJSON)),
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic 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
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RefreshStepContentRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface RefreshStepContentRequest {
|
|
22
|
+
/**
|
|
23
|
+
* The `ResultsAccessKey` returned when the Session was created
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof RefreshStepContentRequest
|
|
26
|
+
*/
|
|
27
|
+
resultsAccessKey?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the RefreshStepContentRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfRefreshStepContentRequest(value: object): value is RefreshStepContentRequest {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function RefreshStepContentRequestFromJSON(json: any): RefreshStepContentRequest {
|
|
38
|
+
return RefreshStepContentRequestFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function RefreshStepContentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentRequest {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'resultsAccessKey': json['resultsAccessKey'] == null ? undefined : json['resultsAccessKey'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function RefreshStepContentRequestToJSON(value?: RefreshStepContentRequest | null): any {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'resultsAccessKey': value['resultsAccessKey'],
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|