@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
|
@@ -13,72 +13,125 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
17
|
-
import {
|
|
18
|
-
PhilippineQRInputFromJSON,
|
|
19
|
-
PhilippineQRInputFromJSONTyped,
|
|
20
|
-
PhilippineQRInputToJSON,
|
|
21
|
-
} from './PhilippineQRInput';
|
|
22
16
|
import type { BangladeshNationalIdInput } from './BangladeshNationalIdInput';
|
|
23
17
|
import {
|
|
24
18
|
BangladeshNationalIdInputFromJSON,
|
|
25
19
|
BangladeshNationalIdInputFromJSONTyped,
|
|
26
20
|
BangladeshNationalIdInputToJSON,
|
|
21
|
+
BangladeshNationalIdInputToJSONTyped,
|
|
27
22
|
} from './BangladeshNationalIdInput';
|
|
28
|
-
import type { AadhaarInput } from './AadhaarInput';
|
|
29
|
-
import {
|
|
30
|
-
AadhaarInputFromJSON,
|
|
31
|
-
AadhaarInputFromJSONTyped,
|
|
32
|
-
AadhaarInputToJSON,
|
|
33
|
-
} from './AadhaarInput';
|
|
34
|
-
import type { KenyaNidInput } from './KenyaNidInput';
|
|
35
|
-
import {
|
|
36
|
-
KenyaNidInputFromJSON,
|
|
37
|
-
KenyaNidInputFromJSONTyped,
|
|
38
|
-
KenyaNidInputToJSON,
|
|
39
|
-
} from './KenyaNidInput';
|
|
40
|
-
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
41
|
-
import {
|
|
42
|
-
NigeriaNinInputFromJSON,
|
|
43
|
-
NigeriaNinInputFromJSONTyped,
|
|
44
|
-
NigeriaNinInputToJSON,
|
|
45
|
-
} from './NigeriaNinInput';
|
|
46
23
|
import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
|
|
47
24
|
import {
|
|
48
25
|
BrazilCpfCheckInputFromJSON,
|
|
49
26
|
BrazilCpfCheckInputFromJSONTyped,
|
|
50
27
|
BrazilCpfCheckInputToJSON,
|
|
28
|
+
BrazilCpfCheckInputToJSONTyped,
|
|
51
29
|
} from './BrazilCpfCheckInput';
|
|
52
30
|
import type { MexicoCurpInput } from './MexicoCurpInput';
|
|
53
31
|
import {
|
|
54
32
|
MexicoCurpInputFromJSON,
|
|
55
33
|
MexicoCurpInputFromJSONTyped,
|
|
56
34
|
MexicoCurpInputToJSON,
|
|
35
|
+
MexicoCurpInputToJSONTyped,
|
|
57
36
|
} from './MexicoCurpInput';
|
|
58
37
|
import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
|
|
59
38
|
import {
|
|
60
39
|
BrazilDigitalCnhInputFromJSON,
|
|
61
40
|
BrazilDigitalCnhInputFromJSONTyped,
|
|
62
41
|
BrazilDigitalCnhInputToJSON,
|
|
42
|
+
BrazilDigitalCnhInputToJSONTyped,
|
|
63
43
|
} from './BrazilDigitalCnhInput';
|
|
64
|
-
import type {
|
|
44
|
+
import type { TrinsicTestSubProvidersInput } from './TrinsicTestSubProvidersInput';
|
|
65
45
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
46
|
+
TrinsicTestSubProvidersInputFromJSON,
|
|
47
|
+
TrinsicTestSubProvidersInputFromJSONTyped,
|
|
48
|
+
TrinsicTestSubProvidersInputToJSON,
|
|
49
|
+
TrinsicTestSubProvidersInputToJSONTyped,
|
|
50
|
+
} from './TrinsicTestSubProvidersInput';
|
|
51
|
+
import type { SpidInput } from './SpidInput';
|
|
52
|
+
import {
|
|
53
|
+
SpidInputFromJSON,
|
|
54
|
+
SpidInputFromJSONTyped,
|
|
55
|
+
SpidInputToJSON,
|
|
56
|
+
SpidInputToJSONTyped,
|
|
57
|
+
} from './SpidInput';
|
|
70
58
|
import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
|
|
71
59
|
import {
|
|
72
60
|
SouthAfricaNidInputFromJSON,
|
|
73
61
|
SouthAfricaNidInputFromJSONTyped,
|
|
74
62
|
SouthAfricaNidInputToJSON,
|
|
63
|
+
SouthAfricaNidInputToJSONTyped,
|
|
75
64
|
} from './SouthAfricaNidInput';
|
|
76
65
|
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
77
66
|
import {
|
|
78
67
|
PhilippineMatchInputFromJSON,
|
|
79
68
|
PhilippineMatchInputFromJSONTyped,
|
|
80
69
|
PhilippineMatchInputToJSON,
|
|
70
|
+
PhilippineMatchInputToJSONTyped,
|
|
81
71
|
} from './PhilippineMatchInput';
|
|
72
|
+
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
73
|
+
import {
|
|
74
|
+
PhilippineQRInputFromJSON,
|
|
75
|
+
PhilippineQRInputFromJSONTyped,
|
|
76
|
+
PhilippineQRInputToJSON,
|
|
77
|
+
PhilippineQRInputToJSONTyped,
|
|
78
|
+
} from './PhilippineQRInput';
|
|
79
|
+
import type { AadhaarInput } from './AadhaarInput';
|
|
80
|
+
import {
|
|
81
|
+
AadhaarInputFromJSON,
|
|
82
|
+
AadhaarInputFromJSONTyped,
|
|
83
|
+
AadhaarInputToJSON,
|
|
84
|
+
AadhaarInputToJSONTyped,
|
|
85
|
+
} from './AadhaarInput';
|
|
86
|
+
import type { KenyaNidInput } from './KenyaNidInput';
|
|
87
|
+
import {
|
|
88
|
+
KenyaNidInputFromJSON,
|
|
89
|
+
KenyaNidInputFromJSONTyped,
|
|
90
|
+
KenyaNidInputToJSON,
|
|
91
|
+
KenyaNidInputToJSONTyped,
|
|
92
|
+
} from './KenyaNidInput';
|
|
93
|
+
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
94
|
+
import {
|
|
95
|
+
NigeriaNinInputFromJSON,
|
|
96
|
+
NigeriaNinInputFromJSONTyped,
|
|
97
|
+
NigeriaNinInputToJSON,
|
|
98
|
+
NigeriaNinInputToJSONTyped,
|
|
99
|
+
} from './NigeriaNinInput';
|
|
100
|
+
import type { SmartIdInput } from './SmartIdInput';
|
|
101
|
+
import {
|
|
102
|
+
SmartIdInputFromJSON,
|
|
103
|
+
SmartIdInputFromJSONTyped,
|
|
104
|
+
SmartIdInputToJSON,
|
|
105
|
+
SmartIdInputToJSONTyped,
|
|
106
|
+
} from './SmartIdInput';
|
|
107
|
+
import type { MobileIdInput } from './MobileIdInput';
|
|
108
|
+
import {
|
|
109
|
+
MobileIdInputFromJSON,
|
|
110
|
+
MobileIdInputFromJSONTyped,
|
|
111
|
+
MobileIdInputToJSON,
|
|
112
|
+
MobileIdInputToJSONTyped,
|
|
113
|
+
} from './MobileIdInput';
|
|
114
|
+
import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
|
|
115
|
+
import {
|
|
116
|
+
TrinsicTestDatabaseLookupInputFromJSON,
|
|
117
|
+
TrinsicTestDatabaseLookupInputFromJSONTyped,
|
|
118
|
+
TrinsicTestDatabaseLookupInputToJSON,
|
|
119
|
+
TrinsicTestDatabaseLookupInputToJSONTyped,
|
|
120
|
+
} from './TrinsicTestDatabaseLookupInput';
|
|
121
|
+
import type { IndonesiaNikInput } from './IndonesiaNikInput';
|
|
122
|
+
import {
|
|
123
|
+
IndonesiaNikInputFromJSON,
|
|
124
|
+
IndonesiaNikInputFromJSONTyped,
|
|
125
|
+
IndonesiaNikInputToJSON,
|
|
126
|
+
IndonesiaNikInputToJSONTyped,
|
|
127
|
+
} from './IndonesiaNikInput';
|
|
128
|
+
import type { IdinInput } from './IdinInput';
|
|
129
|
+
import {
|
|
130
|
+
IdinInputFromJSON,
|
|
131
|
+
IdinInputFromJSONTyped,
|
|
132
|
+
IdinInputToJSON,
|
|
133
|
+
IdinInputToJSONTyped,
|
|
134
|
+
} from './IdinInput';
|
|
82
135
|
|
|
83
136
|
/**
|
|
84
137
|
*
|
|
@@ -87,71 +140,111 @@ import {
|
|
|
87
140
|
*/
|
|
88
141
|
export interface ProviderInput {
|
|
89
142
|
/**
|
|
90
|
-
* Input for the `f-indonesia-nik`
|
|
143
|
+
* Input for the `f-indonesia-nik` provider
|
|
91
144
|
* @type {IndonesiaNikInput}
|
|
92
145
|
* @memberof ProviderInput
|
|
93
146
|
*/
|
|
94
147
|
indonesiaNik?: IndonesiaNikInput | null;
|
|
95
148
|
/**
|
|
96
|
-
* Input for the `f-mexico-curp`
|
|
149
|
+
* Input for the `f-mexico-curp` provider
|
|
97
150
|
* @type {MexicoCurpInput}
|
|
98
151
|
* @memberof ProviderInput
|
|
99
152
|
*/
|
|
100
153
|
mexicoCurp?: MexicoCurpInput | null;
|
|
101
154
|
/**
|
|
102
|
-
* Input for the `f-south-africa-nid`
|
|
155
|
+
* Input for the `f-south-africa-nid` provider
|
|
103
156
|
* @type {SouthAfricaNidInput}
|
|
104
157
|
* @memberof ProviderInput
|
|
105
158
|
*/
|
|
106
159
|
southAfricaNid?: SouthAfricaNidInput | null;
|
|
107
160
|
/**
|
|
108
|
-
* Input for the `f-kenya-nid`
|
|
161
|
+
* Input for the `f-kenya-nid` provider
|
|
109
162
|
* @type {KenyaNidInput}
|
|
110
163
|
* @memberof ProviderInput
|
|
111
164
|
*/
|
|
112
165
|
kenyaNid?: KenyaNidInput | null;
|
|
113
166
|
/**
|
|
114
|
-
* Input for the `f-nigeria-nin`
|
|
167
|
+
* Input for the `f-nigeria-nin` provider
|
|
115
168
|
* @type {NigeriaNinInput}
|
|
116
169
|
* @memberof ProviderInput
|
|
117
170
|
*/
|
|
118
171
|
nigeriaNin?: NigeriaNinInput | null;
|
|
119
172
|
/**
|
|
120
|
-
* Input for the `f-india-aadhaar-match`
|
|
173
|
+
* Input for the `f-india-aadhaar-match` provider
|
|
121
174
|
* @type {AadhaarInput}
|
|
122
175
|
* @memberof ProviderInput
|
|
123
176
|
*/
|
|
124
177
|
aadhaar?: AadhaarInput | null;
|
|
125
178
|
/**
|
|
126
|
-
* Input for the `bangladesh-nid`
|
|
179
|
+
* Input for the `bangladesh-nid` provider
|
|
127
180
|
* @type {BangladeshNationalIdInput}
|
|
128
181
|
* @memberof ProviderInput
|
|
129
182
|
*/
|
|
130
183
|
bangladeshNationalId?: BangladeshNationalIdInput | null;
|
|
131
184
|
/**
|
|
132
|
-
* Input for the `g-brazil-cpf`
|
|
185
|
+
* Input for the `g-brazil-cpf` provider
|
|
133
186
|
* @type {BrazilCpfCheckInput}
|
|
134
187
|
* @memberof ProviderInput
|
|
135
188
|
*/
|
|
136
189
|
brazilCpfCheck?: BrazilCpfCheckInput | null;
|
|
137
190
|
/**
|
|
138
|
-
* Input for the `g-brazil-digital-cnh`
|
|
191
|
+
* Input for the `g-brazil-digital-cnh` provider
|
|
139
192
|
* @type {BrazilDigitalCnhInput}
|
|
140
193
|
* @memberof ProviderInput
|
|
141
194
|
*/
|
|
142
195
|
brazilDigitalCnh?: BrazilDigitalCnhInput | null;
|
|
143
196
|
/**
|
|
144
|
-
* Input for the `b-philsys-biometric`
|
|
197
|
+
* Input for the `b-philsys-biometric` provider
|
|
145
198
|
* @type {PhilippineMatchInput}
|
|
146
199
|
* @memberof ProviderInput
|
|
147
200
|
*/
|
|
148
201
|
philippineMatch?: PhilippineMatchInput | null;
|
|
149
202
|
/**
|
|
150
|
-
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id`
|
|
203
|
+
* Input for the `b-philippine-qr-digital-national-id` and `b-philippine-qr-ephill-id` providers
|
|
151
204
|
* @type {PhilippineQRInput}
|
|
152
205
|
* @memberof ProviderInput
|
|
153
206
|
*/
|
|
154
207
|
philippineQR?: PhilippineQRInput | null;
|
|
208
|
+
/**
|
|
209
|
+
* Input for the `smart-id` provider
|
|
210
|
+
* @type {SmartIdInput}
|
|
211
|
+
* @memberof ProviderInput
|
|
212
|
+
*/
|
|
213
|
+
smartId?: SmartIdInput | null;
|
|
214
|
+
/**
|
|
215
|
+
* Input for the `mobile-id` provider
|
|
216
|
+
* @type {MobileIdInput}
|
|
217
|
+
* @memberof ProviderInput
|
|
218
|
+
*/
|
|
219
|
+
mobileId?: MobileIdInput | null;
|
|
220
|
+
/**
|
|
221
|
+
* Input for the `idin` provider
|
|
222
|
+
* @type {IdinInput}
|
|
223
|
+
* @memberof ProviderInput
|
|
224
|
+
*/
|
|
225
|
+
idin?: IdinInput | null;
|
|
226
|
+
/**
|
|
227
|
+
* Input for the `spid` provider
|
|
228
|
+
* @type {SpidInput}
|
|
229
|
+
* @memberof ProviderInput
|
|
230
|
+
*/
|
|
231
|
+
spid?: SpidInput | null;
|
|
232
|
+
/**
|
|
233
|
+
* *TEST MODE ONLY.*
|
|
234
|
+
*
|
|
235
|
+
* Input for the `trinsic-test-database-lookup` provider
|
|
236
|
+
* @type {TrinsicTestDatabaseLookupInput}
|
|
237
|
+
* @memberof ProviderInput
|
|
238
|
+
*/
|
|
239
|
+
trinsicTestDatabaseLookup?: TrinsicTestDatabaseLookupInput | null;
|
|
240
|
+
/**
|
|
241
|
+
* *TEST MODE ONLY.*
|
|
242
|
+
*
|
|
243
|
+
* Input for the `trinsic-test-sub-providers` provider
|
|
244
|
+
* @type {TrinsicTestSubProvidersInput}
|
|
245
|
+
* @memberof ProviderInput
|
|
246
|
+
*/
|
|
247
|
+
trinsicTestSubProviders?: TrinsicTestSubProvidersInput | null;
|
|
155
248
|
}
|
|
156
249
|
|
|
157
250
|
/**
|
|
@@ -182,13 +275,24 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
182
275
|
'brazilDigitalCnh': json['brazilDigitalCnh'] == null ? undefined : BrazilDigitalCnhInputFromJSON(json['brazilDigitalCnh']),
|
|
183
276
|
'philippineMatch': json['philippineMatch'] == null ? undefined : PhilippineMatchInputFromJSON(json['philippineMatch']),
|
|
184
277
|
'philippineQR': json['philippineQR'] == null ? undefined : PhilippineQRInputFromJSON(json['philippineQR']),
|
|
278
|
+
'smartId': json['smartId'] == null ? undefined : SmartIdInputFromJSON(json['smartId']),
|
|
279
|
+
'mobileId': json['mobileId'] == null ? undefined : MobileIdInputFromJSON(json['mobileId']),
|
|
280
|
+
'idin': json['idin'] == null ? undefined : IdinInputFromJSON(json['idin']),
|
|
281
|
+
'spid': json['spid'] == null ? undefined : SpidInputFromJSON(json['spid']),
|
|
282
|
+
'trinsicTestDatabaseLookup': json['trinsicTestDatabaseLookup'] == null ? undefined : TrinsicTestDatabaseLookupInputFromJSON(json['trinsicTestDatabaseLookup']),
|
|
283
|
+
'trinsicTestSubProviders': json['trinsicTestSubProviders'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsicTestSubProviders']),
|
|
185
284
|
};
|
|
186
285
|
}
|
|
187
286
|
|
|
188
|
-
export function ProviderInputToJSON(
|
|
287
|
+
export function ProviderInputToJSON(json: any): ProviderInput {
|
|
288
|
+
return ProviderInputToJSONTyped(json, false);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDiscriminator: boolean = false): any {
|
|
189
292
|
if (value == null) {
|
|
190
293
|
return value;
|
|
191
294
|
}
|
|
295
|
+
|
|
192
296
|
return {
|
|
193
297
|
|
|
194
298
|
'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
|
|
@@ -202,6 +306,12 @@ export function ProviderInputToJSON(value?: ProviderInput | null): any {
|
|
|
202
306
|
'brazilDigitalCnh': BrazilDigitalCnhInputToJSON(value['brazilDigitalCnh']),
|
|
203
307
|
'philippineMatch': PhilippineMatchInputToJSON(value['philippineMatch']),
|
|
204
308
|
'philippineQR': PhilippineQRInputToJSON(value['philippineQR']),
|
|
309
|
+
'smartId': SmartIdInputToJSON(value['smartId']),
|
|
310
|
+
'mobileId': MobileIdInputToJSON(value['mobileId']),
|
|
311
|
+
'idin': IdinInputToJSON(value['idin']),
|
|
312
|
+
'spid': SpidInputToJSON(value['spid']),
|
|
313
|
+
'trinsicTestDatabaseLookup': TrinsicTestDatabaseLookupInputToJSON(value['trinsicTestDatabaseLookup']),
|
|
314
|
+
'trinsicTestSubProviders': TrinsicTestSubProvidersInputToJSON(value['trinsicTestSubProviders']),
|
|
205
315
|
};
|
|
206
316
|
}
|
|
207
317
|
|
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { RecommendationInfo } from './RecommendationInfo';
|
|
17
|
+
import {
|
|
18
|
+
RecommendationInfoFromJSON,
|
|
19
|
+
RecommendationInfoFromJSONTyped,
|
|
20
|
+
RecommendationInfoToJSON,
|
|
21
|
+
RecommendationInfoToJSONTyped,
|
|
22
|
+
} from './RecommendationInfo';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -20,35 +28,11 @@ import { mapValues } from '../runtime';
|
|
|
20
28
|
*/
|
|
21
29
|
export interface RecommendRequest {
|
|
22
30
|
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {
|
|
25
|
-
* @memberof RecommendRequest
|
|
26
|
-
*/
|
|
27
|
-
phoneNumber?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
* A list of countries, in alpha-2 ISO 3166 format, you wish to specify for the recommendation, this can include the user's country of residence, nationality, etc.
|
|
30
|
-
* @type {Array<string>}
|
|
31
|
-
* @memberof RecommendRequest
|
|
32
|
-
*/
|
|
33
|
-
countries?: Array<string> | null;
|
|
34
|
-
/**
|
|
35
|
-
* If one of the countries has subdivisions, for example the US states, you can specify a list of these to further refine the recommendation (e.g., CA, UT, NY)
|
|
36
|
-
* @type {Array<string>}
|
|
37
|
-
* @memberof RecommendRequest
|
|
38
|
-
*/
|
|
39
|
-
subdivisions?: Array<string> | null;
|
|
40
|
-
/**
|
|
41
|
-
* Provide the IP addresses of the user you wish to generate a recommendation for. Will be used to look up the user's geographic location.
|
|
42
|
-
* @type {Array<string>}
|
|
43
|
-
* @memberof RecommendRequest
|
|
44
|
-
*/
|
|
45
|
-
ipAddresses?: Array<string> | null;
|
|
46
|
-
/**
|
|
47
|
-
* If true, the recommendation will include providers that are disabled for the app
|
|
48
|
-
* @type {boolean}
|
|
31
|
+
* Information about the user you wish to generate a recommendation for.
|
|
32
|
+
* @type {RecommendationInfo}
|
|
49
33
|
* @memberof RecommendRequest
|
|
50
34
|
*/
|
|
51
|
-
|
|
35
|
+
recommendationInfo?: RecommendationInfo | null;
|
|
52
36
|
}
|
|
53
37
|
|
|
54
38
|
/**
|
|
@@ -68,25 +52,22 @@ export function RecommendRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
68
52
|
}
|
|
69
53
|
return {
|
|
70
54
|
|
|
71
|
-
'
|
|
72
|
-
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
73
|
-
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
74
|
-
'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
|
|
75
|
-
'includeDisabledProviders': json['includeDisabledProviders'] == null ? undefined : json['includeDisabledProviders'],
|
|
55
|
+
'recommendationInfo': json['recommendationInfo'] == null ? undefined : RecommendationInfoFromJSON(json['recommendationInfo']),
|
|
76
56
|
};
|
|
77
57
|
}
|
|
78
58
|
|
|
79
|
-
export function RecommendRequestToJSON(
|
|
59
|
+
export function RecommendRequestToJSON(json: any): RecommendRequest {
|
|
60
|
+
return RecommendRequestToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function RecommendRequestToJSONTyped(value?: RecommendRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
80
64
|
if (value == null) {
|
|
81
65
|
return value;
|
|
82
66
|
}
|
|
67
|
+
|
|
83
68
|
return {
|
|
84
69
|
|
|
85
|
-
'
|
|
86
|
-
'countries': value['countries'],
|
|
87
|
-
'subdivisions': value['subdivisions'],
|
|
88
|
-
'ipAddresses': value['ipAddresses'],
|
|
89
|
-
'includeDisabledProviders': value['includeDisabledProviders'],
|
|
70
|
+
'recommendationInfo': RecommendationInfoToJSON(value['recommendationInfo']),
|
|
90
71
|
};
|
|
91
72
|
}
|
|
92
73
|
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
ProviderInformationFromJSON,
|
|
19
19
|
ProviderInformationFromJSONTyped,
|
|
20
20
|
ProviderInformationToJSON,
|
|
21
|
+
ProviderInformationToJSONTyped,
|
|
21
22
|
} from './ProviderInformation';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -72,10 +73,15 @@ export function RecommendResponseFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
72
73
|
};
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
export function RecommendResponseToJSON(
|
|
76
|
+
export function RecommendResponseToJSON(json: any): RecommendResponse {
|
|
77
|
+
return RecommendResponseToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function RecommendResponseToJSONTyped(value?: RecommendResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
76
81
|
if (value == null) {
|
|
77
82
|
return value;
|
|
78
83
|
}
|
|
84
|
+
|
|
79
85
|
return {
|
|
80
86
|
|
|
81
87
|
'recognized': ((value['recognized'] as Array<any>).map(ProviderInformationToJSON)),
|
|
@@ -0,0 +1,95 @@
|
|
|
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
|
+
/**
|
|
17
|
+
* Information relating to a user; used to generated Identity Provider recommendations.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface RecommendationInfo
|
|
20
|
+
*/
|
|
21
|
+
export interface RecommendationInfo {
|
|
22
|
+
/**
|
|
23
|
+
* The phone number of the user you wish to generate a recommendation for.
|
|
24
|
+
*
|
|
25
|
+
* Will be used to look up the user's identity in the network, as well as to determine the user's geographic location.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RecommendationInfo
|
|
28
|
+
*/
|
|
29
|
+
phoneNumber?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* A list of countries, in alpha-2 ISO 3166 format, which the user is related to.
|
|
32
|
+
*
|
|
33
|
+
* This can include the user's country of residence, nationality, etc.
|
|
34
|
+
* @type {Array<string>}
|
|
35
|
+
* @memberof RecommendationInfo
|
|
36
|
+
*/
|
|
37
|
+
countries?: Array<string> | null;
|
|
38
|
+
/**
|
|
39
|
+
* If one of the countries has subdivisions (for example: US states), specify those related to the user here (e.g., CA, UT, NY)
|
|
40
|
+
* @type {Array<string>}
|
|
41
|
+
* @memberof RecommendationInfo
|
|
42
|
+
*/
|
|
43
|
+
subdivisions?: Array<string> | null;
|
|
44
|
+
/**
|
|
45
|
+
* Any IP addresses related to the user.
|
|
46
|
+
*
|
|
47
|
+
* Will be used to determine the user's geographic location.
|
|
48
|
+
* @type {Array<string>}
|
|
49
|
+
* @memberof RecommendationInfo
|
|
50
|
+
*/
|
|
51
|
+
ipAddresses?: Array<string> | null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the RecommendationInfo interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfRecommendationInfo(value: object): value is RecommendationInfo {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function RecommendationInfoFromJSON(json: any): RecommendationInfo {
|
|
62
|
+
return RecommendationInfoFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function RecommendationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendationInfo {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'phoneNumber': json['phoneNumber'] == null ? undefined : json['phoneNumber'],
|
|
72
|
+
'countries': json['countries'] == null ? undefined : json['countries'],
|
|
73
|
+
'subdivisions': json['subdivisions'] == null ? undefined : json['subdivisions'],
|
|
74
|
+
'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function RecommendationInfoToJSON(json: any): RecommendationInfo {
|
|
79
|
+
return RecommendationInfoToJSONTyped(json, false);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function RecommendationInfoToJSONTyped(value?: RecommendationInfo | null, ignoreDiscriminator: boolean = false): any {
|
|
83
|
+
if (value == null) {
|
|
84
|
+
return value;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
|
|
89
|
+
'phoneNumber': value['phoneNumber'],
|
|
90
|
+
'countries': value['countries'],
|
|
91
|
+
'subdivisions': value['subdivisions'],
|
|
92
|
+
'ipAddresses': value['ipAddresses'],
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -48,10 +48,15 @@ export function RefreshStepContentRequestFromJSONTyped(json: any, ignoreDiscrimi
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function RefreshStepContentRequestToJSON(
|
|
51
|
+
export function RefreshStepContentRequestToJSON(json: any): RefreshStepContentRequest {
|
|
52
|
+
return RefreshStepContentRequestToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function RefreshStepContentRequestToJSONTyped(value?: RefreshStepContentRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
52
56
|
if (value == null) {
|
|
53
57
|
return value;
|
|
54
58
|
}
|
|
59
|
+
|
|
55
60
|
return {
|
|
56
61
|
|
|
57
62
|
'resultsAccessKey': value['resultsAccessKey'],
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
IntegrationStepFromJSON,
|
|
19
19
|
IntegrationStepFromJSONTyped,
|
|
20
20
|
IntegrationStepToJSON,
|
|
21
|
+
IntegrationStepToJSONTyped,
|
|
21
22
|
} from './IntegrationStep';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -56,10 +57,15 @@ export function RefreshStepContentResponseFromJSONTyped(json: any, ignoreDiscrim
|
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
export function RefreshStepContentResponseToJSON(
|
|
60
|
+
export function RefreshStepContentResponseToJSON(json: any): RefreshStepContentResponse {
|
|
61
|
+
return RefreshStepContentResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function RefreshStepContentResponseToJSONTyped(value?: RefreshStepContentResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
60
65
|
if (value == null) {
|
|
61
66
|
return value;
|
|
62
67
|
}
|
|
68
|
+
|
|
63
69
|
return {
|
|
64
70
|
|
|
65
71
|
'nextStep': IntegrationStepToJSON(value['nextStep']),
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
ResultCollectionMethodFromJSON,
|
|
19
19
|
ResultCollectionMethodFromJSONTyped,
|
|
20
20
|
ResultCollectionMethodToJSON,
|
|
21
|
+
ResultCollectionMethodToJSONTyped,
|
|
21
22
|
} from './ResultCollectionMethod';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -33,11 +34,17 @@ export interface ResultCollection {
|
|
|
33
34
|
*/
|
|
34
35
|
method: ResultCollectionMethod;
|
|
35
36
|
/**
|
|
36
|
-
*
|
|
37
|
+
* The `resultsAccessKey` for the Acceptance Session.
|
|
38
|
+
*
|
|
39
|
+
* This is an encrypted payload which contains the decryption key necessary to access the Session's Data Vault.
|
|
40
|
+
*
|
|
41
|
+
* Save this securely in your systems; it must be passed back with any API call which requires access to the Session's Data Vault.
|
|
42
|
+
*
|
|
43
|
+
* Trinsic cannot access a Session's Data Vault without this key.
|
|
37
44
|
* @type {string}
|
|
38
45
|
* @memberof ResultCollection
|
|
39
46
|
*/
|
|
40
|
-
resultsAccessKey
|
|
47
|
+
resultsAccessKey: string;
|
|
41
48
|
}
|
|
42
49
|
|
|
43
50
|
|
|
@@ -47,6 +54,7 @@ export interface ResultCollection {
|
|
|
47
54
|
*/
|
|
48
55
|
export function instanceOfResultCollection(value: object): value is ResultCollection {
|
|
49
56
|
if (!('method' in value) || value['method'] === undefined) return false;
|
|
57
|
+
if (!('resultsAccessKey' in value) || value['resultsAccessKey'] === undefined) return false;
|
|
50
58
|
return true;
|
|
51
59
|
}
|
|
52
60
|
|
|
@@ -61,14 +69,19 @@ export function ResultCollectionFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
61
69
|
return {
|
|
62
70
|
|
|
63
71
|
'method': ResultCollectionMethodFromJSON(json['method']),
|
|
64
|
-
'resultsAccessKey': json['resultsAccessKey']
|
|
72
|
+
'resultsAccessKey': json['resultsAccessKey'],
|
|
65
73
|
};
|
|
66
74
|
}
|
|
67
75
|
|
|
68
|
-
export function ResultCollectionToJSON(
|
|
76
|
+
export function ResultCollectionToJSON(json: any): ResultCollection {
|
|
77
|
+
return ResultCollectionToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function ResultCollectionToJSONTyped(value?: ResultCollection | null, ignoreDiscriminator: boolean = false): any {
|
|
69
81
|
if (value == null) {
|
|
70
82
|
return value;
|
|
71
83
|
}
|
|
84
|
+
|
|
72
85
|
return {
|
|
73
86
|
|
|
74
87
|
'method': ResultCollectionMethodToJSON(value['method']),
|
|
@@ -47,3 +47,7 @@ export function ResultCollectionMethodToJSON(value?: ResultCollectionMethod | nu
|
|
|
47
47
|
return value as any;
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
+
export function ResultCollectionMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): ResultCollectionMethod {
|
|
51
|
+
return value as ResultCollectionMethod;
|
|
52
|
+
}
|
|
53
|
+
|