@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,2639 @@
|
|
|
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 const RecipientUpdateTemplateRecipientsRole = {
|
|
12
|
+
Cc: "CC",
|
|
13
|
+
Signer: "SIGNER",
|
|
14
|
+
Viewer: "VIEWER",
|
|
15
|
+
Approver: "APPROVER",
|
|
16
|
+
} as const;
|
|
17
|
+
export type RecipientUpdateTemplateRecipientsRole = ClosedEnum<
|
|
18
|
+
typeof RecipientUpdateTemplateRecipientsRole
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* The type of authentication required for the recipient to access the document.
|
|
23
|
+
*/
|
|
24
|
+
export const RecipientUpdateTemplateRecipientsAccessAuth = {
|
|
25
|
+
Account: "ACCOUNT",
|
|
26
|
+
} as const;
|
|
27
|
+
/**
|
|
28
|
+
* The type of authentication required for the recipient to access the document.
|
|
29
|
+
*/
|
|
30
|
+
export type RecipientUpdateTemplateRecipientsAccessAuth = ClosedEnum<
|
|
31
|
+
typeof RecipientUpdateTemplateRecipientsAccessAuth
|
|
32
|
+
>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* The type of authentication required for the recipient to sign the document.
|
|
36
|
+
*/
|
|
37
|
+
export const RecipientUpdateTemplateRecipientsActionAuth = {
|
|
38
|
+
Account: "ACCOUNT",
|
|
39
|
+
Passkey: "PASSKEY",
|
|
40
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
41
|
+
ExplicitNone: "EXPLICIT_NONE",
|
|
42
|
+
} as const;
|
|
43
|
+
/**
|
|
44
|
+
* The type of authentication required for the recipient to sign the document.
|
|
45
|
+
*/
|
|
46
|
+
export type RecipientUpdateTemplateRecipientsActionAuth = ClosedEnum<
|
|
47
|
+
typeof RecipientUpdateTemplateRecipientsActionAuth
|
|
48
|
+
>;
|
|
49
|
+
|
|
50
|
+
export type RecipientUpdateTemplateRecipientsRecipients = {
|
|
51
|
+
/**
|
|
52
|
+
* The ID of the recipient to update.
|
|
53
|
+
*/
|
|
54
|
+
id: number;
|
|
55
|
+
email?: string | undefined;
|
|
56
|
+
name?: string | undefined;
|
|
57
|
+
role?: RecipientUpdateTemplateRecipientsRole | undefined;
|
|
58
|
+
signingOrder?: number | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* The type of authentication required for the recipient to access the document.
|
|
61
|
+
*/
|
|
62
|
+
accessAuth?: RecipientUpdateTemplateRecipientsAccessAuth | null | undefined;
|
|
63
|
+
/**
|
|
64
|
+
* The type of authentication required for the recipient to sign the document.
|
|
65
|
+
*/
|
|
66
|
+
actionAuth?: RecipientUpdateTemplateRecipientsActionAuth | null | undefined;
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export type RecipientUpdateTemplateRecipientsRequestBody = {
|
|
70
|
+
templateId: number;
|
|
71
|
+
recipients: Array<RecipientUpdateTemplateRecipientsRecipients>;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsRole = {
|
|
75
|
+
Cc: "CC",
|
|
76
|
+
Signer: "SIGNER",
|
|
77
|
+
Viewer: "VIEWER",
|
|
78
|
+
Approver: "APPROVER",
|
|
79
|
+
} as const;
|
|
80
|
+
export type RecipientUpdateTemplateRecipientsTemplatesRecipientsRole =
|
|
81
|
+
ClosedEnum<typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsRole>;
|
|
82
|
+
|
|
83
|
+
export const RecipientUpdateTemplateRecipientsReadStatus = {
|
|
84
|
+
NotOpened: "NOT_OPENED",
|
|
85
|
+
Opened: "OPENED",
|
|
86
|
+
} as const;
|
|
87
|
+
export type RecipientUpdateTemplateRecipientsReadStatus = ClosedEnum<
|
|
88
|
+
typeof RecipientUpdateTemplateRecipientsReadStatus
|
|
89
|
+
>;
|
|
90
|
+
|
|
91
|
+
export const RecipientUpdateTemplateRecipientsSigningStatus = {
|
|
92
|
+
NotSigned: "NOT_SIGNED",
|
|
93
|
+
Signed: "SIGNED",
|
|
94
|
+
Rejected: "REJECTED",
|
|
95
|
+
} as const;
|
|
96
|
+
export type RecipientUpdateTemplateRecipientsSigningStatus = ClosedEnum<
|
|
97
|
+
typeof RecipientUpdateTemplateRecipientsSigningStatus
|
|
98
|
+
>;
|
|
99
|
+
|
|
100
|
+
export const RecipientUpdateTemplateRecipientsSendStatus = {
|
|
101
|
+
NotSent: "NOT_SENT",
|
|
102
|
+
Sent: "SENT",
|
|
103
|
+
} as const;
|
|
104
|
+
export type RecipientUpdateTemplateRecipientsSendStatus = ClosedEnum<
|
|
105
|
+
typeof RecipientUpdateTemplateRecipientsSendStatus
|
|
106
|
+
>;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* The type of authentication required for the recipient to access the document.
|
|
110
|
+
*/
|
|
111
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth = {
|
|
112
|
+
Account: "ACCOUNT",
|
|
113
|
+
} as const;
|
|
114
|
+
/**
|
|
115
|
+
* The type of authentication required for the recipient to access the document.
|
|
116
|
+
*/
|
|
117
|
+
export type RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth =
|
|
118
|
+
ClosedEnum<
|
|
119
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth
|
|
120
|
+
>;
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* The type of authentication required for the recipient to sign the document.
|
|
124
|
+
*/
|
|
125
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth = {
|
|
126
|
+
Account: "ACCOUNT",
|
|
127
|
+
Passkey: "PASSKEY",
|
|
128
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
129
|
+
ExplicitNone: "EXPLICIT_NONE",
|
|
130
|
+
} as const;
|
|
131
|
+
/**
|
|
132
|
+
* The type of authentication required for the recipient to sign the document.
|
|
133
|
+
*/
|
|
134
|
+
export type RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth =
|
|
135
|
+
ClosedEnum<
|
|
136
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth
|
|
137
|
+
>;
|
|
138
|
+
|
|
139
|
+
export type RecipientUpdateTemplateRecipientsAuthOptions = {
|
|
140
|
+
/**
|
|
141
|
+
* The type of authentication required for the recipient to access the document.
|
|
142
|
+
*/
|
|
143
|
+
accessAuth:
|
|
144
|
+
| RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth
|
|
145
|
+
| null;
|
|
146
|
+
/**
|
|
147
|
+
* The type of authentication required for the recipient to sign the document.
|
|
148
|
+
*/
|
|
149
|
+
actionAuth:
|
|
150
|
+
| RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth
|
|
151
|
+
| null;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export const RecipientUpdateTemplateRecipientsType = {
|
|
155
|
+
Signature: "SIGNATURE",
|
|
156
|
+
FreeSignature: "FREE_SIGNATURE",
|
|
157
|
+
Initials: "INITIALS",
|
|
158
|
+
Name: "NAME",
|
|
159
|
+
Email: "EMAIL",
|
|
160
|
+
Date: "DATE",
|
|
161
|
+
Text: "TEXT",
|
|
162
|
+
Number: "NUMBER",
|
|
163
|
+
Radio: "RADIO",
|
|
164
|
+
Checkbox: "CHECKBOX",
|
|
165
|
+
Dropdown: "DROPDOWN",
|
|
166
|
+
} as const;
|
|
167
|
+
export type RecipientUpdateTemplateRecipientsType = ClosedEnum<
|
|
168
|
+
typeof RecipientUpdateTemplateRecipientsType
|
|
169
|
+
>;
|
|
170
|
+
|
|
171
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type =
|
|
172
|
+
{
|
|
173
|
+
Dropdown: "dropdown",
|
|
174
|
+
} as const;
|
|
175
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type =
|
|
176
|
+
ClosedEnum<
|
|
177
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type
|
|
178
|
+
>;
|
|
179
|
+
|
|
180
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues =
|
|
181
|
+
{
|
|
182
|
+
value: string;
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta9 = {
|
|
186
|
+
label?: string | undefined;
|
|
187
|
+
placeholder?: string | undefined;
|
|
188
|
+
required?: boolean | undefined;
|
|
189
|
+
readOnly?: boolean | undefined;
|
|
190
|
+
type:
|
|
191
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type;
|
|
192
|
+
values?:
|
|
193
|
+
| Array<
|
|
194
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues
|
|
195
|
+
>
|
|
196
|
+
| undefined;
|
|
197
|
+
defaultValue?: string | undefined;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType =
|
|
201
|
+
{
|
|
202
|
+
Checkbox: "checkbox",
|
|
203
|
+
} as const;
|
|
204
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType =
|
|
205
|
+
ClosedEnum<
|
|
206
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType
|
|
207
|
+
>;
|
|
208
|
+
|
|
209
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues =
|
|
210
|
+
{
|
|
211
|
+
id: number;
|
|
212
|
+
checked: boolean;
|
|
213
|
+
value: string;
|
|
214
|
+
};
|
|
215
|
+
|
|
216
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta8 = {
|
|
217
|
+
label?: string | undefined;
|
|
218
|
+
placeholder?: string | undefined;
|
|
219
|
+
required?: boolean | undefined;
|
|
220
|
+
readOnly?: boolean | undefined;
|
|
221
|
+
type:
|
|
222
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType;
|
|
223
|
+
values?:
|
|
224
|
+
| Array<RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues>
|
|
225
|
+
| undefined;
|
|
226
|
+
validationRule?: string | undefined;
|
|
227
|
+
validationLength?: number | undefined;
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType =
|
|
231
|
+
{
|
|
232
|
+
Radio: "radio",
|
|
233
|
+
} as const;
|
|
234
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType =
|
|
235
|
+
ClosedEnum<
|
|
236
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType
|
|
237
|
+
>;
|
|
238
|
+
|
|
239
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaValues = {
|
|
240
|
+
id: number;
|
|
241
|
+
checked: boolean;
|
|
242
|
+
value: string;
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta7 = {
|
|
246
|
+
label?: string | undefined;
|
|
247
|
+
placeholder?: string | undefined;
|
|
248
|
+
required?: boolean | undefined;
|
|
249
|
+
readOnly?: boolean | undefined;
|
|
250
|
+
type:
|
|
251
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType;
|
|
252
|
+
values?: Array<RecipientUpdateTemplateRecipientsFieldMetaValues> | undefined;
|
|
253
|
+
};
|
|
254
|
+
|
|
255
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType =
|
|
256
|
+
{
|
|
257
|
+
Number: "number",
|
|
258
|
+
} as const;
|
|
259
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType =
|
|
260
|
+
ClosedEnum<
|
|
261
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType
|
|
262
|
+
>;
|
|
263
|
+
|
|
264
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta6 = {
|
|
265
|
+
label?: string | undefined;
|
|
266
|
+
placeholder?: string | undefined;
|
|
267
|
+
required?: boolean | undefined;
|
|
268
|
+
readOnly?: boolean | undefined;
|
|
269
|
+
type:
|
|
270
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType;
|
|
271
|
+
numberFormat?: string | undefined;
|
|
272
|
+
value?: string | undefined;
|
|
273
|
+
minValue?: number | undefined;
|
|
274
|
+
maxValue?: number | undefined;
|
|
275
|
+
fontSize?: number | undefined;
|
|
276
|
+
};
|
|
277
|
+
|
|
278
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType =
|
|
279
|
+
{
|
|
280
|
+
Text: "text",
|
|
281
|
+
} as const;
|
|
282
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType =
|
|
283
|
+
ClosedEnum<
|
|
284
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType
|
|
285
|
+
>;
|
|
286
|
+
|
|
287
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta5 = {
|
|
288
|
+
label?: string | undefined;
|
|
289
|
+
placeholder?: string | undefined;
|
|
290
|
+
required?: boolean | undefined;
|
|
291
|
+
readOnly?: boolean | undefined;
|
|
292
|
+
type:
|
|
293
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType;
|
|
294
|
+
text?: string | undefined;
|
|
295
|
+
characterLimit?: number | undefined;
|
|
296
|
+
fontSize?: number | undefined;
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type =
|
|
300
|
+
{
|
|
301
|
+
Date: "date",
|
|
302
|
+
} as const;
|
|
303
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type =
|
|
304
|
+
ClosedEnum<
|
|
305
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type
|
|
306
|
+
>;
|
|
307
|
+
|
|
308
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta4 = {
|
|
309
|
+
label?: string | undefined;
|
|
310
|
+
placeholder?: string | undefined;
|
|
311
|
+
required?: boolean | undefined;
|
|
312
|
+
readOnly?: boolean | undefined;
|
|
313
|
+
type:
|
|
314
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type;
|
|
315
|
+
fontSize?: number | undefined;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType =
|
|
319
|
+
{
|
|
320
|
+
Email: "email",
|
|
321
|
+
} as const;
|
|
322
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType =
|
|
323
|
+
ClosedEnum<
|
|
324
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType
|
|
325
|
+
>;
|
|
326
|
+
|
|
327
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta3 = {
|
|
328
|
+
label?: string | undefined;
|
|
329
|
+
placeholder?: string | undefined;
|
|
330
|
+
required?: boolean | undefined;
|
|
331
|
+
readOnly?: boolean | undefined;
|
|
332
|
+
type:
|
|
333
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType;
|
|
334
|
+
fontSize?: number | undefined;
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType =
|
|
338
|
+
{
|
|
339
|
+
Name: "name",
|
|
340
|
+
} as const;
|
|
341
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType =
|
|
342
|
+
ClosedEnum<
|
|
343
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType
|
|
344
|
+
>;
|
|
345
|
+
|
|
346
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta2 = {
|
|
347
|
+
label?: string | undefined;
|
|
348
|
+
placeholder?: string | undefined;
|
|
349
|
+
required?: boolean | undefined;
|
|
350
|
+
readOnly?: boolean | undefined;
|
|
351
|
+
type: RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType;
|
|
352
|
+
fontSize?: number | undefined;
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaType = {
|
|
356
|
+
Initials: "initials",
|
|
357
|
+
} as const;
|
|
358
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaType = ClosedEnum<
|
|
359
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaType
|
|
360
|
+
>;
|
|
361
|
+
|
|
362
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta1 = {
|
|
363
|
+
label?: string | undefined;
|
|
364
|
+
placeholder?: string | undefined;
|
|
365
|
+
required?: boolean | undefined;
|
|
366
|
+
readOnly?: boolean | undefined;
|
|
367
|
+
type: RecipientUpdateTemplateRecipientsFieldMetaType;
|
|
368
|
+
fontSize?: number | undefined;
|
|
369
|
+
};
|
|
370
|
+
|
|
371
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta =
|
|
372
|
+
| RecipientUpdateTemplateRecipientsFieldMeta1
|
|
373
|
+
| RecipientUpdateTemplateRecipientsFieldMeta2
|
|
374
|
+
| RecipientUpdateTemplateRecipientsFieldMeta3
|
|
375
|
+
| RecipientUpdateTemplateRecipientsFieldMeta4
|
|
376
|
+
| RecipientUpdateTemplateRecipientsFieldMeta7
|
|
377
|
+
| RecipientUpdateTemplateRecipientsFieldMeta9
|
|
378
|
+
| RecipientUpdateTemplateRecipientsFieldMeta5
|
|
379
|
+
| RecipientUpdateTemplateRecipientsFieldMeta8
|
|
380
|
+
| RecipientUpdateTemplateRecipientsFieldMeta6;
|
|
381
|
+
|
|
382
|
+
export type RecipientUpdateTemplateRecipientsFields = {
|
|
383
|
+
type: RecipientUpdateTemplateRecipientsType;
|
|
384
|
+
id: number;
|
|
385
|
+
secondaryId: string;
|
|
386
|
+
documentId: number | null;
|
|
387
|
+
templateId: number | null;
|
|
388
|
+
recipientId: number;
|
|
389
|
+
/**
|
|
390
|
+
* The page number of the field on the document. Starts from 1.
|
|
391
|
+
*/
|
|
392
|
+
page: number;
|
|
393
|
+
positionX?: any | undefined;
|
|
394
|
+
positionY?: any | undefined;
|
|
395
|
+
width?: any | undefined;
|
|
396
|
+
height?: any | undefined;
|
|
397
|
+
customText: string;
|
|
398
|
+
inserted: boolean;
|
|
399
|
+
fieldMeta:
|
|
400
|
+
| RecipientUpdateTemplateRecipientsFieldMeta1
|
|
401
|
+
| RecipientUpdateTemplateRecipientsFieldMeta2
|
|
402
|
+
| RecipientUpdateTemplateRecipientsFieldMeta3
|
|
403
|
+
| RecipientUpdateTemplateRecipientsFieldMeta4
|
|
404
|
+
| RecipientUpdateTemplateRecipientsFieldMeta7
|
|
405
|
+
| RecipientUpdateTemplateRecipientsFieldMeta9
|
|
406
|
+
| RecipientUpdateTemplateRecipientsFieldMeta5
|
|
407
|
+
| RecipientUpdateTemplateRecipientsFieldMeta8
|
|
408
|
+
| RecipientUpdateTemplateRecipientsFieldMeta6
|
|
409
|
+
| null;
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
export type RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients = {
|
|
413
|
+
role: RecipientUpdateTemplateRecipientsTemplatesRecipientsRole;
|
|
414
|
+
readStatus: RecipientUpdateTemplateRecipientsReadStatus;
|
|
415
|
+
signingStatus: RecipientUpdateTemplateRecipientsSigningStatus;
|
|
416
|
+
sendStatus: RecipientUpdateTemplateRecipientsSendStatus;
|
|
417
|
+
id: number;
|
|
418
|
+
documentId: number | null;
|
|
419
|
+
templateId: number | null;
|
|
420
|
+
email: string;
|
|
421
|
+
name: string;
|
|
422
|
+
token: string;
|
|
423
|
+
documentDeletedAt: string | null;
|
|
424
|
+
expired: string | null;
|
|
425
|
+
signedAt: string | null;
|
|
426
|
+
authOptions: RecipientUpdateTemplateRecipientsAuthOptions | null;
|
|
427
|
+
/**
|
|
428
|
+
* The order in which the recipient should sign the document. Only works if the document is set to sequential signing.
|
|
429
|
+
*/
|
|
430
|
+
signingOrder: number | null;
|
|
431
|
+
rejectionReason: string | null;
|
|
432
|
+
fields: Array<RecipientUpdateTemplateRecipientsFields>;
|
|
433
|
+
};
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Successful response
|
|
437
|
+
*/
|
|
438
|
+
export type RecipientUpdateTemplateRecipientsResponseBody = {
|
|
439
|
+
recipients: Array<
|
|
440
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients
|
|
441
|
+
>;
|
|
442
|
+
};
|
|
443
|
+
|
|
444
|
+
/** @internal */
|
|
445
|
+
export const RecipientUpdateTemplateRecipientsRole$inboundSchema:
|
|
446
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsRole> = z.nativeEnum(
|
|
447
|
+
RecipientUpdateTemplateRecipientsRole,
|
|
448
|
+
);
|
|
449
|
+
|
|
450
|
+
/** @internal */
|
|
451
|
+
export const RecipientUpdateTemplateRecipientsRole$outboundSchema:
|
|
452
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsRole> =
|
|
453
|
+
RecipientUpdateTemplateRecipientsRole$inboundSchema;
|
|
454
|
+
|
|
455
|
+
/**
|
|
456
|
+
* @internal
|
|
457
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
458
|
+
*/
|
|
459
|
+
export namespace RecipientUpdateTemplateRecipientsRole$ {
|
|
460
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRole$inboundSchema` instead. */
|
|
461
|
+
export const inboundSchema =
|
|
462
|
+
RecipientUpdateTemplateRecipientsRole$inboundSchema;
|
|
463
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRole$outboundSchema` instead. */
|
|
464
|
+
export const outboundSchema =
|
|
465
|
+
RecipientUpdateTemplateRecipientsRole$outboundSchema;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
/** @internal */
|
|
469
|
+
export const RecipientUpdateTemplateRecipientsAccessAuth$inboundSchema:
|
|
470
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsAccessAuth> = z
|
|
471
|
+
.nativeEnum(RecipientUpdateTemplateRecipientsAccessAuth);
|
|
472
|
+
|
|
473
|
+
/** @internal */
|
|
474
|
+
export const RecipientUpdateTemplateRecipientsAccessAuth$outboundSchema:
|
|
475
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsAccessAuth> =
|
|
476
|
+
RecipientUpdateTemplateRecipientsAccessAuth$inboundSchema;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* @internal
|
|
480
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
481
|
+
*/
|
|
482
|
+
export namespace RecipientUpdateTemplateRecipientsAccessAuth$ {
|
|
483
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsAccessAuth$inboundSchema` instead. */
|
|
484
|
+
export const inboundSchema =
|
|
485
|
+
RecipientUpdateTemplateRecipientsAccessAuth$inboundSchema;
|
|
486
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsAccessAuth$outboundSchema` instead. */
|
|
487
|
+
export const outboundSchema =
|
|
488
|
+
RecipientUpdateTemplateRecipientsAccessAuth$outboundSchema;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
/** @internal */
|
|
492
|
+
export const RecipientUpdateTemplateRecipientsActionAuth$inboundSchema:
|
|
493
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsActionAuth> = z
|
|
494
|
+
.nativeEnum(RecipientUpdateTemplateRecipientsActionAuth);
|
|
495
|
+
|
|
496
|
+
/** @internal */
|
|
497
|
+
export const RecipientUpdateTemplateRecipientsActionAuth$outboundSchema:
|
|
498
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsActionAuth> =
|
|
499
|
+
RecipientUpdateTemplateRecipientsActionAuth$inboundSchema;
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* @internal
|
|
503
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
504
|
+
*/
|
|
505
|
+
export namespace RecipientUpdateTemplateRecipientsActionAuth$ {
|
|
506
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsActionAuth$inboundSchema` instead. */
|
|
507
|
+
export const inboundSchema =
|
|
508
|
+
RecipientUpdateTemplateRecipientsActionAuth$inboundSchema;
|
|
509
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsActionAuth$outboundSchema` instead. */
|
|
510
|
+
export const outboundSchema =
|
|
511
|
+
RecipientUpdateTemplateRecipientsActionAuth$outboundSchema;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
/** @internal */
|
|
515
|
+
export const RecipientUpdateTemplateRecipientsRecipients$inboundSchema:
|
|
516
|
+
z.ZodType<
|
|
517
|
+
RecipientUpdateTemplateRecipientsRecipients,
|
|
518
|
+
z.ZodTypeDef,
|
|
519
|
+
unknown
|
|
520
|
+
> = z.object({
|
|
521
|
+
id: z.number(),
|
|
522
|
+
email: z.string().optional(),
|
|
523
|
+
name: z.string().optional(),
|
|
524
|
+
role: RecipientUpdateTemplateRecipientsRole$inboundSchema.optional(),
|
|
525
|
+
signingOrder: z.number().optional(),
|
|
526
|
+
accessAuth: z.nullable(
|
|
527
|
+
RecipientUpdateTemplateRecipientsAccessAuth$inboundSchema,
|
|
528
|
+
).optional(),
|
|
529
|
+
actionAuth: z.nullable(
|
|
530
|
+
RecipientUpdateTemplateRecipientsActionAuth$inboundSchema,
|
|
531
|
+
).optional(),
|
|
532
|
+
});
|
|
533
|
+
|
|
534
|
+
/** @internal */
|
|
535
|
+
export type RecipientUpdateTemplateRecipientsRecipients$Outbound = {
|
|
536
|
+
id: number;
|
|
537
|
+
email?: string | undefined;
|
|
538
|
+
name?: string | undefined;
|
|
539
|
+
role?: string | undefined;
|
|
540
|
+
signingOrder?: number | undefined;
|
|
541
|
+
accessAuth?: string | null | undefined;
|
|
542
|
+
actionAuth?: string | null | undefined;
|
|
543
|
+
};
|
|
544
|
+
|
|
545
|
+
/** @internal */
|
|
546
|
+
export const RecipientUpdateTemplateRecipientsRecipients$outboundSchema:
|
|
547
|
+
z.ZodType<
|
|
548
|
+
RecipientUpdateTemplateRecipientsRecipients$Outbound,
|
|
549
|
+
z.ZodTypeDef,
|
|
550
|
+
RecipientUpdateTemplateRecipientsRecipients
|
|
551
|
+
> = z.object({
|
|
552
|
+
id: z.number(),
|
|
553
|
+
email: z.string().optional(),
|
|
554
|
+
name: z.string().optional(),
|
|
555
|
+
role: RecipientUpdateTemplateRecipientsRole$outboundSchema.optional(),
|
|
556
|
+
signingOrder: z.number().optional(),
|
|
557
|
+
accessAuth: z.nullable(
|
|
558
|
+
RecipientUpdateTemplateRecipientsAccessAuth$outboundSchema,
|
|
559
|
+
).optional(),
|
|
560
|
+
actionAuth: z.nullable(
|
|
561
|
+
RecipientUpdateTemplateRecipientsActionAuth$outboundSchema,
|
|
562
|
+
).optional(),
|
|
563
|
+
});
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* @internal
|
|
567
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
568
|
+
*/
|
|
569
|
+
export namespace RecipientUpdateTemplateRecipientsRecipients$ {
|
|
570
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRecipients$inboundSchema` instead. */
|
|
571
|
+
export const inboundSchema =
|
|
572
|
+
RecipientUpdateTemplateRecipientsRecipients$inboundSchema;
|
|
573
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRecipients$outboundSchema` instead. */
|
|
574
|
+
export const outboundSchema =
|
|
575
|
+
RecipientUpdateTemplateRecipientsRecipients$outboundSchema;
|
|
576
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRecipients$Outbound` instead. */
|
|
577
|
+
export type Outbound = RecipientUpdateTemplateRecipientsRecipients$Outbound;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
export function recipientUpdateTemplateRecipientsRecipientsToJSON(
|
|
581
|
+
recipientUpdateTemplateRecipientsRecipients:
|
|
582
|
+
RecipientUpdateTemplateRecipientsRecipients,
|
|
583
|
+
): string {
|
|
584
|
+
return JSON.stringify(
|
|
585
|
+
RecipientUpdateTemplateRecipientsRecipients$outboundSchema.parse(
|
|
586
|
+
recipientUpdateTemplateRecipientsRecipients,
|
|
587
|
+
),
|
|
588
|
+
);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
export function recipientUpdateTemplateRecipientsRecipientsFromJSON(
|
|
592
|
+
jsonString: string,
|
|
593
|
+
): SafeParseResult<
|
|
594
|
+
RecipientUpdateTemplateRecipientsRecipients,
|
|
595
|
+
SDKValidationError
|
|
596
|
+
> {
|
|
597
|
+
return safeParse(
|
|
598
|
+
jsonString,
|
|
599
|
+
(x) =>
|
|
600
|
+
RecipientUpdateTemplateRecipientsRecipients$inboundSchema.parse(
|
|
601
|
+
JSON.parse(x),
|
|
602
|
+
),
|
|
603
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsRecipients' from JSON`,
|
|
604
|
+
);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/** @internal */
|
|
608
|
+
export const RecipientUpdateTemplateRecipientsRequestBody$inboundSchema:
|
|
609
|
+
z.ZodType<
|
|
610
|
+
RecipientUpdateTemplateRecipientsRequestBody,
|
|
611
|
+
z.ZodTypeDef,
|
|
612
|
+
unknown
|
|
613
|
+
> = z.object({
|
|
614
|
+
templateId: z.number(),
|
|
615
|
+
recipients: z.array(
|
|
616
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsRecipients$inboundSchema),
|
|
617
|
+
),
|
|
618
|
+
});
|
|
619
|
+
|
|
620
|
+
/** @internal */
|
|
621
|
+
export type RecipientUpdateTemplateRecipientsRequestBody$Outbound = {
|
|
622
|
+
templateId: number;
|
|
623
|
+
recipients: Array<RecipientUpdateTemplateRecipientsRecipients$Outbound>;
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
/** @internal */
|
|
627
|
+
export const RecipientUpdateTemplateRecipientsRequestBody$outboundSchema:
|
|
628
|
+
z.ZodType<
|
|
629
|
+
RecipientUpdateTemplateRecipientsRequestBody$Outbound,
|
|
630
|
+
z.ZodTypeDef,
|
|
631
|
+
RecipientUpdateTemplateRecipientsRequestBody
|
|
632
|
+
> = z.object({
|
|
633
|
+
templateId: z.number(),
|
|
634
|
+
recipients: z.array(
|
|
635
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsRecipients$outboundSchema),
|
|
636
|
+
),
|
|
637
|
+
});
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* @internal
|
|
641
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
642
|
+
*/
|
|
643
|
+
export namespace RecipientUpdateTemplateRecipientsRequestBody$ {
|
|
644
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRequestBody$inboundSchema` instead. */
|
|
645
|
+
export const inboundSchema =
|
|
646
|
+
RecipientUpdateTemplateRecipientsRequestBody$inboundSchema;
|
|
647
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRequestBody$outboundSchema` instead. */
|
|
648
|
+
export const outboundSchema =
|
|
649
|
+
RecipientUpdateTemplateRecipientsRequestBody$outboundSchema;
|
|
650
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsRequestBody$Outbound` instead. */
|
|
651
|
+
export type Outbound = RecipientUpdateTemplateRecipientsRequestBody$Outbound;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
export function recipientUpdateTemplateRecipientsRequestBodyToJSON(
|
|
655
|
+
recipientUpdateTemplateRecipientsRequestBody:
|
|
656
|
+
RecipientUpdateTemplateRecipientsRequestBody,
|
|
657
|
+
): string {
|
|
658
|
+
return JSON.stringify(
|
|
659
|
+
RecipientUpdateTemplateRecipientsRequestBody$outboundSchema.parse(
|
|
660
|
+
recipientUpdateTemplateRecipientsRequestBody,
|
|
661
|
+
),
|
|
662
|
+
);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
export function recipientUpdateTemplateRecipientsRequestBodyFromJSON(
|
|
666
|
+
jsonString: string,
|
|
667
|
+
): SafeParseResult<
|
|
668
|
+
RecipientUpdateTemplateRecipientsRequestBody,
|
|
669
|
+
SDKValidationError
|
|
670
|
+
> {
|
|
671
|
+
return safeParse(
|
|
672
|
+
jsonString,
|
|
673
|
+
(x) =>
|
|
674
|
+
RecipientUpdateTemplateRecipientsRequestBody$inboundSchema.parse(
|
|
675
|
+
JSON.parse(x),
|
|
676
|
+
),
|
|
677
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsRequestBody' from JSON`,
|
|
678
|
+
);
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
/** @internal */
|
|
682
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$inboundSchema:
|
|
683
|
+
z.ZodNativeEnum<
|
|
684
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsRole
|
|
685
|
+
> = z.nativeEnum(RecipientUpdateTemplateRecipientsTemplatesRecipientsRole);
|
|
686
|
+
|
|
687
|
+
/** @internal */
|
|
688
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$outboundSchema:
|
|
689
|
+
z.ZodNativeEnum<
|
|
690
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsRole
|
|
691
|
+
> = RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$inboundSchema;
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* @internal
|
|
695
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
696
|
+
*/
|
|
697
|
+
export namespace RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$ {
|
|
698
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$inboundSchema` instead. */
|
|
699
|
+
export const inboundSchema =
|
|
700
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$inboundSchema;
|
|
701
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$outboundSchema` instead. */
|
|
702
|
+
export const outboundSchema =
|
|
703
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$outboundSchema;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
/** @internal */
|
|
707
|
+
export const RecipientUpdateTemplateRecipientsReadStatus$inboundSchema:
|
|
708
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsReadStatus> = z
|
|
709
|
+
.nativeEnum(RecipientUpdateTemplateRecipientsReadStatus);
|
|
710
|
+
|
|
711
|
+
/** @internal */
|
|
712
|
+
export const RecipientUpdateTemplateRecipientsReadStatus$outboundSchema:
|
|
713
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsReadStatus> =
|
|
714
|
+
RecipientUpdateTemplateRecipientsReadStatus$inboundSchema;
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* @internal
|
|
718
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
719
|
+
*/
|
|
720
|
+
export namespace RecipientUpdateTemplateRecipientsReadStatus$ {
|
|
721
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsReadStatus$inboundSchema` instead. */
|
|
722
|
+
export const inboundSchema =
|
|
723
|
+
RecipientUpdateTemplateRecipientsReadStatus$inboundSchema;
|
|
724
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsReadStatus$outboundSchema` instead. */
|
|
725
|
+
export const outboundSchema =
|
|
726
|
+
RecipientUpdateTemplateRecipientsReadStatus$outboundSchema;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/** @internal */
|
|
730
|
+
export const RecipientUpdateTemplateRecipientsSigningStatus$inboundSchema:
|
|
731
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsSigningStatus> = z
|
|
732
|
+
.nativeEnum(RecipientUpdateTemplateRecipientsSigningStatus);
|
|
733
|
+
|
|
734
|
+
/** @internal */
|
|
735
|
+
export const RecipientUpdateTemplateRecipientsSigningStatus$outboundSchema:
|
|
736
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsSigningStatus> =
|
|
737
|
+
RecipientUpdateTemplateRecipientsSigningStatus$inboundSchema;
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* @internal
|
|
741
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
742
|
+
*/
|
|
743
|
+
export namespace RecipientUpdateTemplateRecipientsSigningStatus$ {
|
|
744
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsSigningStatus$inboundSchema` instead. */
|
|
745
|
+
export const inboundSchema =
|
|
746
|
+
RecipientUpdateTemplateRecipientsSigningStatus$inboundSchema;
|
|
747
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsSigningStatus$outboundSchema` instead. */
|
|
748
|
+
export const outboundSchema =
|
|
749
|
+
RecipientUpdateTemplateRecipientsSigningStatus$outboundSchema;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/** @internal */
|
|
753
|
+
export const RecipientUpdateTemplateRecipientsSendStatus$inboundSchema:
|
|
754
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsSendStatus> = z
|
|
755
|
+
.nativeEnum(RecipientUpdateTemplateRecipientsSendStatus);
|
|
756
|
+
|
|
757
|
+
/** @internal */
|
|
758
|
+
export const RecipientUpdateTemplateRecipientsSendStatus$outboundSchema:
|
|
759
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsSendStatus> =
|
|
760
|
+
RecipientUpdateTemplateRecipientsSendStatus$inboundSchema;
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* @internal
|
|
764
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
765
|
+
*/
|
|
766
|
+
export namespace RecipientUpdateTemplateRecipientsSendStatus$ {
|
|
767
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsSendStatus$inboundSchema` instead. */
|
|
768
|
+
export const inboundSchema =
|
|
769
|
+
RecipientUpdateTemplateRecipientsSendStatus$inboundSchema;
|
|
770
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsSendStatus$outboundSchema` instead. */
|
|
771
|
+
export const outboundSchema =
|
|
772
|
+
RecipientUpdateTemplateRecipientsSendStatus$outboundSchema;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
/** @internal */
|
|
776
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$inboundSchema:
|
|
777
|
+
z.ZodNativeEnum<
|
|
778
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth
|
|
779
|
+
> = z.nativeEnum(
|
|
780
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth,
|
|
781
|
+
);
|
|
782
|
+
|
|
783
|
+
/** @internal */
|
|
784
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$outboundSchema:
|
|
785
|
+
z.ZodNativeEnum<
|
|
786
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth
|
|
787
|
+
> =
|
|
788
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$inboundSchema;
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* @internal
|
|
792
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
793
|
+
*/
|
|
794
|
+
export namespace RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$ {
|
|
795
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$inboundSchema` instead. */
|
|
796
|
+
export const inboundSchema =
|
|
797
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$inboundSchema;
|
|
798
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$outboundSchema` instead. */
|
|
799
|
+
export const outboundSchema =
|
|
800
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$outboundSchema;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/** @internal */
|
|
804
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$inboundSchema:
|
|
805
|
+
z.ZodNativeEnum<
|
|
806
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth
|
|
807
|
+
> = z.nativeEnum(
|
|
808
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth,
|
|
809
|
+
);
|
|
810
|
+
|
|
811
|
+
/** @internal */
|
|
812
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$outboundSchema:
|
|
813
|
+
z.ZodNativeEnum<
|
|
814
|
+
typeof RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth
|
|
815
|
+
> =
|
|
816
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$inboundSchema;
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* @internal
|
|
820
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
821
|
+
*/
|
|
822
|
+
export namespace RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$ {
|
|
823
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$inboundSchema` instead. */
|
|
824
|
+
export const inboundSchema =
|
|
825
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$inboundSchema;
|
|
826
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$outboundSchema` instead. */
|
|
827
|
+
export const outboundSchema =
|
|
828
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$outboundSchema;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
/** @internal */
|
|
832
|
+
export const RecipientUpdateTemplateRecipientsAuthOptions$inboundSchema:
|
|
833
|
+
z.ZodType<
|
|
834
|
+
RecipientUpdateTemplateRecipientsAuthOptions,
|
|
835
|
+
z.ZodTypeDef,
|
|
836
|
+
unknown
|
|
837
|
+
> = z.object({
|
|
838
|
+
accessAuth: z.nullable(
|
|
839
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$inboundSchema,
|
|
840
|
+
),
|
|
841
|
+
actionAuth: z.nullable(
|
|
842
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$inboundSchema,
|
|
843
|
+
),
|
|
844
|
+
});
|
|
845
|
+
|
|
846
|
+
/** @internal */
|
|
847
|
+
export type RecipientUpdateTemplateRecipientsAuthOptions$Outbound = {
|
|
848
|
+
accessAuth: string | null;
|
|
849
|
+
actionAuth: string | null;
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
/** @internal */
|
|
853
|
+
export const RecipientUpdateTemplateRecipientsAuthOptions$outboundSchema:
|
|
854
|
+
z.ZodType<
|
|
855
|
+
RecipientUpdateTemplateRecipientsAuthOptions$Outbound,
|
|
856
|
+
z.ZodTypeDef,
|
|
857
|
+
RecipientUpdateTemplateRecipientsAuthOptions
|
|
858
|
+
> = z.object({
|
|
859
|
+
accessAuth: z.nullable(
|
|
860
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsAccessAuth$outboundSchema,
|
|
861
|
+
),
|
|
862
|
+
actionAuth: z.nullable(
|
|
863
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsActionAuth$outboundSchema,
|
|
864
|
+
),
|
|
865
|
+
});
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* @internal
|
|
869
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
870
|
+
*/
|
|
871
|
+
export namespace RecipientUpdateTemplateRecipientsAuthOptions$ {
|
|
872
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsAuthOptions$inboundSchema` instead. */
|
|
873
|
+
export const inboundSchema =
|
|
874
|
+
RecipientUpdateTemplateRecipientsAuthOptions$inboundSchema;
|
|
875
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsAuthOptions$outboundSchema` instead. */
|
|
876
|
+
export const outboundSchema =
|
|
877
|
+
RecipientUpdateTemplateRecipientsAuthOptions$outboundSchema;
|
|
878
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsAuthOptions$Outbound` instead. */
|
|
879
|
+
export type Outbound = RecipientUpdateTemplateRecipientsAuthOptions$Outbound;
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
export function recipientUpdateTemplateRecipientsAuthOptionsToJSON(
|
|
883
|
+
recipientUpdateTemplateRecipientsAuthOptions:
|
|
884
|
+
RecipientUpdateTemplateRecipientsAuthOptions,
|
|
885
|
+
): string {
|
|
886
|
+
return JSON.stringify(
|
|
887
|
+
RecipientUpdateTemplateRecipientsAuthOptions$outboundSchema.parse(
|
|
888
|
+
recipientUpdateTemplateRecipientsAuthOptions,
|
|
889
|
+
),
|
|
890
|
+
);
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
export function recipientUpdateTemplateRecipientsAuthOptionsFromJSON(
|
|
894
|
+
jsonString: string,
|
|
895
|
+
): SafeParseResult<
|
|
896
|
+
RecipientUpdateTemplateRecipientsAuthOptions,
|
|
897
|
+
SDKValidationError
|
|
898
|
+
> {
|
|
899
|
+
return safeParse(
|
|
900
|
+
jsonString,
|
|
901
|
+
(x) =>
|
|
902
|
+
RecipientUpdateTemplateRecipientsAuthOptions$inboundSchema.parse(
|
|
903
|
+
JSON.parse(x),
|
|
904
|
+
),
|
|
905
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsAuthOptions' from JSON`,
|
|
906
|
+
);
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
/** @internal */
|
|
910
|
+
export const RecipientUpdateTemplateRecipientsType$inboundSchema:
|
|
911
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsType> = z.nativeEnum(
|
|
912
|
+
RecipientUpdateTemplateRecipientsType,
|
|
913
|
+
);
|
|
914
|
+
|
|
915
|
+
/** @internal */
|
|
916
|
+
export const RecipientUpdateTemplateRecipientsType$outboundSchema:
|
|
917
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsType> =
|
|
918
|
+
RecipientUpdateTemplateRecipientsType$inboundSchema;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* @internal
|
|
922
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
923
|
+
*/
|
|
924
|
+
export namespace RecipientUpdateTemplateRecipientsType$ {
|
|
925
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsType$inboundSchema` instead. */
|
|
926
|
+
export const inboundSchema =
|
|
927
|
+
RecipientUpdateTemplateRecipientsType$inboundSchema;
|
|
928
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsType$outboundSchema` instead. */
|
|
929
|
+
export const outboundSchema =
|
|
930
|
+
RecipientUpdateTemplateRecipientsType$outboundSchema;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
/** @internal */
|
|
934
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$inboundSchema:
|
|
935
|
+
z.ZodNativeEnum<
|
|
936
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type
|
|
937
|
+
> = z.nativeEnum(
|
|
938
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type,
|
|
939
|
+
);
|
|
940
|
+
|
|
941
|
+
/** @internal */
|
|
942
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$outboundSchema:
|
|
943
|
+
z.ZodNativeEnum<
|
|
944
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type
|
|
945
|
+
> =
|
|
946
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$inboundSchema;
|
|
947
|
+
|
|
948
|
+
/**
|
|
949
|
+
* @internal
|
|
950
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
951
|
+
*/
|
|
952
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$ {
|
|
953
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$inboundSchema` instead. */
|
|
954
|
+
export const inboundSchema =
|
|
955
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$inboundSchema;
|
|
956
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$outboundSchema` instead. */
|
|
957
|
+
export const outboundSchema =
|
|
958
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$outboundSchema;
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
/** @internal */
|
|
962
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$inboundSchema:
|
|
963
|
+
z.ZodType<
|
|
964
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues,
|
|
965
|
+
z.ZodTypeDef,
|
|
966
|
+
unknown
|
|
967
|
+
> = z.object({
|
|
968
|
+
value: z.string(),
|
|
969
|
+
});
|
|
970
|
+
|
|
971
|
+
/** @internal */
|
|
972
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$Outbound =
|
|
973
|
+
{
|
|
974
|
+
value: string;
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
/** @internal */
|
|
978
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$outboundSchema:
|
|
979
|
+
z.ZodType<
|
|
980
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$Outbound,
|
|
981
|
+
z.ZodTypeDef,
|
|
982
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues
|
|
983
|
+
> = z.object({
|
|
984
|
+
value: z.string(),
|
|
985
|
+
});
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* @internal
|
|
989
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
990
|
+
*/
|
|
991
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$ {
|
|
992
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$inboundSchema` instead. */
|
|
993
|
+
export const inboundSchema =
|
|
994
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$inboundSchema;
|
|
995
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$outboundSchema` instead. */
|
|
996
|
+
export const outboundSchema =
|
|
997
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$outboundSchema;
|
|
998
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$Outbound` instead. */
|
|
999
|
+
export type Outbound =
|
|
1000
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$Outbound;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
export function recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValuesToJSON(
|
|
1004
|
+
recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues:
|
|
1005
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues,
|
|
1006
|
+
): string {
|
|
1007
|
+
return JSON.stringify(
|
|
1008
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$outboundSchema
|
|
1009
|
+
.parse(
|
|
1010
|
+
recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues,
|
|
1011
|
+
),
|
|
1012
|
+
);
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
export function recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValuesFromJSON(
|
|
1016
|
+
jsonString: string,
|
|
1017
|
+
): SafeParseResult<
|
|
1018
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues,
|
|
1019
|
+
SDKValidationError
|
|
1020
|
+
> {
|
|
1021
|
+
return safeParse(
|
|
1022
|
+
jsonString,
|
|
1023
|
+
(x) =>
|
|
1024
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$inboundSchema
|
|
1025
|
+
.parse(JSON.parse(x)),
|
|
1026
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues' from JSON`,
|
|
1027
|
+
);
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
/** @internal */
|
|
1031
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta9$inboundSchema:
|
|
1032
|
+
z.ZodType<
|
|
1033
|
+
RecipientUpdateTemplateRecipientsFieldMeta9,
|
|
1034
|
+
z.ZodTypeDef,
|
|
1035
|
+
unknown
|
|
1036
|
+
> = z.object({
|
|
1037
|
+
label: z.string().optional(),
|
|
1038
|
+
placeholder: z.string().optional(),
|
|
1039
|
+
required: z.boolean().optional(),
|
|
1040
|
+
readOnly: z.boolean().optional(),
|
|
1041
|
+
type:
|
|
1042
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$inboundSchema,
|
|
1043
|
+
values: z.array(
|
|
1044
|
+
z.lazy(() =>
|
|
1045
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$inboundSchema
|
|
1046
|
+
),
|
|
1047
|
+
).optional(),
|
|
1048
|
+
defaultValue: z.string().optional(),
|
|
1049
|
+
});
|
|
1050
|
+
|
|
1051
|
+
/** @internal */
|
|
1052
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta9$Outbound = {
|
|
1053
|
+
label?: string | undefined;
|
|
1054
|
+
placeholder?: string | undefined;
|
|
1055
|
+
required?: boolean | undefined;
|
|
1056
|
+
readOnly?: boolean | undefined;
|
|
1057
|
+
type: string;
|
|
1058
|
+
values?:
|
|
1059
|
+
| Array<
|
|
1060
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$Outbound
|
|
1061
|
+
>
|
|
1062
|
+
| undefined;
|
|
1063
|
+
defaultValue?: string | undefined;
|
|
1064
|
+
};
|
|
1065
|
+
|
|
1066
|
+
/** @internal */
|
|
1067
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta9$outboundSchema:
|
|
1068
|
+
z.ZodType<
|
|
1069
|
+
RecipientUpdateTemplateRecipientsFieldMeta9$Outbound,
|
|
1070
|
+
z.ZodTypeDef,
|
|
1071
|
+
RecipientUpdateTemplateRecipientsFieldMeta9
|
|
1072
|
+
> = z.object({
|
|
1073
|
+
label: z.string().optional(),
|
|
1074
|
+
placeholder: z.string().optional(),
|
|
1075
|
+
required: z.boolean().optional(),
|
|
1076
|
+
readOnly: z.boolean().optional(),
|
|
1077
|
+
type:
|
|
1078
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFields9Type$outboundSchema,
|
|
1079
|
+
values: z.array(
|
|
1080
|
+
z.lazy(() =>
|
|
1081
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseValues$outboundSchema
|
|
1082
|
+
),
|
|
1083
|
+
).optional(),
|
|
1084
|
+
defaultValue: z.string().optional(),
|
|
1085
|
+
});
|
|
1086
|
+
|
|
1087
|
+
/**
|
|
1088
|
+
* @internal
|
|
1089
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1090
|
+
*/
|
|
1091
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta9$ {
|
|
1092
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta9$inboundSchema` instead. */
|
|
1093
|
+
export const inboundSchema =
|
|
1094
|
+
RecipientUpdateTemplateRecipientsFieldMeta9$inboundSchema;
|
|
1095
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta9$outboundSchema` instead. */
|
|
1096
|
+
export const outboundSchema =
|
|
1097
|
+
RecipientUpdateTemplateRecipientsFieldMeta9$outboundSchema;
|
|
1098
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta9$Outbound` instead. */
|
|
1099
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta9$Outbound;
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
export function recipientUpdateTemplateRecipientsFieldMeta9ToJSON(
|
|
1103
|
+
recipientUpdateTemplateRecipientsFieldMeta9:
|
|
1104
|
+
RecipientUpdateTemplateRecipientsFieldMeta9,
|
|
1105
|
+
): string {
|
|
1106
|
+
return JSON.stringify(
|
|
1107
|
+
RecipientUpdateTemplateRecipientsFieldMeta9$outboundSchema.parse(
|
|
1108
|
+
recipientUpdateTemplateRecipientsFieldMeta9,
|
|
1109
|
+
),
|
|
1110
|
+
);
|
|
1111
|
+
}
|
|
1112
|
+
|
|
1113
|
+
export function recipientUpdateTemplateRecipientsFieldMeta9FromJSON(
|
|
1114
|
+
jsonString: string,
|
|
1115
|
+
): SafeParseResult<
|
|
1116
|
+
RecipientUpdateTemplateRecipientsFieldMeta9,
|
|
1117
|
+
SDKValidationError
|
|
1118
|
+
> {
|
|
1119
|
+
return safeParse(
|
|
1120
|
+
jsonString,
|
|
1121
|
+
(x) =>
|
|
1122
|
+
RecipientUpdateTemplateRecipientsFieldMeta9$inboundSchema.parse(
|
|
1123
|
+
JSON.parse(x),
|
|
1124
|
+
),
|
|
1125
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta9' from JSON`,
|
|
1126
|
+
);
|
|
1127
|
+
}
|
|
1128
|
+
|
|
1129
|
+
/** @internal */
|
|
1130
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$inboundSchema:
|
|
1131
|
+
z.ZodNativeEnum<
|
|
1132
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType
|
|
1133
|
+
> = z.nativeEnum(
|
|
1134
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType,
|
|
1135
|
+
);
|
|
1136
|
+
|
|
1137
|
+
/** @internal */
|
|
1138
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$outboundSchema:
|
|
1139
|
+
z.ZodNativeEnum<
|
|
1140
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType
|
|
1141
|
+
> =
|
|
1142
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$inboundSchema;
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* @internal
|
|
1146
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1147
|
+
*/
|
|
1148
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$ {
|
|
1149
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$inboundSchema` instead. */
|
|
1150
|
+
export const inboundSchema =
|
|
1151
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$inboundSchema;
|
|
1152
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$outboundSchema` instead. */
|
|
1153
|
+
export const outboundSchema =
|
|
1154
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$outboundSchema;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
/** @internal */
|
|
1158
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$inboundSchema:
|
|
1159
|
+
z.ZodType<
|
|
1160
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues,
|
|
1161
|
+
z.ZodTypeDef,
|
|
1162
|
+
unknown
|
|
1163
|
+
> = z.object({
|
|
1164
|
+
id: z.number(),
|
|
1165
|
+
checked: z.boolean(),
|
|
1166
|
+
value: z.string(),
|
|
1167
|
+
});
|
|
1168
|
+
|
|
1169
|
+
/** @internal */
|
|
1170
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$Outbound =
|
|
1171
|
+
{
|
|
1172
|
+
id: number;
|
|
1173
|
+
checked: boolean;
|
|
1174
|
+
value: string;
|
|
1175
|
+
};
|
|
1176
|
+
|
|
1177
|
+
/** @internal */
|
|
1178
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$outboundSchema:
|
|
1179
|
+
z.ZodType<
|
|
1180
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$Outbound,
|
|
1181
|
+
z.ZodTypeDef,
|
|
1182
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues
|
|
1183
|
+
> = z.object({
|
|
1184
|
+
id: z.number(),
|
|
1185
|
+
checked: z.boolean(),
|
|
1186
|
+
value: z.string(),
|
|
1187
|
+
});
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* @internal
|
|
1191
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1192
|
+
*/
|
|
1193
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$ {
|
|
1194
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$inboundSchema` instead. */
|
|
1195
|
+
export const inboundSchema =
|
|
1196
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$inboundSchema;
|
|
1197
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$outboundSchema` instead. */
|
|
1198
|
+
export const outboundSchema =
|
|
1199
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$outboundSchema;
|
|
1200
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$Outbound` instead. */
|
|
1201
|
+
export type Outbound =
|
|
1202
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$Outbound;
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
export function recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValuesToJSON(
|
|
1206
|
+
recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues:
|
|
1207
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues,
|
|
1208
|
+
): string {
|
|
1209
|
+
return JSON.stringify(
|
|
1210
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$outboundSchema
|
|
1211
|
+
.parse(
|
|
1212
|
+
recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues,
|
|
1213
|
+
),
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
export function recipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValuesFromJSON(
|
|
1218
|
+
jsonString: string,
|
|
1219
|
+
): SafeParseResult<
|
|
1220
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues,
|
|
1221
|
+
SDKValidationError
|
|
1222
|
+
> {
|
|
1223
|
+
return safeParse(
|
|
1224
|
+
jsonString,
|
|
1225
|
+
(x) =>
|
|
1226
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$inboundSchema
|
|
1227
|
+
.parse(JSON.parse(x)),
|
|
1228
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues' from JSON`,
|
|
1229
|
+
);
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
/** @internal */
|
|
1233
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta8$inboundSchema:
|
|
1234
|
+
z.ZodType<
|
|
1235
|
+
RecipientUpdateTemplateRecipientsFieldMeta8,
|
|
1236
|
+
z.ZodTypeDef,
|
|
1237
|
+
unknown
|
|
1238
|
+
> = z.object({
|
|
1239
|
+
label: z.string().optional(),
|
|
1240
|
+
placeholder: z.string().optional(),
|
|
1241
|
+
required: z.boolean().optional(),
|
|
1242
|
+
readOnly: z.boolean().optional(),
|
|
1243
|
+
type:
|
|
1244
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$inboundSchema,
|
|
1245
|
+
values: z.array(
|
|
1246
|
+
z.lazy(() =>
|
|
1247
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$inboundSchema
|
|
1248
|
+
),
|
|
1249
|
+
).optional(),
|
|
1250
|
+
validationRule: z.string().optional(),
|
|
1251
|
+
validationLength: z.number().optional(),
|
|
1252
|
+
});
|
|
1253
|
+
|
|
1254
|
+
/** @internal */
|
|
1255
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta8$Outbound = {
|
|
1256
|
+
label?: string | undefined;
|
|
1257
|
+
placeholder?: string | undefined;
|
|
1258
|
+
required?: boolean | undefined;
|
|
1259
|
+
readOnly?: boolean | undefined;
|
|
1260
|
+
type: string;
|
|
1261
|
+
values?:
|
|
1262
|
+
| Array<
|
|
1263
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$Outbound
|
|
1264
|
+
>
|
|
1265
|
+
| undefined;
|
|
1266
|
+
validationRule?: string | undefined;
|
|
1267
|
+
validationLength?: number | undefined;
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
/** @internal */
|
|
1271
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta8$outboundSchema:
|
|
1272
|
+
z.ZodType<
|
|
1273
|
+
RecipientUpdateTemplateRecipientsFieldMeta8$Outbound,
|
|
1274
|
+
z.ZodTypeDef,
|
|
1275
|
+
RecipientUpdateTemplateRecipientsFieldMeta8
|
|
1276
|
+
> = z.object({
|
|
1277
|
+
label: z.string().optional(),
|
|
1278
|
+
placeholder: z.string().optional(),
|
|
1279
|
+
required: z.boolean().optional(),
|
|
1280
|
+
readOnly: z.boolean().optional(),
|
|
1281
|
+
type:
|
|
1282
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsFieldsType$outboundSchema,
|
|
1283
|
+
values: z.array(
|
|
1284
|
+
z.lazy(() =>
|
|
1285
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsValues$outboundSchema
|
|
1286
|
+
),
|
|
1287
|
+
).optional(),
|
|
1288
|
+
validationRule: z.string().optional(),
|
|
1289
|
+
validationLength: z.number().optional(),
|
|
1290
|
+
});
|
|
1291
|
+
|
|
1292
|
+
/**
|
|
1293
|
+
* @internal
|
|
1294
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1295
|
+
*/
|
|
1296
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta8$ {
|
|
1297
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta8$inboundSchema` instead. */
|
|
1298
|
+
export const inboundSchema =
|
|
1299
|
+
RecipientUpdateTemplateRecipientsFieldMeta8$inboundSchema;
|
|
1300
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta8$outboundSchema` instead. */
|
|
1301
|
+
export const outboundSchema =
|
|
1302
|
+
RecipientUpdateTemplateRecipientsFieldMeta8$outboundSchema;
|
|
1303
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta8$Outbound` instead. */
|
|
1304
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta8$Outbound;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
export function recipientUpdateTemplateRecipientsFieldMeta8ToJSON(
|
|
1308
|
+
recipientUpdateTemplateRecipientsFieldMeta8:
|
|
1309
|
+
RecipientUpdateTemplateRecipientsFieldMeta8,
|
|
1310
|
+
): string {
|
|
1311
|
+
return JSON.stringify(
|
|
1312
|
+
RecipientUpdateTemplateRecipientsFieldMeta8$outboundSchema.parse(
|
|
1313
|
+
recipientUpdateTemplateRecipientsFieldMeta8,
|
|
1314
|
+
),
|
|
1315
|
+
);
|
|
1316
|
+
}
|
|
1317
|
+
|
|
1318
|
+
export function recipientUpdateTemplateRecipientsFieldMeta8FromJSON(
|
|
1319
|
+
jsonString: string,
|
|
1320
|
+
): SafeParseResult<
|
|
1321
|
+
RecipientUpdateTemplateRecipientsFieldMeta8,
|
|
1322
|
+
SDKValidationError
|
|
1323
|
+
> {
|
|
1324
|
+
return safeParse(
|
|
1325
|
+
jsonString,
|
|
1326
|
+
(x) =>
|
|
1327
|
+
RecipientUpdateTemplateRecipientsFieldMeta8$inboundSchema.parse(
|
|
1328
|
+
JSON.parse(x),
|
|
1329
|
+
),
|
|
1330
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta8' from JSON`,
|
|
1331
|
+
);
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/** @internal */
|
|
1335
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$inboundSchema:
|
|
1336
|
+
z.ZodNativeEnum<
|
|
1337
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType
|
|
1338
|
+
> = z.nativeEnum(
|
|
1339
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType,
|
|
1340
|
+
);
|
|
1341
|
+
|
|
1342
|
+
/** @internal */
|
|
1343
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$outboundSchema:
|
|
1344
|
+
z.ZodNativeEnum<
|
|
1345
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType
|
|
1346
|
+
> =
|
|
1347
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$inboundSchema;
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* @internal
|
|
1351
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1352
|
+
*/
|
|
1353
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$ {
|
|
1354
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$inboundSchema` instead. */
|
|
1355
|
+
export const inboundSchema =
|
|
1356
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$inboundSchema;
|
|
1357
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$outboundSchema` instead. */
|
|
1358
|
+
export const outboundSchema =
|
|
1359
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$outboundSchema;
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
/** @internal */
|
|
1363
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaValues$inboundSchema:
|
|
1364
|
+
z.ZodType<
|
|
1365
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues,
|
|
1366
|
+
z.ZodTypeDef,
|
|
1367
|
+
unknown
|
|
1368
|
+
> = z.object({
|
|
1369
|
+
id: z.number(),
|
|
1370
|
+
checked: z.boolean(),
|
|
1371
|
+
value: z.string(),
|
|
1372
|
+
});
|
|
1373
|
+
|
|
1374
|
+
/** @internal */
|
|
1375
|
+
export type RecipientUpdateTemplateRecipientsFieldMetaValues$Outbound = {
|
|
1376
|
+
id: number;
|
|
1377
|
+
checked: boolean;
|
|
1378
|
+
value: string;
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
/** @internal */
|
|
1382
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaValues$outboundSchema:
|
|
1383
|
+
z.ZodType<
|
|
1384
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$Outbound,
|
|
1385
|
+
z.ZodTypeDef,
|
|
1386
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues
|
|
1387
|
+
> = z.object({
|
|
1388
|
+
id: z.number(),
|
|
1389
|
+
checked: z.boolean(),
|
|
1390
|
+
value: z.string(),
|
|
1391
|
+
});
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* @internal
|
|
1395
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1396
|
+
*/
|
|
1397
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaValues$ {
|
|
1398
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaValues$inboundSchema` instead. */
|
|
1399
|
+
export const inboundSchema =
|
|
1400
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$inboundSchema;
|
|
1401
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaValues$outboundSchema` instead. */
|
|
1402
|
+
export const outboundSchema =
|
|
1403
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$outboundSchema;
|
|
1404
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaValues$Outbound` instead. */
|
|
1405
|
+
export type Outbound =
|
|
1406
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$Outbound;
|
|
1407
|
+
}
|
|
1408
|
+
|
|
1409
|
+
export function recipientUpdateTemplateRecipientsFieldMetaValuesToJSON(
|
|
1410
|
+
recipientUpdateTemplateRecipientsFieldMetaValues:
|
|
1411
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues,
|
|
1412
|
+
): string {
|
|
1413
|
+
return JSON.stringify(
|
|
1414
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$outboundSchema.parse(
|
|
1415
|
+
recipientUpdateTemplateRecipientsFieldMetaValues,
|
|
1416
|
+
),
|
|
1417
|
+
);
|
|
1418
|
+
}
|
|
1419
|
+
|
|
1420
|
+
export function recipientUpdateTemplateRecipientsFieldMetaValuesFromJSON(
|
|
1421
|
+
jsonString: string,
|
|
1422
|
+
): SafeParseResult<
|
|
1423
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues,
|
|
1424
|
+
SDKValidationError
|
|
1425
|
+
> {
|
|
1426
|
+
return safeParse(
|
|
1427
|
+
jsonString,
|
|
1428
|
+
(x) =>
|
|
1429
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$inboundSchema.parse(
|
|
1430
|
+
JSON.parse(x),
|
|
1431
|
+
),
|
|
1432
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMetaValues' from JSON`,
|
|
1433
|
+
);
|
|
1434
|
+
}
|
|
1435
|
+
|
|
1436
|
+
/** @internal */
|
|
1437
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta7$inboundSchema:
|
|
1438
|
+
z.ZodType<
|
|
1439
|
+
RecipientUpdateTemplateRecipientsFieldMeta7,
|
|
1440
|
+
z.ZodTypeDef,
|
|
1441
|
+
unknown
|
|
1442
|
+
> = z.object({
|
|
1443
|
+
label: z.string().optional(),
|
|
1444
|
+
placeholder: z.string().optional(),
|
|
1445
|
+
required: z.boolean().optional(),
|
|
1446
|
+
readOnly: z.boolean().optional(),
|
|
1447
|
+
type:
|
|
1448
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$inboundSchema,
|
|
1449
|
+
values: z.array(
|
|
1450
|
+
z.lazy(() =>
|
|
1451
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$inboundSchema
|
|
1452
|
+
),
|
|
1453
|
+
).optional(),
|
|
1454
|
+
});
|
|
1455
|
+
|
|
1456
|
+
/** @internal */
|
|
1457
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta7$Outbound = {
|
|
1458
|
+
label?: string | undefined;
|
|
1459
|
+
placeholder?: string | undefined;
|
|
1460
|
+
required?: boolean | undefined;
|
|
1461
|
+
readOnly?: boolean | undefined;
|
|
1462
|
+
type: string;
|
|
1463
|
+
values?:
|
|
1464
|
+
| Array<RecipientUpdateTemplateRecipientsFieldMetaValues$Outbound>
|
|
1465
|
+
| undefined;
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
/** @internal */
|
|
1469
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta7$outboundSchema:
|
|
1470
|
+
z.ZodType<
|
|
1471
|
+
RecipientUpdateTemplateRecipientsFieldMeta7$Outbound,
|
|
1472
|
+
z.ZodTypeDef,
|
|
1473
|
+
RecipientUpdateTemplateRecipientsFieldMeta7
|
|
1474
|
+
> = z.object({
|
|
1475
|
+
label: z.string().optional(),
|
|
1476
|
+
placeholder: z.string().optional(),
|
|
1477
|
+
required: z.boolean().optional(),
|
|
1478
|
+
readOnly: z.boolean().optional(),
|
|
1479
|
+
type:
|
|
1480
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyRecipientsType$outboundSchema,
|
|
1481
|
+
values: z.array(
|
|
1482
|
+
z.lazy(() =>
|
|
1483
|
+
RecipientUpdateTemplateRecipientsFieldMetaValues$outboundSchema
|
|
1484
|
+
),
|
|
1485
|
+
).optional(),
|
|
1486
|
+
});
|
|
1487
|
+
|
|
1488
|
+
/**
|
|
1489
|
+
* @internal
|
|
1490
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1491
|
+
*/
|
|
1492
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta7$ {
|
|
1493
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta7$inboundSchema` instead. */
|
|
1494
|
+
export const inboundSchema =
|
|
1495
|
+
RecipientUpdateTemplateRecipientsFieldMeta7$inboundSchema;
|
|
1496
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta7$outboundSchema` instead. */
|
|
1497
|
+
export const outboundSchema =
|
|
1498
|
+
RecipientUpdateTemplateRecipientsFieldMeta7$outboundSchema;
|
|
1499
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta7$Outbound` instead. */
|
|
1500
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta7$Outbound;
|
|
1501
|
+
}
|
|
1502
|
+
|
|
1503
|
+
export function recipientUpdateTemplateRecipientsFieldMeta7ToJSON(
|
|
1504
|
+
recipientUpdateTemplateRecipientsFieldMeta7:
|
|
1505
|
+
RecipientUpdateTemplateRecipientsFieldMeta7,
|
|
1506
|
+
): string {
|
|
1507
|
+
return JSON.stringify(
|
|
1508
|
+
RecipientUpdateTemplateRecipientsFieldMeta7$outboundSchema.parse(
|
|
1509
|
+
recipientUpdateTemplateRecipientsFieldMeta7,
|
|
1510
|
+
),
|
|
1511
|
+
);
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
export function recipientUpdateTemplateRecipientsFieldMeta7FromJSON(
|
|
1515
|
+
jsonString: string,
|
|
1516
|
+
): SafeParseResult<
|
|
1517
|
+
RecipientUpdateTemplateRecipientsFieldMeta7,
|
|
1518
|
+
SDKValidationError
|
|
1519
|
+
> {
|
|
1520
|
+
return safeParse(
|
|
1521
|
+
jsonString,
|
|
1522
|
+
(x) =>
|
|
1523
|
+
RecipientUpdateTemplateRecipientsFieldMeta7$inboundSchema.parse(
|
|
1524
|
+
JSON.parse(x),
|
|
1525
|
+
),
|
|
1526
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta7' from JSON`,
|
|
1527
|
+
);
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
/** @internal */
|
|
1531
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
1532
|
+
z.ZodNativeEnum<
|
|
1533
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType
|
|
1534
|
+
> = z.nativeEnum(
|
|
1535
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType,
|
|
1536
|
+
);
|
|
1537
|
+
|
|
1538
|
+
/** @internal */
|
|
1539
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
1540
|
+
z.ZodNativeEnum<
|
|
1541
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType
|
|
1542
|
+
> =
|
|
1543
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1544
|
+
|
|
1545
|
+
/**
|
|
1546
|
+
* @internal
|
|
1547
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1548
|
+
*/
|
|
1549
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$ {
|
|
1550
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
1551
|
+
export const inboundSchema =
|
|
1552
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1553
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
1554
|
+
export const outboundSchema =
|
|
1555
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
/** @internal */
|
|
1559
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta6$inboundSchema:
|
|
1560
|
+
z.ZodType<
|
|
1561
|
+
RecipientUpdateTemplateRecipientsFieldMeta6,
|
|
1562
|
+
z.ZodTypeDef,
|
|
1563
|
+
unknown
|
|
1564
|
+
> = z.object({
|
|
1565
|
+
label: z.string().optional(),
|
|
1566
|
+
placeholder: z.string().optional(),
|
|
1567
|
+
required: z.boolean().optional(),
|
|
1568
|
+
readOnly: z.boolean().optional(),
|
|
1569
|
+
type:
|
|
1570
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1571
|
+
numberFormat: z.string().optional(),
|
|
1572
|
+
value: z.string().optional(),
|
|
1573
|
+
minValue: z.number().optional(),
|
|
1574
|
+
maxValue: z.number().optional(),
|
|
1575
|
+
fontSize: z.number().optional(),
|
|
1576
|
+
});
|
|
1577
|
+
|
|
1578
|
+
/** @internal */
|
|
1579
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta6$Outbound = {
|
|
1580
|
+
label?: string | undefined;
|
|
1581
|
+
placeholder?: string | undefined;
|
|
1582
|
+
required?: boolean | undefined;
|
|
1583
|
+
readOnly?: boolean | undefined;
|
|
1584
|
+
type: string;
|
|
1585
|
+
numberFormat?: string | undefined;
|
|
1586
|
+
value?: string | undefined;
|
|
1587
|
+
minValue?: number | undefined;
|
|
1588
|
+
maxValue?: number | undefined;
|
|
1589
|
+
fontSize?: number | undefined;
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
/** @internal */
|
|
1593
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta6$outboundSchema:
|
|
1594
|
+
z.ZodType<
|
|
1595
|
+
RecipientUpdateTemplateRecipientsFieldMeta6$Outbound,
|
|
1596
|
+
z.ZodTypeDef,
|
|
1597
|
+
RecipientUpdateTemplateRecipientsFieldMeta6
|
|
1598
|
+
> = z.object({
|
|
1599
|
+
label: z.string().optional(),
|
|
1600
|
+
placeholder: z.string().optional(),
|
|
1601
|
+
required: z.boolean().optional(),
|
|
1602
|
+
readOnly: z.boolean().optional(),
|
|
1603
|
+
type:
|
|
1604
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1605
|
+
numberFormat: z.string().optional(),
|
|
1606
|
+
value: z.string().optional(),
|
|
1607
|
+
minValue: z.number().optional(),
|
|
1608
|
+
maxValue: z.number().optional(),
|
|
1609
|
+
fontSize: z.number().optional(),
|
|
1610
|
+
});
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* @internal
|
|
1614
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1615
|
+
*/
|
|
1616
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta6$ {
|
|
1617
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta6$inboundSchema` instead. */
|
|
1618
|
+
export const inboundSchema =
|
|
1619
|
+
RecipientUpdateTemplateRecipientsFieldMeta6$inboundSchema;
|
|
1620
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta6$outboundSchema` instead. */
|
|
1621
|
+
export const outboundSchema =
|
|
1622
|
+
RecipientUpdateTemplateRecipientsFieldMeta6$outboundSchema;
|
|
1623
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta6$Outbound` instead. */
|
|
1624
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta6$Outbound;
|
|
1625
|
+
}
|
|
1626
|
+
|
|
1627
|
+
export function recipientUpdateTemplateRecipientsFieldMeta6ToJSON(
|
|
1628
|
+
recipientUpdateTemplateRecipientsFieldMeta6:
|
|
1629
|
+
RecipientUpdateTemplateRecipientsFieldMeta6,
|
|
1630
|
+
): string {
|
|
1631
|
+
return JSON.stringify(
|
|
1632
|
+
RecipientUpdateTemplateRecipientsFieldMeta6$outboundSchema.parse(
|
|
1633
|
+
recipientUpdateTemplateRecipientsFieldMeta6,
|
|
1634
|
+
),
|
|
1635
|
+
);
|
|
1636
|
+
}
|
|
1637
|
+
|
|
1638
|
+
export function recipientUpdateTemplateRecipientsFieldMeta6FromJSON(
|
|
1639
|
+
jsonString: string,
|
|
1640
|
+
): SafeParseResult<
|
|
1641
|
+
RecipientUpdateTemplateRecipientsFieldMeta6,
|
|
1642
|
+
SDKValidationError
|
|
1643
|
+
> {
|
|
1644
|
+
return safeParse(
|
|
1645
|
+
jsonString,
|
|
1646
|
+
(x) =>
|
|
1647
|
+
RecipientUpdateTemplateRecipientsFieldMeta6$inboundSchema.parse(
|
|
1648
|
+
JSON.parse(x),
|
|
1649
|
+
),
|
|
1650
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta6' from JSON`,
|
|
1651
|
+
);
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
/** @internal */
|
|
1655
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$inboundSchema:
|
|
1656
|
+
z.ZodNativeEnum<
|
|
1657
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType
|
|
1658
|
+
> = z.nativeEnum(
|
|
1659
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType,
|
|
1660
|
+
);
|
|
1661
|
+
|
|
1662
|
+
/** @internal */
|
|
1663
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$outboundSchema:
|
|
1664
|
+
z.ZodNativeEnum<
|
|
1665
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType
|
|
1666
|
+
> =
|
|
1667
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$inboundSchema;
|
|
1668
|
+
|
|
1669
|
+
/**
|
|
1670
|
+
* @internal
|
|
1671
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1672
|
+
*/
|
|
1673
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$ {
|
|
1674
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
1675
|
+
export const inboundSchema =
|
|
1676
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$inboundSchema;
|
|
1677
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
1678
|
+
export const outboundSchema =
|
|
1679
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$outboundSchema;
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
/** @internal */
|
|
1683
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta5$inboundSchema:
|
|
1684
|
+
z.ZodType<
|
|
1685
|
+
RecipientUpdateTemplateRecipientsFieldMeta5,
|
|
1686
|
+
z.ZodTypeDef,
|
|
1687
|
+
unknown
|
|
1688
|
+
> = z.object({
|
|
1689
|
+
label: z.string().optional(),
|
|
1690
|
+
placeholder: z.string().optional(),
|
|
1691
|
+
required: z.boolean().optional(),
|
|
1692
|
+
readOnly: z.boolean().optional(),
|
|
1693
|
+
type:
|
|
1694
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$inboundSchema,
|
|
1695
|
+
text: z.string().optional(),
|
|
1696
|
+
characterLimit: z.number().optional(),
|
|
1697
|
+
fontSize: z.number().optional(),
|
|
1698
|
+
});
|
|
1699
|
+
|
|
1700
|
+
/** @internal */
|
|
1701
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta5$Outbound = {
|
|
1702
|
+
label?: string | undefined;
|
|
1703
|
+
placeholder?: string | undefined;
|
|
1704
|
+
required?: boolean | undefined;
|
|
1705
|
+
readOnly?: boolean | undefined;
|
|
1706
|
+
type: string;
|
|
1707
|
+
text?: string | undefined;
|
|
1708
|
+
characterLimit?: number | undefined;
|
|
1709
|
+
fontSize?: number | undefined;
|
|
1710
|
+
};
|
|
1711
|
+
|
|
1712
|
+
/** @internal */
|
|
1713
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta5$outboundSchema:
|
|
1714
|
+
z.ZodType<
|
|
1715
|
+
RecipientUpdateTemplateRecipientsFieldMeta5$Outbound,
|
|
1716
|
+
z.ZodTypeDef,
|
|
1717
|
+
RecipientUpdateTemplateRecipientsFieldMeta5
|
|
1718
|
+
> = z.object({
|
|
1719
|
+
label: z.string().optional(),
|
|
1720
|
+
placeholder: z.string().optional(),
|
|
1721
|
+
required: z.boolean().optional(),
|
|
1722
|
+
readOnly: z.boolean().optional(),
|
|
1723
|
+
type:
|
|
1724
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200ApplicationJSONType$outboundSchema,
|
|
1725
|
+
text: z.string().optional(),
|
|
1726
|
+
characterLimit: z.number().optional(),
|
|
1727
|
+
fontSize: z.number().optional(),
|
|
1728
|
+
});
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* @internal
|
|
1732
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1733
|
+
*/
|
|
1734
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta5$ {
|
|
1735
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta5$inboundSchema` instead. */
|
|
1736
|
+
export const inboundSchema =
|
|
1737
|
+
RecipientUpdateTemplateRecipientsFieldMeta5$inboundSchema;
|
|
1738
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta5$outboundSchema` instead. */
|
|
1739
|
+
export const outboundSchema =
|
|
1740
|
+
RecipientUpdateTemplateRecipientsFieldMeta5$outboundSchema;
|
|
1741
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta5$Outbound` instead. */
|
|
1742
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta5$Outbound;
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
export function recipientUpdateTemplateRecipientsFieldMeta5ToJSON(
|
|
1746
|
+
recipientUpdateTemplateRecipientsFieldMeta5:
|
|
1747
|
+
RecipientUpdateTemplateRecipientsFieldMeta5,
|
|
1748
|
+
): string {
|
|
1749
|
+
return JSON.stringify(
|
|
1750
|
+
RecipientUpdateTemplateRecipientsFieldMeta5$outboundSchema.parse(
|
|
1751
|
+
recipientUpdateTemplateRecipientsFieldMeta5,
|
|
1752
|
+
),
|
|
1753
|
+
);
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
export function recipientUpdateTemplateRecipientsFieldMeta5FromJSON(
|
|
1757
|
+
jsonString: string,
|
|
1758
|
+
): SafeParseResult<
|
|
1759
|
+
RecipientUpdateTemplateRecipientsFieldMeta5,
|
|
1760
|
+
SDKValidationError
|
|
1761
|
+
> {
|
|
1762
|
+
return safeParse(
|
|
1763
|
+
jsonString,
|
|
1764
|
+
(x) =>
|
|
1765
|
+
RecipientUpdateTemplateRecipientsFieldMeta5$inboundSchema.parse(
|
|
1766
|
+
JSON.parse(x),
|
|
1767
|
+
),
|
|
1768
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta5' from JSON`,
|
|
1769
|
+
);
|
|
1770
|
+
}
|
|
1771
|
+
|
|
1772
|
+
/** @internal */
|
|
1773
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$inboundSchema:
|
|
1774
|
+
z.ZodNativeEnum<
|
|
1775
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type
|
|
1776
|
+
> = z.nativeEnum(
|
|
1777
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type,
|
|
1778
|
+
);
|
|
1779
|
+
|
|
1780
|
+
/** @internal */
|
|
1781
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$outboundSchema:
|
|
1782
|
+
z.ZodNativeEnum<
|
|
1783
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type
|
|
1784
|
+
> =
|
|
1785
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$inboundSchema;
|
|
1786
|
+
|
|
1787
|
+
/**
|
|
1788
|
+
* @internal
|
|
1789
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1790
|
+
*/
|
|
1791
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$ {
|
|
1792
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$inboundSchema` instead. */
|
|
1793
|
+
export const inboundSchema =
|
|
1794
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$inboundSchema;
|
|
1795
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$outboundSchema` instead. */
|
|
1796
|
+
export const outboundSchema =
|
|
1797
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$outboundSchema;
|
|
1798
|
+
}
|
|
1799
|
+
|
|
1800
|
+
/** @internal */
|
|
1801
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta4$inboundSchema:
|
|
1802
|
+
z.ZodType<
|
|
1803
|
+
RecipientUpdateTemplateRecipientsFieldMeta4,
|
|
1804
|
+
z.ZodTypeDef,
|
|
1805
|
+
unknown
|
|
1806
|
+
> = z.object({
|
|
1807
|
+
label: z.string().optional(),
|
|
1808
|
+
placeholder: z.string().optional(),
|
|
1809
|
+
required: z.boolean().optional(),
|
|
1810
|
+
readOnly: z.boolean().optional(),
|
|
1811
|
+
type:
|
|
1812
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$inboundSchema,
|
|
1813
|
+
fontSize: z.number().optional(),
|
|
1814
|
+
});
|
|
1815
|
+
|
|
1816
|
+
/** @internal */
|
|
1817
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta4$Outbound = {
|
|
1818
|
+
label?: string | undefined;
|
|
1819
|
+
placeholder?: string | undefined;
|
|
1820
|
+
required?: boolean | undefined;
|
|
1821
|
+
readOnly?: boolean | undefined;
|
|
1822
|
+
type: string;
|
|
1823
|
+
fontSize?: number | undefined;
|
|
1824
|
+
};
|
|
1825
|
+
|
|
1826
|
+
/** @internal */
|
|
1827
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta4$outboundSchema:
|
|
1828
|
+
z.ZodType<
|
|
1829
|
+
RecipientUpdateTemplateRecipientsFieldMeta4$Outbound,
|
|
1830
|
+
z.ZodTypeDef,
|
|
1831
|
+
RecipientUpdateTemplateRecipientsFieldMeta4
|
|
1832
|
+
> = z.object({
|
|
1833
|
+
label: z.string().optional(),
|
|
1834
|
+
placeholder: z.string().optional(),
|
|
1835
|
+
required: z.boolean().optional(),
|
|
1836
|
+
readOnly: z.boolean().optional(),
|
|
1837
|
+
type:
|
|
1838
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponse200Type$outboundSchema,
|
|
1839
|
+
fontSize: z.number().optional(),
|
|
1840
|
+
});
|
|
1841
|
+
|
|
1842
|
+
/**
|
|
1843
|
+
* @internal
|
|
1844
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1845
|
+
*/
|
|
1846
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta4$ {
|
|
1847
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta4$inboundSchema` instead. */
|
|
1848
|
+
export const inboundSchema =
|
|
1849
|
+
RecipientUpdateTemplateRecipientsFieldMeta4$inboundSchema;
|
|
1850
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta4$outboundSchema` instead. */
|
|
1851
|
+
export const outboundSchema =
|
|
1852
|
+
RecipientUpdateTemplateRecipientsFieldMeta4$outboundSchema;
|
|
1853
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta4$Outbound` instead. */
|
|
1854
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta4$Outbound;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
export function recipientUpdateTemplateRecipientsFieldMeta4ToJSON(
|
|
1858
|
+
recipientUpdateTemplateRecipientsFieldMeta4:
|
|
1859
|
+
RecipientUpdateTemplateRecipientsFieldMeta4,
|
|
1860
|
+
): string {
|
|
1861
|
+
return JSON.stringify(
|
|
1862
|
+
RecipientUpdateTemplateRecipientsFieldMeta4$outboundSchema.parse(
|
|
1863
|
+
recipientUpdateTemplateRecipientsFieldMeta4,
|
|
1864
|
+
),
|
|
1865
|
+
);
|
|
1866
|
+
}
|
|
1867
|
+
|
|
1868
|
+
export function recipientUpdateTemplateRecipientsFieldMeta4FromJSON(
|
|
1869
|
+
jsonString: string,
|
|
1870
|
+
): SafeParseResult<
|
|
1871
|
+
RecipientUpdateTemplateRecipientsFieldMeta4,
|
|
1872
|
+
SDKValidationError
|
|
1873
|
+
> {
|
|
1874
|
+
return safeParse(
|
|
1875
|
+
jsonString,
|
|
1876
|
+
(x) =>
|
|
1877
|
+
RecipientUpdateTemplateRecipientsFieldMeta4$inboundSchema.parse(
|
|
1878
|
+
JSON.parse(x),
|
|
1879
|
+
),
|
|
1880
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta4' from JSON`,
|
|
1881
|
+
);
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
/** @internal */
|
|
1885
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$inboundSchema:
|
|
1886
|
+
z.ZodNativeEnum<
|
|
1887
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType
|
|
1888
|
+
> = z.nativeEnum(
|
|
1889
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType,
|
|
1890
|
+
);
|
|
1891
|
+
|
|
1892
|
+
/** @internal */
|
|
1893
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$outboundSchema:
|
|
1894
|
+
z.ZodNativeEnum<
|
|
1895
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType
|
|
1896
|
+
> =
|
|
1897
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$inboundSchema;
|
|
1898
|
+
|
|
1899
|
+
/**
|
|
1900
|
+
* @internal
|
|
1901
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1902
|
+
*/
|
|
1903
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$ {
|
|
1904
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$inboundSchema` instead. */
|
|
1905
|
+
export const inboundSchema =
|
|
1906
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$inboundSchema;
|
|
1907
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$outboundSchema` instead. */
|
|
1908
|
+
export const outboundSchema =
|
|
1909
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$outboundSchema;
|
|
1910
|
+
}
|
|
1911
|
+
|
|
1912
|
+
/** @internal */
|
|
1913
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta3$inboundSchema:
|
|
1914
|
+
z.ZodType<
|
|
1915
|
+
RecipientUpdateTemplateRecipientsFieldMeta3,
|
|
1916
|
+
z.ZodTypeDef,
|
|
1917
|
+
unknown
|
|
1918
|
+
> = z.object({
|
|
1919
|
+
label: z.string().optional(),
|
|
1920
|
+
placeholder: z.string().optional(),
|
|
1921
|
+
required: z.boolean().optional(),
|
|
1922
|
+
readOnly: z.boolean().optional(),
|
|
1923
|
+
type:
|
|
1924
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$inboundSchema,
|
|
1925
|
+
fontSize: z.number().optional(),
|
|
1926
|
+
});
|
|
1927
|
+
|
|
1928
|
+
/** @internal */
|
|
1929
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta3$Outbound = {
|
|
1930
|
+
label?: string | undefined;
|
|
1931
|
+
placeholder?: string | undefined;
|
|
1932
|
+
required?: boolean | undefined;
|
|
1933
|
+
readOnly?: boolean | undefined;
|
|
1934
|
+
type: string;
|
|
1935
|
+
fontSize?: number | undefined;
|
|
1936
|
+
};
|
|
1937
|
+
|
|
1938
|
+
/** @internal */
|
|
1939
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta3$outboundSchema:
|
|
1940
|
+
z.ZodType<
|
|
1941
|
+
RecipientUpdateTemplateRecipientsFieldMeta3$Outbound,
|
|
1942
|
+
z.ZodTypeDef,
|
|
1943
|
+
RecipientUpdateTemplateRecipientsFieldMeta3
|
|
1944
|
+
> = z.object({
|
|
1945
|
+
label: z.string().optional(),
|
|
1946
|
+
placeholder: z.string().optional(),
|
|
1947
|
+
required: z.boolean().optional(),
|
|
1948
|
+
readOnly: z.boolean().optional(),
|
|
1949
|
+
type:
|
|
1950
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsResponseType$outboundSchema,
|
|
1951
|
+
fontSize: z.number().optional(),
|
|
1952
|
+
});
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* @internal
|
|
1956
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1957
|
+
*/
|
|
1958
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta3$ {
|
|
1959
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta3$inboundSchema` instead. */
|
|
1960
|
+
export const inboundSchema =
|
|
1961
|
+
RecipientUpdateTemplateRecipientsFieldMeta3$inboundSchema;
|
|
1962
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta3$outboundSchema` instead. */
|
|
1963
|
+
export const outboundSchema =
|
|
1964
|
+
RecipientUpdateTemplateRecipientsFieldMeta3$outboundSchema;
|
|
1965
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta3$Outbound` instead. */
|
|
1966
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta3$Outbound;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1969
|
+
export function recipientUpdateTemplateRecipientsFieldMeta3ToJSON(
|
|
1970
|
+
recipientUpdateTemplateRecipientsFieldMeta3:
|
|
1971
|
+
RecipientUpdateTemplateRecipientsFieldMeta3,
|
|
1972
|
+
): string {
|
|
1973
|
+
return JSON.stringify(
|
|
1974
|
+
RecipientUpdateTemplateRecipientsFieldMeta3$outboundSchema.parse(
|
|
1975
|
+
recipientUpdateTemplateRecipientsFieldMeta3,
|
|
1976
|
+
),
|
|
1977
|
+
);
|
|
1978
|
+
}
|
|
1979
|
+
|
|
1980
|
+
export function recipientUpdateTemplateRecipientsFieldMeta3FromJSON(
|
|
1981
|
+
jsonString: string,
|
|
1982
|
+
): SafeParseResult<
|
|
1983
|
+
RecipientUpdateTemplateRecipientsFieldMeta3,
|
|
1984
|
+
SDKValidationError
|
|
1985
|
+
> {
|
|
1986
|
+
return safeParse(
|
|
1987
|
+
jsonString,
|
|
1988
|
+
(x) =>
|
|
1989
|
+
RecipientUpdateTemplateRecipientsFieldMeta3$inboundSchema.parse(
|
|
1990
|
+
JSON.parse(x),
|
|
1991
|
+
),
|
|
1992
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta3' from JSON`,
|
|
1993
|
+
);
|
|
1994
|
+
}
|
|
1995
|
+
|
|
1996
|
+
/** @internal */
|
|
1997
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$inboundSchema:
|
|
1998
|
+
z.ZodNativeEnum<
|
|
1999
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType
|
|
2000
|
+
> = z.nativeEnum(
|
|
2001
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType,
|
|
2002
|
+
);
|
|
2003
|
+
|
|
2004
|
+
/** @internal */
|
|
2005
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$outboundSchema:
|
|
2006
|
+
z.ZodNativeEnum<
|
|
2007
|
+
typeof RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType
|
|
2008
|
+
> =
|
|
2009
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$inboundSchema;
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* @internal
|
|
2013
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2014
|
+
*/
|
|
2015
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$ {
|
|
2016
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$inboundSchema` instead. */
|
|
2017
|
+
export const inboundSchema =
|
|
2018
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$inboundSchema;
|
|
2019
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$outboundSchema` instead. */
|
|
2020
|
+
export const outboundSchema =
|
|
2021
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$outboundSchema;
|
|
2022
|
+
}
|
|
2023
|
+
|
|
2024
|
+
/** @internal */
|
|
2025
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta2$inboundSchema:
|
|
2026
|
+
z.ZodType<
|
|
2027
|
+
RecipientUpdateTemplateRecipientsFieldMeta2,
|
|
2028
|
+
z.ZodTypeDef,
|
|
2029
|
+
unknown
|
|
2030
|
+
> = z.object({
|
|
2031
|
+
label: z.string().optional(),
|
|
2032
|
+
placeholder: z.string().optional(),
|
|
2033
|
+
required: z.boolean().optional(),
|
|
2034
|
+
readOnly: z.boolean().optional(),
|
|
2035
|
+
type:
|
|
2036
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$inboundSchema,
|
|
2037
|
+
fontSize: z.number().optional(),
|
|
2038
|
+
});
|
|
2039
|
+
|
|
2040
|
+
/** @internal */
|
|
2041
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta2$Outbound = {
|
|
2042
|
+
label?: string | undefined;
|
|
2043
|
+
placeholder?: string | undefined;
|
|
2044
|
+
required?: boolean | undefined;
|
|
2045
|
+
readOnly?: boolean | undefined;
|
|
2046
|
+
type: string;
|
|
2047
|
+
fontSize?: number | undefined;
|
|
2048
|
+
};
|
|
2049
|
+
|
|
2050
|
+
/** @internal */
|
|
2051
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta2$outboundSchema:
|
|
2052
|
+
z.ZodType<
|
|
2053
|
+
RecipientUpdateTemplateRecipientsFieldMeta2$Outbound,
|
|
2054
|
+
z.ZodTypeDef,
|
|
2055
|
+
RecipientUpdateTemplateRecipientsFieldMeta2
|
|
2056
|
+
> = z.object({
|
|
2057
|
+
label: z.string().optional(),
|
|
2058
|
+
placeholder: z.string().optional(),
|
|
2059
|
+
required: z.boolean().optional(),
|
|
2060
|
+
readOnly: z.boolean().optional(),
|
|
2061
|
+
type:
|
|
2062
|
+
RecipientUpdateTemplateRecipientsFieldMetaTemplatesRecipientsType$outboundSchema,
|
|
2063
|
+
fontSize: z.number().optional(),
|
|
2064
|
+
});
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* @internal
|
|
2068
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2069
|
+
*/
|
|
2070
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta2$ {
|
|
2071
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta2$inboundSchema` instead. */
|
|
2072
|
+
export const inboundSchema =
|
|
2073
|
+
RecipientUpdateTemplateRecipientsFieldMeta2$inboundSchema;
|
|
2074
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta2$outboundSchema` instead. */
|
|
2075
|
+
export const outboundSchema =
|
|
2076
|
+
RecipientUpdateTemplateRecipientsFieldMeta2$outboundSchema;
|
|
2077
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta2$Outbound` instead. */
|
|
2078
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta2$Outbound;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
export function recipientUpdateTemplateRecipientsFieldMeta2ToJSON(
|
|
2082
|
+
recipientUpdateTemplateRecipientsFieldMeta2:
|
|
2083
|
+
RecipientUpdateTemplateRecipientsFieldMeta2,
|
|
2084
|
+
): string {
|
|
2085
|
+
return JSON.stringify(
|
|
2086
|
+
RecipientUpdateTemplateRecipientsFieldMeta2$outboundSchema.parse(
|
|
2087
|
+
recipientUpdateTemplateRecipientsFieldMeta2,
|
|
2088
|
+
),
|
|
2089
|
+
);
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
export function recipientUpdateTemplateRecipientsFieldMeta2FromJSON(
|
|
2093
|
+
jsonString: string,
|
|
2094
|
+
): SafeParseResult<
|
|
2095
|
+
RecipientUpdateTemplateRecipientsFieldMeta2,
|
|
2096
|
+
SDKValidationError
|
|
2097
|
+
> {
|
|
2098
|
+
return safeParse(
|
|
2099
|
+
jsonString,
|
|
2100
|
+
(x) =>
|
|
2101
|
+
RecipientUpdateTemplateRecipientsFieldMeta2$inboundSchema.parse(
|
|
2102
|
+
JSON.parse(x),
|
|
2103
|
+
),
|
|
2104
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta2' from JSON`,
|
|
2105
|
+
);
|
|
2106
|
+
}
|
|
2107
|
+
|
|
2108
|
+
/** @internal */
|
|
2109
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaType$inboundSchema:
|
|
2110
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsFieldMetaType> = z
|
|
2111
|
+
.nativeEnum(RecipientUpdateTemplateRecipientsFieldMetaType);
|
|
2112
|
+
|
|
2113
|
+
/** @internal */
|
|
2114
|
+
export const RecipientUpdateTemplateRecipientsFieldMetaType$outboundSchema:
|
|
2115
|
+
z.ZodNativeEnum<typeof RecipientUpdateTemplateRecipientsFieldMetaType> =
|
|
2116
|
+
RecipientUpdateTemplateRecipientsFieldMetaType$inboundSchema;
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* @internal
|
|
2120
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2121
|
+
*/
|
|
2122
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMetaType$ {
|
|
2123
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaType$inboundSchema` instead. */
|
|
2124
|
+
export const inboundSchema =
|
|
2125
|
+
RecipientUpdateTemplateRecipientsFieldMetaType$inboundSchema;
|
|
2126
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMetaType$outboundSchema` instead. */
|
|
2127
|
+
export const outboundSchema =
|
|
2128
|
+
RecipientUpdateTemplateRecipientsFieldMetaType$outboundSchema;
|
|
2129
|
+
}
|
|
2130
|
+
|
|
2131
|
+
/** @internal */
|
|
2132
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta1$inboundSchema:
|
|
2133
|
+
z.ZodType<
|
|
2134
|
+
RecipientUpdateTemplateRecipientsFieldMeta1,
|
|
2135
|
+
z.ZodTypeDef,
|
|
2136
|
+
unknown
|
|
2137
|
+
> = z.object({
|
|
2138
|
+
label: z.string().optional(),
|
|
2139
|
+
placeholder: z.string().optional(),
|
|
2140
|
+
required: z.boolean().optional(),
|
|
2141
|
+
readOnly: z.boolean().optional(),
|
|
2142
|
+
type: RecipientUpdateTemplateRecipientsFieldMetaType$inboundSchema,
|
|
2143
|
+
fontSize: z.number().optional(),
|
|
2144
|
+
});
|
|
2145
|
+
|
|
2146
|
+
/** @internal */
|
|
2147
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta1$Outbound = {
|
|
2148
|
+
label?: string | undefined;
|
|
2149
|
+
placeholder?: string | undefined;
|
|
2150
|
+
required?: boolean | undefined;
|
|
2151
|
+
readOnly?: boolean | undefined;
|
|
2152
|
+
type: string;
|
|
2153
|
+
fontSize?: number | undefined;
|
|
2154
|
+
};
|
|
2155
|
+
|
|
2156
|
+
/** @internal */
|
|
2157
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta1$outboundSchema:
|
|
2158
|
+
z.ZodType<
|
|
2159
|
+
RecipientUpdateTemplateRecipientsFieldMeta1$Outbound,
|
|
2160
|
+
z.ZodTypeDef,
|
|
2161
|
+
RecipientUpdateTemplateRecipientsFieldMeta1
|
|
2162
|
+
> = z.object({
|
|
2163
|
+
label: z.string().optional(),
|
|
2164
|
+
placeholder: z.string().optional(),
|
|
2165
|
+
required: z.boolean().optional(),
|
|
2166
|
+
readOnly: z.boolean().optional(),
|
|
2167
|
+
type: RecipientUpdateTemplateRecipientsFieldMetaType$outboundSchema,
|
|
2168
|
+
fontSize: z.number().optional(),
|
|
2169
|
+
});
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* @internal
|
|
2173
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2174
|
+
*/
|
|
2175
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta1$ {
|
|
2176
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta1$inboundSchema` instead. */
|
|
2177
|
+
export const inboundSchema =
|
|
2178
|
+
RecipientUpdateTemplateRecipientsFieldMeta1$inboundSchema;
|
|
2179
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta1$outboundSchema` instead. */
|
|
2180
|
+
export const outboundSchema =
|
|
2181
|
+
RecipientUpdateTemplateRecipientsFieldMeta1$outboundSchema;
|
|
2182
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta1$Outbound` instead. */
|
|
2183
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta1$Outbound;
|
|
2184
|
+
}
|
|
2185
|
+
|
|
2186
|
+
export function recipientUpdateTemplateRecipientsFieldMeta1ToJSON(
|
|
2187
|
+
recipientUpdateTemplateRecipientsFieldMeta1:
|
|
2188
|
+
RecipientUpdateTemplateRecipientsFieldMeta1,
|
|
2189
|
+
): string {
|
|
2190
|
+
return JSON.stringify(
|
|
2191
|
+
RecipientUpdateTemplateRecipientsFieldMeta1$outboundSchema.parse(
|
|
2192
|
+
recipientUpdateTemplateRecipientsFieldMeta1,
|
|
2193
|
+
),
|
|
2194
|
+
);
|
|
2195
|
+
}
|
|
2196
|
+
|
|
2197
|
+
export function recipientUpdateTemplateRecipientsFieldMeta1FromJSON(
|
|
2198
|
+
jsonString: string,
|
|
2199
|
+
): SafeParseResult<
|
|
2200
|
+
RecipientUpdateTemplateRecipientsFieldMeta1,
|
|
2201
|
+
SDKValidationError
|
|
2202
|
+
> {
|
|
2203
|
+
return safeParse(
|
|
2204
|
+
jsonString,
|
|
2205
|
+
(x) =>
|
|
2206
|
+
RecipientUpdateTemplateRecipientsFieldMeta1$inboundSchema.parse(
|
|
2207
|
+
JSON.parse(x),
|
|
2208
|
+
),
|
|
2209
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta1' from JSON`,
|
|
2210
|
+
);
|
|
2211
|
+
}
|
|
2212
|
+
|
|
2213
|
+
/** @internal */
|
|
2214
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta$inboundSchema:
|
|
2215
|
+
z.ZodType<RecipientUpdateTemplateRecipientsFieldMeta, z.ZodTypeDef, unknown> =
|
|
2216
|
+
z.union([
|
|
2217
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta1$inboundSchema),
|
|
2218
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta2$inboundSchema),
|
|
2219
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta3$inboundSchema),
|
|
2220
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta4$inboundSchema),
|
|
2221
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta7$inboundSchema),
|
|
2222
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta9$inboundSchema),
|
|
2223
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta5$inboundSchema),
|
|
2224
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta8$inboundSchema),
|
|
2225
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta6$inboundSchema),
|
|
2226
|
+
]);
|
|
2227
|
+
|
|
2228
|
+
/** @internal */
|
|
2229
|
+
export type RecipientUpdateTemplateRecipientsFieldMeta$Outbound =
|
|
2230
|
+
| RecipientUpdateTemplateRecipientsFieldMeta1$Outbound
|
|
2231
|
+
| RecipientUpdateTemplateRecipientsFieldMeta2$Outbound
|
|
2232
|
+
| RecipientUpdateTemplateRecipientsFieldMeta3$Outbound
|
|
2233
|
+
| RecipientUpdateTemplateRecipientsFieldMeta4$Outbound
|
|
2234
|
+
| RecipientUpdateTemplateRecipientsFieldMeta7$Outbound
|
|
2235
|
+
| RecipientUpdateTemplateRecipientsFieldMeta9$Outbound
|
|
2236
|
+
| RecipientUpdateTemplateRecipientsFieldMeta5$Outbound
|
|
2237
|
+
| RecipientUpdateTemplateRecipientsFieldMeta8$Outbound
|
|
2238
|
+
| RecipientUpdateTemplateRecipientsFieldMeta6$Outbound;
|
|
2239
|
+
|
|
2240
|
+
/** @internal */
|
|
2241
|
+
export const RecipientUpdateTemplateRecipientsFieldMeta$outboundSchema:
|
|
2242
|
+
z.ZodType<
|
|
2243
|
+
RecipientUpdateTemplateRecipientsFieldMeta$Outbound,
|
|
2244
|
+
z.ZodTypeDef,
|
|
2245
|
+
RecipientUpdateTemplateRecipientsFieldMeta
|
|
2246
|
+
> = z.union([
|
|
2247
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta1$outboundSchema),
|
|
2248
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta2$outboundSchema),
|
|
2249
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta3$outboundSchema),
|
|
2250
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta4$outboundSchema),
|
|
2251
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta7$outboundSchema),
|
|
2252
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta9$outboundSchema),
|
|
2253
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta5$outboundSchema),
|
|
2254
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta8$outboundSchema),
|
|
2255
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta6$outboundSchema),
|
|
2256
|
+
]);
|
|
2257
|
+
|
|
2258
|
+
/**
|
|
2259
|
+
* @internal
|
|
2260
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2261
|
+
*/
|
|
2262
|
+
export namespace RecipientUpdateTemplateRecipientsFieldMeta$ {
|
|
2263
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta$inboundSchema` instead. */
|
|
2264
|
+
export const inboundSchema =
|
|
2265
|
+
RecipientUpdateTemplateRecipientsFieldMeta$inboundSchema;
|
|
2266
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta$outboundSchema` instead. */
|
|
2267
|
+
export const outboundSchema =
|
|
2268
|
+
RecipientUpdateTemplateRecipientsFieldMeta$outboundSchema;
|
|
2269
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFieldMeta$Outbound` instead. */
|
|
2270
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFieldMeta$Outbound;
|
|
2271
|
+
}
|
|
2272
|
+
|
|
2273
|
+
export function recipientUpdateTemplateRecipientsFieldMetaToJSON(
|
|
2274
|
+
recipientUpdateTemplateRecipientsFieldMeta:
|
|
2275
|
+
RecipientUpdateTemplateRecipientsFieldMeta,
|
|
2276
|
+
): string {
|
|
2277
|
+
return JSON.stringify(
|
|
2278
|
+
RecipientUpdateTemplateRecipientsFieldMeta$outboundSchema.parse(
|
|
2279
|
+
recipientUpdateTemplateRecipientsFieldMeta,
|
|
2280
|
+
),
|
|
2281
|
+
);
|
|
2282
|
+
}
|
|
2283
|
+
|
|
2284
|
+
export function recipientUpdateTemplateRecipientsFieldMetaFromJSON(
|
|
2285
|
+
jsonString: string,
|
|
2286
|
+
): SafeParseResult<
|
|
2287
|
+
RecipientUpdateTemplateRecipientsFieldMeta,
|
|
2288
|
+
SDKValidationError
|
|
2289
|
+
> {
|
|
2290
|
+
return safeParse(
|
|
2291
|
+
jsonString,
|
|
2292
|
+
(x) =>
|
|
2293
|
+
RecipientUpdateTemplateRecipientsFieldMeta$inboundSchema.parse(
|
|
2294
|
+
JSON.parse(x),
|
|
2295
|
+
),
|
|
2296
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFieldMeta' from JSON`,
|
|
2297
|
+
);
|
|
2298
|
+
}
|
|
2299
|
+
|
|
2300
|
+
/** @internal */
|
|
2301
|
+
export const RecipientUpdateTemplateRecipientsFields$inboundSchema: z.ZodType<
|
|
2302
|
+
RecipientUpdateTemplateRecipientsFields,
|
|
2303
|
+
z.ZodTypeDef,
|
|
2304
|
+
unknown
|
|
2305
|
+
> = z.object({
|
|
2306
|
+
type: RecipientUpdateTemplateRecipientsType$inboundSchema,
|
|
2307
|
+
id: z.number().int(),
|
|
2308
|
+
secondaryId: z.string(),
|
|
2309
|
+
documentId: z.nullable(z.number().int()),
|
|
2310
|
+
templateId: z.nullable(z.number().int()),
|
|
2311
|
+
recipientId: z.number().int(),
|
|
2312
|
+
page: z.number(),
|
|
2313
|
+
positionX: z.any().optional(),
|
|
2314
|
+
positionY: z.any().optional(),
|
|
2315
|
+
width: z.any().optional(),
|
|
2316
|
+
height: z.any().optional(),
|
|
2317
|
+
customText: z.string(),
|
|
2318
|
+
inserted: z.boolean(),
|
|
2319
|
+
fieldMeta: z.nullable(
|
|
2320
|
+
z.union([
|
|
2321
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta1$inboundSchema),
|
|
2322
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta2$inboundSchema),
|
|
2323
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta3$inboundSchema),
|
|
2324
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta4$inboundSchema),
|
|
2325
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta7$inboundSchema),
|
|
2326
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta9$inboundSchema),
|
|
2327
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta5$inboundSchema),
|
|
2328
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta8$inboundSchema),
|
|
2329
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta6$inboundSchema),
|
|
2330
|
+
]),
|
|
2331
|
+
),
|
|
2332
|
+
});
|
|
2333
|
+
|
|
2334
|
+
/** @internal */
|
|
2335
|
+
export type RecipientUpdateTemplateRecipientsFields$Outbound = {
|
|
2336
|
+
type: string;
|
|
2337
|
+
id: number;
|
|
2338
|
+
secondaryId: string;
|
|
2339
|
+
documentId: number | null;
|
|
2340
|
+
templateId: number | null;
|
|
2341
|
+
recipientId: number;
|
|
2342
|
+
page: number;
|
|
2343
|
+
positionX?: any | undefined;
|
|
2344
|
+
positionY?: any | undefined;
|
|
2345
|
+
width?: any | undefined;
|
|
2346
|
+
height?: any | undefined;
|
|
2347
|
+
customText: string;
|
|
2348
|
+
inserted: boolean;
|
|
2349
|
+
fieldMeta:
|
|
2350
|
+
| RecipientUpdateTemplateRecipientsFieldMeta1$Outbound
|
|
2351
|
+
| RecipientUpdateTemplateRecipientsFieldMeta2$Outbound
|
|
2352
|
+
| RecipientUpdateTemplateRecipientsFieldMeta3$Outbound
|
|
2353
|
+
| RecipientUpdateTemplateRecipientsFieldMeta4$Outbound
|
|
2354
|
+
| RecipientUpdateTemplateRecipientsFieldMeta7$Outbound
|
|
2355
|
+
| RecipientUpdateTemplateRecipientsFieldMeta9$Outbound
|
|
2356
|
+
| RecipientUpdateTemplateRecipientsFieldMeta5$Outbound
|
|
2357
|
+
| RecipientUpdateTemplateRecipientsFieldMeta8$Outbound
|
|
2358
|
+
| RecipientUpdateTemplateRecipientsFieldMeta6$Outbound
|
|
2359
|
+
| null;
|
|
2360
|
+
};
|
|
2361
|
+
|
|
2362
|
+
/** @internal */
|
|
2363
|
+
export const RecipientUpdateTemplateRecipientsFields$outboundSchema: z.ZodType<
|
|
2364
|
+
RecipientUpdateTemplateRecipientsFields$Outbound,
|
|
2365
|
+
z.ZodTypeDef,
|
|
2366
|
+
RecipientUpdateTemplateRecipientsFields
|
|
2367
|
+
> = z.object({
|
|
2368
|
+
type: RecipientUpdateTemplateRecipientsType$outboundSchema,
|
|
2369
|
+
id: z.number().int(),
|
|
2370
|
+
secondaryId: z.string(),
|
|
2371
|
+
documentId: z.nullable(z.number().int()),
|
|
2372
|
+
templateId: z.nullable(z.number().int()),
|
|
2373
|
+
recipientId: z.number().int(),
|
|
2374
|
+
page: z.number(),
|
|
2375
|
+
positionX: z.any().optional(),
|
|
2376
|
+
positionY: z.any().optional(),
|
|
2377
|
+
width: z.any().optional(),
|
|
2378
|
+
height: z.any().optional(),
|
|
2379
|
+
customText: z.string(),
|
|
2380
|
+
inserted: z.boolean(),
|
|
2381
|
+
fieldMeta: z.nullable(
|
|
2382
|
+
z.union([
|
|
2383
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta1$outboundSchema),
|
|
2384
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta2$outboundSchema),
|
|
2385
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta3$outboundSchema),
|
|
2386
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta4$outboundSchema),
|
|
2387
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta7$outboundSchema),
|
|
2388
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta9$outboundSchema),
|
|
2389
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta5$outboundSchema),
|
|
2390
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta8$outboundSchema),
|
|
2391
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFieldMeta6$outboundSchema),
|
|
2392
|
+
]),
|
|
2393
|
+
),
|
|
2394
|
+
});
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* @internal
|
|
2398
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2399
|
+
*/
|
|
2400
|
+
export namespace RecipientUpdateTemplateRecipientsFields$ {
|
|
2401
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFields$inboundSchema` instead. */
|
|
2402
|
+
export const inboundSchema =
|
|
2403
|
+
RecipientUpdateTemplateRecipientsFields$inboundSchema;
|
|
2404
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFields$outboundSchema` instead. */
|
|
2405
|
+
export const outboundSchema =
|
|
2406
|
+
RecipientUpdateTemplateRecipientsFields$outboundSchema;
|
|
2407
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsFields$Outbound` instead. */
|
|
2408
|
+
export type Outbound = RecipientUpdateTemplateRecipientsFields$Outbound;
|
|
2409
|
+
}
|
|
2410
|
+
|
|
2411
|
+
export function recipientUpdateTemplateRecipientsFieldsToJSON(
|
|
2412
|
+
recipientUpdateTemplateRecipientsFields:
|
|
2413
|
+
RecipientUpdateTemplateRecipientsFields,
|
|
2414
|
+
): string {
|
|
2415
|
+
return JSON.stringify(
|
|
2416
|
+
RecipientUpdateTemplateRecipientsFields$outboundSchema.parse(
|
|
2417
|
+
recipientUpdateTemplateRecipientsFields,
|
|
2418
|
+
),
|
|
2419
|
+
);
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
export function recipientUpdateTemplateRecipientsFieldsFromJSON(
|
|
2423
|
+
jsonString: string,
|
|
2424
|
+
): SafeParseResult<
|
|
2425
|
+
RecipientUpdateTemplateRecipientsFields,
|
|
2426
|
+
SDKValidationError
|
|
2427
|
+
> {
|
|
2428
|
+
return safeParse(
|
|
2429
|
+
jsonString,
|
|
2430
|
+
(x) =>
|
|
2431
|
+
RecipientUpdateTemplateRecipientsFields$inboundSchema.parse(
|
|
2432
|
+
JSON.parse(x),
|
|
2433
|
+
),
|
|
2434
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsFields' from JSON`,
|
|
2435
|
+
);
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2438
|
+
/** @internal */
|
|
2439
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$inboundSchema:
|
|
2440
|
+
z.ZodType<
|
|
2441
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients,
|
|
2442
|
+
z.ZodTypeDef,
|
|
2443
|
+
unknown
|
|
2444
|
+
> = z.object({
|
|
2445
|
+
role:
|
|
2446
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$inboundSchema,
|
|
2447
|
+
readStatus: RecipientUpdateTemplateRecipientsReadStatus$inboundSchema,
|
|
2448
|
+
signingStatus: RecipientUpdateTemplateRecipientsSigningStatus$inboundSchema,
|
|
2449
|
+
sendStatus: RecipientUpdateTemplateRecipientsSendStatus$inboundSchema,
|
|
2450
|
+
id: z.number().int(),
|
|
2451
|
+
documentId: z.nullable(z.number().int()),
|
|
2452
|
+
templateId: z.nullable(z.number().int()),
|
|
2453
|
+
email: z.string(),
|
|
2454
|
+
name: z.string(),
|
|
2455
|
+
token: z.string(),
|
|
2456
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
2457
|
+
expired: z.nullable(z.string()),
|
|
2458
|
+
signedAt: z.nullable(z.string()),
|
|
2459
|
+
authOptions: z.nullable(
|
|
2460
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsAuthOptions$inboundSchema),
|
|
2461
|
+
),
|
|
2462
|
+
signingOrder: z.nullable(z.number()),
|
|
2463
|
+
rejectionReason: z.nullable(z.string()),
|
|
2464
|
+
fields: z.array(
|
|
2465
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFields$inboundSchema),
|
|
2466
|
+
),
|
|
2467
|
+
});
|
|
2468
|
+
|
|
2469
|
+
/** @internal */
|
|
2470
|
+
export type RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$Outbound =
|
|
2471
|
+
{
|
|
2472
|
+
role: string;
|
|
2473
|
+
readStatus: string;
|
|
2474
|
+
signingStatus: string;
|
|
2475
|
+
sendStatus: string;
|
|
2476
|
+
id: number;
|
|
2477
|
+
documentId: number | null;
|
|
2478
|
+
templateId: number | null;
|
|
2479
|
+
email: string;
|
|
2480
|
+
name: string;
|
|
2481
|
+
token: string;
|
|
2482
|
+
documentDeletedAt: string | null;
|
|
2483
|
+
expired: string | null;
|
|
2484
|
+
signedAt: string | null;
|
|
2485
|
+
authOptions: RecipientUpdateTemplateRecipientsAuthOptions$Outbound | null;
|
|
2486
|
+
signingOrder: number | null;
|
|
2487
|
+
rejectionReason: string | null;
|
|
2488
|
+
fields: Array<RecipientUpdateTemplateRecipientsFields$Outbound>;
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2491
|
+
/** @internal */
|
|
2492
|
+
export const RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$outboundSchema:
|
|
2493
|
+
z.ZodType<
|
|
2494
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$Outbound,
|
|
2495
|
+
z.ZodTypeDef,
|
|
2496
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients
|
|
2497
|
+
> = z.object({
|
|
2498
|
+
role:
|
|
2499
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRole$outboundSchema,
|
|
2500
|
+
readStatus: RecipientUpdateTemplateRecipientsReadStatus$outboundSchema,
|
|
2501
|
+
signingStatus:
|
|
2502
|
+
RecipientUpdateTemplateRecipientsSigningStatus$outboundSchema,
|
|
2503
|
+
sendStatus: RecipientUpdateTemplateRecipientsSendStatus$outboundSchema,
|
|
2504
|
+
id: z.number().int(),
|
|
2505
|
+
documentId: z.nullable(z.number().int()),
|
|
2506
|
+
templateId: z.nullable(z.number().int()),
|
|
2507
|
+
email: z.string(),
|
|
2508
|
+
name: z.string(),
|
|
2509
|
+
token: z.string(),
|
|
2510
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
2511
|
+
expired: z.nullable(z.string()),
|
|
2512
|
+
signedAt: z.nullable(z.string()),
|
|
2513
|
+
authOptions: z.nullable(
|
|
2514
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsAuthOptions$outboundSchema),
|
|
2515
|
+
),
|
|
2516
|
+
signingOrder: z.nullable(z.number()),
|
|
2517
|
+
rejectionReason: z.nullable(z.string()),
|
|
2518
|
+
fields: z.array(
|
|
2519
|
+
z.lazy(() => RecipientUpdateTemplateRecipientsFields$outboundSchema),
|
|
2520
|
+
),
|
|
2521
|
+
});
|
|
2522
|
+
|
|
2523
|
+
/**
|
|
2524
|
+
* @internal
|
|
2525
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2526
|
+
*/
|
|
2527
|
+
export namespace RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$ {
|
|
2528
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$inboundSchema` instead. */
|
|
2529
|
+
export const inboundSchema =
|
|
2530
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$inboundSchema;
|
|
2531
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$outboundSchema` instead. */
|
|
2532
|
+
export const outboundSchema =
|
|
2533
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$outboundSchema;
|
|
2534
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$Outbound` instead. */
|
|
2535
|
+
export type Outbound =
|
|
2536
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$Outbound;
|
|
2537
|
+
}
|
|
2538
|
+
|
|
2539
|
+
export function recipientUpdateTemplateRecipientsTemplatesRecipientsRecipientsToJSON(
|
|
2540
|
+
recipientUpdateTemplateRecipientsTemplatesRecipientsRecipients:
|
|
2541
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients,
|
|
2542
|
+
): string {
|
|
2543
|
+
return JSON.stringify(
|
|
2544
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$outboundSchema
|
|
2545
|
+
.parse(recipientUpdateTemplateRecipientsTemplatesRecipientsRecipients),
|
|
2546
|
+
);
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2549
|
+
export function recipientUpdateTemplateRecipientsTemplatesRecipientsRecipientsFromJSON(
|
|
2550
|
+
jsonString: string,
|
|
2551
|
+
): SafeParseResult<
|
|
2552
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients,
|
|
2553
|
+
SDKValidationError
|
|
2554
|
+
> {
|
|
2555
|
+
return safeParse(
|
|
2556
|
+
jsonString,
|
|
2557
|
+
(x) =>
|
|
2558
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$inboundSchema
|
|
2559
|
+
.parse(JSON.parse(x)),
|
|
2560
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients' from JSON`,
|
|
2561
|
+
);
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
/** @internal */
|
|
2565
|
+
export const RecipientUpdateTemplateRecipientsResponseBody$inboundSchema:
|
|
2566
|
+
z.ZodType<
|
|
2567
|
+
RecipientUpdateTemplateRecipientsResponseBody,
|
|
2568
|
+
z.ZodTypeDef,
|
|
2569
|
+
unknown
|
|
2570
|
+
> = z.object({
|
|
2571
|
+
recipients: z.array(
|
|
2572
|
+
z.lazy(() =>
|
|
2573
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$inboundSchema
|
|
2574
|
+
),
|
|
2575
|
+
),
|
|
2576
|
+
});
|
|
2577
|
+
|
|
2578
|
+
/** @internal */
|
|
2579
|
+
export type RecipientUpdateTemplateRecipientsResponseBody$Outbound = {
|
|
2580
|
+
recipients: Array<
|
|
2581
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$Outbound
|
|
2582
|
+
>;
|
|
2583
|
+
};
|
|
2584
|
+
|
|
2585
|
+
/** @internal */
|
|
2586
|
+
export const RecipientUpdateTemplateRecipientsResponseBody$outboundSchema:
|
|
2587
|
+
z.ZodType<
|
|
2588
|
+
RecipientUpdateTemplateRecipientsResponseBody$Outbound,
|
|
2589
|
+
z.ZodTypeDef,
|
|
2590
|
+
RecipientUpdateTemplateRecipientsResponseBody
|
|
2591
|
+
> = z.object({
|
|
2592
|
+
recipients: z.array(
|
|
2593
|
+
z.lazy(() =>
|
|
2594
|
+
RecipientUpdateTemplateRecipientsTemplatesRecipientsRecipients$outboundSchema
|
|
2595
|
+
),
|
|
2596
|
+
),
|
|
2597
|
+
});
|
|
2598
|
+
|
|
2599
|
+
/**
|
|
2600
|
+
* @internal
|
|
2601
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2602
|
+
*/
|
|
2603
|
+
export namespace RecipientUpdateTemplateRecipientsResponseBody$ {
|
|
2604
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$inboundSchema` instead. */
|
|
2605
|
+
export const inboundSchema =
|
|
2606
|
+
RecipientUpdateTemplateRecipientsResponseBody$inboundSchema;
|
|
2607
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$outboundSchema` instead. */
|
|
2608
|
+
export const outboundSchema =
|
|
2609
|
+
RecipientUpdateTemplateRecipientsResponseBody$outboundSchema;
|
|
2610
|
+
/** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$Outbound` instead. */
|
|
2611
|
+
export type Outbound = RecipientUpdateTemplateRecipientsResponseBody$Outbound;
|
|
2612
|
+
}
|
|
2613
|
+
|
|
2614
|
+
export function recipientUpdateTemplateRecipientsResponseBodyToJSON(
|
|
2615
|
+
recipientUpdateTemplateRecipientsResponseBody:
|
|
2616
|
+
RecipientUpdateTemplateRecipientsResponseBody,
|
|
2617
|
+
): string {
|
|
2618
|
+
return JSON.stringify(
|
|
2619
|
+
RecipientUpdateTemplateRecipientsResponseBody$outboundSchema.parse(
|
|
2620
|
+
recipientUpdateTemplateRecipientsResponseBody,
|
|
2621
|
+
),
|
|
2622
|
+
);
|
|
2623
|
+
}
|
|
2624
|
+
|
|
2625
|
+
export function recipientUpdateTemplateRecipientsResponseBodyFromJSON(
|
|
2626
|
+
jsonString: string,
|
|
2627
|
+
): SafeParseResult<
|
|
2628
|
+
RecipientUpdateTemplateRecipientsResponseBody,
|
|
2629
|
+
SDKValidationError
|
|
2630
|
+
> {
|
|
2631
|
+
return safeParse(
|
|
2632
|
+
jsonString,
|
|
2633
|
+
(x) =>
|
|
2634
|
+
RecipientUpdateTemplateRecipientsResponseBody$inboundSchema.parse(
|
|
2635
|
+
JSON.parse(x),
|
|
2636
|
+
),
|
|
2637
|
+
`Failed to parse 'RecipientUpdateTemplateRecipientsResponseBody' from JSON`,
|
|
2638
|
+
);
|
|
2639
|
+
}
|