@documenso/sdk-typescript 0.1.1
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/.devcontainer/README.md +30 -0
- package/.devcontainer/devcontainer.json +45 -0
- package/FUNCTIONS.md +104 -0
- package/LICENSE +21 -0
- package/README.md +533 -0
- package/RUNTIMES.md +48 -0
- package/core.d.ts +10 -0
- package/core.d.ts.map +1 -0
- package/core.js +17 -0
- package/core.js.map +1 -0
- package/docs/sdks/directlink/README.md +246 -0
- package/docs/sdks/documenso/README.md +7 -0
- package/docs/sdks/documensofields/README.md +480 -0
- package/docs/sdks/documensorecipients/README.md +430 -0
- package/docs/sdks/documensotemplatesfields/README.md +456 -0
- package/docs/sdks/documensotemplatesrecipients/README.md +440 -0
- package/docs/sdks/documents/README.md +724 -0
- package/docs/sdks/fields/README.md +87 -0
- package/docs/sdks/recipients/README.md +87 -0
- package/docs/sdks/templates/README.md +566 -0
- package/funcs/documentsCreateV0.d.ts +16 -0
- package/funcs/documentsCreateV0.d.ts.map +1 -0
- package/funcs/documentsCreateV0.js +112 -0
- package/funcs/documentsCreateV0.js.map +1 -0
- package/funcs/documentsDelete.d.ts +13 -0
- package/funcs/documentsDelete.d.ts.map +1 -0
- package/funcs/documentsDelete.js +109 -0
- package/funcs/documentsDelete.js.map +1 -0
- package/funcs/documentsDistribute.d.ts +16 -0
- package/funcs/documentsDistribute.d.ts.map +1 -0
- package/funcs/documentsDistribute.js +111 -0
- package/funcs/documentsDistribute.js.map +1 -0
- package/funcs/documentsDuplicate.d.ts +13 -0
- package/funcs/documentsDuplicate.d.ts.map +1 -0
- package/funcs/documentsDuplicate.js +108 -0
- package/funcs/documentsDuplicate.js.map +1 -0
- package/funcs/documentsFieldsCreate.d.ts +16 -0
- package/funcs/documentsFieldsCreate.d.ts.map +1 -0
- package/funcs/documentsFieldsCreate.js +111 -0
- package/funcs/documentsFieldsCreate.js.map +1 -0
- package/funcs/documentsFieldsCreateMany.d.ts +16 -0
- package/funcs/documentsFieldsCreateMany.d.ts.map +1 -0
- package/funcs/documentsFieldsCreateMany.js +111 -0
- package/funcs/documentsFieldsCreateMany.js.map +1 -0
- package/funcs/documentsFieldsDelete.d.ts +13 -0
- package/funcs/documentsFieldsDelete.d.ts.map +1 -0
- package/funcs/documentsFieldsDelete.js +109 -0
- package/funcs/documentsFieldsDelete.js.map +1 -0
- package/funcs/documentsFieldsUpdate.d.ts +16 -0
- package/funcs/documentsFieldsUpdate.d.ts.map +1 -0
- package/funcs/documentsFieldsUpdate.js +111 -0
- package/funcs/documentsFieldsUpdate.js.map +1 -0
- package/funcs/documentsFieldsUpdateMany.d.ts +16 -0
- package/funcs/documentsFieldsUpdateMany.d.ts.map +1 -0
- package/funcs/documentsFieldsUpdateMany.js +111 -0
- package/funcs/documentsFieldsUpdateMany.js.map +1 -0
- package/funcs/documentsFind.d.ts +16 -0
- package/funcs/documentsFind.d.ts.map +1 -0
- package/funcs/documentsFind.js +121 -0
- package/funcs/documentsFind.js.map +1 -0
- package/funcs/documentsGet.d.ts +16 -0
- package/funcs/documentsGet.d.ts.map +1 -0
- package/funcs/documentsGet.js +116 -0
- package/funcs/documentsGet.js.map +1 -0
- package/funcs/documentsMoveToTeam.d.ts +16 -0
- package/funcs/documentsMoveToTeam.d.ts.map +1 -0
- package/funcs/documentsMoveToTeam.js +111 -0
- package/funcs/documentsMoveToTeam.js.map +1 -0
- package/funcs/documentsRecipientsCreate.d.ts +16 -0
- package/funcs/documentsRecipientsCreate.d.ts.map +1 -0
- package/funcs/documentsRecipientsCreate.js +112 -0
- package/funcs/documentsRecipientsCreate.js.map +1 -0
- package/funcs/documentsRecipientsCreateMany.d.ts +16 -0
- package/funcs/documentsRecipientsCreateMany.d.ts.map +1 -0
- package/funcs/documentsRecipientsCreateMany.js +112 -0
- package/funcs/documentsRecipientsCreateMany.js.map +1 -0
- package/funcs/documentsRecipientsDelete.d.ts +13 -0
- package/funcs/documentsRecipientsDelete.d.ts.map +1 -0
- package/funcs/documentsRecipientsDelete.js +110 -0
- package/funcs/documentsRecipientsDelete.js.map +1 -0
- package/funcs/documentsRecipientsUpdate.d.ts +16 -0
- package/funcs/documentsRecipientsUpdate.d.ts.map +1 -0
- package/funcs/documentsRecipientsUpdate.js +112 -0
- package/funcs/documentsRecipientsUpdate.js.map +1 -0
- package/funcs/documentsRecipientsUpdateMany.d.ts +16 -0
- package/funcs/documentsRecipientsUpdateMany.d.ts.map +1 -0
- package/funcs/documentsRecipientsUpdateMany.js +112 -0
- package/funcs/documentsRecipientsUpdateMany.js.map +1 -0
- package/funcs/documentsRedistribute.d.ts +16 -0
- package/funcs/documentsRedistribute.d.ts.map +1 -0
- package/funcs/documentsRedistribute.js +112 -0
- package/funcs/documentsRedistribute.js.map +1 -0
- package/funcs/documentsUpdate.d.ts +13 -0
- package/funcs/documentsUpdate.d.ts.map +1 -0
- package/funcs/documentsUpdate.js +108 -0
- package/funcs/documentsUpdate.js.map +1 -0
- package/funcs/fieldsGet.d.ts +16 -0
- package/funcs/fieldsGet.d.ts.map +1 -0
- package/funcs/fieldsGet.js +116 -0
- package/funcs/fieldsGet.js.map +1 -0
- package/funcs/recipientsGet.d.ts +16 -0
- package/funcs/recipientsGet.d.ts.map +1 -0
- package/funcs/recipientsGet.js +116 -0
- package/funcs/recipientsGet.js.map +1 -0
- package/funcs/templatesDelete.d.ts +13 -0
- package/funcs/templatesDelete.d.ts.map +1 -0
- package/funcs/templatesDelete.js +109 -0
- package/funcs/templatesDelete.js.map +1 -0
- package/funcs/templatesDirectLinkCreate.d.ts +16 -0
- package/funcs/templatesDirectLinkCreate.d.ts.map +1 -0
- package/funcs/templatesDirectLinkCreate.js +112 -0
- package/funcs/templatesDirectLinkCreate.js.map +1 -0
- package/funcs/templatesDirectLinkDelete.d.ts +16 -0
- package/funcs/templatesDirectLinkDelete.d.ts.map +1 -0
- package/funcs/templatesDirectLinkDelete.js +113 -0
- package/funcs/templatesDirectLinkDelete.js.map +1 -0
- package/funcs/templatesDirectLinkToggle.d.ts +16 -0
- package/funcs/templatesDirectLinkToggle.d.ts.map +1 -0
- package/funcs/templatesDirectLinkToggle.js +112 -0
- package/funcs/templatesDirectLinkToggle.js.map +1 -0
- package/funcs/templatesDuplicate.d.ts +13 -0
- package/funcs/templatesDuplicate.d.ts.map +1 -0
- package/funcs/templatesDuplicate.js +108 -0
- package/funcs/templatesDuplicate.js.map +1 -0
- package/funcs/templatesFieldsCreate.d.ts +16 -0
- package/funcs/templatesFieldsCreate.d.ts.map +1 -0
- package/funcs/templatesFieldsCreate.js +111 -0
- package/funcs/templatesFieldsCreate.js.map +1 -0
- package/funcs/templatesFieldsCreateMany.d.ts +16 -0
- package/funcs/templatesFieldsCreateMany.d.ts.map +1 -0
- package/funcs/templatesFieldsCreateMany.js +111 -0
- package/funcs/templatesFieldsCreateMany.js.map +1 -0
- package/funcs/templatesFieldsDelete.d.ts +13 -0
- package/funcs/templatesFieldsDelete.d.ts.map +1 -0
- package/funcs/templatesFieldsDelete.js +109 -0
- package/funcs/templatesFieldsDelete.js.map +1 -0
- package/funcs/templatesFieldsUpdate.d.ts +16 -0
- package/funcs/templatesFieldsUpdate.d.ts.map +1 -0
- package/funcs/templatesFieldsUpdate.js +111 -0
- package/funcs/templatesFieldsUpdate.js.map +1 -0
- package/funcs/templatesFieldsUpdateMany.d.ts +16 -0
- package/funcs/templatesFieldsUpdateMany.d.ts.map +1 -0
- package/funcs/templatesFieldsUpdateMany.js +111 -0
- package/funcs/templatesFieldsUpdateMany.js.map +1 -0
- package/funcs/templatesFind.d.ts +16 -0
- package/funcs/templatesFind.d.ts.map +1 -0
- package/funcs/templatesFind.js +117 -0
- package/funcs/templatesFind.js.map +1 -0
- package/funcs/templatesGet.d.ts +13 -0
- package/funcs/templatesGet.d.ts.map +1 -0
- package/funcs/templatesGet.js +113 -0
- package/funcs/templatesGet.js.map +1 -0
- package/funcs/templatesMoveToTeam.d.ts +16 -0
- package/funcs/templatesMoveToTeam.d.ts.map +1 -0
- package/funcs/templatesMoveToTeam.js +111 -0
- package/funcs/templatesMoveToTeam.js.map +1 -0
- package/funcs/templatesRecipientsCreate.d.ts +16 -0
- package/funcs/templatesRecipientsCreate.d.ts.map +1 -0
- package/funcs/templatesRecipientsCreate.js +112 -0
- package/funcs/templatesRecipientsCreate.js.map +1 -0
- package/funcs/templatesRecipientsCreateMany.d.ts +16 -0
- package/funcs/templatesRecipientsCreateMany.d.ts.map +1 -0
- package/funcs/templatesRecipientsCreateMany.js +112 -0
- package/funcs/templatesRecipientsCreateMany.js.map +1 -0
- package/funcs/templatesRecipientsDelete.d.ts +13 -0
- package/funcs/templatesRecipientsDelete.d.ts.map +1 -0
- package/funcs/templatesRecipientsDelete.js +110 -0
- package/funcs/templatesRecipientsDelete.js.map +1 -0
- package/funcs/templatesRecipientsUpdate.d.ts +16 -0
- package/funcs/templatesRecipientsUpdate.d.ts.map +1 -0
- package/funcs/templatesRecipientsUpdate.js +112 -0
- package/funcs/templatesRecipientsUpdate.js.map +1 -0
- package/funcs/templatesRecipientsUpdateMany.d.ts +16 -0
- package/funcs/templatesRecipientsUpdateMany.d.ts.map +1 -0
- package/funcs/templatesRecipientsUpdateMany.js +112 -0
- package/funcs/templatesRecipientsUpdateMany.js.map +1 -0
- package/funcs/templatesUpdate.d.ts +13 -0
- package/funcs/templatesUpdate.d.ts.map +1 -0
- package/funcs/templatesUpdate.js +108 -0
- package/funcs/templatesUpdate.js.map +1 -0
- package/funcs/templatesUse.d.ts +16 -0
- package/funcs/templatesUse.d.ts.map +1 -0
- package/funcs/templatesUse.js +112 -0
- package/funcs/templatesUse.js.map +1 -0
- package/hooks/hooks.d.ts +24 -0
- package/hooks/hooks.d.ts.map +1 -0
- package/hooks/hooks.js +86 -0
- package/hooks/hooks.js.map +1 -0
- package/hooks/index.d.ts +3 -0
- package/hooks/index.d.ts.map +1 -0
- package/hooks/index.js +22 -0
- package/hooks/index.js.map +1 -0
- package/hooks/registration.d.ts +3 -0
- package/hooks/registration.d.ts.map +1 -0
- package/hooks/registration.js +15 -0
- package/hooks/registration.js.map +1 -0
- package/hooks/types.d.ts +77 -0
- package/hooks/types.d.ts.map +1 -0
- package/hooks/types.js +6 -0
- package/hooks/types.js.map +1 -0
- package/index.d.ts +4 -0
- package/index.d.ts.map +1 -0
- package/index.js +46 -0
- package/index.js.map +1 -0
- package/jsr.json +27 -0
- package/lib/base64.d.ts +10 -0
- package/lib/base64.d.ts.map +1 -0
- package/lib/base64.js +71 -0
- package/lib/base64.js.map +1 -0
- package/lib/config.d.ts +34 -0
- package/lib/config.d.ts.map +1 -0
- package/lib/config.js +35 -0
- package/lib/config.js.map +1 -0
- package/lib/dlv.d.ts +14 -0
- package/lib/dlv.d.ts.map +1 -0
- package/lib/dlv.js +49 -0
- package/lib/dlv.js.map +1 -0
- package/lib/encodings.d.ts +52 -0
- package/lib/encodings.d.ts.map +1 -0
- package/lib/encodings.js +368 -0
- package/lib/encodings.js.map +1 -0
- package/lib/env.d.ts +15 -0
- package/lib/env.d.ts.map +1 -0
- package/lib/env.js +65 -0
- package/lib/env.js.map +1 -0
- package/lib/files.d.ts +8 -0
- package/lib/files.d.ts.map +1 -0
- package/lib/files.js +36 -0
- package/lib/files.js.map +1 -0
- package/lib/http.d.ts +67 -0
- package/lib/http.d.ts.map +1 -0
- package/lib/http.js +217 -0
- package/lib/http.js.map +1 -0
- package/lib/is-plain-object.d.ts +2 -0
- package/lib/is-plain-object.d.ts.map +1 -0
- package/lib/is-plain-object.js +41 -0
- package/lib/is-plain-object.js.map +1 -0
- package/lib/logger.d.ts +6 -0
- package/lib/logger.d.ts.map +1 -0
- package/lib/logger.js +6 -0
- package/lib/logger.js.map +1 -0
- package/lib/matchers.d.ts +64 -0
- package/lib/matchers.d.ts.map +1 -0
- package/lib/matchers.js +204 -0
- package/lib/matchers.js.map +1 -0
- package/lib/primitives.d.ts +23 -0
- package/lib/primitives.d.ts.map +1 -0
- package/lib/primitives.js +104 -0
- package/lib/primitives.js.map +1 -0
- package/lib/retries.d.ts +38 -0
- package/lib/retries.d.ts.map +1 -0
- package/lib/retries.js +154 -0
- package/lib/retries.js.map +1 -0
- package/lib/schemas.d.ts +19 -0
- package/lib/schemas.d.ts.map +1 -0
- package/lib/schemas.js +59 -0
- package/lib/schemas.js.map +1 -0
- package/lib/sdks.d.ts +60 -0
- package/lib/sdks.d.ts.map +1 -0
- package/lib/sdks.js +280 -0
- package/lib/sdks.js.map +1 -0
- package/lib/security.d.ts +82 -0
- package/lib/security.d.ts.map +1 -0
- package/lib/security.js +139 -0
- package/lib/security.js.map +1 -0
- package/lib/url.d.ts +5 -0
- package/lib/url.d.ts.map +1 -0
- package/lib/url.js +25 -0
- package/lib/url.js.map +1 -0
- package/local-openapi.json +21024 -0
- package/models/components/index.d.ts +2 -0
- package/models/components/index.d.ts.map +1 -0
- package/models/components/index.js +21 -0
- package/models/components/index.js.map +1 -0
- package/models/components/security.d.ts +29 -0
- package/models/components/security.d.ts.map +1 -0
- package/models/components/security.js +69 -0
- package/models/components/security.js.map +1 -0
- package/models/errors/apierror.d.ts +8 -0
- package/models/errors/apierror.d.ts.map +1 -0
- package/models/errors/apierror.js +21 -0
- package/models/errors/apierror.js.map +1 -0
- package/models/errors/errorbadrequest.d.ts +84 -0
- package/models/errors/errorbadrequest.d.ts.map +1 -0
- package/models/errors/errorbadrequest.js +115 -0
- package/models/errors/errorbadrequest.js.map +1 -0
- package/models/errors/errorinternalservererror.d.ts +84 -0
- package/models/errors/errorinternalservererror.d.ts.map +1 -0
- package/models/errors/errorinternalservererror.js +116 -0
- package/models/errors/errorinternalservererror.js.map +1 -0
- package/models/errors/errornotfound.d.ts +84 -0
- package/models/errors/errornotfound.d.ts.map +1 -0
- package/models/errors/errornotfound.js +115 -0
- package/models/errors/errornotfound.js.map +1 -0
- package/models/errors/httpclienterrors.d.ts +44 -0
- package/models/errors/httpclienterrors.d.ts.map +1 -0
- package/models/errors/httpclienterrors.js +78 -0
- package/models/errors/httpclienterrors.js.map +1 -0
- package/models/errors/index.d.ts +7 -0
- package/models/errors/index.d.ts.map +1 -0
- package/models/errors/index.js +26 -0
- package/models/errors/index.js.map +1 -0
- package/models/errors/sdkvalidationerror.d.ts +20 -0
- package/models/errors/sdkvalidationerror.d.ts.map +1 -0
- package/models/errors/sdkvalidationerror.js +115 -0
- package/models/errors/sdkvalidationerror.js.map +1 -0
- package/models/operations/documentcreatedocumenttemporary.d.ts +3565 -0
- package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -0
- package/models/operations/documentcreatedocumenttemporary.js +3203 -0
- package/models/operations/documentcreatedocumenttemporary.js.map +1 -0
- package/models/operations/documentdeletedocument.d.ts +29 -0
- package/models/operations/documentdeletedocument.d.ts.map +1 -0
- package/models/operations/documentdeletedocument.js +69 -0
- package/models/operations/documentdeletedocument.js.map +1 -0
- package/models/operations/documentduplicatedocument.d.ts +57 -0
- package/models/operations/documentduplicatedocument.d.ts.map +1 -0
- package/models/operations/documentduplicatedocument.js +96 -0
- package/models/operations/documentduplicatedocument.js.map +1 -0
- package/models/operations/documentfinddocuments.d.ts +817 -0
- package/models/operations/documentfinddocuments.d.ts.map +1 -0
- package/models/operations/documentfinddocuments.js +694 -0
- package/models/operations/documentfinddocuments.js.map +1 -0
- package/models/operations/documentgetdocumentwithdetailsbyid.d.ts +1528 -0
- package/models/operations/documentgetdocumentwithdetailsbyid.d.ts.map +1 -0
- package/models/operations/documentgetdocumentwithdetailsbyid.js +1447 -0
- package/models/operations/documentgetdocumentwithdetailsbyid.js.map +1 -0
- package/models/operations/documentmovedocumenttoteam.d.ts +306 -0
- package/models/operations/documentmovedocumenttoteam.d.ts.map +1 -0
- package/models/operations/documentmovedocumenttoteam.js +286 -0
- package/models/operations/documentmovedocumenttoteam.js.map +1 -0
- package/models/operations/documentresenddocument.d.ts +34 -0
- package/models/operations/documentresenddocument.d.ts.map +1 -0
- package/models/operations/documentresenddocument.js +71 -0
- package/models/operations/documentresenddocument.js.map +1 -0
- package/models/operations/documentsenddocument.d.ts +544 -0
- package/models/operations/documentsenddocument.d.ts.map +1 -0
- package/models/operations/documentsenddocument.js +444 -0
- package/models/operations/documentsenddocument.js.map +1 -0
- package/models/operations/documentsetsettingsfordocument.d.ts +719 -0
- package/models/operations/documentsetsettingsfordocument.d.ts.map +1 -0
- package/models/operations/documentsetsettingsfordocument.js +583 -0
- package/models/operations/documentsetsettingsfordocument.js.map +1 -0
- package/models/operations/fieldcreatedocumentfield.d.ts +2276 -0
- package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -0
- package/models/operations/fieldcreatedocumentfield.js +2167 -0
- package/models/operations/fieldcreatedocumentfield.js.map +1 -0
- package/models/operations/fieldcreatedocumentfields.d.ts +2301 -0
- package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -0
- package/models/operations/fieldcreatedocumentfields.js +2189 -0
- package/models/operations/fieldcreatedocumentfields.js.map +1 -0
- package/models/operations/fieldcreatetemplatefield.d.ts +2276 -0
- package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -0
- package/models/operations/fieldcreatetemplatefield.js +2161 -0
- package/models/operations/fieldcreatetemplatefield.js.map +1 -0
- package/models/operations/fieldcreatetemplatefields.d.ts +2301 -0
- package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -0
- package/models/operations/fieldcreatetemplatefields.js +2189 -0
- package/models/operations/fieldcreatetemplatefields.js.map +1 -0
- package/models/operations/fielddeletedocumentfield.d.ts +29 -0
- package/models/operations/fielddeletedocumentfield.d.ts.map +1 -0
- package/models/operations/fielddeletedocumentfield.js +69 -0
- package/models/operations/fielddeletedocumentfield.js.map +1 -0
- package/models/operations/fielddeletetemplatefield.d.ts +29 -0
- package/models/operations/fielddeletetemplatefield.d.ts.map +1 -0
- package/models/operations/fielddeletetemplatefield.js +69 -0
- package/models/operations/fielddeletetemplatefield.js.map +1 -0
- package/models/operations/fieldgetfield.d.ts +774 -0
- package/models/operations/fieldgetfield.d.ts.map +1 -0
- package/models/operations/fieldgetfield.js +820 -0
- package/models/operations/fieldgetfield.js.map +1 -0
- package/models/operations/fieldupdatedocumentfield.d.ts +2276 -0
- package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -0
- package/models/operations/fieldupdatedocumentfield.js +2161 -0
- package/models/operations/fieldupdatedocumentfield.js.map +1 -0
- package/models/operations/fieldupdatedocumentfields.d.ts +2301 -0
- package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -0
- package/models/operations/fieldupdatedocumentfields.js +2189 -0
- package/models/operations/fieldupdatedocumentfields.js.map +1 -0
- package/models/operations/fieldupdatetemplatefield.d.ts +2276 -0
- package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -0
- package/models/operations/fieldupdatetemplatefield.js +2161 -0
- package/models/operations/fieldupdatetemplatefield.js.map +1 -0
- package/models/operations/fieldupdatetemplatefields.d.ts +2301 -0
- package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -0
- package/models/operations/fieldupdatetemplatefields.js +2189 -0
- package/models/operations/fieldupdatetemplatefields.js.map +1 -0
- package/models/operations/index.d.ts +42 -0
- package/models/operations/index.d.ts.map +1 -0
- package/models/operations/index.js +61 -0
- package/models/operations/index.js.map +1 -0
- package/models/operations/recipientcreatedocumentrecipient.d.ts +437 -0
- package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -0
- package/models/operations/recipientcreatedocumentrecipient.js +389 -0
- package/models/operations/recipientcreatedocumentrecipient.js.map +1 -0
- package/models/operations/recipientcreatedocumentrecipients.d.ts +462 -0
- package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -0
- package/models/operations/recipientcreatedocumentrecipients.js +419 -0
- package/models/operations/recipientcreatedocumentrecipients.js.map +1 -0
- package/models/operations/recipientcreatetemplaterecipient.d.ts +437 -0
- package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -0
- package/models/operations/recipientcreatetemplaterecipient.js +389 -0
- package/models/operations/recipientcreatetemplaterecipient.js.map +1 -0
- package/models/operations/recipientcreatetemplaterecipients.d.ts +462 -0
- package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -0
- package/models/operations/recipientcreatetemplaterecipients.js +419 -0
- package/models/operations/recipientcreatetemplaterecipients.js.map +1 -0
- package/models/operations/recipientdeletedocumentrecipient.d.ts +29 -0
- package/models/operations/recipientdeletedocumentrecipient.d.ts.map +1 -0
- package/models/operations/recipientdeletedocumentrecipient.js +69 -0
- package/models/operations/recipientdeletedocumentrecipient.js.map +1 -0
- package/models/operations/recipientdeletetemplaterecipient.d.ts +29 -0
- package/models/operations/recipientdeletetemplaterecipient.d.ts.map +1 -0
- package/models/operations/recipientdeletetemplaterecipient.js +69 -0
- package/models/operations/recipientdeletetemplaterecipient.js.map +1 -0
- package/models/operations/recipientgetrecipient.d.ts +1041 -0
- package/models/operations/recipientgetrecipient.d.ts.map +1 -0
- package/models/operations/recipientgetrecipient.js +1033 -0
- package/models/operations/recipientgetrecipient.js.map +1 -0
- package/models/operations/recipientupdatedocumentrecipient.d.ts +1185 -0
- package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -0
- package/models/operations/recipientupdatedocumentrecipient.js +1146 -0
- package/models/operations/recipientupdatedocumentrecipient.js.map +1 -0
- package/models/operations/recipientupdatedocumentrecipients.d.ts +1210 -0
- package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -0
- package/models/operations/recipientupdatedocumentrecipients.js +1175 -0
- package/models/operations/recipientupdatedocumentrecipients.js.map +1 -0
- package/models/operations/recipientupdatetemplaterecipient.d.ts +1185 -0
- package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -0
- package/models/operations/recipientupdatetemplaterecipient.js +1146 -0
- package/models/operations/recipientupdatetemplaterecipient.js.map +1 -0
- package/models/operations/recipientupdatetemplaterecipients.d.ts +1210 -0
- package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -0
- package/models/operations/recipientupdatetemplaterecipients.js +1175 -0
- package/models/operations/recipientupdatetemplaterecipients.js.map +1 -0
- package/models/operations/templatecreatedocumentfromtemplate.d.ts +1575 -0
- package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -0
- package/models/operations/templatecreatedocumentfromtemplate.js +1485 -0
- package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -0
- package/models/operations/templatecreatetemplatedirectlink.d.ts +72 -0
- package/models/operations/templatecreatetemplatedirectlink.d.ts.map +1 -0
- package/models/operations/templatecreatetemplatedirectlink.js +108 -0
- package/models/operations/templatecreatetemplatedirectlink.js.map +1 -0
- package/models/operations/templatedeletetemplate.d.ts +29 -0
- package/models/operations/templatedeletetemplate.d.ts.map +1 -0
- package/models/operations/templatedeletetemplate.js +69 -0
- package/models/operations/templatedeletetemplate.js.map +1 -0
- package/models/operations/templatedeletetemplatedirectlink.d.ts +29 -0
- package/models/operations/templatedeletetemplatedirectlink.d.ts.map +1 -0
- package/models/operations/templatedeletetemplatedirectlink.js +69 -0
- package/models/operations/templatedeletetemplatedirectlink.js.map +1 -0
- package/models/operations/templateduplicatetemplate.d.ts +230 -0
- package/models/operations/templateduplicatetemplate.d.ts.map +1 -0
- package/models/operations/templateduplicatetemplate.js +234 -0
- package/models/operations/templateduplicatetemplate.js.map +1 -0
- package/models/operations/templatefindtemplates.d.ts +1471 -0
- package/models/operations/templatefindtemplates.d.ts.map +1 -0
- package/models/operations/templatefindtemplates.js +1391 -0
- package/models/operations/templatefindtemplates.js.map +1 -0
- package/models/operations/templategettemplatebyid.d.ts +1526 -0
- package/models/operations/templategettemplatebyid.d.ts.map +1 -0
- package/models/operations/templategettemplatebyid.js +1458 -0
- package/models/operations/templategettemplatebyid.js.map +1 -0
- package/models/operations/templatemovetemplatetoteam.d.ts +238 -0
- package/models/operations/templatemovetemplatetoteam.d.ts.map +1 -0
- package/models/operations/templatemovetemplatetoteam.js +236 -0
- package/models/operations/templatemovetemplatetoteam.js.map +1 -0
- package/models/operations/templatetoggletemplatedirectlink.d.ts +69 -0
- package/models/operations/templatetoggletemplatedirectlink.d.ts.map +1 -0
- package/models/operations/templatetoggletemplatedirectlink.js +108 -0
- package/models/operations/templatetoggletemplatedirectlink.js.map +1 -0
- package/models/operations/templateupdatetemplate.d.ts +673 -0
- package/models/operations/templateupdatetemplate.d.ts.map +1 -0
- package/models/operations/templateupdatetemplate.js +547 -0
- package/models/operations/templateupdatetemplate.js.map +1 -0
- package/package.json +27 -0
- package/sdk/directlink.d.ts +26 -0
- package/sdk/directlink.d.ts.map +1 -0
- package/sdk/directlink.js +42 -0
- package/sdk/directlink.js.map +1 -0
- package/sdk/documensofields.d.ts +37 -0
- package/sdk/documensofields.d.ts.map +1 -0
- package/sdk/documensofields.js +59 -0
- package/sdk/documensofields.js.map +1 -0
- package/sdk/documensorecipients.d.ts +37 -0
- package/sdk/documensorecipients.d.ts.map +1 -0
- package/sdk/documensorecipients.js +59 -0
- package/sdk/documensorecipients.js.map +1 -0
- package/sdk/documensotemplatesfields.d.ts +37 -0
- package/sdk/documensotemplatesfields.d.ts.map +1 -0
- package/sdk/documensotemplatesfields.js +59 -0
- package/sdk/documensotemplatesfields.js.map +1 -0
- package/sdk/documensotemplatesrecipients.d.ts +37 -0
- package/sdk/documensotemplatesrecipients.d.ts.map +1 -0
- package/sdk/documensotemplatesrecipients.js +59 -0
- package/sdk/documensotemplatesrecipients.js.map +1 -0
- package/sdk/documents.d.ts +65 -0
- package/sdk/documents.d.ts.map +1 -0
- package/sdk/documents.js +101 -0
- package/sdk/documents.js.map +1 -0
- package/sdk/fields.d.ts +12 -0
- package/sdk/fields.d.ts.map +1 -0
- package/sdk/fields.js +22 -0
- package/sdk/fields.js.map +1 -0
- package/sdk/index.d.ts +2 -0
- package/sdk/index.d.ts.map +1 -0
- package/sdk/index.js +21 -0
- package/sdk/index.js.map +1 -0
- package/sdk/recipients.d.ts +12 -0
- package/sdk/recipients.d.ts.map +1 -0
- package/sdk/recipients.js +22 -0
- package/sdk/recipients.js.map +1 -0
- package/sdk/sdk.d.ts +16 -0
- package/sdk/sdk.d.ts.map +1 -0
- package/sdk/sdk.js +27 -0
- package/sdk/sdk.js.map +1 -0
- package/sdk/templates.d.ts +51 -0
- package/sdk/templates.d.ts.map +1 -0
- package/sdk/templates.js +82 -0
- package/sdk/templates.js.map +1 -0
- package/src/core.ts +13 -0
- package/src/funcs/documentsCreateV0.ts +142 -0
- package/src/funcs/documentsDelete.ts +136 -0
- package/src/funcs/documentsDistribute.ts +138 -0
- package/src/funcs/documentsDuplicate.ts +137 -0
- package/src/funcs/documentsFieldsCreate.ts +140 -0
- package/src/funcs/documentsFieldsCreateMany.ts +140 -0
- package/src/funcs/documentsFieldsDelete.ts +138 -0
- package/src/funcs/documentsFieldsUpdate.ts +140 -0
- package/src/funcs/documentsFieldsUpdateMany.ts +140 -0
- package/src/funcs/documentsFind.ts +152 -0
- package/src/funcs/documentsGet.ts +152 -0
- package/src/funcs/documentsMoveToTeam.ts +143 -0
- package/src/funcs/documentsRecipientsCreate.ts +142 -0
- package/src/funcs/documentsRecipientsCreateMany.ts +142 -0
- package/src/funcs/documentsRecipientsDelete.ts +137 -0
- package/src/funcs/documentsRecipientsUpdate.ts +142 -0
- package/src/funcs/documentsRecipientsUpdateMany.ts +142 -0
- package/src/funcs/documentsRedistribute.ts +139 -0
- package/src/funcs/documentsUpdate.ts +140 -0
- package/src/funcs/fieldsGet.ts +146 -0
- package/src/funcs/recipientsGet.ts +147 -0
- package/src/funcs/templatesDelete.ts +136 -0
- package/src/funcs/templatesDirectLinkCreate.ts +142 -0
- package/src/funcs/templatesDirectLinkDelete.ts +140 -0
- package/src/funcs/templatesDirectLinkToggle.ts +142 -0
- package/src/funcs/templatesDuplicate.ts +137 -0
- package/src/funcs/templatesFieldsCreate.ts +140 -0
- package/src/funcs/templatesFieldsCreateMany.ts +140 -0
- package/src/funcs/templatesFieldsDelete.ts +138 -0
- package/src/funcs/templatesFieldsUpdate.ts +140 -0
- package/src/funcs/templatesFieldsUpdateMany.ts +140 -0
- package/src/funcs/templatesFind.ts +148 -0
- package/src/funcs/templatesGet.ts +144 -0
- package/src/funcs/templatesMoveToTeam.ts +143 -0
- package/src/funcs/templatesRecipientsCreate.ts +142 -0
- package/src/funcs/templatesRecipientsCreateMany.ts +142 -0
- package/src/funcs/templatesRecipientsDelete.ts +137 -0
- package/src/funcs/templatesRecipientsUpdate.ts +142 -0
- package/src/funcs/templatesRecipientsUpdateMany.ts +142 -0
- package/src/funcs/templatesUpdate.ts +135 -0
- package/src/funcs/templatesUse.ts +142 -0
- package/src/hooks/hooks.ts +132 -0
- package/src/hooks/index.ts +6 -0
- package/src/hooks/registration.ts +14 -0
- package/src/hooks/types.ts +109 -0
- package/src/index.ts +7 -0
- package/src/lib/base64.ts +37 -0
- package/src/lib/config.ts +61 -0
- package/src/lib/dlv.ts +53 -0
- package/src/lib/encodings.ts +483 -0
- package/src/lib/env.ts +41 -0
- package/src/lib/files.ts +40 -0
- package/src/lib/http.ts +323 -0
- package/src/lib/is-plain-object.ts +43 -0
- package/src/lib/logger.ts +9 -0
- package/src/lib/matchers.ts +322 -0
- package/src/lib/primitives.ts +136 -0
- package/src/lib/retries.ts +219 -0
- package/src/lib/schemas.ts +86 -0
- package/src/lib/sdks.ts +400 -0
- package/src/lib/security.ts +254 -0
- package/src/lib/url.ts +33 -0
- package/src/models/components/index.ts +5 -0
- package/src/models/components/security.ts +62 -0
- package/src/models/errors/apierror.ts +27 -0
- package/src/models/errors/errorbadrequest.ts +154 -0
- package/src/models/errors/errorinternalservererror.ts +165 -0
- package/src/models/errors/errornotfound.ts +162 -0
- package/src/models/errors/httpclienterrors.ts +62 -0
- package/src/models/errors/index.ts +10 -0
- package/src/models/errors/sdkvalidationerror.ts +97 -0
- package/src/models/operations/documentcreatedocumenttemporary.ts +6881 -0
- package/src/models/operations/documentdeletedocument.ts +69 -0
- package/src/models/operations/documentduplicatedocument.ts +137 -0
- package/src/models/operations/documentfinddocuments.ts +1287 -0
- package/src/models/operations/documentgetdocumentwithdetailsbyid.ts +3159 -0
- package/src/models/operations/documentmovedocumenttoteam.ts +529 -0
- package/src/models/operations/documentresenddocument.ts +76 -0
- package/src/models/operations/documentsenddocument.ts +844 -0
- package/src/models/operations/documentsetsettingsfordocument.ts +1180 -0
- package/src/models/operations/fieldcreatedocumentfield.ts +4802 -0
- package/src/models/operations/fieldcreatedocumentfields.ts +4995 -0
- package/src/models/operations/fieldcreatetemplatefield.ts +4984 -0
- package/src/models/operations/fieldcreatetemplatefields.ts +5089 -0
- package/src/models/operations/fielddeletedocumentfield.ts +71 -0
- package/src/models/operations/fielddeletetemplatefield.ts +71 -0
- package/src/models/operations/fieldgetfield.ts +1545 -0
- package/src/models/operations/fieldupdatedocumentfield.ts +4984 -0
- package/src/models/operations/fieldupdatedocumentfields.ts +5089 -0
- package/src/models/operations/fieldupdatetemplatefield.ts +4984 -0
- package/src/models/operations/fieldupdatetemplatefields.ts +5089 -0
- package/src/models/operations/index.ts +45 -0
- package/src/models/operations/recipientcreatedocumentrecipient.ts +731 -0
- package/src/models/operations/recipientcreatedocumentrecipients.ts +837 -0
- package/src/models/operations/recipientcreatetemplaterecipient.ts +751 -0
- package/src/models/operations/recipientcreatetemplaterecipients.ts +837 -0
- package/src/models/operations/recipientdeletedocumentrecipient.ts +79 -0
- package/src/models/operations/recipientdeletetemplaterecipient.ts +79 -0
- package/src/models/operations/recipientgetrecipient.ts +2060 -0
- package/src/models/operations/recipientupdatedocumentrecipient.ts +2523 -0
- package/src/models/operations/recipientupdatedocumentrecipients.ts +2639 -0
- package/src/models/operations/recipientupdatetemplaterecipient.ts +2523 -0
- package/src/models/operations/recipientupdatetemplaterecipients.ts +2639 -0
- package/src/models/operations/templatecreatedocumentfromtemplate.ts +3351 -0
- package/src/models/operations/templatecreatetemplatedirectlink.ts +180 -0
- package/src/models/operations/templatedeletetemplate.ts +69 -0
- package/src/models/operations/templatedeletetemplatedirectlink.ts +79 -0
- package/src/models/operations/templateduplicatetemplate.ts +406 -0
- package/src/models/operations/templatefindtemplates.ts +2831 -0
- package/src/models/operations/templategettemplatebyid.ts +2963 -0
- package/src/models/operations/templatemovetemplatetoteam.ts +418 -0
- package/src/models/operations/templatetoggletemplatedirectlink.ts +177 -0
- package/src/models/operations/templateupdatetemplate.ts +1030 -0
- package/src/sdk/directlink.ts +63 -0
- package/src/sdk/documensofields.ts +96 -0
- package/src/sdk/documensorecipients.ts +96 -0
- package/src/sdk/documensotemplatesfields.ts +96 -0
- package/src/sdk/documensotemplatesrecipients.ts +96 -0
- package/src/sdk/documents.ts +174 -0
- package/src/sdk/fields.ts +27 -0
- package/src/sdk/index.ts +5 -0
- package/src/sdk/recipients.ts +27 -0
- package/src/sdk/sdk.ts +31 -0
- package/src/sdk/templates.ts +143 -0
- package/src/types/blobs.ts +31 -0
- package/src/types/constdatetime.ts +15 -0
- package/src/types/enums.ts +16 -0
- package/src/types/fp.ts +50 -0
- package/src/types/index.ts +11 -0
- package/src/types/operations.ts +105 -0
- package/src/types/rfcdate.ts +54 -0
- package/src/types/streams.ts +21 -0
- package/tsconfig.json +41 -0
- package/types/blobs.d.ts +4 -0
- package/types/blobs.d.ts.map +1 -0
- package/types/blobs.js +62 -0
- package/types/blobs.js.map +1 -0
- package/types/constdatetime.d.ts +3 -0
- package/types/constdatetime.d.ts.map +1 -0
- package/types/constdatetime.js +46 -0
- package/types/constdatetime.js.map +1 -0
- package/types/enums.d.ts +12 -0
- package/types/enums.d.ts.map +1 -0
- package/types/enums.js +10 -0
- package/types/enums.js.map +1 -0
- package/types/fp.d.ts +31 -0
- package/types/fp.d.ts.map +1 -0
- package/types/fp.js +37 -0
- package/types/fp.js.map +1 -0
- package/types/index.d.ts +8 -0
- package/types/index.d.ts.map +1 -0
- package/types/index.js +16 -0
- package/types/index.js.map +1 -0
- package/types/operations.d.ts +27 -0
- package/types/operations.d.ts.map +1 -0
- package/types/operations.js +83 -0
- package/types/operations.js.map +1 -0
- package/types/rfcdate.d.ts +21 -0
- package/types/rfcdate.d.ts.map +1 -0
- package/types/rfcdate.js +46 -0
- package/types/rfcdate.js.map +1 -0
- package/types/streams.d.ts +2 -0
- package/types/streams.d.ts.map +1 -0
- package/types/streams.js +18 -0
- package/types/streams.js.map +1 -0
|
@@ -0,0 +1,2963 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type TemplateGetTemplateByIdRequest = {
|
|
12
|
+
templateId: number;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const TemplateGetTemplateByIdType = {
|
|
16
|
+
Public: "PUBLIC",
|
|
17
|
+
Private: "PRIVATE",
|
|
18
|
+
} as const;
|
|
19
|
+
export type TemplateGetTemplateByIdType = ClosedEnum<
|
|
20
|
+
typeof TemplateGetTemplateByIdType
|
|
21
|
+
>;
|
|
22
|
+
|
|
23
|
+
export const TemplateGetTemplateByIdVisibility = {
|
|
24
|
+
Everyone: "EVERYONE",
|
|
25
|
+
ManagerAndAbove: "MANAGER_AND_ABOVE",
|
|
26
|
+
Admin: "ADMIN",
|
|
27
|
+
} as const;
|
|
28
|
+
export type TemplateGetTemplateByIdVisibility = ClosedEnum<
|
|
29
|
+
typeof TemplateGetTemplateByIdVisibility
|
|
30
|
+
>;
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* The type of authentication required for the recipient to access the document.
|
|
34
|
+
*/
|
|
35
|
+
export const TemplateGetTemplateByIdGlobalAccessAuth = {
|
|
36
|
+
Account: "ACCOUNT",
|
|
37
|
+
} as const;
|
|
38
|
+
/**
|
|
39
|
+
* The type of authentication required for the recipient to access the document.
|
|
40
|
+
*/
|
|
41
|
+
export type TemplateGetTemplateByIdGlobalAccessAuth = ClosedEnum<
|
|
42
|
+
typeof TemplateGetTemplateByIdGlobalAccessAuth
|
|
43
|
+
>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* The type of authentication required for the recipient to sign the document. This field is restricted to Enterprise plan users only.
|
|
47
|
+
*/
|
|
48
|
+
export const TemplateGetTemplateByIdGlobalActionAuth = {
|
|
49
|
+
Account: "ACCOUNT",
|
|
50
|
+
Passkey: "PASSKEY",
|
|
51
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
52
|
+
} as const;
|
|
53
|
+
/**
|
|
54
|
+
* The type of authentication required for the recipient to sign the document. This field is restricted to Enterprise plan users only.
|
|
55
|
+
*/
|
|
56
|
+
export type TemplateGetTemplateByIdGlobalActionAuth = ClosedEnum<
|
|
57
|
+
typeof TemplateGetTemplateByIdGlobalActionAuth
|
|
58
|
+
>;
|
|
59
|
+
|
|
60
|
+
export type TemplateGetTemplateByIdAuthOptions = {
|
|
61
|
+
/**
|
|
62
|
+
* The type of authentication required for the recipient to access the document.
|
|
63
|
+
*/
|
|
64
|
+
globalAccessAuth: TemplateGetTemplateByIdGlobalAccessAuth | null;
|
|
65
|
+
/**
|
|
66
|
+
* The type of authentication required for the recipient to sign the document. This field is restricted to Enterprise plan users only.
|
|
67
|
+
*/
|
|
68
|
+
globalActionAuth: TemplateGetTemplateByIdGlobalActionAuth | null;
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export const TemplateGetTemplateByIdTemplatesType = {
|
|
72
|
+
S3Path: "S3_PATH",
|
|
73
|
+
Bytes: "BYTES",
|
|
74
|
+
Bytes64: "BYTES_64",
|
|
75
|
+
} as const;
|
|
76
|
+
export type TemplateGetTemplateByIdTemplatesType = ClosedEnum<
|
|
77
|
+
typeof TemplateGetTemplateByIdTemplatesType
|
|
78
|
+
>;
|
|
79
|
+
|
|
80
|
+
export type TemplateDocumentData = {
|
|
81
|
+
type: TemplateGetTemplateByIdTemplatesType;
|
|
82
|
+
id: string;
|
|
83
|
+
data: string;
|
|
84
|
+
initialData: string;
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export const TemplateGetTemplateByIdSigningOrder = {
|
|
88
|
+
Parallel: "PARALLEL",
|
|
89
|
+
Sequential: "SEQUENTIAL",
|
|
90
|
+
} as const;
|
|
91
|
+
export type TemplateGetTemplateByIdSigningOrder = ClosedEnum<
|
|
92
|
+
typeof TemplateGetTemplateByIdSigningOrder
|
|
93
|
+
>;
|
|
94
|
+
|
|
95
|
+
export const TemplateGetTemplateByIdDistributionMethod = {
|
|
96
|
+
Email: "EMAIL",
|
|
97
|
+
None: "NONE",
|
|
98
|
+
} as const;
|
|
99
|
+
export type TemplateGetTemplateByIdDistributionMethod = ClosedEnum<
|
|
100
|
+
typeof TemplateGetTemplateByIdDistributionMethod
|
|
101
|
+
>;
|
|
102
|
+
|
|
103
|
+
export type TemplateGetTemplateByIdEmailSettings = {
|
|
104
|
+
/**
|
|
105
|
+
* Whether to send an email to all recipients that the document is ready for them to sign.
|
|
106
|
+
*/
|
|
107
|
+
recipientSigningRequest?: boolean | undefined;
|
|
108
|
+
/**
|
|
109
|
+
* Whether to send an email to the recipient who was removed from a pending document.
|
|
110
|
+
*/
|
|
111
|
+
recipientRemoved?: boolean | undefined;
|
|
112
|
+
/**
|
|
113
|
+
* Whether to send an email to the document owner when a recipient has signed the document.
|
|
114
|
+
*/
|
|
115
|
+
recipientSigned?: boolean | undefined;
|
|
116
|
+
/**
|
|
117
|
+
* Whether to send an email to the recipient who has just signed the document indicating that there are still other recipients who need to sign the document. This will only be sent if the document is still pending after the recipient has signed.
|
|
118
|
+
*/
|
|
119
|
+
documentPending?: boolean | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* Whether to send an email to all recipients when the document is complete.
|
|
122
|
+
*/
|
|
123
|
+
documentCompleted?: boolean | undefined;
|
|
124
|
+
/**
|
|
125
|
+
* Whether to send an email to all recipients if a pending document has been deleted.
|
|
126
|
+
*/
|
|
127
|
+
documentDeleted?: boolean | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Whether to send an email to the document owner when the document is complete.
|
|
130
|
+
*/
|
|
131
|
+
ownerDocumentCompleted?: boolean | undefined;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export type TemplateMeta = {
|
|
135
|
+
id: string;
|
|
136
|
+
subject: string | null;
|
|
137
|
+
message: string | null;
|
|
138
|
+
timezone: string | null;
|
|
139
|
+
dateFormat: string | null;
|
|
140
|
+
signingOrder: TemplateGetTemplateByIdSigningOrder | null;
|
|
141
|
+
typedSignatureEnabled: boolean;
|
|
142
|
+
distributionMethod: TemplateGetTemplateByIdDistributionMethod;
|
|
143
|
+
templateId: number;
|
|
144
|
+
redirectUrl: string | null;
|
|
145
|
+
language: string;
|
|
146
|
+
emailSettings: TemplateGetTemplateByIdEmailSettings | null;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export type DirectLink = {
|
|
150
|
+
id: string;
|
|
151
|
+
templateId: number;
|
|
152
|
+
token: string;
|
|
153
|
+
createdAt: string;
|
|
154
|
+
enabled: boolean;
|
|
155
|
+
directTemplateRecipientId: number;
|
|
156
|
+
};
|
|
157
|
+
|
|
158
|
+
export type User = {
|
|
159
|
+
id: number;
|
|
160
|
+
name: string | null;
|
|
161
|
+
email: string;
|
|
162
|
+
};
|
|
163
|
+
|
|
164
|
+
export const TemplateGetTemplateByIdRole = {
|
|
165
|
+
Cc: "CC",
|
|
166
|
+
Signer: "SIGNER",
|
|
167
|
+
Viewer: "VIEWER",
|
|
168
|
+
Approver: "APPROVER",
|
|
169
|
+
} as const;
|
|
170
|
+
export type TemplateGetTemplateByIdRole = ClosedEnum<
|
|
171
|
+
typeof TemplateGetTemplateByIdRole
|
|
172
|
+
>;
|
|
173
|
+
|
|
174
|
+
export const TemplateGetTemplateByIdReadStatus = {
|
|
175
|
+
NotOpened: "NOT_OPENED",
|
|
176
|
+
Opened: "OPENED",
|
|
177
|
+
} as const;
|
|
178
|
+
export type TemplateGetTemplateByIdReadStatus = ClosedEnum<
|
|
179
|
+
typeof TemplateGetTemplateByIdReadStatus
|
|
180
|
+
>;
|
|
181
|
+
|
|
182
|
+
export const TemplateGetTemplateByIdSigningStatus = {
|
|
183
|
+
NotSigned: "NOT_SIGNED",
|
|
184
|
+
Signed: "SIGNED",
|
|
185
|
+
Rejected: "REJECTED",
|
|
186
|
+
} as const;
|
|
187
|
+
export type TemplateGetTemplateByIdSigningStatus = ClosedEnum<
|
|
188
|
+
typeof TemplateGetTemplateByIdSigningStatus
|
|
189
|
+
>;
|
|
190
|
+
|
|
191
|
+
export const TemplateGetTemplateByIdSendStatus = {
|
|
192
|
+
NotSent: "NOT_SENT",
|
|
193
|
+
Sent: "SENT",
|
|
194
|
+
} as const;
|
|
195
|
+
export type TemplateGetTemplateByIdSendStatus = ClosedEnum<
|
|
196
|
+
typeof TemplateGetTemplateByIdSendStatus
|
|
197
|
+
>;
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* The type of authentication required for the recipient to access the document.
|
|
201
|
+
*/
|
|
202
|
+
export const TemplateGetTemplateByIdAccessAuth = {
|
|
203
|
+
Account: "ACCOUNT",
|
|
204
|
+
} as const;
|
|
205
|
+
/**
|
|
206
|
+
* The type of authentication required for the recipient to access the document.
|
|
207
|
+
*/
|
|
208
|
+
export type TemplateGetTemplateByIdAccessAuth = ClosedEnum<
|
|
209
|
+
typeof TemplateGetTemplateByIdAccessAuth
|
|
210
|
+
>;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* The type of authentication required for the recipient to sign the document.
|
|
214
|
+
*/
|
|
215
|
+
export const TemplateGetTemplateByIdActionAuth = {
|
|
216
|
+
Account: "ACCOUNT",
|
|
217
|
+
Passkey: "PASSKEY",
|
|
218
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
219
|
+
ExplicitNone: "EXPLICIT_NONE",
|
|
220
|
+
} as const;
|
|
221
|
+
/**
|
|
222
|
+
* The type of authentication required for the recipient to sign the document.
|
|
223
|
+
*/
|
|
224
|
+
export type TemplateGetTemplateByIdActionAuth = ClosedEnum<
|
|
225
|
+
typeof TemplateGetTemplateByIdActionAuth
|
|
226
|
+
>;
|
|
227
|
+
|
|
228
|
+
export type TemplateGetTemplateByIdTemplatesAuthOptions = {
|
|
229
|
+
/**
|
|
230
|
+
* The type of authentication required for the recipient to access the document.
|
|
231
|
+
*/
|
|
232
|
+
accessAuth: TemplateGetTemplateByIdAccessAuth | null;
|
|
233
|
+
/**
|
|
234
|
+
* The type of authentication required for the recipient to sign the document.
|
|
235
|
+
*/
|
|
236
|
+
actionAuth: TemplateGetTemplateByIdActionAuth | null;
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
export type TemplateGetTemplateByIdRecipients = {
|
|
240
|
+
role: TemplateGetTemplateByIdRole;
|
|
241
|
+
readStatus: TemplateGetTemplateByIdReadStatus;
|
|
242
|
+
signingStatus: TemplateGetTemplateByIdSigningStatus;
|
|
243
|
+
sendStatus: TemplateGetTemplateByIdSendStatus;
|
|
244
|
+
id: number;
|
|
245
|
+
documentId: number | null;
|
|
246
|
+
templateId: number | null;
|
|
247
|
+
email: string;
|
|
248
|
+
name: string;
|
|
249
|
+
token: string;
|
|
250
|
+
documentDeletedAt: string | null;
|
|
251
|
+
expired: string | null;
|
|
252
|
+
signedAt: string | null;
|
|
253
|
+
authOptions: TemplateGetTemplateByIdTemplatesAuthOptions | null;
|
|
254
|
+
/**
|
|
255
|
+
* The order in which the recipient should sign the document. Only works if the document is set to sequential signing.
|
|
256
|
+
*/
|
|
257
|
+
signingOrder: number | null;
|
|
258
|
+
rejectionReason: string | null;
|
|
259
|
+
};
|
|
260
|
+
|
|
261
|
+
export const TemplateGetTemplateByIdTemplatesResponseType = {
|
|
262
|
+
Signature: "SIGNATURE",
|
|
263
|
+
FreeSignature: "FREE_SIGNATURE",
|
|
264
|
+
Initials: "INITIALS",
|
|
265
|
+
Name: "NAME",
|
|
266
|
+
Email: "EMAIL",
|
|
267
|
+
Date: "DATE",
|
|
268
|
+
Text: "TEXT",
|
|
269
|
+
Number: "NUMBER",
|
|
270
|
+
Radio: "RADIO",
|
|
271
|
+
Checkbox: "CHECKBOX",
|
|
272
|
+
Dropdown: "DROPDOWN",
|
|
273
|
+
} as const;
|
|
274
|
+
export type TemplateGetTemplateByIdTemplatesResponseType = ClosedEnum<
|
|
275
|
+
typeof TemplateGetTemplateByIdTemplatesResponseType
|
|
276
|
+
>;
|
|
277
|
+
|
|
278
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type =
|
|
279
|
+
{
|
|
280
|
+
Dropdown: "dropdown",
|
|
281
|
+
} as const;
|
|
282
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type =
|
|
283
|
+
ClosedEnum<
|
|
284
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type
|
|
285
|
+
>;
|
|
286
|
+
|
|
287
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponseValues = {
|
|
288
|
+
value: string;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
export type TemplateGetTemplateByIdFieldMeta9 = {
|
|
292
|
+
label?: string | undefined;
|
|
293
|
+
placeholder?: string | undefined;
|
|
294
|
+
required?: boolean | undefined;
|
|
295
|
+
readOnly?: boolean | undefined;
|
|
296
|
+
type:
|
|
297
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type;
|
|
298
|
+
values?:
|
|
299
|
+
| Array<TemplateGetTemplateByIdFieldMetaTemplatesResponseValues>
|
|
300
|
+
| undefined;
|
|
301
|
+
defaultValue?: string | undefined;
|
|
302
|
+
};
|
|
303
|
+
|
|
304
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type =
|
|
305
|
+
{
|
|
306
|
+
Checkbox: "checkbox",
|
|
307
|
+
} as const;
|
|
308
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type =
|
|
309
|
+
ClosedEnum<
|
|
310
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type
|
|
311
|
+
>;
|
|
312
|
+
|
|
313
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesValues = {
|
|
314
|
+
id: number;
|
|
315
|
+
checked: boolean;
|
|
316
|
+
value: string;
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
export type TemplateGetTemplateByIdFieldMeta8 = {
|
|
320
|
+
label?: string | undefined;
|
|
321
|
+
placeholder?: string | undefined;
|
|
322
|
+
required?: boolean | undefined;
|
|
323
|
+
readOnly?: boolean | undefined;
|
|
324
|
+
type:
|
|
325
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type;
|
|
326
|
+
values?: Array<TemplateGetTemplateByIdFieldMetaTemplatesValues> | undefined;
|
|
327
|
+
validationRule?: string | undefined;
|
|
328
|
+
validationLength?: number | undefined;
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType =
|
|
332
|
+
{
|
|
333
|
+
Radio: "radio",
|
|
334
|
+
} as const;
|
|
335
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType =
|
|
336
|
+
ClosedEnum<
|
|
337
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType
|
|
338
|
+
>;
|
|
339
|
+
|
|
340
|
+
export type TemplateGetTemplateByIdFieldMetaValues = {
|
|
341
|
+
id: number;
|
|
342
|
+
checked: boolean;
|
|
343
|
+
value: string;
|
|
344
|
+
};
|
|
345
|
+
|
|
346
|
+
export type TemplateGetTemplateByIdFieldMeta7 = {
|
|
347
|
+
label?: string | undefined;
|
|
348
|
+
placeholder?: string | undefined;
|
|
349
|
+
required?: boolean | undefined;
|
|
350
|
+
readOnly?: boolean | undefined;
|
|
351
|
+
type:
|
|
352
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType;
|
|
353
|
+
values?: Array<TemplateGetTemplateByIdFieldMetaValues> | undefined;
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType =
|
|
357
|
+
{
|
|
358
|
+
Number: "number",
|
|
359
|
+
} as const;
|
|
360
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType =
|
|
361
|
+
ClosedEnum<
|
|
362
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType
|
|
363
|
+
>;
|
|
364
|
+
|
|
365
|
+
export type TemplateGetTemplateByIdFieldMeta6 = {
|
|
366
|
+
label?: string | undefined;
|
|
367
|
+
placeholder?: string | undefined;
|
|
368
|
+
required?: boolean | undefined;
|
|
369
|
+
readOnly?: boolean | undefined;
|
|
370
|
+
type:
|
|
371
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType;
|
|
372
|
+
numberFormat?: string | undefined;
|
|
373
|
+
value?: string | undefined;
|
|
374
|
+
minValue?: number | undefined;
|
|
375
|
+
maxValue?: number | undefined;
|
|
376
|
+
fontSize?: number | undefined;
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType =
|
|
380
|
+
{
|
|
381
|
+
Text: "text",
|
|
382
|
+
} as const;
|
|
383
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType =
|
|
384
|
+
ClosedEnum<
|
|
385
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType
|
|
386
|
+
>;
|
|
387
|
+
|
|
388
|
+
export type TemplateGetTemplateByIdFieldMeta5 = {
|
|
389
|
+
label?: string | undefined;
|
|
390
|
+
placeholder?: string | undefined;
|
|
391
|
+
required?: boolean | undefined;
|
|
392
|
+
readOnly?: boolean | undefined;
|
|
393
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType;
|
|
394
|
+
text?: string | undefined;
|
|
395
|
+
characterLimit?: number | undefined;
|
|
396
|
+
fontSize?: number | undefined;
|
|
397
|
+
};
|
|
398
|
+
|
|
399
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type = {
|
|
400
|
+
Date: "date",
|
|
401
|
+
} as const;
|
|
402
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type =
|
|
403
|
+
ClosedEnum<typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type>;
|
|
404
|
+
|
|
405
|
+
export type TemplateGetTemplateByIdFieldMeta4 = {
|
|
406
|
+
label?: string | undefined;
|
|
407
|
+
placeholder?: string | undefined;
|
|
408
|
+
required?: boolean | undefined;
|
|
409
|
+
readOnly?: boolean | undefined;
|
|
410
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type;
|
|
411
|
+
fontSize?: number | undefined;
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponseType = {
|
|
415
|
+
Email: "email",
|
|
416
|
+
} as const;
|
|
417
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponseType = ClosedEnum<
|
|
418
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponseType
|
|
419
|
+
>;
|
|
420
|
+
|
|
421
|
+
export type TemplateGetTemplateByIdFieldMeta3 = {
|
|
422
|
+
label?: string | undefined;
|
|
423
|
+
placeholder?: string | undefined;
|
|
424
|
+
required?: boolean | undefined;
|
|
425
|
+
readOnly?: boolean | undefined;
|
|
426
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesResponseType;
|
|
427
|
+
fontSize?: number | undefined;
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesType = {
|
|
431
|
+
Name: "name",
|
|
432
|
+
} as const;
|
|
433
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesType = ClosedEnum<
|
|
434
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesType
|
|
435
|
+
>;
|
|
436
|
+
|
|
437
|
+
export type TemplateGetTemplateByIdFieldMeta2 = {
|
|
438
|
+
label?: string | undefined;
|
|
439
|
+
placeholder?: string | undefined;
|
|
440
|
+
required?: boolean | undefined;
|
|
441
|
+
readOnly?: boolean | undefined;
|
|
442
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesType;
|
|
443
|
+
fontSize?: number | undefined;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
export const TemplateGetTemplateByIdFieldMetaType = {
|
|
447
|
+
Initials: "initials",
|
|
448
|
+
} as const;
|
|
449
|
+
export type TemplateGetTemplateByIdFieldMetaType = ClosedEnum<
|
|
450
|
+
typeof TemplateGetTemplateByIdFieldMetaType
|
|
451
|
+
>;
|
|
452
|
+
|
|
453
|
+
export type TemplateGetTemplateByIdFieldMeta1 = {
|
|
454
|
+
label?: string | undefined;
|
|
455
|
+
placeholder?: string | undefined;
|
|
456
|
+
required?: boolean | undefined;
|
|
457
|
+
readOnly?: boolean | undefined;
|
|
458
|
+
type: TemplateGetTemplateByIdFieldMetaType;
|
|
459
|
+
fontSize?: number | undefined;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
export type TemplateGetTemplateByIdFieldMeta =
|
|
463
|
+
| TemplateGetTemplateByIdFieldMeta1
|
|
464
|
+
| TemplateGetTemplateByIdFieldMeta2
|
|
465
|
+
| TemplateGetTemplateByIdFieldMeta3
|
|
466
|
+
| TemplateGetTemplateByIdFieldMeta4
|
|
467
|
+
| TemplateGetTemplateByIdFieldMeta7
|
|
468
|
+
| TemplateGetTemplateByIdFieldMeta9
|
|
469
|
+
| TemplateGetTemplateByIdFieldMeta5
|
|
470
|
+
| TemplateGetTemplateByIdFieldMeta8
|
|
471
|
+
| TemplateGetTemplateByIdFieldMeta6;
|
|
472
|
+
|
|
473
|
+
export type TemplateGetTemplateByIdFields = {
|
|
474
|
+
type: TemplateGetTemplateByIdTemplatesResponseType;
|
|
475
|
+
id: number;
|
|
476
|
+
secondaryId: string;
|
|
477
|
+
documentId: number | null;
|
|
478
|
+
templateId: number | null;
|
|
479
|
+
recipientId: number;
|
|
480
|
+
/**
|
|
481
|
+
* The page number of the field on the document. Starts from 1.
|
|
482
|
+
*/
|
|
483
|
+
page: number;
|
|
484
|
+
positionX?: any | undefined;
|
|
485
|
+
positionY?: any | undefined;
|
|
486
|
+
width?: any | undefined;
|
|
487
|
+
height?: any | undefined;
|
|
488
|
+
customText: string;
|
|
489
|
+
inserted: boolean;
|
|
490
|
+
fieldMeta:
|
|
491
|
+
| TemplateGetTemplateByIdFieldMeta1
|
|
492
|
+
| TemplateGetTemplateByIdFieldMeta2
|
|
493
|
+
| TemplateGetTemplateByIdFieldMeta3
|
|
494
|
+
| TemplateGetTemplateByIdFieldMeta4
|
|
495
|
+
| TemplateGetTemplateByIdFieldMeta7
|
|
496
|
+
| TemplateGetTemplateByIdFieldMeta9
|
|
497
|
+
| TemplateGetTemplateByIdFieldMeta5
|
|
498
|
+
| TemplateGetTemplateByIdFieldMeta8
|
|
499
|
+
| TemplateGetTemplateByIdFieldMeta6
|
|
500
|
+
| null;
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Successful response
|
|
505
|
+
*/
|
|
506
|
+
export type TemplateGetTemplateByIdResponseBody = {
|
|
507
|
+
type: TemplateGetTemplateByIdType;
|
|
508
|
+
visibility: TemplateGetTemplateByIdVisibility;
|
|
509
|
+
id: number;
|
|
510
|
+
externalId: string | null;
|
|
511
|
+
title: string;
|
|
512
|
+
userId: number;
|
|
513
|
+
teamId: number | null;
|
|
514
|
+
authOptions: TemplateGetTemplateByIdAuthOptions | null;
|
|
515
|
+
templateDocumentDataId: string;
|
|
516
|
+
createdAt: string;
|
|
517
|
+
updatedAt: string;
|
|
518
|
+
publicTitle: string;
|
|
519
|
+
publicDescription: string;
|
|
520
|
+
templateDocumentData: TemplateDocumentData;
|
|
521
|
+
templateMeta: TemplateMeta | null;
|
|
522
|
+
directLink: DirectLink | null;
|
|
523
|
+
user: User;
|
|
524
|
+
recipients: Array<TemplateGetTemplateByIdRecipients>;
|
|
525
|
+
fields: Array<TemplateGetTemplateByIdFields>;
|
|
526
|
+
};
|
|
527
|
+
|
|
528
|
+
/** @internal */
|
|
529
|
+
export const TemplateGetTemplateByIdRequest$inboundSchema: z.ZodType<
|
|
530
|
+
TemplateGetTemplateByIdRequest,
|
|
531
|
+
z.ZodTypeDef,
|
|
532
|
+
unknown
|
|
533
|
+
> = z.object({
|
|
534
|
+
templateId: z.number(),
|
|
535
|
+
});
|
|
536
|
+
|
|
537
|
+
/** @internal */
|
|
538
|
+
export type TemplateGetTemplateByIdRequest$Outbound = {
|
|
539
|
+
templateId: number;
|
|
540
|
+
};
|
|
541
|
+
|
|
542
|
+
/** @internal */
|
|
543
|
+
export const TemplateGetTemplateByIdRequest$outboundSchema: z.ZodType<
|
|
544
|
+
TemplateGetTemplateByIdRequest$Outbound,
|
|
545
|
+
z.ZodTypeDef,
|
|
546
|
+
TemplateGetTemplateByIdRequest
|
|
547
|
+
> = z.object({
|
|
548
|
+
templateId: z.number(),
|
|
549
|
+
});
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* @internal
|
|
553
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
554
|
+
*/
|
|
555
|
+
export namespace TemplateGetTemplateByIdRequest$ {
|
|
556
|
+
/** @deprecated use `TemplateGetTemplateByIdRequest$inboundSchema` instead. */
|
|
557
|
+
export const inboundSchema = TemplateGetTemplateByIdRequest$inboundSchema;
|
|
558
|
+
/** @deprecated use `TemplateGetTemplateByIdRequest$outboundSchema` instead. */
|
|
559
|
+
export const outboundSchema = TemplateGetTemplateByIdRequest$outboundSchema;
|
|
560
|
+
/** @deprecated use `TemplateGetTemplateByIdRequest$Outbound` instead. */
|
|
561
|
+
export type Outbound = TemplateGetTemplateByIdRequest$Outbound;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
export function templateGetTemplateByIdRequestToJSON(
|
|
565
|
+
templateGetTemplateByIdRequest: TemplateGetTemplateByIdRequest,
|
|
566
|
+
): string {
|
|
567
|
+
return JSON.stringify(
|
|
568
|
+
TemplateGetTemplateByIdRequest$outboundSchema.parse(
|
|
569
|
+
templateGetTemplateByIdRequest,
|
|
570
|
+
),
|
|
571
|
+
);
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
export function templateGetTemplateByIdRequestFromJSON(
|
|
575
|
+
jsonString: string,
|
|
576
|
+
): SafeParseResult<TemplateGetTemplateByIdRequest, SDKValidationError> {
|
|
577
|
+
return safeParse(
|
|
578
|
+
jsonString,
|
|
579
|
+
(x) => TemplateGetTemplateByIdRequest$inboundSchema.parse(JSON.parse(x)),
|
|
580
|
+
`Failed to parse 'TemplateGetTemplateByIdRequest' from JSON`,
|
|
581
|
+
);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/** @internal */
|
|
585
|
+
export const TemplateGetTemplateByIdType$inboundSchema: z.ZodNativeEnum<
|
|
586
|
+
typeof TemplateGetTemplateByIdType
|
|
587
|
+
> = z.nativeEnum(TemplateGetTemplateByIdType);
|
|
588
|
+
|
|
589
|
+
/** @internal */
|
|
590
|
+
export const TemplateGetTemplateByIdType$outboundSchema: z.ZodNativeEnum<
|
|
591
|
+
typeof TemplateGetTemplateByIdType
|
|
592
|
+
> = TemplateGetTemplateByIdType$inboundSchema;
|
|
593
|
+
|
|
594
|
+
/**
|
|
595
|
+
* @internal
|
|
596
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
597
|
+
*/
|
|
598
|
+
export namespace TemplateGetTemplateByIdType$ {
|
|
599
|
+
/** @deprecated use `TemplateGetTemplateByIdType$inboundSchema` instead. */
|
|
600
|
+
export const inboundSchema = TemplateGetTemplateByIdType$inboundSchema;
|
|
601
|
+
/** @deprecated use `TemplateGetTemplateByIdType$outboundSchema` instead. */
|
|
602
|
+
export const outboundSchema = TemplateGetTemplateByIdType$outboundSchema;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
/** @internal */
|
|
606
|
+
export const TemplateGetTemplateByIdVisibility$inboundSchema: z.ZodNativeEnum<
|
|
607
|
+
typeof TemplateGetTemplateByIdVisibility
|
|
608
|
+
> = z.nativeEnum(TemplateGetTemplateByIdVisibility);
|
|
609
|
+
|
|
610
|
+
/** @internal */
|
|
611
|
+
export const TemplateGetTemplateByIdVisibility$outboundSchema: z.ZodNativeEnum<
|
|
612
|
+
typeof TemplateGetTemplateByIdVisibility
|
|
613
|
+
> = TemplateGetTemplateByIdVisibility$inboundSchema;
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* @internal
|
|
617
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
618
|
+
*/
|
|
619
|
+
export namespace TemplateGetTemplateByIdVisibility$ {
|
|
620
|
+
/** @deprecated use `TemplateGetTemplateByIdVisibility$inboundSchema` instead. */
|
|
621
|
+
export const inboundSchema = TemplateGetTemplateByIdVisibility$inboundSchema;
|
|
622
|
+
/** @deprecated use `TemplateGetTemplateByIdVisibility$outboundSchema` instead. */
|
|
623
|
+
export const outboundSchema =
|
|
624
|
+
TemplateGetTemplateByIdVisibility$outboundSchema;
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
/** @internal */
|
|
628
|
+
export const TemplateGetTemplateByIdGlobalAccessAuth$inboundSchema:
|
|
629
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdGlobalAccessAuth> = z
|
|
630
|
+
.nativeEnum(TemplateGetTemplateByIdGlobalAccessAuth);
|
|
631
|
+
|
|
632
|
+
/** @internal */
|
|
633
|
+
export const TemplateGetTemplateByIdGlobalAccessAuth$outboundSchema:
|
|
634
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdGlobalAccessAuth> =
|
|
635
|
+
TemplateGetTemplateByIdGlobalAccessAuth$inboundSchema;
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* @internal
|
|
639
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
640
|
+
*/
|
|
641
|
+
export namespace TemplateGetTemplateByIdGlobalAccessAuth$ {
|
|
642
|
+
/** @deprecated use `TemplateGetTemplateByIdGlobalAccessAuth$inboundSchema` instead. */
|
|
643
|
+
export const inboundSchema =
|
|
644
|
+
TemplateGetTemplateByIdGlobalAccessAuth$inboundSchema;
|
|
645
|
+
/** @deprecated use `TemplateGetTemplateByIdGlobalAccessAuth$outboundSchema` instead. */
|
|
646
|
+
export const outboundSchema =
|
|
647
|
+
TemplateGetTemplateByIdGlobalAccessAuth$outboundSchema;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/** @internal */
|
|
651
|
+
export const TemplateGetTemplateByIdGlobalActionAuth$inboundSchema:
|
|
652
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdGlobalActionAuth> = z
|
|
653
|
+
.nativeEnum(TemplateGetTemplateByIdGlobalActionAuth);
|
|
654
|
+
|
|
655
|
+
/** @internal */
|
|
656
|
+
export const TemplateGetTemplateByIdGlobalActionAuth$outboundSchema:
|
|
657
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdGlobalActionAuth> =
|
|
658
|
+
TemplateGetTemplateByIdGlobalActionAuth$inboundSchema;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @internal
|
|
662
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
663
|
+
*/
|
|
664
|
+
export namespace TemplateGetTemplateByIdGlobalActionAuth$ {
|
|
665
|
+
/** @deprecated use `TemplateGetTemplateByIdGlobalActionAuth$inboundSchema` instead. */
|
|
666
|
+
export const inboundSchema =
|
|
667
|
+
TemplateGetTemplateByIdGlobalActionAuth$inboundSchema;
|
|
668
|
+
/** @deprecated use `TemplateGetTemplateByIdGlobalActionAuth$outboundSchema` instead. */
|
|
669
|
+
export const outboundSchema =
|
|
670
|
+
TemplateGetTemplateByIdGlobalActionAuth$outboundSchema;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/** @internal */
|
|
674
|
+
export const TemplateGetTemplateByIdAuthOptions$inboundSchema: z.ZodType<
|
|
675
|
+
TemplateGetTemplateByIdAuthOptions,
|
|
676
|
+
z.ZodTypeDef,
|
|
677
|
+
unknown
|
|
678
|
+
> = z.object({
|
|
679
|
+
globalAccessAuth: z.nullable(
|
|
680
|
+
TemplateGetTemplateByIdGlobalAccessAuth$inboundSchema,
|
|
681
|
+
),
|
|
682
|
+
globalActionAuth: z.nullable(
|
|
683
|
+
TemplateGetTemplateByIdGlobalActionAuth$inboundSchema,
|
|
684
|
+
),
|
|
685
|
+
});
|
|
686
|
+
|
|
687
|
+
/** @internal */
|
|
688
|
+
export type TemplateGetTemplateByIdAuthOptions$Outbound = {
|
|
689
|
+
globalAccessAuth: string | null;
|
|
690
|
+
globalActionAuth: string | null;
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
/** @internal */
|
|
694
|
+
export const TemplateGetTemplateByIdAuthOptions$outboundSchema: z.ZodType<
|
|
695
|
+
TemplateGetTemplateByIdAuthOptions$Outbound,
|
|
696
|
+
z.ZodTypeDef,
|
|
697
|
+
TemplateGetTemplateByIdAuthOptions
|
|
698
|
+
> = z.object({
|
|
699
|
+
globalAccessAuth: z.nullable(
|
|
700
|
+
TemplateGetTemplateByIdGlobalAccessAuth$outboundSchema,
|
|
701
|
+
),
|
|
702
|
+
globalActionAuth: z.nullable(
|
|
703
|
+
TemplateGetTemplateByIdGlobalActionAuth$outboundSchema,
|
|
704
|
+
),
|
|
705
|
+
});
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* @internal
|
|
709
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
710
|
+
*/
|
|
711
|
+
export namespace TemplateGetTemplateByIdAuthOptions$ {
|
|
712
|
+
/** @deprecated use `TemplateGetTemplateByIdAuthOptions$inboundSchema` instead. */
|
|
713
|
+
export const inboundSchema = TemplateGetTemplateByIdAuthOptions$inboundSchema;
|
|
714
|
+
/** @deprecated use `TemplateGetTemplateByIdAuthOptions$outboundSchema` instead. */
|
|
715
|
+
export const outboundSchema =
|
|
716
|
+
TemplateGetTemplateByIdAuthOptions$outboundSchema;
|
|
717
|
+
/** @deprecated use `TemplateGetTemplateByIdAuthOptions$Outbound` instead. */
|
|
718
|
+
export type Outbound = TemplateGetTemplateByIdAuthOptions$Outbound;
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
export function templateGetTemplateByIdAuthOptionsToJSON(
|
|
722
|
+
templateGetTemplateByIdAuthOptions: TemplateGetTemplateByIdAuthOptions,
|
|
723
|
+
): string {
|
|
724
|
+
return JSON.stringify(
|
|
725
|
+
TemplateGetTemplateByIdAuthOptions$outboundSchema.parse(
|
|
726
|
+
templateGetTemplateByIdAuthOptions,
|
|
727
|
+
),
|
|
728
|
+
);
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
export function templateGetTemplateByIdAuthOptionsFromJSON(
|
|
732
|
+
jsonString: string,
|
|
733
|
+
): SafeParseResult<TemplateGetTemplateByIdAuthOptions, SDKValidationError> {
|
|
734
|
+
return safeParse(
|
|
735
|
+
jsonString,
|
|
736
|
+
(x) =>
|
|
737
|
+
TemplateGetTemplateByIdAuthOptions$inboundSchema.parse(JSON.parse(x)),
|
|
738
|
+
`Failed to parse 'TemplateGetTemplateByIdAuthOptions' from JSON`,
|
|
739
|
+
);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/** @internal */
|
|
743
|
+
export const TemplateGetTemplateByIdTemplatesType$inboundSchema:
|
|
744
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdTemplatesType> = z.nativeEnum(
|
|
745
|
+
TemplateGetTemplateByIdTemplatesType,
|
|
746
|
+
);
|
|
747
|
+
|
|
748
|
+
/** @internal */
|
|
749
|
+
export const TemplateGetTemplateByIdTemplatesType$outboundSchema:
|
|
750
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdTemplatesType> =
|
|
751
|
+
TemplateGetTemplateByIdTemplatesType$inboundSchema;
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* @internal
|
|
755
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
756
|
+
*/
|
|
757
|
+
export namespace TemplateGetTemplateByIdTemplatesType$ {
|
|
758
|
+
/** @deprecated use `TemplateGetTemplateByIdTemplatesType$inboundSchema` instead. */
|
|
759
|
+
export const inboundSchema =
|
|
760
|
+
TemplateGetTemplateByIdTemplatesType$inboundSchema;
|
|
761
|
+
/** @deprecated use `TemplateGetTemplateByIdTemplatesType$outboundSchema` instead. */
|
|
762
|
+
export const outboundSchema =
|
|
763
|
+
TemplateGetTemplateByIdTemplatesType$outboundSchema;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
/** @internal */
|
|
767
|
+
export const TemplateDocumentData$inboundSchema: z.ZodType<
|
|
768
|
+
TemplateDocumentData,
|
|
769
|
+
z.ZodTypeDef,
|
|
770
|
+
unknown
|
|
771
|
+
> = z.object({
|
|
772
|
+
type: TemplateGetTemplateByIdTemplatesType$inboundSchema,
|
|
773
|
+
id: z.string(),
|
|
774
|
+
data: z.string(),
|
|
775
|
+
initialData: z.string(),
|
|
776
|
+
});
|
|
777
|
+
|
|
778
|
+
/** @internal */
|
|
779
|
+
export type TemplateDocumentData$Outbound = {
|
|
780
|
+
type: string;
|
|
781
|
+
id: string;
|
|
782
|
+
data: string;
|
|
783
|
+
initialData: string;
|
|
784
|
+
};
|
|
785
|
+
|
|
786
|
+
/** @internal */
|
|
787
|
+
export const TemplateDocumentData$outboundSchema: z.ZodType<
|
|
788
|
+
TemplateDocumentData$Outbound,
|
|
789
|
+
z.ZodTypeDef,
|
|
790
|
+
TemplateDocumentData
|
|
791
|
+
> = z.object({
|
|
792
|
+
type: TemplateGetTemplateByIdTemplatesType$outboundSchema,
|
|
793
|
+
id: z.string(),
|
|
794
|
+
data: z.string(),
|
|
795
|
+
initialData: z.string(),
|
|
796
|
+
});
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* @internal
|
|
800
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
801
|
+
*/
|
|
802
|
+
export namespace TemplateDocumentData$ {
|
|
803
|
+
/** @deprecated use `TemplateDocumentData$inboundSchema` instead. */
|
|
804
|
+
export const inboundSchema = TemplateDocumentData$inboundSchema;
|
|
805
|
+
/** @deprecated use `TemplateDocumentData$outboundSchema` instead. */
|
|
806
|
+
export const outboundSchema = TemplateDocumentData$outboundSchema;
|
|
807
|
+
/** @deprecated use `TemplateDocumentData$Outbound` instead. */
|
|
808
|
+
export type Outbound = TemplateDocumentData$Outbound;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
export function templateDocumentDataToJSON(
|
|
812
|
+
templateDocumentData: TemplateDocumentData,
|
|
813
|
+
): string {
|
|
814
|
+
return JSON.stringify(
|
|
815
|
+
TemplateDocumentData$outboundSchema.parse(templateDocumentData),
|
|
816
|
+
);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
export function templateDocumentDataFromJSON(
|
|
820
|
+
jsonString: string,
|
|
821
|
+
): SafeParseResult<TemplateDocumentData, SDKValidationError> {
|
|
822
|
+
return safeParse(
|
|
823
|
+
jsonString,
|
|
824
|
+
(x) => TemplateDocumentData$inboundSchema.parse(JSON.parse(x)),
|
|
825
|
+
`Failed to parse 'TemplateDocumentData' from JSON`,
|
|
826
|
+
);
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
/** @internal */
|
|
830
|
+
export const TemplateGetTemplateByIdSigningOrder$inboundSchema: z.ZodNativeEnum<
|
|
831
|
+
typeof TemplateGetTemplateByIdSigningOrder
|
|
832
|
+
> = z.nativeEnum(TemplateGetTemplateByIdSigningOrder);
|
|
833
|
+
|
|
834
|
+
/** @internal */
|
|
835
|
+
export const TemplateGetTemplateByIdSigningOrder$outboundSchema:
|
|
836
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdSigningOrder> =
|
|
837
|
+
TemplateGetTemplateByIdSigningOrder$inboundSchema;
|
|
838
|
+
|
|
839
|
+
/**
|
|
840
|
+
* @internal
|
|
841
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
842
|
+
*/
|
|
843
|
+
export namespace TemplateGetTemplateByIdSigningOrder$ {
|
|
844
|
+
/** @deprecated use `TemplateGetTemplateByIdSigningOrder$inboundSchema` instead. */
|
|
845
|
+
export const inboundSchema =
|
|
846
|
+
TemplateGetTemplateByIdSigningOrder$inboundSchema;
|
|
847
|
+
/** @deprecated use `TemplateGetTemplateByIdSigningOrder$outboundSchema` instead. */
|
|
848
|
+
export const outboundSchema =
|
|
849
|
+
TemplateGetTemplateByIdSigningOrder$outboundSchema;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/** @internal */
|
|
853
|
+
export const TemplateGetTemplateByIdDistributionMethod$inboundSchema:
|
|
854
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdDistributionMethod> = z
|
|
855
|
+
.nativeEnum(TemplateGetTemplateByIdDistributionMethod);
|
|
856
|
+
|
|
857
|
+
/** @internal */
|
|
858
|
+
export const TemplateGetTemplateByIdDistributionMethod$outboundSchema:
|
|
859
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdDistributionMethod> =
|
|
860
|
+
TemplateGetTemplateByIdDistributionMethod$inboundSchema;
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* @internal
|
|
864
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
865
|
+
*/
|
|
866
|
+
export namespace TemplateGetTemplateByIdDistributionMethod$ {
|
|
867
|
+
/** @deprecated use `TemplateGetTemplateByIdDistributionMethod$inboundSchema` instead. */
|
|
868
|
+
export const inboundSchema =
|
|
869
|
+
TemplateGetTemplateByIdDistributionMethod$inboundSchema;
|
|
870
|
+
/** @deprecated use `TemplateGetTemplateByIdDistributionMethod$outboundSchema` instead. */
|
|
871
|
+
export const outboundSchema =
|
|
872
|
+
TemplateGetTemplateByIdDistributionMethod$outboundSchema;
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
/** @internal */
|
|
876
|
+
export const TemplateGetTemplateByIdEmailSettings$inboundSchema: z.ZodType<
|
|
877
|
+
TemplateGetTemplateByIdEmailSettings,
|
|
878
|
+
z.ZodTypeDef,
|
|
879
|
+
unknown
|
|
880
|
+
> = z.object({
|
|
881
|
+
recipientSigningRequest: z.boolean().default(true),
|
|
882
|
+
recipientRemoved: z.boolean().default(true),
|
|
883
|
+
recipientSigned: z.boolean().default(true),
|
|
884
|
+
documentPending: z.boolean().default(true),
|
|
885
|
+
documentCompleted: z.boolean().default(true),
|
|
886
|
+
documentDeleted: z.boolean().default(true),
|
|
887
|
+
ownerDocumentCompleted: z.boolean().default(true),
|
|
888
|
+
});
|
|
889
|
+
|
|
890
|
+
/** @internal */
|
|
891
|
+
export type TemplateGetTemplateByIdEmailSettings$Outbound = {
|
|
892
|
+
recipientSigningRequest: boolean;
|
|
893
|
+
recipientRemoved: boolean;
|
|
894
|
+
recipientSigned: boolean;
|
|
895
|
+
documentPending: boolean;
|
|
896
|
+
documentCompleted: boolean;
|
|
897
|
+
documentDeleted: boolean;
|
|
898
|
+
ownerDocumentCompleted: boolean;
|
|
899
|
+
};
|
|
900
|
+
|
|
901
|
+
/** @internal */
|
|
902
|
+
export const TemplateGetTemplateByIdEmailSettings$outboundSchema: z.ZodType<
|
|
903
|
+
TemplateGetTemplateByIdEmailSettings$Outbound,
|
|
904
|
+
z.ZodTypeDef,
|
|
905
|
+
TemplateGetTemplateByIdEmailSettings
|
|
906
|
+
> = z.object({
|
|
907
|
+
recipientSigningRequest: z.boolean().default(true),
|
|
908
|
+
recipientRemoved: z.boolean().default(true),
|
|
909
|
+
recipientSigned: z.boolean().default(true),
|
|
910
|
+
documentPending: z.boolean().default(true),
|
|
911
|
+
documentCompleted: z.boolean().default(true),
|
|
912
|
+
documentDeleted: z.boolean().default(true),
|
|
913
|
+
ownerDocumentCompleted: z.boolean().default(true),
|
|
914
|
+
});
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @internal
|
|
918
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
919
|
+
*/
|
|
920
|
+
export namespace TemplateGetTemplateByIdEmailSettings$ {
|
|
921
|
+
/** @deprecated use `TemplateGetTemplateByIdEmailSettings$inboundSchema` instead. */
|
|
922
|
+
export const inboundSchema =
|
|
923
|
+
TemplateGetTemplateByIdEmailSettings$inboundSchema;
|
|
924
|
+
/** @deprecated use `TemplateGetTemplateByIdEmailSettings$outboundSchema` instead. */
|
|
925
|
+
export const outboundSchema =
|
|
926
|
+
TemplateGetTemplateByIdEmailSettings$outboundSchema;
|
|
927
|
+
/** @deprecated use `TemplateGetTemplateByIdEmailSettings$Outbound` instead. */
|
|
928
|
+
export type Outbound = TemplateGetTemplateByIdEmailSettings$Outbound;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
export function templateGetTemplateByIdEmailSettingsToJSON(
|
|
932
|
+
templateGetTemplateByIdEmailSettings: TemplateGetTemplateByIdEmailSettings,
|
|
933
|
+
): string {
|
|
934
|
+
return JSON.stringify(
|
|
935
|
+
TemplateGetTemplateByIdEmailSettings$outboundSchema.parse(
|
|
936
|
+
templateGetTemplateByIdEmailSettings,
|
|
937
|
+
),
|
|
938
|
+
);
|
|
939
|
+
}
|
|
940
|
+
|
|
941
|
+
export function templateGetTemplateByIdEmailSettingsFromJSON(
|
|
942
|
+
jsonString: string,
|
|
943
|
+
): SafeParseResult<TemplateGetTemplateByIdEmailSettings, SDKValidationError> {
|
|
944
|
+
return safeParse(
|
|
945
|
+
jsonString,
|
|
946
|
+
(x) =>
|
|
947
|
+
TemplateGetTemplateByIdEmailSettings$inboundSchema.parse(JSON.parse(x)),
|
|
948
|
+
`Failed to parse 'TemplateGetTemplateByIdEmailSettings' from JSON`,
|
|
949
|
+
);
|
|
950
|
+
}
|
|
951
|
+
|
|
952
|
+
/** @internal */
|
|
953
|
+
export const TemplateMeta$inboundSchema: z.ZodType<
|
|
954
|
+
TemplateMeta,
|
|
955
|
+
z.ZodTypeDef,
|
|
956
|
+
unknown
|
|
957
|
+
> = z.object({
|
|
958
|
+
id: z.string(),
|
|
959
|
+
subject: z.nullable(z.string()),
|
|
960
|
+
message: z.nullable(z.string()),
|
|
961
|
+
timezone: z.nullable(z.string()),
|
|
962
|
+
dateFormat: z.nullable(z.string()),
|
|
963
|
+
signingOrder: z.nullable(TemplateGetTemplateByIdSigningOrder$inboundSchema),
|
|
964
|
+
typedSignatureEnabled: z.boolean(),
|
|
965
|
+
distributionMethod: TemplateGetTemplateByIdDistributionMethod$inboundSchema,
|
|
966
|
+
templateId: z.number().int(),
|
|
967
|
+
redirectUrl: z.nullable(z.string()),
|
|
968
|
+
language: z.string(),
|
|
969
|
+
emailSettings: z.nullable(
|
|
970
|
+
z.lazy(() => TemplateGetTemplateByIdEmailSettings$inboundSchema),
|
|
971
|
+
),
|
|
972
|
+
});
|
|
973
|
+
|
|
974
|
+
/** @internal */
|
|
975
|
+
export type TemplateMeta$Outbound = {
|
|
976
|
+
id: string;
|
|
977
|
+
subject: string | null;
|
|
978
|
+
message: string | null;
|
|
979
|
+
timezone: string | null;
|
|
980
|
+
dateFormat: string | null;
|
|
981
|
+
signingOrder: string | null;
|
|
982
|
+
typedSignatureEnabled: boolean;
|
|
983
|
+
distributionMethod: string;
|
|
984
|
+
templateId: number;
|
|
985
|
+
redirectUrl: string | null;
|
|
986
|
+
language: string;
|
|
987
|
+
emailSettings: TemplateGetTemplateByIdEmailSettings$Outbound | null;
|
|
988
|
+
};
|
|
989
|
+
|
|
990
|
+
/** @internal */
|
|
991
|
+
export const TemplateMeta$outboundSchema: z.ZodType<
|
|
992
|
+
TemplateMeta$Outbound,
|
|
993
|
+
z.ZodTypeDef,
|
|
994
|
+
TemplateMeta
|
|
995
|
+
> = z.object({
|
|
996
|
+
id: z.string(),
|
|
997
|
+
subject: z.nullable(z.string()),
|
|
998
|
+
message: z.nullable(z.string()),
|
|
999
|
+
timezone: z.nullable(z.string()),
|
|
1000
|
+
dateFormat: z.nullable(z.string()),
|
|
1001
|
+
signingOrder: z.nullable(TemplateGetTemplateByIdSigningOrder$outboundSchema),
|
|
1002
|
+
typedSignatureEnabled: z.boolean(),
|
|
1003
|
+
distributionMethod: TemplateGetTemplateByIdDistributionMethod$outboundSchema,
|
|
1004
|
+
templateId: z.number().int(),
|
|
1005
|
+
redirectUrl: z.nullable(z.string()),
|
|
1006
|
+
language: z.string(),
|
|
1007
|
+
emailSettings: z.nullable(
|
|
1008
|
+
z.lazy(() => TemplateGetTemplateByIdEmailSettings$outboundSchema),
|
|
1009
|
+
),
|
|
1010
|
+
});
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* @internal
|
|
1014
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1015
|
+
*/
|
|
1016
|
+
export namespace TemplateMeta$ {
|
|
1017
|
+
/** @deprecated use `TemplateMeta$inboundSchema` instead. */
|
|
1018
|
+
export const inboundSchema = TemplateMeta$inboundSchema;
|
|
1019
|
+
/** @deprecated use `TemplateMeta$outboundSchema` instead. */
|
|
1020
|
+
export const outboundSchema = TemplateMeta$outboundSchema;
|
|
1021
|
+
/** @deprecated use `TemplateMeta$Outbound` instead. */
|
|
1022
|
+
export type Outbound = TemplateMeta$Outbound;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
export function templateMetaToJSON(templateMeta: TemplateMeta): string {
|
|
1026
|
+
return JSON.stringify(TemplateMeta$outboundSchema.parse(templateMeta));
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
export function templateMetaFromJSON(
|
|
1030
|
+
jsonString: string,
|
|
1031
|
+
): SafeParseResult<TemplateMeta, SDKValidationError> {
|
|
1032
|
+
return safeParse(
|
|
1033
|
+
jsonString,
|
|
1034
|
+
(x) => TemplateMeta$inboundSchema.parse(JSON.parse(x)),
|
|
1035
|
+
`Failed to parse 'TemplateMeta' from JSON`,
|
|
1036
|
+
);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
/** @internal */
|
|
1040
|
+
export const DirectLink$inboundSchema: z.ZodType<
|
|
1041
|
+
DirectLink,
|
|
1042
|
+
z.ZodTypeDef,
|
|
1043
|
+
unknown
|
|
1044
|
+
> = z.object({
|
|
1045
|
+
id: z.string(),
|
|
1046
|
+
templateId: z.number().int(),
|
|
1047
|
+
token: z.string(),
|
|
1048
|
+
createdAt: z.string(),
|
|
1049
|
+
enabled: z.boolean(),
|
|
1050
|
+
directTemplateRecipientId: z.number().int(),
|
|
1051
|
+
});
|
|
1052
|
+
|
|
1053
|
+
/** @internal */
|
|
1054
|
+
export type DirectLink$Outbound = {
|
|
1055
|
+
id: string;
|
|
1056
|
+
templateId: number;
|
|
1057
|
+
token: string;
|
|
1058
|
+
createdAt: string;
|
|
1059
|
+
enabled: boolean;
|
|
1060
|
+
directTemplateRecipientId: number;
|
|
1061
|
+
};
|
|
1062
|
+
|
|
1063
|
+
/** @internal */
|
|
1064
|
+
export const DirectLink$outboundSchema: z.ZodType<
|
|
1065
|
+
DirectLink$Outbound,
|
|
1066
|
+
z.ZodTypeDef,
|
|
1067
|
+
DirectLink
|
|
1068
|
+
> = z.object({
|
|
1069
|
+
id: z.string(),
|
|
1070
|
+
templateId: z.number().int(),
|
|
1071
|
+
token: z.string(),
|
|
1072
|
+
createdAt: z.string(),
|
|
1073
|
+
enabled: z.boolean(),
|
|
1074
|
+
directTemplateRecipientId: z.number().int(),
|
|
1075
|
+
});
|
|
1076
|
+
|
|
1077
|
+
/**
|
|
1078
|
+
* @internal
|
|
1079
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1080
|
+
*/
|
|
1081
|
+
export namespace DirectLink$ {
|
|
1082
|
+
/** @deprecated use `DirectLink$inboundSchema` instead. */
|
|
1083
|
+
export const inboundSchema = DirectLink$inboundSchema;
|
|
1084
|
+
/** @deprecated use `DirectLink$outboundSchema` instead. */
|
|
1085
|
+
export const outboundSchema = DirectLink$outboundSchema;
|
|
1086
|
+
/** @deprecated use `DirectLink$Outbound` instead. */
|
|
1087
|
+
export type Outbound = DirectLink$Outbound;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
export function directLinkToJSON(directLink: DirectLink): string {
|
|
1091
|
+
return JSON.stringify(DirectLink$outboundSchema.parse(directLink));
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
export function directLinkFromJSON(
|
|
1095
|
+
jsonString: string,
|
|
1096
|
+
): SafeParseResult<DirectLink, SDKValidationError> {
|
|
1097
|
+
return safeParse(
|
|
1098
|
+
jsonString,
|
|
1099
|
+
(x) => DirectLink$inboundSchema.parse(JSON.parse(x)),
|
|
1100
|
+
`Failed to parse 'DirectLink' from JSON`,
|
|
1101
|
+
);
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
/** @internal */
|
|
1105
|
+
export const User$inboundSchema: z.ZodType<User, z.ZodTypeDef, unknown> = z
|
|
1106
|
+
.object({
|
|
1107
|
+
id: z.number().int(),
|
|
1108
|
+
name: z.nullable(z.string()),
|
|
1109
|
+
email: z.string(),
|
|
1110
|
+
});
|
|
1111
|
+
|
|
1112
|
+
/** @internal */
|
|
1113
|
+
export type User$Outbound = {
|
|
1114
|
+
id: number;
|
|
1115
|
+
name: string | null;
|
|
1116
|
+
email: string;
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
/** @internal */
|
|
1120
|
+
export const User$outboundSchema: z.ZodType<User$Outbound, z.ZodTypeDef, User> =
|
|
1121
|
+
z.object({
|
|
1122
|
+
id: z.number().int(),
|
|
1123
|
+
name: z.nullable(z.string()),
|
|
1124
|
+
email: z.string(),
|
|
1125
|
+
});
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* @internal
|
|
1129
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1130
|
+
*/
|
|
1131
|
+
export namespace User$ {
|
|
1132
|
+
/** @deprecated use `User$inboundSchema` instead. */
|
|
1133
|
+
export const inboundSchema = User$inboundSchema;
|
|
1134
|
+
/** @deprecated use `User$outboundSchema` instead. */
|
|
1135
|
+
export const outboundSchema = User$outboundSchema;
|
|
1136
|
+
/** @deprecated use `User$Outbound` instead. */
|
|
1137
|
+
export type Outbound = User$Outbound;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
export function userToJSON(user: User): string {
|
|
1141
|
+
return JSON.stringify(User$outboundSchema.parse(user));
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
export function userFromJSON(
|
|
1145
|
+
jsonString: string,
|
|
1146
|
+
): SafeParseResult<User, SDKValidationError> {
|
|
1147
|
+
return safeParse(
|
|
1148
|
+
jsonString,
|
|
1149
|
+
(x) => User$inboundSchema.parse(JSON.parse(x)),
|
|
1150
|
+
`Failed to parse 'User' from JSON`,
|
|
1151
|
+
);
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
/** @internal */
|
|
1155
|
+
export const TemplateGetTemplateByIdRole$inboundSchema: z.ZodNativeEnum<
|
|
1156
|
+
typeof TemplateGetTemplateByIdRole
|
|
1157
|
+
> = z.nativeEnum(TemplateGetTemplateByIdRole);
|
|
1158
|
+
|
|
1159
|
+
/** @internal */
|
|
1160
|
+
export const TemplateGetTemplateByIdRole$outboundSchema: z.ZodNativeEnum<
|
|
1161
|
+
typeof TemplateGetTemplateByIdRole
|
|
1162
|
+
> = TemplateGetTemplateByIdRole$inboundSchema;
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* @internal
|
|
1166
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1167
|
+
*/
|
|
1168
|
+
export namespace TemplateGetTemplateByIdRole$ {
|
|
1169
|
+
/** @deprecated use `TemplateGetTemplateByIdRole$inboundSchema` instead. */
|
|
1170
|
+
export const inboundSchema = TemplateGetTemplateByIdRole$inboundSchema;
|
|
1171
|
+
/** @deprecated use `TemplateGetTemplateByIdRole$outboundSchema` instead. */
|
|
1172
|
+
export const outboundSchema = TemplateGetTemplateByIdRole$outboundSchema;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/** @internal */
|
|
1176
|
+
export const TemplateGetTemplateByIdReadStatus$inboundSchema: z.ZodNativeEnum<
|
|
1177
|
+
typeof TemplateGetTemplateByIdReadStatus
|
|
1178
|
+
> = z.nativeEnum(TemplateGetTemplateByIdReadStatus);
|
|
1179
|
+
|
|
1180
|
+
/** @internal */
|
|
1181
|
+
export const TemplateGetTemplateByIdReadStatus$outboundSchema: z.ZodNativeEnum<
|
|
1182
|
+
typeof TemplateGetTemplateByIdReadStatus
|
|
1183
|
+
> = TemplateGetTemplateByIdReadStatus$inboundSchema;
|
|
1184
|
+
|
|
1185
|
+
/**
|
|
1186
|
+
* @internal
|
|
1187
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1188
|
+
*/
|
|
1189
|
+
export namespace TemplateGetTemplateByIdReadStatus$ {
|
|
1190
|
+
/** @deprecated use `TemplateGetTemplateByIdReadStatus$inboundSchema` instead. */
|
|
1191
|
+
export const inboundSchema = TemplateGetTemplateByIdReadStatus$inboundSchema;
|
|
1192
|
+
/** @deprecated use `TemplateGetTemplateByIdReadStatus$outboundSchema` instead. */
|
|
1193
|
+
export const outboundSchema =
|
|
1194
|
+
TemplateGetTemplateByIdReadStatus$outboundSchema;
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/** @internal */
|
|
1198
|
+
export const TemplateGetTemplateByIdSigningStatus$inboundSchema:
|
|
1199
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdSigningStatus> = z.nativeEnum(
|
|
1200
|
+
TemplateGetTemplateByIdSigningStatus,
|
|
1201
|
+
);
|
|
1202
|
+
|
|
1203
|
+
/** @internal */
|
|
1204
|
+
export const TemplateGetTemplateByIdSigningStatus$outboundSchema:
|
|
1205
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdSigningStatus> =
|
|
1206
|
+
TemplateGetTemplateByIdSigningStatus$inboundSchema;
|
|
1207
|
+
|
|
1208
|
+
/**
|
|
1209
|
+
* @internal
|
|
1210
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1211
|
+
*/
|
|
1212
|
+
export namespace TemplateGetTemplateByIdSigningStatus$ {
|
|
1213
|
+
/** @deprecated use `TemplateGetTemplateByIdSigningStatus$inboundSchema` instead. */
|
|
1214
|
+
export const inboundSchema =
|
|
1215
|
+
TemplateGetTemplateByIdSigningStatus$inboundSchema;
|
|
1216
|
+
/** @deprecated use `TemplateGetTemplateByIdSigningStatus$outboundSchema` instead. */
|
|
1217
|
+
export const outboundSchema =
|
|
1218
|
+
TemplateGetTemplateByIdSigningStatus$outboundSchema;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
/** @internal */
|
|
1222
|
+
export const TemplateGetTemplateByIdSendStatus$inboundSchema: z.ZodNativeEnum<
|
|
1223
|
+
typeof TemplateGetTemplateByIdSendStatus
|
|
1224
|
+
> = z.nativeEnum(TemplateGetTemplateByIdSendStatus);
|
|
1225
|
+
|
|
1226
|
+
/** @internal */
|
|
1227
|
+
export const TemplateGetTemplateByIdSendStatus$outboundSchema: z.ZodNativeEnum<
|
|
1228
|
+
typeof TemplateGetTemplateByIdSendStatus
|
|
1229
|
+
> = TemplateGetTemplateByIdSendStatus$inboundSchema;
|
|
1230
|
+
|
|
1231
|
+
/**
|
|
1232
|
+
* @internal
|
|
1233
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1234
|
+
*/
|
|
1235
|
+
export namespace TemplateGetTemplateByIdSendStatus$ {
|
|
1236
|
+
/** @deprecated use `TemplateGetTemplateByIdSendStatus$inboundSchema` instead. */
|
|
1237
|
+
export const inboundSchema = TemplateGetTemplateByIdSendStatus$inboundSchema;
|
|
1238
|
+
/** @deprecated use `TemplateGetTemplateByIdSendStatus$outboundSchema` instead. */
|
|
1239
|
+
export const outboundSchema =
|
|
1240
|
+
TemplateGetTemplateByIdSendStatus$outboundSchema;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
/** @internal */
|
|
1244
|
+
export const TemplateGetTemplateByIdAccessAuth$inboundSchema: z.ZodNativeEnum<
|
|
1245
|
+
typeof TemplateGetTemplateByIdAccessAuth
|
|
1246
|
+
> = z.nativeEnum(TemplateGetTemplateByIdAccessAuth);
|
|
1247
|
+
|
|
1248
|
+
/** @internal */
|
|
1249
|
+
export const TemplateGetTemplateByIdAccessAuth$outboundSchema: z.ZodNativeEnum<
|
|
1250
|
+
typeof TemplateGetTemplateByIdAccessAuth
|
|
1251
|
+
> = TemplateGetTemplateByIdAccessAuth$inboundSchema;
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* @internal
|
|
1255
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1256
|
+
*/
|
|
1257
|
+
export namespace TemplateGetTemplateByIdAccessAuth$ {
|
|
1258
|
+
/** @deprecated use `TemplateGetTemplateByIdAccessAuth$inboundSchema` instead. */
|
|
1259
|
+
export const inboundSchema = TemplateGetTemplateByIdAccessAuth$inboundSchema;
|
|
1260
|
+
/** @deprecated use `TemplateGetTemplateByIdAccessAuth$outboundSchema` instead. */
|
|
1261
|
+
export const outboundSchema =
|
|
1262
|
+
TemplateGetTemplateByIdAccessAuth$outboundSchema;
|
|
1263
|
+
}
|
|
1264
|
+
|
|
1265
|
+
/** @internal */
|
|
1266
|
+
export const TemplateGetTemplateByIdActionAuth$inboundSchema: z.ZodNativeEnum<
|
|
1267
|
+
typeof TemplateGetTemplateByIdActionAuth
|
|
1268
|
+
> = z.nativeEnum(TemplateGetTemplateByIdActionAuth);
|
|
1269
|
+
|
|
1270
|
+
/** @internal */
|
|
1271
|
+
export const TemplateGetTemplateByIdActionAuth$outboundSchema: z.ZodNativeEnum<
|
|
1272
|
+
typeof TemplateGetTemplateByIdActionAuth
|
|
1273
|
+
> = TemplateGetTemplateByIdActionAuth$inboundSchema;
|
|
1274
|
+
|
|
1275
|
+
/**
|
|
1276
|
+
* @internal
|
|
1277
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1278
|
+
*/
|
|
1279
|
+
export namespace TemplateGetTemplateByIdActionAuth$ {
|
|
1280
|
+
/** @deprecated use `TemplateGetTemplateByIdActionAuth$inboundSchema` instead. */
|
|
1281
|
+
export const inboundSchema = TemplateGetTemplateByIdActionAuth$inboundSchema;
|
|
1282
|
+
/** @deprecated use `TemplateGetTemplateByIdActionAuth$outboundSchema` instead. */
|
|
1283
|
+
export const outboundSchema =
|
|
1284
|
+
TemplateGetTemplateByIdActionAuth$outboundSchema;
|
|
1285
|
+
}
|
|
1286
|
+
|
|
1287
|
+
/** @internal */
|
|
1288
|
+
export const TemplateGetTemplateByIdTemplatesAuthOptions$inboundSchema:
|
|
1289
|
+
z.ZodType<
|
|
1290
|
+
TemplateGetTemplateByIdTemplatesAuthOptions,
|
|
1291
|
+
z.ZodTypeDef,
|
|
1292
|
+
unknown
|
|
1293
|
+
> = z.object({
|
|
1294
|
+
accessAuth: z.nullable(TemplateGetTemplateByIdAccessAuth$inboundSchema),
|
|
1295
|
+
actionAuth: z.nullable(TemplateGetTemplateByIdActionAuth$inboundSchema),
|
|
1296
|
+
});
|
|
1297
|
+
|
|
1298
|
+
/** @internal */
|
|
1299
|
+
export type TemplateGetTemplateByIdTemplatesAuthOptions$Outbound = {
|
|
1300
|
+
accessAuth: string | null;
|
|
1301
|
+
actionAuth: string | null;
|
|
1302
|
+
};
|
|
1303
|
+
|
|
1304
|
+
/** @internal */
|
|
1305
|
+
export const TemplateGetTemplateByIdTemplatesAuthOptions$outboundSchema:
|
|
1306
|
+
z.ZodType<
|
|
1307
|
+
TemplateGetTemplateByIdTemplatesAuthOptions$Outbound,
|
|
1308
|
+
z.ZodTypeDef,
|
|
1309
|
+
TemplateGetTemplateByIdTemplatesAuthOptions
|
|
1310
|
+
> = z.object({
|
|
1311
|
+
accessAuth: z.nullable(TemplateGetTemplateByIdAccessAuth$outboundSchema),
|
|
1312
|
+
actionAuth: z.nullable(TemplateGetTemplateByIdActionAuth$outboundSchema),
|
|
1313
|
+
});
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* @internal
|
|
1317
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1318
|
+
*/
|
|
1319
|
+
export namespace TemplateGetTemplateByIdTemplatesAuthOptions$ {
|
|
1320
|
+
/** @deprecated use `TemplateGetTemplateByIdTemplatesAuthOptions$inboundSchema` instead. */
|
|
1321
|
+
export const inboundSchema =
|
|
1322
|
+
TemplateGetTemplateByIdTemplatesAuthOptions$inboundSchema;
|
|
1323
|
+
/** @deprecated use `TemplateGetTemplateByIdTemplatesAuthOptions$outboundSchema` instead. */
|
|
1324
|
+
export const outboundSchema =
|
|
1325
|
+
TemplateGetTemplateByIdTemplatesAuthOptions$outboundSchema;
|
|
1326
|
+
/** @deprecated use `TemplateGetTemplateByIdTemplatesAuthOptions$Outbound` instead. */
|
|
1327
|
+
export type Outbound = TemplateGetTemplateByIdTemplatesAuthOptions$Outbound;
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
export function templateGetTemplateByIdTemplatesAuthOptionsToJSON(
|
|
1331
|
+
templateGetTemplateByIdTemplatesAuthOptions:
|
|
1332
|
+
TemplateGetTemplateByIdTemplatesAuthOptions,
|
|
1333
|
+
): string {
|
|
1334
|
+
return JSON.stringify(
|
|
1335
|
+
TemplateGetTemplateByIdTemplatesAuthOptions$outboundSchema.parse(
|
|
1336
|
+
templateGetTemplateByIdTemplatesAuthOptions,
|
|
1337
|
+
),
|
|
1338
|
+
);
|
|
1339
|
+
}
|
|
1340
|
+
|
|
1341
|
+
export function templateGetTemplateByIdTemplatesAuthOptionsFromJSON(
|
|
1342
|
+
jsonString: string,
|
|
1343
|
+
): SafeParseResult<
|
|
1344
|
+
TemplateGetTemplateByIdTemplatesAuthOptions,
|
|
1345
|
+
SDKValidationError
|
|
1346
|
+
> {
|
|
1347
|
+
return safeParse(
|
|
1348
|
+
jsonString,
|
|
1349
|
+
(x) =>
|
|
1350
|
+
TemplateGetTemplateByIdTemplatesAuthOptions$inboundSchema.parse(
|
|
1351
|
+
JSON.parse(x),
|
|
1352
|
+
),
|
|
1353
|
+
`Failed to parse 'TemplateGetTemplateByIdTemplatesAuthOptions' from JSON`,
|
|
1354
|
+
);
|
|
1355
|
+
}
|
|
1356
|
+
|
|
1357
|
+
/** @internal */
|
|
1358
|
+
export const TemplateGetTemplateByIdRecipients$inboundSchema: z.ZodType<
|
|
1359
|
+
TemplateGetTemplateByIdRecipients,
|
|
1360
|
+
z.ZodTypeDef,
|
|
1361
|
+
unknown
|
|
1362
|
+
> = z.object({
|
|
1363
|
+
role: TemplateGetTemplateByIdRole$inboundSchema,
|
|
1364
|
+
readStatus: TemplateGetTemplateByIdReadStatus$inboundSchema,
|
|
1365
|
+
signingStatus: TemplateGetTemplateByIdSigningStatus$inboundSchema,
|
|
1366
|
+
sendStatus: TemplateGetTemplateByIdSendStatus$inboundSchema,
|
|
1367
|
+
id: z.number().int(),
|
|
1368
|
+
documentId: z.nullable(z.number().int()),
|
|
1369
|
+
templateId: z.nullable(z.number().int()),
|
|
1370
|
+
email: z.string(),
|
|
1371
|
+
name: z.string(),
|
|
1372
|
+
token: z.string(),
|
|
1373
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
1374
|
+
expired: z.nullable(z.string()),
|
|
1375
|
+
signedAt: z.nullable(z.string()),
|
|
1376
|
+
authOptions: z.nullable(
|
|
1377
|
+
z.lazy(() => TemplateGetTemplateByIdTemplatesAuthOptions$inboundSchema),
|
|
1378
|
+
),
|
|
1379
|
+
signingOrder: z.nullable(z.number()),
|
|
1380
|
+
rejectionReason: z.nullable(z.string()),
|
|
1381
|
+
});
|
|
1382
|
+
|
|
1383
|
+
/** @internal */
|
|
1384
|
+
export type TemplateGetTemplateByIdRecipients$Outbound = {
|
|
1385
|
+
role: string;
|
|
1386
|
+
readStatus: string;
|
|
1387
|
+
signingStatus: string;
|
|
1388
|
+
sendStatus: string;
|
|
1389
|
+
id: number;
|
|
1390
|
+
documentId: number | null;
|
|
1391
|
+
templateId: number | null;
|
|
1392
|
+
email: string;
|
|
1393
|
+
name: string;
|
|
1394
|
+
token: string;
|
|
1395
|
+
documentDeletedAt: string | null;
|
|
1396
|
+
expired: string | null;
|
|
1397
|
+
signedAt: string | null;
|
|
1398
|
+
authOptions: TemplateGetTemplateByIdTemplatesAuthOptions$Outbound | null;
|
|
1399
|
+
signingOrder: number | null;
|
|
1400
|
+
rejectionReason: string | null;
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
/** @internal */
|
|
1404
|
+
export const TemplateGetTemplateByIdRecipients$outboundSchema: z.ZodType<
|
|
1405
|
+
TemplateGetTemplateByIdRecipients$Outbound,
|
|
1406
|
+
z.ZodTypeDef,
|
|
1407
|
+
TemplateGetTemplateByIdRecipients
|
|
1408
|
+
> = z.object({
|
|
1409
|
+
role: TemplateGetTemplateByIdRole$outboundSchema,
|
|
1410
|
+
readStatus: TemplateGetTemplateByIdReadStatus$outboundSchema,
|
|
1411
|
+
signingStatus: TemplateGetTemplateByIdSigningStatus$outboundSchema,
|
|
1412
|
+
sendStatus: TemplateGetTemplateByIdSendStatus$outboundSchema,
|
|
1413
|
+
id: z.number().int(),
|
|
1414
|
+
documentId: z.nullable(z.number().int()),
|
|
1415
|
+
templateId: z.nullable(z.number().int()),
|
|
1416
|
+
email: z.string(),
|
|
1417
|
+
name: z.string(),
|
|
1418
|
+
token: z.string(),
|
|
1419
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
1420
|
+
expired: z.nullable(z.string()),
|
|
1421
|
+
signedAt: z.nullable(z.string()),
|
|
1422
|
+
authOptions: z.nullable(
|
|
1423
|
+
z.lazy(() => TemplateGetTemplateByIdTemplatesAuthOptions$outboundSchema),
|
|
1424
|
+
),
|
|
1425
|
+
signingOrder: z.nullable(z.number()),
|
|
1426
|
+
rejectionReason: z.nullable(z.string()),
|
|
1427
|
+
});
|
|
1428
|
+
|
|
1429
|
+
/**
|
|
1430
|
+
* @internal
|
|
1431
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1432
|
+
*/
|
|
1433
|
+
export namespace TemplateGetTemplateByIdRecipients$ {
|
|
1434
|
+
/** @deprecated use `TemplateGetTemplateByIdRecipients$inboundSchema` instead. */
|
|
1435
|
+
export const inboundSchema = TemplateGetTemplateByIdRecipients$inboundSchema;
|
|
1436
|
+
/** @deprecated use `TemplateGetTemplateByIdRecipients$outboundSchema` instead. */
|
|
1437
|
+
export const outboundSchema =
|
|
1438
|
+
TemplateGetTemplateByIdRecipients$outboundSchema;
|
|
1439
|
+
/** @deprecated use `TemplateGetTemplateByIdRecipients$Outbound` instead. */
|
|
1440
|
+
export type Outbound = TemplateGetTemplateByIdRecipients$Outbound;
|
|
1441
|
+
}
|
|
1442
|
+
|
|
1443
|
+
export function templateGetTemplateByIdRecipientsToJSON(
|
|
1444
|
+
templateGetTemplateByIdRecipients: TemplateGetTemplateByIdRecipients,
|
|
1445
|
+
): string {
|
|
1446
|
+
return JSON.stringify(
|
|
1447
|
+
TemplateGetTemplateByIdRecipients$outboundSchema.parse(
|
|
1448
|
+
templateGetTemplateByIdRecipients,
|
|
1449
|
+
),
|
|
1450
|
+
);
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
export function templateGetTemplateByIdRecipientsFromJSON(
|
|
1454
|
+
jsonString: string,
|
|
1455
|
+
): SafeParseResult<TemplateGetTemplateByIdRecipients, SDKValidationError> {
|
|
1456
|
+
return safeParse(
|
|
1457
|
+
jsonString,
|
|
1458
|
+
(x) => TemplateGetTemplateByIdRecipients$inboundSchema.parse(JSON.parse(x)),
|
|
1459
|
+
`Failed to parse 'TemplateGetTemplateByIdRecipients' from JSON`,
|
|
1460
|
+
);
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
/** @internal */
|
|
1464
|
+
export const TemplateGetTemplateByIdTemplatesResponseType$inboundSchema:
|
|
1465
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdTemplatesResponseType> = z
|
|
1466
|
+
.nativeEnum(TemplateGetTemplateByIdTemplatesResponseType);
|
|
1467
|
+
|
|
1468
|
+
/** @internal */
|
|
1469
|
+
export const TemplateGetTemplateByIdTemplatesResponseType$outboundSchema:
|
|
1470
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdTemplatesResponseType> =
|
|
1471
|
+
TemplateGetTemplateByIdTemplatesResponseType$inboundSchema;
|
|
1472
|
+
|
|
1473
|
+
/**
|
|
1474
|
+
* @internal
|
|
1475
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1476
|
+
*/
|
|
1477
|
+
export namespace TemplateGetTemplateByIdTemplatesResponseType$ {
|
|
1478
|
+
/** @deprecated use `TemplateGetTemplateByIdTemplatesResponseType$inboundSchema` instead. */
|
|
1479
|
+
export const inboundSchema =
|
|
1480
|
+
TemplateGetTemplateByIdTemplatesResponseType$inboundSchema;
|
|
1481
|
+
/** @deprecated use `TemplateGetTemplateByIdTemplatesResponseType$outboundSchema` instead. */
|
|
1482
|
+
export const outboundSchema =
|
|
1483
|
+
TemplateGetTemplateByIdTemplatesResponseType$outboundSchema;
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/** @internal */
|
|
1487
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema:
|
|
1488
|
+
z.ZodNativeEnum<
|
|
1489
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type
|
|
1490
|
+
> = z.nativeEnum(
|
|
1491
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type,
|
|
1492
|
+
);
|
|
1493
|
+
|
|
1494
|
+
/** @internal */
|
|
1495
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema:
|
|
1496
|
+
z.ZodNativeEnum<
|
|
1497
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type
|
|
1498
|
+
> =
|
|
1499
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema;
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* @internal
|
|
1503
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1504
|
+
*/
|
|
1505
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$ {
|
|
1506
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema` instead. */
|
|
1507
|
+
export const inboundSchema =
|
|
1508
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema;
|
|
1509
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema` instead. */
|
|
1510
|
+
export const outboundSchema =
|
|
1511
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema;
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
/** @internal */
|
|
1515
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$inboundSchema:
|
|
1516
|
+
z.ZodType<
|
|
1517
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues,
|
|
1518
|
+
z.ZodTypeDef,
|
|
1519
|
+
unknown
|
|
1520
|
+
> = z.object({
|
|
1521
|
+
value: z.string(),
|
|
1522
|
+
});
|
|
1523
|
+
|
|
1524
|
+
/** @internal */
|
|
1525
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$Outbound = {
|
|
1526
|
+
value: string;
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
/** @internal */
|
|
1530
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$outboundSchema:
|
|
1531
|
+
z.ZodType<
|
|
1532
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$Outbound,
|
|
1533
|
+
z.ZodTypeDef,
|
|
1534
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues
|
|
1535
|
+
> = z.object({
|
|
1536
|
+
value: z.string(),
|
|
1537
|
+
});
|
|
1538
|
+
|
|
1539
|
+
/**
|
|
1540
|
+
* @internal
|
|
1541
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1542
|
+
*/
|
|
1543
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$ {
|
|
1544
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$inboundSchema` instead. */
|
|
1545
|
+
export const inboundSchema =
|
|
1546
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$inboundSchema;
|
|
1547
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$outboundSchema` instead. */
|
|
1548
|
+
export const outboundSchema =
|
|
1549
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$outboundSchema;
|
|
1550
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$Outbound` instead. */
|
|
1551
|
+
export type Outbound =
|
|
1552
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$Outbound;
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
export function templateGetTemplateByIdFieldMetaTemplatesResponseValuesToJSON(
|
|
1556
|
+
templateGetTemplateByIdFieldMetaTemplatesResponseValues:
|
|
1557
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues,
|
|
1558
|
+
): string {
|
|
1559
|
+
return JSON.stringify(
|
|
1560
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$outboundSchema
|
|
1561
|
+
.parse(templateGetTemplateByIdFieldMetaTemplatesResponseValues),
|
|
1562
|
+
);
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
export function templateGetTemplateByIdFieldMetaTemplatesResponseValuesFromJSON(
|
|
1566
|
+
jsonString: string,
|
|
1567
|
+
): SafeParseResult<
|
|
1568
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues,
|
|
1569
|
+
SDKValidationError
|
|
1570
|
+
> {
|
|
1571
|
+
return safeParse(
|
|
1572
|
+
jsonString,
|
|
1573
|
+
(x) =>
|
|
1574
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$inboundSchema
|
|
1575
|
+
.parse(JSON.parse(x)),
|
|
1576
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMetaTemplatesResponseValues' from JSON`,
|
|
1577
|
+
);
|
|
1578
|
+
}
|
|
1579
|
+
|
|
1580
|
+
/** @internal */
|
|
1581
|
+
export const TemplateGetTemplateByIdFieldMeta9$inboundSchema: z.ZodType<
|
|
1582
|
+
TemplateGetTemplateByIdFieldMeta9,
|
|
1583
|
+
z.ZodTypeDef,
|
|
1584
|
+
unknown
|
|
1585
|
+
> = z.object({
|
|
1586
|
+
label: z.string().optional(),
|
|
1587
|
+
placeholder: z.string().optional(),
|
|
1588
|
+
required: z.boolean().optional(),
|
|
1589
|
+
readOnly: z.boolean().optional(),
|
|
1590
|
+
type:
|
|
1591
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema,
|
|
1592
|
+
values: z.array(
|
|
1593
|
+
z.lazy(() =>
|
|
1594
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$inboundSchema
|
|
1595
|
+
),
|
|
1596
|
+
).optional(),
|
|
1597
|
+
defaultValue: z.string().optional(),
|
|
1598
|
+
});
|
|
1599
|
+
|
|
1600
|
+
/** @internal */
|
|
1601
|
+
export type TemplateGetTemplateByIdFieldMeta9$Outbound = {
|
|
1602
|
+
label?: string | undefined;
|
|
1603
|
+
placeholder?: string | undefined;
|
|
1604
|
+
required?: boolean | undefined;
|
|
1605
|
+
readOnly?: boolean | undefined;
|
|
1606
|
+
type: string;
|
|
1607
|
+
values?:
|
|
1608
|
+
| Array<TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$Outbound>
|
|
1609
|
+
| undefined;
|
|
1610
|
+
defaultValue?: string | undefined;
|
|
1611
|
+
};
|
|
1612
|
+
|
|
1613
|
+
/** @internal */
|
|
1614
|
+
export const TemplateGetTemplateByIdFieldMeta9$outboundSchema: z.ZodType<
|
|
1615
|
+
TemplateGetTemplateByIdFieldMeta9$Outbound,
|
|
1616
|
+
z.ZodTypeDef,
|
|
1617
|
+
TemplateGetTemplateByIdFieldMeta9
|
|
1618
|
+
> = z.object({
|
|
1619
|
+
label: z.string().optional(),
|
|
1620
|
+
placeholder: z.string().optional(),
|
|
1621
|
+
required: z.boolean().optional(),
|
|
1622
|
+
readOnly: z.boolean().optional(),
|
|
1623
|
+
type:
|
|
1624
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema,
|
|
1625
|
+
values: z.array(
|
|
1626
|
+
z.lazy(() =>
|
|
1627
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseValues$outboundSchema
|
|
1628
|
+
),
|
|
1629
|
+
).optional(),
|
|
1630
|
+
defaultValue: z.string().optional(),
|
|
1631
|
+
});
|
|
1632
|
+
|
|
1633
|
+
/**
|
|
1634
|
+
* @internal
|
|
1635
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1636
|
+
*/
|
|
1637
|
+
export namespace TemplateGetTemplateByIdFieldMeta9$ {
|
|
1638
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta9$inboundSchema` instead. */
|
|
1639
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta9$inboundSchema;
|
|
1640
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta9$outboundSchema` instead. */
|
|
1641
|
+
export const outboundSchema =
|
|
1642
|
+
TemplateGetTemplateByIdFieldMeta9$outboundSchema;
|
|
1643
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta9$Outbound` instead. */
|
|
1644
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta9$Outbound;
|
|
1645
|
+
}
|
|
1646
|
+
|
|
1647
|
+
export function templateGetTemplateByIdFieldMeta9ToJSON(
|
|
1648
|
+
templateGetTemplateByIdFieldMeta9: TemplateGetTemplateByIdFieldMeta9,
|
|
1649
|
+
): string {
|
|
1650
|
+
return JSON.stringify(
|
|
1651
|
+
TemplateGetTemplateByIdFieldMeta9$outboundSchema.parse(
|
|
1652
|
+
templateGetTemplateByIdFieldMeta9,
|
|
1653
|
+
),
|
|
1654
|
+
);
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
export function templateGetTemplateByIdFieldMeta9FromJSON(
|
|
1658
|
+
jsonString: string,
|
|
1659
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta9, SDKValidationError> {
|
|
1660
|
+
return safeParse(
|
|
1661
|
+
jsonString,
|
|
1662
|
+
(x) => TemplateGetTemplateByIdFieldMeta9$inboundSchema.parse(JSON.parse(x)),
|
|
1663
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta9' from JSON`,
|
|
1664
|
+
);
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
/** @internal */
|
|
1668
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema:
|
|
1669
|
+
z.ZodNativeEnum<
|
|
1670
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type
|
|
1671
|
+
> = z.nativeEnum(
|
|
1672
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type,
|
|
1673
|
+
);
|
|
1674
|
+
|
|
1675
|
+
/** @internal */
|
|
1676
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema:
|
|
1677
|
+
z.ZodNativeEnum<
|
|
1678
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type
|
|
1679
|
+
> =
|
|
1680
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema;
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* @internal
|
|
1684
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1685
|
+
*/
|
|
1686
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$ {
|
|
1687
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema` instead. */
|
|
1688
|
+
export const inboundSchema =
|
|
1689
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema;
|
|
1690
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema` instead. */
|
|
1691
|
+
export const outboundSchema =
|
|
1692
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema;
|
|
1693
|
+
}
|
|
1694
|
+
|
|
1695
|
+
/** @internal */
|
|
1696
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesValues$inboundSchema:
|
|
1697
|
+
z.ZodType<
|
|
1698
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues,
|
|
1699
|
+
z.ZodTypeDef,
|
|
1700
|
+
unknown
|
|
1701
|
+
> = z.object({
|
|
1702
|
+
id: z.number(),
|
|
1703
|
+
checked: z.boolean(),
|
|
1704
|
+
value: z.string(),
|
|
1705
|
+
});
|
|
1706
|
+
|
|
1707
|
+
/** @internal */
|
|
1708
|
+
export type TemplateGetTemplateByIdFieldMetaTemplatesValues$Outbound = {
|
|
1709
|
+
id: number;
|
|
1710
|
+
checked: boolean;
|
|
1711
|
+
value: string;
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
/** @internal */
|
|
1715
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesValues$outboundSchema:
|
|
1716
|
+
z.ZodType<
|
|
1717
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues$Outbound,
|
|
1718
|
+
z.ZodTypeDef,
|
|
1719
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues
|
|
1720
|
+
> = z.object({
|
|
1721
|
+
id: z.number(),
|
|
1722
|
+
checked: z.boolean(),
|
|
1723
|
+
value: z.string(),
|
|
1724
|
+
});
|
|
1725
|
+
|
|
1726
|
+
/**
|
|
1727
|
+
* @internal
|
|
1728
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1729
|
+
*/
|
|
1730
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesValues$ {
|
|
1731
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesValues$inboundSchema` instead. */
|
|
1732
|
+
export const inboundSchema =
|
|
1733
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues$inboundSchema;
|
|
1734
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesValues$outboundSchema` instead. */
|
|
1735
|
+
export const outboundSchema =
|
|
1736
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues$outboundSchema;
|
|
1737
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesValues$Outbound` instead. */
|
|
1738
|
+
export type Outbound =
|
|
1739
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues$Outbound;
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
export function templateGetTemplateByIdFieldMetaTemplatesValuesToJSON(
|
|
1743
|
+
templateGetTemplateByIdFieldMetaTemplatesValues:
|
|
1744
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues,
|
|
1745
|
+
): string {
|
|
1746
|
+
return JSON.stringify(
|
|
1747
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues$outboundSchema.parse(
|
|
1748
|
+
templateGetTemplateByIdFieldMetaTemplatesValues,
|
|
1749
|
+
),
|
|
1750
|
+
);
|
|
1751
|
+
}
|
|
1752
|
+
|
|
1753
|
+
export function templateGetTemplateByIdFieldMetaTemplatesValuesFromJSON(
|
|
1754
|
+
jsonString: string,
|
|
1755
|
+
): SafeParseResult<
|
|
1756
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues,
|
|
1757
|
+
SDKValidationError
|
|
1758
|
+
> {
|
|
1759
|
+
return safeParse(
|
|
1760
|
+
jsonString,
|
|
1761
|
+
(x) =>
|
|
1762
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues$inboundSchema.parse(
|
|
1763
|
+
JSON.parse(x),
|
|
1764
|
+
),
|
|
1765
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMetaTemplatesValues' from JSON`,
|
|
1766
|
+
);
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
/** @internal */
|
|
1770
|
+
export const TemplateGetTemplateByIdFieldMeta8$inboundSchema: z.ZodType<
|
|
1771
|
+
TemplateGetTemplateByIdFieldMeta8,
|
|
1772
|
+
z.ZodTypeDef,
|
|
1773
|
+
unknown
|
|
1774
|
+
> = z.object({
|
|
1775
|
+
label: z.string().optional(),
|
|
1776
|
+
placeholder: z.string().optional(),
|
|
1777
|
+
required: z.boolean().optional(),
|
|
1778
|
+
readOnly: z.boolean().optional(),
|
|
1779
|
+
type:
|
|
1780
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema,
|
|
1781
|
+
values: z.array(
|
|
1782
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMetaTemplatesValues$inboundSchema),
|
|
1783
|
+
).optional(),
|
|
1784
|
+
validationRule: z.string().optional(),
|
|
1785
|
+
validationLength: z.number().optional(),
|
|
1786
|
+
});
|
|
1787
|
+
|
|
1788
|
+
/** @internal */
|
|
1789
|
+
export type TemplateGetTemplateByIdFieldMeta8$Outbound = {
|
|
1790
|
+
label?: string | undefined;
|
|
1791
|
+
placeholder?: string | undefined;
|
|
1792
|
+
required?: boolean | undefined;
|
|
1793
|
+
readOnly?: boolean | undefined;
|
|
1794
|
+
type: string;
|
|
1795
|
+
values?:
|
|
1796
|
+
| Array<TemplateGetTemplateByIdFieldMetaTemplatesValues$Outbound>
|
|
1797
|
+
| undefined;
|
|
1798
|
+
validationRule?: string | undefined;
|
|
1799
|
+
validationLength?: number | undefined;
|
|
1800
|
+
};
|
|
1801
|
+
|
|
1802
|
+
/** @internal */
|
|
1803
|
+
export const TemplateGetTemplateByIdFieldMeta8$outboundSchema: z.ZodType<
|
|
1804
|
+
TemplateGetTemplateByIdFieldMeta8$Outbound,
|
|
1805
|
+
z.ZodTypeDef,
|
|
1806
|
+
TemplateGetTemplateByIdFieldMeta8
|
|
1807
|
+
> = z.object({
|
|
1808
|
+
label: z.string().optional(),
|
|
1809
|
+
placeholder: z.string().optional(),
|
|
1810
|
+
required: z.boolean().optional(),
|
|
1811
|
+
readOnly: z.boolean().optional(),
|
|
1812
|
+
type:
|
|
1813
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema,
|
|
1814
|
+
values: z.array(
|
|
1815
|
+
z.lazy(() =>
|
|
1816
|
+
TemplateGetTemplateByIdFieldMetaTemplatesValues$outboundSchema
|
|
1817
|
+
),
|
|
1818
|
+
).optional(),
|
|
1819
|
+
validationRule: z.string().optional(),
|
|
1820
|
+
validationLength: z.number().optional(),
|
|
1821
|
+
});
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* @internal
|
|
1825
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1826
|
+
*/
|
|
1827
|
+
export namespace TemplateGetTemplateByIdFieldMeta8$ {
|
|
1828
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta8$inboundSchema` instead. */
|
|
1829
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta8$inboundSchema;
|
|
1830
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta8$outboundSchema` instead. */
|
|
1831
|
+
export const outboundSchema =
|
|
1832
|
+
TemplateGetTemplateByIdFieldMeta8$outboundSchema;
|
|
1833
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta8$Outbound` instead. */
|
|
1834
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta8$Outbound;
|
|
1835
|
+
}
|
|
1836
|
+
|
|
1837
|
+
export function templateGetTemplateByIdFieldMeta8ToJSON(
|
|
1838
|
+
templateGetTemplateByIdFieldMeta8: TemplateGetTemplateByIdFieldMeta8,
|
|
1839
|
+
): string {
|
|
1840
|
+
return JSON.stringify(
|
|
1841
|
+
TemplateGetTemplateByIdFieldMeta8$outboundSchema.parse(
|
|
1842
|
+
templateGetTemplateByIdFieldMeta8,
|
|
1843
|
+
),
|
|
1844
|
+
);
|
|
1845
|
+
}
|
|
1846
|
+
|
|
1847
|
+
export function templateGetTemplateByIdFieldMeta8FromJSON(
|
|
1848
|
+
jsonString: string,
|
|
1849
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta8, SDKValidationError> {
|
|
1850
|
+
return safeParse(
|
|
1851
|
+
jsonString,
|
|
1852
|
+
(x) => TemplateGetTemplateByIdFieldMeta8$inboundSchema.parse(JSON.parse(x)),
|
|
1853
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta8' from JSON`,
|
|
1854
|
+
);
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
/** @internal */
|
|
1858
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema:
|
|
1859
|
+
z.ZodNativeEnum<
|
|
1860
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType
|
|
1861
|
+
> = z.nativeEnum(
|
|
1862
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType,
|
|
1863
|
+
);
|
|
1864
|
+
|
|
1865
|
+
/** @internal */
|
|
1866
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema:
|
|
1867
|
+
z.ZodNativeEnum<
|
|
1868
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType
|
|
1869
|
+
> =
|
|
1870
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema;
|
|
1871
|
+
|
|
1872
|
+
/**
|
|
1873
|
+
* @internal
|
|
1874
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1875
|
+
*/
|
|
1876
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$ {
|
|
1877
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema` instead. */
|
|
1878
|
+
export const inboundSchema =
|
|
1879
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema;
|
|
1880
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema` instead. */
|
|
1881
|
+
export const outboundSchema =
|
|
1882
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
/** @internal */
|
|
1886
|
+
export const TemplateGetTemplateByIdFieldMetaValues$inboundSchema: z.ZodType<
|
|
1887
|
+
TemplateGetTemplateByIdFieldMetaValues,
|
|
1888
|
+
z.ZodTypeDef,
|
|
1889
|
+
unknown
|
|
1890
|
+
> = z.object({
|
|
1891
|
+
id: z.number(),
|
|
1892
|
+
checked: z.boolean(),
|
|
1893
|
+
value: z.string(),
|
|
1894
|
+
});
|
|
1895
|
+
|
|
1896
|
+
/** @internal */
|
|
1897
|
+
export type TemplateGetTemplateByIdFieldMetaValues$Outbound = {
|
|
1898
|
+
id: number;
|
|
1899
|
+
checked: boolean;
|
|
1900
|
+
value: string;
|
|
1901
|
+
};
|
|
1902
|
+
|
|
1903
|
+
/** @internal */
|
|
1904
|
+
export const TemplateGetTemplateByIdFieldMetaValues$outboundSchema: z.ZodType<
|
|
1905
|
+
TemplateGetTemplateByIdFieldMetaValues$Outbound,
|
|
1906
|
+
z.ZodTypeDef,
|
|
1907
|
+
TemplateGetTemplateByIdFieldMetaValues
|
|
1908
|
+
> = z.object({
|
|
1909
|
+
id: z.number(),
|
|
1910
|
+
checked: z.boolean(),
|
|
1911
|
+
value: z.string(),
|
|
1912
|
+
});
|
|
1913
|
+
|
|
1914
|
+
/**
|
|
1915
|
+
* @internal
|
|
1916
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1917
|
+
*/
|
|
1918
|
+
export namespace TemplateGetTemplateByIdFieldMetaValues$ {
|
|
1919
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaValues$inboundSchema` instead. */
|
|
1920
|
+
export const inboundSchema =
|
|
1921
|
+
TemplateGetTemplateByIdFieldMetaValues$inboundSchema;
|
|
1922
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaValues$outboundSchema` instead. */
|
|
1923
|
+
export const outboundSchema =
|
|
1924
|
+
TemplateGetTemplateByIdFieldMetaValues$outboundSchema;
|
|
1925
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaValues$Outbound` instead. */
|
|
1926
|
+
export type Outbound = TemplateGetTemplateByIdFieldMetaValues$Outbound;
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
export function templateGetTemplateByIdFieldMetaValuesToJSON(
|
|
1930
|
+
templateGetTemplateByIdFieldMetaValues:
|
|
1931
|
+
TemplateGetTemplateByIdFieldMetaValues,
|
|
1932
|
+
): string {
|
|
1933
|
+
return JSON.stringify(
|
|
1934
|
+
TemplateGetTemplateByIdFieldMetaValues$outboundSchema.parse(
|
|
1935
|
+
templateGetTemplateByIdFieldMetaValues,
|
|
1936
|
+
),
|
|
1937
|
+
);
|
|
1938
|
+
}
|
|
1939
|
+
|
|
1940
|
+
export function templateGetTemplateByIdFieldMetaValuesFromJSON(
|
|
1941
|
+
jsonString: string,
|
|
1942
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMetaValues, SDKValidationError> {
|
|
1943
|
+
return safeParse(
|
|
1944
|
+
jsonString,
|
|
1945
|
+
(x) =>
|
|
1946
|
+
TemplateGetTemplateByIdFieldMetaValues$inboundSchema.parse(JSON.parse(x)),
|
|
1947
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMetaValues' from JSON`,
|
|
1948
|
+
);
|
|
1949
|
+
}
|
|
1950
|
+
|
|
1951
|
+
/** @internal */
|
|
1952
|
+
export const TemplateGetTemplateByIdFieldMeta7$inboundSchema: z.ZodType<
|
|
1953
|
+
TemplateGetTemplateByIdFieldMeta7,
|
|
1954
|
+
z.ZodTypeDef,
|
|
1955
|
+
unknown
|
|
1956
|
+
> = z.object({
|
|
1957
|
+
label: z.string().optional(),
|
|
1958
|
+
placeholder: z.string().optional(),
|
|
1959
|
+
required: z.boolean().optional(),
|
|
1960
|
+
readOnly: z.boolean().optional(),
|
|
1961
|
+
type:
|
|
1962
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema,
|
|
1963
|
+
values: z.array(
|
|
1964
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMetaValues$inboundSchema),
|
|
1965
|
+
).optional(),
|
|
1966
|
+
});
|
|
1967
|
+
|
|
1968
|
+
/** @internal */
|
|
1969
|
+
export type TemplateGetTemplateByIdFieldMeta7$Outbound = {
|
|
1970
|
+
label?: string | undefined;
|
|
1971
|
+
placeholder?: string | undefined;
|
|
1972
|
+
required?: boolean | undefined;
|
|
1973
|
+
readOnly?: boolean | undefined;
|
|
1974
|
+
type: string;
|
|
1975
|
+
values?: Array<TemplateGetTemplateByIdFieldMetaValues$Outbound> | undefined;
|
|
1976
|
+
};
|
|
1977
|
+
|
|
1978
|
+
/** @internal */
|
|
1979
|
+
export const TemplateGetTemplateByIdFieldMeta7$outboundSchema: z.ZodType<
|
|
1980
|
+
TemplateGetTemplateByIdFieldMeta7$Outbound,
|
|
1981
|
+
z.ZodTypeDef,
|
|
1982
|
+
TemplateGetTemplateByIdFieldMeta7
|
|
1983
|
+
> = z.object({
|
|
1984
|
+
label: z.string().optional(),
|
|
1985
|
+
placeholder: z.string().optional(),
|
|
1986
|
+
required: z.boolean().optional(),
|
|
1987
|
+
readOnly: z.boolean().optional(),
|
|
1988
|
+
type:
|
|
1989
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema,
|
|
1990
|
+
values: z.array(
|
|
1991
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMetaValues$outboundSchema),
|
|
1992
|
+
).optional(),
|
|
1993
|
+
});
|
|
1994
|
+
|
|
1995
|
+
/**
|
|
1996
|
+
* @internal
|
|
1997
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1998
|
+
*/
|
|
1999
|
+
export namespace TemplateGetTemplateByIdFieldMeta7$ {
|
|
2000
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta7$inboundSchema` instead. */
|
|
2001
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta7$inboundSchema;
|
|
2002
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta7$outboundSchema` instead. */
|
|
2003
|
+
export const outboundSchema =
|
|
2004
|
+
TemplateGetTemplateByIdFieldMeta7$outboundSchema;
|
|
2005
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta7$Outbound` instead. */
|
|
2006
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta7$Outbound;
|
|
2007
|
+
}
|
|
2008
|
+
|
|
2009
|
+
export function templateGetTemplateByIdFieldMeta7ToJSON(
|
|
2010
|
+
templateGetTemplateByIdFieldMeta7: TemplateGetTemplateByIdFieldMeta7,
|
|
2011
|
+
): string {
|
|
2012
|
+
return JSON.stringify(
|
|
2013
|
+
TemplateGetTemplateByIdFieldMeta7$outboundSchema.parse(
|
|
2014
|
+
templateGetTemplateByIdFieldMeta7,
|
|
2015
|
+
),
|
|
2016
|
+
);
|
|
2017
|
+
}
|
|
2018
|
+
|
|
2019
|
+
export function templateGetTemplateByIdFieldMeta7FromJSON(
|
|
2020
|
+
jsonString: string,
|
|
2021
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta7, SDKValidationError> {
|
|
2022
|
+
return safeParse(
|
|
2023
|
+
jsonString,
|
|
2024
|
+
(x) => TemplateGetTemplateByIdFieldMeta7$inboundSchema.parse(JSON.parse(x)),
|
|
2025
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta7' from JSON`,
|
|
2026
|
+
);
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
/** @internal */
|
|
2030
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
2031
|
+
z.ZodNativeEnum<
|
|
2032
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType
|
|
2033
|
+
> = z.nativeEnum(
|
|
2034
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType,
|
|
2035
|
+
);
|
|
2036
|
+
|
|
2037
|
+
/** @internal */
|
|
2038
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
2039
|
+
z.ZodNativeEnum<
|
|
2040
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType
|
|
2041
|
+
> =
|
|
2042
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* @internal
|
|
2046
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2047
|
+
*/
|
|
2048
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$ {
|
|
2049
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
2050
|
+
export const inboundSchema =
|
|
2051
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
2052
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
2053
|
+
export const outboundSchema =
|
|
2054
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
2055
|
+
}
|
|
2056
|
+
|
|
2057
|
+
/** @internal */
|
|
2058
|
+
export const TemplateGetTemplateByIdFieldMeta6$inboundSchema: z.ZodType<
|
|
2059
|
+
TemplateGetTemplateByIdFieldMeta6,
|
|
2060
|
+
z.ZodTypeDef,
|
|
2061
|
+
unknown
|
|
2062
|
+
> = z.object({
|
|
2063
|
+
label: z.string().optional(),
|
|
2064
|
+
placeholder: z.string().optional(),
|
|
2065
|
+
required: z.boolean().optional(),
|
|
2066
|
+
readOnly: z.boolean().optional(),
|
|
2067
|
+
type:
|
|
2068
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
2069
|
+
numberFormat: z.string().optional(),
|
|
2070
|
+
value: z.string().optional(),
|
|
2071
|
+
minValue: z.number().optional(),
|
|
2072
|
+
maxValue: z.number().optional(),
|
|
2073
|
+
fontSize: z.number().optional(),
|
|
2074
|
+
});
|
|
2075
|
+
|
|
2076
|
+
/** @internal */
|
|
2077
|
+
export type TemplateGetTemplateByIdFieldMeta6$Outbound = {
|
|
2078
|
+
label?: string | undefined;
|
|
2079
|
+
placeholder?: string | undefined;
|
|
2080
|
+
required?: boolean | undefined;
|
|
2081
|
+
readOnly?: boolean | undefined;
|
|
2082
|
+
type: string;
|
|
2083
|
+
numberFormat?: string | undefined;
|
|
2084
|
+
value?: string | undefined;
|
|
2085
|
+
minValue?: number | undefined;
|
|
2086
|
+
maxValue?: number | undefined;
|
|
2087
|
+
fontSize?: number | undefined;
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
/** @internal */
|
|
2091
|
+
export const TemplateGetTemplateByIdFieldMeta6$outboundSchema: z.ZodType<
|
|
2092
|
+
TemplateGetTemplateByIdFieldMeta6$Outbound,
|
|
2093
|
+
z.ZodTypeDef,
|
|
2094
|
+
TemplateGetTemplateByIdFieldMeta6
|
|
2095
|
+
> = z.object({
|
|
2096
|
+
label: z.string().optional(),
|
|
2097
|
+
placeholder: z.string().optional(),
|
|
2098
|
+
required: z.boolean().optional(),
|
|
2099
|
+
readOnly: z.boolean().optional(),
|
|
2100
|
+
type:
|
|
2101
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
2102
|
+
numberFormat: z.string().optional(),
|
|
2103
|
+
value: z.string().optional(),
|
|
2104
|
+
minValue: z.number().optional(),
|
|
2105
|
+
maxValue: z.number().optional(),
|
|
2106
|
+
fontSize: z.number().optional(),
|
|
2107
|
+
});
|
|
2108
|
+
|
|
2109
|
+
/**
|
|
2110
|
+
* @internal
|
|
2111
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2112
|
+
*/
|
|
2113
|
+
export namespace TemplateGetTemplateByIdFieldMeta6$ {
|
|
2114
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta6$inboundSchema` instead. */
|
|
2115
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta6$inboundSchema;
|
|
2116
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta6$outboundSchema` instead. */
|
|
2117
|
+
export const outboundSchema =
|
|
2118
|
+
TemplateGetTemplateByIdFieldMeta6$outboundSchema;
|
|
2119
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta6$Outbound` instead. */
|
|
2120
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta6$Outbound;
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
export function templateGetTemplateByIdFieldMeta6ToJSON(
|
|
2124
|
+
templateGetTemplateByIdFieldMeta6: TemplateGetTemplateByIdFieldMeta6,
|
|
2125
|
+
): string {
|
|
2126
|
+
return JSON.stringify(
|
|
2127
|
+
TemplateGetTemplateByIdFieldMeta6$outboundSchema.parse(
|
|
2128
|
+
templateGetTemplateByIdFieldMeta6,
|
|
2129
|
+
),
|
|
2130
|
+
);
|
|
2131
|
+
}
|
|
2132
|
+
|
|
2133
|
+
export function templateGetTemplateByIdFieldMeta6FromJSON(
|
|
2134
|
+
jsonString: string,
|
|
2135
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta6, SDKValidationError> {
|
|
2136
|
+
return safeParse(
|
|
2137
|
+
jsonString,
|
|
2138
|
+
(x) => TemplateGetTemplateByIdFieldMeta6$inboundSchema.parse(JSON.parse(x)),
|
|
2139
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta6' from JSON`,
|
|
2140
|
+
);
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
/** @internal */
|
|
2144
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$inboundSchema:
|
|
2145
|
+
z.ZodNativeEnum<
|
|
2146
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType
|
|
2147
|
+
> = z.nativeEnum(
|
|
2148
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType,
|
|
2149
|
+
);
|
|
2150
|
+
|
|
2151
|
+
/** @internal */
|
|
2152
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$outboundSchema:
|
|
2153
|
+
z.ZodNativeEnum<
|
|
2154
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType
|
|
2155
|
+
> =
|
|
2156
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$inboundSchema;
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* @internal
|
|
2160
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2161
|
+
*/
|
|
2162
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$ {
|
|
2163
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
2164
|
+
export const inboundSchema =
|
|
2165
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$inboundSchema;
|
|
2166
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
2167
|
+
export const outboundSchema =
|
|
2168
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$outboundSchema;
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
/** @internal */
|
|
2172
|
+
export const TemplateGetTemplateByIdFieldMeta5$inboundSchema: z.ZodType<
|
|
2173
|
+
TemplateGetTemplateByIdFieldMeta5,
|
|
2174
|
+
z.ZodTypeDef,
|
|
2175
|
+
unknown
|
|
2176
|
+
> = z.object({
|
|
2177
|
+
label: z.string().optional(),
|
|
2178
|
+
placeholder: z.string().optional(),
|
|
2179
|
+
required: z.boolean().optional(),
|
|
2180
|
+
readOnly: z.boolean().optional(),
|
|
2181
|
+
type:
|
|
2182
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$inboundSchema,
|
|
2183
|
+
text: z.string().optional(),
|
|
2184
|
+
characterLimit: z.number().optional(),
|
|
2185
|
+
fontSize: z.number().optional(),
|
|
2186
|
+
});
|
|
2187
|
+
|
|
2188
|
+
/** @internal */
|
|
2189
|
+
export type TemplateGetTemplateByIdFieldMeta5$Outbound = {
|
|
2190
|
+
label?: string | undefined;
|
|
2191
|
+
placeholder?: string | undefined;
|
|
2192
|
+
required?: boolean | undefined;
|
|
2193
|
+
readOnly?: boolean | undefined;
|
|
2194
|
+
type: string;
|
|
2195
|
+
text?: string | undefined;
|
|
2196
|
+
characterLimit?: number | undefined;
|
|
2197
|
+
fontSize?: number | undefined;
|
|
2198
|
+
};
|
|
2199
|
+
|
|
2200
|
+
/** @internal */
|
|
2201
|
+
export const TemplateGetTemplateByIdFieldMeta5$outboundSchema: z.ZodType<
|
|
2202
|
+
TemplateGetTemplateByIdFieldMeta5$Outbound,
|
|
2203
|
+
z.ZodTypeDef,
|
|
2204
|
+
TemplateGetTemplateByIdFieldMeta5
|
|
2205
|
+
> = z.object({
|
|
2206
|
+
label: z.string().optional(),
|
|
2207
|
+
placeholder: z.string().optional(),
|
|
2208
|
+
required: z.boolean().optional(),
|
|
2209
|
+
readOnly: z.boolean().optional(),
|
|
2210
|
+
type:
|
|
2211
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200ApplicationJSONType$outboundSchema,
|
|
2212
|
+
text: z.string().optional(),
|
|
2213
|
+
characterLimit: z.number().optional(),
|
|
2214
|
+
fontSize: z.number().optional(),
|
|
2215
|
+
});
|
|
2216
|
+
|
|
2217
|
+
/**
|
|
2218
|
+
* @internal
|
|
2219
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2220
|
+
*/
|
|
2221
|
+
export namespace TemplateGetTemplateByIdFieldMeta5$ {
|
|
2222
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta5$inboundSchema` instead. */
|
|
2223
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta5$inboundSchema;
|
|
2224
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta5$outboundSchema` instead. */
|
|
2225
|
+
export const outboundSchema =
|
|
2226
|
+
TemplateGetTemplateByIdFieldMeta5$outboundSchema;
|
|
2227
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta5$Outbound` instead. */
|
|
2228
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta5$Outbound;
|
|
2229
|
+
}
|
|
2230
|
+
|
|
2231
|
+
export function templateGetTemplateByIdFieldMeta5ToJSON(
|
|
2232
|
+
templateGetTemplateByIdFieldMeta5: TemplateGetTemplateByIdFieldMeta5,
|
|
2233
|
+
): string {
|
|
2234
|
+
return JSON.stringify(
|
|
2235
|
+
TemplateGetTemplateByIdFieldMeta5$outboundSchema.parse(
|
|
2236
|
+
templateGetTemplateByIdFieldMeta5,
|
|
2237
|
+
),
|
|
2238
|
+
);
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
export function templateGetTemplateByIdFieldMeta5FromJSON(
|
|
2242
|
+
jsonString: string,
|
|
2243
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta5, SDKValidationError> {
|
|
2244
|
+
return safeParse(
|
|
2245
|
+
jsonString,
|
|
2246
|
+
(x) => TemplateGetTemplateByIdFieldMeta5$inboundSchema.parse(JSON.parse(x)),
|
|
2247
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta5' from JSON`,
|
|
2248
|
+
);
|
|
2249
|
+
}
|
|
2250
|
+
|
|
2251
|
+
/** @internal */
|
|
2252
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$inboundSchema:
|
|
2253
|
+
z.ZodNativeEnum<
|
|
2254
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type
|
|
2255
|
+
> = z.nativeEnum(TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type);
|
|
2256
|
+
|
|
2257
|
+
/** @internal */
|
|
2258
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$outboundSchema:
|
|
2259
|
+
z.ZodNativeEnum<
|
|
2260
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type
|
|
2261
|
+
> = TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$inboundSchema;
|
|
2262
|
+
|
|
2263
|
+
/**
|
|
2264
|
+
* @internal
|
|
2265
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2266
|
+
*/
|
|
2267
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$ {
|
|
2268
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$inboundSchema` instead. */
|
|
2269
|
+
export const inboundSchema =
|
|
2270
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$inboundSchema;
|
|
2271
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$outboundSchema` instead. */
|
|
2272
|
+
export const outboundSchema =
|
|
2273
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$outboundSchema;
|
|
2274
|
+
}
|
|
2275
|
+
|
|
2276
|
+
/** @internal */
|
|
2277
|
+
export const TemplateGetTemplateByIdFieldMeta4$inboundSchema: z.ZodType<
|
|
2278
|
+
TemplateGetTemplateByIdFieldMeta4,
|
|
2279
|
+
z.ZodTypeDef,
|
|
2280
|
+
unknown
|
|
2281
|
+
> = z.object({
|
|
2282
|
+
label: z.string().optional(),
|
|
2283
|
+
placeholder: z.string().optional(),
|
|
2284
|
+
required: z.boolean().optional(),
|
|
2285
|
+
readOnly: z.boolean().optional(),
|
|
2286
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$inboundSchema,
|
|
2287
|
+
fontSize: z.number().optional(),
|
|
2288
|
+
});
|
|
2289
|
+
|
|
2290
|
+
/** @internal */
|
|
2291
|
+
export type TemplateGetTemplateByIdFieldMeta4$Outbound = {
|
|
2292
|
+
label?: string | undefined;
|
|
2293
|
+
placeholder?: string | undefined;
|
|
2294
|
+
required?: boolean | undefined;
|
|
2295
|
+
readOnly?: boolean | undefined;
|
|
2296
|
+
type: string;
|
|
2297
|
+
fontSize?: number | undefined;
|
|
2298
|
+
};
|
|
2299
|
+
|
|
2300
|
+
/** @internal */
|
|
2301
|
+
export const TemplateGetTemplateByIdFieldMeta4$outboundSchema: z.ZodType<
|
|
2302
|
+
TemplateGetTemplateByIdFieldMeta4$Outbound,
|
|
2303
|
+
z.ZodTypeDef,
|
|
2304
|
+
TemplateGetTemplateByIdFieldMeta4
|
|
2305
|
+
> = z.object({
|
|
2306
|
+
label: z.string().optional(),
|
|
2307
|
+
placeholder: z.string().optional(),
|
|
2308
|
+
required: z.boolean().optional(),
|
|
2309
|
+
readOnly: z.boolean().optional(),
|
|
2310
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesResponse200Type$outboundSchema,
|
|
2311
|
+
fontSize: z.number().optional(),
|
|
2312
|
+
});
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* @internal
|
|
2316
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2317
|
+
*/
|
|
2318
|
+
export namespace TemplateGetTemplateByIdFieldMeta4$ {
|
|
2319
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta4$inboundSchema` instead. */
|
|
2320
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta4$inboundSchema;
|
|
2321
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta4$outboundSchema` instead. */
|
|
2322
|
+
export const outboundSchema =
|
|
2323
|
+
TemplateGetTemplateByIdFieldMeta4$outboundSchema;
|
|
2324
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta4$Outbound` instead. */
|
|
2325
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta4$Outbound;
|
|
2326
|
+
}
|
|
2327
|
+
|
|
2328
|
+
export function templateGetTemplateByIdFieldMeta4ToJSON(
|
|
2329
|
+
templateGetTemplateByIdFieldMeta4: TemplateGetTemplateByIdFieldMeta4,
|
|
2330
|
+
): string {
|
|
2331
|
+
return JSON.stringify(
|
|
2332
|
+
TemplateGetTemplateByIdFieldMeta4$outboundSchema.parse(
|
|
2333
|
+
templateGetTemplateByIdFieldMeta4,
|
|
2334
|
+
),
|
|
2335
|
+
);
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
export function templateGetTemplateByIdFieldMeta4FromJSON(
|
|
2339
|
+
jsonString: string,
|
|
2340
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta4, SDKValidationError> {
|
|
2341
|
+
return safeParse(
|
|
2342
|
+
jsonString,
|
|
2343
|
+
(x) => TemplateGetTemplateByIdFieldMeta4$inboundSchema.parse(JSON.parse(x)),
|
|
2344
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta4' from JSON`,
|
|
2345
|
+
);
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
/** @internal */
|
|
2349
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponseType$inboundSchema:
|
|
2350
|
+
z.ZodNativeEnum<
|
|
2351
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponseType
|
|
2352
|
+
> = z.nativeEnum(TemplateGetTemplateByIdFieldMetaTemplatesResponseType);
|
|
2353
|
+
|
|
2354
|
+
/** @internal */
|
|
2355
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesResponseType$outboundSchema:
|
|
2356
|
+
z.ZodNativeEnum<
|
|
2357
|
+
typeof TemplateGetTemplateByIdFieldMetaTemplatesResponseType
|
|
2358
|
+
> = TemplateGetTemplateByIdFieldMetaTemplatesResponseType$inboundSchema;
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* @internal
|
|
2362
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2363
|
+
*/
|
|
2364
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesResponseType$ {
|
|
2365
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponseType$inboundSchema` instead. */
|
|
2366
|
+
export const inboundSchema =
|
|
2367
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseType$inboundSchema;
|
|
2368
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesResponseType$outboundSchema` instead. */
|
|
2369
|
+
export const outboundSchema =
|
|
2370
|
+
TemplateGetTemplateByIdFieldMetaTemplatesResponseType$outboundSchema;
|
|
2371
|
+
}
|
|
2372
|
+
|
|
2373
|
+
/** @internal */
|
|
2374
|
+
export const TemplateGetTemplateByIdFieldMeta3$inboundSchema: z.ZodType<
|
|
2375
|
+
TemplateGetTemplateByIdFieldMeta3,
|
|
2376
|
+
z.ZodTypeDef,
|
|
2377
|
+
unknown
|
|
2378
|
+
> = z.object({
|
|
2379
|
+
label: z.string().optional(),
|
|
2380
|
+
placeholder: z.string().optional(),
|
|
2381
|
+
required: z.boolean().optional(),
|
|
2382
|
+
readOnly: z.boolean().optional(),
|
|
2383
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesResponseType$inboundSchema,
|
|
2384
|
+
fontSize: z.number().optional(),
|
|
2385
|
+
});
|
|
2386
|
+
|
|
2387
|
+
/** @internal */
|
|
2388
|
+
export type TemplateGetTemplateByIdFieldMeta3$Outbound = {
|
|
2389
|
+
label?: string | undefined;
|
|
2390
|
+
placeholder?: string | undefined;
|
|
2391
|
+
required?: boolean | undefined;
|
|
2392
|
+
readOnly?: boolean | undefined;
|
|
2393
|
+
type: string;
|
|
2394
|
+
fontSize?: number | undefined;
|
|
2395
|
+
};
|
|
2396
|
+
|
|
2397
|
+
/** @internal */
|
|
2398
|
+
export const TemplateGetTemplateByIdFieldMeta3$outboundSchema: z.ZodType<
|
|
2399
|
+
TemplateGetTemplateByIdFieldMeta3$Outbound,
|
|
2400
|
+
z.ZodTypeDef,
|
|
2401
|
+
TemplateGetTemplateByIdFieldMeta3
|
|
2402
|
+
> = z.object({
|
|
2403
|
+
label: z.string().optional(),
|
|
2404
|
+
placeholder: z.string().optional(),
|
|
2405
|
+
required: z.boolean().optional(),
|
|
2406
|
+
readOnly: z.boolean().optional(),
|
|
2407
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesResponseType$outboundSchema,
|
|
2408
|
+
fontSize: z.number().optional(),
|
|
2409
|
+
});
|
|
2410
|
+
|
|
2411
|
+
/**
|
|
2412
|
+
* @internal
|
|
2413
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2414
|
+
*/
|
|
2415
|
+
export namespace TemplateGetTemplateByIdFieldMeta3$ {
|
|
2416
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta3$inboundSchema` instead. */
|
|
2417
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta3$inboundSchema;
|
|
2418
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta3$outboundSchema` instead. */
|
|
2419
|
+
export const outboundSchema =
|
|
2420
|
+
TemplateGetTemplateByIdFieldMeta3$outboundSchema;
|
|
2421
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta3$Outbound` instead. */
|
|
2422
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta3$Outbound;
|
|
2423
|
+
}
|
|
2424
|
+
|
|
2425
|
+
export function templateGetTemplateByIdFieldMeta3ToJSON(
|
|
2426
|
+
templateGetTemplateByIdFieldMeta3: TemplateGetTemplateByIdFieldMeta3,
|
|
2427
|
+
): string {
|
|
2428
|
+
return JSON.stringify(
|
|
2429
|
+
TemplateGetTemplateByIdFieldMeta3$outboundSchema.parse(
|
|
2430
|
+
templateGetTemplateByIdFieldMeta3,
|
|
2431
|
+
),
|
|
2432
|
+
);
|
|
2433
|
+
}
|
|
2434
|
+
|
|
2435
|
+
export function templateGetTemplateByIdFieldMeta3FromJSON(
|
|
2436
|
+
jsonString: string,
|
|
2437
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta3, SDKValidationError> {
|
|
2438
|
+
return safeParse(
|
|
2439
|
+
jsonString,
|
|
2440
|
+
(x) => TemplateGetTemplateByIdFieldMeta3$inboundSchema.parse(JSON.parse(x)),
|
|
2441
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta3' from JSON`,
|
|
2442
|
+
);
|
|
2443
|
+
}
|
|
2444
|
+
|
|
2445
|
+
/** @internal */
|
|
2446
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesType$inboundSchema:
|
|
2447
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdFieldMetaTemplatesType> = z
|
|
2448
|
+
.nativeEnum(TemplateGetTemplateByIdFieldMetaTemplatesType);
|
|
2449
|
+
|
|
2450
|
+
/** @internal */
|
|
2451
|
+
export const TemplateGetTemplateByIdFieldMetaTemplatesType$outboundSchema:
|
|
2452
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdFieldMetaTemplatesType> =
|
|
2453
|
+
TemplateGetTemplateByIdFieldMetaTemplatesType$inboundSchema;
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* @internal
|
|
2457
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2458
|
+
*/
|
|
2459
|
+
export namespace TemplateGetTemplateByIdFieldMetaTemplatesType$ {
|
|
2460
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesType$inboundSchema` instead. */
|
|
2461
|
+
export const inboundSchema =
|
|
2462
|
+
TemplateGetTemplateByIdFieldMetaTemplatesType$inboundSchema;
|
|
2463
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaTemplatesType$outboundSchema` instead. */
|
|
2464
|
+
export const outboundSchema =
|
|
2465
|
+
TemplateGetTemplateByIdFieldMetaTemplatesType$outboundSchema;
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2468
|
+
/** @internal */
|
|
2469
|
+
export const TemplateGetTemplateByIdFieldMeta2$inboundSchema: z.ZodType<
|
|
2470
|
+
TemplateGetTemplateByIdFieldMeta2,
|
|
2471
|
+
z.ZodTypeDef,
|
|
2472
|
+
unknown
|
|
2473
|
+
> = z.object({
|
|
2474
|
+
label: z.string().optional(),
|
|
2475
|
+
placeholder: z.string().optional(),
|
|
2476
|
+
required: z.boolean().optional(),
|
|
2477
|
+
readOnly: z.boolean().optional(),
|
|
2478
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesType$inboundSchema,
|
|
2479
|
+
fontSize: z.number().optional(),
|
|
2480
|
+
});
|
|
2481
|
+
|
|
2482
|
+
/** @internal */
|
|
2483
|
+
export type TemplateGetTemplateByIdFieldMeta2$Outbound = {
|
|
2484
|
+
label?: string | undefined;
|
|
2485
|
+
placeholder?: string | undefined;
|
|
2486
|
+
required?: boolean | undefined;
|
|
2487
|
+
readOnly?: boolean | undefined;
|
|
2488
|
+
type: string;
|
|
2489
|
+
fontSize?: number | undefined;
|
|
2490
|
+
};
|
|
2491
|
+
|
|
2492
|
+
/** @internal */
|
|
2493
|
+
export const TemplateGetTemplateByIdFieldMeta2$outboundSchema: z.ZodType<
|
|
2494
|
+
TemplateGetTemplateByIdFieldMeta2$Outbound,
|
|
2495
|
+
z.ZodTypeDef,
|
|
2496
|
+
TemplateGetTemplateByIdFieldMeta2
|
|
2497
|
+
> = z.object({
|
|
2498
|
+
label: z.string().optional(),
|
|
2499
|
+
placeholder: z.string().optional(),
|
|
2500
|
+
required: z.boolean().optional(),
|
|
2501
|
+
readOnly: z.boolean().optional(),
|
|
2502
|
+
type: TemplateGetTemplateByIdFieldMetaTemplatesType$outboundSchema,
|
|
2503
|
+
fontSize: z.number().optional(),
|
|
2504
|
+
});
|
|
2505
|
+
|
|
2506
|
+
/**
|
|
2507
|
+
* @internal
|
|
2508
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2509
|
+
*/
|
|
2510
|
+
export namespace TemplateGetTemplateByIdFieldMeta2$ {
|
|
2511
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta2$inboundSchema` instead. */
|
|
2512
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta2$inboundSchema;
|
|
2513
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta2$outboundSchema` instead. */
|
|
2514
|
+
export const outboundSchema =
|
|
2515
|
+
TemplateGetTemplateByIdFieldMeta2$outboundSchema;
|
|
2516
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta2$Outbound` instead. */
|
|
2517
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta2$Outbound;
|
|
2518
|
+
}
|
|
2519
|
+
|
|
2520
|
+
export function templateGetTemplateByIdFieldMeta2ToJSON(
|
|
2521
|
+
templateGetTemplateByIdFieldMeta2: TemplateGetTemplateByIdFieldMeta2,
|
|
2522
|
+
): string {
|
|
2523
|
+
return JSON.stringify(
|
|
2524
|
+
TemplateGetTemplateByIdFieldMeta2$outboundSchema.parse(
|
|
2525
|
+
templateGetTemplateByIdFieldMeta2,
|
|
2526
|
+
),
|
|
2527
|
+
);
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2530
|
+
export function templateGetTemplateByIdFieldMeta2FromJSON(
|
|
2531
|
+
jsonString: string,
|
|
2532
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta2, SDKValidationError> {
|
|
2533
|
+
return safeParse(
|
|
2534
|
+
jsonString,
|
|
2535
|
+
(x) => TemplateGetTemplateByIdFieldMeta2$inboundSchema.parse(JSON.parse(x)),
|
|
2536
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta2' from JSON`,
|
|
2537
|
+
);
|
|
2538
|
+
}
|
|
2539
|
+
|
|
2540
|
+
/** @internal */
|
|
2541
|
+
export const TemplateGetTemplateByIdFieldMetaType$inboundSchema:
|
|
2542
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdFieldMetaType> = z.nativeEnum(
|
|
2543
|
+
TemplateGetTemplateByIdFieldMetaType,
|
|
2544
|
+
);
|
|
2545
|
+
|
|
2546
|
+
/** @internal */
|
|
2547
|
+
export const TemplateGetTemplateByIdFieldMetaType$outboundSchema:
|
|
2548
|
+
z.ZodNativeEnum<typeof TemplateGetTemplateByIdFieldMetaType> =
|
|
2549
|
+
TemplateGetTemplateByIdFieldMetaType$inboundSchema;
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* @internal
|
|
2553
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2554
|
+
*/
|
|
2555
|
+
export namespace TemplateGetTemplateByIdFieldMetaType$ {
|
|
2556
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaType$inboundSchema` instead. */
|
|
2557
|
+
export const inboundSchema =
|
|
2558
|
+
TemplateGetTemplateByIdFieldMetaType$inboundSchema;
|
|
2559
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMetaType$outboundSchema` instead. */
|
|
2560
|
+
export const outboundSchema =
|
|
2561
|
+
TemplateGetTemplateByIdFieldMetaType$outboundSchema;
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
/** @internal */
|
|
2565
|
+
export const TemplateGetTemplateByIdFieldMeta1$inboundSchema: z.ZodType<
|
|
2566
|
+
TemplateGetTemplateByIdFieldMeta1,
|
|
2567
|
+
z.ZodTypeDef,
|
|
2568
|
+
unknown
|
|
2569
|
+
> = z.object({
|
|
2570
|
+
label: z.string().optional(),
|
|
2571
|
+
placeholder: z.string().optional(),
|
|
2572
|
+
required: z.boolean().optional(),
|
|
2573
|
+
readOnly: z.boolean().optional(),
|
|
2574
|
+
type: TemplateGetTemplateByIdFieldMetaType$inboundSchema,
|
|
2575
|
+
fontSize: z.number().optional(),
|
|
2576
|
+
});
|
|
2577
|
+
|
|
2578
|
+
/** @internal */
|
|
2579
|
+
export type TemplateGetTemplateByIdFieldMeta1$Outbound = {
|
|
2580
|
+
label?: string | undefined;
|
|
2581
|
+
placeholder?: string | undefined;
|
|
2582
|
+
required?: boolean | undefined;
|
|
2583
|
+
readOnly?: boolean | undefined;
|
|
2584
|
+
type: string;
|
|
2585
|
+
fontSize?: number | undefined;
|
|
2586
|
+
};
|
|
2587
|
+
|
|
2588
|
+
/** @internal */
|
|
2589
|
+
export const TemplateGetTemplateByIdFieldMeta1$outboundSchema: z.ZodType<
|
|
2590
|
+
TemplateGetTemplateByIdFieldMeta1$Outbound,
|
|
2591
|
+
z.ZodTypeDef,
|
|
2592
|
+
TemplateGetTemplateByIdFieldMeta1
|
|
2593
|
+
> = z.object({
|
|
2594
|
+
label: z.string().optional(),
|
|
2595
|
+
placeholder: z.string().optional(),
|
|
2596
|
+
required: z.boolean().optional(),
|
|
2597
|
+
readOnly: z.boolean().optional(),
|
|
2598
|
+
type: TemplateGetTemplateByIdFieldMetaType$outboundSchema,
|
|
2599
|
+
fontSize: z.number().optional(),
|
|
2600
|
+
});
|
|
2601
|
+
|
|
2602
|
+
/**
|
|
2603
|
+
* @internal
|
|
2604
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2605
|
+
*/
|
|
2606
|
+
export namespace TemplateGetTemplateByIdFieldMeta1$ {
|
|
2607
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta1$inboundSchema` instead. */
|
|
2608
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta1$inboundSchema;
|
|
2609
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta1$outboundSchema` instead. */
|
|
2610
|
+
export const outboundSchema =
|
|
2611
|
+
TemplateGetTemplateByIdFieldMeta1$outboundSchema;
|
|
2612
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta1$Outbound` instead. */
|
|
2613
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta1$Outbound;
|
|
2614
|
+
}
|
|
2615
|
+
|
|
2616
|
+
export function templateGetTemplateByIdFieldMeta1ToJSON(
|
|
2617
|
+
templateGetTemplateByIdFieldMeta1: TemplateGetTemplateByIdFieldMeta1,
|
|
2618
|
+
): string {
|
|
2619
|
+
return JSON.stringify(
|
|
2620
|
+
TemplateGetTemplateByIdFieldMeta1$outboundSchema.parse(
|
|
2621
|
+
templateGetTemplateByIdFieldMeta1,
|
|
2622
|
+
),
|
|
2623
|
+
);
|
|
2624
|
+
}
|
|
2625
|
+
|
|
2626
|
+
export function templateGetTemplateByIdFieldMeta1FromJSON(
|
|
2627
|
+
jsonString: string,
|
|
2628
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta1, SDKValidationError> {
|
|
2629
|
+
return safeParse(
|
|
2630
|
+
jsonString,
|
|
2631
|
+
(x) => TemplateGetTemplateByIdFieldMeta1$inboundSchema.parse(JSON.parse(x)),
|
|
2632
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta1' from JSON`,
|
|
2633
|
+
);
|
|
2634
|
+
}
|
|
2635
|
+
|
|
2636
|
+
/** @internal */
|
|
2637
|
+
export const TemplateGetTemplateByIdFieldMeta$inboundSchema: z.ZodType<
|
|
2638
|
+
TemplateGetTemplateByIdFieldMeta,
|
|
2639
|
+
z.ZodTypeDef,
|
|
2640
|
+
unknown
|
|
2641
|
+
> = z.union([
|
|
2642
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta1$inboundSchema),
|
|
2643
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta2$inboundSchema),
|
|
2644
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta3$inboundSchema),
|
|
2645
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta4$inboundSchema),
|
|
2646
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta7$inboundSchema),
|
|
2647
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta9$inboundSchema),
|
|
2648
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta5$inboundSchema),
|
|
2649
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta8$inboundSchema),
|
|
2650
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta6$inboundSchema),
|
|
2651
|
+
]);
|
|
2652
|
+
|
|
2653
|
+
/** @internal */
|
|
2654
|
+
export type TemplateGetTemplateByIdFieldMeta$Outbound =
|
|
2655
|
+
| TemplateGetTemplateByIdFieldMeta1$Outbound
|
|
2656
|
+
| TemplateGetTemplateByIdFieldMeta2$Outbound
|
|
2657
|
+
| TemplateGetTemplateByIdFieldMeta3$Outbound
|
|
2658
|
+
| TemplateGetTemplateByIdFieldMeta4$Outbound
|
|
2659
|
+
| TemplateGetTemplateByIdFieldMeta7$Outbound
|
|
2660
|
+
| TemplateGetTemplateByIdFieldMeta9$Outbound
|
|
2661
|
+
| TemplateGetTemplateByIdFieldMeta5$Outbound
|
|
2662
|
+
| TemplateGetTemplateByIdFieldMeta8$Outbound
|
|
2663
|
+
| TemplateGetTemplateByIdFieldMeta6$Outbound;
|
|
2664
|
+
|
|
2665
|
+
/** @internal */
|
|
2666
|
+
export const TemplateGetTemplateByIdFieldMeta$outboundSchema: z.ZodType<
|
|
2667
|
+
TemplateGetTemplateByIdFieldMeta$Outbound,
|
|
2668
|
+
z.ZodTypeDef,
|
|
2669
|
+
TemplateGetTemplateByIdFieldMeta
|
|
2670
|
+
> = z.union([
|
|
2671
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta1$outboundSchema),
|
|
2672
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta2$outboundSchema),
|
|
2673
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta3$outboundSchema),
|
|
2674
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta4$outboundSchema),
|
|
2675
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta7$outboundSchema),
|
|
2676
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta9$outboundSchema),
|
|
2677
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta5$outboundSchema),
|
|
2678
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta8$outboundSchema),
|
|
2679
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta6$outboundSchema),
|
|
2680
|
+
]);
|
|
2681
|
+
|
|
2682
|
+
/**
|
|
2683
|
+
* @internal
|
|
2684
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2685
|
+
*/
|
|
2686
|
+
export namespace TemplateGetTemplateByIdFieldMeta$ {
|
|
2687
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta$inboundSchema` instead. */
|
|
2688
|
+
export const inboundSchema = TemplateGetTemplateByIdFieldMeta$inboundSchema;
|
|
2689
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta$outboundSchema` instead. */
|
|
2690
|
+
export const outboundSchema = TemplateGetTemplateByIdFieldMeta$outboundSchema;
|
|
2691
|
+
/** @deprecated use `TemplateGetTemplateByIdFieldMeta$Outbound` instead. */
|
|
2692
|
+
export type Outbound = TemplateGetTemplateByIdFieldMeta$Outbound;
|
|
2693
|
+
}
|
|
2694
|
+
|
|
2695
|
+
export function templateGetTemplateByIdFieldMetaToJSON(
|
|
2696
|
+
templateGetTemplateByIdFieldMeta: TemplateGetTemplateByIdFieldMeta,
|
|
2697
|
+
): string {
|
|
2698
|
+
return JSON.stringify(
|
|
2699
|
+
TemplateGetTemplateByIdFieldMeta$outboundSchema.parse(
|
|
2700
|
+
templateGetTemplateByIdFieldMeta,
|
|
2701
|
+
),
|
|
2702
|
+
);
|
|
2703
|
+
}
|
|
2704
|
+
|
|
2705
|
+
export function templateGetTemplateByIdFieldMetaFromJSON(
|
|
2706
|
+
jsonString: string,
|
|
2707
|
+
): SafeParseResult<TemplateGetTemplateByIdFieldMeta, SDKValidationError> {
|
|
2708
|
+
return safeParse(
|
|
2709
|
+
jsonString,
|
|
2710
|
+
(x) => TemplateGetTemplateByIdFieldMeta$inboundSchema.parse(JSON.parse(x)),
|
|
2711
|
+
`Failed to parse 'TemplateGetTemplateByIdFieldMeta' from JSON`,
|
|
2712
|
+
);
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
/** @internal */
|
|
2716
|
+
export const TemplateGetTemplateByIdFields$inboundSchema: z.ZodType<
|
|
2717
|
+
TemplateGetTemplateByIdFields,
|
|
2718
|
+
z.ZodTypeDef,
|
|
2719
|
+
unknown
|
|
2720
|
+
> = z.object({
|
|
2721
|
+
type: TemplateGetTemplateByIdTemplatesResponseType$inboundSchema,
|
|
2722
|
+
id: z.number().int(),
|
|
2723
|
+
secondaryId: z.string(),
|
|
2724
|
+
documentId: z.nullable(z.number().int()),
|
|
2725
|
+
templateId: z.nullable(z.number().int()),
|
|
2726
|
+
recipientId: z.number().int(),
|
|
2727
|
+
page: z.number(),
|
|
2728
|
+
positionX: z.any().optional(),
|
|
2729
|
+
positionY: z.any().optional(),
|
|
2730
|
+
width: z.any().optional(),
|
|
2731
|
+
height: z.any().optional(),
|
|
2732
|
+
customText: z.string(),
|
|
2733
|
+
inserted: z.boolean(),
|
|
2734
|
+
fieldMeta: z.nullable(
|
|
2735
|
+
z.union([
|
|
2736
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta1$inboundSchema),
|
|
2737
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta2$inboundSchema),
|
|
2738
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta3$inboundSchema),
|
|
2739
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta4$inboundSchema),
|
|
2740
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta7$inboundSchema),
|
|
2741
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta9$inboundSchema),
|
|
2742
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta5$inboundSchema),
|
|
2743
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta8$inboundSchema),
|
|
2744
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta6$inboundSchema),
|
|
2745
|
+
]),
|
|
2746
|
+
),
|
|
2747
|
+
});
|
|
2748
|
+
|
|
2749
|
+
/** @internal */
|
|
2750
|
+
export type TemplateGetTemplateByIdFields$Outbound = {
|
|
2751
|
+
type: string;
|
|
2752
|
+
id: number;
|
|
2753
|
+
secondaryId: string;
|
|
2754
|
+
documentId: number | null;
|
|
2755
|
+
templateId: number | null;
|
|
2756
|
+
recipientId: number;
|
|
2757
|
+
page: number;
|
|
2758
|
+
positionX?: any | undefined;
|
|
2759
|
+
positionY?: any | undefined;
|
|
2760
|
+
width?: any | undefined;
|
|
2761
|
+
height?: any | undefined;
|
|
2762
|
+
customText: string;
|
|
2763
|
+
inserted: boolean;
|
|
2764
|
+
fieldMeta:
|
|
2765
|
+
| TemplateGetTemplateByIdFieldMeta1$Outbound
|
|
2766
|
+
| TemplateGetTemplateByIdFieldMeta2$Outbound
|
|
2767
|
+
| TemplateGetTemplateByIdFieldMeta3$Outbound
|
|
2768
|
+
| TemplateGetTemplateByIdFieldMeta4$Outbound
|
|
2769
|
+
| TemplateGetTemplateByIdFieldMeta7$Outbound
|
|
2770
|
+
| TemplateGetTemplateByIdFieldMeta9$Outbound
|
|
2771
|
+
| TemplateGetTemplateByIdFieldMeta5$Outbound
|
|
2772
|
+
| TemplateGetTemplateByIdFieldMeta8$Outbound
|
|
2773
|
+
| TemplateGetTemplateByIdFieldMeta6$Outbound
|
|
2774
|
+
| null;
|
|
2775
|
+
};
|
|
2776
|
+
|
|
2777
|
+
/** @internal */
|
|
2778
|
+
export const TemplateGetTemplateByIdFields$outboundSchema: z.ZodType<
|
|
2779
|
+
TemplateGetTemplateByIdFields$Outbound,
|
|
2780
|
+
z.ZodTypeDef,
|
|
2781
|
+
TemplateGetTemplateByIdFields
|
|
2782
|
+
> = z.object({
|
|
2783
|
+
type: TemplateGetTemplateByIdTemplatesResponseType$outboundSchema,
|
|
2784
|
+
id: z.number().int(),
|
|
2785
|
+
secondaryId: z.string(),
|
|
2786
|
+
documentId: z.nullable(z.number().int()),
|
|
2787
|
+
templateId: z.nullable(z.number().int()),
|
|
2788
|
+
recipientId: z.number().int(),
|
|
2789
|
+
page: z.number(),
|
|
2790
|
+
positionX: z.any().optional(),
|
|
2791
|
+
positionY: z.any().optional(),
|
|
2792
|
+
width: z.any().optional(),
|
|
2793
|
+
height: z.any().optional(),
|
|
2794
|
+
customText: z.string(),
|
|
2795
|
+
inserted: z.boolean(),
|
|
2796
|
+
fieldMeta: z.nullable(
|
|
2797
|
+
z.union([
|
|
2798
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta1$outboundSchema),
|
|
2799
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta2$outboundSchema),
|
|
2800
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta3$outboundSchema),
|
|
2801
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta4$outboundSchema),
|
|
2802
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta7$outboundSchema),
|
|
2803
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta9$outboundSchema),
|
|
2804
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta5$outboundSchema),
|
|
2805
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta8$outboundSchema),
|
|
2806
|
+
z.lazy(() => TemplateGetTemplateByIdFieldMeta6$outboundSchema),
|
|
2807
|
+
]),
|
|
2808
|
+
),
|
|
2809
|
+
});
|
|
2810
|
+
|
|
2811
|
+
/**
|
|
2812
|
+
* @internal
|
|
2813
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2814
|
+
*/
|
|
2815
|
+
export namespace TemplateGetTemplateByIdFields$ {
|
|
2816
|
+
/** @deprecated use `TemplateGetTemplateByIdFields$inboundSchema` instead. */
|
|
2817
|
+
export const inboundSchema = TemplateGetTemplateByIdFields$inboundSchema;
|
|
2818
|
+
/** @deprecated use `TemplateGetTemplateByIdFields$outboundSchema` instead. */
|
|
2819
|
+
export const outboundSchema = TemplateGetTemplateByIdFields$outboundSchema;
|
|
2820
|
+
/** @deprecated use `TemplateGetTemplateByIdFields$Outbound` instead. */
|
|
2821
|
+
export type Outbound = TemplateGetTemplateByIdFields$Outbound;
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
export function templateGetTemplateByIdFieldsToJSON(
|
|
2825
|
+
templateGetTemplateByIdFields: TemplateGetTemplateByIdFields,
|
|
2826
|
+
): string {
|
|
2827
|
+
return JSON.stringify(
|
|
2828
|
+
TemplateGetTemplateByIdFields$outboundSchema.parse(
|
|
2829
|
+
templateGetTemplateByIdFields,
|
|
2830
|
+
),
|
|
2831
|
+
);
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
export function templateGetTemplateByIdFieldsFromJSON(
|
|
2835
|
+
jsonString: string,
|
|
2836
|
+
): SafeParseResult<TemplateGetTemplateByIdFields, SDKValidationError> {
|
|
2837
|
+
return safeParse(
|
|
2838
|
+
jsonString,
|
|
2839
|
+
(x) => TemplateGetTemplateByIdFields$inboundSchema.parse(JSON.parse(x)),
|
|
2840
|
+
`Failed to parse 'TemplateGetTemplateByIdFields' from JSON`,
|
|
2841
|
+
);
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
/** @internal */
|
|
2845
|
+
export const TemplateGetTemplateByIdResponseBody$inboundSchema: z.ZodType<
|
|
2846
|
+
TemplateGetTemplateByIdResponseBody,
|
|
2847
|
+
z.ZodTypeDef,
|
|
2848
|
+
unknown
|
|
2849
|
+
> = z.object({
|
|
2850
|
+
type: TemplateGetTemplateByIdType$inboundSchema,
|
|
2851
|
+
visibility: TemplateGetTemplateByIdVisibility$inboundSchema,
|
|
2852
|
+
id: z.number().int(),
|
|
2853
|
+
externalId: z.nullable(z.string()),
|
|
2854
|
+
title: z.string(),
|
|
2855
|
+
userId: z.number().int(),
|
|
2856
|
+
teamId: z.nullable(z.number().int()),
|
|
2857
|
+
authOptions: z.nullable(
|
|
2858
|
+
z.lazy(() => TemplateGetTemplateByIdAuthOptions$inboundSchema),
|
|
2859
|
+
),
|
|
2860
|
+
templateDocumentDataId: z.string(),
|
|
2861
|
+
createdAt: z.string(),
|
|
2862
|
+
updatedAt: z.string(),
|
|
2863
|
+
publicTitle: z.string(),
|
|
2864
|
+
publicDescription: z.string(),
|
|
2865
|
+
templateDocumentData: z.lazy(() => TemplateDocumentData$inboundSchema),
|
|
2866
|
+
templateMeta: z.nullable(z.lazy(() => TemplateMeta$inboundSchema)),
|
|
2867
|
+
directLink: z.nullable(z.lazy(() => DirectLink$inboundSchema)),
|
|
2868
|
+
user: z.lazy(() => User$inboundSchema),
|
|
2869
|
+
recipients: z.array(
|
|
2870
|
+
z.lazy(() => TemplateGetTemplateByIdRecipients$inboundSchema),
|
|
2871
|
+
),
|
|
2872
|
+
fields: z.array(z.lazy(() => TemplateGetTemplateByIdFields$inboundSchema)),
|
|
2873
|
+
});
|
|
2874
|
+
|
|
2875
|
+
/** @internal */
|
|
2876
|
+
export type TemplateGetTemplateByIdResponseBody$Outbound = {
|
|
2877
|
+
type: string;
|
|
2878
|
+
visibility: string;
|
|
2879
|
+
id: number;
|
|
2880
|
+
externalId: string | null;
|
|
2881
|
+
title: string;
|
|
2882
|
+
userId: number;
|
|
2883
|
+
teamId: number | null;
|
|
2884
|
+
authOptions: TemplateGetTemplateByIdAuthOptions$Outbound | null;
|
|
2885
|
+
templateDocumentDataId: string;
|
|
2886
|
+
createdAt: string;
|
|
2887
|
+
updatedAt: string;
|
|
2888
|
+
publicTitle: string;
|
|
2889
|
+
publicDescription: string;
|
|
2890
|
+
templateDocumentData: TemplateDocumentData$Outbound;
|
|
2891
|
+
templateMeta: TemplateMeta$Outbound | null;
|
|
2892
|
+
directLink: DirectLink$Outbound | null;
|
|
2893
|
+
user: User$Outbound;
|
|
2894
|
+
recipients: Array<TemplateGetTemplateByIdRecipients$Outbound>;
|
|
2895
|
+
fields: Array<TemplateGetTemplateByIdFields$Outbound>;
|
|
2896
|
+
};
|
|
2897
|
+
|
|
2898
|
+
/** @internal */
|
|
2899
|
+
export const TemplateGetTemplateByIdResponseBody$outboundSchema: z.ZodType<
|
|
2900
|
+
TemplateGetTemplateByIdResponseBody$Outbound,
|
|
2901
|
+
z.ZodTypeDef,
|
|
2902
|
+
TemplateGetTemplateByIdResponseBody
|
|
2903
|
+
> = z.object({
|
|
2904
|
+
type: TemplateGetTemplateByIdType$outboundSchema,
|
|
2905
|
+
visibility: TemplateGetTemplateByIdVisibility$outboundSchema,
|
|
2906
|
+
id: z.number().int(),
|
|
2907
|
+
externalId: z.nullable(z.string()),
|
|
2908
|
+
title: z.string(),
|
|
2909
|
+
userId: z.number().int(),
|
|
2910
|
+
teamId: z.nullable(z.number().int()),
|
|
2911
|
+
authOptions: z.nullable(
|
|
2912
|
+
z.lazy(() => TemplateGetTemplateByIdAuthOptions$outboundSchema),
|
|
2913
|
+
),
|
|
2914
|
+
templateDocumentDataId: z.string(),
|
|
2915
|
+
createdAt: z.string(),
|
|
2916
|
+
updatedAt: z.string(),
|
|
2917
|
+
publicTitle: z.string(),
|
|
2918
|
+
publicDescription: z.string(),
|
|
2919
|
+
templateDocumentData: z.lazy(() => TemplateDocumentData$outboundSchema),
|
|
2920
|
+
templateMeta: z.nullable(z.lazy(() => TemplateMeta$outboundSchema)),
|
|
2921
|
+
directLink: z.nullable(z.lazy(() => DirectLink$outboundSchema)),
|
|
2922
|
+
user: z.lazy(() => User$outboundSchema),
|
|
2923
|
+
recipients: z.array(
|
|
2924
|
+
z.lazy(() => TemplateGetTemplateByIdRecipients$outboundSchema),
|
|
2925
|
+
),
|
|
2926
|
+
fields: z.array(z.lazy(() => TemplateGetTemplateByIdFields$outboundSchema)),
|
|
2927
|
+
});
|
|
2928
|
+
|
|
2929
|
+
/**
|
|
2930
|
+
* @internal
|
|
2931
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2932
|
+
*/
|
|
2933
|
+
export namespace TemplateGetTemplateByIdResponseBody$ {
|
|
2934
|
+
/** @deprecated use `TemplateGetTemplateByIdResponseBody$inboundSchema` instead. */
|
|
2935
|
+
export const inboundSchema =
|
|
2936
|
+
TemplateGetTemplateByIdResponseBody$inboundSchema;
|
|
2937
|
+
/** @deprecated use `TemplateGetTemplateByIdResponseBody$outboundSchema` instead. */
|
|
2938
|
+
export const outboundSchema =
|
|
2939
|
+
TemplateGetTemplateByIdResponseBody$outboundSchema;
|
|
2940
|
+
/** @deprecated use `TemplateGetTemplateByIdResponseBody$Outbound` instead. */
|
|
2941
|
+
export type Outbound = TemplateGetTemplateByIdResponseBody$Outbound;
|
|
2942
|
+
}
|
|
2943
|
+
|
|
2944
|
+
export function templateGetTemplateByIdResponseBodyToJSON(
|
|
2945
|
+
templateGetTemplateByIdResponseBody: TemplateGetTemplateByIdResponseBody,
|
|
2946
|
+
): string {
|
|
2947
|
+
return JSON.stringify(
|
|
2948
|
+
TemplateGetTemplateByIdResponseBody$outboundSchema.parse(
|
|
2949
|
+
templateGetTemplateByIdResponseBody,
|
|
2950
|
+
),
|
|
2951
|
+
);
|
|
2952
|
+
}
|
|
2953
|
+
|
|
2954
|
+
export function templateGetTemplateByIdResponseBodyFromJSON(
|
|
2955
|
+
jsonString: string,
|
|
2956
|
+
): SafeParseResult<TemplateGetTemplateByIdResponseBody, SDKValidationError> {
|
|
2957
|
+
return safeParse(
|
|
2958
|
+
jsonString,
|
|
2959
|
+
(x) =>
|
|
2960
|
+
TemplateGetTemplateByIdResponseBody$inboundSchema.parse(JSON.parse(x)),
|
|
2961
|
+
`Failed to parse 'TemplateGetTemplateByIdResponseBody' from JSON`,
|
|
2962
|
+
);
|
|
2963
|
+
}
|