@trinsic/api 2.0.0-alpha3 → 2.0.1
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 +13 -3
- package/.openapi-generator/VERSION +1 -1
- package/README.md +1 -1
- package/dist/apis/AttachmentsApi.d.ts +4 -4
- package/dist/apis/AttachmentsApi.js +2 -2
- package/dist/apis/NetworkApi.d.ts +28 -5
- package/dist/apis/NetworkApi.js +36 -2
- package/dist/apis/SessionsApi.d.ts +8 -8
- package/dist/apis/SessionsApi.js +4 -4
- package/dist/apis/WellKnownApi.d.ts +41 -0
- package/dist/apis/WellKnownApi.js +61 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AttachmentsApi.d.ts +4 -4
- package/dist/esm/apis/AttachmentsApi.js +2 -2
- package/dist/esm/apis/NetworkApi.d.ts +28 -5
- package/dist/esm/apis/NetworkApi.js +37 -3
- package/dist/esm/apis/SessionsApi.d.ts +8 -8
- package/dist/esm/apis/SessionsApi.js +4 -4
- package/dist/esm/apis/WellKnownApi.d.ts +41 -0
- package/dist/esm/apis/WellKnownApi.js +57 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AadhaarInput.d.ts +2 -1
- package/dist/esm/models/AadhaarInput.js +4 -1
- package/dist/esm/models/Address.d.ts +2 -1
- package/dist/esm/models/Address.js +4 -1
- package/dist/esm/models/AttachmentAccessKeys.d.ts +2 -1
- package/dist/esm/models/AttachmentAccessKeys.js +4 -1
- package/dist/esm/models/BangladeshNationalIdInput.d.ts +2 -1
- package/dist/esm/models/BangladeshNationalIdInput.js +4 -1
- package/dist/esm/models/BrazilCpfCheckInput.d.ts +2 -1
- package/dist/esm/models/BrazilCpfCheckInput.js +4 -1
- package/dist/esm/models/BrazilDigitalCnhInput.d.ts +2 -1
- package/dist/esm/models/BrazilDigitalCnhInput.js +4 -1
- package/dist/esm/models/CancelSessionResponse.d.ts +2 -1
- package/dist/esm/models/CancelSessionResponse.js +4 -1
- package/dist/esm/models/CreateAdvancedProviderSessionRequest.d.ts +2 -1
- package/dist/esm/models/CreateAdvancedProviderSessionRequest.js +4 -1
- package/dist/esm/models/CreateAdvancedProviderSessionResponse.d.ts +2 -1
- package/dist/esm/models/CreateAdvancedProviderSessionResponse.js +4 -1
- package/dist/esm/models/CreateHostedProviderSessionRequest.d.ts +2 -1
- package/dist/esm/models/CreateHostedProviderSessionRequest.js +4 -1
- package/dist/esm/models/CreateHostedProviderSessionResponse.d.ts +15 -2
- package/dist/esm/models/CreateHostedProviderSessionResponse.js +11 -2
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +8 -6
- package/dist/esm/models/CreateWidgetSessionRequest.js +7 -4
- package/dist/esm/models/CreateWidgetSessionResponse.d.ts +15 -2
- package/dist/esm/models/CreateWidgetSessionResponse.js +11 -2
- package/dist/esm/models/DocumentData.d.ts +2 -1
- package/dist/esm/models/DocumentData.js +4 -1
- package/dist/esm/models/DocumentScanAttachments.d.ts +2 -1
- package/dist/esm/models/DocumentScanAttachments.js +4 -1
- package/dist/esm/models/DocumentType.d.ts +1 -0
- package/dist/esm/models/DocumentType.js +3 -0
- package/dist/esm/models/GetAttachmentRequest.d.ts +2 -1
- package/dist/esm/models/GetAttachmentRequest.js +4 -1
- package/dist/esm/models/GetAttachmentResponse.d.ts +2 -1
- package/dist/esm/models/GetAttachmentResponse.js +4 -1
- package/dist/esm/models/GetSessionResponse.d.ts +2 -1
- package/dist/esm/models/GetSessionResponse.js +4 -1
- package/dist/esm/models/GetSessionResultRequest.d.ts +2 -1
- package/dist/esm/models/GetSessionResultRequest.js +4 -1
- package/dist/esm/models/GetSessionResultResponse.d.ts +2 -1
- package/dist/esm/models/GetSessionResultResponse.js +4 -1
- package/dist/esm/models/HttpValidationProblemDetails.d.ts +2 -1
- package/dist/esm/models/HttpValidationProblemDetails.js +4 -1
- package/dist/esm/models/IdentityData.d.ts +8 -1
- package/dist/esm/models/IdentityData.js +6 -1
- package/dist/esm/models/IdinInput.d.ts +34 -0
- package/dist/esm/models/IdinInput.js +41 -0
- package/dist/esm/models/IndonesiaNikInput.d.ts +2 -1
- package/dist/esm/models/IndonesiaNikInput.js +4 -1
- package/dist/esm/models/IntegrationCapability.d.ts +1 -0
- package/dist/esm/models/IntegrationCapability.js +3 -0
- package/dist/esm/models/IntegrationLaunchMethod.d.ts +2 -1
- package/dist/esm/models/IntegrationLaunchMethod.js +4 -1
- package/dist/esm/models/IntegrationStep.d.ts +3 -2
- package/dist/esm/models/IntegrationStep.js +5 -4
- package/dist/esm/models/KenyaNidInput.d.ts +2 -1
- package/dist/esm/models/KenyaNidInput.js +4 -1
- package/dist/esm/models/Language.d.ts +27 -0
- package/dist/esm/models/Language.js +45 -0
- package/dist/esm/models/ListProviderContractsResponse.d.ts +33 -0
- package/dist/esm/models/ListProviderContractsResponse.js +44 -0
- package/dist/esm/models/ListProvidersResponse.d.ts +2 -1
- package/dist/esm/models/ListProvidersResponse.js +4 -1
- package/dist/esm/models/ListSessionsResponse.d.ts +2 -1
- package/dist/esm/models/ListSessionsResponse.js +4 -1
- package/dist/esm/models/MexicoCurpInput.d.ts +2 -1
- package/dist/esm/models/MexicoCurpInput.js +4 -1
- package/dist/esm/models/MobileIdInput.d.ts +45 -0
- package/dist/esm/models/MobileIdInput.js +46 -0
- package/dist/esm/models/NigeriaNinInput.d.ts +2 -1
- package/dist/esm/models/NigeriaNinInput.js +4 -1
- package/dist/esm/models/OrderDirection.d.ts +1 -0
- package/dist/esm/models/OrderDirection.js +3 -0
- package/dist/esm/models/PersonData.d.ts +2 -1
- package/dist/esm/models/PersonData.js +4 -1
- package/dist/esm/models/PhilippineMatchInput.d.ts +2 -1
- package/dist/esm/models/PhilippineMatchInput.js +4 -1
- package/dist/esm/models/PhilippineQRInput.d.ts +2 -1
- package/dist/esm/models/PhilippineQRInput.js +4 -1
- package/dist/esm/models/ProblemDetails.d.ts +2 -1
- package/dist/esm/models/ProblemDetails.js +4 -1
- package/dist/esm/models/ProviderAttachments.d.ts +2 -1
- package/dist/esm/models/ProviderAttachments.js +4 -1
- package/dist/esm/models/ProviderContract.d.ts +155 -0
- package/dist/esm/models/ProviderContract.js +105 -0
- package/dist/esm/models/ProviderHealth.d.ts +25 -0
- package/dist/esm/models/ProviderHealth.js +43 -0
- package/dist/esm/models/ProviderInfo.d.ts +2 -7
- package/dist/esm/models/ProviderInfo.js +4 -3
- package/dist/esm/models/ProviderInformation.d.ts +5 -4
- package/dist/esm/models/ProviderInformation.js +5 -6
- package/dist/esm/models/ProviderInput.d.ts +64 -17
- package/dist/esm/models/ProviderInput.js +27 -6
- package/dist/esm/models/RecommendRequest.d.ts +6 -28
- package/dist/esm/models/RecommendRequest.js +7 -11
- package/dist/esm/models/RecommendResponse.d.ts +2 -1
- package/dist/esm/models/RecommendResponse.js +4 -1
- package/dist/esm/models/RecommendationInfo.d.ts +56 -0
- package/dist/esm/models/RecommendationInfo.js +47 -0
- package/dist/esm/models/RefreshStepContentRequest.d.ts +2 -1
- package/dist/esm/models/RefreshStepContentRequest.js +4 -1
- package/dist/esm/models/RefreshStepContentResponse.d.ts +2 -1
- package/dist/esm/models/RefreshStepContentResponse.js +4 -1
- package/dist/esm/models/ResultCollection.d.ts +10 -3
- package/dist/esm/models/ResultCollection.js +7 -2
- package/dist/esm/models/ResultCollectionMethod.d.ts +1 -0
- package/dist/esm/models/ResultCollectionMethod.js +3 -0
- package/dist/esm/models/Session.d.ts +2 -1
- package/dist/esm/models/Session.js +4 -1
- package/dist/esm/models/SessionErrorCode.d.ts +1 -0
- package/dist/esm/models/SessionErrorCode.js +3 -0
- package/dist/esm/models/SessionOrdering.d.ts +1 -0
- package/dist/esm/models/SessionOrdering.js +3 -0
- package/dist/esm/models/Sex.d.ts +1 -0
- package/dist/esm/models/Sex.js +3 -0
- package/dist/esm/models/SmartIdInput.d.ts +32 -0
- package/dist/esm/models/SmartIdInput.js +41 -0
- package/dist/esm/models/SouthAfricaNidInput.d.ts +2 -1
- package/dist/esm/models/SouthAfricaNidInput.js +4 -1
- package/dist/esm/models/SpidInput.d.ts +34 -0
- package/dist/esm/models/SpidInput.js +41 -0
- package/dist/esm/models/StepRefreshInfo.d.ts +2 -1
- package/dist/esm/models/StepRefreshInfo.js +4 -1
- package/dist/esm/models/SubProviderMetadata.d.ts +55 -0
- package/dist/esm/models/SubProviderMetadata.js +55 -0
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +67 -0
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +47 -0
- package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +36 -0
- package/dist/esm/models/TrinsicTestSubProvidersInput.js +41 -0
- package/dist/esm/models/index.d.ts +12 -3
- package/dist/esm/models/index.js +12 -3
- package/dist/esm/runtime.d.ts +4 -1
- package/dist/esm/runtime.js +9 -1
- package/dist/models/AadhaarInput.d.ts +2 -1
- package/dist/models/AadhaarInput.js +5 -1
- package/dist/models/Address.d.ts +2 -1
- package/dist/models/Address.js +5 -1
- package/dist/models/AttachmentAccessKeys.d.ts +2 -1
- package/dist/models/AttachmentAccessKeys.js +5 -1
- package/dist/models/BangladeshNationalIdInput.d.ts +2 -1
- package/dist/models/BangladeshNationalIdInput.js +5 -1
- package/dist/models/BrazilCpfCheckInput.d.ts +2 -1
- package/dist/models/BrazilCpfCheckInput.js +5 -1
- package/dist/models/BrazilDigitalCnhInput.d.ts +2 -1
- package/dist/models/BrazilDigitalCnhInput.js +5 -1
- package/dist/models/CancelSessionResponse.d.ts +2 -1
- package/dist/models/CancelSessionResponse.js +5 -1
- package/dist/models/CreateAdvancedProviderSessionRequest.d.ts +2 -1
- package/dist/models/CreateAdvancedProviderSessionRequest.js +5 -1
- package/dist/models/CreateAdvancedProviderSessionResponse.d.ts +2 -1
- package/dist/models/CreateAdvancedProviderSessionResponse.js +5 -1
- package/dist/models/CreateHostedProviderSessionRequest.d.ts +2 -1
- package/dist/models/CreateHostedProviderSessionRequest.js +5 -1
- package/dist/models/CreateHostedProviderSessionResponse.d.ts +15 -2
- package/dist/models/CreateHostedProviderSessionResponse.js +12 -2
- package/dist/models/CreateWidgetSessionRequest.d.ts +8 -6
- package/dist/models/CreateWidgetSessionRequest.js +8 -4
- package/dist/models/CreateWidgetSessionResponse.d.ts +15 -2
- package/dist/models/CreateWidgetSessionResponse.js +12 -2
- package/dist/models/DocumentData.d.ts +2 -1
- package/dist/models/DocumentData.js +5 -1
- package/dist/models/DocumentScanAttachments.d.ts +2 -1
- package/dist/models/DocumentScanAttachments.js +5 -1
- package/dist/models/DocumentType.d.ts +1 -0
- package/dist/models/DocumentType.js +4 -0
- package/dist/models/GetAttachmentRequest.d.ts +2 -1
- package/dist/models/GetAttachmentRequest.js +5 -1
- package/dist/models/GetAttachmentResponse.d.ts +2 -1
- package/dist/models/GetAttachmentResponse.js +5 -1
- package/dist/models/GetSessionResponse.d.ts +2 -1
- package/dist/models/GetSessionResponse.js +5 -1
- package/dist/models/GetSessionResultRequest.d.ts +2 -1
- package/dist/models/GetSessionResultRequest.js +5 -1
- package/dist/models/GetSessionResultResponse.d.ts +2 -1
- package/dist/models/GetSessionResultResponse.js +5 -1
- package/dist/models/HttpValidationProblemDetails.d.ts +2 -1
- package/dist/models/HttpValidationProblemDetails.js +5 -1
- package/dist/models/IdentityData.d.ts +8 -1
- package/dist/models/IdentityData.js +7 -1
- package/dist/models/IdinInput.d.ts +34 -0
- package/dist/models/IdinInput.js +48 -0
- package/dist/models/IndonesiaNikInput.d.ts +2 -1
- package/dist/models/IndonesiaNikInput.js +5 -1
- package/dist/models/IntegrationCapability.d.ts +1 -0
- package/dist/models/IntegrationCapability.js +4 -0
- package/dist/models/IntegrationLaunchMethod.d.ts +2 -1
- package/dist/models/IntegrationLaunchMethod.js +5 -1
- package/dist/models/IntegrationStep.d.ts +3 -2
- package/dist/models/IntegrationStep.js +6 -4
- package/dist/models/KenyaNidInput.d.ts +2 -1
- package/dist/models/KenyaNidInput.js +5 -1
- package/dist/models/Language.d.ts +27 -0
- package/dist/models/Language.js +53 -0
- package/dist/models/ListProviderContractsResponse.d.ts +33 -0
- package/dist/models/ListProviderContractsResponse.js +51 -0
- package/dist/models/ListProvidersResponse.d.ts +2 -1
- package/dist/models/ListProvidersResponse.js +5 -1
- package/dist/models/ListSessionsResponse.d.ts +2 -1
- package/dist/models/ListSessionsResponse.js +5 -1
- package/dist/models/MexicoCurpInput.d.ts +2 -1
- package/dist/models/MexicoCurpInput.js +5 -1
- package/dist/models/MobileIdInput.d.ts +45 -0
- package/dist/models/MobileIdInput.js +53 -0
- package/dist/models/NigeriaNinInput.d.ts +2 -1
- package/dist/models/NigeriaNinInput.js +5 -1
- package/dist/models/OrderDirection.d.ts +1 -0
- package/dist/models/OrderDirection.js +4 -0
- package/dist/models/PersonData.d.ts +2 -1
- package/dist/models/PersonData.js +5 -1
- package/dist/models/PhilippineMatchInput.d.ts +2 -1
- package/dist/models/PhilippineMatchInput.js +5 -1
- package/dist/models/PhilippineQRInput.d.ts +2 -1
- package/dist/models/PhilippineQRInput.js +5 -1
- package/dist/models/ProblemDetails.d.ts +2 -1
- package/dist/models/ProblemDetails.js +5 -1
- package/dist/models/ProviderAttachments.d.ts +2 -1
- package/dist/models/ProviderAttachments.js +5 -1
- package/dist/models/ProviderContract.d.ts +155 -0
- package/dist/models/ProviderContract.js +112 -0
- package/dist/models/ProviderHealth.d.ts +25 -0
- package/dist/models/ProviderHealth.js +51 -0
- package/dist/models/ProviderInfo.d.ts +2 -7
- package/dist/models/ProviderInfo.js +5 -3
- package/dist/models/ProviderInformation.d.ts +5 -4
- package/dist/models/ProviderInformation.js +6 -6
- package/dist/models/ProviderInput.d.ts +64 -17
- package/dist/models/ProviderInput.js +28 -6
- package/dist/models/RecommendRequest.d.ts +6 -28
- package/dist/models/RecommendRequest.js +8 -11
- package/dist/models/RecommendResponse.d.ts +2 -1
- package/dist/models/RecommendResponse.js +5 -1
- package/dist/models/RecommendationInfo.d.ts +56 -0
- package/dist/models/RecommendationInfo.js +54 -0
- package/dist/models/RefreshStepContentRequest.d.ts +2 -1
- package/dist/models/RefreshStepContentRequest.js +5 -1
- package/dist/models/RefreshStepContentResponse.d.ts +2 -1
- package/dist/models/RefreshStepContentResponse.js +5 -1
- package/dist/models/ResultCollection.d.ts +10 -3
- package/dist/models/ResultCollection.js +8 -2
- package/dist/models/ResultCollectionMethod.d.ts +1 -0
- package/dist/models/ResultCollectionMethod.js +4 -0
- package/dist/models/Session.d.ts +2 -1
- package/dist/models/Session.js +5 -1
- package/dist/models/SessionErrorCode.d.ts +1 -0
- package/dist/models/SessionErrorCode.js +4 -0
- package/dist/models/SessionOrdering.d.ts +1 -0
- package/dist/models/SessionOrdering.js +4 -0
- package/dist/models/Sex.d.ts +1 -0
- package/dist/models/Sex.js +4 -0
- package/dist/models/SmartIdInput.d.ts +32 -0
- package/dist/models/SmartIdInput.js +48 -0
- package/dist/models/SouthAfricaNidInput.d.ts +2 -1
- package/dist/models/SouthAfricaNidInput.js +5 -1
- package/dist/models/SpidInput.d.ts +34 -0
- package/dist/models/SpidInput.js +48 -0
- package/dist/models/StepRefreshInfo.d.ts +2 -1
- package/dist/models/StepRefreshInfo.js +5 -1
- package/dist/models/SubProviderMetadata.d.ts +55 -0
- package/dist/models/SubProviderMetadata.js +62 -0
- package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +67 -0
- package/dist/models/TrinsicTestDatabaseLookupInput.js +54 -0
- package/dist/models/TrinsicTestSubProvidersInput.d.ts +36 -0
- package/dist/models/TrinsicTestSubProvidersInput.js +48 -0
- package/dist/models/index.d.ts +12 -3
- package/dist/models/index.js +12 -3
- package/dist/runtime.d.ts +4 -1
- package/dist/runtime.js +10 -1
- package/package.json +1 -1
- package/src/apis/AttachmentsApi.ts +4 -4
- package/src/apis/NetworkApi.ts +58 -4
- package/src/apis/SessionsApi.ts +8 -8
- package/src/apis/WellKnownApi.ts +82 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AadhaarInput.ts +6 -1
- package/src/models/Address.ts +6 -1
- package/src/models/AttachmentAccessKeys.ts +7 -1
- package/src/models/BangladeshNationalIdInput.ts +6 -1
- package/src/models/BrazilCpfCheckInput.ts +6 -1
- package/src/models/BrazilDigitalCnhInput.ts +14 -9
- package/src/models/CancelSessionResponse.ts +7 -1
- package/src/models/CreateAdvancedProviderSessionRequest.ts +34 -27
- package/src/models/CreateAdvancedProviderSessionResponse.ts +8 -1
- package/src/models/CreateHostedProviderSessionRequest.ts +7 -1
- package/src/models/CreateHostedProviderSessionResponse.ts +30 -9
- package/src/models/CreateWidgetSessionRequest.ts +23 -16
- package/src/models/CreateWidgetSessionResponse.ts +28 -7
- package/src/models/DocumentData.ts +7 -1
- package/src/models/DocumentScanAttachments.ts +6 -1
- package/src/models/DocumentType.ts +4 -0
- package/src/models/GetAttachmentRequest.ts +6 -1
- package/src/models/GetAttachmentResponse.ts +6 -1
- package/src/models/GetSessionResponse.ts +7 -1
- package/src/models/GetSessionResultRequest.ts +6 -1
- package/src/models/GetSessionResultResponse.ts +8 -1
- package/src/models/HttpValidationProblemDetails.ts +6 -1
- package/src/models/IdentityData.ts +17 -1
- package/src/models/IdinInput.ts +67 -0
- package/src/models/IndonesiaNikInput.ts +6 -1
- package/src/models/IntegrationCapability.ts +4 -0
- package/src/models/IntegrationLaunchMethod.ts +5 -1
- package/src/models/IntegrationStep.ts +10 -4
- package/src/models/KenyaNidInput.ts +6 -1
- package/src/models/Language.ts +55 -0
- package/src/models/ListProviderContractsResponse.ts +74 -0
- package/src/models/ListProvidersResponse.ts +7 -1
- package/src/models/ListSessionsResponse.ts +7 -1
- package/src/models/MexicoCurpInput.ts +6 -1
- package/src/models/MobileIdInput.ts +91 -0
- package/src/models/NigeriaNinInput.ts +6 -1
- package/src/models/OrderDirection.ts +4 -0
- package/src/models/PersonData.ts +8 -1
- package/src/models/PhilippineMatchInput.ts +6 -1
- package/src/models/PhilippineQRInput.ts +6 -1
- package/src/models/ProblemDetails.ts +6 -1
- package/src/models/ProviderAttachments.ts +7 -1
- package/src/models/ProviderContract.ts +260 -0
- package/src/models/ProviderHealth.ts +53 -0
- package/src/models/ProviderInfo.ts +6 -9
- package/src/models/ProviderInformation.ts +9 -7
- package/src/models/ProviderInput.ts +151 -41
- package/src/models/RecommendRequest.ts +19 -38
- package/src/models/RecommendResponse.ts +7 -1
- package/src/models/RecommendationInfo.ts +95 -0
- package/src/models/RefreshStepContentRequest.ts +6 -1
- package/src/models/RefreshStepContentResponse.ts +7 -1
- package/src/models/ResultCollection.ts +17 -4
- package/src/models/ResultCollectionMethod.ts +4 -0
- package/src/models/Session.ts +14 -8
- package/src/models/SessionErrorCode.ts +4 -0
- package/src/models/SessionOrdering.ts +4 -0
- package/src/models/Sex.ts +4 -0
- package/src/models/SmartIdInput.ts +65 -0
- package/src/models/SouthAfricaNidInput.ts +6 -1
- package/src/models/SpidInput.ts +67 -0
- package/src/models/StepRefreshInfo.ts +8 -3
- package/src/models/SubProviderMetadata.ts +98 -0
- package/src/models/TrinsicTestDatabaseLookupInput.ts +106 -0
- package/src/models/TrinsicTestSubProvidersInput.ts +69 -0
- package/src/models/index.ts +12 -3
- package/src/runtime.ts +10 -4
- package/dist/esm/models/KnownAddress.d.ts +0 -74
- package/dist/esm/models/KnownAddress.js +0 -52
- package/dist/esm/models/KnownIdentityData.d.ts +0 -34
- package/dist/esm/models/KnownIdentityData.js +0 -39
- package/dist/esm/models/KnownPersonData.d.ts +0 -74
- package/dist/esm/models/KnownPersonData.js +0 -53
- package/dist/models/KnownAddress.d.ts +0 -74
- package/dist/models/KnownAddress.js +0 -58
- package/dist/models/KnownIdentityData.d.ts +0 -34
- package/dist/models/KnownIdentityData.js +0 -45
- package/dist/models/KnownPersonData.d.ts +0 -74
- package/dist/models/KnownPersonData.js +0 -59
- package/src/models/KnownAddress.ts +0 -117
- package/src/models/KnownIdentityData.ts +0 -69
- package/src/models/KnownPersonData.ts +0 -123
|
@@ -21,14 +21,48 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { ListProvidersResponseFromJSON, RecommendRequestToJSON, RecommendResponseFromJSON, } from '../models/index';
|
|
24
|
+
import { ListProviderContractsResponseFromJSON, ListProvidersResponseFromJSON, RecommendRequestToJSON, RecommendResponseFromJSON, } from '../models/index';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
28
28
|
export class NetworkApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
|
|
31
|
+
* List Provider Contracts
|
|
32
|
+
*/
|
|
33
|
+
listProviderContractsRaw(initOverrides) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
const queryParameters = {};
|
|
36
|
+
const headerParameters = {};
|
|
37
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
38
|
+
const token = this.configuration.accessToken;
|
|
39
|
+
const tokenString = yield token("Bearer", []);
|
|
40
|
+
if (tokenString) {
|
|
41
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const response = yield this.request({
|
|
45
|
+
path: `/api/v1/network/providers/contracts`,
|
|
46
|
+
method: 'GET',
|
|
47
|
+
headers: headerParameters,
|
|
48
|
+
query: queryParameters,
|
|
49
|
+
}, initOverrides);
|
|
50
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ListProviderContractsResponseFromJSON(jsonValue));
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* List the contracts for all Providers available to your App. If your App is in test mode, this call will only return Providers available in test mode. If your App is not in test mode, this call will only return Providers available in production.
|
|
55
|
+
* List Provider Contracts
|
|
56
|
+
*/
|
|
57
|
+
listProviderContracts(initOverrides) {
|
|
58
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
59
|
+
const response = yield this.listProviderContractsRaw(initOverrides);
|
|
60
|
+
return yield response.value();
|
|
61
|
+
});
|
|
62
|
+
}
|
|
29
63
|
/**
|
|
30
64
|
* List all identity providers available for use
|
|
31
|
-
* List
|
|
65
|
+
* List Providers
|
|
32
66
|
*/
|
|
33
67
|
listProvidersRaw(initOverrides) {
|
|
34
68
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -52,7 +86,7 @@ export class NetworkApi extends runtime.BaseAPI {
|
|
|
52
86
|
}
|
|
53
87
|
/**
|
|
54
88
|
* List all identity providers available for use
|
|
55
|
-
* List
|
|
89
|
+
* List Providers
|
|
56
90
|
*/
|
|
57
91
|
listProviders(initOverrides) {
|
|
58
92
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -65,7 +65,7 @@ export interface SessionsApiInterface {
|
|
|
65
65
|
*/
|
|
66
66
|
cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
|
|
67
67
|
/**
|
|
68
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
68
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
69
69
|
* @summary Create Advanced Provider Session
|
|
70
70
|
* @param {CreateAdvancedProviderSessionRequest} [createAdvancedProviderSessionRequest]
|
|
71
71
|
* @param {*} [options] Override http request option.
|
|
@@ -74,7 +74,7 @@ export interface SessionsApiInterface {
|
|
|
74
74
|
*/
|
|
75
75
|
createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
|
|
76
76
|
/**
|
|
77
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
77
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
78
78
|
* Create Advanced Provider Session
|
|
79
79
|
*/
|
|
80
80
|
createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
|
|
@@ -152,7 +152,7 @@ export interface SessionsApiInterface {
|
|
|
152
152
|
*/
|
|
153
153
|
listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
154
154
|
/**
|
|
155
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
155
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
156
156
|
* @summary Redact Session
|
|
157
157
|
* @param {string} sessionId
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
@@ -161,7 +161,7 @@ export interface SessionsApiInterface {
|
|
|
161
161
|
*/
|
|
162
162
|
redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
163
163
|
/**
|
|
164
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
164
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
165
165
|
* Redact Session
|
|
166
166
|
*/
|
|
167
167
|
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -196,12 +196,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
|
|
|
196
196
|
*/
|
|
197
197
|
cancelSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CancelSessionResponse>;
|
|
198
198
|
/**
|
|
199
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
199
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
200
200
|
* Create Advanced Provider Session
|
|
201
201
|
*/
|
|
202
202
|
createAdvancedProviderSessionRaw(requestParameters: CreateAdvancedProviderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateAdvancedProviderSessionResponse>>;
|
|
203
203
|
/**
|
|
204
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
204
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
205
205
|
* Create Advanced Provider Session
|
|
206
206
|
*/
|
|
207
207
|
createAdvancedProviderSession(createAdvancedProviderSessionRequest?: CreateAdvancedProviderSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateAdvancedProviderSessionResponse>;
|
|
@@ -254,12 +254,12 @@ export declare class SessionsApi extends runtime.BaseAPI implements SessionsApiI
|
|
|
254
254
|
*/
|
|
255
255
|
listSessions(orderBy?: SessionOrdering, orderDirection?: OrderDirection, pageSize?: number, page?: number, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListSessionsResponse>;
|
|
256
256
|
/**
|
|
257
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
257
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
258
258
|
* Redact Session
|
|
259
259
|
*/
|
|
260
260
|
redactSessionRaw(requestParameters: RedactSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
261
261
|
/**
|
|
262
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
262
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
263
263
|
* Redact Session
|
|
264
264
|
*/
|
|
265
265
|
redactSession(sessionId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
@@ -64,7 +64,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
67
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
68
68
|
* Create Advanced Provider Session
|
|
69
69
|
*/
|
|
70
70
|
createAdvancedProviderSessionRaw(requestParameters, initOverrides) {
|
|
@@ -90,7 +90,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
90
90
|
});
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI.
|
|
93
|
+
* Verify a user\'s identity with a specific provider, handling additional user interaction in your own UI. Signal which kinds of user interactions your UI can handle using the `Capabilities` field. If `FallbackToHostedUi` is `true`, Trinsic\'s hosted UI will automatically be invoked to handle any capabilities you do not support.
|
|
94
94
|
* Create Advanced Provider Session
|
|
95
95
|
*/
|
|
96
96
|
createAdvancedProviderSession(createAdvancedProviderSessionRequest, initOverrides) {
|
|
@@ -292,7 +292,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
292
292
|
});
|
|
293
293
|
}
|
|
294
294
|
/**
|
|
295
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
295
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
296
296
|
* Redact Session
|
|
297
297
|
*/
|
|
298
298
|
redactSessionRaw(requestParameters, initOverrides) {
|
|
@@ -319,7 +319,7 @@ export class SessionsApi extends runtime.BaseAPI {
|
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
321
|
/**
|
|
322
|
-
* Redact a Session, removing all identity data from Trinsic\'s servers.
|
|
322
|
+
* Redact a Session, removing all identity data from Trinsic\'s servers. Every application has a redaction period that dictates how long we will hold on to your users\' PII data. Once a session falls outside the redaction cutoff date, all PII will automatically be removed from that session. You can utilize this endpoint to redact a session immediately. Identity data that a user has chosen to save in their passkey-protected wallet will not be deleted.
|
|
323
323
|
* Redact Session
|
|
324
324
|
*/
|
|
325
325
|
redactSession(sessionId, initOverrides) {
|
|
@@ -0,0 +1,41 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
/**
|
|
14
|
+
* WellKnownApi - interface
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WellKnownApiInterface
|
|
18
|
+
*/
|
|
19
|
+
export interface WellKnownApiInterface {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @param {*} [options] Override http request option.
|
|
23
|
+
* @throws {RequiredError}
|
|
24
|
+
* @memberof WellKnownApiInterface
|
|
25
|
+
*/
|
|
26
|
+
interacJwkRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
27
|
+
/**
|
|
28
|
+
*/
|
|
29
|
+
interacJwk(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare class WellKnownApi extends runtime.BaseAPI implements WellKnownApiInterface {
|
|
35
|
+
/**
|
|
36
|
+
*/
|
|
37
|
+
interacJwkRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
38
|
+
/**
|
|
39
|
+
*/
|
|
40
|
+
interacJwk(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
|
+
export class WellKnownApi extends runtime.BaseAPI {
|
|
28
|
+
/**
|
|
29
|
+
*/
|
|
30
|
+
interacJwkRaw(initOverrides) {
|
|
31
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
32
|
+
const queryParameters = {};
|
|
33
|
+
const headerParameters = {};
|
|
34
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
35
|
+
const token = this.configuration.accessToken;
|
|
36
|
+
const tokenString = yield token("Bearer", []);
|
|
37
|
+
if (tokenString) {
|
|
38
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
const response = yield this.request({
|
|
42
|
+
path: `/api/integrations/v1/interac/.well-known/jwks.json`,
|
|
43
|
+
method: 'GET',
|
|
44
|
+
headers: headerParameters,
|
|
45
|
+
query: queryParameters,
|
|
46
|
+
}, initOverrides);
|
|
47
|
+
return new runtime.VoidApiResponse(response);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
*/
|
|
52
|
+
interacJwk(initOverrides) {
|
|
53
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
54
|
+
yield this.interacJwkRaw(initOverrides);
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
package/dist/esm/apis/index.js
CHANGED
|
@@ -34,4 +34,5 @@ export interface AadhaarInput {
|
|
|
34
34
|
export declare function instanceOfAadhaarInput(value: object): value is AadhaarInput;
|
|
35
35
|
export declare function AadhaarInputFromJSON(json: any): AadhaarInput;
|
|
36
36
|
export declare function AadhaarInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AadhaarInput;
|
|
37
|
-
export declare function AadhaarInputToJSON(
|
|
37
|
+
export declare function AadhaarInputToJSON(json: any): AadhaarInput;
|
|
38
|
+
export declare function AadhaarInputToJSONTyped(value?: AadhaarInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -29,7 +29,10 @@ export function AadhaarInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
export function AadhaarInputToJSON(
|
|
32
|
+
export function AadhaarInputToJSON(json) {
|
|
33
|
+
return AadhaarInputToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function AadhaarInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
36
|
if (value == null) {
|
|
34
37
|
return value;
|
|
35
38
|
}
|
|
@@ -70,4 +70,5 @@ export interface Address {
|
|
|
70
70
|
export declare function instanceOfAddress(value: object): value is Address;
|
|
71
71
|
export declare function AddressFromJSON(json: any): Address;
|
|
72
72
|
export declare function AddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): Address;
|
|
73
|
-
export declare function AddressToJSON(
|
|
73
|
+
export declare function AddressToJSON(json: any): Address;
|
|
74
|
+
export declare function AddressToJSONTyped(value?: Address | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,7 +35,10 @@ export function AddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'fullAddress': json['fullAddress'] == null ? undefined : json['fullAddress'],
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
export function AddressToJSON(
|
|
38
|
+
export function AddressToJSON(json) {
|
|
39
|
+
return AddressToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function AddressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
42
|
if (value == null) {
|
|
40
43
|
return value;
|
|
41
44
|
}
|
|
@@ -53,4 +53,5 @@ export interface AttachmentAccessKeys {
|
|
|
53
53
|
export declare function instanceOfAttachmentAccessKeys(value: object): value is AttachmentAccessKeys;
|
|
54
54
|
export declare function AttachmentAccessKeysFromJSON(json: any): AttachmentAccessKeys;
|
|
55
55
|
export declare function AttachmentAccessKeysFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachmentAccessKeys;
|
|
56
|
-
export declare function AttachmentAccessKeysToJSON(
|
|
56
|
+
export declare function AttachmentAccessKeysToJSON(json: any): AttachmentAccessKeys;
|
|
57
|
+
export declare function AttachmentAccessKeysToJSONTyped(value?: AttachmentAccessKeys | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,7 +35,10 @@ export function AttachmentAccessKeysFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'provider': ProviderAttachmentsFromJSON(json['provider']),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
export function AttachmentAccessKeysToJSON(
|
|
38
|
+
export function AttachmentAccessKeysToJSON(json) {
|
|
39
|
+
return AttachmentAccessKeysToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function AttachmentAccessKeysToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
42
|
if (value == null) {
|
|
40
43
|
return value;
|
|
41
44
|
}
|
|
@@ -46,4 +46,5 @@ export interface BangladeshNationalIdInput {
|
|
|
46
46
|
export declare function instanceOfBangladeshNationalIdInput(value: object): value is BangladeshNationalIdInput;
|
|
47
47
|
export declare function BangladeshNationalIdInputFromJSON(json: any): BangladeshNationalIdInput;
|
|
48
48
|
export declare function BangladeshNationalIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BangladeshNationalIdInput;
|
|
49
|
-
export declare function BangladeshNationalIdInputToJSON(
|
|
49
|
+
export declare function BangladeshNationalIdInputToJSON(json: any): BangladeshNationalIdInput;
|
|
50
|
+
export declare function BangladeshNationalIdInputToJSONTyped(value?: BangladeshNationalIdInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,7 +31,10 @@ export function BangladeshNationalIdInputFromJSONTyped(json, ignoreDiscriminator
|
|
|
31
31
|
'photoBase64': json['photoBase64'] == null ? undefined : json['photoBase64'],
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function BangladeshNationalIdInputToJSON(
|
|
34
|
+
export function BangladeshNationalIdInputToJSON(json) {
|
|
35
|
+
return BangladeshNationalIdInputToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function BangladeshNationalIdInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|
|
@@ -28,4 +28,5 @@ export interface BrazilCpfCheckInput {
|
|
|
28
28
|
export declare function instanceOfBrazilCpfCheckInput(value: object): value is BrazilCpfCheckInput;
|
|
29
29
|
export declare function BrazilCpfCheckInputFromJSON(json: any): BrazilCpfCheckInput;
|
|
30
30
|
export declare function BrazilCpfCheckInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrazilCpfCheckInput;
|
|
31
|
-
export declare function BrazilCpfCheckInputToJSON(
|
|
31
|
+
export declare function BrazilCpfCheckInputToJSON(json: any): BrazilCpfCheckInput;
|
|
32
|
+
export declare function BrazilCpfCheckInputToJSONTyped(value?: BrazilCpfCheckInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -30,7 +30,10 @@ export function BrazilCpfCheckInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'cpfNumber': json['cpfNumber'],
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
export function BrazilCpfCheckInputToJSON(
|
|
33
|
+
export function BrazilCpfCheckInputToJSON(json) {
|
|
34
|
+
return BrazilCpfCheckInputToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function BrazilCpfCheckInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
34
37
|
if (value == null) {
|
|
35
38
|
return value;
|
|
36
39
|
}
|
|
@@ -54,4 +54,5 @@ export interface BrazilDigitalCnhInput {
|
|
|
54
54
|
export declare function instanceOfBrazilDigitalCnhInput(value: object): value is BrazilDigitalCnhInput;
|
|
55
55
|
export declare function BrazilDigitalCnhInputFromJSON(json: any): BrazilDigitalCnhInput;
|
|
56
56
|
export declare function BrazilDigitalCnhInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BrazilDigitalCnhInput;
|
|
57
|
-
export declare function BrazilDigitalCnhInputToJSON(
|
|
57
|
+
export declare function BrazilDigitalCnhInputToJSON(json: any): BrazilDigitalCnhInput;
|
|
58
|
+
export declare function BrazilDigitalCnhInputToJSONTyped(value?: BrazilDigitalCnhInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -33,7 +33,10 @@ export function BrazilDigitalCnhInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'facialBiometryPhoto': json['facialBiometryPhoto'] == null ? undefined : json['facialBiometryPhoto'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
export function BrazilDigitalCnhInputToJSON(
|
|
36
|
+
export function BrazilDigitalCnhInputToJSON(json) {
|
|
37
|
+
return BrazilDigitalCnhInputToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function BrazilDigitalCnhInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
40
|
if (value == null) {
|
|
38
41
|
return value;
|
|
39
42
|
}
|
|
@@ -29,4 +29,5 @@ export interface CancelSessionResponse {
|
|
|
29
29
|
export declare function instanceOfCancelSessionResponse(value: object): value is CancelSessionResponse;
|
|
30
30
|
export declare function CancelSessionResponseFromJSON(json: any): CancelSessionResponse;
|
|
31
31
|
export declare function CancelSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CancelSessionResponse;
|
|
32
|
-
export declare function CancelSessionResponseToJSON(
|
|
32
|
+
export declare function CancelSessionResponseToJSON(json: any): CancelSessionResponse;
|
|
33
|
+
export declare function CancelSessionResponseToJSONTyped(value?: CancelSessionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,7 +31,10 @@ export function CancelSessionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'session': SessionFromJSON(json['session']),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function CancelSessionResponseToJSON(
|
|
34
|
+
export function CancelSessionResponseToJSON(json) {
|
|
35
|
+
return CancelSessionResponseToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function CancelSessionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|
|
@@ -80,4 +80,5 @@ export interface CreateAdvancedProviderSessionRequest {
|
|
|
80
80
|
export declare function instanceOfCreateAdvancedProviderSessionRequest(value: object): value is CreateAdvancedProviderSessionRequest;
|
|
81
81
|
export declare function CreateAdvancedProviderSessionRequestFromJSON(json: any): CreateAdvancedProviderSessionRequest;
|
|
82
82
|
export declare function CreateAdvancedProviderSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdvancedProviderSessionRequest;
|
|
83
|
-
export declare function CreateAdvancedProviderSessionRequestToJSON(
|
|
83
|
+
export declare function CreateAdvancedProviderSessionRequestToJSON(json: any): CreateAdvancedProviderSessionRequest;
|
|
84
|
+
export declare function CreateAdvancedProviderSessionRequestToJSONTyped(value?: CreateAdvancedProviderSessionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -38,7 +38,10 @@ export function CreateAdvancedProviderSessionRequestFromJSONTyped(json, ignoreDi
|
|
|
38
38
|
'fallbackToHostedUI': json['fallbackToHostedUI'] == null ? undefined : json['fallbackToHostedUI'],
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export function CreateAdvancedProviderSessionRequestToJSON(
|
|
41
|
+
export function CreateAdvancedProviderSessionRequestToJSON(json) {
|
|
42
|
+
return CreateAdvancedProviderSessionRequestToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function CreateAdvancedProviderSessionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
45
|
if (value == null) {
|
|
43
46
|
return value;
|
|
44
47
|
}
|
|
@@ -42,4 +42,5 @@ export interface CreateAdvancedProviderSessionResponse {
|
|
|
42
42
|
export declare function instanceOfCreateAdvancedProviderSessionResponse(value: object): value is CreateAdvancedProviderSessionResponse;
|
|
43
43
|
export declare function CreateAdvancedProviderSessionResponseFromJSON(json: any): CreateAdvancedProviderSessionResponse;
|
|
44
44
|
export declare function CreateAdvancedProviderSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateAdvancedProviderSessionResponse;
|
|
45
|
-
export declare function CreateAdvancedProviderSessionResponseToJSON(
|
|
45
|
+
export declare function CreateAdvancedProviderSessionResponseToJSON(json: any): CreateAdvancedProviderSessionResponse;
|
|
46
|
+
export declare function CreateAdvancedProviderSessionResponseToJSONTyped(value?: CreateAdvancedProviderSessionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -38,7 +38,10 @@ export function CreateAdvancedProviderSessionResponseFromJSONTyped(json, ignoreD
|
|
|
38
38
|
'nextStep': IntegrationStepFromJSON(json['nextStep']),
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
export function CreateAdvancedProviderSessionResponseToJSON(
|
|
41
|
+
export function CreateAdvancedProviderSessionResponseToJSON(json) {
|
|
42
|
+
return CreateAdvancedProviderSessionResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function CreateAdvancedProviderSessionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
45
|
if (value == null) {
|
|
43
46
|
return value;
|
|
44
47
|
}
|
|
@@ -41,4 +41,5 @@ export interface CreateHostedProviderSessionRequest {
|
|
|
41
41
|
export declare function instanceOfCreateHostedProviderSessionRequest(value: object): value is CreateHostedProviderSessionRequest;
|
|
42
42
|
export declare function CreateHostedProviderSessionRequestFromJSON(json: any): CreateHostedProviderSessionRequest;
|
|
43
43
|
export declare function CreateHostedProviderSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateHostedProviderSessionRequest;
|
|
44
|
-
export declare function CreateHostedProviderSessionRequestToJSON(
|
|
44
|
+
export declare function CreateHostedProviderSessionRequestToJSON(json: any): CreateHostedProviderSessionRequest;
|
|
45
|
+
export declare function CreateHostedProviderSessionRequestToJSONTyped(value?: CreateHostedProviderSessionRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -35,7 +35,10 @@ export function CreateHostedProviderSessionRequestFromJSONTyped(json, ignoreDisc
|
|
|
35
35
|
'providerInput': json['providerInput'] == null ? undefined : ProviderInputFromJSON(json['providerInput']),
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
export function CreateHostedProviderSessionRequestToJSON(
|
|
38
|
+
export function CreateHostedProviderSessionRequestToJSON(json) {
|
|
39
|
+
return CreateHostedProviderSessionRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function CreateHostedProviderSessionRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
42
|
if (value == null) {
|
|
40
43
|
return value;
|
|
41
44
|
}
|
|
@@ -32,7 +32,19 @@ export interface CreateHostedProviderSessionResponse {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreateHostedProviderSessionResponse
|
|
34
34
|
*/
|
|
35
|
-
launchUrl
|
|
35
|
+
launchUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
* The `resultsAccessKey` for the Acceptance Session.
|
|
38
|
+
*
|
|
39
|
+
* This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
|
|
40
|
+
*
|
|
41
|
+
* Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
|
|
42
|
+
*
|
|
43
|
+
* Trinsic cannot access a Session's Data Vault without this key.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateHostedProviderSessionResponse
|
|
46
|
+
*/
|
|
47
|
+
resultsAccessKey: string;
|
|
36
48
|
}
|
|
37
49
|
/**
|
|
38
50
|
* Check if a given object implements the CreateHostedProviderSessionResponse interface.
|
|
@@ -40,4 +52,5 @@ export interface CreateHostedProviderSessionResponse {
|
|
|
40
52
|
export declare function instanceOfCreateHostedProviderSessionResponse(value: object): value is CreateHostedProviderSessionResponse;
|
|
41
53
|
export declare function CreateHostedProviderSessionResponseFromJSON(json: any): CreateHostedProviderSessionResponse;
|
|
42
54
|
export declare function CreateHostedProviderSessionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateHostedProviderSessionResponse;
|
|
43
|
-
export declare function CreateHostedProviderSessionResponseToJSON(
|
|
55
|
+
export declare function CreateHostedProviderSessionResponseToJSON(json: any): CreateHostedProviderSessionResponse;
|
|
56
|
+
export declare function CreateHostedProviderSessionResponseToJSONTyped(value?: CreateHostedProviderSessionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
export function instanceOfCreateHostedProviderSessionResponse(value) {
|
|
18
18
|
if (!('sessionId' in value) || value['sessionId'] === undefined)
|
|
19
19
|
return false;
|
|
20
|
+
if (!('launchUrl' in value) || value['launchUrl'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
23
|
+
return false;
|
|
20
24
|
return true;
|
|
21
25
|
}
|
|
22
26
|
export function CreateHostedProviderSessionResponseFromJSON(json) {
|
|
@@ -28,15 +32,20 @@ export function CreateHostedProviderSessionResponseFromJSONTyped(json, ignoreDis
|
|
|
28
32
|
}
|
|
29
33
|
return {
|
|
30
34
|
'sessionId': json['sessionId'],
|
|
31
|
-
'launchUrl': json['launchUrl']
|
|
35
|
+
'launchUrl': json['launchUrl'],
|
|
36
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
32
37
|
};
|
|
33
38
|
}
|
|
34
|
-
export function CreateHostedProviderSessionResponseToJSON(
|
|
39
|
+
export function CreateHostedProviderSessionResponseToJSON(json) {
|
|
40
|
+
return CreateHostedProviderSessionResponseToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function CreateHostedProviderSessionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
43
|
if (value == null) {
|
|
36
44
|
return value;
|
|
37
45
|
}
|
|
38
46
|
return {
|
|
39
47
|
'sessionId': value['sessionId'],
|
|
40
48
|
'launchUrl': value['launchUrl'],
|
|
49
|
+
'resultsAccessKey': value['resultsAccessKey'],
|
|
41
50
|
};
|
|
42
51
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { RecommendationInfo } from './RecommendationInfo';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -32,13 +32,14 @@ export interface CreateWidgetSessionRequest {
|
|
|
32
32
|
*/
|
|
33
33
|
providers?: Array<string> | null;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
* Data that you already know about the user being verified.
|
|
36
36
|
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
37
|
+
*
|
|
38
|
+
* This data is used to improve the user experience during provider selection, by surfacing the most relevant providers first.
|
|
39
|
+
* @type {RecommendationInfo}
|
|
39
40
|
* @memberof CreateWidgetSessionRequest
|
|
40
41
|
*/
|
|
41
|
-
|
|
42
|
+
recommendationInfo?: RecommendationInfo | null;
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
45
|
* Check if a given object implements the CreateWidgetSessionRequest interface.
|
|
@@ -46,4 +47,5 @@ export interface CreateWidgetSessionRequest {
|
|
|
46
47
|
export declare function instanceOfCreateWidgetSessionRequest(value: object): value is CreateWidgetSessionRequest;
|
|
47
48
|
export declare function CreateWidgetSessionRequestFromJSON(json: any): CreateWidgetSessionRequest;
|
|
48
49
|
export declare function CreateWidgetSessionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateWidgetSessionRequest;
|
|
49
|
-
export declare function CreateWidgetSessionRequestToJSON(
|
|
50
|
+
export declare function CreateWidgetSessionRequestToJSON(json: any): CreateWidgetSessionRequest;
|
|
51
|
+
export declare function CreateWidgetSessionRequestToJSONTyped(value?: CreateWidgetSessionRequest | null, ignoreDiscriminator?: boolean): any;
|