@trinsic/api 1.2.0 → 2.0.0-alpha3
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 +33 -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 +11 -11
- package/dist/esm/models/Address.js +3 -3
- package/dist/esm/models/AttachmentAccessKeys.d.ts +16 -11
- 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/BrazilCpfCheckInput.js +40 -0
- 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 +11 -10
- 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 +2 -2
- 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 +9 -9
- package/dist/esm/models/IdentityData.js +1 -1
- package/dist/esm/models/IndonesiaNikInput.d.ts +43 -0
- package/dist/esm/models/IndonesiaNikInput.js +48 -0
- 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/KenyaNidInput.d.ts +61 -0
- package/dist/esm/models/KenyaNidInput.js +58 -0
- package/dist/esm/models/KnownAddress.d.ts +15 -8
- package/dist/esm/models/KnownAddress.js +3 -1
- package/dist/esm/models/KnownIdentityData.d.ts +2 -2
- package/dist/esm/models/KnownIdentityData.js +1 -1
- package/dist/esm/models/KnownPersonData.d.ts +19 -7
- 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/MexicoCurpInput.d.ts +31 -0
- package/dist/esm/models/{FailureMessage.js → MexicoCurpInput.js} +10 -10
- package/dist/esm/models/NigeriaNinInput.d.ts +67 -0
- package/dist/esm/models/NigeriaNinInput.js +58 -0
- package/dist/esm/models/OrderDirection.d.ts +1 -1
- package/dist/esm/models/OrderDirection.js +1 -1
- package/dist/esm/models/PersonData.d.ts +23 -18
- 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 +102 -0
- package/dist/esm/models/ProviderInput.js +69 -0
- package/dist/esm/models/RecommendRequest.d.ts +18 -6
- package/dist/esm/models/RecommendRequest.js +8 -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/SouthAfricaNidInput.d.ts +49 -0
- package/dist/esm/models/SouthAfricaNidInput.js +52 -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 +33 -11
- package/dist/esm/models/index.js +33 -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 +11 -11
- package/dist/models/Address.js +3 -3
- package/dist/models/AttachmentAccessKeys.d.ts +16 -11
- 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 +11 -10
- 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 +2 -2
- 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 +9 -9
- package/dist/models/IdentityData.js +1 -1
- package/dist/models/IndonesiaNikInput.d.ts +43 -0
- package/dist/models/IndonesiaNikInput.js +54 -0
- 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/KenyaNidInput.d.ts +61 -0
- package/dist/models/KenyaNidInput.js +64 -0
- package/dist/models/KnownAddress.d.ts +15 -8
- package/dist/models/KnownAddress.js +3 -1
- package/dist/models/KnownIdentityData.d.ts +2 -2
- package/dist/models/KnownIdentityData.js +1 -1
- package/dist/models/KnownPersonData.d.ts +19 -7
- 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/MexicoCurpInput.d.ts +31 -0
- package/dist/models/MexicoCurpInput.js +46 -0
- package/dist/models/NigeriaNinInput.d.ts +67 -0
- package/dist/models/NigeriaNinInput.js +64 -0
- package/dist/models/OrderDirection.d.ts +1 -1
- package/dist/models/OrderDirection.js +1 -1
- package/dist/models/PersonData.d.ts +23 -18
- 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 +102 -0
- package/dist/models/ProviderInput.js +75 -0
- package/dist/models/RecommendRequest.d.ts +18 -6
- package/dist/models/RecommendRequest.js +8 -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/SouthAfricaNidInput.d.ts +49 -0
- package/dist/models/SouthAfricaNidInput.js +58 -0
- package/dist/models/StepRefreshInfo.d.ts +45 -0
- package/dist/models/StepRefreshInfo.js +54 -0
- package/dist/models/index.d.ts +33 -11
- package/dist/models/index.js +33 -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 +13 -13
- package/src/models/AttachmentAccessKeys.ts +26 -12
- 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} +18 -26
- package/src/models/DocumentData.ts +25 -16
- 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 +2 -2
- package/src/models/HttpValidationProblemDetails.ts +100 -0
- package/src/models/IdentityData.ts +9 -9
- package/src/models/IndonesiaNikInput.ts +79 -0
- package/src/models/IntegrationCapability.ts +53 -0
- package/src/models/IntegrationLaunchMethod.ts +51 -0
- package/src/models/IntegrationStep.ts +94 -0
- package/src/models/KenyaNidInput.ts +105 -0
- package/src/models/KnownAddress.ts +17 -8
- package/src/models/KnownIdentityData.ts +2 -2
- package/src/models/KnownPersonData.ts +23 -7
- package/src/models/ListProvidersResponse.ts +1 -1
- package/src/models/ListSessionsResponse.ts +1 -1
- package/src/models/MexicoCurpInput.ts +61 -0
- package/src/models/NigeriaNinInput.ts +112 -0
- package/src/models/OrderDirection.ts +1 -1
- package/src/models/PersonData.ts +37 -23
- 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 +207 -0
- package/src/models/RecommendRequest.ts +25 -10
- 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/SouthAfricaNidInput.ts +88 -0
- package/src/models/StepRefreshInfo.ts +81 -0
- package/src/models/index.ts +33 -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,54 @@
|
|
|
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.instanceOfHttpValidationProblemDetails = instanceOfHttpValidationProblemDetails;
|
|
17
|
+
exports.HttpValidationProblemDetailsFromJSON = HttpValidationProblemDetailsFromJSON;
|
|
18
|
+
exports.HttpValidationProblemDetailsFromJSONTyped = HttpValidationProblemDetailsFromJSONTyped;
|
|
19
|
+
exports.HttpValidationProblemDetailsToJSON = HttpValidationProblemDetailsToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the HttpValidationProblemDetails interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfHttpValidationProblemDetails(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function HttpValidationProblemDetailsFromJSON(json) {
|
|
27
|
+
return HttpValidationProblemDetailsFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function HttpValidationProblemDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
35
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
36
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
37
|
+
'detail': json['detail'] == null ? undefined : json['detail'],
|
|
38
|
+
'instance': json['instance'] == null ? undefined : json['instance'],
|
|
39
|
+
'errors': json['errors'] == null ? undefined : json['errors'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function HttpValidationProblemDetailsToJSON(value) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'type': value['type'],
|
|
48
|
+
'title': value['title'],
|
|
49
|
+
'status': value['status'],
|
|
50
|
+
'detail': value['detail'],
|
|
51
|
+
'instance': value['instance'],
|
|
52
|
+
'errors': value['errors'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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
|
|
@@ -19,29 +19,29 @@ import type { AttachmentAccessKeys } from './AttachmentAccessKeys';
|
|
|
19
19
|
*/
|
|
20
20
|
export interface IdentityData {
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
*
|
|
23
23
|
* @type {string}
|
|
24
24
|
* @memberof IdentityData
|
|
25
25
|
*/
|
|
26
|
-
originatingProviderId?: string;
|
|
26
|
+
originatingProviderId?: string | null;
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
*
|
|
29
29
|
* @type {PersonData}
|
|
30
30
|
* @memberof IdentityData
|
|
31
31
|
*/
|
|
32
|
-
person?: PersonData;
|
|
32
|
+
person?: PersonData | null;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
*
|
|
35
35
|
* @type {DocumentData}
|
|
36
36
|
* @memberof IdentityData
|
|
37
37
|
*/
|
|
38
|
-
document?: DocumentData;
|
|
38
|
+
document?: DocumentData | null;
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
*
|
|
41
41
|
* @type {AttachmentAccessKeys}
|
|
42
42
|
* @memberof IdentityData
|
|
43
43
|
*/
|
|
44
|
-
attachmentAccessKeys?: AttachmentAccessKeys;
|
|
44
|
+
attachmentAccessKeys?: AttachmentAccessKeys | null;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
47
|
* Check if a given object implements the IdentityData interface.
|
|
@@ -0,0 +1,43 @@
|
|
|
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 IndonesiaNikInput
|
|
16
|
+
*/
|
|
17
|
+
export interface IndonesiaNikInput {
|
|
18
|
+
/**
|
|
19
|
+
* The user's full name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndonesiaNikInput
|
|
22
|
+
*/
|
|
23
|
+
fullName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The user's date of birth, in `YYYY-MM-DD` format
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof IndonesiaNikInput
|
|
28
|
+
*/
|
|
29
|
+
dateOfBirth: Date;
|
|
30
|
+
/**
|
|
31
|
+
* The user's Indonesia NIK ID number
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IndonesiaNikInput
|
|
34
|
+
*/
|
|
35
|
+
nikIdNumber: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the IndonesiaNikInput interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfIndonesiaNikInput(value: object): value is IndonesiaNikInput;
|
|
41
|
+
export declare function IndonesiaNikInputFromJSON(json: any): IndonesiaNikInput;
|
|
42
|
+
export declare function IndonesiaNikInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndonesiaNikInput;
|
|
43
|
+
export declare function IndonesiaNikInputToJSON(value?: IndonesiaNikInput | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfIndonesiaNikInput = instanceOfIndonesiaNikInput;
|
|
17
|
+
exports.IndonesiaNikInputFromJSON = IndonesiaNikInputFromJSON;
|
|
18
|
+
exports.IndonesiaNikInputFromJSONTyped = IndonesiaNikInputFromJSONTyped;
|
|
19
|
+
exports.IndonesiaNikInputToJSON = IndonesiaNikInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the IndonesiaNikInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfIndonesiaNikInput(value) {
|
|
24
|
+
if (!('fullName' in value) || value['fullName'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('nikIdNumber' in value) || value['nikIdNumber'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
function IndonesiaNikInputFromJSON(json) {
|
|
33
|
+
return IndonesiaNikInputFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
function IndonesiaNikInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'fullName': json['fullName'],
|
|
41
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
42
|
+
'nikIdNumber': json['nikIdNumber'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function IndonesiaNikInputToJSON(value) {
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'fullName': value['fullName'],
|
|
51
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
52
|
+
'nikIdNumber': value['nikIdNumber'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const IntegrationCapability: {
|
|
17
|
+
readonly LaunchBrowser: "LaunchBrowser";
|
|
18
|
+
readonly DeeplinkToMobile: "DeeplinkToMobile";
|
|
19
|
+
readonly ShowContent: "ShowContent";
|
|
20
|
+
readonly RefreshStepContent: "RefreshStepContent";
|
|
21
|
+
readonly CaptureRedirect: "CaptureRedirect";
|
|
22
|
+
readonly PollResult: "PollResult";
|
|
23
|
+
};
|
|
24
|
+
export type IntegrationCapability = typeof IntegrationCapability[keyof typeof IntegrationCapability];
|
|
25
|
+
export declare function instanceOfIntegrationCapability(value: any): boolean;
|
|
26
|
+
export declare function IntegrationCapabilityFromJSON(json: any): IntegrationCapability;
|
|
27
|
+
export declare function IntegrationCapabilityFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationCapability;
|
|
28
|
+
export declare function IntegrationCapabilityToJSON(value?: IntegrationCapability | null): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.IntegrationCapability = void 0;
|
|
17
|
+
exports.instanceOfIntegrationCapability = instanceOfIntegrationCapability;
|
|
18
|
+
exports.IntegrationCapabilityFromJSON = IntegrationCapabilityFromJSON;
|
|
19
|
+
exports.IntegrationCapabilityFromJSONTyped = IntegrationCapabilityFromJSONTyped;
|
|
20
|
+
exports.IntegrationCapabilityToJSON = IntegrationCapabilityToJSON;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IntegrationCapability = {
|
|
26
|
+
LaunchBrowser: 'LaunchBrowser',
|
|
27
|
+
DeeplinkToMobile: 'DeeplinkToMobile',
|
|
28
|
+
ShowContent: 'ShowContent',
|
|
29
|
+
RefreshStepContent: 'RefreshStepContent',
|
|
30
|
+
CaptureRedirect: 'CaptureRedirect',
|
|
31
|
+
PollResult: 'PollResult'
|
|
32
|
+
};
|
|
33
|
+
function instanceOfIntegrationCapability(value) {
|
|
34
|
+
for (const key in exports.IntegrationCapability) {
|
|
35
|
+
if (Object.prototype.hasOwnProperty.call(exports.IntegrationCapability, key)) {
|
|
36
|
+
if (exports.IntegrationCapability[key] === value) {
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
return false;
|
|
42
|
+
}
|
|
43
|
+
function IntegrationCapabilityFromJSON(json) {
|
|
44
|
+
return IntegrationCapabilityFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function IntegrationCapabilityFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
function IntegrationCapabilityToJSON(value) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const IntegrationLaunchMethod: {
|
|
17
|
+
readonly LaunchBrowser: "LaunchBrowser";
|
|
18
|
+
readonly PollResult: "PollResult";
|
|
19
|
+
readonly DeeplinkToMobile: "DeeplinkToMobile";
|
|
20
|
+
readonly ShowContent: "ShowContent";
|
|
21
|
+
};
|
|
22
|
+
export type IntegrationLaunchMethod = typeof IntegrationLaunchMethod[keyof typeof IntegrationLaunchMethod];
|
|
23
|
+
export declare function instanceOfIntegrationLaunchMethod(value: any): boolean;
|
|
24
|
+
export declare function IntegrationLaunchMethodFromJSON(json: any): IntegrationLaunchMethod;
|
|
25
|
+
export declare function IntegrationLaunchMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationLaunchMethod;
|
|
26
|
+
export declare function IntegrationLaunchMethodToJSON(value?: IntegrationLaunchMethod | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
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.IntegrationLaunchMethod = void 0;
|
|
17
|
+
exports.instanceOfIntegrationLaunchMethod = instanceOfIntegrationLaunchMethod;
|
|
18
|
+
exports.IntegrationLaunchMethodFromJSON = IntegrationLaunchMethodFromJSON;
|
|
19
|
+
exports.IntegrationLaunchMethodFromJSONTyped = IntegrationLaunchMethodFromJSONTyped;
|
|
20
|
+
exports.IntegrationLaunchMethodToJSON = IntegrationLaunchMethodToJSON;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.IntegrationLaunchMethod = {
|
|
26
|
+
LaunchBrowser: 'LaunchBrowser',
|
|
27
|
+
PollResult: 'PollResult',
|
|
28
|
+
DeeplinkToMobile: 'DeeplinkToMobile',
|
|
29
|
+
ShowContent: 'ShowContent'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfIntegrationLaunchMethod(value) {
|
|
32
|
+
for (const key in exports.IntegrationLaunchMethod) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.IntegrationLaunchMethod, key)) {
|
|
34
|
+
if (exports.IntegrationLaunchMethod[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function IntegrationLaunchMethodFromJSON(json) {
|
|
42
|
+
return IntegrationLaunchMethodFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function IntegrationLaunchMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function IntegrationLaunchMethodToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 { StepRefreshInfo } from './StepRefreshInfo';
|
|
13
|
+
import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
|
|
14
|
+
/**
|
|
15
|
+
* A step to perform in the process of executing an Advanced Provider Session
|
|
16
|
+
* @export
|
|
17
|
+
* @interface IntegrationStep
|
|
18
|
+
*/
|
|
19
|
+
export interface IntegrationStep {
|
|
20
|
+
/**
|
|
21
|
+
* The launch method to perform
|
|
22
|
+
* @type {IntegrationLaunchMethod}
|
|
23
|
+
* @memberof IntegrationStep
|
|
24
|
+
*/
|
|
25
|
+
method: IntegrationLaunchMethod;
|
|
26
|
+
/**
|
|
27
|
+
* Step type-specific content related to the step: a URL for `LaunchBrowser`, a deeplink for `DeeplinkToMobile` or a string to show to the user for `ShowContent`.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof IntegrationStep
|
|
30
|
+
*/
|
|
31
|
+
content: string;
|
|
32
|
+
/**
|
|
33
|
+
* If non-null, contains metadata about how to refresh the value of `content`.
|
|
34
|
+
* @type {StepRefreshInfo}
|
|
35
|
+
* @memberof IntegrationStep
|
|
36
|
+
*/
|
|
37
|
+
refresh: StepRefreshInfo | null;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the IntegrationStep interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfIntegrationStep(value: object): value is IntegrationStep;
|
|
43
|
+
export declare function IntegrationStepFromJSON(json: any): IntegrationStep;
|
|
44
|
+
export declare function IntegrationStepFromJSONTyped(json: any, ignoreDiscriminator: boolean): IntegrationStep;
|
|
45
|
+
export declare function IntegrationStepToJSON(value?: IntegrationStep | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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.instanceOfIntegrationStep = instanceOfIntegrationStep;
|
|
17
|
+
exports.IntegrationStepFromJSON = IntegrationStepFromJSON;
|
|
18
|
+
exports.IntegrationStepFromJSONTyped = IntegrationStepFromJSONTyped;
|
|
19
|
+
exports.IntegrationStepToJSON = IntegrationStepToJSON;
|
|
20
|
+
const StepRefreshInfo_1 = require("./StepRefreshInfo");
|
|
21
|
+
const IntegrationLaunchMethod_1 = require("./IntegrationLaunchMethod");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the IntegrationStep interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfIntegrationStep(value) {
|
|
26
|
+
if (!('method' in value) || value['method'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('refresh' in value) || value['refresh'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function IntegrationStepFromJSON(json) {
|
|
35
|
+
return IntegrationStepFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function IntegrationStepFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'method': (0, IntegrationLaunchMethod_1.IntegrationLaunchMethodFromJSON)(json['method']),
|
|
43
|
+
'content': json['content'],
|
|
44
|
+
'refresh': (0, StepRefreshInfo_1.StepRefreshInfoFromJSON)(json['refresh']),
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
function IntegrationStepToJSON(value) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'method': (0, IntegrationLaunchMethod_1.IntegrationLaunchMethodToJSON)(value['method']),
|
|
53
|
+
'content': value['content'],
|
|
54
|
+
'refresh': (0, StepRefreshInfo_1.StepRefreshInfoToJSON)(value['refresh']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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 KenyaNidInput
|
|
16
|
+
*/
|
|
17
|
+
export interface KenyaNidInput {
|
|
18
|
+
/**
|
|
19
|
+
* The user's first name as it appears in their National ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof KenyaNidInput
|
|
22
|
+
*/
|
|
23
|
+
firstName: string;
|
|
24
|
+
/**
|
|
25
|
+
* The user's middle name as it appears in their National ID (optional)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof KenyaNidInput
|
|
28
|
+
*/
|
|
29
|
+
middleName?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The user's middle name as it appears in their National ID (optional)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof KenyaNidInput
|
|
34
|
+
*/
|
|
35
|
+
lastName: string;
|
|
36
|
+
/**
|
|
37
|
+
* The user's date of birth, in `YYYY-MM-DD` format
|
|
38
|
+
* @type {Date}
|
|
39
|
+
* @memberof KenyaNidInput
|
|
40
|
+
*/
|
|
41
|
+
dateOfBirth: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The user's gender as it appears in their National ID (e.g., male, female)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof KenyaNidInput
|
|
46
|
+
*/
|
|
47
|
+
gender: string;
|
|
48
|
+
/**
|
|
49
|
+
* The user's South Kenya National ID number
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof KenyaNidInput
|
|
52
|
+
*/
|
|
53
|
+
nationalIdNumber: string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the KenyaNidInput interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfKenyaNidInput(value: object): value is KenyaNidInput;
|
|
59
|
+
export declare function KenyaNidInputFromJSON(json: any): KenyaNidInput;
|
|
60
|
+
export declare function KenyaNidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): KenyaNidInput;
|
|
61
|
+
export declare function KenyaNidInputToJSON(value?: KenyaNidInput | null): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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.instanceOfKenyaNidInput = instanceOfKenyaNidInput;
|
|
17
|
+
exports.KenyaNidInputFromJSON = KenyaNidInputFromJSON;
|
|
18
|
+
exports.KenyaNidInputFromJSONTyped = KenyaNidInputFromJSONTyped;
|
|
19
|
+
exports.KenyaNidInputToJSON = KenyaNidInputToJSON;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the KenyaNidInput interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfKenyaNidInput(value) {
|
|
24
|
+
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('dateOfBirth' in value) || value['dateOfBirth'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('gender' in value) || value['gender'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('nationalIdNumber' in value) || value['nationalIdNumber'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function KenyaNidInputFromJSON(json) {
|
|
37
|
+
return KenyaNidInputFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function KenyaNidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'firstName': json['firstName'],
|
|
45
|
+
'middleName': json['middleName'] == null ? undefined : json['middleName'],
|
|
46
|
+
'lastName': json['lastName'],
|
|
47
|
+
'dateOfBirth': (new Date(json['dateOfBirth'])),
|
|
48
|
+
'gender': json['gender'],
|
|
49
|
+
'nationalIdNumber': json['nationalIdNumber'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function KenyaNidInputToJSON(value) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'firstName': value['firstName'],
|
|
58
|
+
'middleName': value['middleName'],
|
|
59
|
+
'lastName': value['lastName'],
|
|
60
|
+
'dateOfBirth': ((value['dateOfBirth']).toISOString().substring(0, 10)),
|
|
61
|
+
'gender': value['gender'],
|
|
62
|
+
'nationalIdNumber': value['nationalIdNumber'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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
|
|
@@ -20,43 +20,50 @@ export interface KnownAddress {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof KnownAddress
|
|
22
22
|
*/
|
|
23
|
-
line1?: string;
|
|
23
|
+
line1?: string | null;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof KnownAddress
|
|
28
28
|
*/
|
|
29
|
-
line2?: string;
|
|
29
|
+
line2?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof KnownAddress
|
|
34
34
|
*/
|
|
35
|
-
line3?: string;
|
|
35
|
+
line3?: string | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof KnownAddress
|
|
40
40
|
*/
|
|
41
|
-
city?: string;
|
|
41
|
+
city?: string | null;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof KnownAddress
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
subdivision?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Deprecated. Use `Subdivision` instead.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof KnownAddress
|
|
52
|
+
* @deprecated
|
|
53
|
+
*/
|
|
54
|
+
state?: string | null;
|
|
48
55
|
/**
|
|
49
56
|
*
|
|
50
57
|
* @type {string}
|
|
51
58
|
* @memberof KnownAddress
|
|
52
59
|
*/
|
|
53
|
-
postalCode?: string;
|
|
60
|
+
postalCode?: string | null;
|
|
54
61
|
/**
|
|
55
62
|
*
|
|
56
63
|
* @type {string}
|
|
57
64
|
* @memberof KnownAddress
|
|
58
65
|
*/
|
|
59
|
-
country?: string;
|
|
66
|
+
country?: string | null;
|
|
60
67
|
}
|
|
61
68
|
/**
|
|
62
69
|
* Check if a given object implements the KnownAddress interface.
|