@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
|
@@ -48,10 +48,15 @@ export function DocumentScanAttachmentsFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export function DocumentScanAttachmentsToJSON(
|
|
51
|
+
export function DocumentScanAttachmentsToJSON(json: any): DocumentScanAttachments {
|
|
52
|
+
return DocumentScanAttachmentsToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function DocumentScanAttachmentsToJSONTyped(value?: DocumentScanAttachments | null, ignoreDiscriminator: boolean = false): any {
|
|
52
56
|
if (value == null) {
|
|
53
57
|
return value;
|
|
54
58
|
}
|
|
59
|
+
|
|
55
60
|
return {
|
|
56
61
|
|
|
57
62
|
'report': value['report'],
|
|
@@ -49,10 +49,15 @@ export function GetAttachmentRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function GetAttachmentRequestToJSON(
|
|
52
|
+
export function GetAttachmentRequestToJSON(json: any): GetAttachmentRequest {
|
|
53
|
+
return GetAttachmentRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function GetAttachmentRequestToJSONTyped(value?: GetAttachmentRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
53
57
|
if (value == null) {
|
|
54
58
|
return value;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
return {
|
|
57
62
|
|
|
58
63
|
'attachmentAccessKey': value['attachmentAccessKey'],
|
|
@@ -57,10 +57,15 @@ export function GetAttachmentResponseFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
|
|
60
|
-
export function GetAttachmentResponseToJSON(
|
|
60
|
+
export function GetAttachmentResponseToJSON(json: any): GetAttachmentResponse {
|
|
61
|
+
return GetAttachmentResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function GetAttachmentResponseToJSONTyped(value?: GetAttachmentResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
61
65
|
if (value == null) {
|
|
62
66
|
return value;
|
|
63
67
|
}
|
|
68
|
+
|
|
64
69
|
return {
|
|
65
70
|
|
|
66
71
|
'content': value['content'],
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
SessionFromJSON,
|
|
19
19
|
SessionFromJSONTyped,
|
|
20
20
|
SessionToJSON,
|
|
21
|
+
SessionToJSONTyped,
|
|
21
22
|
} from './Session';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -56,10 +57,15 @@ export function GetSessionResponseFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
export function GetSessionResponseToJSON(
|
|
60
|
+
export function GetSessionResponseToJSON(json: any): GetSessionResponse {
|
|
61
|
+
return GetSessionResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function GetSessionResponseToJSONTyped(value?: GetSessionResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
60
65
|
if (value == null) {
|
|
61
66
|
return value;
|
|
62
67
|
}
|
|
68
|
+
|
|
63
69
|
return {
|
|
64
70
|
|
|
65
71
|
'session': SessionToJSON(value['session']),
|
|
@@ -49,10 +49,15 @@ export function GetSessionResultRequestFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function GetSessionResultRequestToJSON(
|
|
52
|
+
export function GetSessionResultRequestToJSON(json: any): GetSessionResultRequest {
|
|
53
|
+
return GetSessionResultRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function GetSessionResultRequestToJSONTyped(value?: GetSessionResultRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
53
57
|
if (value == null) {
|
|
54
58
|
return value;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
return {
|
|
57
62
|
|
|
58
63
|
'resultsAccessKey': value['resultsAccessKey'],
|
|
@@ -18,12 +18,14 @@ import {
|
|
|
18
18
|
IdentityDataFromJSON,
|
|
19
19
|
IdentityDataFromJSONTyped,
|
|
20
20
|
IdentityDataToJSON,
|
|
21
|
+
IdentityDataToJSONTyped,
|
|
21
22
|
} from './IdentityData';
|
|
22
23
|
import type { Session } from './Session';
|
|
23
24
|
import {
|
|
24
25
|
SessionFromJSON,
|
|
25
26
|
SessionFromJSONTyped,
|
|
26
27
|
SessionToJSON,
|
|
28
|
+
SessionToJSONTyped,
|
|
27
29
|
} from './Session';
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -69,10 +71,15 @@ export function GetSessionResultResponseFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
|
|
72
|
-
export function GetSessionResultResponseToJSON(
|
|
74
|
+
export function GetSessionResultResponseToJSON(json: any): GetSessionResultResponse {
|
|
75
|
+
return GetSessionResultResponseToJSONTyped(json, false);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function GetSessionResultResponseToJSONTyped(value?: GetSessionResultResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
73
79
|
if (value == null) {
|
|
74
80
|
return value;
|
|
75
81
|
}
|
|
82
|
+
|
|
76
83
|
return {
|
|
77
84
|
|
|
78
85
|
'session': SessionToJSON(value['session']),
|
|
@@ -83,10 +83,15 @@ export function HttpValidationProblemDetailsFromJSONTyped(json: any, ignoreDiscr
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
export function HttpValidationProblemDetailsToJSON(
|
|
86
|
+
export function HttpValidationProblemDetailsToJSON(json: any): HttpValidationProblemDetails {
|
|
87
|
+
return HttpValidationProblemDetailsToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function HttpValidationProblemDetailsToJSONTyped(value?: HttpValidationProblemDetails | null, ignoreDiscriminator: boolean = false): any {
|
|
87
91
|
if (value == null) {
|
|
88
92
|
return value;
|
|
89
93
|
}
|
|
94
|
+
|
|
90
95
|
return {
|
|
91
96
|
|
|
92
97
|
'type': value['type'],
|
|
@@ -18,18 +18,21 @@ import {
|
|
|
18
18
|
DocumentDataFromJSON,
|
|
19
19
|
DocumentDataFromJSONTyped,
|
|
20
20
|
DocumentDataToJSON,
|
|
21
|
+
DocumentDataToJSONTyped,
|
|
21
22
|
} from './DocumentData';
|
|
22
23
|
import type { PersonData } from './PersonData';
|
|
23
24
|
import {
|
|
24
25
|
PersonDataFromJSON,
|
|
25
26
|
PersonDataFromJSONTyped,
|
|
26
27
|
PersonDataToJSON,
|
|
28
|
+
PersonDataToJSONTyped,
|
|
27
29
|
} from './PersonData';
|
|
28
30
|
import type { AttachmentAccessKeys } from './AttachmentAccessKeys';
|
|
29
31
|
import {
|
|
30
32
|
AttachmentAccessKeysFromJSON,
|
|
31
33
|
AttachmentAccessKeysFromJSONTyped,
|
|
32
34
|
AttachmentAccessKeysToJSON,
|
|
35
|
+
AttachmentAccessKeysToJSONTyped,
|
|
33
36
|
} from './AttachmentAccessKeys';
|
|
34
37
|
|
|
35
38
|
/**
|
|
@@ -44,6 +47,12 @@ export interface IdentityData {
|
|
|
44
47
|
* @memberof IdentityData
|
|
45
48
|
*/
|
|
46
49
|
originatingProviderId?: string | null;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof IdentityData
|
|
54
|
+
*/
|
|
55
|
+
originatingSubProviderId?: string | null;
|
|
47
56
|
/**
|
|
48
57
|
*
|
|
49
58
|
* @type {PersonData}
|
|
@@ -82,19 +91,26 @@ export function IdentityDataFromJSONTyped(json: any, ignoreDiscriminator: boolea
|
|
|
82
91
|
return {
|
|
83
92
|
|
|
84
93
|
'originatingProviderId': json['originatingProviderId'] == null ? undefined : json['originatingProviderId'],
|
|
94
|
+
'originatingSubProviderId': json['originatingSubProviderId'] == null ? undefined : json['originatingSubProviderId'],
|
|
85
95
|
'person': json['person'] == null ? undefined : PersonDataFromJSON(json['person']),
|
|
86
96
|
'document': json['document'] == null ? undefined : DocumentDataFromJSON(json['document']),
|
|
87
97
|
'attachmentAccessKeys': json['attachmentAccessKeys'] == null ? undefined : AttachmentAccessKeysFromJSON(json['attachmentAccessKeys']),
|
|
88
98
|
};
|
|
89
99
|
}
|
|
90
100
|
|
|
91
|
-
export function IdentityDataToJSON(
|
|
101
|
+
export function IdentityDataToJSON(json: any): IdentityData {
|
|
102
|
+
return IdentityDataToJSONTyped(json, false);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export function IdentityDataToJSONTyped(value?: IdentityData | null, ignoreDiscriminator: boolean = false): any {
|
|
92
106
|
if (value == null) {
|
|
93
107
|
return value;
|
|
94
108
|
}
|
|
109
|
+
|
|
95
110
|
return {
|
|
96
111
|
|
|
97
112
|
'originatingProviderId': value['originatingProviderId'],
|
|
113
|
+
'originatingSubProviderId': value['originatingSubProviderId'],
|
|
98
114
|
'person': PersonDataToJSON(value['person']),
|
|
99
115
|
'document': DocumentDataToJSON(value['document']),
|
|
100
116
|
'attachmentAccessKeys': AttachmentAccessKeysToJSON(value['attachmentAccessKeys']),
|
|
@@ -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 IdinInput
|
|
20
|
+
*/
|
|
21
|
+
export interface IdinInput {
|
|
22
|
+
/**
|
|
23
|
+
* The ID of the specific bank to invoke with IDIN.
|
|
24
|
+
*
|
|
25
|
+
* If not specified, the user will be prompted to select a bank.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IdinInput
|
|
28
|
+
*/
|
|
29
|
+
subProviderId?: string | null;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the IdinInput interface.
|
|
34
|
+
*/
|
|
35
|
+
export function instanceOfIdinInput(value: object): value is IdinInput {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export function IdinInputFromJSON(json: any): IdinInput {
|
|
40
|
+
return IdinInputFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function IdinInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): IdinInput {
|
|
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 IdinInputToJSON(json: any): IdinInput {
|
|
54
|
+
return IdinInputToJSONTyped(json, false);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function IdinInputToJSONTyped(value?: IdinInput | null, ignoreDiscriminator: boolean = false): any {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'subProviderId': value['subProviderId'],
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
@@ -65,10 +65,15 @@ export function IndonesiaNikInputFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
65
65
|
};
|
|
66
66
|
}
|
|
67
67
|
|
|
68
|
-
export function IndonesiaNikInputToJSON(
|
|
68
|
+
export function IndonesiaNikInputToJSON(json: any): IndonesiaNikInput {
|
|
69
|
+
return IndonesiaNikInputToJSONTyped(json, false);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function IndonesiaNikInputToJSONTyped(value?: IndonesiaNikInput | null, ignoreDiscriminator: boolean = false): any {
|
|
69
73
|
if (value == null) {
|
|
70
74
|
return value;
|
|
71
75
|
}
|
|
76
|
+
|
|
72
77
|
return {
|
|
73
78
|
|
|
74
79
|
'fullName': value['fullName'],
|
|
@@ -51,3 +51,7 @@ export function IntegrationCapabilityToJSON(value?: IntegrationCapability | null
|
|
|
51
51
|
return value as any;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
export function IntegrationCapabilityToJSONTyped(value: any, ignoreDiscriminator: boolean): IntegrationCapability {
|
|
55
|
+
return value as IntegrationCapability;
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
*/
|
|
20
20
|
export const IntegrationLaunchMethod = {
|
|
21
21
|
LaunchBrowser: 'LaunchBrowser',
|
|
22
|
-
|
|
22
|
+
None: 'None',
|
|
23
23
|
DeeplinkToMobile: 'DeeplinkToMobile',
|
|
24
24
|
ShowContent: 'ShowContent'
|
|
25
25
|
} as const;
|
|
@@ -49,3 +49,7 @@ export function IntegrationLaunchMethodToJSON(value?: IntegrationLaunchMethod |
|
|
|
49
49
|
return value as any;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
+
export function IntegrationLaunchMethodToJSONTyped(value: any, ignoreDiscriminator: boolean): IntegrationLaunchMethod {
|
|
53
|
+
return value as IntegrationLaunchMethod;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -18,12 +18,14 @@ import {
|
|
|
18
18
|
StepRefreshInfoFromJSON,
|
|
19
19
|
StepRefreshInfoFromJSONTyped,
|
|
20
20
|
StepRefreshInfoToJSON,
|
|
21
|
+
StepRefreshInfoToJSONTyped,
|
|
21
22
|
} from './StepRefreshInfo';
|
|
22
23
|
import type { IntegrationLaunchMethod } from './IntegrationLaunchMethod';
|
|
23
24
|
import {
|
|
24
25
|
IntegrationLaunchMethodFromJSON,
|
|
25
26
|
IntegrationLaunchMethodFromJSONTyped,
|
|
26
27
|
IntegrationLaunchMethodToJSON,
|
|
28
|
+
IntegrationLaunchMethodToJSONTyped,
|
|
27
29
|
} from './IntegrationLaunchMethod';
|
|
28
30
|
|
|
29
31
|
/**
|
|
@@ -49,7 +51,7 @@ export interface IntegrationStep {
|
|
|
49
51
|
* @type {StepRefreshInfo}
|
|
50
52
|
* @memberof IntegrationStep
|
|
51
53
|
*/
|
|
52
|
-
refresh
|
|
54
|
+
refresh?: StepRefreshInfo | null;
|
|
53
55
|
}
|
|
54
56
|
|
|
55
57
|
|
|
@@ -60,7 +62,6 @@ export interface IntegrationStep {
|
|
|
60
62
|
export function instanceOfIntegrationStep(value: object): value is IntegrationStep {
|
|
61
63
|
if (!('method' in value) || value['method'] === undefined) return false;
|
|
62
64
|
if (!('content' in value) || value['content'] === undefined) return false;
|
|
63
|
-
if (!('refresh' in value) || value['refresh'] === undefined) return false;
|
|
64
65
|
return true;
|
|
65
66
|
}
|
|
66
67
|
|
|
@@ -76,14 +77,19 @@ export function IntegrationStepFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
76
77
|
|
|
77
78
|
'method': IntegrationLaunchMethodFromJSON(json['method']),
|
|
78
79
|
'content': json['content'],
|
|
79
|
-
'refresh': StepRefreshInfoFromJSON(json['refresh']),
|
|
80
|
+
'refresh': json['refresh'] == null ? undefined : StepRefreshInfoFromJSON(json['refresh']),
|
|
80
81
|
};
|
|
81
82
|
}
|
|
82
83
|
|
|
83
|
-
export function IntegrationStepToJSON(
|
|
84
|
+
export function IntegrationStepToJSON(json: any): IntegrationStep {
|
|
85
|
+
return IntegrationStepToJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function IntegrationStepToJSONTyped(value?: IntegrationStep | null, ignoreDiscriminator: boolean = false): any {
|
|
84
89
|
if (value == null) {
|
|
85
90
|
return value;
|
|
86
91
|
}
|
|
92
|
+
|
|
87
93
|
return {
|
|
88
94
|
|
|
89
95
|
'method': IntegrationLaunchMethodToJSON(value['method']),
|
|
@@ -88,10 +88,15 @@ export function KenyaNidInputFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
88
88
|
};
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
export function KenyaNidInputToJSON(
|
|
91
|
+
export function KenyaNidInputToJSON(json: any): KenyaNidInput {
|
|
92
|
+
return KenyaNidInputToJSONTyped(json, false);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export function KenyaNidInputToJSONTyped(value?: KenyaNidInput | null, ignoreDiscriminator: boolean = false): any {
|
|
92
96
|
if (value == null) {
|
|
93
97
|
return value;
|
|
94
98
|
}
|
|
99
|
+
|
|
95
100
|
return {
|
|
96
101
|
|
|
97
102
|
'firstName': value['firstName'],
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const Language = {
|
|
21
|
+
Lit: 'LIT',
|
|
22
|
+
Est: 'EST',
|
|
23
|
+
Eng: 'ENG',
|
|
24
|
+
Rus: 'RUS'
|
|
25
|
+
} as const;
|
|
26
|
+
export type Language = typeof Language[keyof typeof Language];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfLanguage(value: any): boolean {
|
|
30
|
+
for (const key in Language) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(Language, key)) {
|
|
32
|
+
if (Language[key as keyof typeof Language] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function LanguageFromJSON(json: any): Language {
|
|
41
|
+
return LanguageFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function LanguageFromJSONTyped(json: any, ignoreDiscriminator: boolean): Language {
|
|
45
|
+
return json as Language;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function LanguageToJSON(value?: Language | null): any {
|
|
49
|
+
return value as any;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function LanguageToJSONTyped(value: any, ignoreDiscriminator: boolean): Language {
|
|
53
|
+
return value as Language;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
import type { ProviderContract } from './ProviderContract';
|
|
17
|
+
import {
|
|
18
|
+
ProviderContractFromJSON,
|
|
19
|
+
ProviderContractFromJSONTyped,
|
|
20
|
+
ProviderContractToJSON,
|
|
21
|
+
ProviderContractToJSONTyped,
|
|
22
|
+
} from './ProviderContract';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ListProviderContractsResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface ListProviderContractsResponse {
|
|
30
|
+
/**
|
|
31
|
+
* Contracts for all Providers available to your App, filtered by your App's current test mode setting.
|
|
32
|
+
* @type {Array<ProviderContract>}
|
|
33
|
+
* @memberof ListProviderContractsResponse
|
|
34
|
+
*/
|
|
35
|
+
providerContracts: Array<ProviderContract>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ListProviderContractsResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfListProviderContractsResponse(value: object): value is ListProviderContractsResponse {
|
|
42
|
+
if (!('providerContracts' in value) || value['providerContracts'] === undefined) return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export function ListProviderContractsResponseFromJSON(json: any): ListProviderContractsResponse {
|
|
47
|
+
return ListProviderContractsResponseFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export function ListProviderContractsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListProviderContractsResponse {
|
|
51
|
+
if (json == null) {
|
|
52
|
+
return json;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
|
|
56
|
+
'providerContracts': ((json['providerContracts'] as Array<any>).map(ProviderContractFromJSON)),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ListProviderContractsResponseToJSON(json: any): ListProviderContractsResponse {
|
|
61
|
+
return ListProviderContractsResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ListProviderContractsResponseToJSONTyped(value?: ListProviderContractsResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'providerContracts': ((value['providerContracts'] as Array<any>).map(ProviderContractToJSON)),
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
ProviderInfoFromJSON,
|
|
19
19
|
ProviderInfoFromJSONTyped,
|
|
20
20
|
ProviderInfoToJSON,
|
|
21
|
+
ProviderInfoToJSONTyped,
|
|
21
22
|
} from './ProviderInfo';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -56,10 +57,15 @@ export function ListProvidersResponseFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
56
57
|
};
|
|
57
58
|
}
|
|
58
59
|
|
|
59
|
-
export function ListProvidersResponseToJSON(
|
|
60
|
+
export function ListProvidersResponseToJSON(json: any): ListProvidersResponse {
|
|
61
|
+
return ListProvidersResponseToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ListProvidersResponseToJSONTyped(value?: ListProvidersResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
60
65
|
if (value == null) {
|
|
61
66
|
return value;
|
|
62
67
|
}
|
|
68
|
+
|
|
63
69
|
return {
|
|
64
70
|
|
|
65
71
|
'providers': ((value['providers'] as Array<any>).map(ProviderInfoToJSON)),
|
|
@@ -18,6 +18,7 @@ import {
|
|
|
18
18
|
SessionFromJSON,
|
|
19
19
|
SessionFromJSONTyped,
|
|
20
20
|
SessionToJSON,
|
|
21
|
+
SessionToJSONTyped,
|
|
21
22
|
} from './Session';
|
|
22
23
|
|
|
23
24
|
/**
|
|
@@ -72,10 +73,15 @@ export function ListSessionsResponseFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
72
73
|
};
|
|
73
74
|
}
|
|
74
75
|
|
|
75
|
-
export function ListSessionsResponseToJSON(
|
|
76
|
+
export function ListSessionsResponseToJSON(json: any): ListSessionsResponse {
|
|
77
|
+
return ListSessionsResponseToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function ListSessionsResponseToJSONTyped(value?: ListSessionsResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
76
81
|
if (value == null) {
|
|
77
82
|
return value;
|
|
78
83
|
}
|
|
84
|
+
|
|
79
85
|
return {
|
|
80
86
|
|
|
81
87
|
'sessions': ((value['sessions'] as Array<any>).map(SessionToJSON)),
|
|
@@ -49,10 +49,15 @@ export function MexicoCurpInputFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
export function MexicoCurpInputToJSON(
|
|
52
|
+
export function MexicoCurpInputToJSON(json: any): MexicoCurpInput {
|
|
53
|
+
return MexicoCurpInputToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function MexicoCurpInputToJSONTyped(value?: MexicoCurpInput | null, ignoreDiscriminator: boolean = false): any {
|
|
53
57
|
if (value == null) {
|
|
54
58
|
return value;
|
|
55
59
|
}
|
|
60
|
+
|
|
56
61
|
return {
|
|
57
62
|
|
|
58
63
|
'curp': value['curp'],
|