@trinsic/api 2.0.0 → 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 +2 -0
- package/.openapi-generator/VERSION +1 -1
- package/README.md +1 -1
- 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/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 +2 -1
- package/dist/esm/models/CreateHostedProviderSessionResponse.js +4 -1
- package/dist/esm/models/CreateWidgetSessionRequest.d.ts +2 -1
- package/dist/esm/models/CreateWidgetSessionRequest.js +4 -1
- package/dist/esm/models/CreateWidgetSessionResponse.d.ts +2 -1
- package/dist/esm/models/CreateWidgetSessionResponse.js +4 -1
- 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 +2 -1
- package/dist/esm/models/IdentityData.js +4 -1
- package/dist/esm/models/IdinInput.d.ts +2 -1
- package/dist/esm/models/IdinInput.js +4 -1
- 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 +1 -0
- package/dist/esm/models/IntegrationLaunchMethod.js +3 -0
- 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 +1 -0
- package/dist/esm/models/Language.js +3 -0
- package/dist/esm/models/ListProviderContractsResponse.d.ts +2 -1
- package/dist/esm/models/ListProviderContractsResponse.js +4 -1
- 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 +2 -1
- package/dist/esm/models/MobileIdInput.js +4 -1
- 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 +10 -1
- package/dist/esm/models/ProviderContract.js +9 -1
- 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 -1
- package/dist/esm/models/ProviderInfo.js +4 -1
- package/dist/esm/models/ProviderInformation.d.ts +2 -1
- package/dist/esm/models/ProviderInformation.js +4 -1
- package/dist/esm/models/ProviderInput.d.ts +2 -1
- package/dist/esm/models/ProviderInput.js +4 -1
- package/dist/esm/models/RecommendRequest.d.ts +2 -1
- package/dist/esm/models/RecommendRequest.js +4 -1
- package/dist/esm/models/RecommendResponse.d.ts +2 -1
- package/dist/esm/models/RecommendResponse.js +4 -1
- package/dist/esm/models/RecommendationInfo.d.ts +2 -1
- package/dist/esm/models/RecommendationInfo.js +4 -1
- 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 +2 -1
- package/dist/esm/models/ResultCollection.js +4 -1
- 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 +2 -1
- package/dist/esm/models/SmartIdInput.js +4 -1
- package/dist/esm/models/SouthAfricaNidInput.d.ts +2 -1
- package/dist/esm/models/SouthAfricaNidInput.js +4 -1
- package/dist/esm/models/SpidInput.d.ts +2 -1
- package/dist/esm/models/SpidInput.js +4 -1
- package/dist/esm/models/StepRefreshInfo.d.ts +2 -1
- package/dist/esm/models/StepRefreshInfo.js +4 -1
- package/dist/esm/models/SubProviderMetadata.d.ts +2 -1
- package/dist/esm/models/SubProviderMetadata.js +4 -1
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.d.ts +2 -1
- package/dist/esm/models/TrinsicTestDatabaseLookupInput.js +4 -1
- package/dist/esm/models/TrinsicTestSubProvidersInput.d.ts +2 -1
- package/dist/esm/models/TrinsicTestSubProvidersInput.js +4 -1
- package/dist/esm/models/index.d.ts +1 -0
- package/dist/esm/models/index.js +1 -0
- 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 +2 -1
- package/dist/models/CreateHostedProviderSessionResponse.js +5 -1
- package/dist/models/CreateWidgetSessionRequest.d.ts +2 -1
- package/dist/models/CreateWidgetSessionRequest.js +5 -1
- package/dist/models/CreateWidgetSessionResponse.d.ts +2 -1
- package/dist/models/CreateWidgetSessionResponse.js +5 -1
- 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 +2 -1
- package/dist/models/IdentityData.js +5 -1
- package/dist/models/IdinInput.d.ts +2 -1
- package/dist/models/IdinInput.js +5 -1
- 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 +1 -0
- package/dist/models/IntegrationLaunchMethod.js +4 -0
- 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 +1 -0
- package/dist/models/Language.js +4 -0
- package/dist/models/ListProviderContractsResponse.d.ts +2 -1
- package/dist/models/ListProviderContractsResponse.js +5 -1
- 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 +2 -1
- package/dist/models/MobileIdInput.js +5 -1
- 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 +10 -1
- package/dist/models/ProviderContract.js +10 -1
- package/dist/models/ProviderHealth.d.ts +25 -0
- package/dist/models/ProviderHealth.js +51 -0
- package/dist/models/ProviderInfo.d.ts +2 -1
- package/dist/models/ProviderInfo.js +5 -1
- package/dist/models/ProviderInformation.d.ts +2 -1
- package/dist/models/ProviderInformation.js +5 -1
- package/dist/models/ProviderInput.d.ts +2 -1
- package/dist/models/ProviderInput.js +5 -1
- package/dist/models/RecommendRequest.d.ts +2 -1
- package/dist/models/RecommendRequest.js +5 -1
- package/dist/models/RecommendResponse.d.ts +2 -1
- package/dist/models/RecommendResponse.js +5 -1
- package/dist/models/RecommendationInfo.d.ts +2 -1
- package/dist/models/RecommendationInfo.js +5 -1
- 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 +2 -1
- package/dist/models/ResultCollection.js +5 -1
- 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 +2 -1
- package/dist/models/SmartIdInput.js +5 -1
- package/dist/models/SouthAfricaNidInput.d.ts +2 -1
- package/dist/models/SouthAfricaNidInput.js +5 -1
- package/dist/models/SpidInput.d.ts +2 -1
- package/dist/models/SpidInput.js +5 -1
- package/dist/models/StepRefreshInfo.d.ts +2 -1
- package/dist/models/StepRefreshInfo.js +5 -1
- package/dist/models/SubProviderMetadata.d.ts +2 -1
- package/dist/models/SubProviderMetadata.js +5 -1
- package/dist/models/TrinsicTestDatabaseLookupInput.d.ts +2 -1
- package/dist/models/TrinsicTestDatabaseLookupInput.js +5 -1
- package/dist/models/TrinsicTestSubProvidersInput.d.ts +2 -1
- package/dist/models/TrinsicTestSubProvidersInput.js +5 -1
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/runtime.d.ts +4 -1
- package/dist/runtime.js +10 -1
- package/package.json +1 -1
- 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 +6 -1
- package/src/models/CancelSessionResponse.ts +7 -1
- package/src/models/CreateAdvancedProviderSessionRequest.ts +8 -1
- package/src/models/CreateAdvancedProviderSessionResponse.ts +8 -1
- package/src/models/CreateHostedProviderSessionRequest.ts +7 -1
- package/src/models/CreateHostedProviderSessionResponse.ts +6 -1
- package/src/models/CreateWidgetSessionRequest.ts +7 -1
- package/src/models/CreateWidgetSessionResponse.ts +6 -1
- 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 +9 -1
- package/src/models/IdinInput.ts +6 -1
- package/src/models/IndonesiaNikInput.ts +6 -1
- package/src/models/IntegrationCapability.ts +4 -0
- package/src/models/IntegrationLaunchMethod.ts +4 -0
- package/src/models/IntegrationStep.ts +10 -4
- package/src/models/KenyaNidInput.ts +6 -1
- package/src/models/Language.ts +4 -0
- package/src/models/ListProviderContractsResponse.ts +7 -1
- 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 +7 -1
- 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 +26 -1
- package/src/models/ProviderHealth.ts +53 -0
- package/src/models/ProviderInfo.ts +6 -1
- package/src/models/ProviderInformation.ts +6 -1
- package/src/models/ProviderInput.ts +23 -1
- package/src/models/RecommendRequest.ts +7 -1
- package/src/models/RecommendResponse.ts +7 -1
- package/src/models/RecommendationInfo.ts +6 -1
- package/src/models/RefreshStepContentRequest.ts +6 -1
- package/src/models/RefreshStepContentResponse.ts +7 -1
- package/src/models/ResultCollection.ts +7 -1
- package/src/models/ResultCollectionMethod.ts +4 -0
- package/src/models/Session.ts +7 -1
- 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 +6 -1
- package/src/models/SouthAfricaNidInput.ts +6 -1
- package/src/models/SpidInput.ts +6 -1
- package/src/models/StepRefreshInfo.ts +6 -1
- package/src/models/SubProviderMetadata.ts +6 -1
- package/src/models/TrinsicTestDatabaseLookupInput.ts +6 -1
- package/src/models/TrinsicTestSubProvidersInput.ts +6 -1
- package/src/models/index.ts +1 -0
- package/src/runtime.ts +10 -4
|
@@ -18,102 +18,119 @@ import {
|
|
|
18
18
|
BangladeshNationalIdInputFromJSON,
|
|
19
19
|
BangladeshNationalIdInputFromJSONTyped,
|
|
20
20
|
BangladeshNationalIdInputToJSON,
|
|
21
|
+
BangladeshNationalIdInputToJSONTyped,
|
|
21
22
|
} from './BangladeshNationalIdInput';
|
|
22
23
|
import type { BrazilCpfCheckInput } from './BrazilCpfCheckInput';
|
|
23
24
|
import {
|
|
24
25
|
BrazilCpfCheckInputFromJSON,
|
|
25
26
|
BrazilCpfCheckInputFromJSONTyped,
|
|
26
27
|
BrazilCpfCheckInputToJSON,
|
|
28
|
+
BrazilCpfCheckInputToJSONTyped,
|
|
27
29
|
} from './BrazilCpfCheckInput';
|
|
28
30
|
import type { MexicoCurpInput } from './MexicoCurpInput';
|
|
29
31
|
import {
|
|
30
32
|
MexicoCurpInputFromJSON,
|
|
31
33
|
MexicoCurpInputFromJSONTyped,
|
|
32
34
|
MexicoCurpInputToJSON,
|
|
35
|
+
MexicoCurpInputToJSONTyped,
|
|
33
36
|
} from './MexicoCurpInput';
|
|
34
37
|
import type { BrazilDigitalCnhInput } from './BrazilDigitalCnhInput';
|
|
35
38
|
import {
|
|
36
39
|
BrazilDigitalCnhInputFromJSON,
|
|
37
40
|
BrazilDigitalCnhInputFromJSONTyped,
|
|
38
41
|
BrazilDigitalCnhInputToJSON,
|
|
42
|
+
BrazilDigitalCnhInputToJSONTyped,
|
|
39
43
|
} from './BrazilDigitalCnhInput';
|
|
40
44
|
import type { TrinsicTestSubProvidersInput } from './TrinsicTestSubProvidersInput';
|
|
41
45
|
import {
|
|
42
46
|
TrinsicTestSubProvidersInputFromJSON,
|
|
43
47
|
TrinsicTestSubProvidersInputFromJSONTyped,
|
|
44
48
|
TrinsicTestSubProvidersInputToJSON,
|
|
49
|
+
TrinsicTestSubProvidersInputToJSONTyped,
|
|
45
50
|
} from './TrinsicTestSubProvidersInput';
|
|
46
51
|
import type { SpidInput } from './SpidInput';
|
|
47
52
|
import {
|
|
48
53
|
SpidInputFromJSON,
|
|
49
54
|
SpidInputFromJSONTyped,
|
|
50
55
|
SpidInputToJSON,
|
|
56
|
+
SpidInputToJSONTyped,
|
|
51
57
|
} from './SpidInput';
|
|
52
58
|
import type { SouthAfricaNidInput } from './SouthAfricaNidInput';
|
|
53
59
|
import {
|
|
54
60
|
SouthAfricaNidInputFromJSON,
|
|
55
61
|
SouthAfricaNidInputFromJSONTyped,
|
|
56
62
|
SouthAfricaNidInputToJSON,
|
|
63
|
+
SouthAfricaNidInputToJSONTyped,
|
|
57
64
|
} from './SouthAfricaNidInput';
|
|
58
65
|
import type { PhilippineMatchInput } from './PhilippineMatchInput';
|
|
59
66
|
import {
|
|
60
67
|
PhilippineMatchInputFromJSON,
|
|
61
68
|
PhilippineMatchInputFromJSONTyped,
|
|
62
69
|
PhilippineMatchInputToJSON,
|
|
70
|
+
PhilippineMatchInputToJSONTyped,
|
|
63
71
|
} from './PhilippineMatchInput';
|
|
64
72
|
import type { PhilippineQRInput } from './PhilippineQRInput';
|
|
65
73
|
import {
|
|
66
74
|
PhilippineQRInputFromJSON,
|
|
67
75
|
PhilippineQRInputFromJSONTyped,
|
|
68
76
|
PhilippineQRInputToJSON,
|
|
77
|
+
PhilippineQRInputToJSONTyped,
|
|
69
78
|
} from './PhilippineQRInput';
|
|
70
79
|
import type { AadhaarInput } from './AadhaarInput';
|
|
71
80
|
import {
|
|
72
81
|
AadhaarInputFromJSON,
|
|
73
82
|
AadhaarInputFromJSONTyped,
|
|
74
83
|
AadhaarInputToJSON,
|
|
84
|
+
AadhaarInputToJSONTyped,
|
|
75
85
|
} from './AadhaarInput';
|
|
76
86
|
import type { KenyaNidInput } from './KenyaNidInput';
|
|
77
87
|
import {
|
|
78
88
|
KenyaNidInputFromJSON,
|
|
79
89
|
KenyaNidInputFromJSONTyped,
|
|
80
90
|
KenyaNidInputToJSON,
|
|
91
|
+
KenyaNidInputToJSONTyped,
|
|
81
92
|
} from './KenyaNidInput';
|
|
82
93
|
import type { NigeriaNinInput } from './NigeriaNinInput';
|
|
83
94
|
import {
|
|
84
95
|
NigeriaNinInputFromJSON,
|
|
85
96
|
NigeriaNinInputFromJSONTyped,
|
|
86
97
|
NigeriaNinInputToJSON,
|
|
98
|
+
NigeriaNinInputToJSONTyped,
|
|
87
99
|
} from './NigeriaNinInput';
|
|
88
100
|
import type { SmartIdInput } from './SmartIdInput';
|
|
89
101
|
import {
|
|
90
102
|
SmartIdInputFromJSON,
|
|
91
103
|
SmartIdInputFromJSONTyped,
|
|
92
104
|
SmartIdInputToJSON,
|
|
105
|
+
SmartIdInputToJSONTyped,
|
|
93
106
|
} from './SmartIdInput';
|
|
94
107
|
import type { MobileIdInput } from './MobileIdInput';
|
|
95
108
|
import {
|
|
96
109
|
MobileIdInputFromJSON,
|
|
97
110
|
MobileIdInputFromJSONTyped,
|
|
98
111
|
MobileIdInputToJSON,
|
|
112
|
+
MobileIdInputToJSONTyped,
|
|
99
113
|
} from './MobileIdInput';
|
|
100
114
|
import type { TrinsicTestDatabaseLookupInput } from './TrinsicTestDatabaseLookupInput';
|
|
101
115
|
import {
|
|
102
116
|
TrinsicTestDatabaseLookupInputFromJSON,
|
|
103
117
|
TrinsicTestDatabaseLookupInputFromJSONTyped,
|
|
104
118
|
TrinsicTestDatabaseLookupInputToJSON,
|
|
119
|
+
TrinsicTestDatabaseLookupInputToJSONTyped,
|
|
105
120
|
} from './TrinsicTestDatabaseLookupInput';
|
|
106
121
|
import type { IndonesiaNikInput } from './IndonesiaNikInput';
|
|
107
122
|
import {
|
|
108
123
|
IndonesiaNikInputFromJSON,
|
|
109
124
|
IndonesiaNikInputFromJSONTyped,
|
|
110
125
|
IndonesiaNikInputToJSON,
|
|
126
|
+
IndonesiaNikInputToJSONTyped,
|
|
111
127
|
} from './IndonesiaNikInput';
|
|
112
128
|
import type { IdinInput } from './IdinInput';
|
|
113
129
|
import {
|
|
114
130
|
IdinInputFromJSON,
|
|
115
131
|
IdinInputFromJSONTyped,
|
|
116
132
|
IdinInputToJSON,
|
|
133
|
+
IdinInputToJSONTyped,
|
|
117
134
|
} from './IdinInput';
|
|
118
135
|
|
|
119
136
|
/**
|
|
@@ -267,10 +284,15 @@ export function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
267
284
|
};
|
|
268
285
|
}
|
|
269
286
|
|
|
270
|
-
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 {
|
|
271
292
|
if (value == null) {
|
|
272
293
|
return value;
|
|
273
294
|
}
|
|
295
|
+
|
|
274
296
|
return {
|
|
275
297
|
|
|
276
298
|
'indonesiaNik': IndonesiaNikInputToJSON(value['indonesiaNik']),
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
RecommendationInfoFromJSON,
|
|
19
19
|
RecommendationInfoFromJSONTyped,
|
|
20
20
|
RecommendationInfoToJSON,
|
|
21
|
+
RecommendationInfoToJSONTyped,
|
|
21
22
|
} from './RecommendationInfo';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -55,10 +56,15 @@ export function RecommendRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
|
|
58
|
-
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 {
|
|
59
64
|
if (value == null) {
|
|
60
65
|
return value;
|
|
61
66
|
}
|
|
67
|
+
|
|
62
68
|
return {
|
|
63
69
|
|
|
64
70
|
'recommendationInfo': RecommendationInfoToJSON(value['recommendationInfo']),
|
|
@@ -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)),
|
|
@@ -75,10 +75,15 @@ export function RecommendationInfoFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
export function RecommendationInfoToJSON(
|
|
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 {
|
|
79
83
|
if (value == null) {
|
|
80
84
|
return value;
|
|
81
85
|
}
|
|
86
|
+
|
|
82
87
|
return {
|
|
83
88
|
|
|
84
89
|
'phoneNumber': value['phoneNumber'],
|
|
@@ -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
|
/**
|
|
@@ -72,10 +73,15 @@ export function ResultCollectionFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
72
73
|
};
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
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 {
|
|
76
81
|
if (value == null) {
|
|
77
82
|
return value;
|
|
78
83
|
}
|
|
84
|
+
|
|
79
85
|
return {
|
|
80
86
|
|
|
81
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
|
+
|
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
|
/**
|
|
@@ -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
|
@@ -48,10 +48,15 @@ export function SmartIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function SmartIdInputToJSON(
|
|
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 {
|
|
52
56
|
if (value == null) {
|
|
53
57
|
return value;
|
|
54
58
|
}
|
|
59
|
+
|
|
55
60
|
return {
|
|
56
61
|
|
|
57
62
|
'smartIdDocumentNumber': value['smartIdDocumentNumber'],
|
|
@@ -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'],
|
package/src/models/SpidInput.ts
CHANGED
|
@@ -50,10 +50,15 @@ export function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean):
|
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export function SpidInputToJSON(
|
|
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 {
|
|
54
58
|
if (value == null) {
|
|
55
59
|
return value;
|
|
56
60
|
}
|
|
61
|
+
|
|
57
62
|
return {
|
|
58
63
|
|
|
59
64
|
'subProviderId': value['subProviderId'],
|
|
@@ -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()),
|
|
@@ -78,10 +78,15 @@ export function SubProviderMetadataFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
78
78
|
};
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
export function SubProviderMetadataToJSON(
|
|
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 {
|
|
82
86
|
if (value == null) {
|
|
83
87
|
return value;
|
|
84
88
|
}
|
|
89
|
+
|
|
85
90
|
return {
|
|
86
91
|
|
|
87
92
|
'id': value['id'],
|
|
@@ -86,10 +86,15 @@ export function TrinsicTestDatabaseLookupInputFromJSONTyped(json: any, ignoreDis
|
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export function TrinsicTestDatabaseLookupInputToJSON(
|
|
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 {
|
|
90
94
|
if (value == null) {
|
|
91
95
|
return value;
|
|
92
96
|
}
|
|
97
|
+
|
|
93
98
|
return {
|
|
94
99
|
|
|
95
100
|
'givenName': value['givenName'],
|
|
@@ -52,10 +52,15 @@ export function TrinsicTestSubProvidersInputFromJSONTyped(json: any, ignoreDiscr
|
|
|
52
52
|
};
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export function TrinsicTestSubProvidersInputToJSON(
|
|
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 {
|
|
56
60
|
if (value == null) {
|
|
57
61
|
return value;
|
|
58
62
|
}
|
|
63
|
+
|
|
59
64
|
return {
|
|
60
65
|
|
|
61
66
|
'subProviderId': value['subProviderId'],
|
package/src/models/index.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './PhilippineQRInput';
|
|
|
43
43
|
export * from './ProblemDetails';
|
|
44
44
|
export * from './ProviderAttachments';
|
|
45
45
|
export * from './ProviderContract';
|
|
46
|
+
export * from './ProviderHealth';
|
|
46
47
|
export * from './ProviderInfo';
|
|
47
48
|
export * from './ProviderInformation';
|
|
48
49
|
export * from './ProviderInput';
|
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 {
|