@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
package/src/models/Session.ts
CHANGED
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
SessionErrorCodeFromJSON,
|
|
19
19
|
SessionErrorCodeFromJSONTyped,
|
|
20
20
|
SessionErrorCodeToJSON,
|
|
21
|
+
SessionErrorCodeToJSONTyped,
|
|
21
22
|
} from './SessionErrorCode';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -33,25 +34,25 @@ export interface Session {
|
|
|
33
34
|
*/
|
|
34
35
|
id: string;
|
|
35
36
|
/**
|
|
36
|
-
* Whether the Session is in a terminal / final state.
|
|
37
|
-
*
|
|
37
|
+
* Whether the Session is in a terminal / final state.
|
|
38
|
+
*
|
|
38
39
|
* If this is `true`, inspect the value of `Success` to determine whether the Session was successful.
|
|
39
40
|
* @type {boolean}
|
|
40
41
|
* @memberof Session
|
|
41
42
|
*/
|
|
42
43
|
done: boolean;
|
|
43
44
|
/**
|
|
44
|
-
* Whether the Session has completed successfully.
|
|
45
|
-
*
|
|
46
|
-
* If this is `false`, the Session is either not yet done, or has failed. Inspect `Done` and `ErrorCode` for more information.
|
|
45
|
+
* Whether the Session has completed successfully.
|
|
46
|
+
*
|
|
47
|
+
* If this is `false`, the Session is either not yet done, or has failed. Inspect `Done` and `ErrorCode` for more information.
|
|
47
48
|
* If this is `true`, the Session has completed successfully.
|
|
48
49
|
* @type {boolean}
|
|
49
50
|
* @memberof Session
|
|
50
51
|
*/
|
|
51
52
|
success: boolean;
|
|
52
53
|
/**
|
|
53
|
-
* The reason for the Session's failure.
|
|
54
|
-
*
|
|
54
|
+
* The reason for the Session's failure.
|
|
55
|
+
*
|
|
55
56
|
* Only present if `Success` is `false`.
|
|
56
57
|
* @type {SessionErrorCode}
|
|
57
58
|
* @memberof Session
|
|
@@ -104,10 +105,15 @@ export function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): S
|
|
|
104
105
|
};
|
|
105
106
|
}
|
|
106
107
|
|
|
107
|
-
export function SessionToJSON(
|
|
108
|
+
export function SessionToJSON(json: any): Session {
|
|
109
|
+
return SessionToJSONTyped(json, false);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
export function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator: boolean = false): any {
|
|
108
113
|
if (value == null) {
|
|
109
114
|
return value;
|
|
110
115
|
}
|
|
116
|
+
|
|
111
117
|
return {
|
|
112
118
|
|
|
113
119
|
'id': value['id'],
|
package/src/models/Sex.ts
CHANGED
|
@@ -0,0 +1,65 @@
|
|
|
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
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SmartIdInput
|
|
20
|
+
*/
|
|
21
|
+
export interface SmartIdInput {
|
|
22
|
+
/**
|
|
23
|
+
* The user's Smart ID Document Number
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SmartIdInput
|
|
26
|
+
*/
|
|
27
|
+
smartIdDocumentNumber?: string | null;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the SmartIdInput interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfSmartIdInput(value: object): value is SmartIdInput {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function SmartIdInputFromJSON(json: any): SmartIdInput {
|
|
38
|
+
return SmartIdInputFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function SmartIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartIdInput {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'smartIdDocumentNumber': json['smartIdDocumentNumber'] == null ? undefined : json['smartIdDocumentNumber'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function SmartIdInputToJSON(json: any): SmartIdInput {
|
|
52
|
+
return SmartIdInputToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function SmartIdInputToJSONTyped(value?: SmartIdInput | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'smartIdDocumentNumber': value['smartIdDocumentNumber'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -73,10 +73,15 @@ export function SouthAfricaNidInputFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
73
73
|
};
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export function SouthAfricaNidInputToJSON(
|
|
76
|
+
export function SouthAfricaNidInputToJSON(json: any): SouthAfricaNidInput {
|
|
77
|
+
return SouthAfricaNidInputToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function SouthAfricaNidInputToJSONTyped(value?: SouthAfricaNidInput | null, ignoreDiscriminator: boolean = false): any {
|
|
77
81
|
if (value == null) {
|
|
78
82
|
return value;
|
|
79
83
|
}
|
|
84
|
+
|
|
80
85
|
return {
|
|
81
86
|
|
|
82
87
|
'fullName': value['fullName'],
|
|
@@ -0,0 +1,67 @@
|
|
|
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
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SpidInput
|
|
20
|
+
*/
|
|
21
|
+
export interface SpidInput {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the specific IDP to invoke within SPID.
|
|
24
|
+
*
|
|
25
|
+
* If not specified, the user will be prompted to select an IDP.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SpidInput
|
|
28
|
+
*/
|
|
29
|
+
subProviderId?: string | null;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the SpidInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfSpidInput(value: object): value is SpidInput {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function SpidInputFromJSON(json: any): SpidInput {
|
|
40
|
+
return SpidInputFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidInput {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
|
|
49
|
+
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function SpidInputToJSON(json: any): SpidInput {
|
|
54
|
+
return SpidInputToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function SpidInputToJSONTyped(value?: SpidInput | null, ignoreDiscriminator: boolean = false): any {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'subProviderId': value['subProviderId'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -20,8 +20,8 @@ import { mapValues } from '../runtime';
|
|
|
20
20
|
*/
|
|
21
21
|
export interface StepRefreshInfo {
|
|
22
22
|
/**
|
|
23
|
-
* The UTC date/time at which the step `content` will expire and should no longer be used.
|
|
24
|
-
*
|
|
23
|
+
* The UTC date/time at which the step `content` will expire and should no longer be used.
|
|
24
|
+
*
|
|
25
25
|
* Use the `Refresh Step Content` API to obtain a new value for `content`.
|
|
26
26
|
* @type {Date}
|
|
27
27
|
* @memberof StepRefreshInfo
|
|
@@ -67,10 +67,15 @@ export function StepRefreshInfoFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
67
67
|
};
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export function StepRefreshInfoToJSON(
|
|
70
|
+
export function StepRefreshInfoToJSON(json: any): StepRefreshInfo {
|
|
71
|
+
return StepRefreshInfoToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function StepRefreshInfoToJSONTyped(value?: StepRefreshInfo | null, ignoreDiscriminator: boolean = false): any {
|
|
71
75
|
if (value == null) {
|
|
72
76
|
return value;
|
|
73
77
|
}
|
|
78
|
+
|
|
74
79
|
return {
|
|
75
80
|
|
|
76
81
|
'expiresAt': ((value['expiresAt']).toISOString()),
|
|
@@ -0,0 +1,98 @@
|
|
|
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 about a sub-provider.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SubProviderMetadata
|
|
20
|
+
*/
|
|
21
|
+
export interface SubProviderMetadata {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the sub-provider.
|
|
24
|
+
*
|
|
25
|
+
* This cannot be used as a standalone Provider ID when creating a Session. It must
|
|
26
|
+
* be passed in via the Provider-specific input.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SubProviderMetadata
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
* The name of the sub-provider
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof SubProviderMetadata
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* Flavor text for the sub-provider
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof SubProviderMetadata
|
|
41
|
+
*/
|
|
42
|
+
description: string;
|
|
43
|
+
/**
|
|
44
|
+
* A URL pointing to the logo on Trinsic's CDN.
|
|
45
|
+
*
|
|
46
|
+
* May be a PNG, JPG, or SVG image.
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof SubProviderMetadata
|
|
49
|
+
*/
|
|
50
|
+
logoUrl: string;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Check if a given object implements the SubProviderMetadata interface.
|
|
55
|
+
*/
|
|
56
|
+
export function instanceOfSubProviderMetadata(value: object): value is SubProviderMetadata {
|
|
57
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
58
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
59
|
+
if (!('description' in value) || value['description'] === undefined) return false;
|
|
60
|
+
if (!('logoUrl' in value) || value['logoUrl'] === undefined) return false;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function SubProviderMetadataFromJSON(json: any): SubProviderMetadata {
|
|
65
|
+
return SubProviderMetadataFromJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function SubProviderMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubProviderMetadata {
|
|
69
|
+
if (json == null) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
|
|
74
|
+
'id': json['id'],
|
|
75
|
+
'name': json['name'],
|
|
76
|
+
'description': json['description'],
|
|
77
|
+
'logoUrl': json['logoUrl'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
export function SubProviderMetadataToJSON(json: any): SubProviderMetadata {
|
|
82
|
+
return SubProviderMetadataToJSONTyped(json, false);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function SubProviderMetadataToJSONTyped(value?: SubProviderMetadata | null, ignoreDiscriminator: boolean = false): any {
|
|
86
|
+
if (value == null) {
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
return {
|
|
91
|
+
|
|
92
|
+
'id': value['id'],
|
|
93
|
+
'name': value['name'],
|
|
94
|
+
'description': value['description'],
|
|
95
|
+
'logoUrl': value['logoUrl'],
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface TrinsicTestDatabaseLookupInput
|
|
20
|
+
*/
|
|
21
|
+
export interface TrinsicTestDatabaseLookupInput {
|
|
22
|
+
/**
|
|
23
|
+
* The given name to use for the output of the test Session.
|
|
24
|
+
*
|
|
25
|
+
* This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
|
|
26
|
+
* from the user.
|
|
27
|
+
*
|
|
28
|
+
* Can be any non-empty value.
|
|
29
|
+
* @type {string}
|
|
30
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
31
|
+
*/
|
|
32
|
+
givenName?: string | null;
|
|
33
|
+
/**
|
|
34
|
+
* The family name to use for the output of the test Session.
|
|
35
|
+
*
|
|
36
|
+
* This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
|
|
37
|
+
* from the user.
|
|
38
|
+
*
|
|
39
|
+
* Can be any non-empty value.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
42
|
+
*/
|
|
43
|
+
familyName?: string | null;
|
|
44
|
+
/**
|
|
45
|
+
* A 6-digit code; must be "123456" for the Session to succeed.
|
|
46
|
+
*
|
|
47
|
+
* This is required; if not provided, Trinsic's Fallback UI will be invoked to collect it
|
|
48
|
+
* from the user.
|
|
49
|
+
*
|
|
50
|
+
* Any other value will cause the Session to fail.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
53
|
+
*/
|
|
54
|
+
identityCode?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
* An optional selfie image, base64-encoded.
|
|
57
|
+
*
|
|
58
|
+
* Will replace the existing test selfie attachment output if provided.
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof TrinsicTestDatabaseLookupInput
|
|
61
|
+
*/
|
|
62
|
+
selfieBase64?: string | null;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the TrinsicTestDatabaseLookupInput interface.
|
|
67
|
+
*/
|
|
68
|
+
export function instanceOfTrinsicTestDatabaseLookupInput(value: object): value is TrinsicTestDatabaseLookupInput {
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function TrinsicTestDatabaseLookupInputFromJSON(json: any): TrinsicTestDatabaseLookupInput {
|
|
73
|
+
return TrinsicTestDatabaseLookupInputFromJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function TrinsicTestDatabaseLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestDatabaseLookupInput {
|
|
77
|
+
if (json == null) {
|
|
78
|
+
return json;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
|
|
82
|
+
'givenName': json['givenName'] == null ? undefined : json['givenName'],
|
|
83
|
+
'familyName': json['familyName'] == null ? undefined : json['familyName'],
|
|
84
|
+
'identityCode': json['identityCode'] == null ? undefined : json['identityCode'],
|
|
85
|
+
'selfieBase64': json['selfieBase64'] == null ? undefined : json['selfieBase64'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function TrinsicTestDatabaseLookupInputToJSON(json: any): TrinsicTestDatabaseLookupInput {
|
|
90
|
+
return TrinsicTestDatabaseLookupInputToJSONTyped(json, false);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export function TrinsicTestDatabaseLookupInputToJSONTyped(value?: TrinsicTestDatabaseLookupInput | null, ignoreDiscriminator: boolean = false): any {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return {
|
|
99
|
+
|
|
100
|
+
'givenName': value['givenName'],
|
|
101
|
+
'familyName': value['familyName'],
|
|
102
|
+
'identityCode': value['identityCode'],
|
|
103
|
+
'selfieBase64': value['selfieBase64'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface TrinsicTestSubProvidersInput
|
|
20
|
+
*/
|
|
21
|
+
export interface TrinsicTestSubProvidersInput {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the specific IDP to invoke within the test federated provider.
|
|
24
|
+
*
|
|
25
|
+
* Valid options are `sub-provider-a` and `sub-provider-b`.
|
|
26
|
+
*
|
|
27
|
+
* If not specified, the user will be prompted to select one.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof TrinsicTestSubProvidersInput
|
|
30
|
+
*/
|
|
31
|
+
subProviderId?: string | null;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the TrinsicTestSubProvidersInput interface.
|
|
36
|
+
*/
|
|
37
|
+
export function instanceOfTrinsicTestSubProvidersInput(value: object): value is TrinsicTestSubProvidersInput {
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function TrinsicTestSubProvidersInputFromJSON(json: any): TrinsicTestSubProvidersInput {
|
|
42
|
+
return TrinsicTestSubProvidersInputFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function TrinsicTestSubProvidersInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestSubProvidersInput {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
|
|
51
|
+
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function TrinsicTestSubProvidersInputToJSON(json: any): TrinsicTestSubProvidersInput {
|
|
56
|
+
return TrinsicTestSubProvidersInputToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function TrinsicTestSubProvidersInputToJSONTyped(value?: TrinsicTestSubProvidersInput | null, ignoreDiscriminator: boolean = false): any {
|
|
60
|
+
if (value == null) {
|
|
61
|
+
return value;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
return {
|
|
65
|
+
|
|
66
|
+
'subProviderId': value['subProviderId'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -23,17 +23,18 @@ export * from './GetSessionResultRequest';
|
|
|
23
23
|
export * from './GetSessionResultResponse';
|
|
24
24
|
export * from './HttpValidationProblemDetails';
|
|
25
25
|
export * from './IdentityData';
|
|
26
|
+
export * from './IdinInput';
|
|
26
27
|
export * from './IndonesiaNikInput';
|
|
27
28
|
export * from './IntegrationCapability';
|
|
28
29
|
export * from './IntegrationLaunchMethod';
|
|
29
30
|
export * from './IntegrationStep';
|
|
30
31
|
export * from './KenyaNidInput';
|
|
31
|
-
export * from './
|
|
32
|
-
export * from './
|
|
33
|
-
export * from './KnownPersonData';
|
|
32
|
+
export * from './Language';
|
|
33
|
+
export * from './ListProviderContractsResponse';
|
|
34
34
|
export * from './ListProvidersResponse';
|
|
35
35
|
export * from './ListSessionsResponse';
|
|
36
36
|
export * from './MexicoCurpInput';
|
|
37
|
+
export * from './MobileIdInput';
|
|
37
38
|
export * from './NigeriaNinInput';
|
|
38
39
|
export * from './OrderDirection';
|
|
39
40
|
export * from './PersonData';
|
|
@@ -41,11 +42,14 @@ export * from './PhilippineMatchInput';
|
|
|
41
42
|
export * from './PhilippineQRInput';
|
|
42
43
|
export * from './ProblemDetails';
|
|
43
44
|
export * from './ProviderAttachments';
|
|
45
|
+
export * from './ProviderContract';
|
|
46
|
+
export * from './ProviderHealth';
|
|
44
47
|
export * from './ProviderInfo';
|
|
45
48
|
export * from './ProviderInformation';
|
|
46
49
|
export * from './ProviderInput';
|
|
47
50
|
export * from './RecommendRequest';
|
|
48
51
|
export * from './RecommendResponse';
|
|
52
|
+
export * from './RecommendationInfo';
|
|
49
53
|
export * from './RefreshStepContentRequest';
|
|
50
54
|
export * from './RefreshStepContentResponse';
|
|
51
55
|
export * from './ResultCollection';
|
|
@@ -54,5 +58,10 @@ export * from './Session';
|
|
|
54
58
|
export * from './SessionErrorCode';
|
|
55
59
|
export * from './SessionOrdering';
|
|
56
60
|
export * from './Sex';
|
|
61
|
+
export * from './SmartIdInput';
|
|
57
62
|
export * from './SouthAfricaNidInput';
|
|
63
|
+
export * from './SpidInput';
|
|
58
64
|
export * from './StepRefreshInfo';
|
|
65
|
+
export * from './SubProviderMetadata';
|
|
66
|
+
export * from './TrinsicTestDatabaseLookupInput';
|
|
67
|
+
export * from './TrinsicTestSubProvidersInput';
|
package/src/runtime.ts
CHANGED
|
@@ -337,11 +337,17 @@ function querystringSingleKey(key: string, value: string | number | null | undef
|
|
|
337
337
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
338
338
|
}
|
|
339
339
|
|
|
340
|
+
export function exists(json: any, key: string) {
|
|
341
|
+
const value = json[key];
|
|
342
|
+
return value !== null && value !== undefined;
|
|
343
|
+
}
|
|
344
|
+
|
|
340
345
|
export function mapValues(data: any, fn: (item: any) => any) {
|
|
341
|
-
|
|
342
|
-
(
|
|
343
|
-
|
|
344
|
-
|
|
346
|
+
const result: { [key: string]: any } = {};
|
|
347
|
+
for (const key of Object.keys(data)) {
|
|
348
|
+
result[key] = fn(data[key]);
|
|
349
|
+
}
|
|
350
|
+
return result;
|
|
345
351
|
}
|
|
346
352
|
|
|
347
353
|
export function canConsumeForm(consumes: Consume[]): boolean {
|
|
@@ -1,74 +0,0 @@
|
|
|
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
|
-
* Address information for an individual
|
|
14
|
-
* @export
|
|
15
|
-
* @interface KnownAddress
|
|
16
|
-
*/
|
|
17
|
-
export interface KnownAddress {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof KnownAddress
|
|
22
|
-
*/
|
|
23
|
-
line1?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof KnownAddress
|
|
28
|
-
*/
|
|
29
|
-
line2?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof KnownAddress
|
|
34
|
-
*/
|
|
35
|
-
line3?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof KnownAddress
|
|
40
|
-
*/
|
|
41
|
-
city?: string | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof KnownAddress
|
|
46
|
-
*/
|
|
47
|
-
subdivision?: string | null;
|
|
48
|
-
/**
|
|
49
|
-
* Deprecated. Use `Subdivision` instead.
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof KnownAddress
|
|
52
|
-
* @deprecated
|
|
53
|
-
*/
|
|
54
|
-
state?: string | null;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {string}
|
|
58
|
-
* @memberof KnownAddress
|
|
59
|
-
*/
|
|
60
|
-
postalCode?: string | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {string}
|
|
64
|
-
* @memberof KnownAddress
|
|
65
|
-
*/
|
|
66
|
-
country?: string | null;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* Check if a given object implements the KnownAddress interface.
|
|
70
|
-
*/
|
|
71
|
-
export declare function instanceOfKnownAddress(value: object): value is KnownAddress;
|
|
72
|
-
export declare function KnownAddressFromJSON(json: any): KnownAddress;
|
|
73
|
-
export declare function KnownAddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): KnownAddress;
|
|
74
|
-
export declare function KnownAddressToJSON(value?: KnownAddress | null): any;
|