@documenso/sdk-typescript 0.3.0 → 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 +5 -3
- package/README.md +125 -114
- package/RUNTIMES.md +6 -6
- package/bin/mcp-server.js +5073 -3418
- package/bin/mcp-server.js.map +150 -151
- package/docs/sdks/directlink/README.md +3 -0
- package/docs/sdks/document/README.md +84 -0
- package/docs/sdks/documents/README.md +111 -172
- 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 +7 -78
- 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/{templatesMoveToTeam.d.ts → documentDocumentDownload.d.ts} +4 -4
- package/funcs/documentDocumentDownload.d.ts.map +1 -0
- package/funcs/{documentsMoveToTeam.js → documentDocumentDownload.js} +23 -14
- 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/{templatesMoveToTeam.js → templateTemplateCreateTemplateTemporary.js} +10 -10
- 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/files.d.ts +5 -0
- package/lib/files.d.ts.map +1 -1
- package/lib/files.js +41 -0
- package/lib/files.js.map +1 -1
- package/lib/security.d.ts +2 -2
- 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.js +8 -8
- 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/{templatesMoveToTeam.js → documentDocumentDownload.js} +9 -9
- 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/{documentsMoveToTeam.js → templateTemplateCreateTemplateTemporary.js} +9 -9
- 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 -9
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +10 -9
- 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 +205 -75
- package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.js +152 -69
- 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} +225 -212
- 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 +78 -20
- package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfield.js +82 -34
- package/models/operations/fieldcreatedocumentfield.js.map +1 -1
- package/models/operations/fieldcreatedocumentfields.d.ts +78 -20
- package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfields.js +83 -34
- package/models/operations/fieldcreatedocumentfields.js.map +1 -1
- package/models/operations/fieldcreatetemplatefield.d.ts +78 -20
- package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefield.js +82 -34
- package/models/operations/fieldcreatetemplatefield.js.map +1 -1
- package/models/operations/fieldcreatetemplatefields.d.ts +78 -20
- package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefields.js +83 -34
- package/models/operations/fieldcreatetemplatefields.js.map +1 -1
- package/models/operations/fieldgetdocumentfield.d.ts +45 -14
- package/models/operations/fieldgetdocumentfield.d.ts.map +1 -1
- package/models/operations/fieldgetdocumentfield.js +50 -25
- package/models/operations/fieldgetdocumentfield.js.map +1 -1
- package/models/operations/fieldgettemplatefield.d.ts +45 -14
- package/models/operations/fieldgettemplatefield.d.ts.map +1 -1
- package/models/operations/fieldgettemplatefield.js +50 -25
- package/models/operations/fieldgettemplatefield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfield.d.ts +78 -20
- package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfield.js +82 -34
- package/models/operations/fieldupdatedocumentfield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfields.d.ts +78 -20
- package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfields.js +83 -34
- package/models/operations/fieldupdatedocumentfields.js.map +1 -1
- package/models/operations/fieldupdatetemplatefield.d.ts +78 -20
- package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefield.js +82 -34
- package/models/operations/fieldupdatetemplatefield.js.map +1 -1
- package/models/operations/fieldupdatetemplatefields.d.ts +78 -20
- package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefields.js +83 -34
- package/models/operations/fieldupdatetemplatefields.js.map +1 -1
- package/models/operations/index.d.ts +9 -9
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +9 -9
- 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 +54 -18
- package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.js +57 -29
- package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
- package/models/operations/recipientgettemplaterecipient.d.ts +54 -18
- package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientgettemplaterecipient.js +57 -29
- package/models/operations/recipientgettemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.d.ts +57 -18
- package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.js +60 -30
- package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.d.ts +57 -18
- package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.js +61 -30
- package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.d.ts +57 -18
- package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.js +60 -30
- package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.d.ts +57 -18
- package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.js +61 -30
- package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.d.ts +124 -37
- package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.js +132 -57
- 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 +9 -4
- package/models/operations/templateduplicatetemplate.d.ts.map +1 -1
- package/models/operations/templateduplicatetemplate.js +7 -4
- package/models/operations/templateduplicatetemplate.js.map +1 -1
- package/models/operations/templatefindtemplates.d.ts +65 -24
- package/models/operations/templatefindtemplates.d.ts.map +1 -1
- package/models/operations/templatefindtemplates.js +67 -36
- package/models/operations/templatefindtemplates.js.map +1 -1
- package/models/operations/templategettemplatebyid.d.ts +104 -55
- package/models/operations/templategettemplatebyid.d.ts.map +1 -1
- package/models/operations/templategettemplatebyid.js +115 -74
- 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 +87 -34
- package/models/operations/templateupdatetemplate.d.ts.map +1 -1
- package/models/operations/templateupdatetemplate.js +36 -14
- 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 +15 -22
- package/sdk/documents.d.ts.map +1 -1
- package/sdk/documents.js +13 -23
- 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/sdk/templates.d.ts +0 -7
- package/sdk/templates.d.ts.map +1 -1
- package/sdk/templates.js +0 -10
- package/sdk/templates.js.map +1 -1
- package/src/funcs/{templatesMoveToTeam.ts → documentDocumentDownload.ts} +41 -33
- 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/{documentsMoveToTeam.ts → templateTemplateCreateTemplateTemporary.ts} +26 -21
- 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/files.ts +42 -0
- package/src/lib/security.ts +6 -3
- 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 +8 -8
- package/src/mcp-server/tools/{templatesMoveToTeam.ts → documentDocumentDownload.ts} +7 -7
- 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 -9
- 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 +257 -117
- 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 +153 -67
- package/src/models/operations/fieldcreatedocumentfields.ts +155 -70
- package/src/models/operations/fieldcreatetemplatefield.ts +153 -67
- package/src/models/operations/fieldcreatetemplatefields.ts +155 -70
- package/src/models/operations/fieldgetdocumentfield.ts +87 -46
- package/src/models/operations/fieldgettemplatefield.ts +87 -46
- package/src/models/operations/fieldupdatedocumentfield.ts +153 -67
- package/src/models/operations/fieldupdatedocumentfields.ts +155 -70
- package/src/models/operations/fieldupdatetemplatefield.ts +153 -67
- package/src/models/operations/fieldupdatetemplatefields.ts +155 -70
- package/src/models/operations/index.ts +9 -9
- 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 +112 -61
- package/src/models/operations/recipientgettemplaterecipient.ts +112 -61
- package/src/models/operations/recipientupdatedocumentrecipient.ts +117 -64
- package/src/models/operations/recipientupdatedocumentrecipients.ts +118 -66
- package/src/models/operations/recipientupdatetemplaterecipient.ts +117 -64
- package/src/models/operations/recipientupdatetemplaterecipients.ts +118 -66
- package/src/models/operations/templatecreatedocumentfromtemplate.ts +273 -128
- package/src/models/operations/templatecreatetemplatedirectlink.ts +8 -4
- package/src/models/operations/templatecreatetemplatetemporary.ts +4374 -0
- package/src/models/operations/templateduplicatetemplate.ts +13 -8
- package/src/models/operations/templatefindtemplates.ts +117 -66
- package/src/models/operations/templategettemplatebyid.ts +225 -139
- package/src/models/operations/templatetoggletemplatedirectlink.ts +8 -4
- package/src/models/operations/templateupdatetemplate.ts +51 -18
- package/src/sdk/document.ts +27 -0
- package/src/sdk/documents.ts +29 -47
- package/src/sdk/sdk.ts +12 -0
- package/src/sdk/template.ts +27 -0
- package/src/sdk/templates.ts +0 -18
- package/src/types/constdatetime.ts +1 -1
- package/types/constdatetime.js +1 -1
- package/docs/sdks/documenso/README.md +0 -7
- package/funcs/documentsMoveToTeam.d.ts +0 -18
- package/funcs/documentsMoveToTeam.d.ts.map +0 -1
- package/funcs/documentsMoveToTeam.js.map +0 -1
- package/funcs/templatesMoveToTeam.d.ts.map +0 -1
- package/funcs/templatesMoveToTeam.js.map +0 -1
- package/mcp-server/tools/documentsMoveToTeam.d.ts +0 -8
- package/mcp-server/tools/documentsMoveToTeam.d.ts.map +0 -1
- package/mcp-server/tools/documentsMoveToTeam.js.map +0 -1
- package/mcp-server/tools/templatesMoveToTeam.d.ts +0 -8
- package/mcp-server/tools/templatesMoveToTeam.d.ts.map +0 -1
- package/mcp-server/tools/templatesMoveToTeam.js.map +0 -1
- 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/documentmovedocumenttoteam.d.ts +0 -143
- package/models/errors/documentmovedocumenttoteam.d.ts.map +0 -1
- package/models/errors/documentmovedocumenttoteam.js +0 -201
- package/models/errors/documentmovedocumenttoteam.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/errors/templatemovetemplatetoteam.d.ts +0 -143
- package/models/errors/templatemovetemplatetoteam.d.ts.map +0 -1
- package/models/errors/templatemovetemplatetoteam.js +0 -201
- package/models/errors/templatemovetemplatetoteam.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/documentmovedocumenttoteam.d.ts +0 -310
- package/models/operations/documentmovedocumenttoteam.d.ts.map +0 -1
- package/models/operations/documentmovedocumenttoteam.js +0 -292
- package/models/operations/documentmovedocumenttoteam.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/models/operations/templatemovetemplatetoteam.d.ts +0 -239
- package/models/operations/templatemovetemplatetoteam.d.ts.map +0 -1
- package/models/operations/templatemovetemplatetoteam.js +0 -241
- package/models/operations/templatemovetemplatetoteam.js.map +0 -1
- package/src/mcp-server/tools/documentsMoveToTeam.ts +0 -37
- 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/documentmovedocumenttoteam.ts +0 -358
- 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/errors/templatemovetemplatetoteam.ts +0 -358
- 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/documentmovedocumenttoteam.ts +0 -529
- package/src/models/operations/documentresenddocument.ts +0 -138
- package/src/models/operations/documentsenddocument.ts +0 -846
- package/src/models/operations/documentupdatedocument.ts +0 -1128
- package/src/models/operations/templatemovetemplatetoteam.ts +0 -417
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"
|
|
1
|
+
{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C;AAEL,gBAAgB;AAChB,MAAM,MAAM,4CAA4C,GAAG;IACzD,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,4CAA4C,CAAC,GAAG,SAAS,CAAC;CAC1E,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kDAAkD,EAAE,CAAC,CAAC,OAAO,CACxE,4CAA4C,EAC5C,CAAC,CAAC,UAAU,EACZ,mCAAmC,CAShC,CAAC;AAEN;;;GAGG;AACH,yBAAiB,oCAAoC,CAAC;IACpD,mFAAmF;IAC5E,MAAM,aAAa,uEACyB,CAAC;IACpD,oFAAoF;IAC7E,MAAM,cAAc,4GACyB,CAAC;IACrD,8EAA8E;IAC9E,KAAY,QAAQ,GAAG,4CAA4C,CAAC;CACrE"}
|
|
@@ -0,0 +1,197 @@
|
|
|
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.DocumentRedistributeBadRequestError$ = exports.DocumentRedistributeBadRequestError$outboundSchema = exports.DocumentRedistributeBadRequestError$inboundSchema = exports.DocumentRedistributeBadRequestIssue$ = exports.DocumentRedistributeBadRequestIssue$outboundSchema = exports.DocumentRedistributeBadRequestIssue$inboundSchema = exports.DocumentRedistributeInternalServerError$ = exports.DocumentRedistributeInternalServerError$outboundSchema = exports.DocumentRedistributeInternalServerError$inboundSchema = exports.DocumentRedistributeInternalServerErrorIssue$ = exports.DocumentRedistributeInternalServerErrorIssue$outboundSchema = exports.DocumentRedistributeInternalServerErrorIssue$inboundSchema = exports.DocumentRedistributeBadRequestError = exports.DocumentRedistributeInternalServerError = void 0;
|
|
40
|
+
exports.documentRedistributeInternalServerErrorIssueToJSON = documentRedistributeInternalServerErrorIssueToJSON;
|
|
41
|
+
exports.documentRedistributeInternalServerErrorIssueFromJSON = documentRedistributeInternalServerErrorIssueFromJSON;
|
|
42
|
+
exports.documentRedistributeBadRequestIssueToJSON = documentRedistributeBadRequestIssueToJSON;
|
|
43
|
+
exports.documentRedistributeBadRequestIssueFromJSON = documentRedistributeBadRequestIssueFromJSON;
|
|
44
|
+
const z = __importStar(require("zod"));
|
|
45
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
+
const documensoerror_js_1 = require("./documensoerror.js");
|
|
47
|
+
/**
|
|
48
|
+
* Internal server error
|
|
49
|
+
*/
|
|
50
|
+
class DocumentRedistributeInternalServerError extends documensoerror_js_1.DocumensoError {
|
|
51
|
+
constructor(err, httpMeta) {
|
|
52
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
53
|
+
super(message, httpMeta);
|
|
54
|
+
this.data$ = err;
|
|
55
|
+
this.code = err.code;
|
|
56
|
+
if (err.issues != null)
|
|
57
|
+
this.issues = err.issues;
|
|
58
|
+
this.name = "DocumentRedistributeInternalServerError";
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DocumentRedistributeInternalServerError = DocumentRedistributeInternalServerError;
|
|
62
|
+
/**
|
|
63
|
+
* Invalid input data
|
|
64
|
+
*/
|
|
65
|
+
class DocumentRedistributeBadRequestError extends documensoerror_js_1.DocumensoError {
|
|
66
|
+
constructor(err, httpMeta) {
|
|
67
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
68
|
+
super(message, httpMeta);
|
|
69
|
+
this.data$ = err;
|
|
70
|
+
this.code = err.code;
|
|
71
|
+
if (err.issues != null)
|
|
72
|
+
this.issues = err.issues;
|
|
73
|
+
this.name = "DocumentRedistributeBadRequestError";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.DocumentRedistributeBadRequestError = DocumentRedistributeBadRequestError;
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.DocumentRedistributeInternalServerErrorIssue$inboundSchema = z.object({
|
|
79
|
+
message: z.string(),
|
|
80
|
+
});
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.DocumentRedistributeInternalServerErrorIssue$outboundSchema = z.object({
|
|
83
|
+
message: z.string(),
|
|
84
|
+
});
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
var DocumentRedistributeInternalServerErrorIssue$;
|
|
90
|
+
(function (DocumentRedistributeInternalServerErrorIssue$) {
|
|
91
|
+
/** @deprecated use `DocumentRedistributeInternalServerErrorIssue$inboundSchema` instead. */
|
|
92
|
+
DocumentRedistributeInternalServerErrorIssue$.inboundSchema = exports.DocumentRedistributeInternalServerErrorIssue$inboundSchema;
|
|
93
|
+
/** @deprecated use `DocumentRedistributeInternalServerErrorIssue$outboundSchema` instead. */
|
|
94
|
+
DocumentRedistributeInternalServerErrorIssue$.outboundSchema = exports.DocumentRedistributeInternalServerErrorIssue$outboundSchema;
|
|
95
|
+
})(DocumentRedistributeInternalServerErrorIssue$ || (exports.DocumentRedistributeInternalServerErrorIssue$ = DocumentRedistributeInternalServerErrorIssue$ = {}));
|
|
96
|
+
function documentRedistributeInternalServerErrorIssueToJSON(documentRedistributeInternalServerErrorIssue) {
|
|
97
|
+
return JSON.stringify(exports.DocumentRedistributeInternalServerErrorIssue$outboundSchema.parse(documentRedistributeInternalServerErrorIssue));
|
|
98
|
+
}
|
|
99
|
+
function documentRedistributeInternalServerErrorIssueFromJSON(jsonString) {
|
|
100
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DocumentRedistributeInternalServerErrorIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DocumentRedistributeInternalServerErrorIssue' from JSON`);
|
|
101
|
+
}
|
|
102
|
+
/** @internal */
|
|
103
|
+
exports.DocumentRedistributeInternalServerError$inboundSchema = z.object({
|
|
104
|
+
message: z.string(),
|
|
105
|
+
code: z.string(),
|
|
106
|
+
issues: z.array(z.lazy(() => exports.DocumentRedistributeInternalServerErrorIssue$inboundSchema)).optional(),
|
|
107
|
+
request$: z.instanceof(Request),
|
|
108
|
+
response$: z.instanceof(Response),
|
|
109
|
+
body$: z.string(),
|
|
110
|
+
})
|
|
111
|
+
.transform((v) => {
|
|
112
|
+
return new DocumentRedistributeInternalServerError(v, {
|
|
113
|
+
request: v.request$,
|
|
114
|
+
response: v.response$,
|
|
115
|
+
body: v.body$,
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
/** @internal */
|
|
119
|
+
exports.DocumentRedistributeInternalServerError$outboundSchema = z.instanceof(DocumentRedistributeInternalServerError)
|
|
120
|
+
.transform(v => v.data$)
|
|
121
|
+
.pipe(z.object({
|
|
122
|
+
message: z.string(),
|
|
123
|
+
code: z.string(),
|
|
124
|
+
issues: z.array(z.lazy(() => exports.DocumentRedistributeInternalServerErrorIssue$outboundSchema)).optional(),
|
|
125
|
+
}));
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
129
|
+
*/
|
|
130
|
+
var DocumentRedistributeInternalServerError$;
|
|
131
|
+
(function (DocumentRedistributeInternalServerError$) {
|
|
132
|
+
/** @deprecated use `DocumentRedistributeInternalServerError$inboundSchema` instead. */
|
|
133
|
+
DocumentRedistributeInternalServerError$.inboundSchema = exports.DocumentRedistributeInternalServerError$inboundSchema;
|
|
134
|
+
/** @deprecated use `DocumentRedistributeInternalServerError$outboundSchema` instead. */
|
|
135
|
+
DocumentRedistributeInternalServerError$.outboundSchema = exports.DocumentRedistributeInternalServerError$outboundSchema;
|
|
136
|
+
})(DocumentRedistributeInternalServerError$ || (exports.DocumentRedistributeInternalServerError$ = DocumentRedistributeInternalServerError$ = {}));
|
|
137
|
+
/** @internal */
|
|
138
|
+
exports.DocumentRedistributeBadRequestIssue$inboundSchema = z.object({
|
|
139
|
+
message: z.string(),
|
|
140
|
+
});
|
|
141
|
+
/** @internal */
|
|
142
|
+
exports.DocumentRedistributeBadRequestIssue$outboundSchema = z.object({
|
|
143
|
+
message: z.string(),
|
|
144
|
+
});
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
148
|
+
*/
|
|
149
|
+
var DocumentRedistributeBadRequestIssue$;
|
|
150
|
+
(function (DocumentRedistributeBadRequestIssue$) {
|
|
151
|
+
/** @deprecated use `DocumentRedistributeBadRequestIssue$inboundSchema` instead. */
|
|
152
|
+
DocumentRedistributeBadRequestIssue$.inboundSchema = exports.DocumentRedistributeBadRequestIssue$inboundSchema;
|
|
153
|
+
/** @deprecated use `DocumentRedistributeBadRequestIssue$outboundSchema` instead. */
|
|
154
|
+
DocumentRedistributeBadRequestIssue$.outboundSchema = exports.DocumentRedistributeBadRequestIssue$outboundSchema;
|
|
155
|
+
})(DocumentRedistributeBadRequestIssue$ || (exports.DocumentRedistributeBadRequestIssue$ = DocumentRedistributeBadRequestIssue$ = {}));
|
|
156
|
+
function documentRedistributeBadRequestIssueToJSON(documentRedistributeBadRequestIssue) {
|
|
157
|
+
return JSON.stringify(exports.DocumentRedistributeBadRequestIssue$outboundSchema.parse(documentRedistributeBadRequestIssue));
|
|
158
|
+
}
|
|
159
|
+
function documentRedistributeBadRequestIssueFromJSON(jsonString) {
|
|
160
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DocumentRedistributeBadRequestIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DocumentRedistributeBadRequestIssue' from JSON`);
|
|
161
|
+
}
|
|
162
|
+
/** @internal */
|
|
163
|
+
exports.DocumentRedistributeBadRequestError$inboundSchema = z.object({
|
|
164
|
+
message: z.string(),
|
|
165
|
+
code: z.string(),
|
|
166
|
+
issues: z.array(z.lazy(() => exports.DocumentRedistributeBadRequestIssue$inboundSchema)).optional(),
|
|
167
|
+
request$: z.instanceof(Request),
|
|
168
|
+
response$: z.instanceof(Response),
|
|
169
|
+
body$: z.string(),
|
|
170
|
+
})
|
|
171
|
+
.transform((v) => {
|
|
172
|
+
return new DocumentRedistributeBadRequestError(v, {
|
|
173
|
+
request: v.request$,
|
|
174
|
+
response: v.response$,
|
|
175
|
+
body: v.body$,
|
|
176
|
+
});
|
|
177
|
+
});
|
|
178
|
+
/** @internal */
|
|
179
|
+
exports.DocumentRedistributeBadRequestError$outboundSchema = z.instanceof(DocumentRedistributeBadRequestError)
|
|
180
|
+
.transform(v => v.data$)
|
|
181
|
+
.pipe(z.object({
|
|
182
|
+
message: z.string(),
|
|
183
|
+
code: z.string(),
|
|
184
|
+
issues: z.array(z.lazy(() => exports.DocumentRedistributeBadRequestIssue$outboundSchema)).optional(),
|
|
185
|
+
}));
|
|
186
|
+
/**
|
|
187
|
+
* @internal
|
|
188
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
189
|
+
*/
|
|
190
|
+
var DocumentRedistributeBadRequestError$;
|
|
191
|
+
(function (DocumentRedistributeBadRequestError$) {
|
|
192
|
+
/** @deprecated use `DocumentRedistributeBadRequestError$inboundSchema` instead. */
|
|
193
|
+
DocumentRedistributeBadRequestError$.inboundSchema = exports.DocumentRedistributeBadRequestError$inboundSchema;
|
|
194
|
+
/** @deprecated use `DocumentRedistributeBadRequestError$outboundSchema` instead. */
|
|
195
|
+
DocumentRedistributeBadRequestError$.outboundSchema = exports.DocumentRedistributeBadRequestError$outboundSchema;
|
|
196
|
+
})(DocumentRedistributeBadRequestError$ || (exports.DocumentRedistributeBadRequestError$ = DocumentRedistributeBadRequestError$ = {}));
|
|
197
|
+
//# sourceMappingURL=documentredistribute.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentredistribute.js","sourceRoot":"","sources":["../../src/models/errors/documentredistribute.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0HH,gHASC;AAED,oHAcC;AAsGD,8FAQC;AAED,kGASC;AA1QD,uCAAyB;AACzB,qDAAiD;AAEjD,2DAAqD;AAgBrD;;GAEG;AACH,MAAa,uCAAwC,SAAQ,kCAAc;IAOzE,YACE,GAAgD,EAChD,QAAgE;QAE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AEN;;;GAGG;AACH,IAAiB,oCAAoC,CASpD;AATD,WAAiB,oCAAoC;IACnD,mFAAmF;IACtE,kDAAa,GACxB,yDAAiD,CAAC;IACpD,oFAAoF;IACvE,mDAAc,GACzB,0DAAkD,CAAC;AAGvD,CAAC,EATgB,oCAAoC,oDAApC,oCAAoC,QASpD"}
|
|
@@ -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 DocumentUpdateInternalServerErrorIssue = {
|
|
6
|
+
message: string;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Internal server error
|
|
10
|
+
*/
|
|
11
|
+
export type DocumentUpdateInternalServerErrorData = {
|
|
12
|
+
message: string;
|
|
13
|
+
code: string;
|
|
14
|
+
issues?: Array<DocumentUpdateInternalServerErrorIssue> | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Internal server error
|
|
18
|
+
*/
|
|
19
|
+
export declare class DocumentUpdateInternalServerError extends DocumensoError {
|
|
20
|
+
code: string;
|
|
21
|
+
issues?: Array<DocumentUpdateInternalServerErrorIssue> | undefined;
|
|
22
|
+
/** The original data that was passed to this error instance. */
|
|
23
|
+
data$: DocumentUpdateInternalServerErrorData;
|
|
24
|
+
constructor(err: DocumentUpdateInternalServerErrorData, httpMeta: {
|
|
25
|
+
response: Response;
|
|
26
|
+
request: Request;
|
|
27
|
+
body: string;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
export type DocumentUpdateBadRequestIssue = {
|
|
31
|
+
message: string;
|
|
32
|
+
};
|
|
33
|
+
/**
|
|
34
|
+
* Invalid input data
|
|
35
|
+
*/
|
|
36
|
+
export type DocumentUpdateBadRequestErrorData = {
|
|
37
|
+
message: string;
|
|
38
|
+
code: string;
|
|
39
|
+
issues?: Array<DocumentUpdateBadRequestIssue> | undefined;
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Invalid input data
|
|
43
|
+
*/
|
|
44
|
+
export declare class DocumentUpdateBadRequestError extends DocumensoError {
|
|
45
|
+
code: string;
|
|
46
|
+
issues?: Array<DocumentUpdateBadRequestIssue> | undefined;
|
|
47
|
+
/** The original data that was passed to this error instance. */
|
|
48
|
+
data$: DocumentUpdateBadRequestErrorData;
|
|
49
|
+
constructor(err: DocumentUpdateBadRequestErrorData, httpMeta: {
|
|
50
|
+
response: Response;
|
|
51
|
+
request: Request;
|
|
52
|
+
body: string;
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
/** @internal */
|
|
56
|
+
export declare const DocumentUpdateInternalServerErrorIssue$inboundSchema: z.ZodType<DocumentUpdateInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
57
|
+
/** @internal */
|
|
58
|
+
export type DocumentUpdateInternalServerErrorIssue$Outbound = {
|
|
59
|
+
message: string;
|
|
60
|
+
};
|
|
61
|
+
/** @internal */
|
|
62
|
+
export declare const DocumentUpdateInternalServerErrorIssue$outboundSchema: z.ZodType<DocumentUpdateInternalServerErrorIssue$Outbound, z.ZodTypeDef, DocumentUpdateInternalServerErrorIssue>;
|
|
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 DocumentUpdateInternalServerErrorIssue$ {
|
|
68
|
+
/** @deprecated use `DocumentUpdateInternalServerErrorIssue$inboundSchema` instead. */
|
|
69
|
+
const inboundSchema: z.ZodType<DocumentUpdateInternalServerErrorIssue, z.ZodTypeDef, unknown>;
|
|
70
|
+
/** @deprecated use `DocumentUpdateInternalServerErrorIssue$outboundSchema` instead. */
|
|
71
|
+
const outboundSchema: z.ZodType<DocumentUpdateInternalServerErrorIssue$Outbound, z.ZodTypeDef, DocumentUpdateInternalServerErrorIssue>;
|
|
72
|
+
/** @deprecated use `DocumentUpdateInternalServerErrorIssue$Outbound` instead. */
|
|
73
|
+
type Outbound = DocumentUpdateInternalServerErrorIssue$Outbound;
|
|
74
|
+
}
|
|
75
|
+
export declare function documentUpdateInternalServerErrorIssueToJSON(documentUpdateInternalServerErrorIssue: DocumentUpdateInternalServerErrorIssue): string;
|
|
76
|
+
export declare function documentUpdateInternalServerErrorIssueFromJSON(jsonString: string): SafeParseResult<DocumentUpdateInternalServerErrorIssue, SDKValidationError>;
|
|
77
|
+
/** @internal */
|
|
78
|
+
export declare const DocumentUpdateInternalServerError$inboundSchema: z.ZodType<DocumentUpdateInternalServerError, z.ZodTypeDef, unknown>;
|
|
79
|
+
/** @internal */
|
|
80
|
+
export type DocumentUpdateInternalServerError$Outbound = {
|
|
81
|
+
message: string;
|
|
82
|
+
code: string;
|
|
83
|
+
issues?: Array<DocumentUpdateInternalServerErrorIssue$Outbound> | undefined;
|
|
84
|
+
};
|
|
85
|
+
/** @internal */
|
|
86
|
+
export declare const DocumentUpdateInternalServerError$outboundSchema: z.ZodType<DocumentUpdateInternalServerError$Outbound, z.ZodTypeDef, DocumentUpdateInternalServerError>;
|
|
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 DocumentUpdateInternalServerError$ {
|
|
92
|
+
/** @deprecated use `DocumentUpdateInternalServerError$inboundSchema` instead. */
|
|
93
|
+
const inboundSchema: z.ZodType<DocumentUpdateInternalServerError, z.ZodTypeDef, unknown>;
|
|
94
|
+
/** @deprecated use `DocumentUpdateInternalServerError$outboundSchema` instead. */
|
|
95
|
+
const outboundSchema: z.ZodType<DocumentUpdateInternalServerError$Outbound, z.ZodTypeDef, DocumentUpdateInternalServerError>;
|
|
96
|
+
/** @deprecated use `DocumentUpdateInternalServerError$Outbound` instead. */
|
|
97
|
+
type Outbound = DocumentUpdateInternalServerError$Outbound;
|
|
98
|
+
}
|
|
99
|
+
/** @internal */
|
|
100
|
+
export declare const DocumentUpdateBadRequestIssue$inboundSchema: z.ZodType<DocumentUpdateBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
101
|
+
/** @internal */
|
|
102
|
+
export type DocumentUpdateBadRequestIssue$Outbound = {
|
|
103
|
+
message: string;
|
|
104
|
+
};
|
|
105
|
+
/** @internal */
|
|
106
|
+
export declare const DocumentUpdateBadRequestIssue$outboundSchema: z.ZodType<DocumentUpdateBadRequestIssue$Outbound, z.ZodTypeDef, DocumentUpdateBadRequestIssue>;
|
|
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 DocumentUpdateBadRequestIssue$ {
|
|
112
|
+
/** @deprecated use `DocumentUpdateBadRequestIssue$inboundSchema` instead. */
|
|
113
|
+
const inboundSchema: z.ZodType<DocumentUpdateBadRequestIssue, z.ZodTypeDef, unknown>;
|
|
114
|
+
/** @deprecated use `DocumentUpdateBadRequestIssue$outboundSchema` instead. */
|
|
115
|
+
const outboundSchema: z.ZodType<DocumentUpdateBadRequestIssue$Outbound, z.ZodTypeDef, DocumentUpdateBadRequestIssue>;
|
|
116
|
+
/** @deprecated use `DocumentUpdateBadRequestIssue$Outbound` instead. */
|
|
117
|
+
type Outbound = DocumentUpdateBadRequestIssue$Outbound;
|
|
118
|
+
}
|
|
119
|
+
export declare function documentUpdateBadRequestIssueToJSON(documentUpdateBadRequestIssue: DocumentUpdateBadRequestIssue): string;
|
|
120
|
+
export declare function documentUpdateBadRequestIssueFromJSON(jsonString: string): SafeParseResult<DocumentUpdateBadRequestIssue, SDKValidationError>;
|
|
121
|
+
/** @internal */
|
|
122
|
+
export declare const DocumentUpdateBadRequestError$inboundSchema: z.ZodType<DocumentUpdateBadRequestError, z.ZodTypeDef, unknown>;
|
|
123
|
+
/** @internal */
|
|
124
|
+
export type DocumentUpdateBadRequestError$Outbound = {
|
|
125
|
+
message: string;
|
|
126
|
+
code: string;
|
|
127
|
+
issues?: Array<DocumentUpdateBadRequestIssue$Outbound> | undefined;
|
|
128
|
+
};
|
|
129
|
+
/** @internal */
|
|
130
|
+
export declare const DocumentUpdateBadRequestError$outboundSchema: z.ZodType<DocumentUpdateBadRequestError$Outbound, z.ZodTypeDef, DocumentUpdateBadRequestError>;
|
|
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 DocumentUpdateBadRequestError$ {
|
|
136
|
+
/** @deprecated use `DocumentUpdateBadRequestError$inboundSchema` instead. */
|
|
137
|
+
const inboundSchema: z.ZodType<DocumentUpdateBadRequestError, z.ZodTypeDef, unknown>;
|
|
138
|
+
/** @deprecated use `DocumentUpdateBadRequestError$outboundSchema` instead. */
|
|
139
|
+
const outboundSchema: z.ZodType<DocumentUpdateBadRequestError$Outbound, z.ZodTypeDef, DocumentUpdateBadRequestError>;
|
|
140
|
+
/** @deprecated use `DocumentUpdateBadRequestError$Outbound` instead. */
|
|
141
|
+
type Outbound = DocumentUpdateBadRequestError$Outbound;
|
|
142
|
+
}
|
|
143
|
+
//# sourceMappingURL=documentupdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentupdate.d.ts","sourceRoot":"","sources":["../../src/models/errors/documentupdate.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,sCAAsC,GAAG;IACnD,OAAO,EAAE,MAAM,CAAC;CACjB,C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yBAAiB,8BAA8B,CAAC;IAC9C,6EAA6E;IACtE,MAAM,aAAa,iEAA8C,CAAC;IACzE,8EAA8E;IACvE,MAAM,cAAc,gGAA+C,CAAC;IAC3E,wEAAwE;IACxE,KAAY,QAAQ,GAAG,sCAAsC,CAAC;CAC/D"}
|
|
@@ -0,0 +1,199 @@
|
|
|
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.DocumentUpdateBadRequestError$ = exports.DocumentUpdateBadRequestError$outboundSchema = exports.DocumentUpdateBadRequestError$inboundSchema = exports.DocumentUpdateBadRequestIssue$ = exports.DocumentUpdateBadRequestIssue$outboundSchema = exports.DocumentUpdateBadRequestIssue$inboundSchema = exports.DocumentUpdateInternalServerError$ = exports.DocumentUpdateInternalServerError$outboundSchema = exports.DocumentUpdateInternalServerError$inboundSchema = exports.DocumentUpdateInternalServerErrorIssue$ = exports.DocumentUpdateInternalServerErrorIssue$outboundSchema = exports.DocumentUpdateInternalServerErrorIssue$inboundSchema = exports.DocumentUpdateBadRequestError = exports.DocumentUpdateInternalServerError = void 0;
|
|
40
|
+
exports.documentUpdateInternalServerErrorIssueToJSON = documentUpdateInternalServerErrorIssueToJSON;
|
|
41
|
+
exports.documentUpdateInternalServerErrorIssueFromJSON = documentUpdateInternalServerErrorIssueFromJSON;
|
|
42
|
+
exports.documentUpdateBadRequestIssueToJSON = documentUpdateBadRequestIssueToJSON;
|
|
43
|
+
exports.documentUpdateBadRequestIssueFromJSON = documentUpdateBadRequestIssueFromJSON;
|
|
44
|
+
const z = __importStar(require("zod"));
|
|
45
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
46
|
+
const documensoerror_js_1 = require("./documensoerror.js");
|
|
47
|
+
/**
|
|
48
|
+
* Internal server error
|
|
49
|
+
*/
|
|
50
|
+
class DocumentUpdateInternalServerError extends documensoerror_js_1.DocumensoError {
|
|
51
|
+
constructor(err, httpMeta) {
|
|
52
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
53
|
+
super(message, httpMeta);
|
|
54
|
+
this.data$ = err;
|
|
55
|
+
this.code = err.code;
|
|
56
|
+
if (err.issues != null)
|
|
57
|
+
this.issues = err.issues;
|
|
58
|
+
this.name = "DocumentUpdateInternalServerError";
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.DocumentUpdateInternalServerError = DocumentUpdateInternalServerError;
|
|
62
|
+
/**
|
|
63
|
+
* Invalid input data
|
|
64
|
+
*/
|
|
65
|
+
class DocumentUpdateBadRequestError extends documensoerror_js_1.DocumensoError {
|
|
66
|
+
constructor(err, httpMeta) {
|
|
67
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
68
|
+
super(message, httpMeta);
|
|
69
|
+
this.data$ = err;
|
|
70
|
+
this.code = err.code;
|
|
71
|
+
if (err.issues != null)
|
|
72
|
+
this.issues = err.issues;
|
|
73
|
+
this.name = "DocumentUpdateBadRequestError";
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.DocumentUpdateBadRequestError = DocumentUpdateBadRequestError;
|
|
77
|
+
/** @internal */
|
|
78
|
+
exports.DocumentUpdateInternalServerErrorIssue$inboundSchema = z.object({
|
|
79
|
+
message: z.string(),
|
|
80
|
+
});
|
|
81
|
+
/** @internal */
|
|
82
|
+
exports.DocumentUpdateInternalServerErrorIssue$outboundSchema = z.object({
|
|
83
|
+
message: z.string(),
|
|
84
|
+
});
|
|
85
|
+
/**
|
|
86
|
+
* @internal
|
|
87
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
88
|
+
*/
|
|
89
|
+
var DocumentUpdateInternalServerErrorIssue$;
|
|
90
|
+
(function (DocumentUpdateInternalServerErrorIssue$) {
|
|
91
|
+
/** @deprecated use `DocumentUpdateInternalServerErrorIssue$inboundSchema` instead. */
|
|
92
|
+
DocumentUpdateInternalServerErrorIssue$.inboundSchema = exports.DocumentUpdateInternalServerErrorIssue$inboundSchema;
|
|
93
|
+
/** @deprecated use `DocumentUpdateInternalServerErrorIssue$outboundSchema` instead. */
|
|
94
|
+
DocumentUpdateInternalServerErrorIssue$.outboundSchema = exports.DocumentUpdateInternalServerErrorIssue$outboundSchema;
|
|
95
|
+
})(DocumentUpdateInternalServerErrorIssue$ || (exports.DocumentUpdateInternalServerErrorIssue$ = DocumentUpdateInternalServerErrorIssue$ = {}));
|
|
96
|
+
function documentUpdateInternalServerErrorIssueToJSON(documentUpdateInternalServerErrorIssue) {
|
|
97
|
+
return JSON.stringify(exports.DocumentUpdateInternalServerErrorIssue$outboundSchema.parse(documentUpdateInternalServerErrorIssue));
|
|
98
|
+
}
|
|
99
|
+
function documentUpdateInternalServerErrorIssueFromJSON(jsonString) {
|
|
100
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DocumentUpdateInternalServerErrorIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DocumentUpdateInternalServerErrorIssue' from JSON`);
|
|
101
|
+
}
|
|
102
|
+
/** @internal */
|
|
103
|
+
exports.DocumentUpdateInternalServerError$inboundSchema = z.object({
|
|
104
|
+
message: z.string(),
|
|
105
|
+
code: z.string(),
|
|
106
|
+
issues: z.array(z.lazy(() => exports.DocumentUpdateInternalServerErrorIssue$inboundSchema)).optional(),
|
|
107
|
+
request$: z.instanceof(Request),
|
|
108
|
+
response$: z.instanceof(Response),
|
|
109
|
+
body$: z.string(),
|
|
110
|
+
})
|
|
111
|
+
.transform((v) => {
|
|
112
|
+
return new DocumentUpdateInternalServerError(v, {
|
|
113
|
+
request: v.request$,
|
|
114
|
+
response: v.response$,
|
|
115
|
+
body: v.body$,
|
|
116
|
+
});
|
|
117
|
+
});
|
|
118
|
+
/** @internal */
|
|
119
|
+
exports.DocumentUpdateInternalServerError$outboundSchema = z.instanceof(DocumentUpdateInternalServerError)
|
|
120
|
+
.transform(v => v.data$)
|
|
121
|
+
.pipe(z.object({
|
|
122
|
+
message: z.string(),
|
|
123
|
+
code: z.string(),
|
|
124
|
+
issues: z.array(z.lazy(() => exports.DocumentUpdateInternalServerErrorIssue$outboundSchema)).optional(),
|
|
125
|
+
}));
|
|
126
|
+
/**
|
|
127
|
+
* @internal
|
|
128
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
129
|
+
*/
|
|
130
|
+
var DocumentUpdateInternalServerError$;
|
|
131
|
+
(function (DocumentUpdateInternalServerError$) {
|
|
132
|
+
/** @deprecated use `DocumentUpdateInternalServerError$inboundSchema` instead. */
|
|
133
|
+
DocumentUpdateInternalServerError$.inboundSchema = exports.DocumentUpdateInternalServerError$inboundSchema;
|
|
134
|
+
/** @deprecated use `DocumentUpdateInternalServerError$outboundSchema` instead. */
|
|
135
|
+
DocumentUpdateInternalServerError$.outboundSchema = exports.DocumentUpdateInternalServerError$outboundSchema;
|
|
136
|
+
})(DocumentUpdateInternalServerError$ || (exports.DocumentUpdateInternalServerError$ = DocumentUpdateInternalServerError$ = {}));
|
|
137
|
+
/** @internal */
|
|
138
|
+
exports.DocumentUpdateBadRequestIssue$inboundSchema = z.object({
|
|
139
|
+
message: z.string(),
|
|
140
|
+
});
|
|
141
|
+
/** @internal */
|
|
142
|
+
exports.DocumentUpdateBadRequestIssue$outboundSchema = z.object({
|
|
143
|
+
message: z.string(),
|
|
144
|
+
});
|
|
145
|
+
/**
|
|
146
|
+
* @internal
|
|
147
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
148
|
+
*/
|
|
149
|
+
var DocumentUpdateBadRequestIssue$;
|
|
150
|
+
(function (DocumentUpdateBadRequestIssue$) {
|
|
151
|
+
/** @deprecated use `DocumentUpdateBadRequestIssue$inboundSchema` instead. */
|
|
152
|
+
DocumentUpdateBadRequestIssue$.inboundSchema = exports.DocumentUpdateBadRequestIssue$inboundSchema;
|
|
153
|
+
/** @deprecated use `DocumentUpdateBadRequestIssue$outboundSchema` instead. */
|
|
154
|
+
DocumentUpdateBadRequestIssue$.outboundSchema = exports.DocumentUpdateBadRequestIssue$outboundSchema;
|
|
155
|
+
})(DocumentUpdateBadRequestIssue$ || (exports.DocumentUpdateBadRequestIssue$ = DocumentUpdateBadRequestIssue$ = {}));
|
|
156
|
+
function documentUpdateBadRequestIssueToJSON(documentUpdateBadRequestIssue) {
|
|
157
|
+
return JSON.stringify(exports.DocumentUpdateBadRequestIssue$outboundSchema.parse(documentUpdateBadRequestIssue));
|
|
158
|
+
}
|
|
159
|
+
function documentUpdateBadRequestIssueFromJSON(jsonString) {
|
|
160
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DocumentUpdateBadRequestIssue$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DocumentUpdateBadRequestIssue' from JSON`);
|
|
161
|
+
}
|
|
162
|
+
/** @internal */
|
|
163
|
+
exports.DocumentUpdateBadRequestError$inboundSchema = z.object({
|
|
164
|
+
message: z.string(),
|
|
165
|
+
code: z.string(),
|
|
166
|
+
issues: z.array(z.lazy(() => exports.DocumentUpdateBadRequestIssue$inboundSchema))
|
|
167
|
+
.optional(),
|
|
168
|
+
request$: z.instanceof(Request),
|
|
169
|
+
response$: z.instanceof(Response),
|
|
170
|
+
body$: z.string(),
|
|
171
|
+
})
|
|
172
|
+
.transform((v) => {
|
|
173
|
+
return new DocumentUpdateBadRequestError(v, {
|
|
174
|
+
request: v.request$,
|
|
175
|
+
response: v.response$,
|
|
176
|
+
body: v.body$,
|
|
177
|
+
});
|
|
178
|
+
});
|
|
179
|
+
/** @internal */
|
|
180
|
+
exports.DocumentUpdateBadRequestError$outboundSchema = z.instanceof(DocumentUpdateBadRequestError)
|
|
181
|
+
.transform(v => v.data$)
|
|
182
|
+
.pipe(z.object({
|
|
183
|
+
message: z.string(),
|
|
184
|
+
code: z.string(),
|
|
185
|
+
issues: z.array(z.lazy(() => exports.DocumentUpdateBadRequestIssue$outboundSchema))
|
|
186
|
+
.optional(),
|
|
187
|
+
}));
|
|
188
|
+
/**
|
|
189
|
+
* @internal
|
|
190
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
191
|
+
*/
|
|
192
|
+
var DocumentUpdateBadRequestError$;
|
|
193
|
+
(function (DocumentUpdateBadRequestError$) {
|
|
194
|
+
/** @deprecated use `DocumentUpdateBadRequestError$inboundSchema` instead. */
|
|
195
|
+
DocumentUpdateBadRequestError$.inboundSchema = exports.DocumentUpdateBadRequestError$inboundSchema;
|
|
196
|
+
/** @deprecated use `DocumentUpdateBadRequestError$outboundSchema` instead. */
|
|
197
|
+
DocumentUpdateBadRequestError$.outboundSchema = exports.DocumentUpdateBadRequestError$outboundSchema;
|
|
198
|
+
})(DocumentUpdateBadRequestError$ || (exports.DocumentUpdateBadRequestError$ = DocumentUpdateBadRequestError$ = {}));
|
|
199
|
+
//# sourceMappingURL=documentupdate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"documentupdate.js","sourceRoot":"","sources":["../../src/models/errors/documentupdate.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwHH,oGASC;AAED,wGASC;AAiGD,kFAQC;AAED,sFAQC;AA7PD,uCAAyB;AACzB,qDAAiD;AAEjD,2DAAqD;AAgBrD;;GAEG;AACH,MAAa,iCAAkC,SAAQ,kCAAc;IAOnE,YACE,GAA0C,EAC1C,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,mCAAmC,CAAC;IAClD,CAAC;CACF;AAnBD,8EAmBC;AAeD;;GAEG;AAC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AAC,CAAC,UAAU,CAAC,OAAO,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,QAAQ,CAAC;IACjC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;CAClB,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,6BAA6B,CAAC,CAAC,EAAE;QAC1C,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,4CAA4C,GAIrD,CAAC,CAAC,UAAU,CAAC,6BAA6B,CAAC;KAC5C,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,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,oDAA4C,CAAC,CAAC;SACxE,QAAQ,EAAE;CACd,CAAC,CAAC,CAAC;AAEN;;;GAGG;AACH,IAAiB,8BAA8B,CAO9C;AAPD,WAAiB,8BAA8B;IAC7C,6EAA6E;IAChE,4CAAa,GAAG,mDAA2C,CAAC;IACzE,8EAA8E;IACjE,6CAAc,GAAG,oDAA4C,CAAC;AAG7E,CAAC,EAPgB,8BAA8B,8CAA9B,8BAA8B,QAO9C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"embeddingpresigncreateembeddingpresigntoken.d.ts","sourceRoot":"","sources":["../../src/models/errors/embeddingpresigncreateembeddingpresigntoken.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,mEAAmE,GAC7E;IACE,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,kEAAkE,GAC5E;IACE,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EACH,KAAK,CACL,mEAAmE,CACpE,GACC,SAAS,CAAC;CACf,CAAC;AAEJ;;GAEG;AACH,qBAAa,8DACX,SAAQ,cAAc;IAEtB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EACH,KAAK,CAAC,mEAAmE,CAAC,GAC1E,SAAS,CAAC;IAEd,gEAAgE;IAChE,KAAK,EAAE,kEAAkE,CAAC;gBAGxE,GAAG,EAAE,kEAAkE,EACvE,QAAQ,EAAE;QAAE,QAAQ,EAAE,QAAQ,CAAC;QAAC,OAAO,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE;
|
|
1
|
+
{"version":3,"file":"embeddingpresigncreateembeddingpresigntoken.d.ts","sourceRoot":"","sources":["../../src/models/errors/embeddingpresigncreateembeddingpresigntoken.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,mEAAmE,GAC7E;IACE,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEJ;;GAEG;AACH,MAAM,MAAM,kEAAkE,GAC5E;IACE,OAAO,EAAE,MAAM,CAAC;IAChB,IA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ACrG,KAAY,QAAQ,GAClB,mEAAmE,CAAC;CACvE"}
|
|
@@ -49,9 +49,7 @@ const documensoerror_js_1 = require("./documensoerror.js");
|
|
|
49
49
|
*/
|
|
50
50
|
class EmbeddingPresignCreateEmbeddingPresignTokenInternalServerError extends documensoerror_js_1.DocumensoError {
|
|
51
51
|
constructor(err, httpMeta) {
|
|
52
|
-
const message =
|
|
53
|
-
? err.message
|
|
54
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
52
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
55
53
|
super(message, httpMeta);
|
|
56
54
|
this.data$ = err;
|
|
57
55
|
this.code = err.code;
|
|
@@ -67,9 +65,7 @@ exports.EmbeddingPresignCreateEmbeddingPresignTokenInternalServerError = Embeddi
|
|
|
67
65
|
*/
|
|
68
66
|
class EmbeddingPresignCreateEmbeddingPresignTokenBadRequestError extends documensoerror_js_1.DocumensoError {
|
|
69
67
|
constructor(err, httpMeta) {
|
|
70
|
-
const message =
|
|
71
|
-
? err.message
|
|
72
|
-
: `API error occurred: ${JSON.stringify(err)}`;
|
|
68
|
+
const message = err.message || `API error occurred: ${JSON.stringify(err)}`;
|
|
73
69
|
super(message, httpMeta);
|
|
74
70
|
this.data$ = err;
|
|
75
71
|
this.code = err.code;
|