@documenso/sdk-typescript 0.3.1 → 0.4.0
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/FUNCTIONS.md +4 -4
- package/README.md +122 -113
- package/RUNTIMES.md +6 -6
- package/bin/mcp-server.js +4914 -2598
- package/bin/mcp-server.js.map +150 -143
- package/docs/sdks/directlink/README.md +3 -0
- package/docs/sdks/document/README.md +84 -0
- package/docs/sdks/documents/README.md +124 -108
- package/docs/sdks/documentsfields/README.md +6 -0
- package/docs/sdks/documentsrecipients/README.md +6 -0
- package/docs/sdks/embedding/README.md +2 -0
- package/docs/sdks/template/README.md +83 -0
- package/docs/sdks/templates/README.md +6 -0
- package/docs/sdks/templatesfields/README.md +6 -0
- package/docs/sdks/templatesrecipients/README.md +6 -0
- package/examples/README.md +31 -0
- package/examples/documentsGet.example.ts +28 -0
- package/examples/package-lock.json +627 -0
- package/examples/package.json +18 -0
- package/funcs/documentDocumentDownload.d.ts +18 -0
- package/funcs/documentDocumentDownload.d.ts.map +1 -0
- package/funcs/documentDocumentDownload.js +127 -0
- package/funcs/documentDocumentDownload.js.map +1 -0
- package/funcs/documentsCreateV0.js +1 -1
- package/funcs/documentsCreateV0.js.map +1 -1
- package/funcs/documentsDelete.d.ts +1 -1
- package/funcs/documentsDelete.d.ts.map +1 -1
- package/funcs/documentsDelete.js +4 -4
- package/funcs/documentsDelete.js.map +1 -1
- package/funcs/documentsDistribute.d.ts +1 -1
- package/funcs/documentsDistribute.d.ts.map +1 -1
- package/funcs/documentsDistribute.js +4 -4
- package/funcs/documentsDistribute.js.map +1 -1
- package/funcs/documentsDuplicate.d.ts +1 -1
- package/funcs/documentsDuplicate.d.ts.map +1 -1
- package/funcs/documentsDuplicate.js +4 -4
- package/funcs/documentsDuplicate.js.map +1 -1
- package/funcs/documentsFieldsCreate.js +1 -1
- package/funcs/documentsFieldsCreate.js.map +1 -1
- package/funcs/documentsFieldsCreateMany.js +1 -1
- package/funcs/documentsFieldsCreateMany.js.map +1 -1
- package/funcs/documentsFieldsDelete.js +1 -1
- package/funcs/documentsFieldsDelete.js.map +1 -1
- package/funcs/documentsFieldsGet.js +1 -1
- package/funcs/documentsFieldsGet.js.map +1 -1
- package/funcs/documentsFieldsUpdate.js +1 -1
- package/funcs/documentsFieldsUpdate.js.map +1 -1
- package/funcs/documentsFieldsUpdateMany.js +1 -1
- package/funcs/documentsFieldsUpdateMany.js.map +1 -1
- package/funcs/documentsFind.d.ts +1 -1
- package/funcs/documentsFind.d.ts.map +1 -1
- package/funcs/documentsFind.js +4 -4
- package/funcs/documentsFind.js.map +1 -1
- package/funcs/documentsGet.d.ts +1 -1
- package/funcs/documentsGet.d.ts.map +1 -1
- package/funcs/documentsGet.js +4 -9
- package/funcs/documentsGet.js.map +1 -1
- package/funcs/documentsRecipientsCreate.js +1 -1
- package/funcs/documentsRecipientsCreate.js.map +1 -1
- package/funcs/documentsRecipientsCreateMany.js +1 -1
- package/funcs/documentsRecipientsCreateMany.js.map +1 -1
- package/funcs/documentsRecipientsDelete.js +1 -1
- package/funcs/documentsRecipientsDelete.js.map +1 -1
- package/funcs/documentsRecipientsGet.js +1 -1
- package/funcs/documentsRecipientsGet.js.map +1 -1
- package/funcs/documentsRecipientsUpdate.js +1 -1
- package/funcs/documentsRecipientsUpdate.js.map +1 -1
- package/funcs/documentsRecipientsUpdateMany.js +1 -1
- package/funcs/documentsRecipientsUpdateMany.js.map +1 -1
- package/funcs/documentsRedistribute.d.ts +1 -1
- package/funcs/documentsRedistribute.d.ts.map +1 -1
- package/funcs/documentsRedistribute.js +4 -4
- package/funcs/documentsRedistribute.js.map +1 -1
- package/funcs/documentsUpdate.d.ts +1 -1
- package/funcs/documentsUpdate.d.ts.map +1 -1
- package/funcs/documentsUpdate.js +4 -4
- package/funcs/documentsUpdate.js.map +1 -1
- package/funcs/embeddingEmbeddingPresignCreateEmbeddingPresignToken.js +1 -1
- package/funcs/embeddingEmbeddingPresignCreateEmbeddingPresignToken.js.map +1 -1
- package/funcs/embeddingEmbeddingPresignVerifyEmbeddingPresignToken.js +1 -1
- package/funcs/embeddingEmbeddingPresignVerifyEmbeddingPresignToken.js.map +1 -1
- package/funcs/templateTemplateCreateTemplateTemporary.d.ts +18 -0
- package/funcs/templateTemplateCreateTemplateTemporary.d.ts.map +1 -0
- package/funcs/templateTemplateCreateTemplateTemporary.js +118 -0
- package/funcs/templateTemplateCreateTemplateTemporary.js.map +1 -0
- package/funcs/templatesDelete.js +1 -1
- package/funcs/templatesDelete.js.map +1 -1
- package/funcs/templatesDirectLinkCreate.js +1 -1
- package/funcs/templatesDirectLinkCreate.js.map +1 -1
- package/funcs/templatesDirectLinkDelete.js +1 -1
- package/funcs/templatesDirectLinkDelete.js.map +1 -1
- package/funcs/templatesDirectLinkToggle.js +1 -1
- package/funcs/templatesDirectLinkToggle.js.map +1 -1
- package/funcs/templatesDuplicate.js +1 -1
- package/funcs/templatesDuplicate.js.map +1 -1
- package/funcs/templatesFieldsCreate.js +1 -1
- package/funcs/templatesFieldsCreate.js.map +1 -1
- package/funcs/templatesFieldsCreateMany.js +1 -1
- package/funcs/templatesFieldsCreateMany.js.map +1 -1
- package/funcs/templatesFieldsDelete.js +1 -1
- package/funcs/templatesFieldsDelete.js.map +1 -1
- package/funcs/templatesFieldsGet.js +1 -1
- package/funcs/templatesFieldsGet.js.map +1 -1
- package/funcs/templatesFieldsUpdate.js +1 -1
- package/funcs/templatesFieldsUpdate.js.map +1 -1
- package/funcs/templatesFieldsUpdateMany.js +1 -1
- package/funcs/templatesFieldsUpdateMany.js.map +1 -1
- package/funcs/templatesFind.js +1 -1
- package/funcs/templatesFind.js.map +1 -1
- package/funcs/templatesGet.js +1 -1
- package/funcs/templatesGet.js.map +1 -1
- package/funcs/templatesRecipientsCreate.js +1 -1
- package/funcs/templatesRecipientsCreate.js.map +1 -1
- package/funcs/templatesRecipientsCreateMany.js +1 -1
- package/funcs/templatesRecipientsCreateMany.js.map +1 -1
- package/funcs/templatesRecipientsDelete.js +1 -1
- package/funcs/templatesRecipientsDelete.js.map +1 -1
- package/funcs/templatesRecipientsGet.js +1 -1
- package/funcs/templatesRecipientsGet.js.map +1 -1
- package/funcs/templatesRecipientsUpdate.js +1 -1
- package/funcs/templatesRecipientsUpdate.js.map +1 -1
- package/funcs/templatesRecipientsUpdateMany.js +1 -1
- package/funcs/templatesRecipientsUpdateMany.js.map +1 -1
- package/funcs/templatesUpdate.js +1 -1
- package/funcs/templatesUpdate.js.map +1 -1
- package/funcs/templatesUse.js +1 -1
- package/funcs/templatesUse.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts.map +1 -1
- package/lib/env.d.ts.map +1 -1
- package/lib/env.js +18 -1
- package/lib/env.js.map +1 -1
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js.map +1 -1
- package/lib/url.js +1 -1
- package/lib/url.js.map +1 -1
- package/mcp-server/cli/start/command.d.ts.map +1 -1
- package/mcp-server/cli/start/command.js +0 -12
- package/mcp-server/cli/start/command.js.map +1 -1
- package/mcp-server/cli/start/impl.d.ts +0 -2
- package/mcp-server/cli/start/impl.d.ts.map +1 -1
- package/mcp-server/cli/start/impl.js +0 -2
- package/mcp-server/cli/start/impl.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +9 -5
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/documentDocumentDownload.d.ts +8 -0
- package/mcp-server/tools/documentDocumentDownload.d.ts.map +1 -0
- package/mcp-server/tools/documentDocumentDownload.js +64 -0
- package/mcp-server/tools/documentDocumentDownload.js.map +1 -0
- package/mcp-server/tools/documentsDelete.d.ts +1 -1
- package/mcp-server/tools/documentsDelete.js +1 -1
- package/mcp-server/tools/documentsDelete.js.map +1 -1
- package/mcp-server/tools/documentsDistribute.d.ts +1 -1
- package/mcp-server/tools/documentsDistribute.js +1 -1
- package/mcp-server/tools/documentsDistribute.js.map +1 -1
- package/mcp-server/tools/documentsDuplicate.d.ts +1 -1
- package/mcp-server/tools/documentsDuplicate.js +1 -1
- package/mcp-server/tools/documentsDuplicate.js.map +1 -1
- package/mcp-server/tools/documentsFind.d.ts +1 -1
- package/mcp-server/tools/documentsFind.js +1 -1
- package/mcp-server/tools/documentsFind.js.map +1 -1
- package/mcp-server/tools/documentsGet.d.ts +1 -1
- package/mcp-server/tools/documentsGet.js +1 -1
- package/mcp-server/tools/documentsGet.js.map +1 -1
- package/mcp-server/tools/documentsRedistribute.d.ts +1 -1
- package/mcp-server/tools/documentsRedistribute.js +1 -1
- package/mcp-server/tools/documentsRedistribute.js.map +1 -1
- package/mcp-server/tools/documentsUpdate.d.ts +1 -1
- package/mcp-server/tools/documentsUpdate.js +1 -1
- package/mcp-server/tools/documentsUpdate.js.map +1 -1
- package/mcp-server/tools/templateTemplateCreateTemplateTemporary.d.ts +8 -0
- package/mcp-server/tools/templateTemplateCreateTemplateTemporary.d.ts.map +1 -0
- package/mcp-server/tools/templateTemplateCreateTemplateTemporary.js +64 -0
- package/mcp-server/tools/templateTemplateCreateTemplateTemporary.js.map +1 -0
- package/models/errors/apierror.d.ts.map +1 -1
- package/models/errors/apierror.js +8 -2
- package/models/errors/apierror.js.map +1 -1
- package/models/errors/documentcreatedocumenttemporary.d.ts.map +1 -1
- package/models/errors/documentcreatedocumenttemporary.js +2 -6
- package/models/errors/documentcreatedocumenttemporary.js.map +1 -1
- package/models/errors/documentdelete.d.ts +143 -0
- package/models/errors/documentdelete.d.ts.map +1 -0
- package/models/errors/documentdelete.js +199 -0
- package/models/errors/documentdelete.js.map +1 -0
- package/models/errors/documentdistribute.d.ts +143 -0
- package/models/errors/documentdistribute.d.ts.map +1 -0
- package/models/errors/documentdistribute.js +198 -0
- package/models/errors/documentdistribute.js.map +1 -0
- package/models/errors/documentdownload.d.ts +212 -0
- package/models/errors/documentdownload.d.ts.map +1 -0
- package/models/errors/documentdownload.js +277 -0
- package/models/errors/documentdownload.js.map +1 -0
- package/models/errors/documentduplicate.d.ts +143 -0
- package/models/errors/documentduplicate.d.ts.map +1 -0
- package/models/errors/documentduplicate.js +198 -0
- package/models/errors/documentduplicate.js.map +1 -0
- package/models/errors/documentfind.d.ts +212 -0
- package/models/errors/documentfind.d.ts.map +1 -0
- package/models/errors/documentfind.js +278 -0
- package/models/errors/documentfind.js.map +1 -0
- package/models/errors/documentget.d.ts +212 -0
- package/models/errors/documentget.d.ts.map +1 -0
- package/models/errors/documentget.js +278 -0
- package/models/errors/documentget.js.map +1 -0
- package/models/errors/documentredistribute.d.ts +143 -0
- package/models/errors/{documentsenddocument.d.ts.map → documentredistribute.d.ts.map} +1 -1
- package/models/errors/documentredistribute.js +197 -0
- package/models/errors/documentredistribute.js.map +1 -0
- package/models/errors/documentupdate.d.ts +143 -0
- package/models/errors/documentupdate.d.ts.map +1 -0
- package/models/errors/documentupdate.js +199 -0
- package/models/errors/documentupdate.js.map +1 -0
- package/models/errors/embeddingpresigncreateembeddingpresigntoken.d.ts.map +1 -1
- package/models/errors/embeddingpresigncreateembeddingpresigntoken.js +2 -6
- package/models/errors/embeddingpresigncreateembeddingpresigntoken.js.map +1 -1
- package/models/errors/embeddingpresignverifyembeddingpresigntoken.d.ts.map +1 -1
- package/models/errors/embeddingpresignverifyembeddingpresigntoken.js +2 -6
- package/models/errors/embeddingpresignverifyembeddingpresigntoken.js.map +1 -1
- package/models/errors/fieldcreatedocumentfield.d.ts.map +1 -1
- package/models/errors/fieldcreatedocumentfield.js +2 -6
- package/models/errors/fieldcreatedocumentfield.js.map +1 -1
- package/models/errors/fieldcreatedocumentfields.d.ts.map +1 -1
- package/models/errors/fieldcreatedocumentfields.js +2 -6
- package/models/errors/fieldcreatedocumentfields.js.map +1 -1
- package/models/errors/fieldcreatetemplatefield.d.ts.map +1 -1
- package/models/errors/fieldcreatetemplatefield.js +2 -6
- package/models/errors/fieldcreatetemplatefield.js.map +1 -1
- package/models/errors/fieldcreatetemplatefields.d.ts.map +1 -1
- package/models/errors/fieldcreatetemplatefields.js +2 -6
- package/models/errors/fieldcreatetemplatefields.js.map +1 -1
- package/models/errors/fielddeletedocumentfield.d.ts.map +1 -1
- package/models/errors/fielddeletedocumentfield.js +2 -6
- package/models/errors/fielddeletedocumentfield.js.map +1 -1
- package/models/errors/fielddeletetemplatefield.d.ts.map +1 -1
- package/models/errors/fielddeletetemplatefield.js +2 -6
- package/models/errors/fielddeletetemplatefield.js.map +1 -1
- package/models/errors/fieldgetdocumentfield.d.ts.map +1 -1
- package/models/errors/fieldgetdocumentfield.js +3 -9
- package/models/errors/fieldgetdocumentfield.js.map +1 -1
- package/models/errors/fieldgettemplatefield.d.ts.map +1 -1
- package/models/errors/fieldgettemplatefield.js +3 -9
- package/models/errors/fieldgettemplatefield.js.map +1 -1
- package/models/errors/fieldupdatedocumentfield.d.ts.map +1 -1
- package/models/errors/fieldupdatedocumentfield.js +2 -6
- package/models/errors/fieldupdatedocumentfield.js.map +1 -1
- package/models/errors/fieldupdatedocumentfields.d.ts.map +1 -1
- package/models/errors/fieldupdatedocumentfields.js +2 -6
- package/models/errors/fieldupdatedocumentfields.js.map +1 -1
- package/models/errors/fieldupdatetemplatefield.d.ts.map +1 -1
- package/models/errors/fieldupdatetemplatefield.js +2 -6
- package/models/errors/fieldupdatetemplatefield.js.map +1 -1
- package/models/errors/fieldupdatetemplatefields.d.ts.map +1 -1
- package/models/errors/fieldupdatetemplatefields.js +2 -6
- package/models/errors/fieldupdatetemplatefields.js.map +1 -1
- package/models/errors/index.d.ts +10 -7
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +10 -7
- package/models/errors/index.js.map +1 -1
- package/models/errors/recipientcreatedocumentrecipient.d.ts.map +1 -1
- package/models/errors/recipientcreatedocumentrecipient.js +2 -6
- package/models/errors/recipientcreatedocumentrecipient.js.map +1 -1
- package/models/errors/recipientcreatedocumentrecipients.d.ts.map +1 -1
- package/models/errors/recipientcreatedocumentrecipients.js +2 -6
- package/models/errors/recipientcreatedocumentrecipients.js.map +1 -1
- package/models/errors/recipientcreatetemplaterecipient.d.ts.map +1 -1
- package/models/errors/recipientcreatetemplaterecipient.js +2 -6
- package/models/errors/recipientcreatetemplaterecipient.js.map +1 -1
- package/models/errors/recipientcreatetemplaterecipients.d.ts.map +1 -1
- package/models/errors/recipientcreatetemplaterecipients.js +2 -6
- package/models/errors/recipientcreatetemplaterecipients.js.map +1 -1
- package/models/errors/recipientdeletedocumentrecipient.d.ts.map +1 -1
- package/models/errors/recipientdeletedocumentrecipient.js +2 -6
- package/models/errors/recipientdeletedocumentrecipient.js.map +1 -1
- package/models/errors/recipientdeletetemplaterecipient.d.ts.map +1 -1
- package/models/errors/recipientdeletetemplaterecipient.js +2 -6
- package/models/errors/recipientdeletetemplaterecipient.js.map +1 -1
- package/models/errors/recipientgetdocumentrecipient.d.ts.map +1 -1
- package/models/errors/recipientgetdocumentrecipient.js +3 -9
- package/models/errors/recipientgetdocumentrecipient.js.map +1 -1
- package/models/errors/recipientgettemplaterecipient.d.ts.map +1 -1
- package/models/errors/recipientgettemplaterecipient.js +3 -9
- package/models/errors/recipientgettemplaterecipient.js.map +1 -1
- package/models/errors/recipientupdatedocumentrecipient.d.ts.map +1 -1
- package/models/errors/recipientupdatedocumentrecipient.js +2 -6
- package/models/errors/recipientupdatedocumentrecipient.js.map +1 -1
- package/models/errors/recipientupdatedocumentrecipients.d.ts.map +1 -1
- package/models/errors/recipientupdatedocumentrecipients.js +2 -6
- package/models/errors/recipientupdatedocumentrecipients.js.map +1 -1
- package/models/errors/recipientupdatetemplaterecipient.d.ts.map +1 -1
- package/models/errors/recipientupdatetemplaterecipient.js +2 -6
- package/models/errors/recipientupdatetemplaterecipient.js.map +1 -1
- package/models/errors/recipientupdatetemplaterecipients.d.ts.map +1 -1
- package/models/errors/recipientupdatetemplaterecipients.js +2 -6
- package/models/errors/recipientupdatetemplaterecipients.js.map +1 -1
- package/models/errors/templatecreatedocumentfromtemplate.d.ts.map +1 -1
- package/models/errors/templatecreatedocumentfromtemplate.js +2 -6
- package/models/errors/templatecreatedocumentfromtemplate.js.map +1 -1
- package/models/errors/templatecreatetemplatedirectlink.d.ts.map +1 -1
- package/models/errors/templatecreatetemplatedirectlink.js +2 -6
- package/models/errors/templatecreatetemplatedirectlink.js.map +1 -1
- package/models/errors/templatecreatetemplatetemporary.d.ts +143 -0
- package/models/errors/templatecreatetemplatetemporary.d.ts.map +1 -0
- package/models/errors/templatecreatetemplatetemporary.js +199 -0
- package/models/errors/templatecreatetemplatetemporary.js.map +1 -0
- package/models/errors/templatedeletetemplate.d.ts.map +1 -1
- package/models/errors/templatedeletetemplate.js +2 -6
- package/models/errors/templatedeletetemplate.js.map +1 -1
- package/models/errors/templatedeletetemplatedirectlink.d.ts.map +1 -1
- package/models/errors/templatedeletetemplatedirectlink.js +2 -6
- package/models/errors/templatedeletetemplatedirectlink.js.map +1 -1
- package/models/errors/templateduplicatetemplate.d.ts.map +1 -1
- package/models/errors/templateduplicatetemplate.js +2 -6
- package/models/errors/templateduplicatetemplate.js.map +1 -1
- package/models/errors/templatefindtemplates.d.ts.map +1 -1
- package/models/errors/templatefindtemplates.js +3 -9
- package/models/errors/templatefindtemplates.js.map +1 -1
- package/models/errors/templategettemplatebyid.d.ts.map +1 -1
- package/models/errors/templategettemplatebyid.js +3 -9
- package/models/errors/templategettemplatebyid.js.map +1 -1
- package/models/errors/templatetoggletemplatedirectlink.d.ts.map +1 -1
- package/models/errors/templatetoggletemplatedirectlink.js +2 -6
- package/models/errors/templatetoggletemplatedirectlink.js.map +1 -1
- package/models/errors/templateupdatetemplate.d.ts.map +1 -1
- package/models/errors/templateupdatetemplate.js +2 -6
- package/models/errors/templateupdatetemplate.js.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.d.ts +197 -67
- package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.js +136 -53
- package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
- package/models/operations/documentdelete.d.ts +57 -0
- package/models/operations/documentdelete.d.ts.map +1 -0
- package/models/operations/documentdelete.js +96 -0
- package/models/operations/documentdelete.js.map +1 -0
- package/models/operations/documentdistribute.d.ts +602 -0
- package/models/operations/documentdistribute.d.ts.map +1 -0
- package/models/operations/documentdistribute.js +471 -0
- package/models/operations/documentdistribute.js.map +1 -0
- package/models/operations/documentdownload.d.ts +110 -0
- package/models/operations/documentdownload.d.ts.map +1 -0
- package/models/operations/documentdownload.js +125 -0
- package/models/operations/documentdownload.js.map +1 -0
- package/models/operations/documentduplicate.d.ts +65 -0
- package/models/operations/documentduplicate.d.ts.map +1 -0
- package/models/operations/documentduplicate.js +98 -0
- package/models/operations/documentduplicate.js.map +1 -0
- package/models/operations/{documentfinddocuments.d.ts → documentfind.d.ts} +223 -210
- package/models/operations/documentfind.d.ts.map +1 -0
- package/models/operations/documentfind.js +710 -0
- package/models/operations/documentfind.js.map +1 -0
- package/models/operations/documentget.d.ts +1864 -0
- package/models/operations/documentget.d.ts.map +1 -0
- package/models/operations/documentget.js +1698 -0
- package/models/operations/documentget.js.map +1 -0
- package/models/operations/documentredistribute.d.ts +62 -0
- package/models/operations/documentredistribute.d.ts.map +1 -0
- package/models/operations/documentredistribute.js +98 -0
- package/models/operations/documentredistribute.js.map +1 -0
- package/models/operations/documentupdate.d.ts +793 -0
- package/models/operations/documentupdate.d.ts.map +1 -0
- package/models/operations/documentupdate.js +610 -0
- package/models/operations/documentupdate.js.map +1 -0
- package/models/operations/fieldcreatedocumentfield.d.ts +74 -16
- package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfield.js +70 -22
- package/models/operations/fieldcreatedocumentfield.js.map +1 -1
- package/models/operations/fieldcreatedocumentfields.d.ts +74 -16
- package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfields.js +71 -22
- package/models/operations/fieldcreatedocumentfields.js.map +1 -1
- package/models/operations/fieldcreatetemplatefield.d.ts +74 -16
- package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefield.js +70 -22
- package/models/operations/fieldcreatetemplatefield.js.map +1 -1
- package/models/operations/fieldcreatetemplatefields.d.ts +74 -16
- package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefields.js +71 -22
- package/models/operations/fieldcreatetemplatefields.js.map +1 -1
- package/models/operations/fieldgetdocumentfield.d.ts +41 -10
- package/models/operations/fieldgetdocumentfield.d.ts.map +1 -1
- package/models/operations/fieldgetdocumentfield.js +38 -13
- package/models/operations/fieldgetdocumentfield.js.map +1 -1
- package/models/operations/fieldgettemplatefield.d.ts +41 -10
- package/models/operations/fieldgettemplatefield.d.ts.map +1 -1
- package/models/operations/fieldgettemplatefield.js +38 -13
- package/models/operations/fieldgettemplatefield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfield.d.ts +74 -16
- package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfield.js +70 -22
- package/models/operations/fieldupdatedocumentfield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfields.d.ts +74 -16
- package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfields.js +71 -22
- package/models/operations/fieldupdatedocumentfields.js.map +1 -1
- package/models/operations/fieldupdatetemplatefield.d.ts +74 -16
- package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefield.js +70 -22
- package/models/operations/fieldupdatetemplatefield.js.map +1 -1
- package/models/operations/fieldupdatetemplatefields.d.ts +74 -16
- package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefields.js +71 -22
- package/models/operations/fieldupdatetemplatefields.js.map +1 -1
- package/models/operations/index.d.ts +9 -7
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +9 -7
- package/models/operations/index.js.map +1 -1
- package/models/operations/recipientcreatedocumentrecipient.d.ts +12 -4
- package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientcreatedocumentrecipient.js +8 -4
- package/models/operations/recipientcreatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientcreatedocumentrecipients.d.ts +12 -4
- package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientcreatedocumentrecipients.js +8 -4
- package/models/operations/recipientcreatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientcreatetemplaterecipient.d.ts +12 -4
- package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientcreatetemplaterecipient.js +8 -4
- package/models/operations/recipientcreatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientcreatetemplaterecipients.d.ts +12 -4
- package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientcreatetemplaterecipients.js +8 -4
- package/models/operations/recipientcreatetemplaterecipients.js.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.d.ts +50 -14
- package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.js +45 -17
- package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
- package/models/operations/recipientgettemplaterecipient.d.ts +50 -14
- package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientgettemplaterecipient.js +45 -17
- package/models/operations/recipientgettemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.d.ts +53 -14
- package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.js +48 -18
- package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.d.ts +53 -14
- package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.js +49 -18
- package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.d.ts +53 -14
- package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.js +48 -18
- package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.d.ts +53 -14
- package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.js +49 -18
- package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.d.ts +112 -25
- package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.js +104 -29
- package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
- package/models/operations/templatecreatetemplatedirectlink.d.ts +4 -2
- package/models/operations/templatecreatetemplatedirectlink.d.ts.map +1 -1
- package/models/operations/templatecreatetemplatedirectlink.js +4 -2
- package/models/operations/templatecreatetemplatedirectlink.js.map +1 -1
- package/models/operations/templatecreatetemplatetemporary.d.ts +2364 -0
- package/models/operations/templatecreatetemplatetemporary.d.ts.map +1 -0
- package/models/operations/templatecreatetemplatetemporary.js +2109 -0
- package/models/operations/templatecreatetemplatetemporary.js.map +1 -0
- package/models/operations/templateduplicatetemplate.d.ts +7 -2
- package/models/operations/templateduplicatetemplate.d.ts.map +1 -1
- package/models/operations/templateduplicatetemplate.js +5 -2
- package/models/operations/templateduplicatetemplate.js.map +1 -1
- package/models/operations/templatefindtemplates.d.ts +59 -18
- package/models/operations/templatefindtemplates.d.ts.map +1 -1
- package/models/operations/templatefindtemplates.js +53 -22
- package/models/operations/templatefindtemplates.js.map +1 -1
- package/models/operations/templategettemplatebyid.d.ts +96 -47
- package/models/operations/templategettemplatebyid.d.ts.map +1 -1
- package/models/operations/templategettemplatebyid.js +99 -58
- package/models/operations/templategettemplatebyid.js.map +1 -1
- package/models/operations/templatetoggletemplatedirectlink.d.ts +4 -2
- package/models/operations/templatetoggletemplatedirectlink.d.ts.map +1 -1
- package/models/operations/templatetoggletemplatedirectlink.js +4 -2
- package/models/operations/templatetoggletemplatedirectlink.js.map +1 -1
- package/models/operations/templateupdatetemplate.d.ts +85 -32
- package/models/operations/templateupdatetemplate.d.ts.map +1 -1
- package/models/operations/templateupdatetemplate.js +34 -12
- package/models/operations/templateupdatetemplate.js.map +1 -1
- package/package.json +7 -9
- package/sdk/document.d.ts +12 -0
- package/sdk/document.d.ts.map +1 -0
- package/sdk/document.js +22 -0
- package/sdk/document.js.map +1 -0
- package/sdk/documents.d.ts +19 -19
- package/sdk/documents.d.ts.map +1 -1
- package/sdk/documents.js +21 -21
- package/sdk/documents.js.map +1 -1
- package/sdk/sdk.d.ts +6 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +8 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/template.d.ts +12 -0
- package/sdk/template.d.ts.map +1 -0
- package/sdk/template.js +22 -0
- package/sdk/template.js.map +1 -0
- package/src/funcs/documentDocumentDownload.ts +188 -0
- package/src/funcs/documentsCreateV0.ts +1 -1
- package/src/funcs/documentsDelete.ts +17 -21
- package/src/funcs/documentsDistribute.ts +17 -21
- package/src/funcs/documentsDuplicate.ts +17 -24
- package/src/funcs/documentsFieldsCreate.ts +1 -1
- package/src/funcs/documentsFieldsCreateMany.ts +1 -1
- package/src/funcs/documentsFieldsDelete.ts +1 -1
- package/src/funcs/documentsFieldsGet.ts +1 -1
- package/src/funcs/documentsFieldsUpdate.ts +1 -1
- package/src/funcs/documentsFieldsUpdateMany.ts +1 -1
- package/src/funcs/documentsFind.ts +21 -25
- package/src/funcs/documentsGet.ts +22 -43
- package/src/funcs/documentsRecipientsCreate.ts +1 -1
- package/src/funcs/documentsRecipientsCreateMany.ts +1 -1
- package/src/funcs/documentsRecipientsDelete.ts +1 -1
- package/src/funcs/documentsRecipientsGet.ts +1 -1
- package/src/funcs/documentsRecipientsUpdate.ts +1 -1
- package/src/funcs/documentsRecipientsUpdateMany.ts +1 -1
- package/src/funcs/documentsRedistribute.ts +17 -17
- package/src/funcs/documentsUpdate.ts +17 -21
- package/src/funcs/embeddingEmbeddingPresignCreateEmbeddingPresignToken.ts +1 -1
- package/src/funcs/embeddingEmbeddingPresignVerifyEmbeddingPresignToken.ts +1 -1
- package/src/funcs/templateTemplateCreateTemplateTemporary.ts +185 -0
- package/src/funcs/templatesDelete.ts +1 -1
- package/src/funcs/templatesDirectLinkCreate.ts +1 -1
- package/src/funcs/templatesDirectLinkDelete.ts +1 -1
- package/src/funcs/templatesDirectLinkToggle.ts +1 -1
- package/src/funcs/templatesDuplicate.ts +1 -1
- package/src/funcs/templatesFieldsCreate.ts +1 -1
- package/src/funcs/templatesFieldsCreateMany.ts +1 -1
- package/src/funcs/templatesFieldsDelete.ts +1 -1
- package/src/funcs/templatesFieldsGet.ts +1 -1
- package/src/funcs/templatesFieldsUpdate.ts +1 -1
- package/src/funcs/templatesFieldsUpdateMany.ts +1 -1
- package/src/funcs/templatesFind.ts +1 -1
- package/src/funcs/templatesGet.ts +1 -1
- package/src/funcs/templatesRecipientsCreate.ts +1 -1
- package/src/funcs/templatesRecipientsCreateMany.ts +1 -1
- package/src/funcs/templatesRecipientsDelete.ts +1 -1
- package/src/funcs/templatesRecipientsGet.ts +1 -1
- package/src/funcs/templatesRecipientsUpdate.ts +1 -1
- package/src/funcs/templatesRecipientsUpdateMany.ts +1 -1
- package/src/funcs/templatesUpdate.ts +1 -1
- package/src/funcs/templatesUse.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/lib/env.ts +20 -3
- package/src/lib/security.ts +4 -1
- package/src/lib/url.ts +1 -1
- package/src/mcp-server/cli/start/command.ts +0 -13
- package/src/mcp-server/cli/start/impl.ts +0 -4
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +9 -5
- package/src/mcp-server/tools/documentDocumentDownload.ts +37 -0
- package/src/mcp-server/tools/documentsDelete.ts +1 -1
- package/src/mcp-server/tools/documentsDistribute.ts +1 -1
- package/src/mcp-server/tools/documentsDuplicate.ts +1 -1
- package/src/mcp-server/tools/documentsFind.ts +1 -1
- package/src/mcp-server/tools/documentsGet.ts +1 -1
- package/src/mcp-server/tools/documentsRedistribute.ts +1 -1
- package/src/mcp-server/tools/documentsUpdate.ts +1 -1
- package/src/mcp-server/tools/templateTemplateCreateTemplateTemporary.ts +39 -0
- package/src/models/errors/apierror.ts +8 -2
- package/src/models/errors/documentcreatedocumenttemporary.ts +2 -6
- package/src/models/errors/documentdelete.ts +314 -0
- package/src/models/errors/documentdistribute.ts +324 -0
- package/src/models/errors/documentdownload.ts +470 -0
- package/src/models/errors/documentduplicate.ts +324 -0
- package/src/models/errors/documentfind.ts +459 -0
- package/src/models/errors/documentget.ts +457 -0
- package/src/models/errors/documentredistribute.ts +331 -0
- package/src/models/errors/documentupdate.ts +314 -0
- package/src/models/errors/embeddingpresigncreateembeddingpresigntoken.ts +2 -6
- package/src/models/errors/embeddingpresignverifyembeddingpresigntoken.ts +2 -6
- package/src/models/errors/fieldcreatedocumentfield.ts +2 -6
- package/src/models/errors/fieldcreatedocumentfields.ts +2 -6
- package/src/models/errors/fieldcreatetemplatefield.ts +2 -6
- package/src/models/errors/fieldcreatetemplatefields.ts +2 -6
- package/src/models/errors/fielddeletedocumentfield.ts +2 -6
- package/src/models/errors/fielddeletetemplatefield.ts +2 -6
- package/src/models/errors/fieldgetdocumentfield.ts +3 -9
- package/src/models/errors/fieldgettemplatefield.ts +3 -9
- package/src/models/errors/fieldupdatedocumentfield.ts +2 -6
- package/src/models/errors/fieldupdatedocumentfields.ts +2 -6
- package/src/models/errors/fieldupdatetemplatefield.ts +2 -6
- package/src/models/errors/fieldupdatetemplatefields.ts +2 -6
- package/src/models/errors/index.ts +10 -7
- package/src/models/errors/recipientcreatedocumentrecipient.ts +2 -6
- package/src/models/errors/recipientcreatedocumentrecipients.ts +2 -6
- package/src/models/errors/recipientcreatetemplaterecipient.ts +2 -6
- package/src/models/errors/recipientcreatetemplaterecipients.ts +2 -6
- package/src/models/errors/recipientdeletedocumentrecipient.ts +2 -6
- package/src/models/errors/recipientdeletetemplaterecipient.ts +2 -6
- package/src/models/errors/recipientgetdocumentrecipient.ts +3 -9
- package/src/models/errors/recipientgettemplaterecipient.ts +3 -9
- package/src/models/errors/recipientupdatedocumentrecipient.ts +2 -6
- package/src/models/errors/recipientupdatedocumentrecipients.ts +2 -6
- package/src/models/errors/recipientupdatetemplaterecipient.ts +2 -6
- package/src/models/errors/recipientupdatetemplaterecipients.ts +2 -6
- package/src/models/errors/templatecreatedocumentfromtemplate.ts +2 -6
- package/src/models/errors/templatecreatetemplatedirectlink.ts +2 -6
- package/src/models/errors/templatecreatetemplatetemporary.ts +363 -0
- package/src/models/errors/templatedeletetemplate.ts +2 -6
- package/src/models/errors/templatedeletetemplatedirectlink.ts +2 -6
- package/src/models/errors/templateduplicatetemplate.ts +2 -6
- package/src/models/errors/templatefindtemplates.ts +3 -9
- package/src/models/errors/templategettemplatebyid.ts +3 -9
- package/src/models/errors/templatetoggletemplatedirectlink.ts +2 -6
- package/src/models/errors/templateupdatetemplate.ts +2 -6
- package/src/models/operations/documentcreatedocumenttemporary.ts +223 -83
- package/src/models/operations/documentdelete.ts +127 -0
- package/src/models/operations/documentdistribute.ts +861 -0
- package/src/models/operations/documentdownload.ts +186 -0
- package/src/models/operations/documentduplicate.ts +137 -0
- package/src/models/operations/documentfind.ts +1255 -0
- package/src/models/operations/documentget.ts +3106 -0
- package/src/models/operations/documentredistribute.ts +138 -0
- package/src/models/operations/documentupdate.ts +1131 -0
- package/src/models/operations/fieldcreatedocumentfield.ts +118 -32
- package/src/models/operations/fieldcreatedocumentfields.ts +117 -32
- package/src/models/operations/fieldcreatetemplatefield.ts +118 -32
- package/src/models/operations/fieldcreatetemplatefields.ts +117 -32
- package/src/models/operations/fieldgetdocumentfield.ts +61 -20
- package/src/models/operations/fieldgettemplatefield.ts +61 -20
- package/src/models/operations/fieldupdatedocumentfield.ts +118 -32
- package/src/models/operations/fieldupdatedocumentfields.ts +117 -32
- package/src/models/operations/fieldupdatetemplatefield.ts +118 -32
- package/src/models/operations/fieldupdatetemplatefields.ts +117 -32
- package/src/models/operations/index.ts +9 -7
- package/src/models/operations/recipientcreatedocumentrecipient.ts +14 -8
- package/src/models/operations/recipientcreatedocumentrecipients.ts +14 -8
- package/src/models/operations/recipientcreatetemplaterecipient.ts +14 -8
- package/src/models/operations/recipientcreatetemplaterecipients.ts +14 -8
- package/src/models/operations/recipientgetdocumentrecipient.ts +81 -28
- package/src/models/operations/recipientgettemplaterecipient.ts +81 -28
- package/src/models/operations/recipientupdatedocumentrecipient.ts +81 -28
- package/src/models/operations/recipientupdatedocumentrecipients.ts +80 -28
- package/src/models/operations/recipientupdatetemplaterecipient.ts +81 -28
- package/src/models/operations/recipientupdatetemplaterecipients.ts +80 -28
- package/src/models/operations/templatecreatedocumentfromtemplate.ts +200 -55
- package/src/models/operations/templatecreatetemplatedirectlink.ts +8 -4
- package/src/models/operations/templatecreatetemplatetemporary.ts +4374 -0
- package/src/models/operations/templateduplicatetemplate.ts +9 -4
- package/src/models/operations/templatefindtemplates.ts +87 -36
- package/src/models/operations/templategettemplatebyid.ts +191 -105
- package/src/models/operations/templatetoggletemplatedirectlink.ts +8 -4
- package/src/models/operations/templateupdatetemplate.ts +47 -14
- package/src/sdk/document.ts +27 -0
- package/src/sdk/documents.ts +37 -37
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/template.ts +27 -0
- package/docs/sdks/documenso/README.md +0 -7
- package/models/errors/documentdeletedocument.d.ts +0 -143
- package/models/errors/documentdeletedocument.d.ts.map +0 -1
- package/models/errors/documentdeletedocument.js +0 -201
- package/models/errors/documentdeletedocument.js.map +0 -1
- package/models/errors/documentduplicatedocument.d.ts +0 -143
- package/models/errors/documentduplicatedocument.d.ts.map +0 -1
- package/models/errors/documentduplicatedocument.js +0 -201
- package/models/errors/documentduplicatedocument.js.map +0 -1
- package/models/errors/documentfinddocuments.d.ts +0 -212
- package/models/errors/documentfinddocuments.d.ts.map +0 -1
- package/models/errors/documentfinddocuments.js +0 -280
- package/models/errors/documentfinddocuments.js.map +0 -1
- package/models/errors/documentgetdocumentwithdetailsbyid.d.ts +0 -212
- package/models/errors/documentgetdocumentwithdetailsbyid.d.ts.map +0 -1
- package/models/errors/documentgetdocumentwithdetailsbyid.js +0 -282
- package/models/errors/documentgetdocumentwithdetailsbyid.js.map +0 -1
- package/models/errors/documentresenddocument.d.ts +0 -143
- package/models/errors/documentresenddocument.d.ts.map +0 -1
- package/models/errors/documentresenddocument.js +0 -201
- package/models/errors/documentresenddocument.js.map +0 -1
- package/models/errors/documentsenddocument.d.ts +0 -143
- package/models/errors/documentsenddocument.js +0 -201
- package/models/errors/documentsenddocument.js.map +0 -1
- package/models/errors/documentupdatedocument.d.ts +0 -143
- package/models/errors/documentupdatedocument.d.ts.map +0 -1
- package/models/errors/documentupdatedocument.js +0 -201
- package/models/errors/documentupdatedocument.js.map +0 -1
- package/models/operations/documentdeletedocument.d.ts +0 -57
- package/models/operations/documentdeletedocument.d.ts.map +0 -1
- package/models/operations/documentdeletedocument.js +0 -96
- package/models/operations/documentdeletedocument.js.map +0 -1
- package/models/operations/documentduplicatedocument.d.ts +0 -57
- package/models/operations/documentduplicatedocument.d.ts.map +0 -1
- package/models/operations/documentduplicatedocument.js +0 -96
- package/models/operations/documentduplicatedocument.js.map +0 -1
- package/models/operations/documentfinddocuments.d.ts.map +0 -1
- package/models/operations/documentfinddocuments.js +0 -704
- package/models/operations/documentfinddocuments.js.map +0 -1
- package/models/operations/documentgetdocumentwithdetailsbyid.d.ts +0 -1819
- package/models/operations/documentgetdocumentwithdetailsbyid.d.ts.map +0 -1
- package/models/operations/documentgetdocumentwithdetailsbyid.js +0 -1705
- package/models/operations/documentgetdocumentwithdetailsbyid.js.map +0 -1
- package/models/operations/documentresenddocument.d.ts +0 -62
- package/models/operations/documentresenddocument.d.ts.map +0 -1
- package/models/operations/documentresenddocument.js +0 -98
- package/models/operations/documentresenddocument.js.map +0 -1
- package/models/operations/documentsenddocument.d.ts +0 -554
- package/models/operations/documentsenddocument.d.ts.map +0 -1
- package/models/operations/documentsenddocument.js +0 -452
- package/models/operations/documentsenddocument.js.map +0 -1
- package/models/operations/documentupdatedocument.d.ts +0 -740
- package/models/operations/documentupdatedocument.d.ts.map +0 -1
- package/models/operations/documentupdatedocument.js +0 -595
- package/models/operations/documentupdatedocument.js.map +0 -1
- package/src/models/errors/documentdeletedocument.ts +0 -339
- package/src/models/errors/documentduplicatedocument.ts +0 -350
- package/src/models/errors/documentfinddocuments.ts +0 -493
- package/src/models/errors/documentgetdocumentwithdetailsbyid.ts +0 -546
- package/src/models/errors/documentresenddocument.ts +0 -339
- package/src/models/errors/documentsenddocument.ts +0 -335
- package/src/models/errors/documentupdatedocument.ts +0 -339
- package/src/models/operations/documentdeletedocument.ts +0 -131
- package/src/models/operations/documentduplicatedocument.ts +0 -132
- package/src/models/operations/documentfinddocuments.ts +0 -1300
- package/src/models/operations/documentgetdocumentwithdetailsbyid.ts +0 -3621
- package/src/models/operations/documentresenddocument.ts +0 -138
- package/src/models/operations/documentsenddocument.ts +0 -846
- package/src/models/operations/documentupdatedocument.ts +0 -1128
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { DocumensoError } from "./documensoerror.js";
|
|
4
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
5
|
+
export type DocumentDownloadInternalServerErrorIssue = {
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Internal server error
|
|
10
|
+
*/
|
|
11
|
+
export type DocumentDownloadInternalServerErrorData = {
|
|
12
|
+
message: string;
|
|
13
|
+
code: string;
|
|
14
|
+
issues?: Array<DocumentDownloadInternalServerErrorIssue> | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Internal server error
|
|
18
|
+
*/
|
|
19
|
+
export declare class DocumentDownloadInternalServerError extends DocumensoError {
|
|
20
|
+
code: string;
|
|
21
|
+
issues?: Array<DocumentDownloadInternalServerErrorIssue> | undefined;
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: DocumentDownloadInternalServerErrorData;
|
|
24
|
+
constructor(err: DocumentDownloadInternalServerErrorData, httpMeta: {
|
|
25
|
+
response: Response;
|
|
26
|
+
request: Request;
|
|
27
|
+
body: string;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export type DocumentDownloadNotFoundIssue = {
|
|
31
|
+
message: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Not found
|
|
35
|
+
*/
|
|
36
|
+
export type DocumentDownloadNotFoundErrorData = {
|
|
37
|
+
message: string;
|
|
38
|
+
code: string;
|
|
39
|
+
issues?: Array<DocumentDownloadNotFoundIssue> | undefined;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Not found
|
|
43
|
+
*/
|
|
44
|
+
export declare class DocumentDownloadNotFoundError extends DocumensoError {
|
|
45
|
+
code: string;
|
|
46
|
+
issues?: Array<DocumentDownloadNotFoundIssue> | undefined;
|
|
47
|
+
/** The original data that was passed to this error instance. */
|
|
48
|
+
data$: DocumentDownloadNotFoundErrorData;
|
|
49
|
+
constructor(err: DocumentDownloadNotFoundErrorData, httpMeta: {
|
|
50
|
+
response: Response;
|
|
51
|
+
request: Request;
|
|
52
|
+
body: string;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
export type DocumentDownloadBadRequestIssue = {
|
|
56
|
+
message: string;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* Invalid input data
|
|
60
|
+
*/
|
|
61
|
+
export type DocumentDownloadBadRequestErrorData = {
|
|
62
|
+
message: string;
|
|
63
|
+
code: string;
|
|
64
|
+
issues?: Array<DocumentDownloadBadRequestIssue> | undefined;
|
|
65
|
+
};
|
|
66
|
+
/**
|
|
67
|
+
* Invalid input data
|
|
68
|
+
*/
|
|
69
|
+
export declare class DocumentDownloadBadRequestError extends DocumensoError {
|
|
70
|
+
code: string;
|
|
71
|
+
issues?: Array<DocumentDownloadBadRequestIssue> | undefined;
|
|
72
|
+
/** The original data that was passed to this error instance. */
|
|
73
|
+
data$: DocumentDownloadBadRequestErrorData;
|
|
74
|
+
constructor(err: DocumentDownloadBadRequestErrorData, httpMeta: {
|
|
75
|
+
response: Response;
|
|
76
|
+
request: Request;
|
|
77
|
+
body: string;
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
/** @internal */
|
|
81
|
+
export declare const DocumentDownloadInternalServerErrorIssue$inboundSchema: z.ZodType<DocumentDownloadInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
82
|
+
/** @internal */
|
|
83
|
+
export type DocumentDownloadInternalServerErrorIssue$Outbound = {
|
|
84
|
+
message: string;
|
|
85
|
+
};
|
|
86
|
+
/** @internal */
|
|
87
|
+
export declare const DocumentDownloadInternalServerErrorIssue$outboundSchema: z.ZodType<DocumentDownloadInternalServerErrorIssue$Outbound, z.ZodTypeDef, DocumentDownloadInternalServerErrorIssue>;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
91
|
+
*/
|
|
92
|
+
export declare namespace DocumentDownloadInternalServerErrorIssue$ {
|
|
93
|
+
/** @deprecated use `DocumentDownloadInternalServerErrorIssue$inboundSchema` instead. */
|
|
94
|
+
const inboundSchema: z.ZodType<DocumentDownloadInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
95
|
+
/** @deprecated use `DocumentDownloadInternalServerErrorIssue$outboundSchema` instead. */
|
|
96
|
+
const outboundSchema: z.ZodType<DocumentDownloadInternalServerErrorIssue$Outbound, z.ZodTypeDef, DocumentDownloadInternalServerErrorIssue>;
|
|
97
|
+
/** @deprecated use `DocumentDownloadInternalServerErrorIssue$Outbound` instead. */
|
|
98
|
+
type Outbound = DocumentDownloadInternalServerErrorIssue$Outbound;
|
|
99
|
+
}
|
|
100
|
+
export declare function documentDownloadInternalServerErrorIssueToJSON(documentDownloadInternalServerErrorIssue: DocumentDownloadInternalServerErrorIssue): string;
|
|
101
|
+
export declare function documentDownloadInternalServerErrorIssueFromJSON(jsonString: string): SafeParseResult<DocumentDownloadInternalServerErrorIssue, SDKValidationError>;
|
|
102
|
+
/** @internal */
|
|
103
|
+
export declare const DocumentDownloadInternalServerError$inboundSchema: z.ZodType<DocumentDownloadInternalServerError, z.ZodTypeDef, unknown>;
|
|
104
|
+
/** @internal */
|
|
105
|
+
export type DocumentDownloadInternalServerError$Outbound = {
|
|
106
|
+
message: string;
|
|
107
|
+
code: string;
|
|
108
|
+
issues?: Array<DocumentDownloadInternalServerErrorIssue$Outbound> | undefined;
|
|
109
|
+
};
|
|
110
|
+
/** @internal */
|
|
111
|
+
export declare const DocumentDownloadInternalServerError$outboundSchema: z.ZodType<DocumentDownloadInternalServerError$Outbound, z.ZodTypeDef, DocumentDownloadInternalServerError>;
|
|
112
|
+
/**
|
|
113
|
+
* @internal
|
|
114
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
115
|
+
*/
|
|
116
|
+
export declare namespace DocumentDownloadInternalServerError$ {
|
|
117
|
+
/** @deprecated use `DocumentDownloadInternalServerError$inboundSchema` instead. */
|
|
118
|
+
const inboundSchema: z.ZodType<DocumentDownloadInternalServerError, z.ZodTypeDef, unknown>;
|
|
119
|
+
/** @deprecated use `DocumentDownloadInternalServerError$outboundSchema` instead. */
|
|
120
|
+
const outboundSchema: z.ZodType<DocumentDownloadInternalServerError$Outbound, z.ZodTypeDef, DocumentDownloadInternalServerError>;
|
|
121
|
+
/** @deprecated use `DocumentDownloadInternalServerError$Outbound` instead. */
|
|
122
|
+
type Outbound = DocumentDownloadInternalServerError$Outbound;
|
|
123
|
+
}
|
|
124
|
+
/** @internal */
|
|
125
|
+
export declare const DocumentDownloadNotFoundIssue$inboundSchema: z.ZodType<DocumentDownloadNotFoundIssue, z.ZodTypeDef, unknown>;
|
|
126
|
+
/** @internal */
|
|
127
|
+
export type DocumentDownloadNotFoundIssue$Outbound = {
|
|
128
|
+
message: string;
|
|
129
|
+
};
|
|
130
|
+
/** @internal */
|
|
131
|
+
export declare const DocumentDownloadNotFoundIssue$outboundSchema: z.ZodType<DocumentDownloadNotFoundIssue$Outbound, z.ZodTypeDef, DocumentDownloadNotFoundIssue>;
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
135
|
+
*/
|
|
136
|
+
export declare namespace DocumentDownloadNotFoundIssue$ {
|
|
137
|
+
/** @deprecated use `DocumentDownloadNotFoundIssue$inboundSchema` instead. */
|
|
138
|
+
const inboundSchema: z.ZodType<DocumentDownloadNotFoundIssue, z.ZodTypeDef, unknown>;
|
|
139
|
+
/** @deprecated use `DocumentDownloadNotFoundIssue$outboundSchema` instead. */
|
|
140
|
+
const outboundSchema: z.ZodType<DocumentDownloadNotFoundIssue$Outbound, z.ZodTypeDef, DocumentDownloadNotFoundIssue>;
|
|
141
|
+
/** @deprecated use `DocumentDownloadNotFoundIssue$Outbound` instead. */
|
|
142
|
+
type Outbound = DocumentDownloadNotFoundIssue$Outbound;
|
|
143
|
+
}
|
|
144
|
+
export declare function documentDownloadNotFoundIssueToJSON(documentDownloadNotFoundIssue: DocumentDownloadNotFoundIssue): string;
|
|
145
|
+
export declare function documentDownloadNotFoundIssueFromJSON(jsonString: string): SafeParseResult<DocumentDownloadNotFoundIssue, SDKValidationError>;
|
|
146
|
+
/** @internal */
|
|
147
|
+
export declare const DocumentDownloadNotFoundError$inboundSchema: z.ZodType<DocumentDownloadNotFoundError, z.ZodTypeDef, unknown>;
|
|
148
|
+
/** @internal */
|
|
149
|
+
export type DocumentDownloadNotFoundError$Outbound = {
|
|
150
|
+
message: string;
|
|
151
|
+
code: string;
|
|
152
|
+
issues?: Array<DocumentDownloadNotFoundIssue$Outbound> | undefined;
|
|
153
|
+
};
|
|
154
|
+
/** @internal */
|
|
155
|
+
export declare const DocumentDownloadNotFoundError$outboundSchema: z.ZodType<DocumentDownloadNotFoundError$Outbound, z.ZodTypeDef, DocumentDownloadNotFoundError>;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
159
|
+
*/
|
|
160
|
+
export declare namespace DocumentDownloadNotFoundError$ {
|
|
161
|
+
/** @deprecated use `DocumentDownloadNotFoundError$inboundSchema` instead. */
|
|
162
|
+
const inboundSchema: z.ZodType<DocumentDownloadNotFoundError, z.ZodTypeDef, unknown>;
|
|
163
|
+
/** @deprecated use `DocumentDownloadNotFoundError$outboundSchema` instead. */
|
|
164
|
+
const outboundSchema: z.ZodType<DocumentDownloadNotFoundError$Outbound, z.ZodTypeDef, DocumentDownloadNotFoundError>;
|
|
165
|
+
/** @deprecated use `DocumentDownloadNotFoundError$Outbound` instead. */
|
|
166
|
+
type Outbound = DocumentDownloadNotFoundError$Outbound;
|
|
167
|
+
}
|
|
168
|
+
/** @internal */
|
|
169
|
+
export declare const DocumentDownloadBadRequestIssue$inboundSchema: z.ZodType<DocumentDownloadBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
170
|
+
/** @internal */
|
|
171
|
+
export type DocumentDownloadBadRequestIssue$Outbound = {
|
|
172
|
+
message: string;
|
|
173
|
+
};
|
|
174
|
+
/** @internal */
|
|
175
|
+
export declare const DocumentDownloadBadRequestIssue$outboundSchema: z.ZodType<DocumentDownloadBadRequestIssue$Outbound, z.ZodTypeDef, DocumentDownloadBadRequestIssue>;
|
|
176
|
+
/**
|
|
177
|
+
* @internal
|
|
178
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
179
|
+
*/
|
|
180
|
+
export declare namespace DocumentDownloadBadRequestIssue$ {
|
|
181
|
+
/** @deprecated use `DocumentDownloadBadRequestIssue$inboundSchema` instead. */
|
|
182
|
+
const inboundSchema: z.ZodType<DocumentDownloadBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
183
|
+
/** @deprecated use `DocumentDownloadBadRequestIssue$outboundSchema` instead. */
|
|
184
|
+
const outboundSchema: z.ZodType<DocumentDownloadBadRequestIssue$Outbound, z.ZodTypeDef, DocumentDownloadBadRequestIssue>;
|
|
185
|
+
/** @deprecated use `DocumentDownloadBadRequestIssue$Outbound` instead. */
|
|
186
|
+
type Outbound = DocumentDownloadBadRequestIssue$Outbound;
|
|
187
|
+
}
|
|
188
|
+
export declare function documentDownloadBadRequestIssueToJSON(documentDownloadBadRequestIssue: DocumentDownloadBadRequestIssue): string;
|
|
189
|
+
export declare function documentDownloadBadRequestIssueFromJSON(jsonString: string): SafeParseResult<DocumentDownloadBadRequestIssue, SDKValidationError>;
|
|
190
|
+
/** @internal */
|
|
191
|
+
export declare const DocumentDownloadBadRequestError$inboundSchema: z.ZodType<DocumentDownloadBadRequestError, z.ZodTypeDef, unknown>;
|
|
192
|
+
/** @internal */
|
|
193
|
+
export type DocumentDownloadBadRequestError$Outbound = {
|
|
194
|
+
message: string;
|
|
195
|
+
code: string;
|
|
196
|
+
issues?: Array<DocumentDownloadBadRequestIssue$Outbound> | undefined;
|
|
197
|
+
};
|
|
198
|
+
/** @internal */
|
|
199
|
+
export declare const DocumentDownloadBadRequestError$outboundSchema: z.ZodType<DocumentDownloadBadRequestError$Outbound, z.ZodTypeDef, DocumentDownloadBadRequestError>;
|
|
200
|
+
/**
|
|
201
|
+
* @internal
|
|
202
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
203
|
+
*/
|
|
204
|
+
export declare namespace DocumentDownloadBadRequestError$ {
|
|
205
|
+
/** @deprecated use `DocumentDownloadBadRequestError$inboundSchema` instead. */
|
|
206
|
+
const inboundSchema: z.ZodType<DocumentDownloadBadRequestError, z.ZodTypeDef, unknown>;
|
|
207
|
+
/** @deprecated use `DocumentDownloadBadRequestError$outboundSchema` instead. */
|
|
208
|
+
const outboundSchema: z.ZodType<DocumentDownloadBadRequestError$Outbound, z.ZodTypeDef, DocumentDownloadBadRequestError>;
|
|
209
|
+
/** @deprecated use `DocumentDownloadBadRequestError$Outbound` instead. */
|
|
210
|
+
type Outbound = DocumentDownloadBadRequestError$Outbound;
|
|
211
|
+
}
|
|
212
|
+
//# sourceMappingURL=documentdownload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentdownload.d.ts","sourceRoot":"","sources":["../../src/models/errors/documentdownload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,wCAAwC,GAAG;IACrD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,GAAG,SAAS,CAAC;CACtE,CAAC;AAEF;;GAEG;AACH,qBAAa,mCAAoC,SAAQ,cAAc;IACrE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,GAAG,SAAS,CAAC;IAErE,gEAAgE;IAChE,KAAK,EAAE,uCAAuC,CAAC;gBAG7C,GAAG,EAAE,uCAAuC,EAC5C,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,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I,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,wCAAwC,CAAC,GAAG,SAAS,CAAC;CACtE,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,8CAA8C,EAAE,CAAC,CAAC,OAAO,CACpE,wCAAwC,EACxC,CAAC,CAAC,UAAU,EACZ,+BAA+B,CAS5B,CAAC;AAEN;;;GAGG;AACH,yBAAiB,gCAAgC,CAAC;IAChD,+EAA+E;IACxE,MAAM,aAAa,mEAAgD,CAAC;IAC3E,gFAAgF;IACzE,MAAM,cAAc,oGAAiD,CAAC;IAC7E,0EAA0E;IAC1E,KAAY,QAAQ,GAAG,wCAAwC,CAAC;CACjE"}
|
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.DocumentDownloadBadRequestError$ = exports.DocumentDownloadBadRequestError$outboundSchema = exports.DocumentDownloadBadRequestError$inboundSchema = exports.DocumentDownloadBadRequestIssue$ = exports.DocumentDownloadBadRequestIssue$outboundSchema = exports.DocumentDownloadBadRequestIssue$inboundSchema = exports.DocumentDownloadNotFoundError$ = exports.DocumentDownloadNotFoundError$outboundSchema = exports.DocumentDownloadNotFoundError$inboundSchema = exports.DocumentDownloadNotFoundIssue$ = exports.DocumentDownloadNotFoundIssue$outboundSchema = exports.DocumentDownloadNotFoundIssue$inboundSchema = exports.DocumentDownloadInternalServerError$ = exports.DocumentDownloadInternalServerError$outboundSchema = exports.DocumentDownloadInternalServerError$inboundSchema = exports.DocumentDownloadInternalServerErrorIssue$ = exports.DocumentDownloadInternalServerErrorIssue$outboundSchema = exports.DocumentDownloadInternalServerErrorIssue$inboundSchema = exports.DocumentDownloadBadRequestError = exports.DocumentDownloadNotFoundError = exports.DocumentDownloadInternalServerError = void 0;
|
|
40
|
+
exports.documentDownloadInternalServerErrorIssueToJSON = documentDownloadInternalServerErrorIssueToJSON;
|
|
41
|
+
exports.documentDownloadInternalServerErrorIssueFromJSON = documentDownloadInternalServerErrorIssueFromJSON;
|
|
42
|
+
exports.documentDownloadNotFoundIssueToJSON = documentDownloadNotFoundIssueToJSON;
|
|
43
|
+
exports.documentDownloadNotFoundIssueFromJSON = documentDownloadNotFoundIssueFromJSON;
|
|
44
|
+
exports.documentDownloadBadRequestIssueToJSON = documentDownloadBadRequestIssueToJSON;
|
|
45
|
+
exports.documentDownloadBadRequestIssueFromJSON = documentDownloadBadRequestIssueFromJSON;
|
|
46
|
+
const z = __importStar(require("zod"));
|
|
47
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
48
|
+
const documensoerror_js_1 = require("./documensoerror.js");
|
|
49
|
+
/**
|
|
50
|
+
* Internal server error
|
|
51
|
+
*/
|
|
52
|
+
class DocumentDownloadInternalServerError extends documensoerror_js_1.DocumensoError {
|
|
53
|
+
constructor(err, httpMeta) {
|
|
54
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
55
|
+
super(message, httpMeta);
|
|
56
|
+
this.data$ = err;
|
|
57
|
+
this.code = err.code;
|
|
58
|
+
if (err.issues != null)
|
|
59
|
+
this.issues = err.issues;
|
|
60
|
+
this.name = "DocumentDownloadInternalServerError";
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
exports.DocumentDownloadInternalServerError = DocumentDownloadInternalServerError;
|
|
64
|
+
/**
|
|
65
|
+
* Not found
|
|
66
|
+
*/
|
|
67
|
+
class DocumentDownloadNotFoundError extends documensoerror_js_1.DocumensoError {
|
|
68
|
+
constructor(err, httpMeta) {
|
|
69
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
70
|
+
super(message, httpMeta);
|
|
71
|
+
this.data$ = err;
|
|
72
|
+
this.code = err.code;
|
|
73
|
+
if (err.issues != null)
|
|
74
|
+
this.issues = err.issues;
|
|
75
|
+
this.name = "DocumentDownloadNotFoundError";
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.DocumentDownloadNotFoundError = DocumentDownloadNotFoundError;
|
|
79
|
+
/**
|
|
80
|
+
* Invalid input data
|
|
81
|
+
*/
|
|
82
|
+
class DocumentDownloadBadRequestError extends documensoerror_js_1.DocumensoError {
|
|
83
|
+
constructor(err, httpMeta) {
|
|
84
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
85
|
+
super(message, httpMeta);
|
|
86
|
+
this.data$ = err;
|
|
87
|
+
this.code = err.code;
|
|
88
|
+
if (err.issues != null)
|
|
89
|
+
this.issues = err.issues;
|
|
90
|
+
this.name = "DocumentDownloadBadRequestError";
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.DocumentDownloadBadRequestError = DocumentDownloadBadRequestError;
|
|
94
|
+
/** @internal */
|
|
95
|
+
exports.DocumentDownloadInternalServerErrorIssue$inboundSchema = z.object({
|
|
96
|
+
message: z.string(),
|
|
97
|
+
});
|
|
98
|
+
/** @internal */
|
|
99
|
+
exports.DocumentDownloadInternalServerErrorIssue$outboundSchema = z.object({
|
|
100
|
+
message: z.string(),
|
|
101
|
+
});
|
|
102
|
+
/**
|
|
103
|
+
* @internal
|
|
104
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
105
|
+
*/
|
|
106
|
+
var DocumentDownloadInternalServerErrorIssue$;
|
|
107
|
+
(function (DocumentDownloadInternalServerErrorIssue$) {
|
|
108
|
+
/** @deprecated use `DocumentDownloadInternalServerErrorIssue$inboundSchema` instead. */
|
|
109
|
+
DocumentDownloadInternalServerErrorIssue$.inboundSchema = exports.DocumentDownloadInternalServerErrorIssue$inboundSchema;
|
|
110
|
+
/** @deprecated use `DocumentDownloadInternalServerErrorIssue$outboundSchema` instead. */
|
|
111
|
+
DocumentDownloadInternalServerErrorIssue$.outboundSchema = exports.DocumentDownloadInternalServerErrorIssue$outboundSchema;
|
|
112
|
+
})(DocumentDownloadInternalServerErrorIssue$ || (exports.DocumentDownloadInternalServerErrorIssue$ = DocumentDownloadInternalServerErrorIssue$ = {}));
|
|
113
|
+
function documentDownloadInternalServerErrorIssueToJSON(documentDownloadInternalServerErrorIssue) {
|
|
114
|
+
return JSON.stringify(exports.DocumentDownloadInternalServerErrorIssue$outboundSchema.parse(documentDownloadInternalServerErrorIssue));
|
|
115
|
+
}
|
|
116
|
+
function documentDownloadInternalServerErrorIssueFromJSON(jsonString) {
|
|
117
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DocumentDownloadInternalServerErrorIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DocumentDownloadInternalServerErrorIssue' from JSON`);
|
|
118
|
+
}
|
|
119
|
+
/** @internal */
|
|
120
|
+
exports.DocumentDownloadInternalServerError$inboundSchema = z.object({
|
|
121
|
+
message: z.string(),
|
|
122
|
+
code: z.string(),
|
|
123
|
+
issues: z.array(z.lazy(() => exports.DocumentDownloadInternalServerErrorIssue$inboundSchema)).optional(),
|
|
124
|
+
request$: z.instanceof(Request),
|
|
125
|
+
response$: z.instanceof(Response),
|
|
126
|
+
body$: z.string(),
|
|
127
|
+
})
|
|
128
|
+
.transform((v) => {
|
|
129
|
+
return new DocumentDownloadInternalServerError(v, {
|
|
130
|
+
request: v.request$,
|
|
131
|
+
response: v.response$,
|
|
132
|
+
body: v.body$,
|
|
133
|
+
});
|
|
134
|
+
});
|
|
135
|
+
/** @internal */
|
|
136
|
+
exports.DocumentDownloadInternalServerError$outboundSchema = z.instanceof(DocumentDownloadInternalServerError)
|
|
137
|
+
.transform(v => v.data$)
|
|
138
|
+
.pipe(z.object({
|
|
139
|
+
message: z.string(),
|
|
140
|
+
code: z.string(),
|
|
141
|
+
issues: z.array(z.lazy(() => exports.DocumentDownloadInternalServerErrorIssue$outboundSchema)).optional(),
|
|
142
|
+
}));
|
|
143
|
+
/**
|
|
144
|
+
* @internal
|
|
145
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
146
|
+
*/
|
|
147
|
+
var DocumentDownloadInternalServerError$;
|
|
148
|
+
(function (DocumentDownloadInternalServerError$) {
|
|
149
|
+
/** @deprecated use `DocumentDownloadInternalServerError$inboundSchema` instead. */
|
|
150
|
+
DocumentDownloadInternalServerError$.inboundSchema = exports.DocumentDownloadInternalServerError$inboundSchema;
|
|
151
|
+
/** @deprecated use `DocumentDownloadInternalServerError$outboundSchema` instead. */
|
|
152
|
+
DocumentDownloadInternalServerError$.outboundSchema = exports.DocumentDownloadInternalServerError$outboundSchema;
|
|
153
|
+
})(DocumentDownloadInternalServerError$ || (exports.DocumentDownloadInternalServerError$ = DocumentDownloadInternalServerError$ = {}));
|
|
154
|
+
/** @internal */
|
|
155
|
+
exports.DocumentDownloadNotFoundIssue$inboundSchema = z.object({
|
|
156
|
+
message: z.string(),
|
|
157
|
+
});
|
|
158
|
+
/** @internal */
|
|
159
|
+
exports.DocumentDownloadNotFoundIssue$outboundSchema = z.object({
|
|
160
|
+
message: z.string(),
|
|
161
|
+
});
|
|
162
|
+
/**
|
|
163
|
+
* @internal
|
|
164
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
165
|
+
*/
|
|
166
|
+
var DocumentDownloadNotFoundIssue$;
|
|
167
|
+
(function (DocumentDownloadNotFoundIssue$) {
|
|
168
|
+
/** @deprecated use `DocumentDownloadNotFoundIssue$inboundSchema` instead. */
|
|
169
|
+
DocumentDownloadNotFoundIssue$.inboundSchema = exports.DocumentDownloadNotFoundIssue$inboundSchema;
|
|
170
|
+
/** @deprecated use `DocumentDownloadNotFoundIssue$outboundSchema` instead. */
|
|
171
|
+
DocumentDownloadNotFoundIssue$.outboundSchema = exports.DocumentDownloadNotFoundIssue$outboundSchema;
|
|
172
|
+
})(DocumentDownloadNotFoundIssue$ || (exports.DocumentDownloadNotFoundIssue$ = DocumentDownloadNotFoundIssue$ = {}));
|
|
173
|
+
function documentDownloadNotFoundIssueToJSON(documentDownloadNotFoundIssue) {
|
|
174
|
+
return JSON.stringify(exports.DocumentDownloadNotFoundIssue$outboundSchema.parse(documentDownloadNotFoundIssue));
|
|
175
|
+
}
|
|
176
|
+
function documentDownloadNotFoundIssueFromJSON(jsonString) {
|
|
177
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DocumentDownloadNotFoundIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DocumentDownloadNotFoundIssue' from JSON`);
|
|
178
|
+
}
|
|
179
|
+
/** @internal */
|
|
180
|
+
exports.DocumentDownloadNotFoundError$inboundSchema = z.object({
|
|
181
|
+
message: z.string(),
|
|
182
|
+
code: z.string(),
|
|
183
|
+
issues: z.array(z.lazy(() => exports.DocumentDownloadNotFoundIssue$inboundSchema))
|
|
184
|
+
.optional(),
|
|
185
|
+
request$: z.instanceof(Request),
|
|
186
|
+
response$: z.instanceof(Response),
|
|
187
|
+
body$: z.string(),
|
|
188
|
+
})
|
|
189
|
+
.transform((v) => {
|
|
190
|
+
return new DocumentDownloadNotFoundError(v, {
|
|
191
|
+
request: v.request$,
|
|
192
|
+
response: v.response$,
|
|
193
|
+
body: v.body$,
|
|
194
|
+
});
|
|
195
|
+
});
|
|
196
|
+
/** @internal */
|
|
197
|
+
exports.DocumentDownloadNotFoundError$outboundSchema = z.instanceof(DocumentDownloadNotFoundError)
|
|
198
|
+
.transform(v => v.data$)
|
|
199
|
+
.pipe(z.object({
|
|
200
|
+
message: z.string(),
|
|
201
|
+
code: z.string(),
|
|
202
|
+
issues: z.array(z.lazy(() => exports.DocumentDownloadNotFoundIssue$outboundSchema))
|
|
203
|
+
.optional(),
|
|
204
|
+
}));
|
|
205
|
+
/**
|
|
206
|
+
* @internal
|
|
207
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
208
|
+
*/
|
|
209
|
+
var DocumentDownloadNotFoundError$;
|
|
210
|
+
(function (DocumentDownloadNotFoundError$) {
|
|
211
|
+
/** @deprecated use `DocumentDownloadNotFoundError$inboundSchema` instead. */
|
|
212
|
+
DocumentDownloadNotFoundError$.inboundSchema = exports.DocumentDownloadNotFoundError$inboundSchema;
|
|
213
|
+
/** @deprecated use `DocumentDownloadNotFoundError$outboundSchema` instead. */
|
|
214
|
+
DocumentDownloadNotFoundError$.outboundSchema = exports.DocumentDownloadNotFoundError$outboundSchema;
|
|
215
|
+
})(DocumentDownloadNotFoundError$ || (exports.DocumentDownloadNotFoundError$ = DocumentDownloadNotFoundError$ = {}));
|
|
216
|
+
/** @internal */
|
|
217
|
+
exports.DocumentDownloadBadRequestIssue$inboundSchema = z.object({
|
|
218
|
+
message: z.string(),
|
|
219
|
+
});
|
|
220
|
+
/** @internal */
|
|
221
|
+
exports.DocumentDownloadBadRequestIssue$outboundSchema = z.object({
|
|
222
|
+
message: z.string(),
|
|
223
|
+
});
|
|
224
|
+
/**
|
|
225
|
+
* @internal
|
|
226
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
227
|
+
*/
|
|
228
|
+
var DocumentDownloadBadRequestIssue$;
|
|
229
|
+
(function (DocumentDownloadBadRequestIssue$) {
|
|
230
|
+
/** @deprecated use `DocumentDownloadBadRequestIssue$inboundSchema` instead. */
|
|
231
|
+
DocumentDownloadBadRequestIssue$.inboundSchema = exports.DocumentDownloadBadRequestIssue$inboundSchema;
|
|
232
|
+
/** @deprecated use `DocumentDownloadBadRequestIssue$outboundSchema` instead. */
|
|
233
|
+
DocumentDownloadBadRequestIssue$.outboundSchema = exports.DocumentDownloadBadRequestIssue$outboundSchema;
|
|
234
|
+
})(DocumentDownloadBadRequestIssue$ || (exports.DocumentDownloadBadRequestIssue$ = DocumentDownloadBadRequestIssue$ = {}));
|
|
235
|
+
function documentDownloadBadRequestIssueToJSON(documentDownloadBadRequestIssue) {
|
|
236
|
+
return JSON.stringify(exports.DocumentDownloadBadRequestIssue$outboundSchema.parse(documentDownloadBadRequestIssue));
|
|
237
|
+
}
|
|
238
|
+
function documentDownloadBadRequestIssueFromJSON(jsonString) {
|
|
239
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DocumentDownloadBadRequestIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DocumentDownloadBadRequestIssue' from JSON`);
|
|
240
|
+
}
|
|
241
|
+
/** @internal */
|
|
242
|
+
exports.DocumentDownloadBadRequestError$inboundSchema = z.object({
|
|
243
|
+
message: z.string(),
|
|
244
|
+
code: z.string(),
|
|
245
|
+
issues: z.array(z.lazy(() => exports.DocumentDownloadBadRequestIssue$inboundSchema))
|
|
246
|
+
.optional(),
|
|
247
|
+
request$: z.instanceof(Request),
|
|
248
|
+
response$: z.instanceof(Response),
|
|
249
|
+
body$: z.string(),
|
|
250
|
+
})
|
|
251
|
+
.transform((v) => {
|
|
252
|
+
return new DocumentDownloadBadRequestError(v, {
|
|
253
|
+
request: v.request$,
|
|
254
|
+
response: v.response$,
|
|
255
|
+
body: v.body$,
|
|
256
|
+
});
|
|
257
|
+
});
|
|
258
|
+
/** @internal */
|
|
259
|
+
exports.DocumentDownloadBadRequestError$outboundSchema = z.instanceof(DocumentDownloadBadRequestError)
|
|
260
|
+
.transform(v => v.data$)
|
|
261
|
+
.pipe(z.object({
|
|
262
|
+
message: z.string(),
|
|
263
|
+
code: z.string(),
|
|
264
|
+
issues: z.array(z.lazy(() => exports.DocumentDownloadBadRequestIssue$outboundSchema)).optional(),
|
|
265
|
+
}));
|
|
266
|
+
/**
|
|
267
|
+
* @internal
|
|
268
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
269
|
+
*/
|
|
270
|
+
var DocumentDownloadBadRequestError$;
|
|
271
|
+
(function (DocumentDownloadBadRequestError$) {
|
|
272
|
+
/** @deprecated use `DocumentDownloadBadRequestError$inboundSchema` instead. */
|
|
273
|
+
DocumentDownloadBadRequestError$.inboundSchema = exports.DocumentDownloadBadRequestError$inboundSchema;
|
|
274
|
+
/** @deprecated use `DocumentDownloadBadRequestError$outboundSchema` instead. */
|
|
275
|
+
DocumentDownloadBadRequestError$.outboundSchema = exports.DocumentDownloadBadRequestError$outboundSchema;
|
|
276
|
+
})(DocumentDownloadBadRequestError$ || (exports.DocumentDownloadBadRequestError$ = DocumentDownloadBadRequestError$ = {}));
|
|
277
|
+
//# sourceMappingURL=documentdownload.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentdownload.js","sourceRoot":"","sources":["../../src/models/errors/documentdownload.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6JH,wGASC;AAED,4GAcC;AAkGD,kFAQC;AAED,sFAQC;AA8FD,sFAQC;AAED,0FAQC;AAxZD,uCAAyB;AACzB,qDAAiD;AAEjD,2DAAqD;AAgBrD;;GAEG;AACH,MAAa,mCAAoC,SAAQ,kCAAc;IAOrE,YACE,GAA4C,EAC5C,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,GAAG,CAAC,MAAM,IAAI,IAAI;YAAE,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEjD,IAAI,CAAC,IAAI,GAAG,qCAAqC,CAAC;IACpD,CAAC;CACF;AAnBD,kFAmBC;AAeD;;GAEG;AACH,MAAa,6BAA8B,SAAQ,kCAAc;IAO/D,YACE,GAAsC,EACtC,QAAgE;QAEhE,MAAM,OAAO,GAAG,GAAG,CAAC,OAAO,IAAI,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5E,KAAK,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACzB,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,GAAG,CAAC,MAAM,I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,IAAI,+BAA+B,CAAC,CAAC,EAAE;QAC5C,OAAO,EAAE,CAAC,CAAC,QAAQ;QACnB,QAAQ,EAAE,CAAC,CAAC,SAAS;QACrB,IAAI,EAAE,CAAC,CAAC,KAAK;KACd,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AASL,gBAAgB;AACH,QAAA,8CAA8C,GAIvD,CAAC,CAAC,UAAU,CAAC,+BAA+B,CAAC;KAC9C,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,sDAA8C,CAAC,CAC7D,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,gCAAgC,CAOhD;AAPD,WAAiB,gCAAgC;IAC/C,+EAA+E;IAClE,8CAAa,GAAG,qDAA6C,CAAC;IAC3E,gFAAgF;IACnE,+CAAc,GAAG,sDAA8C,CAAC;AAG/E,CAAC,EAPgB,gCAAgC,gDAAhC,gCAAgC,QAOhD"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import * as z from "zod";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { DocumensoError } from "./documensoerror.js";
|
|
4
|
+
import { SDKValidationError } from "./sdkvalidationerror.js";
|
|
5
|
+
export type DocumentDuplicateInternalServerErrorIssue = {
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Internal server error
|
|
10
|
+
*/
|
|
11
|
+
export type DocumentDuplicateInternalServerErrorData = {
|
|
12
|
+
message: string;
|
|
13
|
+
code: string;
|
|
14
|
+
issues?: Array<DocumentDuplicateInternalServerErrorIssue> | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Internal server error
|
|
18
|
+
*/
|
|
19
|
+
export declare class DocumentDuplicateInternalServerError extends DocumensoError {
|
|
20
|
+
code: string;
|
|
21
|
+
issues?: Array<DocumentDuplicateInternalServerErrorIssue> | undefined;
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: DocumentDuplicateInternalServerErrorData;
|
|
24
|
+
constructor(err: DocumentDuplicateInternalServerErrorData, httpMeta: {
|
|
25
|
+
response: Response;
|
|
26
|
+
request: Request;
|
|
27
|
+
body: string;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export type DocumentDuplicateBadRequestIssue = {
|
|
31
|
+
message: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Invalid input data
|
|
35
|
+
*/
|
|
36
|
+
export type DocumentDuplicateBadRequestErrorData = {
|
|
37
|
+
message: string;
|
|
38
|
+
code: string;
|
|
39
|
+
issues?: Array<DocumentDuplicateBadRequestIssue> | undefined;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Invalid input data
|
|
43
|
+
*/
|
|
44
|
+
export declare class DocumentDuplicateBadRequestError extends DocumensoError {
|
|
45
|
+
code: string;
|
|
46
|
+
issues?: Array<DocumentDuplicateBadRequestIssue> | undefined;
|
|
47
|
+
/** The original data that was passed to this error instance. */
|
|
48
|
+
data$: DocumentDuplicateBadRequestErrorData;
|
|
49
|
+
constructor(err: DocumentDuplicateBadRequestErrorData, httpMeta: {
|
|
50
|
+
response: Response;
|
|
51
|
+
request: Request;
|
|
52
|
+
body: string;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const DocumentDuplicateInternalServerErrorIssue$inboundSchema: z.ZodType<DocumentDuplicateInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type DocumentDuplicateInternalServerErrorIssue$Outbound = {
|
|
59
|
+
message: string;
|
|
60
|
+
};
|
|
61
|
+
/** @internal */
|
|
62
|
+
export declare const DocumentDuplicateInternalServerErrorIssue$outboundSchema: z.ZodType<DocumentDuplicateInternalServerErrorIssue$Outbound, z.ZodTypeDef, DocumentDuplicateInternalServerErrorIssue>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
66
|
+
*/
|
|
67
|
+
export declare namespace DocumentDuplicateInternalServerErrorIssue$ {
|
|
68
|
+
/** @deprecated use `DocumentDuplicateInternalServerErrorIssue$inboundSchema` instead. */
|
|
69
|
+
const inboundSchema: z.ZodType<DocumentDuplicateInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
70
|
+
/** @deprecated use `DocumentDuplicateInternalServerErrorIssue$outboundSchema` instead. */
|
|
71
|
+
const outboundSchema: z.ZodType<DocumentDuplicateInternalServerErrorIssue$Outbound, z.ZodTypeDef, DocumentDuplicateInternalServerErrorIssue>;
|
|
72
|
+
/** @deprecated use `DocumentDuplicateInternalServerErrorIssue$Outbound` instead. */
|
|
73
|
+
type Outbound = DocumentDuplicateInternalServerErrorIssue$Outbound;
|
|
74
|
+
}
|
|
75
|
+
export declare function documentDuplicateInternalServerErrorIssueToJSON(documentDuplicateInternalServerErrorIssue: DocumentDuplicateInternalServerErrorIssue): string;
|
|
76
|
+
export declare function documentDuplicateInternalServerErrorIssueFromJSON(jsonString: string): SafeParseResult<DocumentDuplicateInternalServerErrorIssue, SDKValidationError>;
|
|
77
|
+
/** @internal */
|
|
78
|
+
export declare const DocumentDuplicateInternalServerError$inboundSchema: z.ZodType<DocumentDuplicateInternalServerError, z.ZodTypeDef, unknown>;
|
|
79
|
+
/** @internal */
|
|
80
|
+
export type DocumentDuplicateInternalServerError$Outbound = {
|
|
81
|
+
message: string;
|
|
82
|
+
code: string;
|
|
83
|
+
issues?: Array<DocumentDuplicateInternalServerErrorIssue$Outbound> | undefined;
|
|
84
|
+
};
|
|
85
|
+
/** @internal */
|
|
86
|
+
export declare const DocumentDuplicateInternalServerError$outboundSchema: z.ZodType<DocumentDuplicateInternalServerError$Outbound, z.ZodTypeDef, DocumentDuplicateInternalServerError>;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
90
|
+
*/
|
|
91
|
+
export declare namespace DocumentDuplicateInternalServerError$ {
|
|
92
|
+
/** @deprecated use `DocumentDuplicateInternalServerError$inboundSchema` instead. */
|
|
93
|
+
const inboundSchema: z.ZodType<DocumentDuplicateInternalServerError, z.ZodTypeDef, unknown>;
|
|
94
|
+
/** @deprecated use `DocumentDuplicateInternalServerError$outboundSchema` instead. */
|
|
95
|
+
const outboundSchema: z.ZodType<DocumentDuplicateInternalServerError$Outbound, z.ZodTypeDef, DocumentDuplicateInternalServerError>;
|
|
96
|
+
/** @deprecated use `DocumentDuplicateInternalServerError$Outbound` instead. */
|
|
97
|
+
type Outbound = DocumentDuplicateInternalServerError$Outbound;
|
|
98
|
+
}
|
|
99
|
+
/** @internal */
|
|
100
|
+
export declare const DocumentDuplicateBadRequestIssue$inboundSchema: z.ZodType<DocumentDuplicateBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
101
|
+
/** @internal */
|
|
102
|
+
export type DocumentDuplicateBadRequestIssue$Outbound = {
|
|
103
|
+
message: string;
|
|
104
|
+
};
|
|
105
|
+
/** @internal */
|
|
106
|
+
export declare const DocumentDuplicateBadRequestIssue$outboundSchema: z.ZodType<DocumentDuplicateBadRequestIssue$Outbound, z.ZodTypeDef, DocumentDuplicateBadRequestIssue>;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
110
|
+
*/
|
|
111
|
+
export declare namespace DocumentDuplicateBadRequestIssue$ {
|
|
112
|
+
/** @deprecated use `DocumentDuplicateBadRequestIssue$inboundSchema` instead. */
|
|
113
|
+
const inboundSchema: z.ZodType<DocumentDuplicateBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
114
|
+
/** @deprecated use `DocumentDuplicateBadRequestIssue$outboundSchema` instead. */
|
|
115
|
+
const outboundSchema: z.ZodType<DocumentDuplicateBadRequestIssue$Outbound, z.ZodTypeDef, DocumentDuplicateBadRequestIssue>;
|
|
116
|
+
/** @deprecated use `DocumentDuplicateBadRequestIssue$Outbound` instead. */
|
|
117
|
+
type Outbound = DocumentDuplicateBadRequestIssue$Outbound;
|
|
118
|
+
}
|
|
119
|
+
export declare function documentDuplicateBadRequestIssueToJSON(documentDuplicateBadRequestIssue: DocumentDuplicateBadRequestIssue): string;
|
|
120
|
+
export declare function documentDuplicateBadRequestIssueFromJSON(jsonString: string): SafeParseResult<DocumentDuplicateBadRequestIssue, SDKValidationError>;
|
|
121
|
+
/** @internal */
|
|
122
|
+
export declare const DocumentDuplicateBadRequestError$inboundSchema: z.ZodType<DocumentDuplicateBadRequestError, z.ZodTypeDef, unknown>;
|
|
123
|
+
/** @internal */
|
|
124
|
+
export type DocumentDuplicateBadRequestError$Outbound = {
|
|
125
|
+
message: string;
|
|
126
|
+
code: string;
|
|
127
|
+
issues?: Array<DocumentDuplicateBadRequestIssue$Outbound> | undefined;
|
|
128
|
+
};
|
|
129
|
+
/** @internal */
|
|
130
|
+
export declare const DocumentDuplicateBadRequestError$outboundSchema: z.ZodType<DocumentDuplicateBadRequestError$Outbound, z.ZodTypeDef, DocumentDuplicateBadRequestError>;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
134
|
+
*/
|
|
135
|
+
export declare namespace DocumentDuplicateBadRequestError$ {
|
|
136
|
+
/** @deprecated use `DocumentDuplicateBadRequestError$inboundSchema` instead. */
|
|
137
|
+
const inboundSchema: z.ZodType<DocumentDuplicateBadRequestError, z.ZodTypeDef, unknown>;
|
|
138
|
+
/** @deprecated use `DocumentDuplicateBadRequestError$outboundSchema` instead. */
|
|
139
|
+
const outboundSchema: z.ZodType<DocumentDuplicateBadRequestError$Outbound, z.ZodTypeDef, DocumentDuplicateBadRequestError>;
|
|
140
|
+
/** @deprecated use `DocumentDuplicateBadRequestError$Outbound` instead. */
|
|
141
|
+
type Outbound = DocumentDuplicateBadRequestError$Outbound;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=documentduplicate.d.ts.map
|