@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
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
* The health for an integration to be able to successfully perform a verification session.
|
|
14
|
+
* @export
|
|
15
|
+
*/
|
|
16
|
+
export declare const ProviderHealth: {
|
|
17
|
+
readonly Online: "Online";
|
|
18
|
+
readonly Offline: "Offline";
|
|
19
|
+
};
|
|
20
|
+
export type ProviderHealth = typeof ProviderHealth[keyof typeof ProviderHealth];
|
|
21
|
+
export declare function instanceOfProviderHealth(value: any): boolean;
|
|
22
|
+
export declare function ProviderHealthFromJSON(json: any): ProviderHealth;
|
|
23
|
+
export declare function ProviderHealthFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderHealth;
|
|
24
|
+
export declare function ProviderHealthToJSON(value?: ProviderHealth | null): any;
|
|
25
|
+
export declare function ProviderHealthToJSONTyped(value: any, ignoreDiscriminator: boolean): ProviderHealth;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* The health for an integration to be able to successfully perform a verification session.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ProviderHealth = {
|
|
19
|
+
Online: 'Online',
|
|
20
|
+
Offline: 'Offline'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfProviderHealth(value) {
|
|
23
|
+
for (const key in ProviderHealth) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(ProviderHealth, key)) {
|
|
25
|
+
if (ProviderHealth[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function ProviderHealthFromJSON(json) {
|
|
33
|
+
return ProviderHealthFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ProviderHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function ProviderHealthToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function ProviderHealthToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -33,12 +33,6 @@ export interface ProviderInfo {
|
|
|
33
33
|
* @memberof ProviderInfo
|
|
34
34
|
*/
|
|
35
35
|
logoUrl: string;
|
|
36
|
-
/**
|
|
37
|
-
* List of child provider id's where the provider allows deep-launching of a specific provider.
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof ProviderInfo
|
|
40
|
-
*/
|
|
41
|
-
childProviderIds?: Array<string> | null;
|
|
42
36
|
}
|
|
43
37
|
/**
|
|
44
38
|
* Check if a given object implements the ProviderInfo interface.
|
|
@@ -46,4 +40,5 @@ export interface ProviderInfo {
|
|
|
46
40
|
export declare function instanceOfProviderInfo(value: object): value is ProviderInfo;
|
|
47
41
|
export declare function ProviderInfoFromJSON(json: any): ProviderInfo;
|
|
48
42
|
export declare function ProviderInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInfo;
|
|
49
|
-
export declare function ProviderInfoToJSON(
|
|
43
|
+
export declare function ProviderInfoToJSON(json: any): ProviderInfo;
|
|
44
|
+
export declare function ProviderInfoToJSONTyped(value?: ProviderInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -34,10 +34,12 @@ export function ProviderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'id': json['id'],
|
|
35
35
|
'name': json['name'],
|
|
36
36
|
'logoUrl': json['logoUrl'],
|
|
37
|
-
'childProviderIds': json['childProviderIds'] == null ? undefined : json['childProviderIds'],
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
|
-
export function ProviderInfoToJSON(
|
|
39
|
+
export function ProviderInfoToJSON(json) {
|
|
40
|
+
return ProviderInfoToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ProviderInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
43
|
if (value == null) {
|
|
42
44
|
return value;
|
|
43
45
|
}
|
|
@@ -45,6 +47,5 @@ export function ProviderInfoToJSON(value) {
|
|
|
45
47
|
'id': value['id'],
|
|
46
48
|
'name': value['name'],
|
|
47
49
|
'logoUrl': value['logoUrl'],
|
|
48
|
-
'childProviderIds': value['childProviderIds'],
|
|
49
50
|
};
|
|
50
51
|
}
|
|
@@ -20,19 +20,19 @@ export interface ProviderInformation {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ProviderInformation
|
|
22
22
|
*/
|
|
23
|
-
providerId: string;
|
|
23
|
+
readonly providerId: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof ProviderInformation
|
|
28
28
|
*/
|
|
29
|
-
providerDisplayName: string;
|
|
29
|
+
readonly providerDisplayName: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof ProviderInformation
|
|
34
34
|
*/
|
|
35
|
-
providerLogo: string;
|
|
35
|
+
readonly providerLogo: string;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the ProviderInformation interface.
|
|
@@ -40,4 +40,5 @@ export interface ProviderInformation {
|
|
|
40
40
|
export declare function instanceOfProviderInformation(value: object): value is ProviderInformation;
|
|
41
41
|
export declare function ProviderInformationFromJSON(json: any): ProviderInformation;
|
|
42
42
|
export declare function ProviderInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInformation;
|
|
43
|
-
export declare function ProviderInformationToJSON(
|
|
43
|
+
export declare function ProviderInformationToJSON(json: any): ProviderInformation;
|
|
44
|
+
export declare function ProviderInformationToJSONTyped(value?: Omit<ProviderInformation, 'providerId' | 'providerDisplayName' | 'providerLogo'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -36,13 +36,12 @@ export function ProviderInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'providerLogo': json['providerLogo'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function ProviderInformationToJSON(
|
|
39
|
+
export function ProviderInformationToJSON(json) {
|
|
40
|
+
return ProviderInformationToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ProviderInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
43
|
if (value == null) {
|
|
41
44
|
return value;
|
|
42
45
|
}
|
|
43
|
-
return {
|
|
44
|
-
'providerId': value['providerId'],
|
|
45
|
-
'providerDisplayName': value['providerDisplayName'],
|
|
46
|
-
'providerLogo': value['providerLogo'],
|
|
47
|
-
};
|
|
46
|
+
return {};
|
|
48
47
|
}
|
|
@@ -9,17 +9,23 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
13
12
|
import type { BangladeshNationalIdInput } from './BangladeshNationalIdInput';
|
|
14
|
-
import type { AadhaarInput } from './AadhaarInput';
|
|
15
|
-
import type { KenyaNidInput } from './KenyaNidInput';
|
|
16
|
-
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
17
13
|
import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
|
|
18
14
|
import type { MexicoCurpInput } from './MexicoCurpInput';
|
|
19
15
|
import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
|
|
20
|
-
import type {
|
|
16
|
+
import type { TrinsicTestSubProvidersInput } from './TrinsicTestSubProvidersInput';
|
|
17
|
+
import type { SpidInput } from './SpidInput';
|
|
21
18
|
import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
|
|
22
19
|
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
20
|
+
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
21
|
+
import type { AadhaarInput } from './AadhaarInput';
|
|
22
|
+
import type { KenyaNidInput } from './KenyaNidInput';
|
|
23
|
+
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
24
|
+
import type { SmartIdInput } from './SmartIdInput';
|
|
25
|
+
import type { MobileIdInput } from './MobileIdInput';
|
|
26
|
+
import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
|
|
27
|
+
import type { IndonesiaNikInput } from './IndonesiaNikInput';
|
|
28
|
+
import type { IdinInput } from './IdinInput';
|
|
23
29
|
/**
|
|
24
30
|
*
|
|
25
31
|
* @export
|
|
@@ -27,71 +33,111 @@ import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
|
27
33
|
*/
|
|
28
34
|
export interface ProviderInput {
|
|
29
35
|
/**
|
|
30
|
-
* Input for the `f-indonesia-nik`
|
|
36
|
+
* Input for the `f-indonesia-nik` provider
|
|
31
37
|
* @type {IndonesiaNikInput}
|
|
32
38
|
* @memberof ProviderInput
|
|
33
39
|
*/
|
|
34
40
|
indonesiaNik?: IndonesiaNikInput | null;
|
|
35
41
|
/**
|
|
36
|
-
* Input for the `f-mexico-curp`
|
|
42
|
+
* Input for the `f-mexico-curp` provider
|
|
37
43
|
* @type {MexicoCurpInput}
|
|
38
44
|
* @memberof ProviderInput
|
|
39
45
|
*/
|
|
40
46
|
mexicoCurp?: MexicoCurpInput | null;
|
|
41
47
|
/**
|
|
42
|
-
* Input for the `f-south-africa-nid`
|
|
48
|
+
* Input for the `f-south-africa-nid` provider
|
|
43
49
|
* @type {SouthAfricaNidInput}
|
|
44
50
|
* @memberof ProviderInput
|
|
45
51
|
*/
|
|
46
52
|
southAfricaNid?: SouthAfricaNidInput | null;
|
|
47
53
|
/**
|
|
48
|
-
* Input for the `f-kenya-nid`
|
|
54
|
+
* Input for the `f-kenya-nid` provider
|
|
49
55
|
* @type {KenyaNidInput}
|
|
50
56
|
* @memberof ProviderInput
|
|
51
57
|
*/
|
|
52
58
|
kenyaNid?: KenyaNidInput | null;
|
|
53
59
|
/**
|
|
54
|
-
* Input for the `f-nigeria-nin`
|
|
60
|
+
* Input for the `f-nigeria-nin` provider
|
|
55
61
|
* @type {NigeriaNinInput}
|
|
56
62
|
* @memberof ProviderInput
|
|
57
63
|
*/
|
|
58
64
|
nigeriaNin?: NigeriaNinInput | null;
|
|
59
65
|
/**
|
|
60
|
-
* Input for the `f-india-aadhaar-match`
|
|
66
|
+
* Input for the `f-india-aadhaar-match` provider
|
|
61
67
|
* @type {AadhaarInput}
|
|
62
68
|
* @memberof ProviderInput
|
|
63
69
|
*/
|
|
64
70
|
aadhaar?: AadhaarInput | null;
|
|
65
71
|
/**
|
|
66
|
-
* Input for the `bangladesh-nid`
|
|
72
|
+
* Input for the `bangladesh-nid` provider
|
|
67
73
|
* @type {BangladeshNationalIdInput}
|
|
68
74
|
* @memberof ProviderInput
|
|
69
75
|
*/
|
|
70
76
|
bangladeshNationalId?: BangladeshNationalIdInput | null;
|
|
71
77
|
/**
|
|
72
|
-
* Input for the `g-brazil-cpf`
|
|
78
|
+
* Input for the `g-brazil-cpf` provider
|
|
73
79
|
* @type {BrazilCpfCheckInput}
|
|
74
80
|
* @memberof ProviderInput
|
|
75
81
|
*/
|
|
76
82
|
brazilCpfCheck?: BrazilCpfCheckInput | null;
|
|
77
83
|
/**
|
|
78
|
-
* Input for the `g-brazil-digital-cnh`
|
|
84
|
+
* Input for the `g-brazil-digital-cnh` provider
|
|
79
85
|
* @type {BrazilDigitalCnhInput}
|
|
80
86
|
* @memberof ProviderInput
|
|
81
87
|
*/
|
|
82
88
|
brazilDigitalCnh?: BrazilDigitalCnhInput | null;
|
|
83
89
|
/**
|
|
84
|
-
* Input for the `b-philsys-biometric`
|
|
90
|
+
* Input for the `b-philsys-biometric` provider
|
|
85
91
|
* @type {PhilippineMatchInput}
|
|
86
92
|
* @memberof ProviderInput
|
|
87
93
|
*/
|
|
88
94
|
philippineMatch?: PhilippineMatchInput | null;
|
|
89
95
|
/**
|
|
90
|
-
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id`
|
|
96
|
+
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` providers
|
|
91
97
|
* @type {PhilippineQRInput}
|
|
92
98
|
* @memberof ProviderInput
|
|
93
99
|
*/
|
|
94
100
|
philippineQR?: PhilippineQRInput | null;
|
|
101
|
+
/**
|
|
102
|
+
* Input for the `smart-id` provider
|
|
103
|
+
* @type {SmartIdInput}
|
|
104
|
+
* @memberof ProviderInput
|
|
105
|
+
*/
|
|
106
|
+
smartId?: SmartIdInput | null;
|
|
107
|
+
/**
|
|
108
|
+
* Input for the `mobile-id` provider
|
|
109
|
+
* @type {MobileIdInput}
|
|
110
|
+
* @memberof ProviderInput
|
|
111
|
+
*/
|
|
112
|
+
mobileId?: MobileIdInput | null;
|
|
113
|
+
/**
|
|
114
|
+
* Input for the `idin` provider
|
|
115
|
+
* @type {IdinInput}
|
|
116
|
+
* @memberof ProviderInput
|
|
117
|
+
*/
|
|
118
|
+
idin?: IdinInput | null;
|
|
119
|
+
/**
|
|
120
|
+
* Input for the `spid` provider
|
|
121
|
+
* @type {SpidInput}
|
|
122
|
+
* @memberof ProviderInput
|
|
123
|
+
*/
|
|
124
|
+
spid?: SpidInput | null;
|
|
125
|
+
/**
|
|
126
|
+
* *TEST MODE ONLY.*
|
|
127
|
+
*
|
|
128
|
+
* Input for the `trinsic-test-database-lookup` provider
|
|
129
|
+
* @type {TrinsicTestDatabaseLookupInput}
|
|
130
|
+
* @memberof ProviderInput
|
|
131
|
+
*/
|
|
132
|
+
trinsicTestDatabaseLookup?: TrinsicTestDatabaseLookupInput | null;
|
|
133
|
+
/**
|
|
134
|
+
* *TEST MODE ONLY.*
|
|
135
|
+
*
|
|
136
|
+
* Input for the `trinsic-test-sub-providers` provider
|
|
137
|
+
* @type {TrinsicTestSubProvidersInput}
|
|
138
|
+
* @memberof ProviderInput
|
|
139
|
+
*/
|
|
140
|
+
trinsicTestSubProviders?: TrinsicTestSubProvidersInput | null;
|
|
95
141
|
}
|
|
96
142
|
/**
|
|
97
143
|
* Check if a given object implements the ProviderInput interface.
|
|
@@ -99,4 +145,5 @@ export interface ProviderInput {
|
|
|
99
145
|
export declare function instanceOfProviderInput(value: object): value is ProviderInput;
|
|
100
146
|
export declare function ProviderInputFromJSON(json: any): ProviderInput;
|
|
101
147
|
export declare function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInput;
|
|
102
|
-
export declare function ProviderInputToJSON(
|
|
148
|
+
export declare function ProviderInputToJSON(json: any): ProviderInput;
|
|
149
|
+
export declare function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,17 +11,23 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
|
|
15
14
|
import { BangladeshNationalIdInputFromJSON, BangladeshNationalIdInputToJSON, } from './BangladeshNationalIdInput';
|
|
16
|
-
import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
|
|
17
|
-
import { KenyaNidInputFromJSON, KenyaNidInputToJSON, } from './KenyaNidInput';
|
|
18
|
-
import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
|
|
19
15
|
import { BrazilCpfCheckInputFromJSON, BrazilCpfCheckInputToJSON, } from './BrazilCpfCheckInput';
|
|
20
16
|
import { MexicoCurpInputFromJSON, MexicoCurpInputToJSON, } from './MexicoCurpInput';
|
|
21
17
|
import { BrazilDigitalCnhInputFromJSON, BrazilDigitalCnhInputToJSON, } from './BrazilDigitalCnhInput';
|
|
22
|
-
import {
|
|
18
|
+
import { TrinsicTestSubProvidersInputFromJSON, TrinsicTestSubProvidersInputToJSON, } from './TrinsicTestSubProvidersInput';
|
|
19
|
+
import { SpidInputFromJSON, SpidInputToJSON, } from './SpidInput';
|
|
23
20
|
import { SouthAfricaNidInputFromJSON, SouthAfricaNidInputToJSON, } from './SouthAfricaNidInput';
|
|
24
21
|
import { PhilippineMatchInputFromJSON, PhilippineMatchInputToJSON, } from './PhilippineMatchInput';
|
|
22
|
+
import { PhilippineQRInputFromJSON, PhilippineQRInputToJSON, } from './PhilippineQRInput';
|
|
23
|
+
import { AadhaarInputFromJSON, AadhaarInputToJSON, } from './AadhaarInput';
|
|
24
|
+
import { KenyaNidInputFromJSON, KenyaNidInputToJSON, } from './KenyaNidInput';
|
|
25
|
+
import { NigeriaNinInputFromJSON, NigeriaNinInputToJSON, } from './NigeriaNinInput';
|
|
26
|
+
import { SmartIdInputFromJSON, SmartIdInputToJSON, } from './SmartIdInput';
|
|
27
|
+
import { MobileIdInputFromJSON, MobileIdInputToJSON, } from './MobileIdInput';
|
|
28
|
+
import { TrinsicTestDatabaseLookupInputFromJSON, TrinsicTestDatabaseLookupInputToJSON, } from './TrinsicTestDatabaseLookupInput';
|
|
29
|
+
import { IndonesiaNikInputFromJSON, IndonesiaNikInputToJSON, } from './IndonesiaNikInput';
|
|
30
|
+
import { IdinInputFromJSON, IdinInputToJSON, } from './IdinInput';
|
|
25
31
|
/**
|
|
26
32
|
* Check if a given object implements the ProviderInput interface.
|
|
27
33
|
*/
|
|
@@ -47,9 +53,18 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
53
|
'brazilDigitalCnh': json['brazilDigitalCnh'] == null ? undefined : BrazilDigitalCnhInputFromJSON(json['brazilDigitalCnh']),
|
|
48
54
|
'philippineMatch': json['philippineMatch'] == null ? undefined : PhilippineMatchInputFromJSON(json['philippineMatch']),
|
|
49
55
|
'philippineQR': json['philippineQR'] == null ? undefined : PhilippineQRInputFromJSON(json['philippineQR']),
|
|
56
|
+
'smartId': json['smartId'] == null ? undefined : SmartIdInputFromJSON(json['smartId']),
|
|
57
|
+
'mobileId': json['mobileId'] == null ? undefined : MobileIdInputFromJSON(json['mobileId']),
|
|
58
|
+
'idin': json['idin'] == null ? undefined : IdinInputFromJSON(json['idin']),
|
|
59
|
+
'spid': json['spid'] == null ? undefined : SpidInputFromJSON(json['spid']),
|
|
60
|
+
'trinsicTestDatabaseLookup': json['trinsicTestDatabaseLookup'] == null ? undefined : TrinsicTestDatabaseLookupInputFromJSON(json['trinsicTestDatabaseLookup']),
|
|
61
|
+
'trinsicTestSubProviders': json['trinsicTestSubProviders'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsicTestSubProviders']),
|
|
50
62
|
};
|
|
51
63
|
}
|
|
52
|
-
export function ProviderInputToJSON(
|
|
64
|
+
export function ProviderInputToJSON(json) {
|
|
65
|
+
return ProviderInputToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
export function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
68
|
if (value == null) {
|
|
54
69
|
return value;
|
|
55
70
|
}
|
|
@@ -65,5 +80,11 @@ export function ProviderInputToJSON(value) {
|
|
|
65
80
|
'brazilDigitalCnh': BrazilDigitalCnhInputToJSON(value['brazilDigitalCnh']),
|
|
66
81
|
'philippineMatch': PhilippineMatchInputToJSON(value['philippineMatch']),
|
|
67
82
|
'philippineQR': PhilippineQRInputToJSON(value['philippineQR']),
|
|
83
|
+
'smartId': SmartIdInputToJSON(value['smartId']),
|
|
84
|
+
'mobileId': MobileIdInputToJSON(value['mobileId']),
|
|
85
|
+
'idin': IdinInputToJSON(value['idin']),
|
|
86
|
+
'spid': SpidInputToJSON(value['spid']),
|
|
87
|
+
'trinsicTestDatabaseLookup': TrinsicTestDatabaseLookupInputToJSON(value['trinsicTestDatabaseLookup']),
|
|
88
|
+
'trinsicTestSubProviders': TrinsicTestSubProvidersInputToJSON(value['trinsicTestSubProviders']),
|
|
68
89
|
};
|
|
69
90
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { RecommendationInfo } from './RecommendationInfo';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -16,35 +17,11 @@
|
|
|
16
17
|
*/
|
|
17
18
|
export interface RecommendRequest {
|
|
18
19
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
20
|
+
* Information about the user you wish to generate a recommendation for.
|
|
21
|
+
* @type {RecommendationInfo}
|
|
21
22
|
* @memberof RecommendRequest
|
|
22
23
|
*/
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* A list of countries, in alpha-2 ISO 3166 format, you wish to specify for the recommendation, this can include the user's country of residence, nationality, etc.
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof RecommendRequest
|
|
28
|
-
*/
|
|
29
|
-
countries?: Array<string> | null;
|
|
30
|
-
/**
|
|
31
|
-
* If one of the countries has subdivisions, for example the US states, you can specify a list of these to further refine the recommendation (e.g., CA, UT, NY)
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof RecommendRequest
|
|
34
|
-
*/
|
|
35
|
-
subdivisions?: Array<string> | null;
|
|
36
|
-
/**
|
|
37
|
-
* Provide the IP addresses of the user you wish to generate a recommendation for. Will be used to look up the user's geographic location.
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof RecommendRequest
|
|
40
|
-
*/
|
|
41
|
-
ipAddresses?: Array<string> | null;
|
|
42
|
-
/**
|
|
43
|
-
* If true, the recommendation will include providers that are disabled for the app
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof RecommendRequest
|
|
46
|
-
*/
|
|
47
|
-
includeDisabledProviders?: boolean | null;
|
|
24
|
+
recommendationInfo?: RecommendationInfo | null;
|
|
48
25
|
}
|
|
49
26
|
/**
|
|
50
27
|
* Check if a given object implements the RecommendRequest interface.
|
|
@@ -52,4 +29,5 @@ export interface RecommendRequest {
|
|
|
52
29
|
export declare function instanceOfRecommendRequest(value: object): value is RecommendRequest;
|
|
53
30
|
export declare function RecommendRequestFromJSON(json: any): RecommendRequest;
|
|
54
31
|
export declare function RecommendRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendRequest;
|
|
55
|
-
export declare function RecommendRequestToJSON(
|
|
32
|
+
export declare function RecommendRequestToJSON(json: any): RecommendRequest;
|
|
33
|
+
export declare function RecommendRequestToJSONTyped(value?: RecommendRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { RecommendationInfoFromJSON, RecommendationInfoToJSON, } from './RecommendationInfo';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the RecommendRequest interface.
|
|
16
17
|
*/
|
|
@@ -25,22 +26,17 @@ export function RecommendRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
26
|
return json;
|
|
26
27
|
}
|
|
27
28
|
return {
|
|
28
|
-
'
|
|
29
|
-
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
30
|
-
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
31
|
-
'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
|
|
32
|
-
'includeDisabledProviders': json['includeDisabledProviders'] == null ? undefined : json['includeDisabledProviders'],
|
|
29
|
+
'recommendationInfo': json['recommendationInfo'] == null ? undefined : RecommendationInfoFromJSON(json['recommendationInfo']),
|
|
33
30
|
};
|
|
34
31
|
}
|
|
35
|
-
export function RecommendRequestToJSON(
|
|
32
|
+
export function RecommendRequestToJSON(json) {
|
|
33
|
+
return RecommendRequestToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function RecommendRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
36
|
if (value == null) {
|
|
37
37
|
return value;
|
|
38
38
|
}
|
|
39
39
|
return {
|
|
40
|
-
'
|
|
41
|
-
'countries': value['countries'],
|
|
42
|
-
'subdivisions': value['subdivisions'],
|
|
43
|
-
'ipAddresses': value['ipAddresses'],
|
|
44
|
-
'includeDisabledProviders': value['includeDisabledProviders'],
|
|
40
|
+
'recommendationInfo': RecommendationInfoToJSON(value['recommendationInfo']),
|
|
45
41
|
};
|
|
46
42
|
}
|
|
@@ -41,4 +41,5 @@ export interface RecommendResponse {
|
|
|
41
41
|
export declare function instanceOfRecommendResponse(value: object): value is RecommendResponse;
|
|
42
42
|
export declare function RecommendResponseFromJSON(json: any): RecommendResponse;
|
|
43
43
|
export declare function RecommendResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendResponse;
|
|
44
|
-
export declare function RecommendResponseToJSON(
|
|
44
|
+
export declare function RecommendResponseToJSON(json: any): RecommendResponse;
|
|
45
|
+
export declare function RecommendResponseToJSONTyped(value?: RecommendResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -37,7 +37,10 @@ export function RecommendResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'remainder': (json['remainder'].map(ProviderInformationFromJSON)),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
export function RecommendResponseToJSON(
|
|
40
|
+
export function RecommendResponseToJSON(json) {
|
|
41
|
+
return RecommendResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function RecommendResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
44
|
if (value == null) {
|
|
42
45
|
return value;
|
|
43
46
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Information relating to a user; used to generated Identity Provider recommendations.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RecommendationInfo
|
|
16
|
+
*/
|
|
17
|
+
export interface RecommendationInfo {
|
|
18
|
+
/**
|
|
19
|
+
* The phone number of the user you wish to generate a recommendation for.
|
|
20
|
+
*
|
|
21
|
+
* Will be used to look up the user's identity in the network, as well as to determine the user's geographic location.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof RecommendationInfo
|
|
24
|
+
*/
|
|
25
|
+
phoneNumber?: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* A list of countries, in alpha-2 ISO 3166 format, which the user is related to.
|
|
28
|
+
*
|
|
29
|
+
* This can include the user's country of residence, nationality, etc.
|
|
30
|
+
* @type {Array<string>}
|
|
31
|
+
* @memberof RecommendationInfo
|
|
32
|
+
*/
|
|
33
|
+
countries?: Array<string> | null;
|
|
34
|
+
/**
|
|
35
|
+
* If one of the countries has subdivisions (for example: US states), specify those related to the user here (e.g., CA, UT, NY)
|
|
36
|
+
* @type {Array<string>}
|
|
37
|
+
* @memberof RecommendationInfo
|
|
38
|
+
*/
|
|
39
|
+
subdivisions?: Array<string> | null;
|
|
40
|
+
/**
|
|
41
|
+
* Any IP addresses related to the user.
|
|
42
|
+
*
|
|
43
|
+
* Will be used to determine the user's geographic location.
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof RecommendationInfo
|
|
46
|
+
*/
|
|
47
|
+
ipAddresses?: Array<string> | null;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the RecommendationInfo interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfRecommendationInfo(value: object): value is RecommendationInfo;
|
|
53
|
+
export declare function RecommendationInfoFromJSON(json: any): RecommendationInfo;
|
|
54
|
+
export declare function RecommendationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendationInfo;
|
|
55
|
+
export declare function RecommendationInfoToJSON(json: any): RecommendationInfo;
|
|
56
|
+
export declare function RecommendationInfoToJSONTyped(value?: RecommendationInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the RecommendationInfo interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRecommendationInfo(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function RecommendationInfoFromJSON(json) {
|
|
21
|
+
return RecommendationInfoFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function RecommendationInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
29
|
+
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
30
|
+
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
31
|
+
'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function RecommendationInfoToJSON(json) {
|
|
35
|
+
return RecommendationInfoToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function RecommendationInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'phoneNumber': value['phoneNumber'],
|
|
43
|
+
'countries': value['countries'],
|
|
44
|
+
'subdivisions': value['subdivisions'],
|
|
45
|
+
'ipAddresses': value['ipAddresses'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -28,4 +28,5 @@ export interface RefreshStepContentRequest {
|
|
|
28
28
|
export declare function instanceOfRefreshStepContentRequest(value: object): value is RefreshStepContentRequest;
|
|
29
29
|
export declare function RefreshStepContentRequestFromJSON(json: any): RefreshStepContentRequest;
|
|
30
30
|
export declare function RefreshStepContentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentRequest;
|
|
31
|
-
export declare function RefreshStepContentRequestToJSON(
|
|
31
|
+
export declare function RefreshStepContentRequestToJSON(json: any): RefreshStepContentRequest;
|
|
32
|
+
export declare function RefreshStepContentRequestToJSONTyped(value?: RefreshStepContentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -28,7 +28,10 @@ export function RefreshStepContentRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
28
28
|
'resultsAccessKey': json['resultsAccessKey'] == null ? undefined : json['resultsAccessKey'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export function RefreshStepContentRequestToJSON(
|
|
31
|
+
export function RefreshStepContentRequestToJSON(json) {
|
|
32
|
+
return RefreshStepContentRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function RefreshStepContentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
32
35
|
if (value == null) {
|
|
33
36
|
return value;
|
|
34
37
|
}
|
|
@@ -29,4 +29,5 @@ export interface RefreshStepContentResponse {
|
|
|
29
29
|
export declare function instanceOfRefreshStepContentResponse(value: object): value is RefreshStepContentResponse;
|
|
30
30
|
export declare function RefreshStepContentResponseFromJSON(json: any): RefreshStepContentResponse;
|
|
31
31
|
export declare function RefreshStepContentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentResponse;
|
|
32
|
-
export declare function RefreshStepContentResponseToJSON(
|
|
32
|
+
export declare function RefreshStepContentResponseToJSON(json: any): RefreshStepContentResponse;
|
|
33
|
+
export declare function RefreshStepContentResponseToJSONTyped(value?: RefreshStepContentResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,7 +31,10 @@ export function RefreshStepContentResponseFromJSONTyped(json, ignoreDiscriminato
|
|
|
31
31
|
'nextStep': IntegrationStepFromJSON(json['nextStep']),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function RefreshStepContentResponseToJSON(
|
|
34
|
+
export function RefreshStepContentResponseToJSON(json) {
|
|
35
|
+
return RefreshStepContentResponseToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function RefreshStepContentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|