@documenso/sdk-typescript 0.5.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +385 -355
- package/_speakeasy/.github/action-inputs-config.json +53 -0
- package/_speakeasy/.github/action-security-config.json +88 -0
- package/bin/mcp-server.js +51156 -29112
- package/bin/mcp-server.js.map +272 -85
- package/examples/package-lock.json +2 -10
- package/funcs/documentDocumentGetMany.d.ts +18 -0
- package/funcs/documentDocumentGetMany.d.ts.map +1 -0
- package/funcs/documentDocumentGetMany.js +118 -0
- package/funcs/documentDocumentGetMany.js.map +1 -0
- package/funcs/envelopeEnvelopeAuditLogFind.d.ts +18 -0
- package/funcs/envelopeEnvelopeAuditLogFind.d.ts.map +1 -0
- package/funcs/envelopeEnvelopeAuditLogFind.js +130 -0
- package/funcs/envelopeEnvelopeAuditLogFind.js.map +1 -0
- package/funcs/envelopeEnvelopeFind.d.ts +18 -0
- package/funcs/envelopeEnvelopeFind.d.ts.map +1 -0
- package/funcs/envelopeEnvelopeFind.js +130 -0
- package/funcs/envelopeEnvelopeFind.js.map +1 -0
- package/funcs/envelopeEnvelopeGetMany.d.ts +18 -0
- package/funcs/envelopeEnvelopeGetMany.d.ts.map +1 -0
- package/funcs/envelopeEnvelopeGetMany.js +118 -0
- package/funcs/envelopeEnvelopeGetMany.js.map +1 -0
- package/funcs/templateTemplateGetMany.d.ts +18 -0
- package/funcs/templateTemplateGetMany.d.ts.map +1 -0
- package/funcs/templateTemplateGetMany.js +118 -0
- package/funcs/templateTemplateGetMany.js.map +1 -0
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/encodings.d.ts +1 -0
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +12 -1
- package/lib/encodings.js.map +1 -1
- package/lib/sdks.js +2 -2
- package/lib/sdks.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/prompts.d.ts +3 -3
- package/mcp-server/prompts.d.ts.map +1 -1
- package/mcp-server/prompts.js.map +1 -1
- package/mcp-server/resources.d.ts +3 -3
- package/mcp-server/resources.d.ts.map +1 -1
- package/mcp-server/resources.js.map +1 -1
- package/mcp-server/server.d.ts.map +1 -1
- package/mcp-server/server.js +11 -1
- package/mcp-server/server.js.map +1 -1
- package/mcp-server/tools/documentDocumentGetMany.d.ts +8 -0
- package/mcp-server/tools/documentDocumentGetMany.d.ts.map +1 -0
- package/mcp-server/tools/documentDocumentGetMany.js +64 -0
- package/mcp-server/tools/documentDocumentGetMany.js.map +1 -0
- package/mcp-server/tools/envelopeEnvelopeAuditLogFind.d.ts +8 -0
- package/mcp-server/tools/envelopeEnvelopeAuditLogFind.d.ts.map +1 -0
- package/mcp-server/tools/envelopeEnvelopeAuditLogFind.js +64 -0
- package/mcp-server/tools/envelopeEnvelopeAuditLogFind.js.map +1 -0
- package/mcp-server/tools/envelopeEnvelopeFind.d.ts +8 -0
- package/mcp-server/tools/envelopeEnvelopeFind.d.ts.map +1 -0
- package/mcp-server/tools/envelopeEnvelopeFind.js +64 -0
- package/mcp-server/tools/envelopeEnvelopeFind.js.map +1 -0
- package/mcp-server/tools/envelopeEnvelopeGetMany.d.ts +8 -0
- package/mcp-server/tools/envelopeEnvelopeGetMany.d.ts.map +1 -0
- package/mcp-server/tools/envelopeEnvelopeGetMany.js +64 -0
- package/mcp-server/tools/envelopeEnvelopeGetMany.js.map +1 -0
- package/mcp-server/tools/templateTemplateGetMany.d.ts +8 -0
- package/mcp-server/tools/templateTemplateGetMany.d.ts.map +1 -0
- package/mcp-server/tools/templateTemplateGetMany.js +64 -0
- package/mcp-server/tools/templateTemplateGetMany.js.map +1 -0
- package/mcp-server/tools.d.ts +3 -3
- package/mcp-server/tools.d.ts.map +1 -1
- package/mcp-server/tools.js.map +1 -1
- package/models/errors/documentgetmany.d.ts +185 -0
- package/models/errors/documentgetmany.d.ts.map +1 -0
- package/models/errors/documentgetmany.js +268 -0
- package/models/errors/documentgetmany.js.map +1 -0
- package/models/errors/envelopeauditlogfind.d.ts +230 -0
- package/models/errors/envelopeauditlogfind.d.ts.map +1 -0
- package/models/errors/envelopeauditlogfind.js +319 -0
- package/models/errors/envelopeauditlogfind.js.map +1 -0
- package/models/errors/envelopefind.d.ts +230 -0
- package/models/errors/envelopefind.d.ts.map +1 -0
- package/models/errors/envelopefind.js +326 -0
- package/models/errors/envelopefind.js.map +1 -0
- package/models/errors/envelopegetmany.d.ts +185 -0
- package/models/errors/envelopegetmany.d.ts.map +1 -0
- package/models/errors/envelopegetmany.js +268 -0
- package/models/errors/envelopegetmany.js.map +1 -0
- package/models/errors/index.d.ts +5 -0
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +5 -0
- package/models/errors/index.js.map +1 -1
- package/models/errors/templategetmany.d.ts +185 -0
- package/models/errors/templategetmany.d.ts.map +1 -0
- package/models/errors/templategetmany.js +268 -0
- package/models/errors/templategetmany.js.map +1 -0
- package/models/operations/documentcreate.d.ts +77 -160
- package/models/operations/documentcreate.d.ts.map +1 -1
- package/models/operations/documentcreate.js +81 -153
- package/models/operations/documentcreate.js.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.d.ts +102 -265
- package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
- package/models/operations/documentcreatedocumenttemporary.js +118 -263
- package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
- package/models/operations/documentdistribute.d.ts +5 -0
- package/models/operations/documentdistribute.d.ts.map +1 -1
- package/models/operations/documentdistribute.js +5 -0
- package/models/operations/documentdistribute.js.map +1 -1
- package/models/operations/documentfind.d.ts +30 -30
- package/models/operations/documentfind.d.ts.map +1 -1
- package/models/operations/documentfind.js +31 -33
- package/models/operations/documentfind.js.map +1 -1
- package/models/operations/documentget.d.ts +25 -105
- package/models/operations/documentget.d.ts.map +1 -1
- package/models/operations/documentget.js +28 -99
- package/models/operations/documentget.js.map +1 -1
- package/models/operations/documentgetmany.d.ts +323 -0
- package/models/operations/documentgetmany.d.ts.map +1 -0
- package/models/operations/documentgetmany.js +370 -0
- package/models/operations/documentgetmany.js.map +1 -0
- package/models/operations/documentupdate.d.ts +20 -15
- package/models/operations/documentupdate.d.ts.map +1 -1
- package/models/operations/documentupdate.js +21 -18
- package/models/operations/documentupdate.js.map +1 -1
- package/models/operations/embeddingpresigncreateembeddingpresigntoken.d.ts +2 -0
- package/models/operations/embeddingpresigncreateembeddingpresigntoken.d.ts.map +1 -1
- package/models/operations/embeddingpresigncreateembeddingpresigntoken.js +2 -0
- package/models/operations/embeddingpresigncreateembeddingpresigntoken.js.map +1 -1
- package/models/operations/embeddingpresignverifyembeddingpresigntoken.d.ts +2 -0
- package/models/operations/embeddingpresignverifyembeddingpresigntoken.d.ts.map +1 -1
- package/models/operations/embeddingpresignverifyembeddingpresigntoken.js +2 -0
- package/models/operations/embeddingpresignverifyembeddingpresigntoken.js.map +1 -1
- package/models/operations/envelopeauditlogfind.d.ts +2844 -0
- package/models/operations/envelopeauditlogfind.d.ts.map +1 -0
- package/models/operations/envelopeauditlogfind.js +3579 -0
- package/models/operations/envelopeauditlogfind.js.map +1 -0
- package/models/operations/envelopecreate.d.ts +103 -167
- package/models/operations/envelopecreate.d.ts.map +1 -1
- package/models/operations/envelopecreate.js +109 -161
- package/models/operations/envelopecreate.js.map +1 -1
- package/models/operations/envelopedistribute.d.ts +46 -0
- package/models/operations/envelopedistribute.d.ts.map +1 -1
- package/models/operations/envelopedistribute.js +49 -1
- package/models/operations/envelopedistribute.js.map +1 -1
- package/models/operations/envelopefieldcreatemany.d.ts +97 -265
- package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldcreatemany.js +106 -280
- package/models/operations/envelopefieldcreatemany.js.map +1 -1
- package/models/operations/envelopefieldget.d.ts +25 -105
- package/models/operations/envelopefieldget.d.ts.map +1 -1
- package/models/operations/envelopefieldget.js +27 -97
- package/models/operations/envelopefieldget.js.map +1 -1
- package/models/operations/envelopefieldupdatemany.d.ts +97 -265
- package/models/operations/envelopefieldupdatemany.d.ts.map +1 -1
- package/models/operations/envelopefieldupdatemany.js +106 -280
- package/models/operations/envelopefieldupdatemany.js.map +1 -1
- package/models/operations/envelopefind.d.ts +465 -0
- package/models/operations/envelopefind.d.ts.map +1 -0
- package/models/operations/envelopefind.js +466 -0
- package/models/operations/envelopefind.js.map +1 -0
- package/models/operations/envelopeget.d.ts +30 -110
- package/models/operations/envelopeget.d.ts.map +1 -1
- package/models/operations/envelopeget.js +33 -104
- package/models/operations/envelopeget.js.map +1 -1
- package/models/operations/envelopegetmany.d.ts +1020 -0
- package/models/operations/envelopegetmany.d.ts.map +1 -0
- package/models/operations/envelopegetmany.js +1190 -0
- package/models/operations/envelopegetmany.js.map +1 -0
- package/models/operations/enveloperecipientcreatemany.d.ts +29 -12
- package/models/operations/enveloperecipientcreatemany.d.ts.map +1 -1
- package/models/operations/enveloperecipientcreatemany.js +40 -15
- package/models/operations/enveloperecipientcreatemany.js.map +1 -1
- package/models/operations/enveloperecipientget.d.ts +25 -105
- package/models/operations/enveloperecipientget.d.ts.map +1 -1
- package/models/operations/enveloperecipientget.js +27 -98
- package/models/operations/enveloperecipientget.js.map +1 -1
- package/models/operations/enveloperecipientupdatemany.d.ts +29 -12
- package/models/operations/enveloperecipientupdatemany.d.ts.map +1 -1
- package/models/operations/enveloperecipientupdatemany.js +40 -15
- package/models/operations/enveloperecipientupdatemany.js.map +1 -1
- package/models/operations/enveloperedistribute.d.ts +42 -0
- package/models/operations/enveloperedistribute.d.ts.map +1 -1
- package/models/operations/enveloperedistribute.js +44 -1
- package/models/operations/enveloperedistribute.js.map +1 -1
- package/models/operations/envelopeupdate.d.ts +20 -15
- package/models/operations/envelopeupdate.d.ts.map +1 -1
- package/models/operations/envelopeupdate.js +21 -18
- package/models/operations/envelopeupdate.js.map +1 -1
- package/models/operations/envelopeuse.d.ts +106 -78
- package/models/operations/envelopeuse.d.ts.map +1 -1
- package/models/operations/envelopeuse.js +118 -77
- package/models/operations/envelopeuse.js.map +1 -1
- package/models/operations/fieldcreatedocumentfield.d.ts +97 -265
- package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfield.js +106 -280
- package/models/operations/fieldcreatedocumentfield.js.map +1 -1
- package/models/operations/fieldcreatedocumentfields.d.ts +97 -265
- package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldcreatedocumentfields.js +107 -280
- package/models/operations/fieldcreatedocumentfields.js.map +1 -1
- package/models/operations/fieldcreatetemplatefield.d.ts +97 -265
- package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefield.js +106 -280
- package/models/operations/fieldcreatetemplatefield.js.map +1 -1
- package/models/operations/fieldcreatetemplatefields.d.ts +97 -265
- package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldcreatetemplatefields.js +107 -280
- package/models/operations/fieldcreatetemplatefields.js.map +1 -1
- package/models/operations/fieldgetdocumentfield.d.ts +25 -105
- package/models/operations/fieldgetdocumentfield.d.ts.map +1 -1
- package/models/operations/fieldgetdocumentfield.js +27 -97
- package/models/operations/fieldgetdocumentfield.js.map +1 -1
- package/models/operations/fieldgettemplatefield.d.ts +25 -105
- package/models/operations/fieldgettemplatefield.d.ts.map +1 -1
- package/models/operations/fieldgettemplatefield.js +27 -97
- package/models/operations/fieldgettemplatefield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfield.d.ts +97 -265
- package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfield.js +106 -280
- package/models/operations/fieldupdatedocumentfield.js.map +1 -1
- package/models/operations/fieldupdatedocumentfields.d.ts +97 -265
- package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -1
- package/models/operations/fieldupdatedocumentfields.js +107 -280
- package/models/operations/fieldupdatedocumentfields.js.map +1 -1
- package/models/operations/fieldupdatetemplatefield.d.ts +97 -265
- package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefield.js +106 -280
- package/models/operations/fieldupdatetemplatefield.js.map +1 -1
- package/models/operations/fieldupdatetemplatefields.d.ts +97 -265
- package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -1
- package/models/operations/fieldupdatetemplatefields.js +107 -280
- package/models/operations/fieldupdatetemplatefields.js.map +1 -1
- package/models/operations/folderupdatefolder.d.ts +5 -5
- package/models/operations/folderupdatefolder.d.ts.map +1 -1
- package/models/operations/folderupdatefolder.js +6 -6
- package/models/operations/folderupdatefolder.js.map +1 -1
- package/models/operations/index.d.ts +5 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +5 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/recipientcreatedocumentrecipient.d.ts +10 -10
- package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientcreatedocumentrecipient.js +11 -13
- package/models/operations/recipientcreatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientcreatedocumentrecipients.d.ts +10 -10
- package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientcreatedocumentrecipients.js +11 -11
- package/models/operations/recipientcreatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientcreatetemplaterecipient.d.ts +10 -10
- package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientcreatetemplaterecipient.js +11 -13
- package/models/operations/recipientcreatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientcreatetemplaterecipients.d.ts +10 -10
- package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientcreatetemplaterecipients.js +11 -11
- package/models/operations/recipientcreatetemplaterecipients.js.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.d.ts +25 -105
- package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.js +27 -103
- package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
- package/models/operations/recipientgettemplaterecipient.d.ts +25 -105
- package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientgettemplaterecipient.js +27 -103
- package/models/operations/recipientgettemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.d.ts +35 -115
- package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipient.js +38 -120
- package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.d.ts +35 -115
- package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatedocumentrecipients.js +38 -118
- package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.d.ts +35 -115
- package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipient.js +38 -120
- package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.d.ts +35 -115
- package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
- package/models/operations/recipientupdatetemplaterecipients.js +38 -118
- package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.d.ts +239 -186
- package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
- package/models/operations/templatecreatedocumentfromtemplate.js +277 -178
- package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
- package/models/operations/templatecreatetemplate.d.ts +5 -0
- package/models/operations/templatecreatetemplate.d.ts.map +1 -1
- package/models/operations/templatecreatetemplate.js +5 -0
- package/models/operations/templatecreatetemplate.js.map +1 -1
- package/models/operations/templatecreatetemplatetemporary.d.ts +35 -110
- package/models/operations/templatecreatetemplatetemporary.d.ts.map +1 -1
- package/models/operations/templatecreatetemplatetemporary.js +41 -116
- package/models/operations/templatecreatetemplatetemporary.js.map +1 -1
- package/models/operations/templatefindtemplates.d.ts +30 -110
- package/models/operations/templatefindtemplates.d.ts.map +1 -1
- package/models/operations/templatefindtemplates.js +33 -103
- package/models/operations/templatefindtemplates.js.map +1 -1
- package/models/operations/templategetmany.d.ts +822 -0
- package/models/operations/templategetmany.d.ts.map +1 -0
- package/models/operations/templategetmany.js +958 -0
- package/models/operations/templategetmany.js.map +1 -0
- package/models/operations/templategettemplatebyid.d.ts +30 -110
- package/models/operations/templategettemplatebyid.d.ts.map +1 -1
- package/models/operations/templategettemplatebyid.js +33 -104
- package/models/operations/templategettemplatebyid.js.map +1 -1
- package/models/operations/templateupdatetemplate.d.ts +20 -15
- package/models/operations/templateupdatetemplate.d.ts.map +1 -1
- package/models/operations/templateupdatetemplate.js +24 -18
- package/models/operations/templateupdatetemplate.js.map +1 -1
- package/package.json +3 -6
- package/sdk/document.d.ts +7 -0
- package/sdk/document.d.ts.map +1 -1
- package/sdk/document.js +10 -0
- package/sdk/document.js.map +1 -1
- package/sdk/envelope.d.ts +26 -0
- package/sdk/envelope.d.ts.map +1 -0
- package/sdk/envelope.js +42 -0
- package/sdk/envelope.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/template.d.ts +7 -0
- package/sdk/template.d.ts.map +1 -1
- package/sdk/template.js +10 -0
- package/sdk/template.js.map +1 -1
- package/src/funcs/documentDocumentGetMany.ts +181 -0
- package/src/funcs/envelopeEnvelopeAuditLogFind.ts +203 -0
- package/src/funcs/envelopeEnvelopeFind.ts +198 -0
- package/src/funcs/envelopeEnvelopeGetMany.ts +181 -0
- package/src/funcs/templateTemplateGetMany.ts +181 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/encodings.ts +17 -3
- package/src/lib/sdks.ts +2 -2
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/prompts.ts +7 -3
- package/src/mcp-server/resources.ts +7 -3
- package/src/mcp-server/server.ts +11 -1
- package/src/mcp-server/tools/documentDocumentGetMany.ts +37 -0
- package/src/mcp-server/tools/envelopeEnvelopeAuditLogFind.ts +37 -0
- package/src/mcp-server/tools/envelopeEnvelopeFind.ts +37 -0
- package/src/mcp-server/tools/envelopeEnvelopeGetMany.ts +37 -0
- package/src/mcp-server/tools/templateTemplateGetMany.ts +37 -0
- package/src/mcp-server/tools.ts +7 -3
- package/src/models/errors/documentgetmany.ts +503 -0
- package/src/models/errors/envelopeauditlogfind.ts +637 -0
- package/src/models/errors/envelopefind.ts +613 -0
- package/src/models/errors/envelopegetmany.ts +503 -0
- package/src/models/errors/index.ts +5 -0
- package/src/models/errors/templategetmany.ts +503 -0
- package/src/models/operations/documentcreate.ts +169 -340
- package/src/models/operations/documentcreatedocumenttemporary.ts +220 -547
- package/src/models/operations/documentdistribute.ts +5 -0
- package/src/models/operations/documentfind.ts +74 -62
- package/src/models/operations/documentget.ts +52 -198
- package/src/models/operations/documentgetmany.ts +772 -0
- package/src/models/operations/documentupdate.ts +47 -38
- package/src/models/operations/embeddingpresigncreateembeddingpresigntoken.ts +4 -0
- package/src/models/operations/embeddingpresignverifyembeddingpresigntoken.ts +4 -0
- package/src/models/operations/envelopeauditlogfind.ts +8406 -0
- package/src/models/operations/envelopecreate.ts +239 -355
- package/src/models/operations/envelopedistribute.ts +100 -0
- package/src/models/operations/envelopefieldcreatemany.ts +219 -552
- package/src/models/operations/envelopefieldget.ts +52 -210
- package/src/models/operations/envelopefieldupdatemany.ts +219 -552
- package/src/models/operations/envelopefind.ts +979 -0
- package/src/models/operations/envelopeget.ts +63 -209
- package/src/models/operations/envelopegetmany.ts +2658 -0
- package/src/models/operations/enveloperecipientcreatemany.ts +91 -28
- package/src/models/operations/enveloperecipientget.ts +52 -212
- package/src/models/operations/enveloperecipientupdatemany.ts +91 -28
- package/src/models/operations/enveloperedistribute.ts +102 -0
- package/src/models/operations/envelopeupdate.ts +47 -38
- package/src/models/operations/envelopeuse.ts +259 -151
- package/src/models/operations/fieldcreatedocumentfield.ts +222 -553
- package/src/models/operations/fieldcreatedocumentfields.ts +221 -553
- package/src/models/operations/fieldcreatetemplatefield.ts +222 -553
- package/src/models/operations/fieldcreatetemplatefields.ts +221 -553
- package/src/models/operations/fieldgetdocumentfield.ts +52 -212
- package/src/models/operations/fieldgettemplatefield.ts +52 -212
- package/src/models/operations/fieldupdatedocumentfield.ts +222 -553
- package/src/models/operations/fieldupdatedocumentfields.ts +221 -553
- package/src/models/operations/fieldupdatetemplatefield.ts +222 -553
- package/src/models/operations/fieldupdatetemplatefields.ts +221 -553
- package/src/models/operations/folderupdatefolder.ts +12 -12
- package/src/models/operations/index.ts +5 -0
- package/src/models/operations/recipientcreatedocumentrecipient.ts +28 -24
- package/src/models/operations/recipientcreatedocumentrecipients.ts +28 -24
- package/src/models/operations/recipientcreatetemplaterecipient.ts +28 -24
- package/src/models/operations/recipientcreatetemplaterecipients.ts +28 -24
- package/src/models/operations/recipientgetdocumentrecipient.ts +53 -217
- package/src/models/operations/recipientgettemplaterecipient.ts +53 -217
- package/src/models/operations/recipientupdatedocumentrecipient.ts +80 -237
- package/src/models/operations/recipientupdatedocumentrecipients.ts +80 -237
- package/src/models/operations/recipientupdatetemplaterecipient.ts +80 -237
- package/src/models/operations/recipientupdatetemplaterecipients.ts +80 -237
- package/src/models/operations/templatecreatedocumentfromtemplate.ts +671 -420
- package/src/models/operations/templatecreatetemplate.ts +5 -0
- package/src/models/operations/templatecreatetemplatetemporary.ts +69 -224
- package/src/models/operations/templatefindtemplates.ts +64 -224
- package/src/models/operations/templategetmany.ts +2134 -0
- package/src/models/operations/templategettemplatebyid.ts +65 -225
- package/src/models/operations/templateupdatetemplate.ts +41 -37
- package/src/sdk/document.ts +18 -0
- package/src/sdk/envelope.ts +63 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/template.ts +18 -0
- package/src/types/enums.ts +1 -21
- package/src/types/index.ts +2 -1
- package/src/types/unrecognized.ts +35 -0
- package/tsconfig.json +1 -2
- package/types/enums.d.ts +1 -8
- package/types/enums.d.ts.map +1 -1
- package/types/enums.js +3 -21
- package/types/enums.js.map +1 -1
- package/types/index.d.ts +2 -1
- package/types/index.d.ts.map +1 -1
- package/types/index.js +15 -0
- package/types/index.js.map +1 -1
- package/types/unrecognized.d.ts +16 -0
- package/types/unrecognized.d.ts.map +1 -0
- package/types/unrecognized.js +34 -0
- package/types/unrecognized.js.map +1 -0
|
@@ -0,0 +1,822 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
export type TemplateGetManyRequest = {
|
|
6
|
+
templateIds: Array<number>;
|
|
7
|
+
};
|
|
8
|
+
export declare const TemplateGetManyTypeEnum: {
|
|
9
|
+
readonly Public: "PUBLIC";
|
|
10
|
+
readonly Private: "PRIVATE";
|
|
11
|
+
};
|
|
12
|
+
export type TemplateGetManyTypeEnum = ClosedEnum<typeof TemplateGetManyTypeEnum>;
|
|
13
|
+
export declare const TemplateGetManyVisibility: {
|
|
14
|
+
readonly Everyone: "EVERYONE";
|
|
15
|
+
readonly ManagerAndAbove: "MANAGER_AND_ABOVE";
|
|
16
|
+
readonly Admin: "ADMIN";
|
|
17
|
+
};
|
|
18
|
+
export type TemplateGetManyVisibility = ClosedEnum<typeof TemplateGetManyVisibility>;
|
|
19
|
+
export declare const TemplateGetManyGlobalAccessAuth: {
|
|
20
|
+
readonly Account: "ACCOUNT";
|
|
21
|
+
readonly TwoFactorAuth: "TWO_FACTOR_AUTH";
|
|
22
|
+
};
|
|
23
|
+
export type TemplateGetManyGlobalAccessAuth = ClosedEnum<typeof TemplateGetManyGlobalAccessAuth>;
|
|
24
|
+
export declare const TemplateGetManyGlobalActionAuth: {
|
|
25
|
+
readonly Account: "ACCOUNT";
|
|
26
|
+
readonly Passkey: "PASSKEY";
|
|
27
|
+
readonly TwoFactorAuth: "TWO_FACTOR_AUTH";
|
|
28
|
+
readonly Password: "PASSWORD";
|
|
29
|
+
};
|
|
30
|
+
export type TemplateGetManyGlobalActionAuth = ClosedEnum<typeof TemplateGetManyGlobalActionAuth>;
|
|
31
|
+
export type TemplateGetManyAuthOptions = {
|
|
32
|
+
globalAccessAuth: Array<TemplateGetManyGlobalAccessAuth>;
|
|
33
|
+
globalActionAuth: Array<TemplateGetManyGlobalActionAuth>;
|
|
34
|
+
};
|
|
35
|
+
export type TemplateGetManyTeam = {
|
|
36
|
+
id: number;
|
|
37
|
+
url: string;
|
|
38
|
+
};
|
|
39
|
+
export declare const TemplateGetManyFieldTypeEnum: {
|
|
40
|
+
readonly Signature: "SIGNATURE";
|
|
41
|
+
readonly FreeSignature: "FREE_SIGNATURE";
|
|
42
|
+
readonly Initials: "INITIALS";
|
|
43
|
+
readonly Name: "NAME";
|
|
44
|
+
readonly Email: "EMAIL";
|
|
45
|
+
readonly Date: "DATE";
|
|
46
|
+
readonly Text: "TEXT";
|
|
47
|
+
readonly Number: "NUMBER";
|
|
48
|
+
readonly Radio: "RADIO";
|
|
49
|
+
readonly Checkbox: "CHECKBOX";
|
|
50
|
+
readonly Dropdown: "DROPDOWN";
|
|
51
|
+
};
|
|
52
|
+
export type TemplateGetManyFieldTypeEnum = ClosedEnum<typeof TemplateGetManyFieldTypeEnum>;
|
|
53
|
+
export type TemplateGetManyValue3 = {
|
|
54
|
+
value: string;
|
|
55
|
+
};
|
|
56
|
+
export type TemplateGetManyFieldMetaDropdown = {
|
|
57
|
+
label?: string | undefined;
|
|
58
|
+
placeholder?: string | undefined;
|
|
59
|
+
required?: boolean | undefined;
|
|
60
|
+
readOnly?: boolean | undefined;
|
|
61
|
+
fontSize?: number | undefined;
|
|
62
|
+
type: "dropdown";
|
|
63
|
+
values?: Array<TemplateGetManyValue3> | undefined;
|
|
64
|
+
defaultValue?: string | undefined;
|
|
65
|
+
};
|
|
66
|
+
export type TemplateGetManyValue2 = {
|
|
67
|
+
id: number;
|
|
68
|
+
checked: boolean;
|
|
69
|
+
value: string;
|
|
70
|
+
};
|
|
71
|
+
export declare const TemplateGetManyDirection2: {
|
|
72
|
+
readonly Vertical: "vertical";
|
|
73
|
+
readonly Horizontal: "horizontal";
|
|
74
|
+
};
|
|
75
|
+
export type TemplateGetManyDirection2 = ClosedEnum<typeof TemplateGetManyDirection2>;
|
|
76
|
+
export type TemplateGetManyFieldMetaCheckbox = {
|
|
77
|
+
label?: string | undefined;
|
|
78
|
+
placeholder?: string | undefined;
|
|
79
|
+
required?: boolean | undefined;
|
|
80
|
+
readOnly?: boolean | undefined;
|
|
81
|
+
fontSize?: number | undefined;
|
|
82
|
+
type: "checkbox";
|
|
83
|
+
values?: Array<TemplateGetManyValue2> | undefined;
|
|
84
|
+
validationRule?: string | undefined;
|
|
85
|
+
validationLength?: number | undefined;
|
|
86
|
+
direction?: TemplateGetManyDirection2 | undefined;
|
|
87
|
+
};
|
|
88
|
+
export type TemplateGetManyValue1 = {
|
|
89
|
+
id: number;
|
|
90
|
+
checked: boolean;
|
|
91
|
+
value: string;
|
|
92
|
+
};
|
|
93
|
+
export declare const TemplateGetManyDirection1: {
|
|
94
|
+
readonly Vertical: "vertical";
|
|
95
|
+
readonly Horizontal: "horizontal";
|
|
96
|
+
};
|
|
97
|
+
export type TemplateGetManyDirection1 = ClosedEnum<typeof TemplateGetManyDirection1>;
|
|
98
|
+
export type TemplateGetManyFieldMetaRadio = {
|
|
99
|
+
label?: string | undefined;
|
|
100
|
+
placeholder?: string | undefined;
|
|
101
|
+
required?: boolean | undefined;
|
|
102
|
+
readOnly?: boolean | undefined;
|
|
103
|
+
fontSize?: number | undefined;
|
|
104
|
+
type: "radio";
|
|
105
|
+
values?: Array<TemplateGetManyValue1> | undefined;
|
|
106
|
+
direction?: TemplateGetManyDirection1 | undefined;
|
|
107
|
+
};
|
|
108
|
+
export declare const TemplateGetManyTextAlign6: {
|
|
109
|
+
readonly Left: "left";
|
|
110
|
+
readonly Center: "center";
|
|
111
|
+
readonly Right: "right";
|
|
112
|
+
};
|
|
113
|
+
export type TemplateGetManyTextAlign6 = ClosedEnum<typeof TemplateGetManyTextAlign6>;
|
|
114
|
+
export declare const TemplateGetManyVerticalAlign2: {
|
|
115
|
+
readonly Top: "top";
|
|
116
|
+
readonly Middle: "middle";
|
|
117
|
+
readonly Bottom: "bottom";
|
|
118
|
+
};
|
|
119
|
+
export type TemplateGetManyVerticalAlign2 = ClosedEnum<typeof TemplateGetManyVerticalAlign2>;
|
|
120
|
+
export type TemplateGetManyFieldMetaNumber = {
|
|
121
|
+
label?: string | undefined;
|
|
122
|
+
placeholder?: string | undefined;
|
|
123
|
+
required?: boolean | undefined;
|
|
124
|
+
readOnly?: boolean | undefined;
|
|
125
|
+
fontSize?: number | undefined;
|
|
126
|
+
type: "number";
|
|
127
|
+
numberFormat?: string | null | undefined;
|
|
128
|
+
value?: string | undefined;
|
|
129
|
+
minValue?: number | null | undefined;
|
|
130
|
+
maxValue?: number | null | undefined;
|
|
131
|
+
textAlign?: TemplateGetManyTextAlign6 | undefined;
|
|
132
|
+
lineHeight?: number | null | undefined;
|
|
133
|
+
letterSpacing?: number | null | undefined;
|
|
134
|
+
verticalAlign?: TemplateGetManyVerticalAlign2 | null | undefined;
|
|
135
|
+
};
|
|
136
|
+
export declare const TemplateGetManyTextAlign5: {
|
|
137
|
+
readonly Left: "left";
|
|
138
|
+
readonly Center: "center";
|
|
139
|
+
readonly Right: "right";
|
|
140
|
+
};
|
|
141
|
+
export type TemplateGetManyTextAlign5 = ClosedEnum<typeof TemplateGetManyTextAlign5>;
|
|
142
|
+
export declare const TemplateGetManyVerticalAlign1: {
|
|
143
|
+
readonly Top: "top";
|
|
144
|
+
readonly Middle: "middle";
|
|
145
|
+
readonly Bottom: "bottom";
|
|
146
|
+
};
|
|
147
|
+
export type TemplateGetManyVerticalAlign1 = ClosedEnum<typeof TemplateGetManyVerticalAlign1>;
|
|
148
|
+
export type TemplateGetManyFieldMetaText = {
|
|
149
|
+
label?: string | undefined;
|
|
150
|
+
placeholder?: string | undefined;
|
|
151
|
+
required?: boolean | undefined;
|
|
152
|
+
readOnly?: boolean | undefined;
|
|
153
|
+
fontSize?: number | undefined;
|
|
154
|
+
type: "text";
|
|
155
|
+
text?: string | undefined;
|
|
156
|
+
characterLimit?: number | undefined;
|
|
157
|
+
textAlign?: TemplateGetManyTextAlign5 | undefined;
|
|
158
|
+
lineHeight?: number | null | undefined;
|
|
159
|
+
letterSpacing?: number | null | undefined;
|
|
160
|
+
verticalAlign?: TemplateGetManyVerticalAlign1 | null | undefined;
|
|
161
|
+
};
|
|
162
|
+
export declare const TemplateGetManyTextAlign4: {
|
|
163
|
+
readonly Left: "left";
|
|
164
|
+
readonly Center: "center";
|
|
165
|
+
readonly Right: "right";
|
|
166
|
+
};
|
|
167
|
+
export type TemplateGetManyTextAlign4 = ClosedEnum<typeof TemplateGetManyTextAlign4>;
|
|
168
|
+
export type TemplateGetManyFieldMetaDate = {
|
|
169
|
+
label?: string | undefined;
|
|
170
|
+
placeholder?: string | undefined;
|
|
171
|
+
required?: boolean | undefined;
|
|
172
|
+
readOnly?: boolean | undefined;
|
|
173
|
+
fontSize?: number | undefined;
|
|
174
|
+
type: "date";
|
|
175
|
+
textAlign?: TemplateGetManyTextAlign4 | undefined;
|
|
176
|
+
};
|
|
177
|
+
export declare const TemplateGetManyTextAlign3: {
|
|
178
|
+
readonly Left: "left";
|
|
179
|
+
readonly Center: "center";
|
|
180
|
+
readonly Right: "right";
|
|
181
|
+
};
|
|
182
|
+
export type TemplateGetManyTextAlign3 = ClosedEnum<typeof TemplateGetManyTextAlign3>;
|
|
183
|
+
export type TemplateGetManyFieldMetaEmail = {
|
|
184
|
+
label?: string | undefined;
|
|
185
|
+
placeholder?: string | undefined;
|
|
186
|
+
required?: boolean | undefined;
|
|
187
|
+
readOnly?: boolean | undefined;
|
|
188
|
+
fontSize?: number | undefined;
|
|
189
|
+
type: "email";
|
|
190
|
+
textAlign?: TemplateGetManyTextAlign3 | undefined;
|
|
191
|
+
};
|
|
192
|
+
export declare const TemplateGetManyTextAlign2: {
|
|
193
|
+
readonly Left: "left";
|
|
194
|
+
readonly Center: "center";
|
|
195
|
+
readonly Right: "right";
|
|
196
|
+
};
|
|
197
|
+
export type TemplateGetManyTextAlign2 = ClosedEnum<typeof TemplateGetManyTextAlign2>;
|
|
198
|
+
export type TemplateGetManyFieldMetaName = {
|
|
199
|
+
label?: string | undefined;
|
|
200
|
+
placeholder?: string | undefined;
|
|
201
|
+
required?: boolean | undefined;
|
|
202
|
+
readOnly?: boolean | undefined;
|
|
203
|
+
fontSize?: number | undefined;
|
|
204
|
+
type: "name";
|
|
205
|
+
textAlign?: TemplateGetManyTextAlign2 | undefined;
|
|
206
|
+
};
|
|
207
|
+
export declare const TemplateGetManyTextAlign1: {
|
|
208
|
+
readonly Left: "left";
|
|
209
|
+
readonly Center: "center";
|
|
210
|
+
readonly Right: "right";
|
|
211
|
+
};
|
|
212
|
+
export type TemplateGetManyTextAlign1 = ClosedEnum<typeof TemplateGetManyTextAlign1>;
|
|
213
|
+
export type TemplateGetManyFieldMetaInitials = {
|
|
214
|
+
label?: string | undefined;
|
|
215
|
+
placeholder?: string | undefined;
|
|
216
|
+
required?: boolean | undefined;
|
|
217
|
+
readOnly?: boolean | undefined;
|
|
218
|
+
fontSize?: number | undefined;
|
|
219
|
+
type: "initials";
|
|
220
|
+
textAlign?: TemplateGetManyTextAlign1 | undefined;
|
|
221
|
+
};
|
|
222
|
+
export type TemplateGetManyFieldMetaSignature = {
|
|
223
|
+
label?: string | undefined;
|
|
224
|
+
placeholder?: string | undefined;
|
|
225
|
+
required?: boolean | undefined;
|
|
226
|
+
readOnly?: boolean | undefined;
|
|
227
|
+
fontSize?: number | undefined;
|
|
228
|
+
type: "signature";
|
|
229
|
+
};
|
|
230
|
+
export type TemplateGetManyFieldMetaUnion = TemplateGetManyFieldMetaSignature | TemplateGetManyFieldMetaInitials | TemplateGetManyFieldMetaName | TemplateGetManyFieldMetaEmail | TemplateGetManyFieldMetaDate | TemplateGetManyFieldMetaText | TemplateGetManyFieldMetaNumber | TemplateGetManyFieldMetaRadio | TemplateGetManyFieldMetaCheckbox | TemplateGetManyFieldMetaDropdown;
|
|
231
|
+
export type TemplateGetManyField = {
|
|
232
|
+
envelopeId: string;
|
|
233
|
+
envelopeItemId: string;
|
|
234
|
+
type: TemplateGetManyFieldTypeEnum;
|
|
235
|
+
id: number;
|
|
236
|
+
secondaryId: string;
|
|
237
|
+
recipientId: number;
|
|
238
|
+
page: number;
|
|
239
|
+
positionX?: any | undefined;
|
|
240
|
+
positionY?: any | undefined;
|
|
241
|
+
width?: any | undefined;
|
|
242
|
+
height?: any | undefined;
|
|
243
|
+
customText: string;
|
|
244
|
+
inserted: boolean;
|
|
245
|
+
fieldMeta: TemplateGetManyFieldMetaSignature | TemplateGetManyFieldMetaInitials | TemplateGetManyFieldMetaName | TemplateGetManyFieldMetaEmail | TemplateGetManyFieldMetaDate | TemplateGetManyFieldMetaText | TemplateGetManyFieldMetaNumber | TemplateGetManyFieldMetaRadio | TemplateGetManyFieldMetaCheckbox | TemplateGetManyFieldMetaDropdown | null;
|
|
246
|
+
documentId?: number | null | undefined;
|
|
247
|
+
templateId?: number | null | undefined;
|
|
248
|
+
};
|
|
249
|
+
export declare const TemplateGetManyRole: {
|
|
250
|
+
readonly Cc: "CC";
|
|
251
|
+
readonly Signer: "SIGNER";
|
|
252
|
+
readonly Viewer: "VIEWER";
|
|
253
|
+
readonly Approver: "APPROVER";
|
|
254
|
+
readonly Assistant: "ASSISTANT";
|
|
255
|
+
};
|
|
256
|
+
export type TemplateGetManyRole = ClosedEnum<typeof TemplateGetManyRole>;
|
|
257
|
+
export declare const TemplateGetManyReadStatus: {
|
|
258
|
+
readonly NotOpened: "NOT_OPENED";
|
|
259
|
+
readonly Opened: "OPENED";
|
|
260
|
+
};
|
|
261
|
+
export type TemplateGetManyReadStatus = ClosedEnum<typeof TemplateGetManyReadStatus>;
|
|
262
|
+
export declare const TemplateGetManySigningStatus: {
|
|
263
|
+
readonly NotSigned: "NOT_SIGNED";
|
|
264
|
+
readonly Signed: "SIGNED";
|
|
265
|
+
readonly Rejected: "REJECTED";
|
|
266
|
+
};
|
|
267
|
+
export type TemplateGetManySigningStatus = ClosedEnum<typeof TemplateGetManySigningStatus>;
|
|
268
|
+
export declare const TemplateGetManySendStatus: {
|
|
269
|
+
readonly NotSent: "NOT_SENT";
|
|
270
|
+
readonly Sent: "SENT";
|
|
271
|
+
};
|
|
272
|
+
export type TemplateGetManySendStatus = ClosedEnum<typeof TemplateGetManySendStatus>;
|
|
273
|
+
export declare const TemplateGetManyAccessAuth: {
|
|
274
|
+
readonly Account: "ACCOUNT";
|
|
275
|
+
readonly TwoFactorAuth: "TWO_FACTOR_AUTH";
|
|
276
|
+
};
|
|
277
|
+
export type TemplateGetManyAccessAuth = ClosedEnum<typeof TemplateGetManyAccessAuth>;
|
|
278
|
+
export declare const TemplateGetManyActionAuth: {
|
|
279
|
+
readonly Account: "ACCOUNT";
|
|
280
|
+
readonly Passkey: "PASSKEY";
|
|
281
|
+
readonly TwoFactorAuth: "TWO_FACTOR_AUTH";
|
|
282
|
+
readonly Password: "PASSWORD";
|
|
283
|
+
readonly ExplicitNone: "EXPLICIT_NONE";
|
|
284
|
+
};
|
|
285
|
+
export type TemplateGetManyActionAuth = ClosedEnum<typeof TemplateGetManyActionAuth>;
|
|
286
|
+
export type TemplateGetManyRecipientAuthOptions = {
|
|
287
|
+
accessAuth: Array<TemplateGetManyAccessAuth>;
|
|
288
|
+
actionAuth: Array<TemplateGetManyActionAuth>;
|
|
289
|
+
};
|
|
290
|
+
export type TemplateGetManyRecipient = {
|
|
291
|
+
envelopeId: string;
|
|
292
|
+
role: TemplateGetManyRole;
|
|
293
|
+
readStatus: TemplateGetManyReadStatus;
|
|
294
|
+
signingStatus: TemplateGetManySigningStatus;
|
|
295
|
+
sendStatus: TemplateGetManySendStatus;
|
|
296
|
+
id: number;
|
|
297
|
+
email: string;
|
|
298
|
+
name: string;
|
|
299
|
+
token: string;
|
|
300
|
+
documentDeletedAt: string | null;
|
|
301
|
+
expired: string | null;
|
|
302
|
+
signedAt: string | null;
|
|
303
|
+
authOptions: TemplateGetManyRecipientAuthOptions | null;
|
|
304
|
+
signingOrder: number | null;
|
|
305
|
+
rejectionReason: string | null;
|
|
306
|
+
documentId?: number | null | undefined;
|
|
307
|
+
templateId?: number | null | undefined;
|
|
308
|
+
};
|
|
309
|
+
export declare const TemplateGetManySigningOrder: {
|
|
310
|
+
readonly Parallel: "PARALLEL";
|
|
311
|
+
readonly Sequential: "SEQUENTIAL";
|
|
312
|
+
};
|
|
313
|
+
export type TemplateGetManySigningOrder = ClosedEnum<typeof TemplateGetManySigningOrder>;
|
|
314
|
+
export declare const TemplateGetManyDistributionMethod: {
|
|
315
|
+
readonly Email: "EMAIL";
|
|
316
|
+
readonly None: "NONE";
|
|
317
|
+
};
|
|
318
|
+
export type TemplateGetManyDistributionMethod = ClosedEnum<typeof TemplateGetManyDistributionMethod>;
|
|
319
|
+
export type TemplateGetManyTemplateMeta = {
|
|
320
|
+
signingOrder: TemplateGetManySigningOrder;
|
|
321
|
+
distributionMethod: TemplateGetManyDistributionMethod;
|
|
322
|
+
};
|
|
323
|
+
export type TemplateGetManyDirectLink = {
|
|
324
|
+
token: string;
|
|
325
|
+
enabled: boolean;
|
|
326
|
+
};
|
|
327
|
+
export type TemplateGetManyData = {
|
|
328
|
+
type: TemplateGetManyTypeEnum;
|
|
329
|
+
visibility: TemplateGetManyVisibility;
|
|
330
|
+
id: number;
|
|
331
|
+
externalId: string | null;
|
|
332
|
+
title: string;
|
|
333
|
+
userId: number;
|
|
334
|
+
teamId: number;
|
|
335
|
+
authOptions: TemplateGetManyAuthOptions | null;
|
|
336
|
+
createdAt: string;
|
|
337
|
+
updatedAt: string;
|
|
338
|
+
publicTitle: string;
|
|
339
|
+
publicDescription: string;
|
|
340
|
+
folderId: string | null;
|
|
341
|
+
useLegacyFieldInsertion: boolean;
|
|
342
|
+
envelopeId: string;
|
|
343
|
+
team: TemplateGetManyTeam | null;
|
|
344
|
+
fields: Array<TemplateGetManyField>;
|
|
345
|
+
recipients: Array<TemplateGetManyRecipient>;
|
|
346
|
+
templateMeta: TemplateGetManyTemplateMeta | null;
|
|
347
|
+
directLink: TemplateGetManyDirectLink | null;
|
|
348
|
+
templateDocumentDataId?: string | undefined;
|
|
349
|
+
};
|
|
350
|
+
/**
|
|
351
|
+
* Successful response
|
|
352
|
+
*/
|
|
353
|
+
export type TemplateGetManyResponse = {
|
|
354
|
+
data: Array<TemplateGetManyData>;
|
|
355
|
+
};
|
|
356
|
+
/** @internal */
|
|
357
|
+
export declare const TemplateGetManyRequest$inboundSchema: z.ZodType<TemplateGetManyRequest, z.ZodTypeDef, unknown>;
|
|
358
|
+
/** @internal */
|
|
359
|
+
export type TemplateGetManyRequest$Outbound = {
|
|
360
|
+
templateIds: Array<number>;
|
|
361
|
+
};
|
|
362
|
+
/** @internal */
|
|
363
|
+
export declare const TemplateGetManyRequest$outboundSchema: z.ZodType<TemplateGetManyRequest$Outbound, z.ZodTypeDef, TemplateGetManyRequest>;
|
|
364
|
+
export declare function templateGetManyRequestToJSON(templateGetManyRequest: TemplateGetManyRequest): string;
|
|
365
|
+
export declare function templateGetManyRequestFromJSON(jsonString: string): SafeParseResult<TemplateGetManyRequest, SDKValidationError>;
|
|
366
|
+
/** @internal */
|
|
367
|
+
export declare const TemplateGetManyTypeEnum$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTypeEnum>;
|
|
368
|
+
/** @internal */
|
|
369
|
+
export declare const TemplateGetManyTypeEnum$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTypeEnum>;
|
|
370
|
+
/** @internal */
|
|
371
|
+
export declare const TemplateGetManyVisibility$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyVisibility>;
|
|
372
|
+
/** @internal */
|
|
373
|
+
export declare const TemplateGetManyVisibility$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyVisibility>;
|
|
374
|
+
/** @internal */
|
|
375
|
+
export declare const TemplateGetManyGlobalAccessAuth$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyGlobalAccessAuth>;
|
|
376
|
+
/** @internal */
|
|
377
|
+
export declare const TemplateGetManyGlobalAccessAuth$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyGlobalAccessAuth>;
|
|
378
|
+
/** @internal */
|
|
379
|
+
export declare const TemplateGetManyGlobalActionAuth$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyGlobalActionAuth>;
|
|
380
|
+
/** @internal */
|
|
381
|
+
export declare const TemplateGetManyGlobalActionAuth$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyGlobalActionAuth>;
|
|
382
|
+
/** @internal */
|
|
383
|
+
export declare const TemplateGetManyAuthOptions$inboundSchema: z.ZodType<TemplateGetManyAuthOptions, z.ZodTypeDef, unknown>;
|
|
384
|
+
/** @internal */
|
|
385
|
+
export type TemplateGetManyAuthOptions$Outbound = {
|
|
386
|
+
globalAccessAuth: Array<string>;
|
|
387
|
+
globalActionAuth: Array<string>;
|
|
388
|
+
};
|
|
389
|
+
/** @internal */
|
|
390
|
+
export declare const TemplateGetManyAuthOptions$outboundSchema: z.ZodType<TemplateGetManyAuthOptions$Outbound, z.ZodTypeDef, TemplateGetManyAuthOptions>;
|
|
391
|
+
export declare function templateGetManyAuthOptionsToJSON(templateGetManyAuthOptions: TemplateGetManyAuthOptions): string;
|
|
392
|
+
export declare function templateGetManyAuthOptionsFromJSON(jsonString: string): SafeParseResult<TemplateGetManyAuthOptions, SDKValidationError>;
|
|
393
|
+
/** @internal */
|
|
394
|
+
export declare const TemplateGetManyTeam$inboundSchema: z.ZodType<TemplateGetManyTeam, z.ZodTypeDef, unknown>;
|
|
395
|
+
/** @internal */
|
|
396
|
+
export type TemplateGetManyTeam$Outbound = {
|
|
397
|
+
id: number;
|
|
398
|
+
url: string;
|
|
399
|
+
};
|
|
400
|
+
/** @internal */
|
|
401
|
+
export declare const TemplateGetManyTeam$outboundSchema: z.ZodType<TemplateGetManyTeam$Outbound, z.ZodTypeDef, TemplateGetManyTeam>;
|
|
402
|
+
export declare function templateGetManyTeamToJSON(templateGetManyTeam: TemplateGetManyTeam): string;
|
|
403
|
+
export declare function templateGetManyTeamFromJSON(jsonString: string): SafeParseResult<TemplateGetManyTeam, SDKValidationError>;
|
|
404
|
+
/** @internal */
|
|
405
|
+
export declare const TemplateGetManyFieldTypeEnum$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyFieldTypeEnum>;
|
|
406
|
+
/** @internal */
|
|
407
|
+
export declare const TemplateGetManyFieldTypeEnum$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyFieldTypeEnum>;
|
|
408
|
+
/** @internal */
|
|
409
|
+
export declare const TemplateGetManyValue3$inboundSchema: z.ZodType<TemplateGetManyValue3, z.ZodTypeDef, unknown>;
|
|
410
|
+
/** @internal */
|
|
411
|
+
export type TemplateGetManyValue3$Outbound = {
|
|
412
|
+
value: string;
|
|
413
|
+
};
|
|
414
|
+
/** @internal */
|
|
415
|
+
export declare const TemplateGetManyValue3$outboundSchema: z.ZodType<TemplateGetManyValue3$Outbound, z.ZodTypeDef, TemplateGetManyValue3>;
|
|
416
|
+
export declare function templateGetManyValue3ToJSON(templateGetManyValue3: TemplateGetManyValue3): string;
|
|
417
|
+
export declare function templateGetManyValue3FromJSON(jsonString: string): SafeParseResult<TemplateGetManyValue3, SDKValidationError>;
|
|
418
|
+
/** @internal */
|
|
419
|
+
export declare const TemplateGetManyFieldMetaDropdown$inboundSchema: z.ZodType<TemplateGetManyFieldMetaDropdown, z.ZodTypeDef, unknown>;
|
|
420
|
+
/** @internal */
|
|
421
|
+
export type TemplateGetManyFieldMetaDropdown$Outbound = {
|
|
422
|
+
label?: string | undefined;
|
|
423
|
+
placeholder?: string | undefined;
|
|
424
|
+
required?: boolean | undefined;
|
|
425
|
+
readOnly?: boolean | undefined;
|
|
426
|
+
fontSize: number;
|
|
427
|
+
type: "dropdown";
|
|
428
|
+
values?: Array<TemplateGetManyValue3$Outbound> | undefined;
|
|
429
|
+
defaultValue?: string | undefined;
|
|
430
|
+
};
|
|
431
|
+
/** @internal */
|
|
432
|
+
export declare const TemplateGetManyFieldMetaDropdown$outboundSchema: z.ZodType<TemplateGetManyFieldMetaDropdown$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaDropdown>;
|
|
433
|
+
export declare function templateGetManyFieldMetaDropdownToJSON(templateGetManyFieldMetaDropdown: TemplateGetManyFieldMetaDropdown): string;
|
|
434
|
+
export declare function templateGetManyFieldMetaDropdownFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaDropdown, SDKValidationError>;
|
|
435
|
+
/** @internal */
|
|
436
|
+
export declare const TemplateGetManyValue2$inboundSchema: z.ZodType<TemplateGetManyValue2, z.ZodTypeDef, unknown>;
|
|
437
|
+
/** @internal */
|
|
438
|
+
export type TemplateGetManyValue2$Outbound = {
|
|
439
|
+
id: number;
|
|
440
|
+
checked: boolean;
|
|
441
|
+
value: string;
|
|
442
|
+
};
|
|
443
|
+
/** @internal */
|
|
444
|
+
export declare const TemplateGetManyValue2$outboundSchema: z.ZodType<TemplateGetManyValue2$Outbound, z.ZodTypeDef, TemplateGetManyValue2>;
|
|
445
|
+
export declare function templateGetManyValue2ToJSON(templateGetManyValue2: TemplateGetManyValue2): string;
|
|
446
|
+
export declare function templateGetManyValue2FromJSON(jsonString: string): SafeParseResult<TemplateGetManyValue2, SDKValidationError>;
|
|
447
|
+
/** @internal */
|
|
448
|
+
export declare const TemplateGetManyDirection2$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyDirection2>;
|
|
449
|
+
/** @internal */
|
|
450
|
+
export declare const TemplateGetManyDirection2$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyDirection2>;
|
|
451
|
+
/** @internal */
|
|
452
|
+
export declare const TemplateGetManyFieldMetaCheckbox$inboundSchema: z.ZodType<TemplateGetManyFieldMetaCheckbox, z.ZodTypeDef, unknown>;
|
|
453
|
+
/** @internal */
|
|
454
|
+
export type TemplateGetManyFieldMetaCheckbox$Outbound = {
|
|
455
|
+
label?: string | undefined;
|
|
456
|
+
placeholder?: string | undefined;
|
|
457
|
+
required?: boolean | undefined;
|
|
458
|
+
readOnly?: boolean | undefined;
|
|
459
|
+
fontSize: number;
|
|
460
|
+
type: "checkbox";
|
|
461
|
+
values?: Array<TemplateGetManyValue2$Outbound> | undefined;
|
|
462
|
+
validationRule?: string | undefined;
|
|
463
|
+
validationLength?: number | undefined;
|
|
464
|
+
direction: string;
|
|
465
|
+
};
|
|
466
|
+
/** @internal */
|
|
467
|
+
export declare const TemplateGetManyFieldMetaCheckbox$outboundSchema: z.ZodType<TemplateGetManyFieldMetaCheckbox$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaCheckbox>;
|
|
468
|
+
export declare function templateGetManyFieldMetaCheckboxToJSON(templateGetManyFieldMetaCheckbox: TemplateGetManyFieldMetaCheckbox): string;
|
|
469
|
+
export declare function templateGetManyFieldMetaCheckboxFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaCheckbox, SDKValidationError>;
|
|
470
|
+
/** @internal */
|
|
471
|
+
export declare const TemplateGetManyValue1$inboundSchema: z.ZodType<TemplateGetManyValue1, z.ZodTypeDef, unknown>;
|
|
472
|
+
/** @internal */
|
|
473
|
+
export type TemplateGetManyValue1$Outbound = {
|
|
474
|
+
id: number;
|
|
475
|
+
checked: boolean;
|
|
476
|
+
value: string;
|
|
477
|
+
};
|
|
478
|
+
/** @internal */
|
|
479
|
+
export declare const TemplateGetManyValue1$outboundSchema: z.ZodType<TemplateGetManyValue1$Outbound, z.ZodTypeDef, TemplateGetManyValue1>;
|
|
480
|
+
export declare function templateGetManyValue1ToJSON(templateGetManyValue1: TemplateGetManyValue1): string;
|
|
481
|
+
export declare function templateGetManyValue1FromJSON(jsonString: string): SafeParseResult<TemplateGetManyValue1, SDKValidationError>;
|
|
482
|
+
/** @internal */
|
|
483
|
+
export declare const TemplateGetManyDirection1$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyDirection1>;
|
|
484
|
+
/** @internal */
|
|
485
|
+
export declare const TemplateGetManyDirection1$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyDirection1>;
|
|
486
|
+
/** @internal */
|
|
487
|
+
export declare const TemplateGetManyFieldMetaRadio$inboundSchema: z.ZodType<TemplateGetManyFieldMetaRadio, z.ZodTypeDef, unknown>;
|
|
488
|
+
/** @internal */
|
|
489
|
+
export type TemplateGetManyFieldMetaRadio$Outbound = {
|
|
490
|
+
label?: string | undefined;
|
|
491
|
+
placeholder?: string | undefined;
|
|
492
|
+
required?: boolean | undefined;
|
|
493
|
+
readOnly?: boolean | undefined;
|
|
494
|
+
fontSize: number;
|
|
495
|
+
type: "radio";
|
|
496
|
+
values?: Array<TemplateGetManyValue1$Outbound> | undefined;
|
|
497
|
+
direction: string;
|
|
498
|
+
};
|
|
499
|
+
/** @internal */
|
|
500
|
+
export declare const TemplateGetManyFieldMetaRadio$outboundSchema: z.ZodType<TemplateGetManyFieldMetaRadio$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaRadio>;
|
|
501
|
+
export declare function templateGetManyFieldMetaRadioToJSON(templateGetManyFieldMetaRadio: TemplateGetManyFieldMetaRadio): string;
|
|
502
|
+
export declare function templateGetManyFieldMetaRadioFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaRadio, SDKValidationError>;
|
|
503
|
+
/** @internal */
|
|
504
|
+
export declare const TemplateGetManyTextAlign6$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign6>;
|
|
505
|
+
/** @internal */
|
|
506
|
+
export declare const TemplateGetManyTextAlign6$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign6>;
|
|
507
|
+
/** @internal */
|
|
508
|
+
export declare const TemplateGetManyVerticalAlign2$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyVerticalAlign2>;
|
|
509
|
+
/** @internal */
|
|
510
|
+
export declare const TemplateGetManyVerticalAlign2$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyVerticalAlign2>;
|
|
511
|
+
/** @internal */
|
|
512
|
+
export declare const TemplateGetManyFieldMetaNumber$inboundSchema: z.ZodType<TemplateGetManyFieldMetaNumber, z.ZodTypeDef, unknown>;
|
|
513
|
+
/** @internal */
|
|
514
|
+
export type TemplateGetManyFieldMetaNumber$Outbound = {
|
|
515
|
+
label?: string | undefined;
|
|
516
|
+
placeholder?: string | undefined;
|
|
517
|
+
required?: boolean | undefined;
|
|
518
|
+
readOnly?: boolean | undefined;
|
|
519
|
+
fontSize: number;
|
|
520
|
+
type: "number";
|
|
521
|
+
numberFormat?: string | null | undefined;
|
|
522
|
+
value?: string | undefined;
|
|
523
|
+
minValue?: number | null | undefined;
|
|
524
|
+
maxValue?: number | null | undefined;
|
|
525
|
+
textAlign?: string | undefined;
|
|
526
|
+
lineHeight?: number | null | undefined;
|
|
527
|
+
letterSpacing?: number | null | undefined;
|
|
528
|
+
verticalAlign?: string | null | undefined;
|
|
529
|
+
};
|
|
530
|
+
/** @internal */
|
|
531
|
+
export declare const TemplateGetManyFieldMetaNumber$outboundSchema: z.ZodType<TemplateGetManyFieldMetaNumber$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaNumber>;
|
|
532
|
+
export declare function templateGetManyFieldMetaNumberToJSON(templateGetManyFieldMetaNumber: TemplateGetManyFieldMetaNumber): string;
|
|
533
|
+
export declare function templateGetManyFieldMetaNumberFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaNumber, SDKValidationError>;
|
|
534
|
+
/** @internal */
|
|
535
|
+
export declare const TemplateGetManyTextAlign5$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign5>;
|
|
536
|
+
/** @internal */
|
|
537
|
+
export declare const TemplateGetManyTextAlign5$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign5>;
|
|
538
|
+
/** @internal */
|
|
539
|
+
export declare const TemplateGetManyVerticalAlign1$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyVerticalAlign1>;
|
|
540
|
+
/** @internal */
|
|
541
|
+
export declare const TemplateGetManyVerticalAlign1$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyVerticalAlign1>;
|
|
542
|
+
/** @internal */
|
|
543
|
+
export declare const TemplateGetManyFieldMetaText$inboundSchema: z.ZodType<TemplateGetManyFieldMetaText, z.ZodTypeDef, unknown>;
|
|
544
|
+
/** @internal */
|
|
545
|
+
export type TemplateGetManyFieldMetaText$Outbound = {
|
|
546
|
+
label?: string | undefined;
|
|
547
|
+
placeholder?: string | undefined;
|
|
548
|
+
required?: boolean | undefined;
|
|
549
|
+
readOnly?: boolean | undefined;
|
|
550
|
+
fontSize: number;
|
|
551
|
+
type: "text";
|
|
552
|
+
text?: string | undefined;
|
|
553
|
+
characterLimit?: number | undefined;
|
|
554
|
+
textAlign?: string | undefined;
|
|
555
|
+
lineHeight?: number | null | undefined;
|
|
556
|
+
letterSpacing?: number | null | undefined;
|
|
557
|
+
verticalAlign?: string | null | undefined;
|
|
558
|
+
};
|
|
559
|
+
/** @internal */
|
|
560
|
+
export declare const TemplateGetManyFieldMetaText$outboundSchema: z.ZodType<TemplateGetManyFieldMetaText$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaText>;
|
|
561
|
+
export declare function templateGetManyFieldMetaTextToJSON(templateGetManyFieldMetaText: TemplateGetManyFieldMetaText): string;
|
|
562
|
+
export declare function templateGetManyFieldMetaTextFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaText, SDKValidationError>;
|
|
563
|
+
/** @internal */
|
|
564
|
+
export declare const TemplateGetManyTextAlign4$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign4>;
|
|
565
|
+
/** @internal */
|
|
566
|
+
export declare const TemplateGetManyTextAlign4$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign4>;
|
|
567
|
+
/** @internal */
|
|
568
|
+
export declare const TemplateGetManyFieldMetaDate$inboundSchema: z.ZodType<TemplateGetManyFieldMetaDate, z.ZodTypeDef, unknown>;
|
|
569
|
+
/** @internal */
|
|
570
|
+
export type TemplateGetManyFieldMetaDate$Outbound = {
|
|
571
|
+
label?: string | undefined;
|
|
572
|
+
placeholder?: string | undefined;
|
|
573
|
+
required?: boolean | undefined;
|
|
574
|
+
readOnly?: boolean | undefined;
|
|
575
|
+
fontSize: number;
|
|
576
|
+
type: "date";
|
|
577
|
+
textAlign?: string | undefined;
|
|
578
|
+
};
|
|
579
|
+
/** @internal */
|
|
580
|
+
export declare const TemplateGetManyFieldMetaDate$outboundSchema: z.ZodType<TemplateGetManyFieldMetaDate$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaDate>;
|
|
581
|
+
export declare function templateGetManyFieldMetaDateToJSON(templateGetManyFieldMetaDate: TemplateGetManyFieldMetaDate): string;
|
|
582
|
+
export declare function templateGetManyFieldMetaDateFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaDate, SDKValidationError>;
|
|
583
|
+
/** @internal */
|
|
584
|
+
export declare const TemplateGetManyTextAlign3$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign3>;
|
|
585
|
+
/** @internal */
|
|
586
|
+
export declare const TemplateGetManyTextAlign3$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign3>;
|
|
587
|
+
/** @internal */
|
|
588
|
+
export declare const TemplateGetManyFieldMetaEmail$inboundSchema: z.ZodType<TemplateGetManyFieldMetaEmail, z.ZodTypeDef, unknown>;
|
|
589
|
+
/** @internal */
|
|
590
|
+
export type TemplateGetManyFieldMetaEmail$Outbound = {
|
|
591
|
+
label?: string | undefined;
|
|
592
|
+
placeholder?: string | undefined;
|
|
593
|
+
required?: boolean | undefined;
|
|
594
|
+
readOnly?: boolean | undefined;
|
|
595
|
+
fontSize: number;
|
|
596
|
+
type: "email";
|
|
597
|
+
textAlign?: string | undefined;
|
|
598
|
+
};
|
|
599
|
+
/** @internal */
|
|
600
|
+
export declare const TemplateGetManyFieldMetaEmail$outboundSchema: z.ZodType<TemplateGetManyFieldMetaEmail$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaEmail>;
|
|
601
|
+
export declare function templateGetManyFieldMetaEmailToJSON(templateGetManyFieldMetaEmail: TemplateGetManyFieldMetaEmail): string;
|
|
602
|
+
export declare function templateGetManyFieldMetaEmailFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaEmail, SDKValidationError>;
|
|
603
|
+
/** @internal */
|
|
604
|
+
export declare const TemplateGetManyTextAlign2$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign2>;
|
|
605
|
+
/** @internal */
|
|
606
|
+
export declare const TemplateGetManyTextAlign2$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign2>;
|
|
607
|
+
/** @internal */
|
|
608
|
+
export declare const TemplateGetManyFieldMetaName$inboundSchema: z.ZodType<TemplateGetManyFieldMetaName, z.ZodTypeDef, unknown>;
|
|
609
|
+
/** @internal */
|
|
610
|
+
export type TemplateGetManyFieldMetaName$Outbound = {
|
|
611
|
+
label?: string | undefined;
|
|
612
|
+
placeholder?: string | undefined;
|
|
613
|
+
required?: boolean | undefined;
|
|
614
|
+
readOnly?: boolean | undefined;
|
|
615
|
+
fontSize: number;
|
|
616
|
+
type: "name";
|
|
617
|
+
textAlign?: string | undefined;
|
|
618
|
+
};
|
|
619
|
+
/** @internal */
|
|
620
|
+
export declare const TemplateGetManyFieldMetaName$outboundSchema: z.ZodType<TemplateGetManyFieldMetaName$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaName>;
|
|
621
|
+
export declare function templateGetManyFieldMetaNameToJSON(templateGetManyFieldMetaName: TemplateGetManyFieldMetaName): string;
|
|
622
|
+
export declare function templateGetManyFieldMetaNameFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaName, SDKValidationError>;
|
|
623
|
+
/** @internal */
|
|
624
|
+
export declare const TemplateGetManyTextAlign1$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign1>;
|
|
625
|
+
/** @internal */
|
|
626
|
+
export declare const TemplateGetManyTextAlign1$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyTextAlign1>;
|
|
627
|
+
/** @internal */
|
|
628
|
+
export declare const TemplateGetManyFieldMetaInitials$inboundSchema: z.ZodType<TemplateGetManyFieldMetaInitials, z.ZodTypeDef, unknown>;
|
|
629
|
+
/** @internal */
|
|
630
|
+
export type TemplateGetManyFieldMetaInitials$Outbound = {
|
|
631
|
+
label?: string | undefined;
|
|
632
|
+
placeholder?: string | undefined;
|
|
633
|
+
required?: boolean | undefined;
|
|
634
|
+
readOnly?: boolean | undefined;
|
|
635
|
+
fontSize: number;
|
|
636
|
+
type: "initials";
|
|
637
|
+
textAlign?: string | undefined;
|
|
638
|
+
};
|
|
639
|
+
/** @internal */
|
|
640
|
+
export declare const TemplateGetManyFieldMetaInitials$outboundSchema: z.ZodType<TemplateGetManyFieldMetaInitials$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaInitials>;
|
|
641
|
+
export declare function templateGetManyFieldMetaInitialsToJSON(templateGetManyFieldMetaInitials: TemplateGetManyFieldMetaInitials): string;
|
|
642
|
+
export declare function templateGetManyFieldMetaInitialsFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaInitials, SDKValidationError>;
|
|
643
|
+
/** @internal */
|
|
644
|
+
export declare const TemplateGetManyFieldMetaSignature$inboundSchema: z.ZodType<TemplateGetManyFieldMetaSignature, z.ZodTypeDef, unknown>;
|
|
645
|
+
/** @internal */
|
|
646
|
+
export type TemplateGetManyFieldMetaSignature$Outbound = {
|
|
647
|
+
label?: string | undefined;
|
|
648
|
+
placeholder?: string | undefined;
|
|
649
|
+
required?: boolean | undefined;
|
|
650
|
+
readOnly?: boolean | undefined;
|
|
651
|
+
fontSize: number;
|
|
652
|
+
type: "signature";
|
|
653
|
+
};
|
|
654
|
+
/** @internal */
|
|
655
|
+
export declare const TemplateGetManyFieldMetaSignature$outboundSchema: z.ZodType<TemplateGetManyFieldMetaSignature$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaSignature>;
|
|
656
|
+
export declare function templateGetManyFieldMetaSignatureToJSON(templateGetManyFieldMetaSignature: TemplateGetManyFieldMetaSignature): string;
|
|
657
|
+
export declare function templateGetManyFieldMetaSignatureFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaSignature, SDKValidationError>;
|
|
658
|
+
/** @internal */
|
|
659
|
+
export declare const TemplateGetManyFieldMetaUnion$inboundSchema: z.ZodType<TemplateGetManyFieldMetaUnion, z.ZodTypeDef, unknown>;
|
|
660
|
+
/** @internal */
|
|
661
|
+
export type TemplateGetManyFieldMetaUnion$Outbound = TemplateGetManyFieldMetaSignature$Outbound | TemplateGetManyFieldMetaInitials$Outbound | TemplateGetManyFieldMetaName$Outbound | TemplateGetManyFieldMetaEmail$Outbound | TemplateGetManyFieldMetaDate$Outbound | TemplateGetManyFieldMetaText$Outbound | TemplateGetManyFieldMetaNumber$Outbound | TemplateGetManyFieldMetaRadio$Outbound | TemplateGetManyFieldMetaCheckbox$Outbound | TemplateGetManyFieldMetaDropdown$Outbound;
|
|
662
|
+
/** @internal */
|
|
663
|
+
export declare const TemplateGetManyFieldMetaUnion$outboundSchema: z.ZodType<TemplateGetManyFieldMetaUnion$Outbound, z.ZodTypeDef, TemplateGetManyFieldMetaUnion>;
|
|
664
|
+
export declare function templateGetManyFieldMetaUnionToJSON(templateGetManyFieldMetaUnion: TemplateGetManyFieldMetaUnion): string;
|
|
665
|
+
export declare function templateGetManyFieldMetaUnionFromJSON(jsonString: string): SafeParseResult<TemplateGetManyFieldMetaUnion, SDKValidationError>;
|
|
666
|
+
/** @internal */
|
|
667
|
+
export declare const TemplateGetManyField$inboundSchema: z.ZodType<TemplateGetManyField, z.ZodTypeDef, unknown>;
|
|
668
|
+
/** @internal */
|
|
669
|
+
export type TemplateGetManyField$Outbound = {
|
|
670
|
+
envelopeId: string;
|
|
671
|
+
envelopeItemId: string;
|
|
672
|
+
type: string;
|
|
673
|
+
id: number;
|
|
674
|
+
secondaryId: string;
|
|
675
|
+
recipientId: number;
|
|
676
|
+
page: number;
|
|
677
|
+
positionX?: any | undefined;
|
|
678
|
+
positionY?: any | undefined;
|
|
679
|
+
width?: any | undefined;
|
|
680
|
+
height?: any | undefined;
|
|
681
|
+
customText: string;
|
|
682
|
+
inserted: boolean;
|
|
683
|
+
fieldMeta: TemplateGetManyFieldMetaSignature$Outbound | TemplateGetManyFieldMetaInitials$Outbound | TemplateGetManyFieldMetaName$Outbound | TemplateGetManyFieldMetaEmail$Outbound | TemplateGetManyFieldMetaDate$Outbound | TemplateGetManyFieldMetaText$Outbound | TemplateGetManyFieldMetaNumber$Outbound | TemplateGetManyFieldMetaRadio$Outbound | TemplateGetManyFieldMetaCheckbox$Outbound | TemplateGetManyFieldMetaDropdown$Outbound | null;
|
|
684
|
+
documentId?: number | null | undefined;
|
|
685
|
+
templateId?: number | null | undefined;
|
|
686
|
+
};
|
|
687
|
+
/** @internal */
|
|
688
|
+
export declare const TemplateGetManyField$outboundSchema: z.ZodType<TemplateGetManyField$Outbound, z.ZodTypeDef, TemplateGetManyField>;
|
|
689
|
+
export declare function templateGetManyFieldToJSON(templateGetManyField: TemplateGetManyField): string;
|
|
690
|
+
export declare function templateGetManyFieldFromJSON(jsonString: string): SafeParseResult<TemplateGetManyField, SDKValidationError>;
|
|
691
|
+
/** @internal */
|
|
692
|
+
export declare const TemplateGetManyRole$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyRole>;
|
|
693
|
+
/** @internal */
|
|
694
|
+
export declare const TemplateGetManyRole$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyRole>;
|
|
695
|
+
/** @internal */
|
|
696
|
+
export declare const TemplateGetManyReadStatus$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyReadStatus>;
|
|
697
|
+
/** @internal */
|
|
698
|
+
export declare const TemplateGetManyReadStatus$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyReadStatus>;
|
|
699
|
+
/** @internal */
|
|
700
|
+
export declare const TemplateGetManySigningStatus$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManySigningStatus>;
|
|
701
|
+
/** @internal */
|
|
702
|
+
export declare const TemplateGetManySigningStatus$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManySigningStatus>;
|
|
703
|
+
/** @internal */
|
|
704
|
+
export declare const TemplateGetManySendStatus$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManySendStatus>;
|
|
705
|
+
/** @internal */
|
|
706
|
+
export declare const TemplateGetManySendStatus$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManySendStatus>;
|
|
707
|
+
/** @internal */
|
|
708
|
+
export declare const TemplateGetManyAccessAuth$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyAccessAuth>;
|
|
709
|
+
/** @internal */
|
|
710
|
+
export declare const TemplateGetManyAccessAuth$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyAccessAuth>;
|
|
711
|
+
/** @internal */
|
|
712
|
+
export declare const TemplateGetManyActionAuth$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyActionAuth>;
|
|
713
|
+
/** @internal */
|
|
714
|
+
export declare const TemplateGetManyActionAuth$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyActionAuth>;
|
|
715
|
+
/** @internal */
|
|
716
|
+
export declare const TemplateGetManyRecipientAuthOptions$inboundSchema: z.ZodType<TemplateGetManyRecipientAuthOptions, z.ZodTypeDef, unknown>;
|
|
717
|
+
/** @internal */
|
|
718
|
+
export type TemplateGetManyRecipientAuthOptions$Outbound = {
|
|
719
|
+
accessAuth: Array<string>;
|
|
720
|
+
actionAuth: Array<string>;
|
|
721
|
+
};
|
|
722
|
+
/** @internal */
|
|
723
|
+
export declare const TemplateGetManyRecipientAuthOptions$outboundSchema: z.ZodType<TemplateGetManyRecipientAuthOptions$Outbound, z.ZodTypeDef, TemplateGetManyRecipientAuthOptions>;
|
|
724
|
+
export declare function templateGetManyRecipientAuthOptionsToJSON(templateGetManyRecipientAuthOptions: TemplateGetManyRecipientAuthOptions): string;
|
|
725
|
+
export declare function templateGetManyRecipientAuthOptionsFromJSON(jsonString: string): SafeParseResult<TemplateGetManyRecipientAuthOptions, SDKValidationError>;
|
|
726
|
+
/** @internal */
|
|
727
|
+
export declare const TemplateGetManyRecipient$inboundSchema: z.ZodType<TemplateGetManyRecipient, z.ZodTypeDef, unknown>;
|
|
728
|
+
/** @internal */
|
|
729
|
+
export type TemplateGetManyRecipient$Outbound = {
|
|
730
|
+
envelopeId: string;
|
|
731
|
+
role: string;
|
|
732
|
+
readStatus: string;
|
|
733
|
+
signingStatus: string;
|
|
734
|
+
sendStatus: string;
|
|
735
|
+
id: number;
|
|
736
|
+
email: string;
|
|
737
|
+
name: string;
|
|
738
|
+
token: string;
|
|
739
|
+
documentDeletedAt: string | null;
|
|
740
|
+
expired: string | null;
|
|
741
|
+
signedAt: string | null;
|
|
742
|
+
authOptions: TemplateGetManyRecipientAuthOptions$Outbound | null;
|
|
743
|
+
signingOrder: number | null;
|
|
744
|
+
rejectionReason: string | null;
|
|
745
|
+
documentId?: number | null | undefined;
|
|
746
|
+
templateId?: number | null | undefined;
|
|
747
|
+
};
|
|
748
|
+
/** @internal */
|
|
749
|
+
export declare const TemplateGetManyRecipient$outboundSchema: z.ZodType<TemplateGetManyRecipient$Outbound, z.ZodTypeDef, TemplateGetManyRecipient>;
|
|
750
|
+
export declare function templateGetManyRecipientToJSON(templateGetManyRecipient: TemplateGetManyRecipient): string;
|
|
751
|
+
export declare function templateGetManyRecipientFromJSON(jsonString: string): SafeParseResult<TemplateGetManyRecipient, SDKValidationError>;
|
|
752
|
+
/** @internal */
|
|
753
|
+
export declare const TemplateGetManySigningOrder$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManySigningOrder>;
|
|
754
|
+
/** @internal */
|
|
755
|
+
export declare const TemplateGetManySigningOrder$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManySigningOrder>;
|
|
756
|
+
/** @internal */
|
|
757
|
+
export declare const TemplateGetManyDistributionMethod$inboundSchema: z.ZodNativeEnum<typeof TemplateGetManyDistributionMethod>;
|
|
758
|
+
/** @internal */
|
|
759
|
+
export declare const TemplateGetManyDistributionMethod$outboundSchema: z.ZodNativeEnum<typeof TemplateGetManyDistributionMethod>;
|
|
760
|
+
/** @internal */
|
|
761
|
+
export declare const TemplateGetManyTemplateMeta$inboundSchema: z.ZodType<TemplateGetManyTemplateMeta, z.ZodTypeDef, unknown>;
|
|
762
|
+
/** @internal */
|
|
763
|
+
export type TemplateGetManyTemplateMeta$Outbound = {
|
|
764
|
+
signingOrder: string;
|
|
765
|
+
distributionMethod: string;
|
|
766
|
+
};
|
|
767
|
+
/** @internal */
|
|
768
|
+
export declare const TemplateGetManyTemplateMeta$outboundSchema: z.ZodType<TemplateGetManyTemplateMeta$Outbound, z.ZodTypeDef, TemplateGetManyTemplateMeta>;
|
|
769
|
+
export declare function templateGetManyTemplateMetaToJSON(templateGetManyTemplateMeta: TemplateGetManyTemplateMeta): string;
|
|
770
|
+
export declare function templateGetManyTemplateMetaFromJSON(jsonString: string): SafeParseResult<TemplateGetManyTemplateMeta, SDKValidationError>;
|
|
771
|
+
/** @internal */
|
|
772
|
+
export declare const TemplateGetManyDirectLink$inboundSchema: z.ZodType<TemplateGetManyDirectLink, z.ZodTypeDef, unknown>;
|
|
773
|
+
/** @internal */
|
|
774
|
+
export type TemplateGetManyDirectLink$Outbound = {
|
|
775
|
+
token: string;
|
|
776
|
+
enabled: boolean;
|
|
777
|
+
};
|
|
778
|
+
/** @internal */
|
|
779
|
+
export declare const TemplateGetManyDirectLink$outboundSchema: z.ZodType<TemplateGetManyDirectLink$Outbound, z.ZodTypeDef, TemplateGetManyDirectLink>;
|
|
780
|
+
export declare function templateGetManyDirectLinkToJSON(templateGetManyDirectLink: TemplateGetManyDirectLink): string;
|
|
781
|
+
export declare function templateGetManyDirectLinkFromJSON(jsonString: string): SafeParseResult<TemplateGetManyDirectLink, SDKValidationError>;
|
|
782
|
+
/** @internal */
|
|
783
|
+
export declare const TemplateGetManyData$inboundSchema: z.ZodType<TemplateGetManyData, z.ZodTypeDef, unknown>;
|
|
784
|
+
/** @internal */
|
|
785
|
+
export type TemplateGetManyData$Outbound = {
|
|
786
|
+
type: string;
|
|
787
|
+
visibility: string;
|
|
788
|
+
id: number;
|
|
789
|
+
externalId: string | null;
|
|
790
|
+
title: string;
|
|
791
|
+
userId: number;
|
|
792
|
+
teamId: number;
|
|
793
|
+
authOptions: TemplateGetManyAuthOptions$Outbound | null;
|
|
794
|
+
createdAt: string;
|
|
795
|
+
updatedAt: string;
|
|
796
|
+
publicTitle: string;
|
|
797
|
+
publicDescription: string;
|
|
798
|
+
folderId: string | null;
|
|
799
|
+
useLegacyFieldInsertion: boolean;
|
|
800
|
+
envelopeId: string;
|
|
801
|
+
team: TemplateGetManyTeam$Outbound | null;
|
|
802
|
+
fields: Array<TemplateGetManyField$Outbound>;
|
|
803
|
+
recipients: Array<TemplateGetManyRecipient$Outbound>;
|
|
804
|
+
templateMeta: TemplateGetManyTemplateMeta$Outbound | null;
|
|
805
|
+
directLink: TemplateGetManyDirectLink$Outbound | null;
|
|
806
|
+
templateDocumentDataId: string;
|
|
807
|
+
};
|
|
808
|
+
/** @internal */
|
|
809
|
+
export declare const TemplateGetManyData$outboundSchema: z.ZodType<TemplateGetManyData$Outbound, z.ZodTypeDef, TemplateGetManyData>;
|
|
810
|
+
export declare function templateGetManyDataToJSON(templateGetManyData: TemplateGetManyData): string;
|
|
811
|
+
export declare function templateGetManyDataFromJSON(jsonString: string): SafeParseResult<TemplateGetManyData, SDKValidationError>;
|
|
812
|
+
/** @internal */
|
|
813
|
+
export declare const TemplateGetManyResponse$inboundSchema: z.ZodType<TemplateGetManyResponse, z.ZodTypeDef, unknown>;
|
|
814
|
+
/** @internal */
|
|
815
|
+
export type TemplateGetManyResponse$Outbound = {
|
|
816
|
+
data: Array<TemplateGetManyData$Outbound>;
|
|
817
|
+
};
|
|
818
|
+
/** @internal */
|
|
819
|
+
export declare const TemplateGetManyResponse$outboundSchema: z.ZodType<TemplateGetManyResponse$Outbound, z.ZodTypeDef, TemplateGetManyResponse>;
|
|
820
|
+
export declare function templateGetManyResponseToJSON(templateGetManyResponse: TemplateGetManyResponse): string;
|
|
821
|
+
export declare function templateGetManyResponseFromJSON(jsonString: string): SafeParseResult<TemplateGetManyResponse, SDKValidationError>;
|
|
822
|
+
//# sourceMappingURL=templategetmany.d.ts.map
|