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