@trinsic/api 2.0.0 → 2.0.2
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 +9 -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 +9 -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 +25 -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
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
* The health for an integration to be able to successfully perform a verification session.
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const ProviderHealth = {
|
|
19
|
+
Online: 'Online',
|
|
20
|
+
Offline: 'Offline'
|
|
21
|
+
};
|
|
22
|
+
export function instanceOfProviderHealth(value) {
|
|
23
|
+
for (const key in ProviderHealth) {
|
|
24
|
+
if (Object.prototype.hasOwnProperty.call(ProviderHealth, key)) {
|
|
25
|
+
if (ProviderHealth[key] === value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
export function ProviderHealthFromJSON(json) {
|
|
33
|
+
return ProviderHealthFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function ProviderHealthFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
export function ProviderHealthToJSON(value) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
export function ProviderHealthToJSONTyped(value, ignoreDiscriminator) {
|
|
42
|
+
return value;
|
|
43
|
+
}
|
|
@@ -40,4 +40,5 @@ export interface ProviderInfo {
|
|
|
40
40
|
export declare function instanceOfProviderInfo(value: object): value is ProviderInfo;
|
|
41
41
|
export declare function ProviderInfoFromJSON(json: any): ProviderInfo;
|
|
42
42
|
export declare function ProviderInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInfo;
|
|
43
|
-
export declare function ProviderInfoToJSON(
|
|
43
|
+
export declare function ProviderInfoToJSON(json: any): ProviderInfo;
|
|
44
|
+
export declare function ProviderInfoToJSONTyped(value?: ProviderInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -36,7 +36,10 @@ export function ProviderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'logoUrl': json['logoUrl'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function ProviderInfoToJSON(
|
|
39
|
+
export function ProviderInfoToJSON(json) {
|
|
40
|
+
return ProviderInfoToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ProviderInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
43
|
if (value == null) {
|
|
41
44
|
return value;
|
|
42
45
|
}
|
|
@@ -40,4 +40,5 @@ export interface ProviderInformation {
|
|
|
40
40
|
export declare function instanceOfProviderInformation(value: object): value is ProviderInformation;
|
|
41
41
|
export declare function ProviderInformationFromJSON(json: any): ProviderInformation;
|
|
42
42
|
export declare function ProviderInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInformation;
|
|
43
|
-
export declare function ProviderInformationToJSON(
|
|
43
|
+
export declare function ProviderInformationToJSON(json: any): ProviderInformation;
|
|
44
|
+
export declare function ProviderInformationToJSONTyped(value?: Omit<ProviderInformation, 'providerId' | 'providerDisplayName' | 'providerLogo'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -36,7 +36,10 @@ export function ProviderInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'providerLogo': json['providerLogo'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function ProviderInformationToJSON(
|
|
39
|
+
export function ProviderInformationToJSON(json) {
|
|
40
|
+
return ProviderInformationToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function ProviderInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
43
|
if (value == null) {
|
|
41
44
|
return value;
|
|
42
45
|
}
|
|
@@ -145,4 +145,5 @@ export interface ProviderInput {
|
|
|
145
145
|
export declare function instanceOfProviderInput(value: object): value is ProviderInput;
|
|
146
146
|
export declare function ProviderInputFromJSON(json: any): ProviderInput;
|
|
147
147
|
export declare function ProviderInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderInput;
|
|
148
|
-
export declare function ProviderInputToJSON(
|
|
148
|
+
export declare function ProviderInputToJSON(json: any): ProviderInput;
|
|
149
|
+
export declare function ProviderInputToJSONTyped(value?: ProviderInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -61,7 +61,10 @@ export function ProviderInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
61
61
|
'trinsicTestSubProviders': json['trinsicTestSubProviders'] == null ? undefined : TrinsicTestSubProvidersInputFromJSON(json['trinsicTestSubProviders']),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
|
-
export function ProviderInputToJSON(
|
|
64
|
+
export function ProviderInputToJSON(json) {
|
|
65
|
+
return ProviderInputToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
export function ProviderInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
68
|
if (value == null) {
|
|
66
69
|
return value;
|
|
67
70
|
}
|
|
@@ -29,4 +29,5 @@ export interface RecommendRequest {
|
|
|
29
29
|
export declare function instanceOfRecommendRequest(value: object): value is RecommendRequest;
|
|
30
30
|
export declare function RecommendRequestFromJSON(json: any): RecommendRequest;
|
|
31
31
|
export declare function RecommendRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendRequest;
|
|
32
|
-
export declare function RecommendRequestToJSON(
|
|
32
|
+
export declare function RecommendRequestToJSON(json: any): RecommendRequest;
|
|
33
|
+
export declare function RecommendRequestToJSONTyped(value?: RecommendRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -29,7 +29,10 @@ export function RecommendRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
29
|
'recommendationInfo': json['recommendationInfo'] == null ? undefined : RecommendationInfoFromJSON(json['recommendationInfo']),
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
export function RecommendRequestToJSON(
|
|
32
|
+
export function RecommendRequestToJSON(json) {
|
|
33
|
+
return RecommendRequestToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function RecommendRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
36
|
if (value == null) {
|
|
34
37
|
return value;
|
|
35
38
|
}
|
|
@@ -41,4 +41,5 @@ export interface RecommendResponse {
|
|
|
41
41
|
export declare function instanceOfRecommendResponse(value: object): value is RecommendResponse;
|
|
42
42
|
export declare function RecommendResponseFromJSON(json: any): RecommendResponse;
|
|
43
43
|
export declare function RecommendResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendResponse;
|
|
44
|
-
export declare function RecommendResponseToJSON(
|
|
44
|
+
export declare function RecommendResponseToJSON(json: any): RecommendResponse;
|
|
45
|
+
export declare function RecommendResponseToJSONTyped(value?: RecommendResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -37,7 +37,10 @@ export function RecommendResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'remainder': (json['remainder'].map(ProviderInformationFromJSON)),
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
export function RecommendResponseToJSON(
|
|
40
|
+
export function RecommendResponseToJSON(json) {
|
|
41
|
+
return RecommendResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function RecommendResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
41
44
|
if (value == null) {
|
|
42
45
|
return value;
|
|
43
46
|
}
|
|
@@ -52,4 +52,5 @@ export interface RecommendationInfo {
|
|
|
52
52
|
export declare function instanceOfRecommendationInfo(value: object): value is RecommendationInfo;
|
|
53
53
|
export declare function RecommendationInfoFromJSON(json: any): RecommendationInfo;
|
|
54
54
|
export declare function RecommendationInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): RecommendationInfo;
|
|
55
|
-
export declare function RecommendationInfoToJSON(
|
|
55
|
+
export declare function RecommendationInfoToJSON(json: any): RecommendationInfo;
|
|
56
|
+
export declare function RecommendationInfoToJSONTyped(value?: RecommendationInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,7 +31,10 @@ export function RecommendationInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'ipAddresses': json['ipAddresses'] == null ? undefined : json['ipAddresses'],
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function RecommendationInfoToJSON(
|
|
34
|
+
export function RecommendationInfoToJSON(json) {
|
|
35
|
+
return RecommendationInfoToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function RecommendationInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|
|
@@ -28,4 +28,5 @@ export interface RefreshStepContentRequest {
|
|
|
28
28
|
export declare function instanceOfRefreshStepContentRequest(value: object): value is RefreshStepContentRequest;
|
|
29
29
|
export declare function RefreshStepContentRequestFromJSON(json: any): RefreshStepContentRequest;
|
|
30
30
|
export declare function RefreshStepContentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentRequest;
|
|
31
|
-
export declare function RefreshStepContentRequestToJSON(
|
|
31
|
+
export declare function RefreshStepContentRequestToJSON(json: any): RefreshStepContentRequest;
|
|
32
|
+
export declare function RefreshStepContentRequestToJSONTyped(value?: RefreshStepContentRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -28,7 +28,10 @@ export function RefreshStepContentRequestFromJSONTyped(json, ignoreDiscriminator
|
|
|
28
28
|
'resultsAccessKey': json['resultsAccessKey'] == null ? undefined : json['resultsAccessKey'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export function RefreshStepContentRequestToJSON(
|
|
31
|
+
export function RefreshStepContentRequestToJSON(json) {
|
|
32
|
+
return RefreshStepContentRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function RefreshStepContentRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
32
35
|
if (value == null) {
|
|
33
36
|
return value;
|
|
34
37
|
}
|
|
@@ -29,4 +29,5 @@ export interface RefreshStepContentResponse {
|
|
|
29
29
|
export declare function instanceOfRefreshStepContentResponse(value: object): value is RefreshStepContentResponse;
|
|
30
30
|
export declare function RefreshStepContentResponseFromJSON(json: any): RefreshStepContentResponse;
|
|
31
31
|
export declare function RefreshStepContentResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefreshStepContentResponse;
|
|
32
|
-
export declare function RefreshStepContentResponseToJSON(
|
|
32
|
+
export declare function RefreshStepContentResponseToJSON(json: any): RefreshStepContentResponse;
|
|
33
|
+
export declare function RefreshStepContentResponseToJSONTyped(value?: RefreshStepContentResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,7 +31,10 @@ export function RefreshStepContentResponseFromJSONTyped(json, ignoreDiscriminato
|
|
|
31
31
|
'nextStep': IntegrationStepFromJSON(json['nextStep']),
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function RefreshStepContentResponseToJSON(
|
|
34
|
+
export function RefreshStepContentResponseToJSON(json) {
|
|
35
|
+
return RefreshStepContentResponseToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function RefreshStepContentResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|
|
@@ -41,4 +41,5 @@ export interface ResultCollection {
|
|
|
41
41
|
export declare function instanceOfResultCollection(value: object): value is ResultCollection;
|
|
42
42
|
export declare function ResultCollectionFromJSON(json: any): ResultCollection;
|
|
43
43
|
export declare function ResultCollectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultCollection;
|
|
44
|
-
export declare function ResultCollectionToJSON(
|
|
44
|
+
export declare function ResultCollectionToJSON(json: any): ResultCollection;
|
|
45
|
+
export declare function ResultCollectionToJSONTyped(value?: ResultCollection | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -34,7 +34,10 @@ export function ResultCollectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
'resultsAccessKey': json['resultsAccessKey'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
|
-
export function ResultCollectionToJSON(
|
|
37
|
+
export function ResultCollectionToJSON(json) {
|
|
38
|
+
return ResultCollectionToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
export function ResultCollectionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
41
|
if (value == null) {
|
|
39
42
|
return value;
|
|
40
43
|
}
|
|
@@ -22,3 +22,4 @@ export declare function instanceOfResultCollectionMethod(value: any): boolean;
|
|
|
22
22
|
export declare function ResultCollectionMethodFromJSON(json: any): ResultCollectionMethod;
|
|
23
23
|
export declare function ResultCollectionMethodFromJSONTyped(json: any, ignoreDiscriminator: boolean): ResultCollectionMethod;
|
|
24
24
|
export declare function ResultCollectionMethodToJSON(value?: ResultCollectionMethod | null): any;
|
|
25
|
+
export declare function ResultCollectionMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): ResultCollectionMethod;
|
|
@@ -66,4 +66,5 @@ export interface Session {
|
|
|
66
66
|
export declare function instanceOfSession(value: object): value is Session;
|
|
67
67
|
export declare function SessionFromJSON(json: any): Session;
|
|
68
68
|
export declare function SessionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Session;
|
|
69
|
-
export declare function SessionToJSON(
|
|
69
|
+
export declare function SessionToJSON(json: any): Session;
|
|
70
|
+
export declare function SessionToJSONTyped(value?: Session | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -44,7 +44,10 @@ export function SessionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'updated': json['updated'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
export function SessionToJSON(
|
|
47
|
+
export function SessionToJSON(json) {
|
|
48
|
+
return SessionToJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
export function SessionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
51
|
if (value == null) {
|
|
49
52
|
return value;
|
|
50
53
|
}
|
|
@@ -30,3 +30,4 @@ export declare function instanceOfSessionErrorCode(value: any): boolean;
|
|
|
30
30
|
export declare function SessionErrorCodeFromJSON(json: any): SessionErrorCode;
|
|
31
31
|
export declare function SessionErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionErrorCode;
|
|
32
32
|
export declare function SessionErrorCodeToJSON(value?: SessionErrorCode | null): any;
|
|
33
|
+
export declare function SessionErrorCodeToJSONTyped(value: any, ignoreDiscriminator: boolean): SessionErrorCode;
|
|
@@ -23,3 +23,4 @@ export declare function instanceOfSessionOrdering(value: any): boolean;
|
|
|
23
23
|
export declare function SessionOrderingFromJSON(json: any): SessionOrdering;
|
|
24
24
|
export declare function SessionOrderingFromJSONTyped(json: any, ignoreDiscriminator: boolean): SessionOrdering;
|
|
25
25
|
export declare function SessionOrderingToJSON(value?: SessionOrdering | null): any;
|
|
26
|
+
export declare function SessionOrderingToJSONTyped(value: any, ignoreDiscriminator: boolean): SessionOrdering;
|
package/dist/esm/models/Sex.d.ts
CHANGED
|
@@ -24,3 +24,4 @@ export declare function instanceOfSex(value: any): boolean;
|
|
|
24
24
|
export declare function SexFromJSON(json: any): Sex;
|
|
25
25
|
export declare function SexFromJSONTyped(json: any, ignoreDiscriminator: boolean): Sex;
|
|
26
26
|
export declare function SexToJSON(value?: Sex | null): any;
|
|
27
|
+
export declare function SexToJSONTyped(value: any, ignoreDiscriminator: boolean): Sex;
|
package/dist/esm/models/Sex.js
CHANGED
|
@@ -28,4 +28,5 @@ export interface SmartIdInput {
|
|
|
28
28
|
export declare function instanceOfSmartIdInput(value: object): value is SmartIdInput;
|
|
29
29
|
export declare function SmartIdInputFromJSON(json: any): SmartIdInput;
|
|
30
30
|
export declare function SmartIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmartIdInput;
|
|
31
|
-
export declare function SmartIdInputToJSON(
|
|
31
|
+
export declare function SmartIdInputToJSON(json: any): SmartIdInput;
|
|
32
|
+
export declare function SmartIdInputToJSONTyped(value?: SmartIdInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -28,7 +28,10 @@ export function SmartIdInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'smartIdDocumentNumber': json['smartIdDocumentNumber'] == null ? undefined : json['smartIdDocumentNumber'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export function SmartIdInputToJSON(
|
|
31
|
+
export function SmartIdInputToJSON(json) {
|
|
32
|
+
return SmartIdInputToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function SmartIdInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
32
35
|
if (value == null) {
|
|
33
36
|
return value;
|
|
34
37
|
}
|
|
@@ -46,4 +46,5 @@ export interface SouthAfricaNidInput {
|
|
|
46
46
|
export declare function instanceOfSouthAfricaNidInput(value: object): value is SouthAfricaNidInput;
|
|
47
47
|
export declare function SouthAfricaNidInputFromJSON(json: any): SouthAfricaNidInput;
|
|
48
48
|
export declare function SouthAfricaNidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SouthAfricaNidInput;
|
|
49
|
-
export declare function SouthAfricaNidInputToJSON(
|
|
49
|
+
export declare function SouthAfricaNidInputToJSON(json: any): SouthAfricaNidInput;
|
|
50
|
+
export declare function SouthAfricaNidInputToJSONTyped(value?: SouthAfricaNidInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -39,7 +39,10 @@ export function SouthAfricaNidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'nationalIdNumber': json['nationalIdNumber'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
export function SouthAfricaNidInputToJSON(
|
|
42
|
+
export function SouthAfricaNidInputToJSON(json) {
|
|
43
|
+
return SouthAfricaNidInputToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function SouthAfricaNidInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
46
|
if (value == null) {
|
|
44
47
|
return value;
|
|
45
48
|
}
|
|
@@ -30,4 +30,5 @@ export interface SpidInput {
|
|
|
30
30
|
export declare function instanceOfSpidInput(value: object): value is SpidInput;
|
|
31
31
|
export declare function SpidInputFromJSON(json: any): SpidInput;
|
|
32
32
|
export declare function SpidInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SpidInput;
|
|
33
|
-
export declare function SpidInputToJSON(
|
|
33
|
+
export declare function SpidInputToJSON(json: any): SpidInput;
|
|
34
|
+
export declare function SpidInputToJSONTyped(value?: SpidInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -28,7 +28,10 @@ export function SpidInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export function SpidInputToJSON(
|
|
31
|
+
export function SpidInputToJSON(json) {
|
|
32
|
+
return SpidInputToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function SpidInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
32
35
|
if (value == null) {
|
|
33
36
|
return value;
|
|
34
37
|
}
|
|
@@ -42,4 +42,5 @@ export interface StepRefreshInfo {
|
|
|
42
42
|
export declare function instanceOfStepRefreshInfo(value: object): value is StepRefreshInfo;
|
|
43
43
|
export declare function StepRefreshInfoFromJSON(json: any): StepRefreshInfo;
|
|
44
44
|
export declare function StepRefreshInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): StepRefreshInfo;
|
|
45
|
-
export declare function StepRefreshInfoToJSON(
|
|
45
|
+
export declare function StepRefreshInfoToJSON(json: any): StepRefreshInfo;
|
|
46
|
+
export declare function StepRefreshInfoToJSONTyped(value?: StepRefreshInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -36,7 +36,10 @@ export function StepRefreshInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'timeToLiveSeconds': json['timeToLiveSeconds'],
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export function StepRefreshInfoToJSON(
|
|
39
|
+
export function StepRefreshInfoToJSON(json) {
|
|
40
|
+
return StepRefreshInfoToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function StepRefreshInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
43
|
if (value == null) {
|
|
41
44
|
return value;
|
|
42
45
|
}
|
|
@@ -51,4 +51,5 @@ export interface SubProviderMetadata {
|
|
|
51
51
|
export declare function instanceOfSubProviderMetadata(value: object): value is SubProviderMetadata;
|
|
52
52
|
export declare function SubProviderMetadataFromJSON(json: any): SubProviderMetadata;
|
|
53
53
|
export declare function SubProviderMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubProviderMetadata;
|
|
54
|
-
export declare function SubProviderMetadataToJSON(
|
|
54
|
+
export declare function SubProviderMetadataToJSON(json: any): SubProviderMetadata;
|
|
55
|
+
export declare function SubProviderMetadataToJSONTyped(value?: SubProviderMetadata | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -39,7 +39,10 @@ export function SubProviderMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
39
39
|
'logoUrl': json['logoUrl'],
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
export function SubProviderMetadataToJSON(
|
|
42
|
+
export function SubProviderMetadataToJSON(json) {
|
|
43
|
+
return SubProviderMetadataToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
export function SubProviderMetadataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
46
|
if (value == null) {
|
|
44
47
|
return value;
|
|
45
48
|
}
|
|
@@ -63,4 +63,5 @@ export interface TrinsicTestDatabaseLookupInput {
|
|
|
63
63
|
export declare function instanceOfTrinsicTestDatabaseLookupInput(value: object): value is TrinsicTestDatabaseLookupInput;
|
|
64
64
|
export declare function TrinsicTestDatabaseLookupInputFromJSON(json: any): TrinsicTestDatabaseLookupInput;
|
|
65
65
|
export declare function TrinsicTestDatabaseLookupInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestDatabaseLookupInput;
|
|
66
|
-
export declare function TrinsicTestDatabaseLookupInputToJSON(
|
|
66
|
+
export declare function TrinsicTestDatabaseLookupInputToJSON(json: any): TrinsicTestDatabaseLookupInput;
|
|
67
|
+
export declare function TrinsicTestDatabaseLookupInputToJSONTyped(value?: TrinsicTestDatabaseLookupInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -31,7 +31,10 @@ export function TrinsicTestDatabaseLookupInputFromJSONTyped(json, ignoreDiscrimi
|
|
|
31
31
|
'selfieBase64': json['selfieBase64'] == null ? undefined : json['selfieBase64'],
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function TrinsicTestDatabaseLookupInputToJSON(
|
|
34
|
+
export function TrinsicTestDatabaseLookupInputToJSON(json) {
|
|
35
|
+
return TrinsicTestDatabaseLookupInputToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function TrinsicTestDatabaseLookupInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
38
|
if (value == null) {
|
|
36
39
|
return value;
|
|
37
40
|
}
|
|
@@ -32,4 +32,5 @@ export interface TrinsicTestSubProvidersInput {
|
|
|
32
32
|
export declare function instanceOfTrinsicTestSubProvidersInput(value: object): value is TrinsicTestSubProvidersInput;
|
|
33
33
|
export declare function TrinsicTestSubProvidersInputFromJSON(json: any): TrinsicTestSubProvidersInput;
|
|
34
34
|
export declare function TrinsicTestSubProvidersInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrinsicTestSubProvidersInput;
|
|
35
|
-
export declare function TrinsicTestSubProvidersInputToJSON(
|
|
35
|
+
export declare function TrinsicTestSubProvidersInputToJSON(json: any): TrinsicTestSubProvidersInput;
|
|
36
|
+
export declare function TrinsicTestSubProvidersInputToJSONTyped(value?: TrinsicTestSubProvidersInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -28,7 +28,10 @@ export function TrinsicTestSubProvidersInputFromJSONTyped(json, ignoreDiscrimina
|
|
|
28
28
|
'subProviderId': json['subProviderId'] == null ? undefined : json['subProviderId'],
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
export function TrinsicTestSubProvidersInputToJSON(
|
|
31
|
+
export function TrinsicTestSubProvidersInputToJSON(json) {
|
|
32
|
+
return TrinsicTestSubProvidersInputToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function TrinsicTestSubProvidersInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
32
35
|
if (value == null) {
|
|
33
36
|
return value;
|
|
34
37
|
}
|
|
@@ -41,6 +41,7 @@ export * from './PhilippineQRInput';
|
|
|
41
41
|
export * from './ProblemDetails';
|
|
42
42
|
export * from './ProviderAttachments';
|
|
43
43
|
export * from './ProviderContract';
|
|
44
|
+
export * from './ProviderHealth';
|
|
44
45
|
export * from './ProviderInfo';
|
|
45
46
|
export * from './ProviderInformation';
|
|
46
47
|
export * from './ProviderInput';
|
package/dist/esm/models/index.js
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/dist/esm/runtime.d.ts
CHANGED
|
@@ -123,7 +123,10 @@ export interface RequestOpts {
|
|
|
123
123
|
body?: HTTPBody;
|
|
124
124
|
}
|
|
125
125
|
export declare function querystring(params: HTTPQuery, prefix?: string): string;
|
|
126
|
-
export declare function
|
|
126
|
+
export declare function exists(json: any, key: string): boolean;
|
|
127
|
+
export declare function mapValues(data: any, fn: (item: any) => any): {
|
|
128
|
+
[key: string]: any;
|
|
129
|
+
};
|
|
127
130
|
export declare function canConsumeForm(consumes: Consume[]): boolean;
|
|
128
131
|
export interface Consume {
|
|
129
132
|
contentType: string;
|
package/dist/esm/runtime.js
CHANGED
|
@@ -270,8 +270,16 @@ function querystringSingleKey(key, value, keyPrefix = '') {
|
|
|
270
270
|
}
|
|
271
271
|
return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
|
|
272
272
|
}
|
|
273
|
+
export function exists(json, key) {
|
|
274
|
+
const value = json[key];
|
|
275
|
+
return value !== null && value !== undefined;
|
|
276
|
+
}
|
|
273
277
|
export function mapValues(data, fn) {
|
|
274
|
-
|
|
278
|
+
const result = {};
|
|
279
|
+
for (const key of Object.keys(data)) {
|
|
280
|
+
result[key] = fn(data[key]);
|
|
281
|
+
}
|
|
282
|
+
return result;
|
|
275
283
|
}
|
|
276
284
|
export function canConsumeForm(consumes) {
|
|
277
285
|
for (const consume of consumes) {
|
|
@@ -34,4 +34,5 @@ export interface AadhaarInput {
|
|
|
34
34
|
export declare function instanceOfAadhaarInput(value: object): value is AadhaarInput;
|
|
35
35
|
export declare function AadhaarInputFromJSON(json: any): AadhaarInput;
|
|
36
36
|
export declare function AadhaarInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): AadhaarInput;
|
|
37
|
-
export declare function AadhaarInputToJSON(
|
|
37
|
+
export declare function AadhaarInputToJSON(json: any): AadhaarInput;
|
|
38
|
+
export declare function AadhaarInputToJSONTyped(value?: AadhaarInput | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAadhaarInput = instanceOfAadhaarInput;
|
|
|
17
17
|
exports.AadhaarInputFromJSON = AadhaarInputFromJSON;
|
|
18
18
|
exports.AadhaarInputFromJSONTyped = AadhaarInputFromJSONTyped;
|
|
19
19
|
exports.AadhaarInputToJSON = AadhaarInputToJSON;
|
|
20
|
+
exports.AadhaarInputToJSONTyped = AadhaarInputToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the AadhaarInput interface.
|
|
22
23
|
*/
|
|
@@ -35,7 +36,10 @@ function AadhaarInputFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
36
|
'dateOfBirth': json['dateOfBirth'] == null ? undefined : (new Date(json['dateOfBirth'])),
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
|
-
function AadhaarInputToJSON(
|
|
39
|
+
function AadhaarInputToJSON(json) {
|
|
40
|
+
return AadhaarInputToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function AadhaarInputToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
43
|
if (value == null) {
|
|
40
44
|
return value;
|
|
41
45
|
}
|
package/dist/models/Address.d.ts
CHANGED
|
@@ -70,4 +70,5 @@ export interface Address {
|
|
|
70
70
|
export declare function instanceOfAddress(value: object): value is Address;
|
|
71
71
|
export declare function AddressFromJSON(json: any): Address;
|
|
72
72
|
export declare function AddressFromJSONTyped(json: any, ignoreDiscriminator: boolean): Address;
|
|
73
|
-
export declare function AddressToJSON(
|
|
73
|
+
export declare function AddressToJSON(json: any): Address;
|
|
74
|
+
export declare function AddressToJSONTyped(value?: Address | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/Address.js
CHANGED
|
@@ -17,6 +17,7 @@ exports.instanceOfAddress = instanceOfAddress;
|
|
|
17
17
|
exports.AddressFromJSON = AddressFromJSON;
|
|
18
18
|
exports.AddressFromJSONTyped = AddressFromJSONTyped;
|
|
19
19
|
exports.AddressToJSON = AddressToJSON;
|
|
20
|
+
exports.AddressToJSONTyped = AddressToJSONTyped;
|
|
20
21
|
/**
|
|
21
22
|
* Check if a given object implements the Address interface.
|
|
22
23
|
*/
|
|
@@ -41,7 +42,10 @@ function AddressFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
'fullAddress': json['fullAddress'] == null ? undefined : json['fullAddress'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
|
-
function AddressToJSON(
|
|
45
|
+
function AddressToJSON(json) {
|
|
46
|
+
return AddressToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AddressToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
49
|
if (value == null) {
|
|
46
50
|
return value;
|
|
47
51
|
}
|
|
@@ -53,4 +53,5 @@ export interface AttachmentAccessKeys {
|
|
|
53
53
|
export declare function instanceOfAttachmentAccessKeys(value: object): value is AttachmentAccessKeys;
|
|
54
54
|
export declare function AttachmentAccessKeysFromJSON(json: any): AttachmentAccessKeys;
|
|
55
55
|
export declare function AttachmentAccessKeysFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachmentAccessKeys;
|
|
56
|
-
export declare function AttachmentAccessKeysToJSON(
|
|
56
|
+
export declare function AttachmentAccessKeysToJSON(json: any): AttachmentAccessKeys;
|
|
57
|
+
export declare function AttachmentAccessKeysToJSONTyped(value?: AttachmentAccessKeys | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -17,6 +17,7 @@ exports.instanceOfAttachmentAccessKeys = instanceOfAttachmentAccessKeys;
|
|
|
17
17
|
exports.AttachmentAccessKeysFromJSON = AttachmentAccessKeysFromJSON;
|
|
18
18
|
exports.AttachmentAccessKeysFromJSONTyped = AttachmentAccessKeysFromJSONTyped;
|
|
19
19
|
exports.AttachmentAccessKeysToJSON = AttachmentAccessKeysToJSON;
|
|
20
|
+
exports.AttachmentAccessKeysToJSONTyped = AttachmentAccessKeysToJSONTyped;
|
|
20
21
|
const ProviderAttachments_1 = require("./ProviderAttachments");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the AttachmentAccessKeys interface.
|
|
@@ -41,7 +42,10 @@ function AttachmentAccessKeysFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
42
|
'provider': (0, ProviderAttachments_1.ProviderAttachmentsFromJSON)(json['provider']),
|
|
42
43
|
};
|
|
43
44
|
}
|
|
44
|
-
function AttachmentAccessKeysToJSON(
|
|
45
|
+
function AttachmentAccessKeysToJSON(json) {
|
|
46
|
+
return AttachmentAccessKeysToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function AttachmentAccessKeysToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
49
|
if (value == null) {
|
|
46
50
|
return value;
|
|
47
51
|
}
|
|
@@ -46,4 +46,5 @@ export interface BangladeshNationalIdInput {
|
|
|
46
46
|
export declare function instanceOfBangladeshNationalIdInput(value: object): value is BangladeshNationalIdInput;
|
|
47
47
|
export declare function BangladeshNationalIdInputFromJSON(json: any): BangladeshNationalIdInput;
|
|
48
48
|
export declare function BangladeshNationalIdInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): BangladeshNationalIdInput;
|
|
49
|
-
export declare function BangladeshNationalIdInputToJSON(
|
|
49
|
+
export declare function BangladeshNationalIdInputToJSON(json: any): BangladeshNationalIdInput;
|
|
50
|
+
export declare function BangladeshNationalIdInputToJSONTyped(value?: BangladeshNationalIdInput | null, ignoreDiscriminator?: boolean): any;
|