@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,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,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfRecommendationInfo = instanceOfRecommendationInfo;
|
|
17
|
+
exports.RecommendationInfoFromJSON = RecommendationInfoFromJSON;
|
|
18
|
+
exports.RecommendationInfoFromJSONTyped = RecommendationInfoFromJSONTyped;
|
|
19
|
+
exports.RecommendationInfoToJSON = RecommendationInfoToJSON;
|
|
20
|
+
exports.RecommendationInfoToJSONTyped = RecommendationInfoToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the RecommendationInfo interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfRecommendationInfo(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function RecommendationInfoFromJSON(json) {
|
|
28
|
+
return RecommendationInfoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function RecommendationInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
36
|
+
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
37
|
+
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
38
|
+
'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function RecommendationInfoToJSON(json) {
|
|
42
|
+
return RecommendationInfoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function RecommendationInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'phoneNumber': value['phoneNumber'],
|
|
50
|
+
'countries': value['countries'],
|
|
51
|
+
'subdivisions': value['subdivisions'],
|
|
52
|
+
'ipAddresses': value['ipAddresses'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfRefreshStepContentRequest = instanceOfRefreshStepContentReques
|
|
|
17
17
|
exports.RefreshStepContentRequestFromJSON = RefreshStepContentRequestFromJSON;
|
|
18
18
|
exports.RefreshStepContentRequestFromJSONTyped = RefreshStepContentRequestFromJSONTyped;
|
|
19
19
|
exports.RefreshStepContentRequestToJSON = RefreshStepContentRequestToJSON;
|
|
20
|
+
exports.RefreshStepContentRequestToJSONTyped = RefreshStepContentRequestToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the RefreshStepContentRequest interface.
|
|
22
23
|
*/
|
|
@@ -34,7 +35,10 @@ function RefreshStepContentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
'resultsAccessKey': json['resultsAccessKey'] == null ? undefined : json['resultsAccessKey'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
|
-
function RefreshStepContentRequestToJSON(
|
|
38
|
+
function RefreshStepContentRequestToJSON(json) {
|
|
39
|
+
return RefreshStepContentRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function RefreshStepContentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
42
|
if (value == null) {
|
|
39
43
|
return value;
|
|
40
44
|
}
|
|
@@ -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;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfRefreshStepContentResponse = instanceOfRefreshStepContentRespo
|
|
|
17
17
|
exports.RefreshStepContentResponseFromJSON = RefreshStepContentResponseFromJSON;
|
|
18
18
|
exports.RefreshStepContentResponseFromJSONTyped = RefreshStepContentResponseFromJSONTyped;
|
|
19
19
|
exports.RefreshStepContentResponseToJSON = RefreshStepContentResponseToJSON;
|
|
20
|
+
exports.RefreshStepContentResponseToJSONTyped = RefreshStepContentResponseToJSONTyped;
|
|
20
21
|
const IntegrationStep_1 = require("./IntegrationStep");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the RefreshStepContentResponse interface.
|
|
@@ -37,7 +38,10 @@ function RefreshStepContentResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
38
|
'nextStep': (0, IntegrationStep_1.IntegrationStepFromJSON)(json['nextStep']),
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
|
-
function RefreshStepContentResponseToJSON(
|
|
41
|
+
function RefreshStepContentResponseToJSON(json) {
|
|
42
|
+
return RefreshStepContentResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function RefreshStepContentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
45
|
if (value == null) {
|
|
42
46
|
return value;
|
|
43
47
|
}
|
|
@@ -23,11 +23,17 @@ export interface ResultCollection {
|
|
|
23
23
|
*/
|
|
24
24
|
method: ResultCollectionMethod;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* The `resultsAccessKey` for the Acceptance Session.
|
|
27
|
+
*
|
|
28
|
+
* This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
|
|
29
|
+
*
|
|
30
|
+
* Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
|
|
31
|
+
*
|
|
32
|
+
* Trinsic cannot access a Session's Data Vault without this key.
|
|
27
33
|
* @type {string}
|
|
28
34
|
* @memberof ResultCollection
|
|
29
35
|
*/
|
|
30
|
-
resultsAccessKey
|
|
36
|
+
resultsAccessKey: string;
|
|
31
37
|
}
|
|
32
38
|
/**
|
|
33
39
|
* Check if a given object implements the ResultCollection interface.
|
|
@@ -35,4 +41,5 @@ export interface ResultCollection {
|
|
|
35
41
|
export declare function instanceOfResultCollection(value: object): value is ResultCollection;
|
|
36
42
|
export declare function ResultCollectionFromJSON(json: any): ResultCollection;
|
|
37
43
|
export declare function ResultCollectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultCollection;
|
|
38
|
-
export declare function ResultCollectionToJSON(
|
|
44
|
+
export declare function ResultCollectionToJSON(json: any): ResultCollection;
|
|
45
|
+
export declare function ResultCollectionToJSONTyped(value?: ResultCollection | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfResultCollection = instanceOfResultCollection;
|
|
|
17
17
|
exports.ResultCollectionFromJSON = ResultCollectionFromJSON;
|
|
18
18
|
exports.ResultCollectionFromJSONTyped = ResultCollectionFromJSONTyped;
|
|
19
19
|
exports.ResultCollectionToJSON = ResultCollectionToJSON;
|
|
20
|
+
exports.ResultCollectionToJSONTyped = ResultCollectionToJSONTyped;
|
|
20
21
|
const ResultCollectionMethod_1 = require("./ResultCollectionMethod");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the ResultCollection interface.
|
|
@@ -24,6 +25,8 @@ const ResultCollectionMethod_1 = require("./ResultCollectionMethod");
|
|
|
24
25
|
function instanceOfResultCollection(value) {
|
|
25
26
|
if (!('method' in value) || value['method'] === undefined)
|
|
26
27
|
return false;
|
|
28
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined)
|
|
29
|
+
return false;
|
|
27
30
|
return true;
|
|
28
31
|
}
|
|
29
32
|
function ResultCollectionFromJSON(json) {
|
|
@@ -35,10 +38,13 @@ function ResultCollectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
38
|
}
|
|
36
39
|
return {
|
|
37
40
|
'method': (0, ResultCollectionMethod_1.ResultCollectionMethodFromJSON)(json['method']),
|
|
38
|
-
'resultsAccessKey': json['resultsAccessKey']
|
|
41
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
39
42
|
};
|
|
40
43
|
}
|
|
41
|
-
function ResultCollectionToJSON(
|
|
44
|
+
function ResultCollectionToJSON(json) {
|
|
45
|
+
return ResultCollectionToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
function ResultCollectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
48
|
if (value == null) {
|
|
43
49
|
return value;
|
|
44
50
|
}
|
|
@@ -22,3 +22,4 @@ export declare function instanceOfResultCollectionMethod(value: any): boolean;
|
|
|
22
22
|
export declare function ResultCollectionMethodFromJSON(json: any): ResultCollectionMethod;
|
|
23
23
|
export declare function ResultCollectionMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultCollectionMethod;
|
|
24
24
|
export declare function ResultCollectionMethodToJSON(value?: ResultCollectionMethod | null): any;
|
|
25
|
+
export declare function ResultCollectionMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): ResultCollectionMethod;
|
|
@@ -18,6 +18,7 @@ exports.instanceOfResultCollectionMethod = instanceOfResultCollectionMethod;
|
|
|
18
18
|
exports.ResultCollectionMethodFromJSON = ResultCollectionMethodFromJSON;
|
|
19
19
|
exports.ResultCollectionMethodFromJSONTyped = ResultCollectionMethodFromJSONTyped;
|
|
20
20
|
exports.ResultCollectionMethodToJSON = ResultCollectionMethodToJSON;
|
|
21
|
+
exports.ResultCollectionMethodToJSONTyped = ResultCollectionMethodToJSONTyped;
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
@@ -45,3 +46,6 @@ function ResultCollectionMethodFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
46
|
function ResultCollectionMethodToJSON(value) {
|
|
46
47
|
return value;
|
|
47
48
|
}
|
|
49
|
+
function ResultCollectionMethodToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
package/dist/models/Session.d.ts
CHANGED
|
@@ -66,4 +66,5 @@ export interface Session {
|
|
|
66
66
|
export declare function instanceOfSession(value: object): value is Session;
|
|
67
67
|
export declare function SessionFromJSON(json: any): Session;
|
|
68
68
|
export declare function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Session;
|
|
69
|
-
export declare function SessionToJSON(
|
|
69
|
+
export declare function SessionToJSON(json: any): Session;
|
|
70
|
+
export declare function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/Session.js
CHANGED
|
@@ -17,6 +17,7 @@ exports.instanceOfSession = instanceOfSession;
|
|
|
17
17
|
exports.SessionFromJSON = SessionFromJSON;
|
|
18
18
|
exports.SessionFromJSONTyped = SessionFromJSONTyped;
|
|
19
19
|
exports.SessionToJSON = SessionToJSON;
|
|
20
|
+
exports.SessionToJSONTyped = SessionToJSONTyped;
|
|
20
21
|
const SessionErrorCode_1 = require("./SessionErrorCode");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the Session interface.
|
|
@@ -50,7 +51,10 @@ function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
51
|
'updated': json['updated'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
|
-
function SessionToJSON(
|
|
54
|
+
function SessionToJSON(json) {
|
|
55
|
+
return SessionToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function SessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
58
|
if (value == null) {
|
|
55
59
|
return value;
|
|
56
60
|
}
|
|
@@ -30,3 +30,4 @@ export declare function instanceOfSessionErrorCode(value: any): boolean;
|
|
|
30
30
|
export declare function SessionErrorCodeFromJSON(json: any): SessionErrorCode;
|
|
31
31
|
export declare function SessionErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionErrorCode;
|
|
32
32
|
export declare function SessionErrorCodeToJSON(value?: SessionErrorCode | null): any;
|
|
33
|
+
export declare function SessionErrorCodeToJSONTyped(value: any, ignoreDiscriminator: boolean): SessionErrorCode;
|
|
@@ -18,6 +18,7 @@ exports.instanceOfSessionErrorCode = instanceOfSessionErrorCode;
|
|
|
18
18
|
exports.SessionErrorCodeFromJSON = SessionErrorCodeFromJSON;
|
|
19
19
|
exports.SessionErrorCodeFromJSONTyped = SessionErrorCodeFromJSONTyped;
|
|
20
20
|
exports.SessionErrorCodeToJSON = SessionErrorCodeToJSON;
|
|
21
|
+
exports.SessionErrorCodeToJSONTyped = SessionErrorCodeToJSONTyped;
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
@@ -53,3 +54,6 @@ function SessionErrorCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
54
|
function SessionErrorCodeToJSON(value) {
|
|
54
55
|
return value;
|
|
55
56
|
}
|
|
57
|
+
function SessionErrorCodeToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
@@ -23,3 +23,4 @@ export declare function instanceOfSessionOrdering(value: any): boolean;
|
|
|
23
23
|
export declare function SessionOrderingFromJSON(json: any): SessionOrdering;
|
|
24
24
|
export declare function SessionOrderingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionOrdering;
|
|
25
25
|
export declare function SessionOrderingToJSON(value?: SessionOrdering | null): any;
|
|
26
|
+
export declare function SessionOrderingToJSONTyped(value: any, ignoreDiscriminator: boolean): SessionOrdering;
|
|
@@ -18,6 +18,7 @@ exports.instanceOfSessionOrdering = instanceOfSessionOrdering;
|
|
|
18
18
|
exports.SessionOrderingFromJSON = SessionOrderingFromJSON;
|
|
19
19
|
exports.SessionOrderingFromJSONTyped = SessionOrderingFromJSONTyped;
|
|
20
20
|
exports.SessionOrderingToJSON = SessionOrderingToJSON;
|
|
21
|
+
exports.SessionOrderingToJSONTyped = SessionOrderingToJSONTyped;
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
@@ -46,3 +47,6 @@ function SessionOrderingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
47
|
function SessionOrderingToJSON(value) {
|
|
47
48
|
return value;
|
|
48
49
|
}
|
|
50
|
+
function SessionOrderingToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
package/dist/models/Sex.d.ts
CHANGED
|
@@ -24,3 +24,4 @@ export declare function instanceOfSex(value: any): boolean;
|
|
|
24
24
|
export declare function SexFromJSON(json: any): Sex;
|
|
25
25
|
export declare function SexFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sex;
|
|
26
26
|
export declare function SexToJSON(value?: Sex | null): any;
|
|
27
|
+
export declare function SexToJSONTyped(value: any, ignoreDiscriminator: boolean): Sex;
|
package/dist/models/Sex.js
CHANGED
|
@@ -18,6 +18,7 @@ exports.instanceOfSex = instanceOfSex;
|
|
|
18
18
|
exports.SexFromJSON = SexFromJSON;
|
|
19
19
|
exports.SexFromJSONTyped = SexFromJSONTyped;
|
|
20
20
|
exports.SexToJSON = SexToJSON;
|
|
21
|
+
exports.SexToJSONTyped = SexToJSONTyped;
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
@@ -47,3 +48,6 @@ function SexFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
48
|
function SexToJSON(value) {
|
|
48
49
|
return value;
|
|
49
50
|
}
|
|
51
|
+
function SexToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SmartIdInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SmartIdInput {
|
|
18
|
+
/**
|
|
19
|
+
* The user's Smart ID Document Number
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SmartIdInput
|
|
22
|
+
*/
|
|
23
|
+
smartIdDocumentNumber?: string | null;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the SmartIdInput interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfSmartIdInput(value: object): value is SmartIdInput;
|
|
29
|
+
export declare function SmartIdInputFromJSON(json: any): SmartIdInput;
|
|
30
|
+
export declare function SmartIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartIdInput;
|
|
31
|
+
export declare function SmartIdInputToJSON(json: any): SmartIdInput;
|
|
32
|
+
export declare function SmartIdInputToJSONTyped(value?: SmartIdInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSmartIdInput = instanceOfSmartIdInput;
|
|
17
|
+
exports.SmartIdInputFromJSON = SmartIdInputFromJSON;
|
|
18
|
+
exports.SmartIdInputFromJSONTyped = SmartIdInputFromJSONTyped;
|
|
19
|
+
exports.SmartIdInputToJSON = SmartIdInputToJSON;
|
|
20
|
+
exports.SmartIdInputToJSONTyped = SmartIdInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SmartIdInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSmartIdInput(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SmartIdInputFromJSON(json) {
|
|
28
|
+
return SmartIdInputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SmartIdInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'smartIdDocumentNumber': json['smartIdDocumentNumber'] == null ? undefined : json['smartIdDocumentNumber'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function SmartIdInputToJSON(json) {
|
|
39
|
+
return SmartIdInputToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function SmartIdInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'smartIdDocumentNumber': value['smartIdDocumentNumber'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -46,4 +46,5 @@ export interface SouthAfricaNidInput {
|
|
|
46
46
|
export declare function instanceOfSouthAfricaNidInput(value: object): value is SouthAfricaNidInput;
|
|
47
47
|
export declare function SouthAfricaNidInputFromJSON(json: any): SouthAfricaNidInput;
|
|
48
48
|
export declare function SouthAfricaNidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SouthAfricaNidInput;
|
|
49
|
-
export declare function SouthAfricaNidInputToJSON(
|
|
49
|
+
export declare function SouthAfricaNidInputToJSON(json: any): SouthAfricaNidInput;
|
|
50
|
+
export declare function SouthAfricaNidInputToJSONTyped(value?: SouthAfricaNidInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfSouthAfricaNidInput = instanceOfSouthAfricaNidInput;
|
|
|
17
17
|
exports.SouthAfricaNidInputFromJSON = SouthAfricaNidInputFromJSON;
|
|
18
18
|
exports.SouthAfricaNidInputFromJSONTyped = SouthAfricaNidInputFromJSONTyped;
|
|
19
19
|
exports.SouthAfricaNidInputToJSON = SouthAfricaNidInputToJSON;
|
|
20
|
+
exports.SouthAfricaNidInputToJSONTyped = SouthAfricaNidInputToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the SouthAfricaNidInput interface.
|
|
22
23
|
*/
|
|
@@ -45,7 +46,10 @@ function SouthAfricaNidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
46
|
'nationalIdNumber': json['nationalIdNumber'],
|
|
46
47
|
};
|
|
47
48
|
}
|
|
48
|
-
function SouthAfricaNidInputToJSON(
|
|
49
|
+
function SouthAfricaNidInputToJSON(json) {
|
|
50
|
+
return SouthAfricaNidInputToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function SouthAfricaNidInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
53
|
if (value == null) {
|
|
50
54
|
return value;
|
|
51
55
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Trinsic API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: v1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SpidInput
|
|
16
|
+
*/
|
|
17
|
+
export interface SpidInput {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the specific IDP to invoke within SPID.
|
|
20
|
+
*
|
|
21
|
+
* If not specified, the user will be prompted to select an IDP.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof SpidInput
|
|
24
|
+
*/
|
|
25
|
+
subProviderId?: string | null;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the SpidInput interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfSpidInput(value: object): value is SpidInput;
|
|
31
|
+
export declare function SpidInputFromJSON(json: any): SpidInput;
|
|
32
|
+
export declare function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidInput;
|
|
33
|
+
export declare function SpidInputToJSON(json: any): SpidInput;
|
|
34
|
+
export declare function SpidInputToJSONTyped(value?: SpidInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Trinsic API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: v1
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfSpidInput = instanceOfSpidInput;
|
|
17
|
+
exports.SpidInputFromJSON = SpidInputFromJSON;
|
|
18
|
+
exports.SpidInputFromJSONTyped = SpidInputFromJSONTyped;
|
|
19
|
+
exports.SpidInputToJSON = SpidInputToJSON;
|
|
20
|
+
exports.SpidInputToJSONTyped = SpidInputToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the SpidInput interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfSpidInput(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function SpidInputFromJSON(json) {
|
|
28
|
+
return SpidInputFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function SpidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function SpidInputToJSON(json) {
|
|
39
|
+
return SpidInputToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function SpidInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'subProviderId': value['subProviderId'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -42,4 +42,5 @@ export interface StepRefreshInfo {
|
|
|
42
42
|
export declare function instanceOfStepRefreshInfo(value: object): value is StepRefreshInfo;
|
|
43
43
|
export declare function StepRefreshInfoFromJSON(json: any): StepRefreshInfo;
|
|
44
44
|
export declare function StepRefreshInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): StepRefreshInfo;
|
|
45
|
-
export declare function StepRefreshInfoToJSON(
|
|
45
|
+
export declare function StepRefreshInfoToJSON(json: any): StepRefreshInfo;
|
|
46
|
+
export declare function StepRefreshInfoToJSONTyped(value?: StepRefreshInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfStepRefreshInfo = instanceOfStepRefreshInfo;
|
|
|
17
17
|
exports.StepRefreshInfoFromJSON = StepRefreshInfoFromJSON;
|
|
18
18
|
exports.StepRefreshInfoFromJSONTyped = StepRefreshInfoFromJSONTyped;
|
|
19
19
|
exports.StepRefreshInfoToJSON = StepRefreshInfoToJSON;
|
|
20
|
+
exports.StepRefreshInfoToJSONTyped = StepRefreshInfoToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the StepRefreshInfo interface.
|
|
22
23
|
*/
|
|
@@ -42,7 +43,10 @@ function StepRefreshInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
43
|
'timeToLiveSeconds': json['timeToLiveSeconds'],
|
|
43
44
|
};
|
|
44
45
|
}
|
|
45
|
-
function StepRefreshInfoToJSON(
|
|
46
|
+
function StepRefreshInfoToJSON(json) {
|
|
47
|
+
return StepRefreshInfoToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function StepRefreshInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
46
50
|
if (value == null) {
|
|
47
51
|
return value;
|
|
48
52
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
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 about a sub-provider.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SubProviderMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface SubProviderMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* The ID of the sub-provider.
|
|
20
|
+
*
|
|
21
|
+
* This cannot be used as a standalone Provider ID when creating a Session. It must
|
|
22
|
+
* be passed in via the Provider-specific input.
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof SubProviderMetadata
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
/**
|
|
28
|
+
* The name of the sub-provider
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof SubProviderMetadata
|
|
31
|
+
*/
|
|
32
|
+
name: string;
|
|
33
|
+
/**
|
|
34
|
+
* Flavor text for the sub-provider
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof SubProviderMetadata
|
|
37
|
+
*/
|
|
38
|
+
description: string;
|
|
39
|
+
/**
|
|
40
|
+
* A URL pointing to the logo on Trinsic's CDN.
|
|
41
|
+
*
|
|
42
|
+
* May be a PNG, JPG, or SVG image.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof SubProviderMetadata
|
|
45
|
+
*/
|
|
46
|
+
logoUrl: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the SubProviderMetadata interface.
|
|
50
|
+
*/
|
|
51
|
+
export declare function instanceOfSubProviderMetadata(value: object): value is SubProviderMetadata;
|
|
52
|
+
export declare function SubProviderMetadataFromJSON(json: any): SubProviderMetadata;
|
|
53
|
+
export declare function SubProviderMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubProviderMetadata;
|
|
54
|
+
export declare function SubProviderMetadataToJSON(json: any): SubProviderMetadata;
|
|
55
|
+
export declare function SubProviderMetadataToJSONTyped(value?: SubProviderMetadata | null, ignoreDiscriminator?: boolean): any;
|