@trinsic/api 1.2.0 → 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 +28 -11
- package/dist/apis/AttachmentsApi.d.ts +1 -1
- package/dist/apis/AttachmentsApi.js +1 -1
- package/dist/apis/NetworkApi.d.ts +6 -33
- package/dist/apis/NetworkApi.js +3 -40
- 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 +6 -33
- package/dist/esm/apis/NetworkApi.js +4 -41
- 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 +8 -1
- package/dist/esm/models/KnownAddress.js +3 -1
- package/dist/esm/models/KnownIdentityData.d.ts +1 -1
- package/dist/esm/models/KnownIdentityData.js +1 -1
- package/dist/esm/models/KnownPersonData.d.ts +13 -1
- package/dist/esm/models/KnownPersonData.js +5 -1
- 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 +1 -1
- package/dist/esm/models/ProviderInformation.js +1 -1
- package/dist/esm/models/ProviderInput.d.ts +67 -0
- package/dist/esm/models/ProviderInput.js +54 -0
- package/dist/esm/models/RecommendRequest.d.ts +11 -5
- package/dist/esm/models/RecommendRequest.js +6 -6
- package/dist/esm/models/RecommendResponse.d.ts +1 -1
- package/dist/esm/models/RecommendResponse.js +1 -1
- 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 +28 -11
- package/dist/esm/models/index.js +28 -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 +8 -1
- package/dist/models/KnownAddress.js +3 -1
- package/dist/models/KnownIdentityData.d.ts +1 -1
- package/dist/models/KnownIdentityData.js +1 -1
- package/dist/models/KnownPersonData.d.ts +13 -1
- package/dist/models/KnownPersonData.js +5 -1
- 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 +1 -1
- package/dist/models/ProviderInformation.js +1 -1
- package/dist/models/ProviderInput.d.ts +67 -0
- package/dist/models/ProviderInput.js +60 -0
- package/dist/models/RecommendRequest.d.ts +11 -5
- package/dist/models/RecommendRequest.js +6 -6
- package/dist/models/RecommendResponse.d.ts +1 -1
- package/dist/models/RecommendResponse.js +1 -1
- 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 +28 -11
- package/dist/models/index.js +28 -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 +8 -77
- 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 +10 -1
- package/src/models/KnownIdentityData.ts +1 -1
- package/src/models/KnownPersonData.ts +17 -1
- 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 +1 -1
- package/src/models/ProviderInput.ts +137 -0
- package/src/models/RecommendRequest.ts +16 -9
- package/src/models/RecommendResponse.ts +1 -1
- 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 +28 -11
- package/src/runtime.ts +1 -1
- package/dist/esm/models/CreateSessionRequest.d.ts +0 -82
- package/dist/esm/models/CreateSessionRequest.js +0 -48
- 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 -28
- package/dist/esm/models/VerificationFailCode.js +0 -44
- package/dist/models/CreateSessionRequest.d.ts +0 -82
- package/dist/models/CreateSessionRequest.js +0 -54
- 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 -28
- package/dist/models/VerificationFailCode.js +0 -51
- package/src/models/CreateSessionRequest.ts +0 -130
- 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 -53
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic 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.instanceOfPhilippineMatchInput = instanceOfPhilippineMatchInput;
|
|
17
|
+
exports.PhilippineMatchInputFromJSON = PhilippineMatchInputFromJSON;
|
|
18
|
+
exports.PhilippineMatchInputFromJSONTyped = PhilippineMatchInputFromJSONTyped;
|
|
19
|
+
exports.PhilippineMatchInputToJSON = PhilippineMatchInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PhilippineMatchInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfPhilippineMatchInput(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function PhilippineMatchInputFromJSON(json) {
|
|
27
|
+
return PhilippineMatchInputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function PhilippineMatchInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
35
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
36
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
37
|
+
'suffix': json['suffix'] == null ? undefined : json['suffix'],
|
|
38
|
+
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function PhilippineMatchInputToJSON(value) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'givenName': value['givenName'],
|
|
47
|
+
'middleName': value['middleName'],
|
|
48
|
+
'familyName': value['familyName'],
|
|
49
|
+
'suffix': value['suffix'],
|
|
50
|
+
'dateOfBirth': value['dateOfBirth'] == null ? undefined : ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic 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 PhilippineQRInput
|
|
16
|
+
*/
|
|
17
|
+
export interface PhilippineQRInput {
|
|
18
|
+
/**
|
|
19
|
+
* The raw text of the user's QR code after decoding it.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PhilippineQRInput
|
|
22
|
+
*/
|
|
23
|
+
qrCodeText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The raw bytes of the image containing the user's QR code.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PhilippineQRInput
|
|
28
|
+
*/
|
|
29
|
+
qrCodeImage?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the PhilippineQRInput interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfPhilippineQRInput(value: object): value is PhilippineQRInput;
|
|
35
|
+
export declare function PhilippineQRInputFromJSON(json: any): PhilippineQRInput;
|
|
36
|
+
export declare function PhilippineQRInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): PhilippineQRInput;
|
|
37
|
+
export declare function PhilippineQRInputToJSON(value?: PhilippineQRInput | null): any;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic 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.instanceOfPhilippineQRInput = instanceOfPhilippineQRInput;
|
|
17
|
+
exports.PhilippineQRInputFromJSON = PhilippineQRInputFromJSON;
|
|
18
|
+
exports.PhilippineQRInputFromJSONTyped = PhilippineQRInputFromJSONTyped;
|
|
19
|
+
exports.PhilippineQRInputToJSON = PhilippineQRInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PhilippineQRInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfPhilippineQRInput(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function PhilippineQRInputFromJSON(json) {
|
|
27
|
+
return PhilippineQRInputFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function PhilippineQRInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'qrCodeText': json['qrCodeText'] == null ? undefined : json['qrCodeText'],
|
|
35
|
+
'qrCodeImage': json['qrCodeImage'] == null ? undefined : json['qrCodeImage'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function PhilippineQRInputToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'qrCodeText': value['qrCodeText'],
|
|
44
|
+
'qrCodeImage': value['qrCodeImage'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic 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 ProblemDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface ProblemDetails {
|
|
18
|
+
[key: string]: any | any;
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ProblemDetails
|
|
23
|
+
*/
|
|
24
|
+
type?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ProblemDetails
|
|
29
|
+
*/
|
|
30
|
+
title?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ProblemDetails
|
|
35
|
+
*/
|
|
36
|
+
status?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProblemDetails
|
|
41
|
+
*/
|
|
42
|
+
detail?: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProblemDetails
|
|
47
|
+
*/
|
|
48
|
+
instance?: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ProblemDetails interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfProblemDetails(value: object): value is ProblemDetails;
|
|
54
|
+
export declare function ProblemDetailsFromJSON(json: any): ProblemDetails;
|
|
55
|
+
export declare function ProblemDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProblemDetails;
|
|
56
|
+
export declare function ProblemDetailsToJSON(value?: ProblemDetails | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic 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.instanceOfProblemDetails = instanceOfProblemDetails;
|
|
17
|
+
exports.ProblemDetailsFromJSON = ProblemDetailsFromJSON;
|
|
18
|
+
exports.ProblemDetailsFromJSONTyped = ProblemDetailsFromJSONTyped;
|
|
19
|
+
exports.ProblemDetailsToJSON = ProblemDetailsToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ProblemDetails interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfProblemDetails(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function ProblemDetailsFromJSON(json) {
|
|
27
|
+
return ProblemDetailsFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function ProblemDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return Object.assign(Object.assign({}, json), { 'type': json['type'] == null ? undefined : json['type'], 'title': json['title'] == null ? undefined : json['title'], 'status': json['status'] == null ? undefined : json['status'], 'detail': json['detail'] == null ? undefined : json['detail'], 'instance': json['instance'] == null ? undefined : json['instance'] });
|
|
34
|
+
}
|
|
35
|
+
function ProblemDetailsToJSON(value) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return Object.assign(Object.assign({}, value), { 'type': value['type'], 'title': value['title'], 'status': value['status'], 'detail': value['detail'], 'instance': value['instance'] });
|
|
40
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic 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 { DocumentScanAttachments } from './DocumentScanAttachments';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProviderAttachments
|
|
17
|
+
*/
|
|
18
|
+
export interface ProviderAttachments {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {DocumentScanAttachments}
|
|
22
|
+
* @memberof ProviderAttachments
|
|
23
|
+
*/
|
|
24
|
+
documentScan?: DocumentScanAttachments;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProviderAttachments interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfProviderAttachments(value: object): value is ProviderAttachments;
|
|
30
|
+
export declare function ProviderAttachmentsFromJSON(json: any): ProviderAttachments;
|
|
31
|
+
export declare function ProviderAttachmentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderAttachments;
|
|
32
|
+
export declare function ProviderAttachmentsToJSON(value?: ProviderAttachments | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic 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.instanceOfProviderAttachments = instanceOfProviderAttachments;
|
|
17
|
+
exports.ProviderAttachmentsFromJSON = ProviderAttachmentsFromJSON;
|
|
18
|
+
exports.ProviderAttachmentsFromJSONTyped = ProviderAttachmentsFromJSONTyped;
|
|
19
|
+
exports.ProviderAttachmentsToJSON = ProviderAttachmentsToJSON;
|
|
20
|
+
const DocumentScanAttachments_1 = require("./DocumentScanAttachments");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ProviderAttachments interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfProviderAttachments(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ProviderAttachmentsFromJSON(json) {
|
|
28
|
+
return ProviderAttachmentsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ProviderAttachmentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'documentScan': json['document-scan'] == null ? undefined : (0, DocumentScanAttachments_1.DocumentScanAttachmentsFromJSON)(json['document-scan']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function ProviderAttachmentsToJSON(value) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'document-scan': (0, DocumentScanAttachments_1.DocumentScanAttachmentsToJSON)(value['documentScan']),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Trinsic API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
@@ -33,6 +33,12 @@ export interface ProviderInfo {
|
|
|
33
33
|
* @memberof ProviderInfo
|
|
34
34
|
*/
|
|
35
35
|
logoUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
* List of child provider id's where the provider allows deep-launching of a specific provider.
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof ProviderInfo
|
|
40
|
+
*/
|
|
41
|
+
childProviderIds?: Array<string>;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the ProviderInfo interface.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Trinsic API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
@@ -40,6 +40,7 @@ function ProviderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
40
|
'id': json['id'],
|
|
41
41
|
'name': json['name'],
|
|
42
42
|
'logoUrl': json['logoUrl'],
|
|
43
|
+
'childProviderIds': json['childProviderIds'] == null ? undefined : json['childProviderIds'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
46
|
function ProviderInfoToJSON(value) {
|
|
@@ -50,5 +51,6 @@ function ProviderInfoToJSON(value) {
|
|
|
50
51
|
'id': value['id'],
|
|
51
52
|
'name': value['name'],
|
|
52
53
|
'logoUrl': value['logoUrl'],
|
|
54
|
+
'childProviderIds': value['childProviderIds'],
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic 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 { PhilippineQRInput } from './PhilippineQRInput';
|
|
13
|
+
import type { BangladeshNationalIdInput } from './BangladeshNationalIdInput';
|
|
14
|
+
import type { AadhaarInput } from './AadhaarInput';
|
|
15
|
+
import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
|
|
16
|
+
import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
|
|
17
|
+
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ProviderInput
|
|
22
|
+
*/
|
|
23
|
+
export interface ProviderInput {
|
|
24
|
+
/**
|
|
25
|
+
* Input for the `f-india-aadhaar-match` integration
|
|
26
|
+
* @type {AadhaarInput}
|
|
27
|
+
* @memberof ProviderInput
|
|
28
|
+
*/
|
|
29
|
+
aadhaar?: AadhaarInput;
|
|
30
|
+
/**
|
|
31
|
+
* Input for the `bangladesh-nid` integration
|
|
32
|
+
* @type {BangladeshNationalIdInput}
|
|
33
|
+
* @memberof ProviderInput
|
|
34
|
+
*/
|
|
35
|
+
bangladeshNationalId?: BangladeshNationalIdInput;
|
|
36
|
+
/**
|
|
37
|
+
* Input for the `g-brazil-cpf` integration
|
|
38
|
+
* @type {BrazilCpfCheckInput}
|
|
39
|
+
* @memberof ProviderInput
|
|
40
|
+
*/
|
|
41
|
+
brazilCpfCheck?: BrazilCpfCheckInput;
|
|
42
|
+
/**
|
|
43
|
+
* Input for the `g-brazil-digital-cnh` integration
|
|
44
|
+
* @type {BrazilDigitalCnhInput}
|
|
45
|
+
* @memberof ProviderInput
|
|
46
|
+
*/
|
|
47
|
+
brazilDigitalCnh?: BrazilDigitalCnhInput;
|
|
48
|
+
/**
|
|
49
|
+
* Input for the `b-philsys-biometric` integration
|
|
50
|
+
* @type {PhilippineMatchInput}
|
|
51
|
+
* @memberof ProviderInput
|
|
52
|
+
*/
|
|
53
|
+
philippineMatch?: PhilippineMatchInput;
|
|
54
|
+
/**
|
|
55
|
+
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` integrations
|
|
56
|
+
* @type {PhilippineQRInput}
|
|
57
|
+
* @memberof ProviderInput
|
|
58
|
+
*/
|
|
59
|
+
philippineQR?: PhilippineQRInput;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ProviderInput interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfProviderInput(value: object): value is ProviderInput;
|
|
65
|
+
export declare function ProviderInputFromJSON(json: any): ProviderInput;
|
|
66
|
+
export declare function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInput;
|
|
67
|
+
export declare function ProviderInputToJSON(value?: ProviderInput | null): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic 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.instanceOfProviderInput = instanceOfProviderInput;
|
|
17
|
+
exports.ProviderInputFromJSON = ProviderInputFromJSON;
|
|
18
|
+
exports.ProviderInputFromJSONTyped = ProviderInputFromJSONTyped;
|
|
19
|
+
exports.ProviderInputToJSON = ProviderInputToJSON;
|
|
20
|
+
const PhilippineQRInput_1 = require("./PhilippineQRInput");
|
|
21
|
+
const BangladeshNationalIdInput_1 = require("./BangladeshNationalIdInput");
|
|
22
|
+
const AadhaarInput_1 = require("./AadhaarInput");
|
|
23
|
+
const BrazilCpfCheckInput_1 = require("./BrazilCpfCheckInput");
|
|
24
|
+
const BrazilDigitalCnhInput_1 = require("./BrazilDigitalCnhInput");
|
|
25
|
+
const PhilippineMatchInput_1 = require("./PhilippineMatchInput");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ProviderInput interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfProviderInput(value) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function ProviderInputFromJSON(json) {
|
|
33
|
+
return ProviderInputFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'aadhaar': json['aadhaar'] == null ? undefined : (0, AadhaarInput_1.AadhaarInputFromJSON)(json['aadhaar']),
|
|
41
|
+
'bangladeshNationalId': json['bangladeshNationalId'] == null ? undefined : (0, BangladeshNationalIdInput_1.BangladeshNationalIdInputFromJSON)(json['bangladeshNationalId']),
|
|
42
|
+
'brazilCpfCheck': json['brazilCpfCheck'] == null ? undefined : (0, BrazilCpfCheckInput_1.BrazilCpfCheckInputFromJSON)(json['brazilCpfCheck']),
|
|
43
|
+
'brazilDigitalCnh': json['brazilDigitalCnh'] == null ? undefined : (0, BrazilDigitalCnhInput_1.BrazilDigitalCnhInputFromJSON)(json['brazilDigitalCnh']),
|
|
44
|
+
'philippineMatch': json['philippineMatch'] == null ? undefined : (0, PhilippineMatchInput_1.PhilippineMatchInputFromJSON)(json['philippineMatch']),
|
|
45
|
+
'philippineQR': json['philippineQR'] == null ? undefined : (0, PhilippineQRInput_1.PhilippineQRInputFromJSON)(json['philippineQR']),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ProviderInputToJSON(value) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'aadhaar': (0, AadhaarInput_1.AadhaarInputToJSON)(value['aadhaar']),
|
|
54
|
+
'bangladeshNationalId': (0, BangladeshNationalIdInput_1.BangladeshNationalIdInputToJSON)(value['bangladeshNationalId']),
|
|
55
|
+
'brazilCpfCheck': (0, BrazilCpfCheckInput_1.BrazilCpfCheckInputToJSON)(value['brazilCpfCheck']),
|
|
56
|
+
'brazilDigitalCnh': (0, BrazilDigitalCnhInput_1.BrazilDigitalCnhInputToJSON)(value['brazilDigitalCnh']),
|
|
57
|
+
'philippineMatch': (0, PhilippineMatchInput_1.PhilippineMatchInputToJSON)(value['philippineMatch']),
|
|
58
|
+
'philippineQR': (0, PhilippineQRInput_1.PhilippineQRInputToJSON)(value['philippineQR']),
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Trinsic API
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: v1
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RecommendRequest {
|
|
18
18
|
/**
|
|
19
|
-
* The phone number of the user you
|
|
19
|
+
* 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
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RecommendRequest
|
|
22
22
|
*/
|
|
23
|
-
phoneNumber
|
|
23
|
+
phoneNumber?: string;
|
|
24
24
|
/**
|
|
25
25
|
* 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.
|
|
26
26
|
* @type {Array<string>}
|
|
@@ -28,11 +28,17 @@ export interface RecommendRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
countries?: Array<string>;
|
|
30
30
|
/**
|
|
31
|
-
* If one of the countries
|
|
31
|
+
* 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)
|
|
32
32
|
* @type {Array<string>}
|
|
33
33
|
* @memberof RecommendRequest
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
subdivisions?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* If true, the recommendation will include providers that are disabled for the app
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof RecommendRequest
|
|
40
|
+
*/
|
|
41
|
+
includeDisabledProviders?: boolean;
|
|
36
42
|
}
|
|
37
43
|
/**
|
|
38
44
|
* Check if a given object implements the RecommendRequest interface.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Trinsic API
|
|
6
6
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: v1
|
|
@@ -21,8 +21,6 @@ exports.RecommendRequestToJSON = RecommendRequestToJSON;
|
|
|
21
21
|
* Check if a given object implements the RecommendRequest interface.
|
|
22
22
|
*/
|
|
23
23
|
function instanceOfRecommendRequest(value) {
|
|
24
|
-
if (!('phoneNumber' in value) || value['phoneNumber'] === undefined)
|
|
25
|
-
return false;
|
|
26
24
|
return true;
|
|
27
25
|
}
|
|
28
26
|
function RecommendRequestFromJSON(json) {
|
|
@@ -33,9 +31,10 @@ function RecommendRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
31
|
return json;
|
|
34
32
|
}
|
|
35
33
|
return {
|
|
36
|
-
'phoneNumber': json['phoneNumber'],
|
|
34
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
37
35
|
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
38
|
-
'
|
|
36
|
+
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
37
|
+
'includeDisabledProviders': json['includeDisabledProviders'] == null ? undefined : json['includeDisabledProviders'],
|
|
39
38
|
};
|
|
40
39
|
}
|
|
41
40
|
function RecommendRequestToJSON(value) {
|
|
@@ -45,6 +44,7 @@ function RecommendRequestToJSON(value) {
|
|
|
45
44
|
return {
|
|
46
45
|
'phoneNumber': value['phoneNumber'],
|
|
47
46
|
'countries': value['countries'],
|
|
48
|
-
'
|
|
47
|
+
'subdivisions': value['subdivisions'],
|
|
48
|
+
'includeDisabledProviders': value['includeDisabledProviders'],
|
|
49
49
|
};
|
|
50
50
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic 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 RefreshStepContentRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RefreshStepContentRequest {
|
|
18
|
+
/**
|
|
19
|
+
* The `ResultsAccessKey` returned when the Session was created
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RefreshStepContentRequest
|
|
22
|
+
*/
|
|
23
|
+
resultsAccessKey?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the RefreshStepContentRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfRefreshStepContentRequest(value: object): value is RefreshStepContentRequest;
|
|
29
|
+
export declare function RefreshStepContentRequestFromJSON(json: any): RefreshStepContentRequest;
|
|
30
|
+
export declare function RefreshStepContentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentRequest;
|
|
31
|
+
export declare function RefreshStepContentRequestToJSON(value?: RefreshStepContentRequest | null): any;
|