@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
|
@@ -28,6 +28,7 @@ export type DocumentCreateDocumentTemporaryVisibilityRequest = ClosedEnum<
|
|
|
28
28
|
*/
|
|
29
29
|
export const DocumentCreateDocumentTemporaryGlobalAccessAuthRequest = {
|
|
30
30
|
Account: "ACCOUNT",
|
|
31
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
31
32
|
} as const;
|
|
32
33
|
/**
|
|
33
34
|
* The type of authentication required for the recipient to access the document.
|
|
@@ -70,6 +71,7 @@ export type DocumentCreateDocumentTemporaryRoleRequest = ClosedEnum<
|
|
|
70
71
|
*/
|
|
71
72
|
export const DocumentCreateDocumentTemporaryAccessAuthRequest = {
|
|
72
73
|
Account: "ACCOUNT",
|
|
74
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
73
75
|
} as const;
|
|
74
76
|
/**
|
|
75
77
|
* The type of authentication required for the recipient to access the document.
|
|
@@ -170,6 +172,14 @@ export type DocumentCreateDocumentTemporaryValueCheckbox = {
|
|
|
170
172
|
value: string;
|
|
171
173
|
};
|
|
172
174
|
|
|
175
|
+
export const DocumentCreateDocumentTemporaryRecipientDirection = {
|
|
176
|
+
Vertical: "vertical",
|
|
177
|
+
Horizontal: "horizontal",
|
|
178
|
+
} as const;
|
|
179
|
+
export type DocumentCreateDocumentTemporaryRecipientDirection = ClosedEnum<
|
|
180
|
+
typeof DocumentCreateDocumentTemporaryRecipientDirection
|
|
181
|
+
>;
|
|
182
|
+
|
|
173
183
|
export type DocumentCreateDocumentTemporaryRecipientFieldMetaCheckbox = {
|
|
174
184
|
label?: string | undefined;
|
|
175
185
|
placeholder?: string | undefined;
|
|
@@ -179,6 +189,7 @@ export type DocumentCreateDocumentTemporaryRecipientFieldMetaCheckbox = {
|
|
|
179
189
|
values?: Array<DocumentCreateDocumentTemporaryValueCheckbox> | undefined;
|
|
180
190
|
validationRule?: string | undefined;
|
|
181
191
|
validationLength?: number | undefined;
|
|
192
|
+
direction?: DocumentCreateDocumentTemporaryRecipientDirection | undefined;
|
|
182
193
|
};
|
|
183
194
|
|
|
184
195
|
export type DocumentCreateDocumentTemporaryFieldCheckbox = {
|
|
@@ -293,10 +304,10 @@ export type DocumentCreateDocumentTemporaryRecipientFieldMetaNumber = {
|
|
|
293
304
|
required?: boolean | undefined;
|
|
294
305
|
readOnly?: boolean | undefined;
|
|
295
306
|
type: DocumentCreateDocumentTemporaryRecipientTypeNumber2;
|
|
296
|
-
numberFormat?: string | undefined;
|
|
307
|
+
numberFormat?: string | null | undefined;
|
|
297
308
|
value?: string | undefined;
|
|
298
|
-
minValue?: number | undefined;
|
|
299
|
-
maxValue?: number | undefined;
|
|
309
|
+
minValue?: number | null | undefined;
|
|
310
|
+
maxValue?: number | null | undefined;
|
|
300
311
|
fontSize?: number | undefined;
|
|
301
312
|
textAlign?: DocumentCreateDocumentTemporaryTextAlignNumber | undefined;
|
|
302
313
|
};
|
|
@@ -731,16 +742,28 @@ export type DocumentCreateDocumentTemporaryRecipientRequest = {
|
|
|
731
742
|
* The date format to use for date fields and signing the document.
|
|
732
743
|
*/
|
|
733
744
|
export const DocumentCreateDocumentTemporaryDateFormat = {
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
745
|
+
YyyyMMddHhMmA: "yyyy-MM-dd hh:mm a",
|
|
746
|
+
YyyyMMdd: "yyyy-MM-dd",
|
|
747
|
+
DdMMSlashYyyy: "dd/MM/yyyy",
|
|
748
|
+
MmDdSlashYyyy: "MM/dd/yyyy",
|
|
749
|
+
YyMMdd: "yy-MM-dd",
|
|
750
|
+
MmmmDdCommaYyyy: "MMMM dd, yyyy",
|
|
751
|
+
EeeeMmmmDdCommaYyyy: "EEEE, MMMM dd, yyyy",
|
|
752
|
+
DdMMSlashYyyyHhMMA: "dd/MM/yyyy hh:mm a",
|
|
753
|
+
DdMMSlashYyyyHHmm: "dd/MM/yyyy HH:mm",
|
|
754
|
+
MmDdSlashYyyyHhMmA: "MM/dd/yyyy hh:mm a",
|
|
755
|
+
MmDdSlashYyyyHHmm: "MM/dd/yyyy HH:mm",
|
|
756
|
+
DdDotMmDotYyyy: "dd.MM.yyyy",
|
|
757
|
+
DdDotMmDotYyyyHHmm: "dd.MM.yyyy HH:mm",
|
|
758
|
+
YyyyMMddHHmm: "yyyy-MM-dd HH:mm",
|
|
759
|
+
YyMMddHhMmA: "yy-MM-dd hh:mm a",
|
|
760
|
+
YyMMddHHmm: "yy-MM-dd HH:mm",
|
|
761
|
+
YyyyMMddHHmmss: "yyyy-MM-dd HH:mm:ss",
|
|
762
|
+
MmmmDdCommaYyyyHhMmA: "MMMM dd, yyyy hh:mm a",
|
|
763
|
+
MmmmDdCommaYyyyHHmm: "MMMM dd, yyyy HH:mm",
|
|
764
|
+
EeeeMmmmDdCommaYyyyHhMmA: "EEEE, MMMM dd, yyyy hh:mm a",
|
|
765
|
+
EeeeMmmmDdCommaYyyyHHmm: "EEEE, MMMM dd, yyyy HH:mm",
|
|
766
|
+
Iso8601Full: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX",
|
|
744
767
|
} as const;
|
|
745
768
|
/**
|
|
746
769
|
* The date format to use for date fields and signing the document.
|
|
@@ -843,6 +866,7 @@ export type DocumentCreateDocumentTemporaryMeta = {
|
|
|
843
866
|
| DocumentCreateDocumentTemporaryDistributionMethodRequest
|
|
844
867
|
| undefined;
|
|
845
868
|
signingOrder?: DocumentCreateDocumentTemporarySigningOrderRequest | undefined;
|
|
869
|
+
allowDictateNextSigner?: boolean | undefined;
|
|
846
870
|
/**
|
|
847
871
|
* The URL to which the recipient should be redirected after signing the document.
|
|
848
872
|
*/
|
|
@@ -855,16 +879,19 @@ export type DocumentCreateDocumentTemporaryMeta = {
|
|
|
855
879
|
* Whether to allow recipients to sign using a typed signature.
|
|
856
880
|
*/
|
|
857
881
|
typedSignatureEnabled?: boolean | undefined;
|
|
858
|
-
/**
|
|
859
|
-
* Whether to allow recipients to sign using a draw signature.
|
|
860
|
-
*/
|
|
861
|
-
drawSignatureEnabled?: boolean | undefined;
|
|
862
882
|
/**
|
|
863
883
|
* Whether to allow recipients to sign using an uploaded signature.
|
|
864
884
|
*/
|
|
865
885
|
uploadSignatureEnabled?: boolean | undefined;
|
|
886
|
+
/**
|
|
887
|
+
* Whether to allow recipients to sign using a draw signature.
|
|
888
|
+
*/
|
|
889
|
+
drawSignatureEnabled?: boolean | undefined;
|
|
890
|
+
emailId?: string | null | undefined;
|
|
891
|
+
emailReplyTo?: string | null | undefined;
|
|
866
892
|
emailSettings?:
|
|
867
893
|
| DocumentCreateDocumentTemporaryEmailSettingsRequest
|
|
894
|
+
| null
|
|
868
895
|
| undefined;
|
|
869
896
|
};
|
|
870
897
|
|
|
@@ -888,6 +915,10 @@ export type DocumentCreateDocumentTemporaryRequest = {
|
|
|
888
915
|
| Array<DocumentCreateDocumentTemporaryGlobalActionAuthRequest>
|
|
889
916
|
| undefined;
|
|
890
917
|
formValues?: { [k: string]: string | boolean | number } | undefined;
|
|
918
|
+
/**
|
|
919
|
+
* The ID of the folder to create the document in. If not provided, the document will be created in the root folder.
|
|
920
|
+
*/
|
|
921
|
+
folderId?: string | undefined;
|
|
891
922
|
recipients?:
|
|
892
923
|
| Array<DocumentCreateDocumentTemporaryRecipientRequest>
|
|
893
924
|
| undefined;
|
|
@@ -925,6 +956,7 @@ export type DocumentCreateDocumentTemporarySource = ClosedEnum<
|
|
|
925
956
|
*/
|
|
926
957
|
export const DocumentGlobalAccessAuth = {
|
|
927
958
|
Account: "ACCOUNT",
|
|
959
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
928
960
|
} as const;
|
|
929
961
|
/**
|
|
930
962
|
* The type of authentication required for the recipient to access the document.
|
|
@@ -970,6 +1002,7 @@ export type DocumentCreateDocumentTemporaryDocumentData = {
|
|
|
970
1002
|
id: string;
|
|
971
1003
|
data: string;
|
|
972
1004
|
initialData: string;
|
|
1005
|
+
envelopeItemId: string;
|
|
973
1006
|
};
|
|
974
1007
|
|
|
975
1008
|
export const DocumentSigningOrder = {
|
|
@@ -1024,9 +1057,7 @@ export type DocumentCreateDocumentTemporaryDocumentMeta = {
|
|
|
1024
1057
|
subject: string | null;
|
|
1025
1058
|
message: string | null;
|
|
1026
1059
|
timezone: string | null;
|
|
1027
|
-
password: string | null;
|
|
1028
1060
|
dateFormat: string | null;
|
|
1029
|
-
documentId: number;
|
|
1030
1061
|
redirectUrl: string | null;
|
|
1031
1062
|
typedSignatureEnabled: boolean;
|
|
1032
1063
|
uploadSignatureEnabled: boolean;
|
|
@@ -1034,6 +1065,10 @@ export type DocumentCreateDocumentTemporaryDocumentMeta = {
|
|
|
1034
1065
|
allowDictateNextSigner: boolean;
|
|
1035
1066
|
language: string;
|
|
1036
1067
|
emailSettings: DocumentEmailSettings | null;
|
|
1068
|
+
emailId: string | null;
|
|
1069
|
+
emailReplyTo: string | null;
|
|
1070
|
+
password?: string | null | undefined;
|
|
1071
|
+
documentId?: number | undefined;
|
|
1037
1072
|
};
|
|
1038
1073
|
|
|
1039
1074
|
export const DocumentFolderType = {
|
|
@@ -1103,6 +1138,7 @@ export type DocumentCreateDocumentTemporarySendStatus = ClosedEnum<
|
|
|
1103
1138
|
*/
|
|
1104
1139
|
export const DocumentAccessAuth = {
|
|
1105
1140
|
Account: "ACCOUNT",
|
|
1141
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
1106
1142
|
} as const;
|
|
1107
1143
|
/**
|
|
1108
1144
|
* The type of authentication required for the recipient to access the document.
|
|
@@ -1130,13 +1166,12 @@ export type DocumentCreateDocumentTemporaryRecipientAuthOptions = {
|
|
|
1130
1166
|
};
|
|
1131
1167
|
|
|
1132
1168
|
export type DocumentRecipient = {
|
|
1169
|
+
envelopeId: string;
|
|
1133
1170
|
role: DocumentRole;
|
|
1134
1171
|
readStatus: DocumentCreateDocumentTemporaryReadStatus;
|
|
1135
1172
|
signingStatus: DocumentCreateDocumentTemporarySigningStatus;
|
|
1136
1173
|
sendStatus: DocumentCreateDocumentTemporarySendStatus;
|
|
1137
1174
|
id: number;
|
|
1138
|
-
documentId: number | null;
|
|
1139
|
-
templateId: number | null;
|
|
1140
1175
|
email: string;
|
|
1141
1176
|
name: string;
|
|
1142
1177
|
token: string;
|
|
@@ -1149,6 +1184,8 @@ export type DocumentRecipient = {
|
|
|
1149
1184
|
*/
|
|
1150
1185
|
signingOrder: number | null;
|
|
1151
1186
|
rejectionReason: string | null;
|
|
1187
|
+
documentId?: number | null | undefined;
|
|
1188
|
+
templateId?: number | null | undefined;
|
|
1152
1189
|
};
|
|
1153
1190
|
|
|
1154
1191
|
export const DocumentFieldType = {
|
|
@@ -1196,6 +1233,12 @@ export type DocumentValue2 = {
|
|
|
1196
1233
|
value: string;
|
|
1197
1234
|
};
|
|
1198
1235
|
|
|
1236
|
+
export const DocumentDirection = {
|
|
1237
|
+
Vertical: "vertical",
|
|
1238
|
+
Horizontal: "horizontal",
|
|
1239
|
+
} as const;
|
|
1240
|
+
export type DocumentDirection = ClosedEnum<typeof DocumentDirection>;
|
|
1241
|
+
|
|
1199
1242
|
export type FieldMetaDocumentCheckbox = {
|
|
1200
1243
|
label?: string | undefined;
|
|
1201
1244
|
placeholder?: string | undefined;
|
|
@@ -1205,6 +1248,7 @@ export type FieldMetaDocumentCheckbox = {
|
|
|
1205
1248
|
values?: Array<DocumentValue2> | undefined;
|
|
1206
1249
|
validationRule?: string | undefined;
|
|
1207
1250
|
validationLength?: number | undefined;
|
|
1251
|
+
direction?: DocumentDirection | undefined;
|
|
1208
1252
|
};
|
|
1209
1253
|
|
|
1210
1254
|
export const DocumentTypeRadio = {
|
|
@@ -1245,10 +1289,10 @@ export type FieldMetaDocumentNumber = {
|
|
|
1245
1289
|
required?: boolean | undefined;
|
|
1246
1290
|
readOnly?: boolean | undefined;
|
|
1247
1291
|
type: DocumentTypeNumber;
|
|
1248
|
-
numberFormat?: string | undefined;
|
|
1292
|
+
numberFormat?: string | null | undefined;
|
|
1249
1293
|
value?: string | undefined;
|
|
1250
|
-
minValue?: number | undefined;
|
|
1251
|
-
maxValue?: number | undefined;
|
|
1294
|
+
minValue?: number | null | undefined;
|
|
1295
|
+
maxValue?: number | null | undefined;
|
|
1252
1296
|
fontSize?: number | undefined;
|
|
1253
1297
|
textAlign?: DocumentTextAlign6 | undefined;
|
|
1254
1298
|
};
|
|
@@ -1377,11 +1421,11 @@ export type DocumentFieldMetaUnion =
|
|
|
1377
1421
|
| FieldMetaDocumentDropdown;
|
|
1378
1422
|
|
|
1379
1423
|
export type DocumentField = {
|
|
1424
|
+
envelopeId: string;
|
|
1425
|
+
envelopeItemId: string;
|
|
1380
1426
|
type: DocumentFieldType;
|
|
1381
1427
|
id: number;
|
|
1382
1428
|
secondaryId: string;
|
|
1383
|
-
documentId: number | null;
|
|
1384
|
-
templateId: number | null;
|
|
1385
1429
|
recipientId: number;
|
|
1386
1430
|
/**
|
|
1387
1431
|
* The page number of the field on the document. Starts from 1.
|
|
@@ -1404,6 +1448,8 @@ export type DocumentField = {
|
|
|
1404
1448
|
| FieldMetaDocumentCheckbox
|
|
1405
1449
|
| FieldMetaDocumentDropdown
|
|
1406
1450
|
| null;
|
|
1451
|
+
documentId?: number | null | undefined;
|
|
1452
|
+
templateId?: number | null | undefined;
|
|
1407
1453
|
};
|
|
1408
1454
|
|
|
1409
1455
|
export type Document = {
|
|
@@ -1422,16 +1468,20 @@ export type Document = {
|
|
|
1422
1468
|
authOptions: DocumentCreateDocumentTemporaryAuthOptions | null;
|
|
1423
1469
|
formValues: { [k: string]: string | boolean | number } | null;
|
|
1424
1470
|
title: string;
|
|
1425
|
-
documentDataId: string;
|
|
1426
1471
|
createdAt: string;
|
|
1427
1472
|
updatedAt: string;
|
|
1428
1473
|
completedAt: string | null;
|
|
1429
1474
|
deletedAt: string | null;
|
|
1430
1475
|
teamId: number;
|
|
1431
|
-
templateId: number | null;
|
|
1432
1476
|
folderId: string | null;
|
|
1477
|
+
envelopeId: string;
|
|
1478
|
+
/**
|
|
1479
|
+
* The ID of the template that the document was created from, if any.
|
|
1480
|
+
*/
|
|
1481
|
+
templateId?: number | null | undefined;
|
|
1482
|
+
documentDataId?: string | undefined;
|
|
1433
1483
|
documentData: DocumentCreateDocumentTemporaryDocumentData;
|
|
1434
|
-
documentMeta: DocumentCreateDocumentTemporaryDocumentMeta
|
|
1484
|
+
documentMeta: DocumentCreateDocumentTemporaryDocumentMeta;
|
|
1435
1485
|
folder: DocumentCreateDocumentTemporaryFolder | null;
|
|
1436
1486
|
recipients: Array<DocumentRecipient>;
|
|
1437
1487
|
fields: Array<DocumentField>;
|
|
@@ -2060,6 +2110,29 @@ export function documentCreateDocumentTemporaryValueCheckboxFromJSON(
|
|
|
2060
2110
|
);
|
|
2061
2111
|
}
|
|
2062
2112
|
|
|
2113
|
+
/** @internal */
|
|
2114
|
+
export const DocumentCreateDocumentTemporaryRecipientDirection$inboundSchema:
|
|
2115
|
+
z.ZodNativeEnum<typeof DocumentCreateDocumentTemporaryRecipientDirection> = z
|
|
2116
|
+
.nativeEnum(DocumentCreateDocumentTemporaryRecipientDirection);
|
|
2117
|
+
|
|
2118
|
+
/** @internal */
|
|
2119
|
+
export const DocumentCreateDocumentTemporaryRecipientDirection$outboundSchema:
|
|
2120
|
+
z.ZodNativeEnum<typeof DocumentCreateDocumentTemporaryRecipientDirection> =
|
|
2121
|
+
DocumentCreateDocumentTemporaryRecipientDirection$inboundSchema;
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* @internal
|
|
2125
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2126
|
+
*/
|
|
2127
|
+
export namespace DocumentCreateDocumentTemporaryRecipientDirection$ {
|
|
2128
|
+
/** @deprecated use `DocumentCreateDocumentTemporaryRecipientDirection$inboundSchema` instead. */
|
|
2129
|
+
export const inboundSchema =
|
|
2130
|
+
DocumentCreateDocumentTemporaryRecipientDirection$inboundSchema;
|
|
2131
|
+
/** @deprecated use `DocumentCreateDocumentTemporaryRecipientDirection$outboundSchema` instead. */
|
|
2132
|
+
export const outboundSchema =
|
|
2133
|
+
DocumentCreateDocumentTemporaryRecipientDirection$outboundSchema;
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2063
2136
|
/** @internal */
|
|
2064
2137
|
export const DocumentCreateDocumentTemporaryRecipientFieldMetaCheckbox$inboundSchema:
|
|
2065
2138
|
z.ZodType<
|
|
@@ -2077,6 +2150,8 @@ export const DocumentCreateDocumentTemporaryRecipientFieldMetaCheckbox$inboundSc
|
|
|
2077
2150
|
).optional(),
|
|
2078
2151
|
validationRule: z.string().optional(),
|
|
2079
2152
|
validationLength: z.number().optional(),
|
|
2153
|
+
direction: DocumentCreateDocumentTemporaryRecipientDirection$inboundSchema
|
|
2154
|
+
.default("vertical"),
|
|
2080
2155
|
});
|
|
2081
2156
|
|
|
2082
2157
|
/** @internal */
|
|
@@ -2092,6 +2167,7 @@ export type DocumentCreateDocumentTemporaryRecipientFieldMetaCheckbox$Outbound =
|
|
|
2092
2167
|
| undefined;
|
|
2093
2168
|
validationRule?: string | undefined;
|
|
2094
2169
|
validationLength?: number | undefined;
|
|
2170
|
+
direction: string;
|
|
2095
2171
|
};
|
|
2096
2172
|
|
|
2097
2173
|
/** @internal */
|
|
@@ -2111,6 +2187,8 @@ export const DocumentCreateDocumentTemporaryRecipientFieldMetaCheckbox$outboundS
|
|
|
2111
2187
|
).optional(),
|
|
2112
2188
|
validationRule: z.string().optional(),
|
|
2113
2189
|
validationLength: z.number().optional(),
|
|
2190
|
+
direction: DocumentCreateDocumentTemporaryRecipientDirection$outboundSchema
|
|
2191
|
+
.default("vertical"),
|
|
2114
2192
|
});
|
|
2115
2193
|
|
|
2116
2194
|
/**
|
|
@@ -2622,10 +2700,10 @@ export const DocumentCreateDocumentTemporaryRecipientFieldMetaNumber$inboundSche
|
|
|
2622
2700
|
required: z.boolean().optional(),
|
|
2623
2701
|
readOnly: z.boolean().optional(),
|
|
2624
2702
|
type: DocumentCreateDocumentTemporaryRecipientTypeNumber2$inboundSchema,
|
|
2625
|
-
numberFormat: z.string().optional(),
|
|
2703
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
2626
2704
|
value: z.string().optional(),
|
|
2627
|
-
minValue: z.number().optional(),
|
|
2628
|
-
maxValue: z.number().optional(),
|
|
2705
|
+
minValue: z.nullable(z.number()).optional(),
|
|
2706
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
2629
2707
|
fontSize: z.number().optional(),
|
|
2630
2708
|
textAlign: DocumentCreateDocumentTemporaryTextAlignNumber$inboundSchema
|
|
2631
2709
|
.optional(),
|
|
@@ -2638,10 +2716,10 @@ export type DocumentCreateDocumentTemporaryRecipientFieldMetaNumber$Outbound = {
|
|
|
2638
2716
|
required?: boolean | undefined;
|
|
2639
2717
|
readOnly?: boolean | undefined;
|
|
2640
2718
|
type: string;
|
|
2641
|
-
numberFormat?: string | undefined;
|
|
2719
|
+
numberFormat?: string | null | undefined;
|
|
2642
2720
|
value?: string | undefined;
|
|
2643
|
-
minValue?: number | undefined;
|
|
2644
|
-
maxValue?: number | undefined;
|
|
2721
|
+
minValue?: number | null | undefined;
|
|
2722
|
+
maxValue?: number | null | undefined;
|
|
2645
2723
|
fontSize?: number | undefined;
|
|
2646
2724
|
textAlign?: string | undefined;
|
|
2647
2725
|
};
|
|
@@ -2658,10 +2736,10 @@ export const DocumentCreateDocumentTemporaryRecipientFieldMetaNumber$outboundSch
|
|
|
2658
2736
|
required: z.boolean().optional(),
|
|
2659
2737
|
readOnly: z.boolean().optional(),
|
|
2660
2738
|
type: DocumentCreateDocumentTemporaryRecipientTypeNumber2$outboundSchema,
|
|
2661
|
-
numberFormat: z.string().optional(),
|
|
2739
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
2662
2740
|
value: z.string().optional(),
|
|
2663
|
-
minValue: z.number().optional(),
|
|
2664
|
-
maxValue: z.number().optional(),
|
|
2741
|
+
minValue: z.nullable(z.number()).optional(),
|
|
2742
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
2665
2743
|
fontSize: z.number().optional(),
|
|
2666
2744
|
textAlign: DocumentCreateDocumentTemporaryTextAlignNumber$outboundSchema
|
|
2667
2745
|
.optional(),
|
|
@@ -4697,13 +4775,18 @@ export const DocumentCreateDocumentTemporaryMeta$inboundSchema: z.ZodType<
|
|
|
4697
4775
|
.optional(),
|
|
4698
4776
|
signingOrder: DocumentCreateDocumentTemporarySigningOrderRequest$inboundSchema
|
|
4699
4777
|
.optional(),
|
|
4778
|
+
allowDictateNextSigner: z.boolean().optional(),
|
|
4700
4779
|
redirectUrl: z.string().optional(),
|
|
4701
4780
|
language: DocumentCreateDocumentTemporaryLanguage$inboundSchema.optional(),
|
|
4702
4781
|
typedSignatureEnabled: z.boolean().optional(),
|
|
4703
|
-
drawSignatureEnabled: z.boolean().optional(),
|
|
4704
4782
|
uploadSignatureEnabled: z.boolean().optional(),
|
|
4705
|
-
|
|
4706
|
-
|
|
4783
|
+
drawSignatureEnabled: z.boolean().optional(),
|
|
4784
|
+
emailId: z.nullable(z.string()).optional(),
|
|
4785
|
+
emailReplyTo: z.nullable(z.string()).optional(),
|
|
4786
|
+
emailSettings: z.nullable(
|
|
4787
|
+
z.lazy(() =>
|
|
4788
|
+
DocumentCreateDocumentTemporaryEmailSettingsRequest$inboundSchema
|
|
4789
|
+
),
|
|
4707
4790
|
).optional(),
|
|
4708
4791
|
});
|
|
4709
4792
|
|
|
@@ -4715,13 +4798,17 @@ export type DocumentCreateDocumentTemporaryMeta$Outbound = {
|
|
|
4715
4798
|
dateFormat?: string | undefined;
|
|
4716
4799
|
distributionMethod?: string | undefined;
|
|
4717
4800
|
signingOrder?: string | undefined;
|
|
4801
|
+
allowDictateNextSigner?: boolean | undefined;
|
|
4718
4802
|
redirectUrl?: string | undefined;
|
|
4719
4803
|
language?: string | undefined;
|
|
4720
4804
|
typedSignatureEnabled?: boolean | undefined;
|
|
4721
|
-
drawSignatureEnabled?: boolean | undefined;
|
|
4722
4805
|
uploadSignatureEnabled?: boolean | undefined;
|
|
4806
|
+
drawSignatureEnabled?: boolean | undefined;
|
|
4807
|
+
emailId?: string | null | undefined;
|
|
4808
|
+
emailReplyTo?: string | null | undefined;
|
|
4723
4809
|
emailSettings?:
|
|
4724
4810
|
| DocumentCreateDocumentTemporaryEmailSettingsRequest$Outbound
|
|
4811
|
+
| null
|
|
4725
4812
|
| undefined;
|
|
4726
4813
|
};
|
|
4727
4814
|
|
|
@@ -4742,13 +4829,18 @@ export const DocumentCreateDocumentTemporaryMeta$outboundSchema: z.ZodType<
|
|
|
4742
4829
|
signingOrder:
|
|
4743
4830
|
DocumentCreateDocumentTemporarySigningOrderRequest$outboundSchema
|
|
4744
4831
|
.optional(),
|
|
4832
|
+
allowDictateNextSigner: z.boolean().optional(),
|
|
4745
4833
|
redirectUrl: z.string().optional(),
|
|
4746
4834
|
language: DocumentCreateDocumentTemporaryLanguage$outboundSchema.optional(),
|
|
4747
4835
|
typedSignatureEnabled: z.boolean().optional(),
|
|
4748
|
-
drawSignatureEnabled: z.boolean().optional(),
|
|
4749
4836
|
uploadSignatureEnabled: z.boolean().optional(),
|
|
4750
|
-
|
|
4751
|
-
|
|
4837
|
+
drawSignatureEnabled: z.boolean().optional(),
|
|
4838
|
+
emailId: z.nullable(z.string()).optional(),
|
|
4839
|
+
emailReplyTo: z.nullable(z.string()).optional(),
|
|
4840
|
+
emailSettings: z.nullable(
|
|
4841
|
+
z.lazy(() =>
|
|
4842
|
+
DocumentCreateDocumentTemporaryEmailSettingsRequest$outboundSchema
|
|
4843
|
+
),
|
|
4752
4844
|
).optional(),
|
|
4753
4845
|
});
|
|
4754
4846
|
|
|
@@ -4806,6 +4898,7 @@ export const DocumentCreateDocumentTemporaryRequest$inboundSchema: z.ZodType<
|
|
|
4806
4898
|
).optional(),
|
|
4807
4899
|
formValues: z.record(z.union([z.string(), z.boolean(), z.number()]))
|
|
4808
4900
|
.optional(),
|
|
4901
|
+
folderId: z.string().optional(),
|
|
4809
4902
|
recipients: z.array(
|
|
4810
4903
|
z.lazy(() => DocumentCreateDocumentTemporaryRecipientRequest$inboundSchema),
|
|
4811
4904
|
).optional(),
|
|
@@ -4821,6 +4914,7 @@ export type DocumentCreateDocumentTemporaryRequest$Outbound = {
|
|
|
4821
4914
|
globalAccessAuth?: Array<string> | undefined;
|
|
4822
4915
|
globalActionAuth?: Array<string> | undefined;
|
|
4823
4916
|
formValues?: { [k: string]: string | boolean | number } | undefined;
|
|
4917
|
+
folderId?: string | undefined;
|
|
4824
4918
|
recipients?:
|
|
4825
4919
|
| Array<DocumentCreateDocumentTemporaryRecipientRequest$Outbound>
|
|
4826
4920
|
| undefined;
|
|
@@ -4845,6 +4939,7 @@ export const DocumentCreateDocumentTemporaryRequest$outboundSchema: z.ZodType<
|
|
|
4845
4939
|
).optional(),
|
|
4846
4940
|
formValues: z.record(z.union([z.string(), z.boolean(), z.number()]))
|
|
4847
4941
|
.optional(),
|
|
4942
|
+
folderId: z.string().optional(),
|
|
4848
4943
|
recipients: z.array(
|
|
4849
4944
|
z.lazy(() =>
|
|
4850
4945
|
DocumentCreateDocumentTemporaryRecipientRequest$outboundSchema
|
|
@@ -5149,6 +5244,7 @@ export const DocumentCreateDocumentTemporaryDocumentData$inboundSchema:
|
|
|
5149
5244
|
id: z.string(),
|
|
5150
5245
|
data: z.string(),
|
|
5151
5246
|
initialData: z.string(),
|
|
5247
|
+
envelopeItemId: z.string(),
|
|
5152
5248
|
});
|
|
5153
5249
|
|
|
5154
5250
|
/** @internal */
|
|
@@ -5157,6 +5253,7 @@ export type DocumentCreateDocumentTemporaryDocumentData$Outbound = {
|
|
|
5157
5253
|
id: string;
|
|
5158
5254
|
data: string;
|
|
5159
5255
|
initialData: string;
|
|
5256
|
+
envelopeItemId: string;
|
|
5160
5257
|
};
|
|
5161
5258
|
|
|
5162
5259
|
/** @internal */
|
|
@@ -5170,6 +5267,7 @@ export const DocumentCreateDocumentTemporaryDocumentData$outboundSchema:
|
|
|
5170
5267
|
id: z.string(),
|
|
5171
5268
|
data: z.string(),
|
|
5172
5269
|
initialData: z.string(),
|
|
5270
|
+
envelopeItemId: z.string(),
|
|
5173
5271
|
});
|
|
5174
5272
|
|
|
5175
5273
|
/**
|
|
@@ -5341,9 +5439,7 @@ export const DocumentCreateDocumentTemporaryDocumentMeta$inboundSchema:
|
|
|
5341
5439
|
subject: z.nullable(z.string()),
|
|
5342
5440
|
message: z.nullable(z.string()),
|
|
5343
5441
|
timezone: z.nullable(z.string()),
|
|
5344
|
-
password: z.nullable(z.string()),
|
|
5345
5442
|
dateFormat: z.nullable(z.string()),
|
|
5346
|
-
documentId: z.number(),
|
|
5347
5443
|
redirectUrl: z.nullable(z.string()),
|
|
5348
5444
|
typedSignatureEnabled: z.boolean(),
|
|
5349
5445
|
uploadSignatureEnabled: z.boolean(),
|
|
@@ -5353,6 +5449,10 @@ export const DocumentCreateDocumentTemporaryDocumentMeta$inboundSchema:
|
|
|
5353
5449
|
emailSettings: z.nullable(
|
|
5354
5450
|
z.lazy(() => DocumentEmailSettings$inboundSchema),
|
|
5355
5451
|
),
|
|
5452
|
+
emailId: z.nullable(z.string()),
|
|
5453
|
+
emailReplyTo: z.nullable(z.string()),
|
|
5454
|
+
password: z.nullable(z.string()).default(null),
|
|
5455
|
+
documentId: z.number().default(-1),
|
|
5356
5456
|
});
|
|
5357
5457
|
|
|
5358
5458
|
/** @internal */
|
|
@@ -5363,9 +5463,7 @@ export type DocumentCreateDocumentTemporaryDocumentMeta$Outbound = {
|
|
|
5363
5463
|
subject: string | null;
|
|
5364
5464
|
message: string | null;
|
|
5365
5465
|
timezone: string | null;
|
|
5366
|
-
password: string | null;
|
|
5367
5466
|
dateFormat: string | null;
|
|
5368
|
-
documentId: number;
|
|
5369
5467
|
redirectUrl: string | null;
|
|
5370
5468
|
typedSignatureEnabled: boolean;
|
|
5371
5469
|
uploadSignatureEnabled: boolean;
|
|
@@ -5373,6 +5471,10 @@ export type DocumentCreateDocumentTemporaryDocumentMeta$Outbound = {
|
|
|
5373
5471
|
allowDictateNextSigner: boolean;
|
|
5374
5472
|
language: string;
|
|
5375
5473
|
emailSettings: DocumentEmailSettings$Outbound | null;
|
|
5474
|
+
emailId: string | null;
|
|
5475
|
+
emailReplyTo: string | null;
|
|
5476
|
+
password: string | null;
|
|
5477
|
+
documentId: number;
|
|
5376
5478
|
};
|
|
5377
5479
|
|
|
5378
5480
|
/** @internal */
|
|
@@ -5388,9 +5490,7 @@ export const DocumentCreateDocumentTemporaryDocumentMeta$outboundSchema:
|
|
|
5388
5490
|
subject: z.nullable(z.string()),
|
|
5389
5491
|
message: z.nullable(z.string()),
|
|
5390
5492
|
timezone: z.nullable(z.string()),
|
|
5391
|
-
password: z.nullable(z.string()),
|
|
5392
5493
|
dateFormat: z.nullable(z.string()),
|
|
5393
|
-
documentId: z.number(),
|
|
5394
5494
|
redirectUrl: z.nullable(z.string()),
|
|
5395
5495
|
typedSignatureEnabled: z.boolean(),
|
|
5396
5496
|
uploadSignatureEnabled: z.boolean(),
|
|
@@ -5400,6 +5500,10 @@ export const DocumentCreateDocumentTemporaryDocumentMeta$outboundSchema:
|
|
|
5400
5500
|
emailSettings: z.nullable(
|
|
5401
5501
|
z.lazy(() => DocumentEmailSettings$outboundSchema),
|
|
5402
5502
|
),
|
|
5503
|
+
emailId: z.nullable(z.string()),
|
|
5504
|
+
emailReplyTo: z.nullable(z.string()),
|
|
5505
|
+
password: z.nullable(z.string()).default(null),
|
|
5506
|
+
documentId: z.number().default(-1),
|
|
5403
5507
|
});
|
|
5404
5508
|
|
|
5405
5509
|
/**
|
|
@@ -5779,13 +5883,12 @@ export const DocumentRecipient$inboundSchema: z.ZodType<
|
|
|
5779
5883
|
z.ZodTypeDef,
|
|
5780
5884
|
unknown
|
|
5781
5885
|
> = z.object({
|
|
5886
|
+
envelopeId: z.string(),
|
|
5782
5887
|
role: DocumentRole$inboundSchema,
|
|
5783
5888
|
readStatus: DocumentCreateDocumentTemporaryReadStatus$inboundSchema,
|
|
5784
5889
|
signingStatus: DocumentCreateDocumentTemporarySigningStatus$inboundSchema,
|
|
5785
5890
|
sendStatus: DocumentCreateDocumentTemporarySendStatus$inboundSchema,
|
|
5786
5891
|
id: z.number(),
|
|
5787
|
-
documentId: z.nullable(z.number()),
|
|
5788
|
-
templateId: z.nullable(z.number()),
|
|
5789
5892
|
email: z.string(),
|
|
5790
5893
|
name: z.string(),
|
|
5791
5894
|
token: z.string(),
|
|
@@ -5799,17 +5902,18 @@ export const DocumentRecipient$inboundSchema: z.ZodType<
|
|
|
5799
5902
|
),
|
|
5800
5903
|
signingOrder: z.nullable(z.number()),
|
|
5801
5904
|
rejectionReason: z.nullable(z.string()),
|
|
5905
|
+
documentId: z.nullable(z.number()).optional(),
|
|
5906
|
+
templateId: z.nullable(z.number()).optional(),
|
|
5802
5907
|
});
|
|
5803
5908
|
|
|
5804
5909
|
/** @internal */
|
|
5805
5910
|
export type DocumentRecipient$Outbound = {
|
|
5911
|
+
envelopeId: string;
|
|
5806
5912
|
role: string;
|
|
5807
5913
|
readStatus: string;
|
|
5808
5914
|
signingStatus: string;
|
|
5809
5915
|
sendStatus: string;
|
|
5810
5916
|
id: number;
|
|
5811
|
-
documentId: number | null;
|
|
5812
|
-
templateId: number | null;
|
|
5813
5917
|
email: string;
|
|
5814
5918
|
name: string;
|
|
5815
5919
|
token: string;
|
|
@@ -5821,6 +5925,8 @@ export type DocumentRecipient$Outbound = {
|
|
|
5821
5925
|
| null;
|
|
5822
5926
|
signingOrder: number | null;
|
|
5823
5927
|
rejectionReason: string | null;
|
|
5928
|
+
documentId?: number | null | undefined;
|
|
5929
|
+
templateId?: number | null | undefined;
|
|
5824
5930
|
};
|
|
5825
5931
|
|
|
5826
5932
|
/** @internal */
|
|
@@ -5829,13 +5935,12 @@ export const DocumentRecipient$outboundSchema: z.ZodType<
|
|
|
5829
5935
|
z.ZodTypeDef,
|
|
5830
5936
|
DocumentRecipient
|
|
5831
5937
|
> = z.object({
|
|
5938
|
+
envelopeId: z.string(),
|
|
5832
5939
|
role: DocumentRole$outboundSchema,
|
|
5833
5940
|
readStatus: DocumentCreateDocumentTemporaryReadStatus$outboundSchema,
|
|
5834
5941
|
signingStatus: DocumentCreateDocumentTemporarySigningStatus$outboundSchema,
|
|
5835
5942
|
sendStatus: DocumentCreateDocumentTemporarySendStatus$outboundSchema,
|
|
5836
5943
|
id: z.number(),
|
|
5837
|
-
documentId: z.nullable(z.number()),
|
|
5838
|
-
templateId: z.nullable(z.number()),
|
|
5839
5944
|
email: z.string(),
|
|
5840
5945
|
name: z.string(),
|
|
5841
5946
|
token: z.string(),
|
|
@@ -5849,6 +5954,8 @@ export const DocumentRecipient$outboundSchema: z.ZodType<
|
|
|
5849
5954
|
),
|
|
5850
5955
|
signingOrder: z.nullable(z.number()),
|
|
5851
5956
|
rejectionReason: z.nullable(z.string()),
|
|
5957
|
+
documentId: z.nullable(z.number()).optional(),
|
|
5958
|
+
templateId: z.nullable(z.number()).optional(),
|
|
5852
5959
|
});
|
|
5853
5960
|
|
|
5854
5961
|
/**
|
|
@@ -6123,6 +6230,27 @@ export function documentValue2FromJSON(
|
|
|
6123
6230
|
);
|
|
6124
6231
|
}
|
|
6125
6232
|
|
|
6233
|
+
/** @internal */
|
|
6234
|
+
export const DocumentDirection$inboundSchema: z.ZodNativeEnum<
|
|
6235
|
+
typeof DocumentDirection
|
|
6236
|
+
> = z.nativeEnum(DocumentDirection);
|
|
6237
|
+
|
|
6238
|
+
/** @internal */
|
|
6239
|
+
export const DocumentDirection$outboundSchema: z.ZodNativeEnum<
|
|
6240
|
+
typeof DocumentDirection
|
|
6241
|
+
> = DocumentDirection$inboundSchema;
|
|
6242
|
+
|
|
6243
|
+
/**
|
|
6244
|
+
* @internal
|
|
6245
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
6246
|
+
*/
|
|
6247
|
+
export namespace DocumentDirection$ {
|
|
6248
|
+
/** @deprecated use `DocumentDirection$inboundSchema` instead. */
|
|
6249
|
+
export const inboundSchema = DocumentDirection$inboundSchema;
|
|
6250
|
+
/** @deprecated use `DocumentDirection$outboundSchema` instead. */
|
|
6251
|
+
export const outboundSchema = DocumentDirection$outboundSchema;
|
|
6252
|
+
}
|
|
6253
|
+
|
|
6126
6254
|
/** @internal */
|
|
6127
6255
|
export const FieldMetaDocumentCheckbox$inboundSchema: z.ZodType<
|
|
6128
6256
|
FieldMetaDocumentCheckbox,
|
|
@@ -6137,6 +6265,7 @@ export const FieldMetaDocumentCheckbox$inboundSchema: z.ZodType<
|
|
|
6137
6265
|
values: z.array(z.lazy(() => DocumentValue2$inboundSchema)).optional(),
|
|
6138
6266
|
validationRule: z.string().optional(),
|
|
6139
6267
|
validationLength: z.number().optional(),
|
|
6268
|
+
direction: DocumentDirection$inboundSchema.default("vertical"),
|
|
6140
6269
|
});
|
|
6141
6270
|
|
|
6142
6271
|
/** @internal */
|
|
@@ -6149,6 +6278,7 @@ export type FieldMetaDocumentCheckbox$Outbound = {
|
|
|
6149
6278
|
values?: Array<DocumentValue2$Outbound> | undefined;
|
|
6150
6279
|
validationRule?: string | undefined;
|
|
6151
6280
|
validationLength?: number | undefined;
|
|
6281
|
+
direction: string;
|
|
6152
6282
|
};
|
|
6153
6283
|
|
|
6154
6284
|
/** @internal */
|
|
@@ -6165,6 +6295,7 @@ export const FieldMetaDocumentCheckbox$outboundSchema: z.ZodType<
|
|
|
6165
6295
|
values: z.array(z.lazy(() => DocumentValue2$outboundSchema)).optional(),
|
|
6166
6296
|
validationRule: z.string().optional(),
|
|
6167
6297
|
validationLength: z.number().optional(),
|
|
6298
|
+
direction: DocumentDirection$outboundSchema.default("vertical"),
|
|
6168
6299
|
});
|
|
6169
6300
|
|
|
6170
6301
|
/**
|
|
@@ -6397,10 +6528,10 @@ export const FieldMetaDocumentNumber$inboundSchema: z.ZodType<
|
|
|
6397
6528
|
required: z.boolean().optional(),
|
|
6398
6529
|
readOnly: z.boolean().optional(),
|
|
6399
6530
|
type: DocumentTypeNumber$inboundSchema,
|
|
6400
|
-
numberFormat: z.string().optional(),
|
|
6531
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
6401
6532
|
value: z.string().optional(),
|
|
6402
|
-
minValue: z.number().optional(),
|
|
6403
|
-
maxValue: z.number().optional(),
|
|
6533
|
+
minValue: z.nullable(z.number()).optional(),
|
|
6534
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
6404
6535
|
fontSize: z.number().optional(),
|
|
6405
6536
|
textAlign: DocumentTextAlign6$inboundSchema.optional(),
|
|
6406
6537
|
});
|
|
@@ -6412,10 +6543,10 @@ export type FieldMetaDocumentNumber$Outbound = {
|
|
|
6412
6543
|
required?: boolean | undefined;
|
|
6413
6544
|
readOnly?: boolean | undefined;
|
|
6414
6545
|
type: string;
|
|
6415
|
-
numberFormat?: string | undefined;
|
|
6546
|
+
numberFormat?: string | null | undefined;
|
|
6416
6547
|
value?: string | undefined;
|
|
6417
|
-
minValue?: number | undefined;
|
|
6418
|
-
maxValue?: number | undefined;
|
|
6548
|
+
minValue?: number | null | undefined;
|
|
6549
|
+
maxValue?: number | null | undefined;
|
|
6419
6550
|
fontSize?: number | undefined;
|
|
6420
6551
|
textAlign?: string | undefined;
|
|
6421
6552
|
};
|
|
@@ -6431,10 +6562,10 @@ export const FieldMetaDocumentNumber$outboundSchema: z.ZodType<
|
|
|
6431
6562
|
required: z.boolean().optional(),
|
|
6432
6563
|
readOnly: z.boolean().optional(),
|
|
6433
6564
|
type: DocumentTypeNumber$outboundSchema,
|
|
6434
|
-
numberFormat: z.string().optional(),
|
|
6565
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
6435
6566
|
value: z.string().optional(),
|
|
6436
|
-
minValue: z.number().optional(),
|
|
6437
|
-
maxValue: z.number().optional(),
|
|
6567
|
+
minValue: z.nullable(z.number()).optional(),
|
|
6568
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
6438
6569
|
fontSize: z.number().optional(),
|
|
6439
6570
|
textAlign: DocumentTextAlign6$outboundSchema.optional(),
|
|
6440
6571
|
});
|
|
@@ -7129,11 +7260,11 @@ export const DocumentField$inboundSchema: z.ZodType<
|
|
|
7129
7260
|
z.ZodTypeDef,
|
|
7130
7261
|
unknown
|
|
7131
7262
|
> = z.object({
|
|
7263
|
+
envelopeId: z.string(),
|
|
7264
|
+
envelopeItemId: z.string(),
|
|
7132
7265
|
type: DocumentFieldType$inboundSchema,
|
|
7133
7266
|
id: z.number(),
|
|
7134
7267
|
secondaryId: z.string(),
|
|
7135
|
-
documentId: z.nullable(z.number()),
|
|
7136
|
-
templateId: z.nullable(z.number()),
|
|
7137
7268
|
recipientId: z.number(),
|
|
7138
7269
|
page: z.number(),
|
|
7139
7270
|
positionX: z.any().optional(),
|
|
@@ -7155,15 +7286,17 @@ export const DocumentField$inboundSchema: z.ZodType<
|
|
|
7155
7286
|
z.lazy(() => FieldMetaDocumentDropdown$inboundSchema),
|
|
7156
7287
|
]),
|
|
7157
7288
|
),
|
|
7289
|
+
documentId: z.nullable(z.number()).optional(),
|
|
7290
|
+
templateId: z.nullable(z.number()).optional(),
|
|
7158
7291
|
});
|
|
7159
7292
|
|
|
7160
7293
|
/** @internal */
|
|
7161
7294
|
export type DocumentField$Outbound = {
|
|
7295
|
+
envelopeId: string;
|
|
7296
|
+
envelopeItemId: string;
|
|
7162
7297
|
type: string;
|
|
7163
7298
|
id: number;
|
|
7164
7299
|
secondaryId: string;
|
|
7165
|
-
documentId: number | null;
|
|
7166
|
-
templateId: number | null;
|
|
7167
7300
|
recipientId: number;
|
|
7168
7301
|
page: number;
|
|
7169
7302
|
positionX?: any | undefined;
|
|
@@ -7183,6 +7316,8 @@ export type DocumentField$Outbound = {
|
|
|
7183
7316
|
| FieldMetaDocumentCheckbox$Outbound
|
|
7184
7317
|
| FieldMetaDocumentDropdown$Outbound
|
|
7185
7318
|
| null;
|
|
7319
|
+
documentId?: number | null | undefined;
|
|
7320
|
+
templateId?: number | null | undefined;
|
|
7186
7321
|
};
|
|
7187
7322
|
|
|
7188
7323
|
/** @internal */
|
|
@@ -7191,11 +7326,11 @@ export const DocumentField$outboundSchema: z.ZodType<
|
|
|
7191
7326
|
z.ZodTypeDef,
|
|
7192
7327
|
DocumentField
|
|
7193
7328
|
> = z.object({
|
|
7329
|
+
envelopeId: z.string(),
|
|
7330
|
+
envelopeItemId: z.string(),
|
|
7194
7331
|
type: DocumentFieldType$outboundSchema,
|
|
7195
7332
|
id: z.number(),
|
|
7196
7333
|
secondaryId: z.string(),
|
|
7197
|
-
documentId: z.nullable(z.number()),
|
|
7198
|
-
templateId: z.nullable(z.number()),
|
|
7199
7334
|
recipientId: z.number(),
|
|
7200
7335
|
page: z.number(),
|
|
7201
7336
|
positionX: z.any().optional(),
|
|
@@ -7217,6 +7352,8 @@ export const DocumentField$outboundSchema: z.ZodType<
|
|
|
7217
7352
|
z.lazy(() => FieldMetaDocumentDropdown$outboundSchema),
|
|
7218
7353
|
]),
|
|
7219
7354
|
),
|
|
7355
|
+
documentId: z.nullable(z.number()).optional(),
|
|
7356
|
+
templateId: z.nullable(z.number()).optional(),
|
|
7220
7357
|
});
|
|
7221
7358
|
|
|
7222
7359
|
/**
|
|
@@ -7265,19 +7402,20 @@ export const Document$inboundSchema: z.ZodType<
|
|
|
7265
7402
|
z.record(z.union([z.string(), z.boolean(), z.number()])),
|
|
7266
7403
|
),
|
|
7267
7404
|
title: z.string(),
|
|
7268
|
-
documentDataId: z.string(),
|
|
7269
7405
|
createdAt: z.string(),
|
|
7270
7406
|
updatedAt: z.string(),
|
|
7271
7407
|
completedAt: z.nullable(z.string()),
|
|
7272
7408
|
deletedAt: z.nullable(z.string()),
|
|
7273
7409
|
teamId: z.number(),
|
|
7274
|
-
templateId: z.nullable(z.number()),
|
|
7275
7410
|
folderId: z.nullable(z.string()),
|
|
7411
|
+
envelopeId: z.string(),
|
|
7412
|
+
templateId: z.nullable(z.number()).optional(),
|
|
7413
|
+
documentDataId: z.string().default(""),
|
|
7276
7414
|
documentData: z.lazy(() =>
|
|
7277
7415
|
DocumentCreateDocumentTemporaryDocumentData$inboundSchema
|
|
7278
7416
|
),
|
|
7279
|
-
documentMeta: z.
|
|
7280
|
-
|
|
7417
|
+
documentMeta: z.lazy(() =>
|
|
7418
|
+
DocumentCreateDocumentTemporaryDocumentMeta$inboundSchema
|
|
7281
7419
|
),
|
|
7282
7420
|
folder: z.nullable(
|
|
7283
7421
|
z.lazy(() => DocumentCreateDocumentTemporaryFolder$inboundSchema),
|
|
@@ -7297,16 +7435,17 @@ export type Document$Outbound = {
|
|
|
7297
7435
|
authOptions: DocumentCreateDocumentTemporaryAuthOptions$Outbound | null;
|
|
7298
7436
|
formValues: { [k: string]: string | boolean | number } | null;
|
|
7299
7437
|
title: string;
|
|
7300
|
-
documentDataId: string;
|
|
7301
7438
|
createdAt: string;
|
|
7302
7439
|
updatedAt: string;
|
|
7303
7440
|
completedAt: string | null;
|
|
7304
7441
|
deletedAt: string | null;
|
|
7305
7442
|
teamId: number;
|
|
7306
|
-
templateId: number | null;
|
|
7307
7443
|
folderId: string | null;
|
|
7444
|
+
envelopeId: string;
|
|
7445
|
+
templateId?: number | null | undefined;
|
|
7446
|
+
documentDataId: string;
|
|
7308
7447
|
documentData: DocumentCreateDocumentTemporaryDocumentData$Outbound;
|
|
7309
|
-
documentMeta: DocumentCreateDocumentTemporaryDocumentMeta$Outbound
|
|
7448
|
+
documentMeta: DocumentCreateDocumentTemporaryDocumentMeta$Outbound;
|
|
7310
7449
|
folder: DocumentCreateDocumentTemporaryFolder$Outbound | null;
|
|
7311
7450
|
recipients: Array<DocumentRecipient$Outbound>;
|
|
7312
7451
|
fields: Array<DocumentField$Outbound>;
|
|
@@ -7331,19 +7470,20 @@ export const Document$outboundSchema: z.ZodType<
|
|
|
7331
7470
|
z.record(z.union([z.string(), z.boolean(), z.number()])),
|
|
7332
7471
|
),
|
|
7333
7472
|
title: z.string(),
|
|
7334
|
-
documentDataId: z.string(),
|
|
7335
7473
|
createdAt: z.string(),
|
|
7336
7474
|
updatedAt: z.string(),
|
|
7337
7475
|
completedAt: z.nullable(z.string()),
|
|
7338
7476
|
deletedAt: z.nullable(z.string()),
|
|
7339
7477
|
teamId: z.number(),
|
|
7340
|
-
templateId: z.nullable(z.number()),
|
|
7341
7478
|
folderId: z.nullable(z.string()),
|
|
7479
|
+
envelopeId: z.string(),
|
|
7480
|
+
templateId: z.nullable(z.number()).optional(),
|
|
7481
|
+
documentDataId: z.string().default(""),
|
|
7342
7482
|
documentData: z.lazy(() =>
|
|
7343
7483
|
DocumentCreateDocumentTemporaryDocumentData$outboundSchema
|
|
7344
7484
|
),
|
|
7345
|
-
documentMeta: z.
|
|
7346
|
-
|
|
7485
|
+
documentMeta: z.lazy(() =>
|
|
7486
|
+
DocumentCreateDocumentTemporaryDocumentMeta$outboundSchema
|
|
7347
7487
|
),
|
|
7348
7488
|
folder: z.nullable(
|
|
7349
7489
|
z.lazy(() => DocumentCreateDocumentTemporaryFolder$outboundSchema),
|