@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,91 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { Language } from './Language';
|
|
17
|
+
import {
|
|
18
|
+
LanguageFromJSON,
|
|
19
|
+
LanguageFromJSONTyped,
|
|
20
|
+
LanguageToJSON,
|
|
21
|
+
LanguageToJSONTyped,
|
|
22
|
+
} from './Language';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface MobileIdInput
|
|
28
|
+
*/
|
|
29
|
+
export interface MobileIdInput {
|
|
30
|
+
/**
|
|
31
|
+
* The user's phone number in E.164 format
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MobileIdInput
|
|
34
|
+
*/
|
|
35
|
+
mobileIdPhoneNumber?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* The user's National ID number
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MobileIdInput
|
|
40
|
+
*/
|
|
41
|
+
mobileIdNationalIdentityNumber?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The user's language -- LIT, EST, ENG, or RUS
|
|
44
|
+
* @type {Language}
|
|
45
|
+
* @memberof MobileIdInput
|
|
46
|
+
*/
|
|
47
|
+
mobileIdLanguage?: Language | null;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the MobileIdInput interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfMobileIdInput(value: object): value is MobileIdInput {
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function MobileIdInputFromJSON(json: any): MobileIdInput {
|
|
60
|
+
return MobileIdInputFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function MobileIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileIdInput {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'mobileIdPhoneNumber': json['mobileIdPhoneNumber'] == null ? undefined : json['mobileIdPhoneNumber'],
|
|
70
|
+
'mobileIdNationalIdentityNumber': json['mobileIdNationalIdentityNumber'] == null ? undefined : json['mobileIdNationalIdentityNumber'],
|
|
71
|
+
'mobileIdLanguage': json['mobileIdLanguage'] == null ? undefined : LanguageFromJSON(json['mobileIdLanguage']),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export function MobileIdInputToJSON(json: any): MobileIdInput {
|
|
76
|
+
return MobileIdInputToJSONTyped(json, false);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function MobileIdInputToJSONTyped(value?: MobileIdInput | null, ignoreDiscriminator: boolean = false): any {
|
|
80
|
+
if (value == null) {
|
|
81
|
+
return value;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
|
|
86
|
+
'mobileIdPhoneNumber': value['mobileIdPhoneNumber'],
|
|
87
|
+
'mobileIdNationalIdentityNumber': value['mobileIdNationalIdentityNumber'],
|
|
88
|
+
'mobileIdLanguage': LanguageToJSON(value['mobileIdLanguage']),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -94,10 +94,15 @@ export function NigeriaNinInputFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
|
|
97
|
-
export function NigeriaNinInputToJSON(
|
|
97
|
+
export function NigeriaNinInputToJSON(json: any): NigeriaNinInput {
|
|
98
|
+
return NigeriaNinInputToJSONTyped(json, false);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
export function NigeriaNinInputToJSONTyped(value?: NigeriaNinInput | null, ignoreDiscriminator: boolean = false): any {
|
|
98
102
|
if (value == null) {
|
|
99
103
|
return value;
|
|
100
104
|
}
|
|
105
|
+
|
|
101
106
|
return {
|
|
102
107
|
|
|
103
108
|
'firstName': value['firstName'],
|
package/src/models/PersonData.ts
CHANGED
|
@@ -18,12 +18,14 @@ import {
|
|
|
18
18
|
AddressFromJSON,
|
|
19
19
|
AddressFromJSONTyped,
|
|
20
20
|
AddressToJSON,
|
|
21
|
+
AddressToJSONTyped,
|
|
21
22
|
} from './Address';
|
|
22
23
|
import type { Sex } from './Sex';
|
|
23
24
|
import {
|
|
24
25
|
SexFromJSON,
|
|
25
26
|
SexFromJSONTyped,
|
|
26
27
|
SexToJSON,
|
|
28
|
+
SexToJSONTyped,
|
|
27
29
|
} from './Sex';
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -126,10 +128,15 @@ export function PersonDataFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
126
128
|
};
|
|
127
129
|
}
|
|
128
130
|
|
|
129
|
-
export function PersonDataToJSON(
|
|
131
|
+
export function PersonDataToJSON(json: any): PersonData {
|
|
132
|
+
return PersonDataToJSONTyped(json, false);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
export function PersonDataToJSONTyped(value?: PersonData | null, ignoreDiscriminator: boolean = false): any {
|
|
130
136
|
if (value == null) {
|
|
131
137
|
return value;
|
|
132
138
|
}
|
|
139
|
+
|
|
133
140
|
return {
|
|
134
141
|
|
|
135
142
|
'givenName': value['givenName'],
|
|
@@ -76,10 +76,15 @@ export function PhilippineMatchInputFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function PhilippineMatchInputToJSON(
|
|
79
|
+
export function PhilippineMatchInputToJSON(json: any): PhilippineMatchInput {
|
|
80
|
+
return PhilippineMatchInputToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function PhilippineMatchInputToJSONTyped(value?: PhilippineMatchInput | null, ignoreDiscriminator: boolean = false): any {
|
|
80
84
|
if (value == null) {
|
|
81
85
|
return value;
|
|
82
86
|
}
|
|
87
|
+
|
|
83
88
|
return {
|
|
84
89
|
|
|
85
90
|
'givenName': value['givenName'],
|
|
@@ -55,10 +55,15 @@ export function PhilippineQRInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export function PhilippineQRInputToJSON(
|
|
58
|
+
export function PhilippineQRInputToJSON(json: any): PhilippineQRInput {
|
|
59
|
+
return PhilippineQRInputToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function PhilippineQRInputToJSONTyped(value?: PhilippineQRInput | null, ignoreDiscriminator: boolean = false): any {
|
|
59
63
|
if (value == null) {
|
|
60
64
|
return value;
|
|
61
65
|
}
|
|
66
|
+
|
|
62
67
|
return {
|
|
63
68
|
|
|
64
69
|
'qrCodeText': value['qrCodeText'],
|
|
@@ -78,10 +78,15 @@ export function ProblemDetailsFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export function ProblemDetailsToJSON(
|
|
81
|
+
export function ProblemDetailsToJSON(json: any): ProblemDetails {
|
|
82
|
+
return ProblemDetailsToJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function ProblemDetailsToJSONTyped(value?: ProblemDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
82
86
|
if (value == null) {
|
|
83
87
|
return value;
|
|
84
88
|
}
|
|
89
|
+
|
|
85
90
|
return {
|
|
86
91
|
|
|
87
92
|
...value,
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
DocumentScanAttachmentsFromJSON,
|
|
19
19
|
DocumentScanAttachmentsFromJSONTyped,
|
|
20
20
|
DocumentScanAttachmentsToJSON,
|
|
21
|
+
DocumentScanAttachmentsToJSONTyped,
|
|
21
22
|
} from './DocumentScanAttachments';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -55,10 +56,15 @@ export function ProviderAttachmentsFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
export function ProviderAttachmentsToJSON(
|
|
59
|
+
export function ProviderAttachmentsToJSON(json: any): ProviderAttachments {
|
|
60
|
+
return ProviderAttachmentsToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ProviderAttachmentsToJSONTyped(value?: ProviderAttachments | null, ignoreDiscriminator: boolean = false): any {
|
|
59
64
|
if (value == null) {
|
|
60
65
|
return value;
|
|
61
66
|
}
|
|
67
|
+
|
|
62
68
|
return {
|
|
63
69
|
|
|
64
70
|
'document-scan': DocumentScanAttachmentsToJSON(value['documentScan']),
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Trinsic API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: v1
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { mapValues } from '../runtime';
|
|
16
|
+
import type { ProviderHealth } from './ProviderHealth';
|
|
17
|
+
import {
|
|
18
|
+
ProviderHealthFromJSON,
|
|
19
|
+
ProviderHealthFromJSONTyped,
|
|
20
|
+
ProviderHealthToJSON,
|
|
21
|
+
ProviderHealthToJSONTyped,
|
|
22
|
+
} from './ProviderHealth';
|
|
23
|
+
import type { SubProviderMetadata } from './SubProviderMetadata';
|
|
24
|
+
import {
|
|
25
|
+
SubProviderMetadataFromJSON,
|
|
26
|
+
SubProviderMetadataFromJSONTyped,
|
|
27
|
+
SubProviderMetadataToJSON,
|
|
28
|
+
SubProviderMetadataToJSONTyped,
|
|
29
|
+
} from './SubProviderMetadata';
|
|
30
|
+
import type { ResultCollectionMethod } from './ResultCollectionMethod';
|
|
31
|
+
import {
|
|
32
|
+
ResultCollectionMethodFromJSON,
|
|
33
|
+
ResultCollectionMethodFromJSONTyped,
|
|
34
|
+
ResultCollectionMethodToJSON,
|
|
35
|
+
ResultCollectionMethodToJSONTyped,
|
|
36
|
+
} from './ResultCollectionMethod';
|
|
37
|
+
import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
|
|
38
|
+
import {
|
|
39
|
+
IntegrationLaunchMethodFromJSON,
|
|
40
|
+
IntegrationLaunchMethodFromJSONTyped,
|
|
41
|
+
IntegrationLaunchMethodToJSON,
|
|
42
|
+
IntegrationLaunchMethodToJSONTyped,
|
|
43
|
+
} from './IntegrationLaunchMethod';
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @export
|
|
48
|
+
* @interface ProviderContract
|
|
49
|
+
*/
|
|
50
|
+
export interface ProviderContract {
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the Provider for this contract.
|
|
53
|
+
* @type {string}
|
|
54
|
+
* @memberof ProviderContract
|
|
55
|
+
*/
|
|
56
|
+
id: string;
|
|
57
|
+
/**
|
|
58
|
+
* The Provider's Name as it appears in Trinsic's Dashboard and Widget
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof ProviderContract
|
|
61
|
+
*/
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* The Provider's description as it appears in Trinsic's Widget.
|
|
65
|
+
*
|
|
66
|
+
* This is flavor text, not a full, human-readable description of the provider.
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof ProviderContract
|
|
69
|
+
*/
|
|
70
|
+
description: string;
|
|
71
|
+
/**
|
|
72
|
+
* A URL pointing to the Provider's logo on Trinsic's CDN.
|
|
73
|
+
*
|
|
74
|
+
* May be a PNG, JPG, or SVG image.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProviderContract
|
|
77
|
+
*/
|
|
78
|
+
logoUrl: string;
|
|
79
|
+
/**
|
|
80
|
+
* Whether the Provider is available for use in your App.
|
|
81
|
+
*
|
|
82
|
+
* If `false`, you will need to contact Trinsic to enable this Provider for your App.
|
|
83
|
+
* @type {boolean}
|
|
84
|
+
* @memberof ProviderContract
|
|
85
|
+
*/
|
|
86
|
+
available: boolean;
|
|
87
|
+
/**
|
|
88
|
+
* The geographies within the Regions the Provider is available.
|
|
89
|
+
* @type {Array<string>}
|
|
90
|
+
* @memberof ProviderContract
|
|
91
|
+
*/
|
|
92
|
+
geography: Array<string>;
|
|
93
|
+
/**
|
|
94
|
+
* The regions within which the Provider is available.
|
|
95
|
+
* @type {Array<string>}
|
|
96
|
+
* @memberof ProviderContract
|
|
97
|
+
*/
|
|
98
|
+
regions: Array<string>;
|
|
99
|
+
/**
|
|
100
|
+
* Relevant only to Advanced Provider Sessions.
|
|
101
|
+
*
|
|
102
|
+
* The `LaunchMethod` which must be supported to launch the Provider Session in Advanced Provider Sessions.
|
|
103
|
+
* @type {IntegrationLaunchMethod}
|
|
104
|
+
* @memberof ProviderContract
|
|
105
|
+
*/
|
|
106
|
+
launchMethod: IntegrationLaunchMethod;
|
|
107
|
+
/**
|
|
108
|
+
* Relevant only to Advanced Provider Sessions.
|
|
109
|
+
*
|
|
110
|
+
* The `CollectionMethod` which must be supported to launch the Provider Session in Advanced Provider Sessions.
|
|
111
|
+
* @type {ResultCollectionMethod}
|
|
112
|
+
* @memberof ProviderContract
|
|
113
|
+
*/
|
|
114
|
+
collectionMethod: ResultCollectionMethod;
|
|
115
|
+
/**
|
|
116
|
+
* If `true`, then the results for this Provider may not be available immediately after the user is redirected back
|
|
117
|
+
* to your application. In this case, the `GetSessionResults` API must be called until results are available.
|
|
118
|
+
*
|
|
119
|
+
* This is an uncommon scenario, and typically only applies to Providers which use a biometric check or traditional document scan.
|
|
120
|
+
* @type {boolean}
|
|
121
|
+
* @memberof ProviderContract
|
|
122
|
+
*/
|
|
123
|
+
resultsMayBeDelayedAfterRedirect: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Relevant only to Advanced Provider Sessions.
|
|
126
|
+
*
|
|
127
|
+
* Whether the Provider requires the `RefreshStepContent` capability.
|
|
128
|
+
*
|
|
129
|
+
* For example, Samsung Wallet's deep links expire every 30 seconds, and must be refreshed periodically for a
|
|
130
|
+
* resilient user flow.
|
|
131
|
+
* @type {boolean}
|
|
132
|
+
* @memberof ProviderContract
|
|
133
|
+
*/
|
|
134
|
+
hasRefreshableContent: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Relevant to Hosted Provider Sessions and Advanced Provider Sessions.
|
|
137
|
+
*
|
|
138
|
+
* If `true`, this Provider requires provider-specific input on Session creation.
|
|
139
|
+
* If this input is not provided, Trinsic's Hosted UI will be invoked to collect the input from the user.
|
|
140
|
+
* @type {boolean}
|
|
141
|
+
* @memberof ProviderContract
|
|
142
|
+
*/
|
|
143
|
+
requiresInput: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Whether there exists a Trinsic-hosted UI for this Provider.
|
|
146
|
+
*
|
|
147
|
+
* This is `true` for any Provider which is not a simple, OIDC-like redirect flow.
|
|
148
|
+
* @type {boolean}
|
|
149
|
+
* @memberof ProviderContract
|
|
150
|
+
*/
|
|
151
|
+
hasTrinsicInterface: boolean;
|
|
152
|
+
/**
|
|
153
|
+
* Whether this Provider can be fully whitelabeled/OEMed through the Advanced Provider Sessions API.
|
|
154
|
+
*
|
|
155
|
+
* If `false`, the Provider may still be launched through Advanced Provider Sessions;
|
|
156
|
+
* however, it will necessarily require a Trinsic-hosted UI to function.
|
|
157
|
+
* @type {boolean}
|
|
158
|
+
* @memberof ProviderContract
|
|
159
|
+
*/
|
|
160
|
+
supportsAdvancedProviderSessions: boolean;
|
|
161
|
+
/**
|
|
162
|
+
* Metadata about the sub-providers which are available for this Provider.
|
|
163
|
+
*
|
|
164
|
+
* For example, Italy's SPID is a Provider which aggregates access to multiple sub-providers.
|
|
165
|
+
* @type {Array<SubProviderMetadata>}
|
|
166
|
+
* @memberof ProviderContract
|
|
167
|
+
*/
|
|
168
|
+
subProviders?: Array<SubProviderMetadata> | null;
|
|
169
|
+
/**
|
|
170
|
+
* The current status of the provider and if it is available to launch.
|
|
171
|
+
* If the status is disabled, there is an issue that prevents a provider being able to launch a session.
|
|
172
|
+
* @type {ProviderHealth}
|
|
173
|
+
* @memberof ProviderContract
|
|
174
|
+
*/
|
|
175
|
+
status: ProviderHealth;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* Check if a given object implements the ProviderContract interface.
|
|
182
|
+
*/
|
|
183
|
+
export function instanceOfProviderContract(value: object): value is ProviderContract {
|
|
184
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
185
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
186
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
187
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined) return false;
|
|
188
|
+
if (!('available' in value) || value['available'] === undefined) return false;
|
|
189
|
+
if (!('geography' in value) || value['geography'] === undefined) return false;
|
|
190
|
+
if (!('regions' in value) || value['regions'] === undefined) return false;
|
|
191
|
+
if (!('launchMethod' in value) || value['launchMethod'] === undefined) return false;
|
|
192
|
+
if (!('collectionMethod' in value) || value['collectionMethod'] === undefined) return false;
|
|
193
|
+
if (!('resultsMayBeDelayedAfterRedirect' in value) || value['resultsMayBeDelayedAfterRedirect'] === undefined) return false;
|
|
194
|
+
if (!('hasRefreshableContent' in value) || value['hasRefreshableContent'] === undefined) return false;
|
|
195
|
+
if (!('requiresInput' in value) || value['requiresInput'] === undefined) return false;
|
|
196
|
+
if (!('hasTrinsicInterface' in value) || value['hasTrinsicInterface'] === undefined) return false;
|
|
197
|
+
if (!('supportsAdvancedProviderSessions' in value) || value['supportsAdvancedProviderSessions'] === undefined) return false;
|
|
198
|
+
if (!('status' in value) || value['status'] === undefined) return false;
|
|
199
|
+
return true;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export function ProviderContractFromJSON(json: any): ProviderContract {
|
|
203
|
+
return ProviderContractFromJSONTyped(json, false);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export function ProviderContractFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderContract {
|
|
207
|
+
if (json == null) {
|
|
208
|
+
return json;
|
|
209
|
+
}
|
|
210
|
+
return {
|
|
211
|
+
|
|
212
|
+
'id': json['id'],
|
|
213
|
+
'name': json['name'],
|
|
214
|
+
'description': json['description'],
|
|
215
|
+
'logoUrl': json['logoUrl'],
|
|
216
|
+
'available': json['available'],
|
|
217
|
+
'geography': json['geography'],
|
|
218
|
+
'regions': json['regions'],
|
|
219
|
+
'launchMethod': IntegrationLaunchMethodFromJSON(json['launchMethod']),
|
|
220
|
+
'collectionMethod': ResultCollectionMethodFromJSON(json['collectionMethod']),
|
|
221
|
+
'resultsMayBeDelayedAfterRedirect': json['resultsMayBeDelayedAfterRedirect'],
|
|
222
|
+
'hasRefreshableContent': json['hasRefreshableContent'],
|
|
223
|
+
'requiresInput': json['requiresInput'],
|
|
224
|
+
'hasTrinsicInterface': json['hasTrinsicInterface'],
|
|
225
|
+
'supportsAdvancedProviderSessions': json['supportsAdvancedProviderSessions'],
|
|
226
|
+
'subProviders': json['subProviders'] == null ? undefined : ((json['subProviders'] as Array<any>).map(SubProviderMetadataFromJSON)),
|
|
227
|
+
'status': ProviderHealthFromJSON(json['status']),
|
|
228
|
+
};
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export function ProviderContractToJSON(json: any): ProviderContract {
|
|
232
|
+
return ProviderContractToJSONTyped(json, false);
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export function ProviderContractToJSONTyped(value?: ProviderContract | null, ignoreDiscriminator: boolean = false): any {
|
|
236
|
+
if (value == null) {
|
|
237
|
+
return value;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
return {
|
|
241
|
+
|
|
242
|
+
'id': value['id'],
|
|
243
|
+
'name': value['name'],
|
|
244
|
+
'description': value['description'],
|
|
245
|
+
'logoUrl': value['logoUrl'],
|
|
246
|
+
'available': value['available'],
|
|
247
|
+
'geography': value['geography'],
|
|
248
|
+
'regions': value['regions'],
|
|
249
|
+
'launchMethod': IntegrationLaunchMethodToJSON(value['launchMethod']),
|
|
250
|
+
'collectionMethod': ResultCollectionMethodToJSON(value['collectionMethod']),
|
|
251
|
+
'resultsMayBeDelayedAfterRedirect': value['resultsMayBeDelayedAfterRedirect'],
|
|
252
|
+
'hasRefreshableContent': value['hasRefreshableContent'],
|
|
253
|
+
'requiresInput': value['requiresInput'],
|
|
254
|
+
'hasTrinsicInterface': value['hasTrinsicInterface'],
|
|
255
|
+
'supportsAdvancedProviderSessions': value['supportsAdvancedProviderSessions'],
|
|
256
|
+
'subProviders': value['subProviders'] == null ? undefined : ((value['subProviders'] as Array<any>).map(SubProviderMetadataToJSON)),
|
|
257
|
+
'status': ProviderHealthToJSON(value['status']),
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The health for an integration to be able to successfully perform a verification session.
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const ProviderHealth = {
|
|
21
|
+
Online: 'Online',
|
|
22
|
+
Offline: 'Offline'
|
|
23
|
+
} as const;
|
|
24
|
+
export type ProviderHealth = typeof ProviderHealth[keyof typeof ProviderHealth];
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export function instanceOfProviderHealth(value: any): boolean {
|
|
28
|
+
for (const key in ProviderHealth) {
|
|
29
|
+
if (Object.prototype.hasOwnProperty.call(ProviderHealth, key)) {
|
|
30
|
+
if (ProviderHealth[key as keyof typeof ProviderHealth] === value) {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
return false;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ProviderHealthFromJSON(json: any): ProviderHealth {
|
|
39
|
+
return ProviderHealthFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ProviderHealthFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderHealth {
|
|
43
|
+
return json as ProviderHealth;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ProviderHealthToJSON(value?: ProviderHealth | null): any {
|
|
47
|
+
return value as any;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ProviderHealthToJSONTyped(value: any, ignoreDiscriminator: boolean): ProviderHealth {
|
|
51
|
+
return value as ProviderHealth;
|
|
52
|
+
}
|
|
53
|
+
|
|
@@ -37,12 +37,6 @@ export interface ProviderInfo {
|
|
|
37
37
|
* @memberof ProviderInfo
|
|
38
38
|
*/
|
|
39
39
|
logoUrl: string;
|
|
40
|
-
/**
|
|
41
|
-
* List of child provider id's where the provider allows deep-launching of a specific provider.
|
|
42
|
-
* @type {Array<string>}
|
|
43
|
-
* @memberof ProviderInfo
|
|
44
|
-
*/
|
|
45
|
-
childProviderIds?: Array<string> | null;
|
|
46
40
|
}
|
|
47
41
|
|
|
48
42
|
/**
|
|
@@ -68,20 +62,23 @@ export function ProviderInfoFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
68
62
|
'id': json['id'],
|
|
69
63
|
'name': json['name'],
|
|
70
64
|
'logoUrl': json['logoUrl'],
|
|
71
|
-
'childProviderIds': json['childProviderIds'] == null ? undefined : json['childProviderIds'],
|
|
72
65
|
};
|
|
73
66
|
}
|
|
74
67
|
|
|
75
|
-
export function ProviderInfoToJSON(
|
|
68
|
+
export function ProviderInfoToJSON(json: any): ProviderInfo {
|
|
69
|
+
return ProviderInfoToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ProviderInfoToJSONTyped(value?: ProviderInfo | null, ignoreDiscriminator: boolean = false): any {
|
|
76
73
|
if (value == null) {
|
|
77
74
|
return value;
|
|
78
75
|
}
|
|
76
|
+
|
|
79
77
|
return {
|
|
80
78
|
|
|
81
79
|
'id': value['id'],
|
|
82
80
|
'name': value['name'],
|
|
83
81
|
'logoUrl': value['logoUrl'],
|
|
84
|
-
'childProviderIds': value['childProviderIds'],
|
|
85
82
|
};
|
|
86
83
|
}
|
|
87
84
|
|
|
@@ -24,19 +24,19 @@ export interface ProviderInformation {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof ProviderInformation
|
|
26
26
|
*/
|
|
27
|
-
providerId: string;
|
|
27
|
+
readonly providerId: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof ProviderInformation
|
|
32
32
|
*/
|
|
33
|
-
providerDisplayName: string;
|
|
33
|
+
readonly providerDisplayName: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof ProviderInformation
|
|
38
38
|
*/
|
|
39
|
-
providerLogo: string;
|
|
39
|
+
readonly providerLogo: string;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -65,15 +65,17 @@ export function ProviderInformationFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function ProviderInformationToJSON(
|
|
68
|
+
export function ProviderInformationToJSON(json: any): ProviderInformation {
|
|
69
|
+
return ProviderInformationToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ProviderInformationToJSONTyped(value?: Omit<ProviderInformation, 'providerId'|'providerDisplayName'|'providerLogo'> | null, ignoreDiscriminator: boolean = false): any {
|
|
69
73
|
if (value == null) {
|
|
70
74
|
return value;
|
|
71
75
|
}
|
|
76
|
+
|
|
72
77
|
return {
|
|
73
78
|
|
|
74
|
-
'providerId': value['providerId'],
|
|
75
|
-
'providerDisplayName': value['providerDisplayName'],
|
|
76
|
-
'providerLogo': value['providerLogo'],
|
|
77
79
|
};
|
|
78
80
|
}
|
|
79
81
|
|