@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,958 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.TemplateGetManyValue1$inboundSchema = exports.TemplateGetManyFieldMetaCheckbox$outboundSchema = exports.TemplateGetManyFieldMetaCheckbox$inboundSchema = exports.TemplateGetManyDirection2$outboundSchema = exports.TemplateGetManyDirection2$inboundSchema = exports.TemplateGetManyValue2$outboundSchema = exports.TemplateGetManyValue2$inboundSchema = exports.TemplateGetManyFieldMetaDropdown$outboundSchema = exports.TemplateGetManyFieldMetaDropdown$inboundSchema = exports.TemplateGetManyValue3$outboundSchema = exports.TemplateGetManyValue3$inboundSchema = exports.TemplateGetManyFieldTypeEnum$outboundSchema = exports.TemplateGetManyFieldTypeEnum$inboundSchema = exports.TemplateGetManyTeam$outboundSchema = exports.TemplateGetManyTeam$inboundSchema = exports.TemplateGetManyAuthOptions$outboundSchema = exports.TemplateGetManyAuthOptions$inboundSchema = exports.TemplateGetManyGlobalActionAuth$outboundSchema = exports.TemplateGetManyGlobalActionAuth$inboundSchema = exports.TemplateGetManyGlobalAccessAuth$outboundSchema = exports.TemplateGetManyGlobalAccessAuth$inboundSchema = exports.TemplateGetManyVisibility$outboundSchema = exports.TemplateGetManyVisibility$inboundSchema = exports.TemplateGetManyTypeEnum$outboundSchema = exports.TemplateGetManyTypeEnum$inboundSchema = exports.TemplateGetManyRequest$outboundSchema = exports.TemplateGetManyRequest$inboundSchema = exports.TemplateGetManyDistributionMethod = exports.TemplateGetManySigningOrder = exports.TemplateGetManyActionAuth = exports.TemplateGetManyAccessAuth = exports.TemplateGetManySendStatus = exports.TemplateGetManySigningStatus = exports.TemplateGetManyReadStatus = exports.TemplateGetManyRole = exports.TemplateGetManyTextAlign1 = exports.TemplateGetManyTextAlign2 = exports.TemplateGetManyTextAlign3 = exports.TemplateGetManyTextAlign4 = exports.TemplateGetManyVerticalAlign1 = exports.TemplateGetManyTextAlign5 = exports.TemplateGetManyVerticalAlign2 = exports.TemplateGetManyTextAlign6 = exports.TemplateGetManyDirection1 = exports.TemplateGetManyDirection2 = exports.TemplateGetManyFieldTypeEnum = exports.TemplateGetManyGlobalActionAuth = exports.TemplateGetManyGlobalAccessAuth = exports.TemplateGetManyVisibility = exports.TemplateGetManyTypeEnum = void 0;
|
|
40
|
+
exports.TemplateGetManyActionAuth$inboundSchema = exports.TemplateGetManyAccessAuth$outboundSchema = exports.TemplateGetManyAccessAuth$inboundSchema = exports.TemplateGetManySendStatus$outboundSchema = exports.TemplateGetManySendStatus$inboundSchema = exports.TemplateGetManySigningStatus$outboundSchema = exports.TemplateGetManySigningStatus$inboundSchema = exports.TemplateGetManyReadStatus$outboundSchema = exports.TemplateGetManyReadStatus$inboundSchema = exports.TemplateGetManyRole$outboundSchema = exports.TemplateGetManyRole$inboundSchema = exports.TemplateGetManyField$outboundSchema = exports.TemplateGetManyField$inboundSchema = exports.TemplateGetManyFieldMetaUnion$outboundSchema = exports.TemplateGetManyFieldMetaUnion$inboundSchema = exports.TemplateGetManyFieldMetaSignature$outboundSchema = exports.TemplateGetManyFieldMetaSignature$inboundSchema = exports.TemplateGetManyFieldMetaInitials$outboundSchema = exports.TemplateGetManyFieldMetaInitials$inboundSchema = exports.TemplateGetManyTextAlign1$outboundSchema = exports.TemplateGetManyTextAlign1$inboundSchema = exports.TemplateGetManyFieldMetaName$outboundSchema = exports.TemplateGetManyFieldMetaName$inboundSchema = exports.TemplateGetManyTextAlign2$outboundSchema = exports.TemplateGetManyTextAlign2$inboundSchema = exports.TemplateGetManyFieldMetaEmail$outboundSchema = exports.TemplateGetManyFieldMetaEmail$inboundSchema = exports.TemplateGetManyTextAlign3$outboundSchema = exports.TemplateGetManyTextAlign3$inboundSchema = exports.TemplateGetManyFieldMetaDate$outboundSchema = exports.TemplateGetManyFieldMetaDate$inboundSchema = exports.TemplateGetManyTextAlign4$outboundSchema = exports.TemplateGetManyTextAlign4$inboundSchema = exports.TemplateGetManyFieldMetaText$outboundSchema = exports.TemplateGetManyFieldMetaText$inboundSchema = exports.TemplateGetManyVerticalAlign1$outboundSchema = exports.TemplateGetManyVerticalAlign1$inboundSchema = exports.TemplateGetManyTextAlign5$outboundSchema = exports.TemplateGetManyTextAlign5$inboundSchema = exports.TemplateGetManyFieldMetaNumber$outboundSchema = exports.TemplateGetManyFieldMetaNumber$inboundSchema = exports.TemplateGetManyVerticalAlign2$outboundSchema = exports.TemplateGetManyVerticalAlign2$inboundSchema = exports.TemplateGetManyTextAlign6$outboundSchema = exports.TemplateGetManyTextAlign6$inboundSchema = exports.TemplateGetManyFieldMetaRadio$outboundSchema = exports.TemplateGetManyFieldMetaRadio$inboundSchema = exports.TemplateGetManyDirection1$outboundSchema = exports.TemplateGetManyDirection1$inboundSchema = exports.TemplateGetManyValue1$outboundSchema = void 0;
|
|
41
|
+
exports.TemplateGetManyResponse$outboundSchema = exports.TemplateGetManyResponse$inboundSchema = exports.TemplateGetManyData$outboundSchema = exports.TemplateGetManyData$inboundSchema = exports.TemplateGetManyDirectLink$outboundSchema = exports.TemplateGetManyDirectLink$inboundSchema = exports.TemplateGetManyTemplateMeta$outboundSchema = exports.TemplateGetManyTemplateMeta$inboundSchema = exports.TemplateGetManyDistributionMethod$outboundSchema = exports.TemplateGetManyDistributionMethod$inboundSchema = exports.TemplateGetManySigningOrder$outboundSchema = exports.TemplateGetManySigningOrder$inboundSchema = exports.TemplateGetManyRecipient$outboundSchema = exports.TemplateGetManyRecipient$inboundSchema = exports.TemplateGetManyRecipientAuthOptions$outboundSchema = exports.TemplateGetManyRecipientAuthOptions$inboundSchema = exports.TemplateGetManyActionAuth$outboundSchema = void 0;
|
|
42
|
+
exports.templateGetManyRequestToJSON = templateGetManyRequestToJSON;
|
|
43
|
+
exports.templateGetManyRequestFromJSON = templateGetManyRequestFromJSON;
|
|
44
|
+
exports.templateGetManyAuthOptionsToJSON = templateGetManyAuthOptionsToJSON;
|
|
45
|
+
exports.templateGetManyAuthOptionsFromJSON = templateGetManyAuthOptionsFromJSON;
|
|
46
|
+
exports.templateGetManyTeamToJSON = templateGetManyTeamToJSON;
|
|
47
|
+
exports.templateGetManyTeamFromJSON = templateGetManyTeamFromJSON;
|
|
48
|
+
exports.templateGetManyValue3ToJSON = templateGetManyValue3ToJSON;
|
|
49
|
+
exports.templateGetManyValue3FromJSON = templateGetManyValue3FromJSON;
|
|
50
|
+
exports.templateGetManyFieldMetaDropdownToJSON = templateGetManyFieldMetaDropdownToJSON;
|
|
51
|
+
exports.templateGetManyFieldMetaDropdownFromJSON = templateGetManyFieldMetaDropdownFromJSON;
|
|
52
|
+
exports.templateGetManyValue2ToJSON = templateGetManyValue2ToJSON;
|
|
53
|
+
exports.templateGetManyValue2FromJSON = templateGetManyValue2FromJSON;
|
|
54
|
+
exports.templateGetManyFieldMetaCheckboxToJSON = templateGetManyFieldMetaCheckboxToJSON;
|
|
55
|
+
exports.templateGetManyFieldMetaCheckboxFromJSON = templateGetManyFieldMetaCheckboxFromJSON;
|
|
56
|
+
exports.templateGetManyValue1ToJSON = templateGetManyValue1ToJSON;
|
|
57
|
+
exports.templateGetManyValue1FromJSON = templateGetManyValue1FromJSON;
|
|
58
|
+
exports.templateGetManyFieldMetaRadioToJSON = templateGetManyFieldMetaRadioToJSON;
|
|
59
|
+
exports.templateGetManyFieldMetaRadioFromJSON = templateGetManyFieldMetaRadioFromJSON;
|
|
60
|
+
exports.templateGetManyFieldMetaNumberToJSON = templateGetManyFieldMetaNumberToJSON;
|
|
61
|
+
exports.templateGetManyFieldMetaNumberFromJSON = templateGetManyFieldMetaNumberFromJSON;
|
|
62
|
+
exports.templateGetManyFieldMetaTextToJSON = templateGetManyFieldMetaTextToJSON;
|
|
63
|
+
exports.templateGetManyFieldMetaTextFromJSON = templateGetManyFieldMetaTextFromJSON;
|
|
64
|
+
exports.templateGetManyFieldMetaDateToJSON = templateGetManyFieldMetaDateToJSON;
|
|
65
|
+
exports.templateGetManyFieldMetaDateFromJSON = templateGetManyFieldMetaDateFromJSON;
|
|
66
|
+
exports.templateGetManyFieldMetaEmailToJSON = templateGetManyFieldMetaEmailToJSON;
|
|
67
|
+
exports.templateGetManyFieldMetaEmailFromJSON = templateGetManyFieldMetaEmailFromJSON;
|
|
68
|
+
exports.templateGetManyFieldMetaNameToJSON = templateGetManyFieldMetaNameToJSON;
|
|
69
|
+
exports.templateGetManyFieldMetaNameFromJSON = templateGetManyFieldMetaNameFromJSON;
|
|
70
|
+
exports.templateGetManyFieldMetaInitialsToJSON = templateGetManyFieldMetaInitialsToJSON;
|
|
71
|
+
exports.templateGetManyFieldMetaInitialsFromJSON = templateGetManyFieldMetaInitialsFromJSON;
|
|
72
|
+
exports.templateGetManyFieldMetaSignatureToJSON = templateGetManyFieldMetaSignatureToJSON;
|
|
73
|
+
exports.templateGetManyFieldMetaSignatureFromJSON = templateGetManyFieldMetaSignatureFromJSON;
|
|
74
|
+
exports.templateGetManyFieldMetaUnionToJSON = templateGetManyFieldMetaUnionToJSON;
|
|
75
|
+
exports.templateGetManyFieldMetaUnionFromJSON = templateGetManyFieldMetaUnionFromJSON;
|
|
76
|
+
exports.templateGetManyFieldToJSON = templateGetManyFieldToJSON;
|
|
77
|
+
exports.templateGetManyFieldFromJSON = templateGetManyFieldFromJSON;
|
|
78
|
+
exports.templateGetManyRecipientAuthOptionsToJSON = templateGetManyRecipientAuthOptionsToJSON;
|
|
79
|
+
exports.templateGetManyRecipientAuthOptionsFromJSON = templateGetManyRecipientAuthOptionsFromJSON;
|
|
80
|
+
exports.templateGetManyRecipientToJSON = templateGetManyRecipientToJSON;
|
|
81
|
+
exports.templateGetManyRecipientFromJSON = templateGetManyRecipientFromJSON;
|
|
82
|
+
exports.templateGetManyTemplateMetaToJSON = templateGetManyTemplateMetaToJSON;
|
|
83
|
+
exports.templateGetManyTemplateMetaFromJSON = templateGetManyTemplateMetaFromJSON;
|
|
84
|
+
exports.templateGetManyDirectLinkToJSON = templateGetManyDirectLinkToJSON;
|
|
85
|
+
exports.templateGetManyDirectLinkFromJSON = templateGetManyDirectLinkFromJSON;
|
|
86
|
+
exports.templateGetManyDataToJSON = templateGetManyDataToJSON;
|
|
87
|
+
exports.templateGetManyDataFromJSON = templateGetManyDataFromJSON;
|
|
88
|
+
exports.templateGetManyResponseToJSON = templateGetManyResponseToJSON;
|
|
89
|
+
exports.templateGetManyResponseFromJSON = templateGetManyResponseFromJSON;
|
|
90
|
+
const z = __importStar(require("zod/v3"));
|
|
91
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
92
|
+
exports.TemplateGetManyTypeEnum = {
|
|
93
|
+
Public: "PUBLIC",
|
|
94
|
+
Private: "PRIVATE",
|
|
95
|
+
};
|
|
96
|
+
exports.TemplateGetManyVisibility = {
|
|
97
|
+
Everyone: "EVERYONE",
|
|
98
|
+
ManagerAndAbove: "MANAGER_AND_ABOVE",
|
|
99
|
+
Admin: "ADMIN",
|
|
100
|
+
};
|
|
101
|
+
exports.TemplateGetManyGlobalAccessAuth = {
|
|
102
|
+
Account: "ACCOUNT",
|
|
103
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
104
|
+
};
|
|
105
|
+
exports.TemplateGetManyGlobalActionAuth = {
|
|
106
|
+
Account: "ACCOUNT",
|
|
107
|
+
Passkey: "PASSKEY",
|
|
108
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
109
|
+
Password: "PASSWORD",
|
|
110
|
+
};
|
|
111
|
+
exports.TemplateGetManyFieldTypeEnum = {
|
|
112
|
+
Signature: "SIGNATURE",
|
|
113
|
+
FreeSignature: "FREE_SIGNATURE",
|
|
114
|
+
Initials: "INITIALS",
|
|
115
|
+
Name: "NAME",
|
|
116
|
+
Email: "EMAIL",
|
|
117
|
+
Date: "DATE",
|
|
118
|
+
Text: "TEXT",
|
|
119
|
+
Number: "NUMBER",
|
|
120
|
+
Radio: "RADIO",
|
|
121
|
+
Checkbox: "CHECKBOX",
|
|
122
|
+
Dropdown: "DROPDOWN",
|
|
123
|
+
};
|
|
124
|
+
exports.TemplateGetManyDirection2 = {
|
|
125
|
+
Vertical: "vertical",
|
|
126
|
+
Horizontal: "horizontal",
|
|
127
|
+
};
|
|
128
|
+
exports.TemplateGetManyDirection1 = {
|
|
129
|
+
Vertical: "vertical",
|
|
130
|
+
Horizontal: "horizontal",
|
|
131
|
+
};
|
|
132
|
+
exports.TemplateGetManyTextAlign6 = {
|
|
133
|
+
Left: "left",
|
|
134
|
+
Center: "center",
|
|
135
|
+
Right: "right",
|
|
136
|
+
};
|
|
137
|
+
exports.TemplateGetManyVerticalAlign2 = {
|
|
138
|
+
Top: "top",
|
|
139
|
+
Middle: "middle",
|
|
140
|
+
Bottom: "bottom",
|
|
141
|
+
};
|
|
142
|
+
exports.TemplateGetManyTextAlign5 = {
|
|
143
|
+
Left: "left",
|
|
144
|
+
Center: "center",
|
|
145
|
+
Right: "right",
|
|
146
|
+
};
|
|
147
|
+
exports.TemplateGetManyVerticalAlign1 = {
|
|
148
|
+
Top: "top",
|
|
149
|
+
Middle: "middle",
|
|
150
|
+
Bottom: "bottom",
|
|
151
|
+
};
|
|
152
|
+
exports.TemplateGetManyTextAlign4 = {
|
|
153
|
+
Left: "left",
|
|
154
|
+
Center: "center",
|
|
155
|
+
Right: "right",
|
|
156
|
+
};
|
|
157
|
+
exports.TemplateGetManyTextAlign3 = {
|
|
158
|
+
Left: "left",
|
|
159
|
+
Center: "center",
|
|
160
|
+
Right: "right",
|
|
161
|
+
};
|
|
162
|
+
exports.TemplateGetManyTextAlign2 = {
|
|
163
|
+
Left: "left",
|
|
164
|
+
Center: "center",
|
|
165
|
+
Right: "right",
|
|
166
|
+
};
|
|
167
|
+
exports.TemplateGetManyTextAlign1 = {
|
|
168
|
+
Left: "left",
|
|
169
|
+
Center: "center",
|
|
170
|
+
Right: "right",
|
|
171
|
+
};
|
|
172
|
+
exports.TemplateGetManyRole = {
|
|
173
|
+
Cc: "CC",
|
|
174
|
+
Signer: "SIGNER",
|
|
175
|
+
Viewer: "VIEWER",
|
|
176
|
+
Approver: "APPROVER",
|
|
177
|
+
Assistant: "ASSISTANT",
|
|
178
|
+
};
|
|
179
|
+
exports.TemplateGetManyReadStatus = {
|
|
180
|
+
NotOpened: "NOT_OPENED",
|
|
181
|
+
Opened: "OPENED",
|
|
182
|
+
};
|
|
183
|
+
exports.TemplateGetManySigningStatus = {
|
|
184
|
+
NotSigned: "NOT_SIGNED",
|
|
185
|
+
Signed: "SIGNED",
|
|
186
|
+
Rejected: "REJECTED",
|
|
187
|
+
};
|
|
188
|
+
exports.TemplateGetManySendStatus = {
|
|
189
|
+
NotSent: "NOT_SENT",
|
|
190
|
+
Sent: "SENT",
|
|
191
|
+
};
|
|
192
|
+
exports.TemplateGetManyAccessAuth = {
|
|
193
|
+
Account: "ACCOUNT",
|
|
194
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
195
|
+
};
|
|
196
|
+
exports.TemplateGetManyActionAuth = {
|
|
197
|
+
Account: "ACCOUNT",
|
|
198
|
+
Passkey: "PASSKEY",
|
|
199
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
200
|
+
Password: "PASSWORD",
|
|
201
|
+
ExplicitNone: "EXPLICIT_NONE",
|
|
202
|
+
};
|
|
203
|
+
exports.TemplateGetManySigningOrder = {
|
|
204
|
+
Parallel: "PARALLEL",
|
|
205
|
+
Sequential: "SEQUENTIAL",
|
|
206
|
+
};
|
|
207
|
+
exports.TemplateGetManyDistributionMethod = {
|
|
208
|
+
Email: "EMAIL",
|
|
209
|
+
None: "NONE",
|
|
210
|
+
};
|
|
211
|
+
/** @internal */
|
|
212
|
+
exports.TemplateGetManyRequest$inboundSchema = z.object({
|
|
213
|
+
templateIds: z.array(z.number()),
|
|
214
|
+
});
|
|
215
|
+
/** @internal */
|
|
216
|
+
exports.TemplateGetManyRequest$outboundSchema = z.object({
|
|
217
|
+
templateIds: z.array(z.number()),
|
|
218
|
+
});
|
|
219
|
+
function templateGetManyRequestToJSON(templateGetManyRequest) {
|
|
220
|
+
return JSON.stringify(exports.TemplateGetManyRequest$outboundSchema.parse(templateGetManyRequest));
|
|
221
|
+
}
|
|
222
|
+
function templateGetManyRequestFromJSON(jsonString) {
|
|
223
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyRequest' from JSON`);
|
|
224
|
+
}
|
|
225
|
+
/** @internal */
|
|
226
|
+
exports.TemplateGetManyTypeEnum$inboundSchema = z.nativeEnum(exports.TemplateGetManyTypeEnum);
|
|
227
|
+
/** @internal */
|
|
228
|
+
exports.TemplateGetManyTypeEnum$outboundSchema = exports.TemplateGetManyTypeEnum$inboundSchema;
|
|
229
|
+
/** @internal */
|
|
230
|
+
exports.TemplateGetManyVisibility$inboundSchema = z.nativeEnum(exports.TemplateGetManyVisibility);
|
|
231
|
+
/** @internal */
|
|
232
|
+
exports.TemplateGetManyVisibility$outboundSchema = exports.TemplateGetManyVisibility$inboundSchema;
|
|
233
|
+
/** @internal */
|
|
234
|
+
exports.TemplateGetManyGlobalAccessAuth$inboundSchema = z.nativeEnum(exports.TemplateGetManyGlobalAccessAuth);
|
|
235
|
+
/** @internal */
|
|
236
|
+
exports.TemplateGetManyGlobalAccessAuth$outboundSchema = exports.TemplateGetManyGlobalAccessAuth$inboundSchema;
|
|
237
|
+
/** @internal */
|
|
238
|
+
exports.TemplateGetManyGlobalActionAuth$inboundSchema = z.nativeEnum(exports.TemplateGetManyGlobalActionAuth);
|
|
239
|
+
/** @internal */
|
|
240
|
+
exports.TemplateGetManyGlobalActionAuth$outboundSchema = exports.TemplateGetManyGlobalActionAuth$inboundSchema;
|
|
241
|
+
/** @internal */
|
|
242
|
+
exports.TemplateGetManyAuthOptions$inboundSchema = z.object({
|
|
243
|
+
globalAccessAuth: z.array(exports.TemplateGetManyGlobalAccessAuth$inboundSchema),
|
|
244
|
+
globalActionAuth: z.array(exports.TemplateGetManyGlobalActionAuth$inboundSchema),
|
|
245
|
+
});
|
|
246
|
+
/** @internal */
|
|
247
|
+
exports.TemplateGetManyAuthOptions$outboundSchema = z.object({
|
|
248
|
+
globalAccessAuth: z.array(exports.TemplateGetManyGlobalAccessAuth$outboundSchema),
|
|
249
|
+
globalActionAuth: z.array(exports.TemplateGetManyGlobalActionAuth$outboundSchema),
|
|
250
|
+
});
|
|
251
|
+
function templateGetManyAuthOptionsToJSON(templateGetManyAuthOptions) {
|
|
252
|
+
return JSON.stringify(exports.TemplateGetManyAuthOptions$outboundSchema.parse(templateGetManyAuthOptions));
|
|
253
|
+
}
|
|
254
|
+
function templateGetManyAuthOptionsFromJSON(jsonString) {
|
|
255
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyAuthOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyAuthOptions' from JSON`);
|
|
256
|
+
}
|
|
257
|
+
/** @internal */
|
|
258
|
+
exports.TemplateGetManyTeam$inboundSchema = z.object({
|
|
259
|
+
id: z.number(),
|
|
260
|
+
url: z.string(),
|
|
261
|
+
});
|
|
262
|
+
/** @internal */
|
|
263
|
+
exports.TemplateGetManyTeam$outboundSchema = z.object({
|
|
264
|
+
id: z.number(),
|
|
265
|
+
url: z.string(),
|
|
266
|
+
});
|
|
267
|
+
function templateGetManyTeamToJSON(templateGetManyTeam) {
|
|
268
|
+
return JSON.stringify(exports.TemplateGetManyTeam$outboundSchema.parse(templateGetManyTeam));
|
|
269
|
+
}
|
|
270
|
+
function templateGetManyTeamFromJSON(jsonString) {
|
|
271
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyTeam$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyTeam' from JSON`);
|
|
272
|
+
}
|
|
273
|
+
/** @internal */
|
|
274
|
+
exports.TemplateGetManyFieldTypeEnum$inboundSchema = z.nativeEnum(exports.TemplateGetManyFieldTypeEnum);
|
|
275
|
+
/** @internal */
|
|
276
|
+
exports.TemplateGetManyFieldTypeEnum$outboundSchema = exports.TemplateGetManyFieldTypeEnum$inboundSchema;
|
|
277
|
+
/** @internal */
|
|
278
|
+
exports.TemplateGetManyValue3$inboundSchema = z.object({
|
|
279
|
+
value: z.string(),
|
|
280
|
+
});
|
|
281
|
+
/** @internal */
|
|
282
|
+
exports.TemplateGetManyValue3$outboundSchema = z.object({
|
|
283
|
+
value: z.string(),
|
|
284
|
+
});
|
|
285
|
+
function templateGetManyValue3ToJSON(templateGetManyValue3) {
|
|
286
|
+
return JSON.stringify(exports.TemplateGetManyValue3$outboundSchema.parse(templateGetManyValue3));
|
|
287
|
+
}
|
|
288
|
+
function templateGetManyValue3FromJSON(jsonString) {
|
|
289
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyValue3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyValue3' from JSON`);
|
|
290
|
+
}
|
|
291
|
+
/** @internal */
|
|
292
|
+
exports.TemplateGetManyFieldMetaDropdown$inboundSchema = z.object({
|
|
293
|
+
label: z.string().optional(),
|
|
294
|
+
placeholder: z.string().optional(),
|
|
295
|
+
required: z.boolean().optional(),
|
|
296
|
+
readOnly: z.boolean().optional(),
|
|
297
|
+
fontSize: z.number().default(12),
|
|
298
|
+
type: z.literal("dropdown"),
|
|
299
|
+
values: z.array(z.lazy(() => exports.TemplateGetManyValue3$inboundSchema)).optional(),
|
|
300
|
+
defaultValue: z.string().optional(),
|
|
301
|
+
});
|
|
302
|
+
/** @internal */
|
|
303
|
+
exports.TemplateGetManyFieldMetaDropdown$outboundSchema = z.object({
|
|
304
|
+
label: z.string().optional(),
|
|
305
|
+
placeholder: z.string().optional(),
|
|
306
|
+
required: z.boolean().optional(),
|
|
307
|
+
readOnly: z.boolean().optional(),
|
|
308
|
+
fontSize: z.number().default(12),
|
|
309
|
+
type: z.literal("dropdown"),
|
|
310
|
+
values: z.array(z.lazy(() => exports.TemplateGetManyValue3$outboundSchema))
|
|
311
|
+
.optional(),
|
|
312
|
+
defaultValue: z.string().optional(),
|
|
313
|
+
});
|
|
314
|
+
function templateGetManyFieldMetaDropdownToJSON(templateGetManyFieldMetaDropdown) {
|
|
315
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaDropdown$outboundSchema.parse(templateGetManyFieldMetaDropdown));
|
|
316
|
+
}
|
|
317
|
+
function templateGetManyFieldMetaDropdownFromJSON(jsonString) {
|
|
318
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaDropdown$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaDropdown' from JSON`);
|
|
319
|
+
}
|
|
320
|
+
/** @internal */
|
|
321
|
+
exports.TemplateGetManyValue2$inboundSchema = z.object({
|
|
322
|
+
id: z.number(),
|
|
323
|
+
checked: z.boolean(),
|
|
324
|
+
value: z.string(),
|
|
325
|
+
});
|
|
326
|
+
/** @internal */
|
|
327
|
+
exports.TemplateGetManyValue2$outboundSchema = z.object({
|
|
328
|
+
id: z.number(),
|
|
329
|
+
checked: z.boolean(),
|
|
330
|
+
value: z.string(),
|
|
331
|
+
});
|
|
332
|
+
function templateGetManyValue2ToJSON(templateGetManyValue2) {
|
|
333
|
+
return JSON.stringify(exports.TemplateGetManyValue2$outboundSchema.parse(templateGetManyValue2));
|
|
334
|
+
}
|
|
335
|
+
function templateGetManyValue2FromJSON(jsonString) {
|
|
336
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyValue2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyValue2' from JSON`);
|
|
337
|
+
}
|
|
338
|
+
/** @internal */
|
|
339
|
+
exports.TemplateGetManyDirection2$inboundSchema = z.nativeEnum(exports.TemplateGetManyDirection2);
|
|
340
|
+
/** @internal */
|
|
341
|
+
exports.TemplateGetManyDirection2$outboundSchema = exports.TemplateGetManyDirection2$inboundSchema;
|
|
342
|
+
/** @internal */
|
|
343
|
+
exports.TemplateGetManyFieldMetaCheckbox$inboundSchema = z.object({
|
|
344
|
+
label: z.string().optional(),
|
|
345
|
+
placeholder: z.string().optional(),
|
|
346
|
+
required: z.boolean().optional(),
|
|
347
|
+
readOnly: z.boolean().optional(),
|
|
348
|
+
fontSize: z.number().default(12),
|
|
349
|
+
type: z.literal("checkbox"),
|
|
350
|
+
values: z.array(z.lazy(() => exports.TemplateGetManyValue2$inboundSchema)).optional(),
|
|
351
|
+
validationRule: z.string().optional(),
|
|
352
|
+
validationLength: z.number().optional(),
|
|
353
|
+
direction: exports.TemplateGetManyDirection2$inboundSchema.default("vertical"),
|
|
354
|
+
});
|
|
355
|
+
/** @internal */
|
|
356
|
+
exports.TemplateGetManyFieldMetaCheckbox$outboundSchema = z.object({
|
|
357
|
+
label: z.string().optional(),
|
|
358
|
+
placeholder: z.string().optional(),
|
|
359
|
+
required: z.boolean().optional(),
|
|
360
|
+
readOnly: z.boolean().optional(),
|
|
361
|
+
fontSize: z.number().default(12),
|
|
362
|
+
type: z.literal("checkbox"),
|
|
363
|
+
values: z.array(z.lazy(() => exports.TemplateGetManyValue2$outboundSchema))
|
|
364
|
+
.optional(),
|
|
365
|
+
validationRule: z.string().optional(),
|
|
366
|
+
validationLength: z.number().optional(),
|
|
367
|
+
direction: exports.TemplateGetManyDirection2$outboundSchema.default("vertical"),
|
|
368
|
+
});
|
|
369
|
+
function templateGetManyFieldMetaCheckboxToJSON(templateGetManyFieldMetaCheckbox) {
|
|
370
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaCheckbox$outboundSchema.parse(templateGetManyFieldMetaCheckbox));
|
|
371
|
+
}
|
|
372
|
+
function templateGetManyFieldMetaCheckboxFromJSON(jsonString) {
|
|
373
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaCheckbox$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaCheckbox' from JSON`);
|
|
374
|
+
}
|
|
375
|
+
/** @internal */
|
|
376
|
+
exports.TemplateGetManyValue1$inboundSchema = z.object({
|
|
377
|
+
id: z.number(),
|
|
378
|
+
checked: z.boolean(),
|
|
379
|
+
value: z.string(),
|
|
380
|
+
});
|
|
381
|
+
/** @internal */
|
|
382
|
+
exports.TemplateGetManyValue1$outboundSchema = z.object({
|
|
383
|
+
id: z.number(),
|
|
384
|
+
checked: z.boolean(),
|
|
385
|
+
value: z.string(),
|
|
386
|
+
});
|
|
387
|
+
function templateGetManyValue1ToJSON(templateGetManyValue1) {
|
|
388
|
+
return JSON.stringify(exports.TemplateGetManyValue1$outboundSchema.parse(templateGetManyValue1));
|
|
389
|
+
}
|
|
390
|
+
function templateGetManyValue1FromJSON(jsonString) {
|
|
391
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyValue1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyValue1' from JSON`);
|
|
392
|
+
}
|
|
393
|
+
/** @internal */
|
|
394
|
+
exports.TemplateGetManyDirection1$inboundSchema = z.nativeEnum(exports.TemplateGetManyDirection1);
|
|
395
|
+
/** @internal */
|
|
396
|
+
exports.TemplateGetManyDirection1$outboundSchema = exports.TemplateGetManyDirection1$inboundSchema;
|
|
397
|
+
/** @internal */
|
|
398
|
+
exports.TemplateGetManyFieldMetaRadio$inboundSchema = z.object({
|
|
399
|
+
label: z.string().optional(),
|
|
400
|
+
placeholder: z.string().optional(),
|
|
401
|
+
required: z.boolean().optional(),
|
|
402
|
+
readOnly: z.boolean().optional(),
|
|
403
|
+
fontSize: z.number().default(12),
|
|
404
|
+
type: z.literal("radio"),
|
|
405
|
+
values: z.array(z.lazy(() => exports.TemplateGetManyValue1$inboundSchema)).optional(),
|
|
406
|
+
direction: exports.TemplateGetManyDirection1$inboundSchema.default("vertical"),
|
|
407
|
+
});
|
|
408
|
+
/** @internal */
|
|
409
|
+
exports.TemplateGetManyFieldMetaRadio$outboundSchema = z.object({
|
|
410
|
+
label: z.string().optional(),
|
|
411
|
+
placeholder: z.string().optional(),
|
|
412
|
+
required: z.boolean().optional(),
|
|
413
|
+
readOnly: z.boolean().optional(),
|
|
414
|
+
fontSize: z.number().default(12),
|
|
415
|
+
type: z.literal("radio"),
|
|
416
|
+
values: z.array(z.lazy(() => exports.TemplateGetManyValue1$outboundSchema))
|
|
417
|
+
.optional(),
|
|
418
|
+
direction: exports.TemplateGetManyDirection1$outboundSchema.default("vertical"),
|
|
419
|
+
});
|
|
420
|
+
function templateGetManyFieldMetaRadioToJSON(templateGetManyFieldMetaRadio) {
|
|
421
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaRadio$outboundSchema.parse(templateGetManyFieldMetaRadio));
|
|
422
|
+
}
|
|
423
|
+
function templateGetManyFieldMetaRadioFromJSON(jsonString) {
|
|
424
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaRadio$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaRadio' from JSON`);
|
|
425
|
+
}
|
|
426
|
+
/** @internal */
|
|
427
|
+
exports.TemplateGetManyTextAlign6$inboundSchema = z.nativeEnum(exports.TemplateGetManyTextAlign6);
|
|
428
|
+
/** @internal */
|
|
429
|
+
exports.TemplateGetManyTextAlign6$outboundSchema = exports.TemplateGetManyTextAlign6$inboundSchema;
|
|
430
|
+
/** @internal */
|
|
431
|
+
exports.TemplateGetManyVerticalAlign2$inboundSchema = z.nativeEnum(exports.TemplateGetManyVerticalAlign2);
|
|
432
|
+
/** @internal */
|
|
433
|
+
exports.TemplateGetManyVerticalAlign2$outboundSchema = exports.TemplateGetManyVerticalAlign2$inboundSchema;
|
|
434
|
+
/** @internal */
|
|
435
|
+
exports.TemplateGetManyFieldMetaNumber$inboundSchema = z.object({
|
|
436
|
+
label: z.string().optional(),
|
|
437
|
+
placeholder: z.string().optional(),
|
|
438
|
+
required: z.boolean().optional(),
|
|
439
|
+
readOnly: z.boolean().optional(),
|
|
440
|
+
fontSize: z.number().default(12),
|
|
441
|
+
type: z.literal("number"),
|
|
442
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
443
|
+
value: z.string().optional(),
|
|
444
|
+
minValue: z.nullable(z.number()).optional(),
|
|
445
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
446
|
+
textAlign: exports.TemplateGetManyTextAlign6$inboundSchema.optional(),
|
|
447
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
448
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
449
|
+
verticalAlign: z.nullable(exports.TemplateGetManyVerticalAlign2$inboundSchema)
|
|
450
|
+
.optional(),
|
|
451
|
+
});
|
|
452
|
+
/** @internal */
|
|
453
|
+
exports.TemplateGetManyFieldMetaNumber$outboundSchema = z.object({
|
|
454
|
+
label: z.string().optional(),
|
|
455
|
+
placeholder: z.string().optional(),
|
|
456
|
+
required: z.boolean().optional(),
|
|
457
|
+
readOnly: z.boolean().optional(),
|
|
458
|
+
fontSize: z.number().default(12),
|
|
459
|
+
type: z.literal("number"),
|
|
460
|
+
numberFormat: z.nullable(z.string()).optional(),
|
|
461
|
+
value: z.string().optional(),
|
|
462
|
+
minValue: z.nullable(z.number()).optional(),
|
|
463
|
+
maxValue: z.nullable(z.number()).optional(),
|
|
464
|
+
textAlign: exports.TemplateGetManyTextAlign6$outboundSchema.optional(),
|
|
465
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
466
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
467
|
+
verticalAlign: z.nullable(exports.TemplateGetManyVerticalAlign2$outboundSchema)
|
|
468
|
+
.optional(),
|
|
469
|
+
});
|
|
470
|
+
function templateGetManyFieldMetaNumberToJSON(templateGetManyFieldMetaNumber) {
|
|
471
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaNumber$outboundSchema.parse(templateGetManyFieldMetaNumber));
|
|
472
|
+
}
|
|
473
|
+
function templateGetManyFieldMetaNumberFromJSON(jsonString) {
|
|
474
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaNumber$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaNumber' from JSON`);
|
|
475
|
+
}
|
|
476
|
+
/** @internal */
|
|
477
|
+
exports.TemplateGetManyTextAlign5$inboundSchema = z.nativeEnum(exports.TemplateGetManyTextAlign5);
|
|
478
|
+
/** @internal */
|
|
479
|
+
exports.TemplateGetManyTextAlign5$outboundSchema = exports.TemplateGetManyTextAlign5$inboundSchema;
|
|
480
|
+
/** @internal */
|
|
481
|
+
exports.TemplateGetManyVerticalAlign1$inboundSchema = z.nativeEnum(exports.TemplateGetManyVerticalAlign1);
|
|
482
|
+
/** @internal */
|
|
483
|
+
exports.TemplateGetManyVerticalAlign1$outboundSchema = exports.TemplateGetManyVerticalAlign1$inboundSchema;
|
|
484
|
+
/** @internal */
|
|
485
|
+
exports.TemplateGetManyFieldMetaText$inboundSchema = z.object({
|
|
486
|
+
label: z.string().optional(),
|
|
487
|
+
placeholder: z.string().optional(),
|
|
488
|
+
required: z.boolean().optional(),
|
|
489
|
+
readOnly: z.boolean().optional(),
|
|
490
|
+
fontSize: z.number().default(12),
|
|
491
|
+
type: z.literal("text"),
|
|
492
|
+
text: z.string().optional(),
|
|
493
|
+
characterLimit: z.number().optional(),
|
|
494
|
+
textAlign: exports.TemplateGetManyTextAlign5$inboundSchema.optional(),
|
|
495
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
496
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
497
|
+
verticalAlign: z.nullable(exports.TemplateGetManyVerticalAlign1$inboundSchema)
|
|
498
|
+
.optional(),
|
|
499
|
+
});
|
|
500
|
+
/** @internal */
|
|
501
|
+
exports.TemplateGetManyFieldMetaText$outboundSchema = z.object({
|
|
502
|
+
label: z.string().optional(),
|
|
503
|
+
placeholder: z.string().optional(),
|
|
504
|
+
required: z.boolean().optional(),
|
|
505
|
+
readOnly: z.boolean().optional(),
|
|
506
|
+
fontSize: z.number().default(12),
|
|
507
|
+
type: z.literal("text"),
|
|
508
|
+
text: z.string().optional(),
|
|
509
|
+
characterLimit: z.number().optional(),
|
|
510
|
+
textAlign: exports.TemplateGetManyTextAlign5$outboundSchema.optional(),
|
|
511
|
+
lineHeight: z.nullable(z.number()).optional(),
|
|
512
|
+
letterSpacing: z.nullable(z.number()).optional(),
|
|
513
|
+
verticalAlign: z.nullable(exports.TemplateGetManyVerticalAlign1$outboundSchema)
|
|
514
|
+
.optional(),
|
|
515
|
+
});
|
|
516
|
+
function templateGetManyFieldMetaTextToJSON(templateGetManyFieldMetaText) {
|
|
517
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaText$outboundSchema.parse(templateGetManyFieldMetaText));
|
|
518
|
+
}
|
|
519
|
+
function templateGetManyFieldMetaTextFromJSON(jsonString) {
|
|
520
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaText$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaText' from JSON`);
|
|
521
|
+
}
|
|
522
|
+
/** @internal */
|
|
523
|
+
exports.TemplateGetManyTextAlign4$inboundSchema = z.nativeEnum(exports.TemplateGetManyTextAlign4);
|
|
524
|
+
/** @internal */
|
|
525
|
+
exports.TemplateGetManyTextAlign4$outboundSchema = exports.TemplateGetManyTextAlign4$inboundSchema;
|
|
526
|
+
/** @internal */
|
|
527
|
+
exports.TemplateGetManyFieldMetaDate$inboundSchema = z.object({
|
|
528
|
+
label: z.string().optional(),
|
|
529
|
+
placeholder: z.string().optional(),
|
|
530
|
+
required: z.boolean().optional(),
|
|
531
|
+
readOnly: z.boolean().optional(),
|
|
532
|
+
fontSize: z.number().default(12),
|
|
533
|
+
type: z.literal("date"),
|
|
534
|
+
textAlign: exports.TemplateGetManyTextAlign4$inboundSchema.optional(),
|
|
535
|
+
});
|
|
536
|
+
/** @internal */
|
|
537
|
+
exports.TemplateGetManyFieldMetaDate$outboundSchema = z.object({
|
|
538
|
+
label: z.string().optional(),
|
|
539
|
+
placeholder: z.string().optional(),
|
|
540
|
+
required: z.boolean().optional(),
|
|
541
|
+
readOnly: z.boolean().optional(),
|
|
542
|
+
fontSize: z.number().default(12),
|
|
543
|
+
type: z.literal("date"),
|
|
544
|
+
textAlign: exports.TemplateGetManyTextAlign4$outboundSchema.optional(),
|
|
545
|
+
});
|
|
546
|
+
function templateGetManyFieldMetaDateToJSON(templateGetManyFieldMetaDate) {
|
|
547
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaDate$outboundSchema.parse(templateGetManyFieldMetaDate));
|
|
548
|
+
}
|
|
549
|
+
function templateGetManyFieldMetaDateFromJSON(jsonString) {
|
|
550
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaDate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaDate' from JSON`);
|
|
551
|
+
}
|
|
552
|
+
/** @internal */
|
|
553
|
+
exports.TemplateGetManyTextAlign3$inboundSchema = z.nativeEnum(exports.TemplateGetManyTextAlign3);
|
|
554
|
+
/** @internal */
|
|
555
|
+
exports.TemplateGetManyTextAlign3$outboundSchema = exports.TemplateGetManyTextAlign3$inboundSchema;
|
|
556
|
+
/** @internal */
|
|
557
|
+
exports.TemplateGetManyFieldMetaEmail$inboundSchema = z.object({
|
|
558
|
+
label: z.string().optional(),
|
|
559
|
+
placeholder: z.string().optional(),
|
|
560
|
+
required: z.boolean().optional(),
|
|
561
|
+
readOnly: z.boolean().optional(),
|
|
562
|
+
fontSize: z.number().default(12),
|
|
563
|
+
type: z.literal("email"),
|
|
564
|
+
textAlign: exports.TemplateGetManyTextAlign3$inboundSchema.optional(),
|
|
565
|
+
});
|
|
566
|
+
/** @internal */
|
|
567
|
+
exports.TemplateGetManyFieldMetaEmail$outboundSchema = z.object({
|
|
568
|
+
label: z.string().optional(),
|
|
569
|
+
placeholder: z.string().optional(),
|
|
570
|
+
required: z.boolean().optional(),
|
|
571
|
+
readOnly: z.boolean().optional(),
|
|
572
|
+
fontSize: z.number().default(12),
|
|
573
|
+
type: z.literal("email"),
|
|
574
|
+
textAlign: exports.TemplateGetManyTextAlign3$outboundSchema.optional(),
|
|
575
|
+
});
|
|
576
|
+
function templateGetManyFieldMetaEmailToJSON(templateGetManyFieldMetaEmail) {
|
|
577
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaEmail$outboundSchema.parse(templateGetManyFieldMetaEmail));
|
|
578
|
+
}
|
|
579
|
+
function templateGetManyFieldMetaEmailFromJSON(jsonString) {
|
|
580
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaEmail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaEmail' from JSON`);
|
|
581
|
+
}
|
|
582
|
+
/** @internal */
|
|
583
|
+
exports.TemplateGetManyTextAlign2$inboundSchema = z.nativeEnum(exports.TemplateGetManyTextAlign2);
|
|
584
|
+
/** @internal */
|
|
585
|
+
exports.TemplateGetManyTextAlign2$outboundSchema = exports.TemplateGetManyTextAlign2$inboundSchema;
|
|
586
|
+
/** @internal */
|
|
587
|
+
exports.TemplateGetManyFieldMetaName$inboundSchema = z.object({
|
|
588
|
+
label: z.string().optional(),
|
|
589
|
+
placeholder: z.string().optional(),
|
|
590
|
+
required: z.boolean().optional(),
|
|
591
|
+
readOnly: z.boolean().optional(),
|
|
592
|
+
fontSize: z.number().default(12),
|
|
593
|
+
type: z.literal("name"),
|
|
594
|
+
textAlign: exports.TemplateGetManyTextAlign2$inboundSchema.optional(),
|
|
595
|
+
});
|
|
596
|
+
/** @internal */
|
|
597
|
+
exports.TemplateGetManyFieldMetaName$outboundSchema = z.object({
|
|
598
|
+
label: z.string().optional(),
|
|
599
|
+
placeholder: z.string().optional(),
|
|
600
|
+
required: z.boolean().optional(),
|
|
601
|
+
readOnly: z.boolean().optional(),
|
|
602
|
+
fontSize: z.number().default(12),
|
|
603
|
+
type: z.literal("name"),
|
|
604
|
+
textAlign: exports.TemplateGetManyTextAlign2$outboundSchema.optional(),
|
|
605
|
+
});
|
|
606
|
+
function templateGetManyFieldMetaNameToJSON(templateGetManyFieldMetaName) {
|
|
607
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaName$outboundSchema.parse(templateGetManyFieldMetaName));
|
|
608
|
+
}
|
|
609
|
+
function templateGetManyFieldMetaNameFromJSON(jsonString) {
|
|
610
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaName$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaName' from JSON`);
|
|
611
|
+
}
|
|
612
|
+
/** @internal */
|
|
613
|
+
exports.TemplateGetManyTextAlign1$inboundSchema = z.nativeEnum(exports.TemplateGetManyTextAlign1);
|
|
614
|
+
/** @internal */
|
|
615
|
+
exports.TemplateGetManyTextAlign1$outboundSchema = exports.TemplateGetManyTextAlign1$inboundSchema;
|
|
616
|
+
/** @internal */
|
|
617
|
+
exports.TemplateGetManyFieldMetaInitials$inboundSchema = z.object({
|
|
618
|
+
label: z.string().optional(),
|
|
619
|
+
placeholder: z.string().optional(),
|
|
620
|
+
required: z.boolean().optional(),
|
|
621
|
+
readOnly: z.boolean().optional(),
|
|
622
|
+
fontSize: z.number().default(12),
|
|
623
|
+
type: z.literal("initials"),
|
|
624
|
+
textAlign: exports.TemplateGetManyTextAlign1$inboundSchema.optional(),
|
|
625
|
+
});
|
|
626
|
+
/** @internal */
|
|
627
|
+
exports.TemplateGetManyFieldMetaInitials$outboundSchema = z.object({
|
|
628
|
+
label: z.string().optional(),
|
|
629
|
+
placeholder: z.string().optional(),
|
|
630
|
+
required: z.boolean().optional(),
|
|
631
|
+
readOnly: z.boolean().optional(),
|
|
632
|
+
fontSize: z.number().default(12),
|
|
633
|
+
type: z.literal("initials"),
|
|
634
|
+
textAlign: exports.TemplateGetManyTextAlign1$outboundSchema.optional(),
|
|
635
|
+
});
|
|
636
|
+
function templateGetManyFieldMetaInitialsToJSON(templateGetManyFieldMetaInitials) {
|
|
637
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaInitials$outboundSchema.parse(templateGetManyFieldMetaInitials));
|
|
638
|
+
}
|
|
639
|
+
function templateGetManyFieldMetaInitialsFromJSON(jsonString) {
|
|
640
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaInitials$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaInitials' from JSON`);
|
|
641
|
+
}
|
|
642
|
+
/** @internal */
|
|
643
|
+
exports.TemplateGetManyFieldMetaSignature$inboundSchema = z.object({
|
|
644
|
+
label: z.string().optional(),
|
|
645
|
+
placeholder: z.string().optional(),
|
|
646
|
+
required: z.boolean().optional(),
|
|
647
|
+
readOnly: z.boolean().optional(),
|
|
648
|
+
fontSize: z.number().default(12),
|
|
649
|
+
type: z.literal("signature"),
|
|
650
|
+
});
|
|
651
|
+
/** @internal */
|
|
652
|
+
exports.TemplateGetManyFieldMetaSignature$outboundSchema = z.object({
|
|
653
|
+
label: z.string().optional(),
|
|
654
|
+
placeholder: z.string().optional(),
|
|
655
|
+
required: z.boolean().optional(),
|
|
656
|
+
readOnly: z.boolean().optional(),
|
|
657
|
+
fontSize: z.number().default(12),
|
|
658
|
+
type: z.literal("signature"),
|
|
659
|
+
});
|
|
660
|
+
function templateGetManyFieldMetaSignatureToJSON(templateGetManyFieldMetaSignature) {
|
|
661
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaSignature$outboundSchema.parse(templateGetManyFieldMetaSignature));
|
|
662
|
+
}
|
|
663
|
+
function templateGetManyFieldMetaSignatureFromJSON(jsonString) {
|
|
664
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaSignature$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaSignature' from JSON`);
|
|
665
|
+
}
|
|
666
|
+
/** @internal */
|
|
667
|
+
exports.TemplateGetManyFieldMetaUnion$inboundSchema = z.union([
|
|
668
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaSignature$inboundSchema),
|
|
669
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaInitials$inboundSchema),
|
|
670
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaName$inboundSchema),
|
|
671
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaEmail$inboundSchema),
|
|
672
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDate$inboundSchema),
|
|
673
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaText$inboundSchema),
|
|
674
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaNumber$inboundSchema),
|
|
675
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaRadio$inboundSchema),
|
|
676
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaCheckbox$inboundSchema),
|
|
677
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDropdown$inboundSchema),
|
|
678
|
+
]);
|
|
679
|
+
/** @internal */
|
|
680
|
+
exports.TemplateGetManyFieldMetaUnion$outboundSchema = z.union([
|
|
681
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaSignature$outboundSchema),
|
|
682
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaInitials$outboundSchema),
|
|
683
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaName$outboundSchema),
|
|
684
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaEmail$outboundSchema),
|
|
685
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDate$outboundSchema),
|
|
686
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaText$outboundSchema),
|
|
687
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaNumber$outboundSchema),
|
|
688
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaRadio$outboundSchema),
|
|
689
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaCheckbox$outboundSchema),
|
|
690
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDropdown$outboundSchema),
|
|
691
|
+
]);
|
|
692
|
+
function templateGetManyFieldMetaUnionToJSON(templateGetManyFieldMetaUnion) {
|
|
693
|
+
return JSON.stringify(exports.TemplateGetManyFieldMetaUnion$outboundSchema.parse(templateGetManyFieldMetaUnion));
|
|
694
|
+
}
|
|
695
|
+
function templateGetManyFieldMetaUnionFromJSON(jsonString) {
|
|
696
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyFieldMetaUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyFieldMetaUnion' from JSON`);
|
|
697
|
+
}
|
|
698
|
+
/** @internal */
|
|
699
|
+
exports.TemplateGetManyField$inboundSchema = z.object({
|
|
700
|
+
envelopeId: z.string(),
|
|
701
|
+
envelopeItemId: z.string(),
|
|
702
|
+
type: exports.TemplateGetManyFieldTypeEnum$inboundSchema,
|
|
703
|
+
id: z.number(),
|
|
704
|
+
secondaryId: z.string(),
|
|
705
|
+
recipientId: z.number(),
|
|
706
|
+
page: z.number(),
|
|
707
|
+
positionX: z.any().optional(),
|
|
708
|
+
positionY: z.any().optional(),
|
|
709
|
+
width: z.any().optional(),
|
|
710
|
+
height: z.any().optional(),
|
|
711
|
+
customText: z.string(),
|
|
712
|
+
inserted: z.boolean(),
|
|
713
|
+
fieldMeta: z.nullable(z.union([
|
|
714
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaSignature$inboundSchema),
|
|
715
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaInitials$inboundSchema),
|
|
716
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaName$inboundSchema),
|
|
717
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaEmail$inboundSchema),
|
|
718
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDate$inboundSchema),
|
|
719
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaText$inboundSchema),
|
|
720
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaNumber$inboundSchema),
|
|
721
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaRadio$inboundSchema),
|
|
722
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaCheckbox$inboundSchema),
|
|
723
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDropdown$inboundSchema),
|
|
724
|
+
])),
|
|
725
|
+
documentId: z.nullable(z.number()).optional(),
|
|
726
|
+
templateId: z.nullable(z.number()).optional(),
|
|
727
|
+
});
|
|
728
|
+
/** @internal */
|
|
729
|
+
exports.TemplateGetManyField$outboundSchema = z.object({
|
|
730
|
+
envelopeId: z.string(),
|
|
731
|
+
envelopeItemId: z.string(),
|
|
732
|
+
type: exports.TemplateGetManyFieldTypeEnum$outboundSchema,
|
|
733
|
+
id: z.number(),
|
|
734
|
+
secondaryId: z.string(),
|
|
735
|
+
recipientId: z.number(),
|
|
736
|
+
page: z.number(),
|
|
737
|
+
positionX: z.any().optional(),
|
|
738
|
+
positionY: z.any().optional(),
|
|
739
|
+
width: z.any().optional(),
|
|
740
|
+
height: z.any().optional(),
|
|
741
|
+
customText: z.string(),
|
|
742
|
+
inserted: z.boolean(),
|
|
743
|
+
fieldMeta: z.nullable(z.union([
|
|
744
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaSignature$outboundSchema),
|
|
745
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaInitials$outboundSchema),
|
|
746
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaName$outboundSchema),
|
|
747
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaEmail$outboundSchema),
|
|
748
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDate$outboundSchema),
|
|
749
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaText$outboundSchema),
|
|
750
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaNumber$outboundSchema),
|
|
751
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaRadio$outboundSchema),
|
|
752
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaCheckbox$outboundSchema),
|
|
753
|
+
z.lazy(() => exports.TemplateGetManyFieldMetaDropdown$outboundSchema),
|
|
754
|
+
])),
|
|
755
|
+
documentId: z.nullable(z.number()).optional(),
|
|
756
|
+
templateId: z.nullable(z.number()).optional(),
|
|
757
|
+
});
|
|
758
|
+
function templateGetManyFieldToJSON(templateGetManyField) {
|
|
759
|
+
return JSON.stringify(exports.TemplateGetManyField$outboundSchema.parse(templateGetManyField));
|
|
760
|
+
}
|
|
761
|
+
function templateGetManyFieldFromJSON(jsonString) {
|
|
762
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyField$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyField' from JSON`);
|
|
763
|
+
}
|
|
764
|
+
/** @internal */
|
|
765
|
+
exports.TemplateGetManyRole$inboundSchema = z.nativeEnum(exports.TemplateGetManyRole);
|
|
766
|
+
/** @internal */
|
|
767
|
+
exports.TemplateGetManyRole$outboundSchema = exports.TemplateGetManyRole$inboundSchema;
|
|
768
|
+
/** @internal */
|
|
769
|
+
exports.TemplateGetManyReadStatus$inboundSchema = z.nativeEnum(exports.TemplateGetManyReadStatus);
|
|
770
|
+
/** @internal */
|
|
771
|
+
exports.TemplateGetManyReadStatus$outboundSchema = exports.TemplateGetManyReadStatus$inboundSchema;
|
|
772
|
+
/** @internal */
|
|
773
|
+
exports.TemplateGetManySigningStatus$inboundSchema = z.nativeEnum(exports.TemplateGetManySigningStatus);
|
|
774
|
+
/** @internal */
|
|
775
|
+
exports.TemplateGetManySigningStatus$outboundSchema = exports.TemplateGetManySigningStatus$inboundSchema;
|
|
776
|
+
/** @internal */
|
|
777
|
+
exports.TemplateGetManySendStatus$inboundSchema = z.nativeEnum(exports.TemplateGetManySendStatus);
|
|
778
|
+
/** @internal */
|
|
779
|
+
exports.TemplateGetManySendStatus$outboundSchema = exports.TemplateGetManySendStatus$inboundSchema;
|
|
780
|
+
/** @internal */
|
|
781
|
+
exports.TemplateGetManyAccessAuth$inboundSchema = z.nativeEnum(exports.TemplateGetManyAccessAuth);
|
|
782
|
+
/** @internal */
|
|
783
|
+
exports.TemplateGetManyAccessAuth$outboundSchema = exports.TemplateGetManyAccessAuth$inboundSchema;
|
|
784
|
+
/** @internal */
|
|
785
|
+
exports.TemplateGetManyActionAuth$inboundSchema = z.nativeEnum(exports.TemplateGetManyActionAuth);
|
|
786
|
+
/** @internal */
|
|
787
|
+
exports.TemplateGetManyActionAuth$outboundSchema = exports.TemplateGetManyActionAuth$inboundSchema;
|
|
788
|
+
/** @internal */
|
|
789
|
+
exports.TemplateGetManyRecipientAuthOptions$inboundSchema = z.object({
|
|
790
|
+
accessAuth: z.array(exports.TemplateGetManyAccessAuth$inboundSchema),
|
|
791
|
+
actionAuth: z.array(exports.TemplateGetManyActionAuth$inboundSchema),
|
|
792
|
+
});
|
|
793
|
+
/** @internal */
|
|
794
|
+
exports.TemplateGetManyRecipientAuthOptions$outboundSchema = z.object({
|
|
795
|
+
accessAuth: z.array(exports.TemplateGetManyAccessAuth$outboundSchema),
|
|
796
|
+
actionAuth: z.array(exports.TemplateGetManyActionAuth$outboundSchema),
|
|
797
|
+
});
|
|
798
|
+
function templateGetManyRecipientAuthOptionsToJSON(templateGetManyRecipientAuthOptions) {
|
|
799
|
+
return JSON.stringify(exports.TemplateGetManyRecipientAuthOptions$outboundSchema.parse(templateGetManyRecipientAuthOptions));
|
|
800
|
+
}
|
|
801
|
+
function templateGetManyRecipientAuthOptionsFromJSON(jsonString) {
|
|
802
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyRecipientAuthOptions$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyRecipientAuthOptions' from JSON`);
|
|
803
|
+
}
|
|
804
|
+
/** @internal */
|
|
805
|
+
exports.TemplateGetManyRecipient$inboundSchema = z.object({
|
|
806
|
+
envelopeId: z.string(),
|
|
807
|
+
role: exports.TemplateGetManyRole$inboundSchema,
|
|
808
|
+
readStatus: exports.TemplateGetManyReadStatus$inboundSchema,
|
|
809
|
+
signingStatus: exports.TemplateGetManySigningStatus$inboundSchema,
|
|
810
|
+
sendStatus: exports.TemplateGetManySendStatus$inboundSchema,
|
|
811
|
+
id: z.number(),
|
|
812
|
+
email: z.string(),
|
|
813
|
+
name: z.string(),
|
|
814
|
+
token: z.string(),
|
|
815
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
816
|
+
expired: z.nullable(z.string()),
|
|
817
|
+
signedAt: z.nullable(z.string()),
|
|
818
|
+
authOptions: z.nullable(z.lazy(() => exports.TemplateGetManyRecipientAuthOptions$inboundSchema)),
|
|
819
|
+
signingOrder: z.nullable(z.number()),
|
|
820
|
+
rejectionReason: z.nullable(z.string()),
|
|
821
|
+
documentId: z.nullable(z.number()).optional(),
|
|
822
|
+
templateId: z.nullable(z.number()).optional(),
|
|
823
|
+
});
|
|
824
|
+
/** @internal */
|
|
825
|
+
exports.TemplateGetManyRecipient$outboundSchema = z.object({
|
|
826
|
+
envelopeId: z.string(),
|
|
827
|
+
role: exports.TemplateGetManyRole$outboundSchema,
|
|
828
|
+
readStatus: exports.TemplateGetManyReadStatus$outboundSchema,
|
|
829
|
+
signingStatus: exports.TemplateGetManySigningStatus$outboundSchema,
|
|
830
|
+
sendStatus: exports.TemplateGetManySendStatus$outboundSchema,
|
|
831
|
+
id: z.number(),
|
|
832
|
+
email: z.string(),
|
|
833
|
+
name: z.string(),
|
|
834
|
+
token: z.string(),
|
|
835
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
836
|
+
expired: z.nullable(z.string()),
|
|
837
|
+
signedAt: z.nullable(z.string()),
|
|
838
|
+
authOptions: z.nullable(z.lazy(() => exports.TemplateGetManyRecipientAuthOptions$outboundSchema)),
|
|
839
|
+
signingOrder: z.nullable(z.number()),
|
|
840
|
+
rejectionReason: z.nullable(z.string()),
|
|
841
|
+
documentId: z.nullable(z.number()).optional(),
|
|
842
|
+
templateId: z.nullable(z.number()).optional(),
|
|
843
|
+
});
|
|
844
|
+
function templateGetManyRecipientToJSON(templateGetManyRecipient) {
|
|
845
|
+
return JSON.stringify(exports.TemplateGetManyRecipient$outboundSchema.parse(templateGetManyRecipient));
|
|
846
|
+
}
|
|
847
|
+
function templateGetManyRecipientFromJSON(jsonString) {
|
|
848
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyRecipient$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyRecipient' from JSON`);
|
|
849
|
+
}
|
|
850
|
+
/** @internal */
|
|
851
|
+
exports.TemplateGetManySigningOrder$inboundSchema = z.nativeEnum(exports.TemplateGetManySigningOrder);
|
|
852
|
+
/** @internal */
|
|
853
|
+
exports.TemplateGetManySigningOrder$outboundSchema = exports.TemplateGetManySigningOrder$inboundSchema;
|
|
854
|
+
/** @internal */
|
|
855
|
+
exports.TemplateGetManyDistributionMethod$inboundSchema = z.nativeEnum(exports.TemplateGetManyDistributionMethod);
|
|
856
|
+
/** @internal */
|
|
857
|
+
exports.TemplateGetManyDistributionMethod$outboundSchema = exports.TemplateGetManyDistributionMethod$inboundSchema;
|
|
858
|
+
/** @internal */
|
|
859
|
+
exports.TemplateGetManyTemplateMeta$inboundSchema = z.object({
|
|
860
|
+
signingOrder: exports.TemplateGetManySigningOrder$inboundSchema,
|
|
861
|
+
distributionMethod: exports.TemplateGetManyDistributionMethod$inboundSchema,
|
|
862
|
+
});
|
|
863
|
+
/** @internal */
|
|
864
|
+
exports.TemplateGetManyTemplateMeta$outboundSchema = z.object({
|
|
865
|
+
signingOrder: exports.TemplateGetManySigningOrder$outboundSchema,
|
|
866
|
+
distributionMethod: exports.TemplateGetManyDistributionMethod$outboundSchema,
|
|
867
|
+
});
|
|
868
|
+
function templateGetManyTemplateMetaToJSON(templateGetManyTemplateMeta) {
|
|
869
|
+
return JSON.stringify(exports.TemplateGetManyTemplateMeta$outboundSchema.parse(templateGetManyTemplateMeta));
|
|
870
|
+
}
|
|
871
|
+
function templateGetManyTemplateMetaFromJSON(jsonString) {
|
|
872
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyTemplateMeta$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyTemplateMeta' from JSON`);
|
|
873
|
+
}
|
|
874
|
+
/** @internal */
|
|
875
|
+
exports.TemplateGetManyDirectLink$inboundSchema = z.object({
|
|
876
|
+
token: z.string(),
|
|
877
|
+
enabled: z.boolean(),
|
|
878
|
+
});
|
|
879
|
+
/** @internal */
|
|
880
|
+
exports.TemplateGetManyDirectLink$outboundSchema = z.object({
|
|
881
|
+
token: z.string(),
|
|
882
|
+
enabled: z.boolean(),
|
|
883
|
+
});
|
|
884
|
+
function templateGetManyDirectLinkToJSON(templateGetManyDirectLink) {
|
|
885
|
+
return JSON.stringify(exports.TemplateGetManyDirectLink$outboundSchema.parse(templateGetManyDirectLink));
|
|
886
|
+
}
|
|
887
|
+
function templateGetManyDirectLinkFromJSON(jsonString) {
|
|
888
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyDirectLink$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyDirectLink' from JSON`);
|
|
889
|
+
}
|
|
890
|
+
/** @internal */
|
|
891
|
+
exports.TemplateGetManyData$inboundSchema = z.object({
|
|
892
|
+
type: exports.TemplateGetManyTypeEnum$inboundSchema,
|
|
893
|
+
visibility: exports.TemplateGetManyVisibility$inboundSchema,
|
|
894
|
+
id: z.number(),
|
|
895
|
+
externalId: z.nullable(z.string()),
|
|
896
|
+
title: z.string(),
|
|
897
|
+
userId: z.number(),
|
|
898
|
+
teamId: z.number(),
|
|
899
|
+
authOptions: z.nullable(z.lazy(() => exports.TemplateGetManyAuthOptions$inboundSchema)),
|
|
900
|
+
createdAt: z.string(),
|
|
901
|
+
updatedAt: z.string(),
|
|
902
|
+
publicTitle: z.string(),
|
|
903
|
+
publicDescription: z.string(),
|
|
904
|
+
folderId: z.nullable(z.string()),
|
|
905
|
+
useLegacyFieldInsertion: z.boolean(),
|
|
906
|
+
envelopeId: z.string(),
|
|
907
|
+
team: z.nullable(z.lazy(() => exports.TemplateGetManyTeam$inboundSchema)),
|
|
908
|
+
fields: z.array(z.lazy(() => exports.TemplateGetManyField$inboundSchema)),
|
|
909
|
+
recipients: z.array(z.lazy(() => exports.TemplateGetManyRecipient$inboundSchema)),
|
|
910
|
+
templateMeta: z.nullable(z.lazy(() => exports.TemplateGetManyTemplateMeta$inboundSchema)),
|
|
911
|
+
directLink: z.nullable(z.lazy(() => exports.TemplateGetManyDirectLink$inboundSchema)),
|
|
912
|
+
templateDocumentDataId: z.string().default(""),
|
|
913
|
+
});
|
|
914
|
+
/** @internal */
|
|
915
|
+
exports.TemplateGetManyData$outboundSchema = z.object({
|
|
916
|
+
type: exports.TemplateGetManyTypeEnum$outboundSchema,
|
|
917
|
+
visibility: exports.TemplateGetManyVisibility$outboundSchema,
|
|
918
|
+
id: z.number(),
|
|
919
|
+
externalId: z.nullable(z.string()),
|
|
920
|
+
title: z.string(),
|
|
921
|
+
userId: z.number(),
|
|
922
|
+
teamId: z.number(),
|
|
923
|
+
authOptions: z.nullable(z.lazy(() => exports.TemplateGetManyAuthOptions$outboundSchema)),
|
|
924
|
+
createdAt: z.string(),
|
|
925
|
+
updatedAt: z.string(),
|
|
926
|
+
publicTitle: z.string(),
|
|
927
|
+
publicDescription: z.string(),
|
|
928
|
+
folderId: z.nullable(z.string()),
|
|
929
|
+
useLegacyFieldInsertion: z.boolean(),
|
|
930
|
+
envelopeId: z.string(),
|
|
931
|
+
team: z.nullable(z.lazy(() => exports.TemplateGetManyTeam$outboundSchema)),
|
|
932
|
+
fields: z.array(z.lazy(() => exports.TemplateGetManyField$outboundSchema)),
|
|
933
|
+
recipients: z.array(z.lazy(() => exports.TemplateGetManyRecipient$outboundSchema)),
|
|
934
|
+
templateMeta: z.nullable(z.lazy(() => exports.TemplateGetManyTemplateMeta$outboundSchema)),
|
|
935
|
+
directLink: z.nullable(z.lazy(() => exports.TemplateGetManyDirectLink$outboundSchema)),
|
|
936
|
+
templateDocumentDataId: z.string().default(""),
|
|
937
|
+
});
|
|
938
|
+
function templateGetManyDataToJSON(templateGetManyData) {
|
|
939
|
+
return JSON.stringify(exports.TemplateGetManyData$outboundSchema.parse(templateGetManyData));
|
|
940
|
+
}
|
|
941
|
+
function templateGetManyDataFromJSON(jsonString) {
|
|
942
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyData$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyData' from JSON`);
|
|
943
|
+
}
|
|
944
|
+
/** @internal */
|
|
945
|
+
exports.TemplateGetManyResponse$inboundSchema = z.object({
|
|
946
|
+
data: z.array(z.lazy(() => exports.TemplateGetManyData$inboundSchema)),
|
|
947
|
+
});
|
|
948
|
+
/** @internal */
|
|
949
|
+
exports.TemplateGetManyResponse$outboundSchema = z.object({
|
|
950
|
+
data: z.array(z.lazy(() => exports.TemplateGetManyData$outboundSchema)),
|
|
951
|
+
});
|
|
952
|
+
function templateGetManyResponseToJSON(templateGetManyResponse) {
|
|
953
|
+
return JSON.stringify(exports.TemplateGetManyResponse$outboundSchema.parse(templateGetManyResponse));
|
|
954
|
+
}
|
|
955
|
+
function templateGetManyResponseFromJSON(jsonString) {
|
|
956
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TemplateGetManyResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TemplateGetManyResponse' from JSON`);
|
|
957
|
+
}
|
|
958
|
+
//# sourceMappingURL=templategetmany.js.map
|