@documenso/sdk-typescript 0.1.1 → 0.1.3
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/FUNCTIONS.md +3 -1
- package/README.md +178 -235
- package/docs/sdks/directlink/README.md +22 -22
- package/docs/sdks/documensofields/README.md +209 -121
- package/docs/sdks/documensorecipients/README.md +187 -79
- package/docs/sdks/documents/README.md +73 -69
- package/docs/sdks/fields/README.md +497 -16
- package/docs/sdks/recipients/README.md +467 -16
- package/docs/sdks/templates/README.md +68 -54
- package/funcs/documentsCreateV0.d.ts +1 -1
- package/funcs/documentsCreateV0.d.ts.map +1 -1
- package/funcs/documentsCreateV0.js +1 -1
- package/funcs/documentsCreateV0.js.map +1 -1
- package/funcs/documentsDelete.d.ts +1 -1
- package/funcs/documentsDelete.d.ts.map +1 -1
- package/funcs/documentsDelete.js +1 -2
- package/funcs/documentsDelete.js.map +1 -1
- package/funcs/documentsDistribute.d.ts +1 -1
- package/funcs/documentsDistribute.d.ts.map +1 -1
- package/funcs/documentsDistribute.js +1 -1
- package/funcs/documentsDistribute.js.map +1 -1
- package/funcs/documentsDuplicate.d.ts +1 -1
- package/funcs/documentsDuplicate.d.ts.map +1 -1
- package/funcs/documentsDuplicate.js +1 -1
- package/funcs/documentsDuplicate.js.map +1 -1
- package/funcs/documentsFieldsCreate.d.ts +1 -1
- package/funcs/documentsFieldsCreate.d.ts.map +1 -1
- package/funcs/documentsFieldsCreate.js +1 -1
- package/funcs/documentsFieldsCreate.js.map +1 -1
- package/funcs/documentsFieldsCreateMany.d.ts +1 -1
- package/funcs/documentsFieldsCreateMany.d.ts.map +1 -1
- package/funcs/documentsFieldsCreateMany.js +1 -1
- package/funcs/documentsFieldsCreateMany.js.map +1 -1
- package/funcs/documentsFieldsDelete.d.ts +1 -1
- package/funcs/documentsFieldsDelete.d.ts.map +1 -1
- package/funcs/documentsFieldsDelete.js +1 -2
- package/funcs/documentsFieldsDelete.js.map +1 -1
- package/funcs/documentsFieldsGet.d.ts +16 -0
- package/funcs/documentsFieldsGet.d.ts.map +1 -0
- package/funcs/{fieldsGet.js → documentsFieldsGet.js} +10 -9
- package/funcs/documentsFieldsGet.js.map +1 -0
- package/funcs/documentsFieldsUpdate.d.ts +1 -1
- package/funcs/documentsFieldsUpdate.d.ts.map +1 -1
- package/funcs/documentsFieldsUpdate.js +1 -1
- package/funcs/documentsFieldsUpdate.js.map +1 -1
- package/funcs/documentsFieldsUpdateMany.d.ts +1 -1
- package/funcs/documentsFieldsUpdateMany.d.ts.map +1 -1
- package/funcs/documentsFieldsUpdateMany.js +1 -1
- package/funcs/documentsFieldsUpdateMany.js.map +1 -1
- package/funcs/documentsFind.d.ts +1 -1
- package/funcs/documentsFind.d.ts.map +1 -1
- package/funcs/documentsFind.js +1 -1
- package/funcs/documentsFind.js.map +1 -1
- package/funcs/documentsGet.d.ts +1 -1
- package/funcs/documentsGet.d.ts.map +1 -1
- package/funcs/documentsGet.js +3 -1
- package/funcs/documentsGet.js.map +1 -1
- package/funcs/documentsMoveToTeam.d.ts +1 -1
- package/funcs/documentsMoveToTeam.d.ts.map +1 -1
- package/funcs/documentsMoveToTeam.js +1 -1
- package/funcs/documentsMoveToTeam.js.map +1 -1
- package/funcs/documentsRecipientsCreate.d.ts +1 -1
- package/funcs/documentsRecipientsCreate.d.ts.map +1 -1
- package/funcs/documentsRecipientsCreate.js +2 -1
- package/funcs/documentsRecipientsCreate.js.map +1 -1
- package/funcs/documentsRecipientsCreateMany.d.ts +1 -1
- package/funcs/documentsRecipientsCreateMany.d.ts.map +1 -1
- package/funcs/documentsRecipientsCreateMany.js +2 -1
- package/funcs/documentsRecipientsCreateMany.js.map +1 -1
- package/funcs/documentsRecipientsDelete.d.ts +1 -1
- package/funcs/documentsRecipientsDelete.d.ts.map +1 -1
- package/funcs/documentsRecipientsDelete.js +2 -2
- package/funcs/documentsRecipientsDelete.js.map +1 -1
- package/funcs/documentsRecipientsGet.d.ts +16 -0
- package/funcs/documentsRecipientsGet.d.ts.map +1 -0
- package/funcs/{recipientsGet.js → documentsRecipientsGet.js} +11 -9
- package/funcs/documentsRecipientsGet.js.map +1 -0
- package/funcs/documentsRecipientsUpdate.d.ts +1 -1
- package/funcs/documentsRecipientsUpdate.d.ts.map +1 -1
- package/funcs/documentsRecipientsUpdate.js +2 -1
- package/funcs/documentsRecipientsUpdate.js.map +1 -1
- package/funcs/documentsRecipientsUpdateMany.d.ts +1 -1
- package/funcs/documentsRecipientsUpdateMany.d.ts.map +1 -1
- package/funcs/documentsRecipientsUpdateMany.js +2 -1
- package/funcs/documentsRecipientsUpdateMany.js.map +1 -1
- package/funcs/documentsRedistribute.d.ts +1 -1
- package/funcs/documentsRedistribute.d.ts.map +1 -1
- package/funcs/documentsRedistribute.js +1 -2
- package/funcs/documentsRedistribute.js.map +1 -1
- package/funcs/documentsUpdate.d.ts +1 -1
- package/funcs/documentsUpdate.d.ts.map +1 -1
- package/funcs/documentsUpdate.js +1 -1
- package/funcs/documentsUpdate.js.map +1 -1
- package/funcs/templatesDelete.d.ts +1 -1
- package/funcs/templatesDelete.d.ts.map +1 -1
- package/funcs/templatesDelete.js +1 -2
- package/funcs/templatesDelete.js.map +1 -1
- package/funcs/templatesDirectLinkCreate.d.ts +1 -1
- package/funcs/templatesDirectLinkCreate.d.ts.map +1 -1
- package/funcs/templatesDirectLinkCreate.js +2 -1
- package/funcs/templatesDirectLinkCreate.js.map +1 -1
- package/funcs/templatesDirectLinkDelete.d.ts +1 -1
- package/funcs/templatesDirectLinkDelete.d.ts.map +1 -1
- package/funcs/templatesDirectLinkDelete.js +2 -2
- package/funcs/templatesDirectLinkDelete.js.map +1 -1
- package/funcs/templatesDirectLinkToggle.d.ts +1 -1
- package/funcs/templatesDirectLinkToggle.d.ts.map +1 -1
- package/funcs/templatesDirectLinkToggle.js +2 -1
- package/funcs/templatesDirectLinkToggle.js.map +1 -1
- package/funcs/templatesDuplicate.d.ts +1 -1
- package/funcs/templatesDuplicate.d.ts.map +1 -1
- package/funcs/templatesDuplicate.js +1 -1
- package/funcs/templatesDuplicate.js.map +1 -1
- package/funcs/templatesFieldsCreate.d.ts +1 -1
- package/funcs/templatesFieldsCreate.d.ts.map +1 -1
- package/funcs/templatesFieldsCreate.js +1 -1
- package/funcs/templatesFieldsCreate.js.map +1 -1
- package/funcs/templatesFieldsCreateMany.d.ts +1 -1
- package/funcs/templatesFieldsCreateMany.d.ts.map +1 -1
- package/funcs/templatesFieldsCreateMany.js +1 -1
- package/funcs/templatesFieldsCreateMany.js.map +1 -1
- package/funcs/templatesFieldsDelete.d.ts +1 -1
- package/funcs/templatesFieldsDelete.d.ts.map +1 -1
- package/funcs/templatesFieldsDelete.js +1 -2
- package/funcs/templatesFieldsDelete.js.map +1 -1
- package/funcs/templatesFieldsGet.d.ts +16 -0
- package/funcs/templatesFieldsGet.d.ts.map +1 -0
- package/funcs/templatesFieldsGet.js +117 -0
- package/funcs/templatesFieldsGet.js.map +1 -0
- package/funcs/templatesFieldsUpdate.d.ts +1 -1
- package/funcs/templatesFieldsUpdate.d.ts.map +1 -1
- package/funcs/templatesFieldsUpdate.js +1 -1
- package/funcs/templatesFieldsUpdate.js.map +1 -1
- package/funcs/templatesFieldsUpdateMany.d.ts +1 -1
- package/funcs/templatesFieldsUpdateMany.d.ts.map +1 -1
- package/funcs/templatesFieldsUpdateMany.js +1 -1
- package/funcs/templatesFieldsUpdateMany.js.map +1 -1
- package/funcs/templatesFind.d.ts +1 -1
- package/funcs/templatesFind.d.ts.map +1 -1
- package/funcs/templatesFind.js +1 -1
- package/funcs/templatesFind.js.map +1 -1
- package/funcs/templatesGet.d.ts +1 -1
- package/funcs/templatesGet.d.ts.map +1 -1
- package/funcs/templatesGet.js +1 -1
- package/funcs/templatesGet.js.map +1 -1
- package/funcs/templatesMoveToTeam.d.ts +1 -1
- package/funcs/templatesMoveToTeam.d.ts.map +1 -1
- package/funcs/templatesMoveToTeam.js +1 -1
- package/funcs/templatesMoveToTeam.js.map +1 -1
- package/funcs/templatesRecipientsCreate.d.ts +1 -1
- package/funcs/templatesRecipientsCreate.d.ts.map +1 -1
- package/funcs/templatesRecipientsCreate.js +2 -1
- package/funcs/templatesRecipientsCreate.js.map +1 -1
- package/funcs/templatesRecipientsCreateMany.d.ts +1 -1
- package/funcs/templatesRecipientsCreateMany.d.ts.map +1 -1
- package/funcs/templatesRecipientsCreateMany.js +2 -1
- package/funcs/templatesRecipientsCreateMany.js.map +1 -1
- package/funcs/templatesRecipientsDelete.d.ts +1 -1
- package/funcs/templatesRecipientsDelete.d.ts.map +1 -1
- package/funcs/templatesRecipientsDelete.js +2 -2
- package/funcs/templatesRecipientsDelete.js.map +1 -1
- package/funcs/templatesRecipientsGet.d.ts +16 -0
- package/funcs/templatesRecipientsGet.d.ts.map +1 -0
- package/funcs/templatesRecipientsGet.js +118 -0
- package/funcs/templatesRecipientsGet.js.map +1 -0
- package/funcs/templatesRecipientsUpdate.d.ts +1 -1
- package/funcs/templatesRecipientsUpdate.d.ts.map +1 -1
- package/funcs/templatesRecipientsUpdate.js +2 -1
- package/funcs/templatesRecipientsUpdate.js.map +1 -1
- package/funcs/templatesRecipientsUpdateMany.d.ts +1 -1
- package/funcs/templatesRecipientsUpdateMany.d.ts.map +1 -1
- package/funcs/templatesRecipientsUpdateMany.js +2 -1
- package/funcs/templatesRecipientsUpdateMany.js.map +1 -1
- package/funcs/templatesUpdate.d.ts +1 -1
- package/funcs/templatesUpdate.d.ts.map +1 -1
- package/funcs/templatesUpdate.js +1 -1
- package/funcs/templatesUpdate.js.map +1 -1
- package/funcs/templatesUse.d.ts +1 -1
- package/funcs/templatesUse.d.ts.map +1 -1
- package/funcs/templatesUse.js +2 -1
- package/funcs/templatesUse.js.map +1 -1
- package/hooks/hooks.d.ts.map +1 -1
- package/hooks/hooks.js +0 -2
- package/hooks/hooks.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.d.ts.map +1 -1
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/schemas.d.ts +1 -1
- package/lib/schemas.d.ts.map +1 -1
- package/lib/schemas.js +4 -1
- package/lib/schemas.js.map +1 -1
- package/models/errors/documentcreatedocumenttemporary.d.ts +134 -0
- package/models/errors/documentcreatedocumenttemporary.d.ts.map +1 -0
- package/models/errors/documentcreatedocumenttemporary.js +186 -0
- package/models/errors/documentcreatedocumenttemporary.js.map +1 -0
- package/models/errors/documentdeletedocument.d.ts +134 -0
- package/models/errors/documentdeletedocument.d.ts.map +1 -0
- package/models/errors/documentdeletedocument.js +188 -0
- package/models/errors/documentdeletedocument.js.map +1 -0
- package/models/errors/documentduplicatedocument.d.ts +134 -0
- package/models/errors/documentduplicatedocument.d.ts.map +1 -0
- package/models/errors/documentduplicatedocument.js +187 -0
- package/models/errors/documentduplicatedocument.js.map +1 -0
- package/models/errors/documentfinddocuments.d.ts +199 -0
- package/models/errors/documentfinddocuments.d.ts.map +1 -0
- package/models/errors/documentfinddocuments.js +261 -0
- package/models/errors/documentfinddocuments.js.map +1 -0
- package/models/errors/documentgetdocumentwithdetailsbyid.d.ts +199 -0
- package/models/errors/documentgetdocumentwithdetailsbyid.d.ts.map +1 -0
- package/models/errors/documentgetdocumentwithdetailsbyid.js +261 -0
- package/models/errors/documentgetdocumentwithdetailsbyid.js.map +1 -0
- package/models/errors/documentmovedocumenttoteam.d.ts +134 -0
- package/models/errors/documentmovedocumenttoteam.d.ts.map +1 -0
- package/models/errors/documentmovedocumenttoteam.js +187 -0
- package/models/errors/documentmovedocumenttoteam.js.map +1 -0
- package/models/errors/documentresenddocument.d.ts +134 -0
- package/models/errors/documentresenddocument.d.ts.map +1 -0
- package/models/errors/documentresenddocument.js +188 -0
- package/models/errors/documentresenddocument.js.map +1 -0
- package/models/errors/documentsenddocument.d.ts +134 -0
- package/models/errors/documentsenddocument.d.ts.map +1 -0
- package/models/errors/documentsenddocument.js +188 -0
- package/models/errors/documentsenddocument.js.map +1 -0
- package/models/errors/documentsetsettingsfordocument.d.ts +134 -0
- package/models/errors/documentsetsettingsfordocument.d.ts.map +1 -0
- package/models/errors/documentsetsettingsfordocument.js +186 -0
- package/models/errors/documentsetsettingsfordocument.js.map +1 -0
- package/models/errors/fieldcreatedocumentfield.d.ts +134 -0
- package/models/errors/fieldcreatedocumentfield.d.ts.map +1 -0
- package/models/errors/fieldcreatedocumentfield.js +188 -0
- package/models/errors/fieldcreatedocumentfield.js.map +1 -0
- package/models/errors/fieldcreatedocumentfields.d.ts +134 -0
- package/models/errors/fieldcreatedocumentfields.d.ts.map +1 -0
- package/models/errors/fieldcreatedocumentfields.js +187 -0
- package/models/errors/fieldcreatedocumentfields.js.map +1 -0
- package/models/errors/fieldcreatetemplatefield.d.ts +134 -0
- package/models/errors/fieldcreatetemplatefield.d.ts.map +1 -0
- package/models/errors/fieldcreatetemplatefield.js +188 -0
- package/models/errors/fieldcreatetemplatefield.js.map +1 -0
- package/models/errors/fieldcreatetemplatefields.d.ts +134 -0
- package/models/errors/fieldcreatetemplatefields.d.ts.map +1 -0
- package/models/errors/fieldcreatetemplatefields.js +187 -0
- package/models/errors/fieldcreatetemplatefields.js.map +1 -0
- package/models/errors/fielddeletedocumentfield.d.ts +134 -0
- package/models/errors/fielddeletedocumentfield.d.ts.map +1 -0
- package/models/errors/fielddeletedocumentfield.js +188 -0
- package/models/errors/fielddeletedocumentfield.js.map +1 -0
- package/models/errors/fielddeletetemplatefield.d.ts +134 -0
- package/models/errors/fielddeletetemplatefield.d.ts.map +1 -0
- package/models/errors/fielddeletetemplatefield.js +188 -0
- package/models/errors/fielddeletetemplatefield.js.map +1 -0
- package/models/errors/fieldgetdocumentfield.d.ts +199 -0
- package/models/errors/fieldgetdocumentfield.d.ts.map +1 -0
- package/models/errors/fieldgetdocumentfield.js +260 -0
- package/models/errors/fieldgetdocumentfield.js.map +1 -0
- package/models/errors/fieldgettemplatefield.d.ts +199 -0
- package/models/errors/fieldgettemplatefield.d.ts.map +1 -0
- package/models/errors/fieldgettemplatefield.js +260 -0
- package/models/errors/fieldgettemplatefield.js.map +1 -0
- package/models/errors/fieldupdatedocumentfield.d.ts +134 -0
- package/models/errors/fieldupdatedocumentfield.d.ts.map +1 -0
- package/models/errors/fieldupdatedocumentfield.js +188 -0
- package/models/errors/fieldupdatedocumentfield.js.map +1 -0
- package/models/errors/fieldupdatedocumentfields.d.ts +134 -0
- package/models/errors/fieldupdatedocumentfields.d.ts.map +1 -0
- package/models/errors/fieldupdatedocumentfields.js +187 -0
- package/models/errors/fieldupdatedocumentfields.js.map +1 -0
- package/models/errors/fieldupdatetemplatefield.d.ts +134 -0
- package/models/errors/fieldupdatetemplatefield.d.ts.map +1 -0
- package/models/errors/fieldupdatetemplatefield.js +188 -0
- package/models/errors/fieldupdatetemplatefield.js.map +1 -0
- package/models/errors/fieldupdatetemplatefields.d.ts +134 -0
- package/models/errors/fieldupdatetemplatefields.d.ts.map +1 -0
- package/models/errors/fieldupdatetemplatefields.js +187 -0
- package/models/errors/fieldupdatetemplatefields.js.map +1 -0
- package/models/errors/index.d.ts +43 -3
- package/models/errors/index.d.ts.map +1 -1
- package/models/errors/index.js +43 -3
- package/models/errors/index.js.map +1 -1
- package/models/errors/recipientcreatedocumentrecipient.d.ts +134 -0
- package/models/errors/recipientcreatedocumentrecipient.d.ts.map +1 -0
- package/models/errors/recipientcreatedocumentrecipient.js +189 -0
- package/models/errors/recipientcreatedocumentrecipient.js.map +1 -0
- package/models/errors/recipientcreatedocumentrecipients.d.ts +134 -0
- package/models/errors/recipientcreatedocumentrecipients.d.ts.map +1 -0
- package/models/errors/recipientcreatedocumentrecipients.js +189 -0
- package/models/errors/recipientcreatedocumentrecipients.js.map +1 -0
- package/models/errors/recipientcreatetemplaterecipient.d.ts +134 -0
- package/models/errors/recipientcreatetemplaterecipient.d.ts.map +1 -0
- package/models/errors/recipientcreatetemplaterecipient.js +189 -0
- package/models/errors/recipientcreatetemplaterecipient.js.map +1 -0
- package/models/errors/recipientcreatetemplaterecipients.d.ts +134 -0
- package/models/errors/recipientcreatetemplaterecipients.d.ts.map +1 -0
- package/models/errors/recipientcreatetemplaterecipients.js +189 -0
- package/models/errors/recipientcreatetemplaterecipients.js.map +1 -0
- package/models/errors/recipientdeletedocumentrecipient.d.ts +134 -0
- package/models/errors/recipientdeletedocumentrecipient.d.ts.map +1 -0
- package/models/errors/recipientdeletedocumentrecipient.js +189 -0
- package/models/errors/recipientdeletedocumentrecipient.js.map +1 -0
- package/models/errors/recipientdeletetemplaterecipient.d.ts +134 -0
- package/models/errors/recipientdeletetemplaterecipient.d.ts.map +1 -0
- package/models/errors/recipientdeletetemplaterecipient.js +189 -0
- package/models/errors/recipientdeletetemplaterecipient.js.map +1 -0
- package/models/errors/recipientgetdocumentrecipient.d.ts +199 -0
- package/models/errors/recipientgetdocumentrecipient.d.ts.map +1 -0
- package/models/errors/recipientgetdocumentrecipient.js +262 -0
- package/models/errors/recipientgetdocumentrecipient.js.map +1 -0
- package/models/errors/recipientgettemplaterecipient.d.ts +199 -0
- package/models/errors/recipientgettemplaterecipient.d.ts.map +1 -0
- package/models/errors/recipientgettemplaterecipient.js +262 -0
- package/models/errors/recipientgettemplaterecipient.js.map +1 -0
- package/models/errors/recipientupdatedocumentrecipient.d.ts +134 -0
- package/models/errors/recipientupdatedocumentrecipient.d.ts.map +1 -0
- package/models/errors/recipientupdatedocumentrecipient.js +189 -0
- package/models/errors/recipientupdatedocumentrecipient.js.map +1 -0
- package/models/errors/recipientupdatedocumentrecipients.d.ts +134 -0
- package/models/errors/recipientupdatedocumentrecipients.d.ts.map +1 -0
- package/models/errors/recipientupdatedocumentrecipients.js +189 -0
- package/models/errors/recipientupdatedocumentrecipients.js.map +1 -0
- package/models/errors/recipientupdatetemplaterecipient.d.ts +134 -0
- package/models/errors/recipientupdatetemplaterecipient.d.ts.map +1 -0
- package/models/errors/recipientupdatetemplaterecipient.js +189 -0
- package/models/errors/recipientupdatetemplaterecipient.js.map +1 -0
- package/models/errors/recipientupdatetemplaterecipients.d.ts +134 -0
- package/models/errors/recipientupdatetemplaterecipients.d.ts.map +1 -0
- package/models/errors/recipientupdatetemplaterecipients.js +189 -0
- package/models/errors/recipientupdatetemplaterecipients.js.map +1 -0
- package/models/errors/templatecreatedocumentfromtemplate.d.ts +134 -0
- package/models/errors/templatecreatedocumentfromtemplate.d.ts.map +1 -0
- package/models/errors/templatecreatedocumentfromtemplate.js +186 -0
- package/models/errors/templatecreatedocumentfromtemplate.js.map +1 -0
- package/models/errors/templatecreatetemplatedirectlink.d.ts +134 -0
- package/models/errors/templatecreatetemplatedirectlink.d.ts.map +1 -0
- package/models/errors/templatecreatetemplatedirectlink.js +189 -0
- package/models/errors/templatecreatetemplatedirectlink.js.map +1 -0
- package/models/errors/templatedeletetemplate.d.ts +134 -0
- package/models/errors/templatedeletetemplate.d.ts.map +1 -0
- package/models/errors/templatedeletetemplate.js +188 -0
- package/models/errors/templatedeletetemplate.js.map +1 -0
- package/models/errors/templatedeletetemplatedirectlink.d.ts +134 -0
- package/models/errors/templatedeletetemplatedirectlink.d.ts.map +1 -0
- package/models/errors/templatedeletetemplatedirectlink.js +189 -0
- package/models/errors/templatedeletetemplatedirectlink.js.map +1 -0
- package/models/errors/templateduplicatetemplate.d.ts +134 -0
- package/models/errors/templateduplicatetemplate.d.ts.map +1 -0
- package/models/errors/templateduplicatetemplate.js +187 -0
- package/models/errors/templateduplicatetemplate.js.map +1 -0
- package/models/errors/templatefindtemplates.d.ts +199 -0
- package/models/errors/templatefindtemplates.d.ts.map +1 -0
- package/models/errors/templatefindtemplates.js +260 -0
- package/models/errors/templatefindtemplates.js.map +1 -0
- package/models/errors/templategettemplatebyid.d.ts +199 -0
- package/models/errors/templategettemplatebyid.d.ts.map +1 -0
- package/models/errors/templategettemplatebyid.js +260 -0
- package/models/errors/templategettemplatebyid.js.map +1 -0
- package/models/errors/templatemovetemplatetoteam.d.ts +134 -0
- package/models/errors/templatemovetemplatetoteam.d.ts.map +1 -0
- package/models/errors/templatemovetemplatetoteam.js +187 -0
- package/models/errors/templatemovetemplatetoteam.js.map +1 -0
- package/models/errors/templatetoggletemplatedirectlink.d.ts +134 -0
- package/models/errors/templatetoggletemplatedirectlink.d.ts.map +1 -0
- package/models/errors/templatetoggletemplatedirectlink.js +189 -0
- package/models/errors/templatetoggletemplatedirectlink.js.map +1 -0
- package/models/errors/templateupdatetemplate.d.ts +134 -0
- package/models/errors/templateupdatetemplate.d.ts.map +1 -0
- package/models/errors/templateupdatetemplate.js +188 -0
- package/models/errors/templateupdatetemplate.js.map +1 -0
- package/models/operations/documentdeletedocument.d.ts +28 -0
- package/models/operations/documentdeletedocument.d.ts.map +1 -1
- package/models/operations/documentdeletedocument.js +28 -1
- package/models/operations/documentdeletedocument.js.map +1 -1
- package/models/operations/documentresenddocument.d.ts +28 -0
- package/models/operations/documentresenddocument.d.ts.map +1 -1
- package/models/operations/documentresenddocument.js +28 -1
- package/models/operations/documentresenddocument.js.map +1 -1
- package/models/operations/fielddeletedocumentfield.d.ts +28 -0
- package/models/operations/fielddeletedocumentfield.d.ts.map +1 -1
- package/models/operations/fielddeletedocumentfield.js +28 -1
- package/models/operations/fielddeletedocumentfield.js.map +1 -1
- package/models/operations/fielddeletetemplatefield.d.ts +28 -0
- package/models/operations/fielddeletetemplatefield.d.ts.map +1 -1
- package/models/operations/fielddeletetemplatefield.js +28 -1
- package/models/operations/fielddeletetemplatefield.js.map +1 -1
- package/models/operations/{fieldgetfield.d.ts → fieldgetdocumentfield.d.ts} +142 -142
- package/models/operations/fieldgetdocumentfield.d.ts.map +1 -0
- package/models/operations/fieldgetdocumentfield.js +817 -0
- package/models/operations/fieldgetdocumentfield.js.map +1 -0
- package/models/operations/fieldgettemplatefield.d.ts +774 -0
- package/models/operations/fieldgettemplatefield.d.ts.map +1 -0
- package/models/operations/fieldgettemplatefield.js +819 -0
- package/models/operations/fieldgettemplatefield.js.map +1 -0
- package/models/operations/index.d.ts +4 -2
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +4 -2
- package/models/operations/index.js.map +1 -1
- package/models/operations/recipientdeletedocumentrecipient.d.ts +28 -0
- package/models/operations/recipientdeletedocumentrecipient.d.ts.map +1 -1
- package/models/operations/recipientdeletedocumentrecipient.js +28 -1
- package/models/operations/recipientdeletedocumentrecipient.js.map +1 -1
- package/models/operations/recipientdeletetemplaterecipient.d.ts +28 -0
- package/models/operations/recipientdeletetemplaterecipient.d.ts.map +1 -1
- package/models/operations/recipientdeletetemplaterecipient.js +28 -1
- package/models/operations/recipientdeletetemplaterecipient.js.map +1 -1
- package/models/operations/recipientgetdocumentrecipient.d.ts +1041 -0
- package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -0
- package/models/operations/recipientgetdocumentrecipient.js +1038 -0
- package/models/operations/recipientgetdocumentrecipient.js.map +1 -0
- package/models/operations/recipientgettemplaterecipient.d.ts +1041 -0
- package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -0
- package/models/operations/recipientgettemplaterecipient.js +1039 -0
- package/models/operations/recipientgettemplaterecipient.js.map +1 -0
- package/models/operations/templatedeletetemplate.d.ts +28 -0
- package/models/operations/templatedeletetemplate.d.ts.map +1 -1
- package/models/operations/templatedeletetemplate.js +28 -1
- package/models/operations/templatedeletetemplate.js.map +1 -1
- package/models/operations/templatedeletetemplatedirectlink.d.ts +28 -0
- package/models/operations/templatedeletetemplatedirectlink.d.ts.map +1 -1
- package/models/operations/templatedeletetemplatedirectlink.js +28 -1
- package/models/operations/templatedeletetemplatedirectlink.js.map +1 -1
- package/package.json +5 -1
- package/sdk/directlink.d.ts +1 -1
- package/sdk/directlink.d.ts.map +1 -1
- package/sdk/documensofields.d.ts +21 -14
- package/sdk/documensofields.d.ts.map +1 -1
- package/sdk/documensofields.js +29 -19
- package/sdk/documensofields.js.map +1 -1
- package/sdk/documensorecipients.d.ts +21 -14
- package/sdk/documensorecipients.d.ts.map +1 -1
- package/sdk/documensorecipients.js +29 -19
- package/sdk/documensorecipients.js.map +1 -1
- package/sdk/documents.d.ts +6 -6
- package/sdk/documents.d.ts.map +1 -1
- package/sdk/documents.js +4 -4
- package/sdk/documents.js.map +1 -1
- package/sdk/fields.d.ts +35 -3
- package/sdk/fields.d.ts.map +1 -1
- package/sdk/fields.js +51 -4
- package/sdk/fields.js.map +1 -1
- package/sdk/recipients.d.ts +35 -3
- package/sdk/recipients.d.ts.map +1 -1
- package/sdk/recipients.js +51 -4
- package/sdk/recipients.js.map +1 -1
- package/sdk/sdk.d.ts +0 -6
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +0 -8
- package/sdk/sdk.js.map +1 -1
- package/sdk/templates.d.ts +5 -5
- package/sdk/templates.d.ts.map +1 -1
- package/sdk/templates.js +4 -4
- package/sdk/templates.js.map +1 -1
- package/src/funcs/documentsCreateV0.ts +12 -6
- package/src/funcs/documentsDelete.ts +12 -10
- package/src/funcs/documentsDistribute.ts +9 -6
- package/src/funcs/documentsDuplicate.ts +9 -6
- package/src/funcs/documentsFieldsCreate.ts +9 -6
- package/src/funcs/documentsFieldsCreateMany.ts +9 -6
- package/src/funcs/documentsFieldsDelete.ts +12 -10
- package/src/funcs/{fieldsGet.ts → documentsFieldsGet.ts} +27 -19
- package/src/funcs/documentsFieldsUpdate.ts +9 -6
- package/src/funcs/documentsFieldsUpdateMany.ts +9 -6
- package/src/funcs/documentsFind.ts +15 -9
- package/src/funcs/documentsGet.ts +20 -9
- package/src/funcs/documentsMoveToTeam.ts +9 -6
- package/src/funcs/documentsRecipientsCreate.ts +13 -6
- package/src/funcs/documentsRecipientsCreateMany.ts +13 -6
- package/src/funcs/documentsRecipientsDelete.ts +19 -10
- package/src/funcs/documentsRecipientsGet.ts +163 -0
- package/src/funcs/documentsRecipientsUpdate.ts +13 -6
- package/src/funcs/documentsRecipientsUpdateMany.ts +13 -6
- package/src/funcs/documentsRedistribute.ts +12 -10
- package/src/funcs/documentsUpdate.ts +12 -6
- package/src/funcs/templatesDelete.ts +12 -10
- package/src/funcs/templatesDirectLinkCreate.ts +13 -6
- package/src/funcs/templatesDirectLinkDelete.ts +19 -10
- package/src/funcs/templatesDirectLinkToggle.ts +13 -6
- package/src/funcs/templatesDuplicate.ts +9 -6
- package/src/funcs/templatesFieldsCreate.ts +9 -6
- package/src/funcs/templatesFieldsCreateMany.ts +9 -6
- package/src/funcs/templatesFieldsDelete.ts +12 -10
- package/src/funcs/{recipientsGet.ts → templatesFieldsGet.ts} +27 -20
- package/src/funcs/templatesFieldsUpdate.ts +9 -6
- package/src/funcs/templatesFieldsUpdateMany.ts +9 -6
- package/src/funcs/templatesFind.ts +15 -9
- package/src/funcs/templatesGet.ts +15 -9
- package/src/funcs/templatesMoveToTeam.ts +9 -6
- package/src/funcs/templatesRecipientsCreate.ts +13 -6
- package/src/funcs/templatesRecipientsCreateMany.ts +13 -6
- package/src/funcs/templatesRecipientsDelete.ts +19 -10
- package/src/funcs/templatesRecipientsGet.ts +163 -0
- package/src/funcs/templatesRecipientsUpdate.ts +13 -6
- package/src/funcs/templatesRecipientsUpdateMany.ts +13 -6
- package/src/funcs/templatesUpdate.ts +9 -6
- package/src/funcs/templatesUse.ts +13 -6
- package/src/hooks/hooks.ts +0 -3
- package/src/lib/config.ts +4 -4
- package/src/lib/schemas.ts +5 -0
- package/src/models/errors/documentcreatedocumenttemporary.ts +328 -0
- package/src/models/errors/documentdeletedocument.ts +302 -0
- package/src/models/errors/documentduplicatedocument.ts +311 -0
- package/src/models/errors/documentfinddocuments.ts +435 -0
- package/src/models/errors/documentgetdocumentwithdetailsbyid.ts +520 -0
- package/src/models/errors/documentmovedocumenttoteam.ts +314 -0
- package/src/models/errors/documentresenddocument.ts +302 -0
- package/src/models/errors/documentsenddocument.ts +298 -0
- package/src/models/errors/documentsetsettingsfordocument.ts +320 -0
- package/src/models/errors/fieldcreatedocumentfield.ts +316 -0
- package/src/models/errors/fieldcreatedocumentfields.ts +322 -0
- package/src/models/errors/fieldcreatetemplatefield.ts +316 -0
- package/src/models/errors/fieldcreatetemplatefields.ts +322 -0
- package/src/models/errors/fielddeletedocumentfield.ts +316 -0
- package/src/models/errors/fielddeletetemplatefield.ts +316 -0
- package/src/models/errors/fieldgetdocumentfield.ts +486 -0
- package/src/models/errors/fieldgettemplatefield.ts +486 -0
- package/src/models/errors/fieldupdatedocumentfield.ts +316 -0
- package/src/models/errors/fieldupdatedocumentfields.ts +322 -0
- package/src/models/errors/fieldupdatetemplatefield.ts +316 -0
- package/src/models/errors/fieldupdatetemplatefields.ts +322 -0
- package/src/models/errors/index.ts +43 -3
- package/src/models/errors/recipientcreatedocumentrecipient.ts +343 -0
- package/src/models/errors/recipientcreatedocumentrecipients.ts +348 -0
- package/src/models/errors/recipientcreatetemplaterecipient.ts +343 -0
- package/src/models/errors/recipientcreatetemplaterecipients.ts +348 -0
- package/src/models/errors/recipientdeletedocumentrecipient.ts +343 -0
- package/src/models/errors/recipientdeletetemplaterecipient.ts +343 -0
- package/src/models/errors/recipientgetdocumentrecipient.ts +520 -0
- package/src/models/errors/recipientgettemplaterecipient.ts +520 -0
- package/src/models/errors/recipientupdatedocumentrecipient.ts +343 -0
- package/src/models/errors/recipientupdatedocumentrecipients.ts +348 -0
- package/src/models/errors/recipientupdatetemplaterecipient.ts +343 -0
- package/src/models/errors/recipientupdatetemplaterecipients.ts +348 -0
- package/src/models/errors/templatecreatedocumentfromtemplate.ts +337 -0
- package/src/models/errors/templatecreatetemplatedirectlink.ts +343 -0
- package/src/models/errors/templatedeletetemplate.ts +302 -0
- package/src/models/errors/templatedeletetemplatedirectlink.ts +343 -0
- package/src/models/errors/templateduplicatetemplate.ts +311 -0
- package/src/models/errors/templatefindtemplates.ts +463 -0
- package/src/models/errors/templategettemplatebyid.ts +473 -0
- package/src/models/errors/templatemovetemplatetoteam.ts +314 -0
- package/src/models/errors/templatetoggletemplatedirectlink.ts +343 -0
- package/src/models/errors/templateupdatetemplate.ts +302 -0
- package/src/models/operations/documentdeletedocument.ts +65 -0
- package/src/models/operations/documentresenddocument.ts +65 -0
- package/src/models/operations/fielddeletedocumentfield.ts +66 -0
- package/src/models/operations/fielddeletetemplatefield.ts +66 -0
- package/src/models/operations/{fieldgetfield.ts → fieldgetdocumentfield.ts} +337 -282
- package/src/models/operations/fieldgettemplatefield.ts +1697 -0
- package/src/models/operations/index.ts +4 -2
- package/src/models/operations/recipientdeletedocumentrecipient.ts +74 -0
- package/src/models/operations/recipientdeletetemplaterecipient.ts +74 -0
- package/src/models/operations/recipientgetdocumentrecipient.ts +2235 -0
- package/src/models/operations/recipientgettemplaterecipient.ts +2251 -0
- package/src/models/operations/templatedeletetemplate.ts +65 -0
- package/src/models/operations/templatedeletetemplatedirectlink.ts +74 -0
- package/src/sdk/directlink.ts +1 -1
- package/src/sdk/documensofields.ts +47 -29
- package/src/sdk/documensorecipients.ts +47 -29
- package/src/sdk/documents.ts +10 -10
- package/src/sdk/fields.ts +93 -6
- package/src/sdk/recipients.ts +93 -6
- package/src/sdk/sdk.ts +0 -12
- package/src/sdk/templates.ts +9 -11
- package/.devcontainer/README.md +0 -30
- package/.devcontainer/devcontainer.json +0 -45
- package/docs/sdks/documensotemplatesfields/README.md +0 -456
- package/docs/sdks/documensotemplatesrecipients/README.md +0 -440
- package/funcs/fieldsGet.d.ts +0 -16
- package/funcs/fieldsGet.d.ts.map +0 -1
- package/funcs/fieldsGet.js.map +0 -1
- package/funcs/recipientsGet.d.ts +0 -16
- package/funcs/recipientsGet.d.ts.map +0 -1
- package/funcs/recipientsGet.js.map +0 -1
- package/local-openapi.json +0 -21024
- package/models/errors/errorbadrequest.d.ts +0 -84
- package/models/errors/errorbadrequest.d.ts.map +0 -1
- package/models/errors/errorbadrequest.js +0 -115
- package/models/errors/errorbadrequest.js.map +0 -1
- package/models/errors/errorinternalservererror.d.ts +0 -84
- package/models/errors/errorinternalservererror.d.ts.map +0 -1
- package/models/errors/errorinternalservererror.js +0 -116
- package/models/errors/errorinternalservererror.js.map +0 -1
- package/models/errors/errornotfound.d.ts +0 -84
- package/models/errors/errornotfound.d.ts.map +0 -1
- package/models/errors/errornotfound.js +0 -115
- package/models/errors/errornotfound.js.map +0 -1
- package/models/operations/fieldgetfield.d.ts.map +0 -1
- package/models/operations/fieldgetfield.js +0 -820
- package/models/operations/fieldgetfield.js.map +0 -1
- package/models/operations/recipientgetrecipient.d.ts +0 -1041
- package/models/operations/recipientgetrecipient.d.ts.map +0 -1
- package/models/operations/recipientgetrecipient.js +0 -1033
- package/models/operations/recipientgetrecipient.js.map +0 -1
- package/sdk/documensotemplatesfields.d.ts +0 -37
- package/sdk/documensotemplatesfields.d.ts.map +0 -1
- package/sdk/documensotemplatesfields.js +0 -59
- package/sdk/documensotemplatesfields.js.map +0 -1
- package/sdk/documensotemplatesrecipients.d.ts +0 -37
- package/sdk/documensotemplatesrecipients.d.ts.map +0 -1
- package/sdk/documensotemplatesrecipients.js +0 -59
- package/sdk/documensotemplatesrecipients.js.map +0 -1
- package/src/models/errors/errorbadrequest.ts +0 -154
- package/src/models/errors/errorinternalservererror.ts +0 -165
- package/src/models/errors/errornotfound.ts +0 -162
- package/src/models/operations/recipientgetrecipient.ts +0 -2060
- package/src/sdk/documensotemplatesfields.ts +0 -96
- package/src/sdk/documensotemplatesrecipients.ts +0 -96
|
@@ -0,0 +1,2235 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type RecipientGetDocumentRecipientRequest = {
|
|
12
|
+
recipientId: number;
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export const RecipientGetDocumentRecipientRole = {
|
|
16
|
+
Cc: "CC",
|
|
17
|
+
Signer: "SIGNER",
|
|
18
|
+
Viewer: "VIEWER",
|
|
19
|
+
Approver: "APPROVER",
|
|
20
|
+
} as const;
|
|
21
|
+
export type RecipientGetDocumentRecipientRole = ClosedEnum<
|
|
22
|
+
typeof RecipientGetDocumentRecipientRole
|
|
23
|
+
>;
|
|
24
|
+
|
|
25
|
+
export const ReadStatus = {
|
|
26
|
+
NotOpened: "NOT_OPENED",
|
|
27
|
+
Opened: "OPENED",
|
|
28
|
+
} as const;
|
|
29
|
+
export type ReadStatus = ClosedEnum<typeof ReadStatus>;
|
|
30
|
+
|
|
31
|
+
export const SigningStatus = {
|
|
32
|
+
NotSigned: "NOT_SIGNED",
|
|
33
|
+
Signed: "SIGNED",
|
|
34
|
+
Rejected: "REJECTED",
|
|
35
|
+
} as const;
|
|
36
|
+
export type SigningStatus = ClosedEnum<typeof SigningStatus>;
|
|
37
|
+
|
|
38
|
+
export const SendStatus = {
|
|
39
|
+
NotSent: "NOT_SENT",
|
|
40
|
+
Sent: "SENT",
|
|
41
|
+
} as const;
|
|
42
|
+
export type SendStatus = ClosedEnum<typeof SendStatus>;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* The type of authentication required for the recipient to access the document.
|
|
46
|
+
*/
|
|
47
|
+
export const RecipientGetDocumentRecipientAccessAuth = {
|
|
48
|
+
Account: "ACCOUNT",
|
|
49
|
+
} as const;
|
|
50
|
+
/**
|
|
51
|
+
* The type of authentication required for the recipient to access the document.
|
|
52
|
+
*/
|
|
53
|
+
export type RecipientGetDocumentRecipientAccessAuth = ClosedEnum<
|
|
54
|
+
typeof RecipientGetDocumentRecipientAccessAuth
|
|
55
|
+
>;
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* The type of authentication required for the recipient to sign the document.
|
|
59
|
+
*/
|
|
60
|
+
export const RecipientGetDocumentRecipientActionAuth = {
|
|
61
|
+
Account: "ACCOUNT",
|
|
62
|
+
Passkey: "PASSKEY",
|
|
63
|
+
TwoFactorAuth: "TWO_FACTOR_AUTH",
|
|
64
|
+
ExplicitNone: "EXPLICIT_NONE",
|
|
65
|
+
} as const;
|
|
66
|
+
/**
|
|
67
|
+
* The type of authentication required for the recipient to sign the document.
|
|
68
|
+
*/
|
|
69
|
+
export type RecipientGetDocumentRecipientActionAuth = ClosedEnum<
|
|
70
|
+
typeof RecipientGetDocumentRecipientActionAuth
|
|
71
|
+
>;
|
|
72
|
+
|
|
73
|
+
export type RecipientGetDocumentRecipientAuthOptions = {
|
|
74
|
+
/**
|
|
75
|
+
* The type of authentication required for the recipient to access the document.
|
|
76
|
+
*/
|
|
77
|
+
accessAuth: RecipientGetDocumentRecipientAccessAuth | null;
|
|
78
|
+
/**
|
|
79
|
+
* The type of authentication required for the recipient to sign the document.
|
|
80
|
+
*/
|
|
81
|
+
actionAuth: RecipientGetDocumentRecipientActionAuth | null;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export const RecipientGetDocumentRecipientType = {
|
|
85
|
+
Signature: "SIGNATURE",
|
|
86
|
+
FreeSignature: "FREE_SIGNATURE",
|
|
87
|
+
Initials: "INITIALS",
|
|
88
|
+
Name: "NAME",
|
|
89
|
+
Email: "EMAIL",
|
|
90
|
+
Date: "DATE",
|
|
91
|
+
Text: "TEXT",
|
|
92
|
+
Number: "NUMBER",
|
|
93
|
+
Radio: "RADIO",
|
|
94
|
+
Checkbox: "CHECKBOX",
|
|
95
|
+
Dropdown: "DROPDOWN",
|
|
96
|
+
} as const;
|
|
97
|
+
export type RecipientGetDocumentRecipientType = ClosedEnum<
|
|
98
|
+
typeof RecipientGetDocumentRecipientType
|
|
99
|
+
>;
|
|
100
|
+
|
|
101
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type =
|
|
102
|
+
{
|
|
103
|
+
Dropdown: "dropdown",
|
|
104
|
+
} as const;
|
|
105
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type =
|
|
106
|
+
ClosedEnum<
|
|
107
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type
|
|
108
|
+
>;
|
|
109
|
+
|
|
110
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues =
|
|
111
|
+
{
|
|
112
|
+
value: string;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
export type RecipientGetDocumentRecipientFieldMeta9 = {
|
|
116
|
+
label?: string | undefined;
|
|
117
|
+
placeholder?: string | undefined;
|
|
118
|
+
required?: boolean | undefined;
|
|
119
|
+
readOnly?: boolean | undefined;
|
|
120
|
+
type:
|
|
121
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type;
|
|
122
|
+
values?:
|
|
123
|
+
| Array<
|
|
124
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues
|
|
125
|
+
>
|
|
126
|
+
| undefined;
|
|
127
|
+
defaultValue?: string | undefined;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type =
|
|
131
|
+
{
|
|
132
|
+
Checkbox: "checkbox",
|
|
133
|
+
} as const;
|
|
134
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type =
|
|
135
|
+
ClosedEnum<
|
|
136
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type
|
|
137
|
+
>;
|
|
138
|
+
|
|
139
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues = {
|
|
140
|
+
id: number;
|
|
141
|
+
checked: boolean;
|
|
142
|
+
value: string;
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
export type RecipientGetDocumentRecipientFieldMeta8 = {
|
|
146
|
+
label?: string | undefined;
|
|
147
|
+
placeholder?: string | undefined;
|
|
148
|
+
required?: boolean | undefined;
|
|
149
|
+
readOnly?: boolean | undefined;
|
|
150
|
+
type:
|
|
151
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type;
|
|
152
|
+
values?:
|
|
153
|
+
| Array<RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues>
|
|
154
|
+
| undefined;
|
|
155
|
+
validationRule?: string | undefined;
|
|
156
|
+
validationLength?: number | undefined;
|
|
157
|
+
};
|
|
158
|
+
|
|
159
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType =
|
|
160
|
+
{
|
|
161
|
+
Radio: "radio",
|
|
162
|
+
} as const;
|
|
163
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType =
|
|
164
|
+
ClosedEnum<
|
|
165
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType
|
|
166
|
+
>;
|
|
167
|
+
|
|
168
|
+
export type RecipientGetDocumentRecipientFieldMetaValues = {
|
|
169
|
+
id: number;
|
|
170
|
+
checked: boolean;
|
|
171
|
+
value: string;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
export type RecipientGetDocumentRecipientFieldMeta7 = {
|
|
175
|
+
label?: string | undefined;
|
|
176
|
+
placeholder?: string | undefined;
|
|
177
|
+
required?: boolean | undefined;
|
|
178
|
+
readOnly?: boolean | undefined;
|
|
179
|
+
type:
|
|
180
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType;
|
|
181
|
+
values?: Array<RecipientGetDocumentRecipientFieldMetaValues> | undefined;
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType =
|
|
185
|
+
{
|
|
186
|
+
Number: "number",
|
|
187
|
+
} as const;
|
|
188
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType =
|
|
189
|
+
ClosedEnum<
|
|
190
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType
|
|
191
|
+
>;
|
|
192
|
+
|
|
193
|
+
export type RecipientGetDocumentRecipientFieldMeta6 = {
|
|
194
|
+
label?: string | undefined;
|
|
195
|
+
placeholder?: string | undefined;
|
|
196
|
+
required?: boolean | undefined;
|
|
197
|
+
readOnly?: boolean | undefined;
|
|
198
|
+
type:
|
|
199
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType;
|
|
200
|
+
numberFormat?: string | undefined;
|
|
201
|
+
value?: string | undefined;
|
|
202
|
+
minValue?: number | undefined;
|
|
203
|
+
maxValue?: number | undefined;
|
|
204
|
+
fontSize?: number | undefined;
|
|
205
|
+
};
|
|
206
|
+
|
|
207
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType =
|
|
208
|
+
{
|
|
209
|
+
Text: "text",
|
|
210
|
+
} as const;
|
|
211
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType =
|
|
212
|
+
ClosedEnum<
|
|
213
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType
|
|
214
|
+
>;
|
|
215
|
+
|
|
216
|
+
export type RecipientGetDocumentRecipientFieldMeta5 = {
|
|
217
|
+
label?: string | undefined;
|
|
218
|
+
placeholder?: string | undefined;
|
|
219
|
+
required?: boolean | undefined;
|
|
220
|
+
readOnly?: boolean | undefined;
|
|
221
|
+
type:
|
|
222
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType;
|
|
223
|
+
text?: string | undefined;
|
|
224
|
+
characterLimit?: number | undefined;
|
|
225
|
+
fontSize?: number | undefined;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type =
|
|
229
|
+
{
|
|
230
|
+
Date: "date",
|
|
231
|
+
} as const;
|
|
232
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type =
|
|
233
|
+
ClosedEnum<
|
|
234
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type
|
|
235
|
+
>;
|
|
236
|
+
|
|
237
|
+
export type RecipientGetDocumentRecipientFieldMeta4 = {
|
|
238
|
+
label?: string | undefined;
|
|
239
|
+
placeholder?: string | undefined;
|
|
240
|
+
required?: boolean | undefined;
|
|
241
|
+
readOnly?: boolean | undefined;
|
|
242
|
+
type:
|
|
243
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type;
|
|
244
|
+
fontSize?: number | undefined;
|
|
245
|
+
};
|
|
246
|
+
|
|
247
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType =
|
|
248
|
+
{
|
|
249
|
+
Email: "email",
|
|
250
|
+
} as const;
|
|
251
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType =
|
|
252
|
+
ClosedEnum<
|
|
253
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType
|
|
254
|
+
>;
|
|
255
|
+
|
|
256
|
+
export type RecipientGetDocumentRecipientFieldMeta3 = {
|
|
257
|
+
label?: string | undefined;
|
|
258
|
+
placeholder?: string | undefined;
|
|
259
|
+
required?: boolean | undefined;
|
|
260
|
+
readOnly?: boolean | undefined;
|
|
261
|
+
type: RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType;
|
|
262
|
+
fontSize?: number | undefined;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType = {
|
|
266
|
+
Name: "name",
|
|
267
|
+
} as const;
|
|
268
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType =
|
|
269
|
+
ClosedEnum<
|
|
270
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType
|
|
271
|
+
>;
|
|
272
|
+
|
|
273
|
+
export type RecipientGetDocumentRecipientFieldMeta2 = {
|
|
274
|
+
label?: string | undefined;
|
|
275
|
+
placeholder?: string | undefined;
|
|
276
|
+
required?: boolean | undefined;
|
|
277
|
+
readOnly?: boolean | undefined;
|
|
278
|
+
type: RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType;
|
|
279
|
+
fontSize?: number | undefined;
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
export const RecipientGetDocumentRecipientFieldMetaType = {
|
|
283
|
+
Initials: "initials",
|
|
284
|
+
} as const;
|
|
285
|
+
export type RecipientGetDocumentRecipientFieldMetaType = ClosedEnum<
|
|
286
|
+
typeof RecipientGetDocumentRecipientFieldMetaType
|
|
287
|
+
>;
|
|
288
|
+
|
|
289
|
+
export type RecipientGetDocumentRecipientFieldMeta1 = {
|
|
290
|
+
label?: string | undefined;
|
|
291
|
+
placeholder?: string | undefined;
|
|
292
|
+
required?: boolean | undefined;
|
|
293
|
+
readOnly?: boolean | undefined;
|
|
294
|
+
type: RecipientGetDocumentRecipientFieldMetaType;
|
|
295
|
+
fontSize?: number | undefined;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
export type RecipientGetDocumentRecipientFieldMeta =
|
|
299
|
+
| RecipientGetDocumentRecipientFieldMeta1
|
|
300
|
+
| RecipientGetDocumentRecipientFieldMeta2
|
|
301
|
+
| RecipientGetDocumentRecipientFieldMeta3
|
|
302
|
+
| RecipientGetDocumentRecipientFieldMeta4
|
|
303
|
+
| RecipientGetDocumentRecipientFieldMeta7
|
|
304
|
+
| RecipientGetDocumentRecipientFieldMeta9
|
|
305
|
+
| RecipientGetDocumentRecipientFieldMeta5
|
|
306
|
+
| RecipientGetDocumentRecipientFieldMeta8
|
|
307
|
+
| RecipientGetDocumentRecipientFieldMeta6;
|
|
308
|
+
|
|
309
|
+
export type RecipientGetDocumentRecipientFields = {
|
|
310
|
+
type: RecipientGetDocumentRecipientType;
|
|
311
|
+
id: number;
|
|
312
|
+
secondaryId: string;
|
|
313
|
+
documentId: number | null;
|
|
314
|
+
templateId: number | null;
|
|
315
|
+
recipientId: number;
|
|
316
|
+
/**
|
|
317
|
+
* The page number of the field on the document. Starts from 1.
|
|
318
|
+
*/
|
|
319
|
+
page: number;
|
|
320
|
+
positionX?: any | undefined;
|
|
321
|
+
positionY?: any | undefined;
|
|
322
|
+
width?: any | undefined;
|
|
323
|
+
height?: any | undefined;
|
|
324
|
+
customText: string;
|
|
325
|
+
inserted: boolean;
|
|
326
|
+
fieldMeta:
|
|
327
|
+
| RecipientGetDocumentRecipientFieldMeta1
|
|
328
|
+
| RecipientGetDocumentRecipientFieldMeta2
|
|
329
|
+
| RecipientGetDocumentRecipientFieldMeta3
|
|
330
|
+
| RecipientGetDocumentRecipientFieldMeta4
|
|
331
|
+
| RecipientGetDocumentRecipientFieldMeta7
|
|
332
|
+
| RecipientGetDocumentRecipientFieldMeta9
|
|
333
|
+
| RecipientGetDocumentRecipientFieldMeta5
|
|
334
|
+
| RecipientGetDocumentRecipientFieldMeta8
|
|
335
|
+
| RecipientGetDocumentRecipientFieldMeta6
|
|
336
|
+
| null;
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Successful response
|
|
341
|
+
*/
|
|
342
|
+
export type RecipientGetDocumentRecipientResponseBody = {
|
|
343
|
+
role: RecipientGetDocumentRecipientRole;
|
|
344
|
+
readStatus: ReadStatus;
|
|
345
|
+
signingStatus: SigningStatus;
|
|
346
|
+
sendStatus: SendStatus;
|
|
347
|
+
id: number;
|
|
348
|
+
documentId: number | null;
|
|
349
|
+
templateId: number | null;
|
|
350
|
+
email: string;
|
|
351
|
+
name: string;
|
|
352
|
+
token: string;
|
|
353
|
+
documentDeletedAt: string | null;
|
|
354
|
+
expired: string | null;
|
|
355
|
+
signedAt: string | null;
|
|
356
|
+
authOptions: RecipientGetDocumentRecipientAuthOptions | null;
|
|
357
|
+
/**
|
|
358
|
+
* The order in which the recipient should sign the document. Only works if the document is set to sequential signing.
|
|
359
|
+
*/
|
|
360
|
+
signingOrder: number | null;
|
|
361
|
+
rejectionReason: string | null;
|
|
362
|
+
fields: Array<RecipientGetDocumentRecipientFields>;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
/** @internal */
|
|
366
|
+
export const RecipientGetDocumentRecipientRequest$inboundSchema: z.ZodType<
|
|
367
|
+
RecipientGetDocumentRecipientRequest,
|
|
368
|
+
z.ZodTypeDef,
|
|
369
|
+
unknown
|
|
370
|
+
> = z.object({
|
|
371
|
+
recipientId: z.number(),
|
|
372
|
+
});
|
|
373
|
+
|
|
374
|
+
/** @internal */
|
|
375
|
+
export type RecipientGetDocumentRecipientRequest$Outbound = {
|
|
376
|
+
recipientId: number;
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
/** @internal */
|
|
380
|
+
export const RecipientGetDocumentRecipientRequest$outboundSchema: z.ZodType<
|
|
381
|
+
RecipientGetDocumentRecipientRequest$Outbound,
|
|
382
|
+
z.ZodTypeDef,
|
|
383
|
+
RecipientGetDocumentRecipientRequest
|
|
384
|
+
> = z.object({
|
|
385
|
+
recipientId: z.number(),
|
|
386
|
+
});
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @internal
|
|
390
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
391
|
+
*/
|
|
392
|
+
export namespace RecipientGetDocumentRecipientRequest$ {
|
|
393
|
+
/** @deprecated use `RecipientGetDocumentRecipientRequest$inboundSchema` instead. */
|
|
394
|
+
export const inboundSchema =
|
|
395
|
+
RecipientGetDocumentRecipientRequest$inboundSchema;
|
|
396
|
+
/** @deprecated use `RecipientGetDocumentRecipientRequest$outboundSchema` instead. */
|
|
397
|
+
export const outboundSchema =
|
|
398
|
+
RecipientGetDocumentRecipientRequest$outboundSchema;
|
|
399
|
+
/** @deprecated use `RecipientGetDocumentRecipientRequest$Outbound` instead. */
|
|
400
|
+
export type Outbound = RecipientGetDocumentRecipientRequest$Outbound;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export function recipientGetDocumentRecipientRequestToJSON(
|
|
404
|
+
recipientGetDocumentRecipientRequest: RecipientGetDocumentRecipientRequest,
|
|
405
|
+
): string {
|
|
406
|
+
return JSON.stringify(
|
|
407
|
+
RecipientGetDocumentRecipientRequest$outboundSchema.parse(
|
|
408
|
+
recipientGetDocumentRecipientRequest,
|
|
409
|
+
),
|
|
410
|
+
);
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export function recipientGetDocumentRecipientRequestFromJSON(
|
|
414
|
+
jsonString: string,
|
|
415
|
+
): SafeParseResult<RecipientGetDocumentRecipientRequest, SDKValidationError> {
|
|
416
|
+
return safeParse(
|
|
417
|
+
jsonString,
|
|
418
|
+
(x) =>
|
|
419
|
+
RecipientGetDocumentRecipientRequest$inboundSchema.parse(JSON.parse(x)),
|
|
420
|
+
`Failed to parse 'RecipientGetDocumentRecipientRequest' from JSON`,
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
/** @internal */
|
|
425
|
+
export const RecipientGetDocumentRecipientRole$inboundSchema: z.ZodNativeEnum<
|
|
426
|
+
typeof RecipientGetDocumentRecipientRole
|
|
427
|
+
> = z.nativeEnum(RecipientGetDocumentRecipientRole);
|
|
428
|
+
|
|
429
|
+
/** @internal */
|
|
430
|
+
export const RecipientGetDocumentRecipientRole$outboundSchema: z.ZodNativeEnum<
|
|
431
|
+
typeof RecipientGetDocumentRecipientRole
|
|
432
|
+
> = RecipientGetDocumentRecipientRole$inboundSchema;
|
|
433
|
+
|
|
434
|
+
/**
|
|
435
|
+
* @internal
|
|
436
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
437
|
+
*/
|
|
438
|
+
export namespace RecipientGetDocumentRecipientRole$ {
|
|
439
|
+
/** @deprecated use `RecipientGetDocumentRecipientRole$inboundSchema` instead. */
|
|
440
|
+
export const inboundSchema = RecipientGetDocumentRecipientRole$inboundSchema;
|
|
441
|
+
/** @deprecated use `RecipientGetDocumentRecipientRole$outboundSchema` instead. */
|
|
442
|
+
export const outboundSchema =
|
|
443
|
+
RecipientGetDocumentRecipientRole$outboundSchema;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
/** @internal */
|
|
447
|
+
export const ReadStatus$inboundSchema: z.ZodNativeEnum<typeof ReadStatus> = z
|
|
448
|
+
.nativeEnum(ReadStatus);
|
|
449
|
+
|
|
450
|
+
/** @internal */
|
|
451
|
+
export const ReadStatus$outboundSchema: z.ZodNativeEnum<typeof ReadStatus> =
|
|
452
|
+
ReadStatus$inboundSchema;
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* @internal
|
|
456
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
457
|
+
*/
|
|
458
|
+
export namespace ReadStatus$ {
|
|
459
|
+
/** @deprecated use `ReadStatus$inboundSchema` instead. */
|
|
460
|
+
export const inboundSchema = ReadStatus$inboundSchema;
|
|
461
|
+
/** @deprecated use `ReadStatus$outboundSchema` instead. */
|
|
462
|
+
export const outboundSchema = ReadStatus$outboundSchema;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
/** @internal */
|
|
466
|
+
export const SigningStatus$inboundSchema: z.ZodNativeEnum<
|
|
467
|
+
typeof SigningStatus
|
|
468
|
+
> = z.nativeEnum(SigningStatus);
|
|
469
|
+
|
|
470
|
+
/** @internal */
|
|
471
|
+
export const SigningStatus$outboundSchema: z.ZodNativeEnum<
|
|
472
|
+
typeof SigningStatus
|
|
473
|
+
> = SigningStatus$inboundSchema;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* @internal
|
|
477
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
478
|
+
*/
|
|
479
|
+
export namespace SigningStatus$ {
|
|
480
|
+
/** @deprecated use `SigningStatus$inboundSchema` instead. */
|
|
481
|
+
export const inboundSchema = SigningStatus$inboundSchema;
|
|
482
|
+
/** @deprecated use `SigningStatus$outboundSchema` instead. */
|
|
483
|
+
export const outboundSchema = SigningStatus$outboundSchema;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
/** @internal */
|
|
487
|
+
export const SendStatus$inboundSchema: z.ZodNativeEnum<typeof SendStatus> = z
|
|
488
|
+
.nativeEnum(SendStatus);
|
|
489
|
+
|
|
490
|
+
/** @internal */
|
|
491
|
+
export const SendStatus$outboundSchema: z.ZodNativeEnum<typeof SendStatus> =
|
|
492
|
+
SendStatus$inboundSchema;
|
|
493
|
+
|
|
494
|
+
/**
|
|
495
|
+
* @internal
|
|
496
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
497
|
+
*/
|
|
498
|
+
export namespace SendStatus$ {
|
|
499
|
+
/** @deprecated use `SendStatus$inboundSchema` instead. */
|
|
500
|
+
export const inboundSchema = SendStatus$inboundSchema;
|
|
501
|
+
/** @deprecated use `SendStatus$outboundSchema` instead. */
|
|
502
|
+
export const outboundSchema = SendStatus$outboundSchema;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
/** @internal */
|
|
506
|
+
export const RecipientGetDocumentRecipientAccessAuth$inboundSchema:
|
|
507
|
+
z.ZodNativeEnum<typeof RecipientGetDocumentRecipientAccessAuth> = z
|
|
508
|
+
.nativeEnum(RecipientGetDocumentRecipientAccessAuth);
|
|
509
|
+
|
|
510
|
+
/** @internal */
|
|
511
|
+
export const RecipientGetDocumentRecipientAccessAuth$outboundSchema:
|
|
512
|
+
z.ZodNativeEnum<typeof RecipientGetDocumentRecipientAccessAuth> =
|
|
513
|
+
RecipientGetDocumentRecipientAccessAuth$inboundSchema;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* @internal
|
|
517
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
518
|
+
*/
|
|
519
|
+
export namespace RecipientGetDocumentRecipientAccessAuth$ {
|
|
520
|
+
/** @deprecated use `RecipientGetDocumentRecipientAccessAuth$inboundSchema` instead. */
|
|
521
|
+
export const inboundSchema =
|
|
522
|
+
RecipientGetDocumentRecipientAccessAuth$inboundSchema;
|
|
523
|
+
/** @deprecated use `RecipientGetDocumentRecipientAccessAuth$outboundSchema` instead. */
|
|
524
|
+
export const outboundSchema =
|
|
525
|
+
RecipientGetDocumentRecipientAccessAuth$outboundSchema;
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
/** @internal */
|
|
529
|
+
export const RecipientGetDocumentRecipientActionAuth$inboundSchema:
|
|
530
|
+
z.ZodNativeEnum<typeof RecipientGetDocumentRecipientActionAuth> = z
|
|
531
|
+
.nativeEnum(RecipientGetDocumentRecipientActionAuth);
|
|
532
|
+
|
|
533
|
+
/** @internal */
|
|
534
|
+
export const RecipientGetDocumentRecipientActionAuth$outboundSchema:
|
|
535
|
+
z.ZodNativeEnum<typeof RecipientGetDocumentRecipientActionAuth> =
|
|
536
|
+
RecipientGetDocumentRecipientActionAuth$inboundSchema;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* @internal
|
|
540
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
541
|
+
*/
|
|
542
|
+
export namespace RecipientGetDocumentRecipientActionAuth$ {
|
|
543
|
+
/** @deprecated use `RecipientGetDocumentRecipientActionAuth$inboundSchema` instead. */
|
|
544
|
+
export const inboundSchema =
|
|
545
|
+
RecipientGetDocumentRecipientActionAuth$inboundSchema;
|
|
546
|
+
/** @deprecated use `RecipientGetDocumentRecipientActionAuth$outboundSchema` instead. */
|
|
547
|
+
export const outboundSchema =
|
|
548
|
+
RecipientGetDocumentRecipientActionAuth$outboundSchema;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
/** @internal */
|
|
552
|
+
export const RecipientGetDocumentRecipientAuthOptions$inboundSchema: z.ZodType<
|
|
553
|
+
RecipientGetDocumentRecipientAuthOptions,
|
|
554
|
+
z.ZodTypeDef,
|
|
555
|
+
unknown
|
|
556
|
+
> = z.object({
|
|
557
|
+
accessAuth: z.nullable(RecipientGetDocumentRecipientAccessAuth$inboundSchema),
|
|
558
|
+
actionAuth: z.nullable(RecipientGetDocumentRecipientActionAuth$inboundSchema),
|
|
559
|
+
});
|
|
560
|
+
|
|
561
|
+
/** @internal */
|
|
562
|
+
export type RecipientGetDocumentRecipientAuthOptions$Outbound = {
|
|
563
|
+
accessAuth: string | null;
|
|
564
|
+
actionAuth: string | null;
|
|
565
|
+
};
|
|
566
|
+
|
|
567
|
+
/** @internal */
|
|
568
|
+
export const RecipientGetDocumentRecipientAuthOptions$outboundSchema: z.ZodType<
|
|
569
|
+
RecipientGetDocumentRecipientAuthOptions$Outbound,
|
|
570
|
+
z.ZodTypeDef,
|
|
571
|
+
RecipientGetDocumentRecipientAuthOptions
|
|
572
|
+
> = z.object({
|
|
573
|
+
accessAuth: z.nullable(
|
|
574
|
+
RecipientGetDocumentRecipientAccessAuth$outboundSchema,
|
|
575
|
+
),
|
|
576
|
+
actionAuth: z.nullable(
|
|
577
|
+
RecipientGetDocumentRecipientActionAuth$outboundSchema,
|
|
578
|
+
),
|
|
579
|
+
});
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* @internal
|
|
583
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
584
|
+
*/
|
|
585
|
+
export namespace RecipientGetDocumentRecipientAuthOptions$ {
|
|
586
|
+
/** @deprecated use `RecipientGetDocumentRecipientAuthOptions$inboundSchema` instead. */
|
|
587
|
+
export const inboundSchema =
|
|
588
|
+
RecipientGetDocumentRecipientAuthOptions$inboundSchema;
|
|
589
|
+
/** @deprecated use `RecipientGetDocumentRecipientAuthOptions$outboundSchema` instead. */
|
|
590
|
+
export const outboundSchema =
|
|
591
|
+
RecipientGetDocumentRecipientAuthOptions$outboundSchema;
|
|
592
|
+
/** @deprecated use `RecipientGetDocumentRecipientAuthOptions$Outbound` instead. */
|
|
593
|
+
export type Outbound = RecipientGetDocumentRecipientAuthOptions$Outbound;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
export function recipientGetDocumentRecipientAuthOptionsToJSON(
|
|
597
|
+
recipientGetDocumentRecipientAuthOptions:
|
|
598
|
+
RecipientGetDocumentRecipientAuthOptions,
|
|
599
|
+
): string {
|
|
600
|
+
return JSON.stringify(
|
|
601
|
+
RecipientGetDocumentRecipientAuthOptions$outboundSchema.parse(
|
|
602
|
+
recipientGetDocumentRecipientAuthOptions,
|
|
603
|
+
),
|
|
604
|
+
);
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export function recipientGetDocumentRecipientAuthOptionsFromJSON(
|
|
608
|
+
jsonString: string,
|
|
609
|
+
): SafeParseResult<
|
|
610
|
+
RecipientGetDocumentRecipientAuthOptions,
|
|
611
|
+
SDKValidationError
|
|
612
|
+
> {
|
|
613
|
+
return safeParse(
|
|
614
|
+
jsonString,
|
|
615
|
+
(x) =>
|
|
616
|
+
RecipientGetDocumentRecipientAuthOptions$inboundSchema.parse(
|
|
617
|
+
JSON.parse(x),
|
|
618
|
+
),
|
|
619
|
+
`Failed to parse 'RecipientGetDocumentRecipientAuthOptions' from JSON`,
|
|
620
|
+
);
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
/** @internal */
|
|
624
|
+
export const RecipientGetDocumentRecipientType$inboundSchema: z.ZodNativeEnum<
|
|
625
|
+
typeof RecipientGetDocumentRecipientType
|
|
626
|
+
> = z.nativeEnum(RecipientGetDocumentRecipientType);
|
|
627
|
+
|
|
628
|
+
/** @internal */
|
|
629
|
+
export const RecipientGetDocumentRecipientType$outboundSchema: z.ZodNativeEnum<
|
|
630
|
+
typeof RecipientGetDocumentRecipientType
|
|
631
|
+
> = RecipientGetDocumentRecipientType$inboundSchema;
|
|
632
|
+
|
|
633
|
+
/**
|
|
634
|
+
* @internal
|
|
635
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
636
|
+
*/
|
|
637
|
+
export namespace RecipientGetDocumentRecipientType$ {
|
|
638
|
+
/** @deprecated use `RecipientGetDocumentRecipientType$inboundSchema` instead. */
|
|
639
|
+
export const inboundSchema = RecipientGetDocumentRecipientType$inboundSchema;
|
|
640
|
+
/** @deprecated use `RecipientGetDocumentRecipientType$outboundSchema` instead. */
|
|
641
|
+
export const outboundSchema =
|
|
642
|
+
RecipientGetDocumentRecipientType$outboundSchema;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
/** @internal */
|
|
646
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema:
|
|
647
|
+
z.ZodNativeEnum<
|
|
648
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type
|
|
649
|
+
> = z.nativeEnum(
|
|
650
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type,
|
|
651
|
+
);
|
|
652
|
+
|
|
653
|
+
/** @internal */
|
|
654
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema:
|
|
655
|
+
z.ZodNativeEnum<
|
|
656
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type
|
|
657
|
+
> =
|
|
658
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema;
|
|
659
|
+
|
|
660
|
+
/**
|
|
661
|
+
* @internal
|
|
662
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
663
|
+
*/
|
|
664
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$ {
|
|
665
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema` instead. */
|
|
666
|
+
export const inboundSchema =
|
|
667
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema;
|
|
668
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema` instead. */
|
|
669
|
+
export const outboundSchema =
|
|
670
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/** @internal */
|
|
674
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$inboundSchema:
|
|
675
|
+
z.ZodType<
|
|
676
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues,
|
|
677
|
+
z.ZodTypeDef,
|
|
678
|
+
unknown
|
|
679
|
+
> = z.object({
|
|
680
|
+
value: z.string(),
|
|
681
|
+
});
|
|
682
|
+
|
|
683
|
+
/** @internal */
|
|
684
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$Outbound =
|
|
685
|
+
{
|
|
686
|
+
value: string;
|
|
687
|
+
};
|
|
688
|
+
|
|
689
|
+
/** @internal */
|
|
690
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$outboundSchema:
|
|
691
|
+
z.ZodType<
|
|
692
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$Outbound,
|
|
693
|
+
z.ZodTypeDef,
|
|
694
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues
|
|
695
|
+
> = z.object({
|
|
696
|
+
value: z.string(),
|
|
697
|
+
});
|
|
698
|
+
|
|
699
|
+
/**
|
|
700
|
+
* @internal
|
|
701
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
702
|
+
*/
|
|
703
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$ {
|
|
704
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$inboundSchema` instead. */
|
|
705
|
+
export const inboundSchema =
|
|
706
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$inboundSchema;
|
|
707
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$outboundSchema` instead. */
|
|
708
|
+
export const outboundSchema =
|
|
709
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$outboundSchema;
|
|
710
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$Outbound` instead. */
|
|
711
|
+
export type Outbound =
|
|
712
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$Outbound;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
export function recipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValuesToJSON(
|
|
716
|
+
recipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues:
|
|
717
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues,
|
|
718
|
+
): string {
|
|
719
|
+
return JSON.stringify(
|
|
720
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$outboundSchema
|
|
721
|
+
.parse(
|
|
722
|
+
recipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues,
|
|
723
|
+
),
|
|
724
|
+
);
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
export function recipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValuesFromJSON(
|
|
728
|
+
jsonString: string,
|
|
729
|
+
): SafeParseResult<
|
|
730
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues,
|
|
731
|
+
SDKValidationError
|
|
732
|
+
> {
|
|
733
|
+
return safeParse(
|
|
734
|
+
jsonString,
|
|
735
|
+
(x) =>
|
|
736
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$inboundSchema
|
|
737
|
+
.parse(JSON.parse(x)),
|
|
738
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues' from JSON`,
|
|
739
|
+
);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/** @internal */
|
|
743
|
+
export const RecipientGetDocumentRecipientFieldMeta9$inboundSchema: z.ZodType<
|
|
744
|
+
RecipientGetDocumentRecipientFieldMeta9,
|
|
745
|
+
z.ZodTypeDef,
|
|
746
|
+
unknown
|
|
747
|
+
> = z.object({
|
|
748
|
+
label: z.string().optional(),
|
|
749
|
+
placeholder: z.string().optional(),
|
|
750
|
+
required: z.boolean().optional(),
|
|
751
|
+
readOnly: z.boolean().optional(),
|
|
752
|
+
type:
|
|
753
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$inboundSchema,
|
|
754
|
+
values: z.array(
|
|
755
|
+
z.lazy(() =>
|
|
756
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$inboundSchema
|
|
757
|
+
),
|
|
758
|
+
).optional(),
|
|
759
|
+
defaultValue: z.string().optional(),
|
|
760
|
+
});
|
|
761
|
+
|
|
762
|
+
/** @internal */
|
|
763
|
+
export type RecipientGetDocumentRecipientFieldMeta9$Outbound = {
|
|
764
|
+
label?: string | undefined;
|
|
765
|
+
placeholder?: string | undefined;
|
|
766
|
+
required?: boolean | undefined;
|
|
767
|
+
readOnly?: boolean | undefined;
|
|
768
|
+
type: string;
|
|
769
|
+
values?:
|
|
770
|
+
| Array<
|
|
771
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$Outbound
|
|
772
|
+
>
|
|
773
|
+
| undefined;
|
|
774
|
+
defaultValue?: string | undefined;
|
|
775
|
+
};
|
|
776
|
+
|
|
777
|
+
/** @internal */
|
|
778
|
+
export const RecipientGetDocumentRecipientFieldMeta9$outboundSchema: z.ZodType<
|
|
779
|
+
RecipientGetDocumentRecipientFieldMeta9$Outbound,
|
|
780
|
+
z.ZodTypeDef,
|
|
781
|
+
RecipientGetDocumentRecipientFieldMeta9
|
|
782
|
+
> = z.object({
|
|
783
|
+
label: z.string().optional(),
|
|
784
|
+
placeholder: z.string().optional(),
|
|
785
|
+
required: z.boolean().optional(),
|
|
786
|
+
readOnly: z.boolean().optional(),
|
|
787
|
+
type:
|
|
788
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields9Type$outboundSchema,
|
|
789
|
+
values: z.array(
|
|
790
|
+
z.lazy(() =>
|
|
791
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseValues$outboundSchema
|
|
792
|
+
),
|
|
793
|
+
).optional(),
|
|
794
|
+
defaultValue: z.string().optional(),
|
|
795
|
+
});
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* @internal
|
|
799
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
800
|
+
*/
|
|
801
|
+
export namespace RecipientGetDocumentRecipientFieldMeta9$ {
|
|
802
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta9$inboundSchema` instead. */
|
|
803
|
+
export const inboundSchema =
|
|
804
|
+
RecipientGetDocumentRecipientFieldMeta9$inboundSchema;
|
|
805
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta9$outboundSchema` instead. */
|
|
806
|
+
export const outboundSchema =
|
|
807
|
+
RecipientGetDocumentRecipientFieldMeta9$outboundSchema;
|
|
808
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta9$Outbound` instead. */
|
|
809
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta9$Outbound;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
export function recipientGetDocumentRecipientFieldMeta9ToJSON(
|
|
813
|
+
recipientGetDocumentRecipientFieldMeta9:
|
|
814
|
+
RecipientGetDocumentRecipientFieldMeta9,
|
|
815
|
+
): string {
|
|
816
|
+
return JSON.stringify(
|
|
817
|
+
RecipientGetDocumentRecipientFieldMeta9$outboundSchema.parse(
|
|
818
|
+
recipientGetDocumentRecipientFieldMeta9,
|
|
819
|
+
),
|
|
820
|
+
);
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
export function recipientGetDocumentRecipientFieldMeta9FromJSON(
|
|
824
|
+
jsonString: string,
|
|
825
|
+
): SafeParseResult<
|
|
826
|
+
RecipientGetDocumentRecipientFieldMeta9,
|
|
827
|
+
SDKValidationError
|
|
828
|
+
> {
|
|
829
|
+
return safeParse(
|
|
830
|
+
jsonString,
|
|
831
|
+
(x) =>
|
|
832
|
+
RecipientGetDocumentRecipientFieldMeta9$inboundSchema.parse(
|
|
833
|
+
JSON.parse(x),
|
|
834
|
+
),
|
|
835
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta9' from JSON`,
|
|
836
|
+
);
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/** @internal */
|
|
840
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema:
|
|
841
|
+
z.ZodNativeEnum<
|
|
842
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type
|
|
843
|
+
> = z.nativeEnum(
|
|
844
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type,
|
|
845
|
+
);
|
|
846
|
+
|
|
847
|
+
/** @internal */
|
|
848
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema:
|
|
849
|
+
z.ZodNativeEnum<
|
|
850
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type
|
|
851
|
+
> =
|
|
852
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema;
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* @internal
|
|
856
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
857
|
+
*/
|
|
858
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$ {
|
|
859
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema` instead. */
|
|
860
|
+
export const inboundSchema =
|
|
861
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema;
|
|
862
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema` instead. */
|
|
863
|
+
export const outboundSchema =
|
|
864
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/** @internal */
|
|
868
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$inboundSchema:
|
|
869
|
+
z.ZodType<
|
|
870
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues,
|
|
871
|
+
z.ZodTypeDef,
|
|
872
|
+
unknown
|
|
873
|
+
> = z.object({
|
|
874
|
+
id: z.number(),
|
|
875
|
+
checked: z.boolean(),
|
|
876
|
+
value: z.string(),
|
|
877
|
+
});
|
|
878
|
+
|
|
879
|
+
/** @internal */
|
|
880
|
+
export type RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$Outbound =
|
|
881
|
+
{
|
|
882
|
+
id: number;
|
|
883
|
+
checked: boolean;
|
|
884
|
+
value: string;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
/** @internal */
|
|
888
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$outboundSchema:
|
|
889
|
+
z.ZodType<
|
|
890
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$Outbound,
|
|
891
|
+
z.ZodTypeDef,
|
|
892
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues
|
|
893
|
+
> = z.object({
|
|
894
|
+
id: z.number(),
|
|
895
|
+
checked: z.boolean(),
|
|
896
|
+
value: z.string(),
|
|
897
|
+
});
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* @internal
|
|
901
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
902
|
+
*/
|
|
903
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$ {
|
|
904
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$inboundSchema` instead. */
|
|
905
|
+
export const inboundSchema =
|
|
906
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$inboundSchema;
|
|
907
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$outboundSchema` instead. */
|
|
908
|
+
export const outboundSchema =
|
|
909
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$outboundSchema;
|
|
910
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$Outbound` instead. */
|
|
911
|
+
export type Outbound =
|
|
912
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$Outbound;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
export function recipientGetDocumentRecipientFieldMetaDocumentsRecipientsValuesToJSON(
|
|
916
|
+
recipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues:
|
|
917
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues,
|
|
918
|
+
): string {
|
|
919
|
+
return JSON.stringify(
|
|
920
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$outboundSchema
|
|
921
|
+
.parse(recipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues),
|
|
922
|
+
);
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export function recipientGetDocumentRecipientFieldMetaDocumentsRecipientsValuesFromJSON(
|
|
926
|
+
jsonString: string,
|
|
927
|
+
): SafeParseResult<
|
|
928
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues,
|
|
929
|
+
SDKValidationError
|
|
930
|
+
> {
|
|
931
|
+
return safeParse(
|
|
932
|
+
jsonString,
|
|
933
|
+
(x) =>
|
|
934
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$inboundSchema
|
|
935
|
+
.parse(JSON.parse(x)),
|
|
936
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues' from JSON`,
|
|
937
|
+
);
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
/** @internal */
|
|
941
|
+
export const RecipientGetDocumentRecipientFieldMeta8$inboundSchema: z.ZodType<
|
|
942
|
+
RecipientGetDocumentRecipientFieldMeta8,
|
|
943
|
+
z.ZodTypeDef,
|
|
944
|
+
unknown
|
|
945
|
+
> = z.object({
|
|
946
|
+
label: z.string().optional(),
|
|
947
|
+
placeholder: z.string().optional(),
|
|
948
|
+
required: z.boolean().optional(),
|
|
949
|
+
readOnly: z.boolean().optional(),
|
|
950
|
+
type:
|
|
951
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$inboundSchema,
|
|
952
|
+
values: z.array(
|
|
953
|
+
z.lazy(() =>
|
|
954
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$inboundSchema
|
|
955
|
+
),
|
|
956
|
+
).optional(),
|
|
957
|
+
validationRule: z.string().optional(),
|
|
958
|
+
validationLength: z.number().optional(),
|
|
959
|
+
});
|
|
960
|
+
|
|
961
|
+
/** @internal */
|
|
962
|
+
export type RecipientGetDocumentRecipientFieldMeta8$Outbound = {
|
|
963
|
+
label?: string | undefined;
|
|
964
|
+
placeholder?: string | undefined;
|
|
965
|
+
required?: boolean | undefined;
|
|
966
|
+
readOnly?: boolean | undefined;
|
|
967
|
+
type: string;
|
|
968
|
+
values?:
|
|
969
|
+
| Array<
|
|
970
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$Outbound
|
|
971
|
+
>
|
|
972
|
+
| undefined;
|
|
973
|
+
validationRule?: string | undefined;
|
|
974
|
+
validationLength?: number | undefined;
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
/** @internal */
|
|
978
|
+
export const RecipientGetDocumentRecipientFieldMeta8$outboundSchema: z.ZodType<
|
|
979
|
+
RecipientGetDocumentRecipientFieldMeta8$Outbound,
|
|
980
|
+
z.ZodTypeDef,
|
|
981
|
+
RecipientGetDocumentRecipientFieldMeta8
|
|
982
|
+
> = z.object({
|
|
983
|
+
label: z.string().optional(),
|
|
984
|
+
placeholder: z.string().optional(),
|
|
985
|
+
required: z.boolean().optional(),
|
|
986
|
+
readOnly: z.boolean().optional(),
|
|
987
|
+
type:
|
|
988
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFields8Type$outboundSchema,
|
|
989
|
+
values: z.array(
|
|
990
|
+
z.lazy(() =>
|
|
991
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsValues$outboundSchema
|
|
992
|
+
),
|
|
993
|
+
).optional(),
|
|
994
|
+
validationRule: z.string().optional(),
|
|
995
|
+
validationLength: z.number().optional(),
|
|
996
|
+
});
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* @internal
|
|
1000
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1001
|
+
*/
|
|
1002
|
+
export namespace RecipientGetDocumentRecipientFieldMeta8$ {
|
|
1003
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta8$inboundSchema` instead. */
|
|
1004
|
+
export const inboundSchema =
|
|
1005
|
+
RecipientGetDocumentRecipientFieldMeta8$inboundSchema;
|
|
1006
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta8$outboundSchema` instead. */
|
|
1007
|
+
export const outboundSchema =
|
|
1008
|
+
RecipientGetDocumentRecipientFieldMeta8$outboundSchema;
|
|
1009
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta8$Outbound` instead. */
|
|
1010
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta8$Outbound;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export function recipientGetDocumentRecipientFieldMeta8ToJSON(
|
|
1014
|
+
recipientGetDocumentRecipientFieldMeta8:
|
|
1015
|
+
RecipientGetDocumentRecipientFieldMeta8,
|
|
1016
|
+
): string {
|
|
1017
|
+
return JSON.stringify(
|
|
1018
|
+
RecipientGetDocumentRecipientFieldMeta8$outboundSchema.parse(
|
|
1019
|
+
recipientGetDocumentRecipientFieldMeta8,
|
|
1020
|
+
),
|
|
1021
|
+
);
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export function recipientGetDocumentRecipientFieldMeta8FromJSON(
|
|
1025
|
+
jsonString: string,
|
|
1026
|
+
): SafeParseResult<
|
|
1027
|
+
RecipientGetDocumentRecipientFieldMeta8,
|
|
1028
|
+
SDKValidationError
|
|
1029
|
+
> {
|
|
1030
|
+
return safeParse(
|
|
1031
|
+
jsonString,
|
|
1032
|
+
(x) =>
|
|
1033
|
+
RecipientGetDocumentRecipientFieldMeta8$inboundSchema.parse(
|
|
1034
|
+
JSON.parse(x),
|
|
1035
|
+
),
|
|
1036
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta8' from JSON`,
|
|
1037
|
+
);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
/** @internal */
|
|
1041
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema:
|
|
1042
|
+
z.ZodNativeEnum<
|
|
1043
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType
|
|
1044
|
+
> = z.nativeEnum(
|
|
1045
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType,
|
|
1046
|
+
);
|
|
1047
|
+
|
|
1048
|
+
/** @internal */
|
|
1049
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema:
|
|
1050
|
+
z.ZodNativeEnum<
|
|
1051
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType
|
|
1052
|
+
> =
|
|
1053
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema;
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* @internal
|
|
1057
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1058
|
+
*/
|
|
1059
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$ {
|
|
1060
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema` instead. */
|
|
1061
|
+
export const inboundSchema =
|
|
1062
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema;
|
|
1063
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema` instead. */
|
|
1064
|
+
export const outboundSchema =
|
|
1065
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
/** @internal */
|
|
1069
|
+
export const RecipientGetDocumentRecipientFieldMetaValues$inboundSchema:
|
|
1070
|
+
z.ZodType<
|
|
1071
|
+
RecipientGetDocumentRecipientFieldMetaValues,
|
|
1072
|
+
z.ZodTypeDef,
|
|
1073
|
+
unknown
|
|
1074
|
+
> = z.object({
|
|
1075
|
+
id: z.number(),
|
|
1076
|
+
checked: z.boolean(),
|
|
1077
|
+
value: z.string(),
|
|
1078
|
+
});
|
|
1079
|
+
|
|
1080
|
+
/** @internal */
|
|
1081
|
+
export type RecipientGetDocumentRecipientFieldMetaValues$Outbound = {
|
|
1082
|
+
id: number;
|
|
1083
|
+
checked: boolean;
|
|
1084
|
+
value: string;
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
/** @internal */
|
|
1088
|
+
export const RecipientGetDocumentRecipientFieldMetaValues$outboundSchema:
|
|
1089
|
+
z.ZodType<
|
|
1090
|
+
RecipientGetDocumentRecipientFieldMetaValues$Outbound,
|
|
1091
|
+
z.ZodTypeDef,
|
|
1092
|
+
RecipientGetDocumentRecipientFieldMetaValues
|
|
1093
|
+
> = z.object({
|
|
1094
|
+
id: z.number(),
|
|
1095
|
+
checked: z.boolean(),
|
|
1096
|
+
value: z.string(),
|
|
1097
|
+
});
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* @internal
|
|
1101
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1102
|
+
*/
|
|
1103
|
+
export namespace RecipientGetDocumentRecipientFieldMetaValues$ {
|
|
1104
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaValues$inboundSchema` instead. */
|
|
1105
|
+
export const inboundSchema =
|
|
1106
|
+
RecipientGetDocumentRecipientFieldMetaValues$inboundSchema;
|
|
1107
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaValues$outboundSchema` instead. */
|
|
1108
|
+
export const outboundSchema =
|
|
1109
|
+
RecipientGetDocumentRecipientFieldMetaValues$outboundSchema;
|
|
1110
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaValues$Outbound` instead. */
|
|
1111
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMetaValues$Outbound;
|
|
1112
|
+
}
|
|
1113
|
+
|
|
1114
|
+
export function recipientGetDocumentRecipientFieldMetaValuesToJSON(
|
|
1115
|
+
recipientGetDocumentRecipientFieldMetaValues:
|
|
1116
|
+
RecipientGetDocumentRecipientFieldMetaValues,
|
|
1117
|
+
): string {
|
|
1118
|
+
return JSON.stringify(
|
|
1119
|
+
RecipientGetDocumentRecipientFieldMetaValues$outboundSchema.parse(
|
|
1120
|
+
recipientGetDocumentRecipientFieldMetaValues,
|
|
1121
|
+
),
|
|
1122
|
+
);
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
export function recipientGetDocumentRecipientFieldMetaValuesFromJSON(
|
|
1126
|
+
jsonString: string,
|
|
1127
|
+
): SafeParseResult<
|
|
1128
|
+
RecipientGetDocumentRecipientFieldMetaValues,
|
|
1129
|
+
SDKValidationError
|
|
1130
|
+
> {
|
|
1131
|
+
return safeParse(
|
|
1132
|
+
jsonString,
|
|
1133
|
+
(x) =>
|
|
1134
|
+
RecipientGetDocumentRecipientFieldMetaValues$inboundSchema.parse(
|
|
1135
|
+
JSON.parse(x),
|
|
1136
|
+
),
|
|
1137
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMetaValues' from JSON`,
|
|
1138
|
+
);
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
/** @internal */
|
|
1142
|
+
export const RecipientGetDocumentRecipientFieldMeta7$inboundSchema: z.ZodType<
|
|
1143
|
+
RecipientGetDocumentRecipientFieldMeta7,
|
|
1144
|
+
z.ZodTypeDef,
|
|
1145
|
+
unknown
|
|
1146
|
+
> = z.object({
|
|
1147
|
+
label: z.string().optional(),
|
|
1148
|
+
placeholder: z.string().optional(),
|
|
1149
|
+
required: z.boolean().optional(),
|
|
1150
|
+
readOnly: z.boolean().optional(),
|
|
1151
|
+
type:
|
|
1152
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$inboundSchema,
|
|
1153
|
+
values: z.array(
|
|
1154
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMetaValues$inboundSchema),
|
|
1155
|
+
).optional(),
|
|
1156
|
+
});
|
|
1157
|
+
|
|
1158
|
+
/** @internal */
|
|
1159
|
+
export type RecipientGetDocumentRecipientFieldMeta7$Outbound = {
|
|
1160
|
+
label?: string | undefined;
|
|
1161
|
+
placeholder?: string | undefined;
|
|
1162
|
+
required?: boolean | undefined;
|
|
1163
|
+
readOnly?: boolean | undefined;
|
|
1164
|
+
type: string;
|
|
1165
|
+
values?:
|
|
1166
|
+
| Array<RecipientGetDocumentRecipientFieldMetaValues$Outbound>
|
|
1167
|
+
| undefined;
|
|
1168
|
+
};
|
|
1169
|
+
|
|
1170
|
+
/** @internal */
|
|
1171
|
+
export const RecipientGetDocumentRecipientFieldMeta7$outboundSchema: z.ZodType<
|
|
1172
|
+
RecipientGetDocumentRecipientFieldMeta7$Outbound,
|
|
1173
|
+
z.ZodTypeDef,
|
|
1174
|
+
RecipientGetDocumentRecipientFieldMeta7
|
|
1175
|
+
> = z.object({
|
|
1176
|
+
label: z.string().optional(),
|
|
1177
|
+
placeholder: z.string().optional(),
|
|
1178
|
+
required: z.boolean().optional(),
|
|
1179
|
+
readOnly: z.boolean().optional(),
|
|
1180
|
+
type:
|
|
1181
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyFieldsType$outboundSchema,
|
|
1182
|
+
values: z.array(
|
|
1183
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMetaValues$outboundSchema),
|
|
1184
|
+
).optional(),
|
|
1185
|
+
});
|
|
1186
|
+
|
|
1187
|
+
/**
|
|
1188
|
+
* @internal
|
|
1189
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1190
|
+
*/
|
|
1191
|
+
export namespace RecipientGetDocumentRecipientFieldMeta7$ {
|
|
1192
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta7$inboundSchema` instead. */
|
|
1193
|
+
export const inboundSchema =
|
|
1194
|
+
RecipientGetDocumentRecipientFieldMeta7$inboundSchema;
|
|
1195
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta7$outboundSchema` instead. */
|
|
1196
|
+
export const outboundSchema =
|
|
1197
|
+
RecipientGetDocumentRecipientFieldMeta7$outboundSchema;
|
|
1198
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta7$Outbound` instead. */
|
|
1199
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta7$Outbound;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
export function recipientGetDocumentRecipientFieldMeta7ToJSON(
|
|
1203
|
+
recipientGetDocumentRecipientFieldMeta7:
|
|
1204
|
+
RecipientGetDocumentRecipientFieldMeta7,
|
|
1205
|
+
): string {
|
|
1206
|
+
return JSON.stringify(
|
|
1207
|
+
RecipientGetDocumentRecipientFieldMeta7$outboundSchema.parse(
|
|
1208
|
+
recipientGetDocumentRecipientFieldMeta7,
|
|
1209
|
+
),
|
|
1210
|
+
);
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
export function recipientGetDocumentRecipientFieldMeta7FromJSON(
|
|
1214
|
+
jsonString: string,
|
|
1215
|
+
): SafeParseResult<
|
|
1216
|
+
RecipientGetDocumentRecipientFieldMeta7,
|
|
1217
|
+
SDKValidationError
|
|
1218
|
+
> {
|
|
1219
|
+
return safeParse(
|
|
1220
|
+
jsonString,
|
|
1221
|
+
(x) =>
|
|
1222
|
+
RecipientGetDocumentRecipientFieldMeta7$inboundSchema.parse(
|
|
1223
|
+
JSON.parse(x),
|
|
1224
|
+
),
|
|
1225
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta7' from JSON`,
|
|
1226
|
+
);
|
|
1227
|
+
}
|
|
1228
|
+
|
|
1229
|
+
/** @internal */
|
|
1230
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema:
|
|
1231
|
+
z.ZodNativeEnum<
|
|
1232
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType
|
|
1233
|
+
> = z.nativeEnum(
|
|
1234
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType,
|
|
1235
|
+
);
|
|
1236
|
+
|
|
1237
|
+
/** @internal */
|
|
1238
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema:
|
|
1239
|
+
z.ZodNativeEnum<
|
|
1240
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType
|
|
1241
|
+
> =
|
|
1242
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* @internal
|
|
1246
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1247
|
+
*/
|
|
1248
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$ {
|
|
1249
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
|
|
1250
|
+
export const inboundSchema =
|
|
1251
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema;
|
|
1252
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
|
|
1253
|
+
export const outboundSchema =
|
|
1254
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
/** @internal */
|
|
1258
|
+
export const RecipientGetDocumentRecipientFieldMeta6$inboundSchema: z.ZodType<
|
|
1259
|
+
RecipientGetDocumentRecipientFieldMeta6,
|
|
1260
|
+
z.ZodTypeDef,
|
|
1261
|
+
unknown
|
|
1262
|
+
> = z.object({
|
|
1263
|
+
label: z.string().optional(),
|
|
1264
|
+
placeholder: z.string().optional(),
|
|
1265
|
+
required: z.boolean().optional(),
|
|
1266
|
+
readOnly: z.boolean().optional(),
|
|
1267
|
+
type:
|
|
1268
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$inboundSchema,
|
|
1269
|
+
numberFormat: z.string().optional(),
|
|
1270
|
+
value: z.string().optional(),
|
|
1271
|
+
minValue: z.number().optional(),
|
|
1272
|
+
maxValue: z.number().optional(),
|
|
1273
|
+
fontSize: z.number().optional(),
|
|
1274
|
+
});
|
|
1275
|
+
|
|
1276
|
+
/** @internal */
|
|
1277
|
+
export type RecipientGetDocumentRecipientFieldMeta6$Outbound = {
|
|
1278
|
+
label?: string | undefined;
|
|
1279
|
+
placeholder?: string | undefined;
|
|
1280
|
+
required?: boolean | undefined;
|
|
1281
|
+
readOnly?: boolean | undefined;
|
|
1282
|
+
type: string;
|
|
1283
|
+
numberFormat?: string | undefined;
|
|
1284
|
+
value?: string | undefined;
|
|
1285
|
+
minValue?: number | undefined;
|
|
1286
|
+
maxValue?: number | undefined;
|
|
1287
|
+
fontSize?: number | undefined;
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
/** @internal */
|
|
1291
|
+
export const RecipientGetDocumentRecipientFieldMeta6$outboundSchema: z.ZodType<
|
|
1292
|
+
RecipientGetDocumentRecipientFieldMeta6$Outbound,
|
|
1293
|
+
z.ZodTypeDef,
|
|
1294
|
+
RecipientGetDocumentRecipientFieldMeta6
|
|
1295
|
+
> = z.object({
|
|
1296
|
+
label: z.string().optional(),
|
|
1297
|
+
placeholder: z.string().optional(),
|
|
1298
|
+
required: z.boolean().optional(),
|
|
1299
|
+
readOnly: z.boolean().optional(),
|
|
1300
|
+
type:
|
|
1301
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONResponseBodyType$outboundSchema,
|
|
1302
|
+
numberFormat: z.string().optional(),
|
|
1303
|
+
value: z.string().optional(),
|
|
1304
|
+
minValue: z.number().optional(),
|
|
1305
|
+
maxValue: z.number().optional(),
|
|
1306
|
+
fontSize: z.number().optional(),
|
|
1307
|
+
});
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* @internal
|
|
1311
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1312
|
+
*/
|
|
1313
|
+
export namespace RecipientGetDocumentRecipientFieldMeta6$ {
|
|
1314
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta6$inboundSchema` instead. */
|
|
1315
|
+
export const inboundSchema =
|
|
1316
|
+
RecipientGetDocumentRecipientFieldMeta6$inboundSchema;
|
|
1317
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta6$outboundSchema` instead. */
|
|
1318
|
+
export const outboundSchema =
|
|
1319
|
+
RecipientGetDocumentRecipientFieldMeta6$outboundSchema;
|
|
1320
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta6$Outbound` instead. */
|
|
1321
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta6$Outbound;
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
export function recipientGetDocumentRecipientFieldMeta6ToJSON(
|
|
1325
|
+
recipientGetDocumentRecipientFieldMeta6:
|
|
1326
|
+
RecipientGetDocumentRecipientFieldMeta6,
|
|
1327
|
+
): string {
|
|
1328
|
+
return JSON.stringify(
|
|
1329
|
+
RecipientGetDocumentRecipientFieldMeta6$outboundSchema.parse(
|
|
1330
|
+
recipientGetDocumentRecipientFieldMeta6,
|
|
1331
|
+
),
|
|
1332
|
+
);
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
export function recipientGetDocumentRecipientFieldMeta6FromJSON(
|
|
1336
|
+
jsonString: string,
|
|
1337
|
+
): SafeParseResult<
|
|
1338
|
+
RecipientGetDocumentRecipientFieldMeta6,
|
|
1339
|
+
SDKValidationError
|
|
1340
|
+
> {
|
|
1341
|
+
return safeParse(
|
|
1342
|
+
jsonString,
|
|
1343
|
+
(x) =>
|
|
1344
|
+
RecipientGetDocumentRecipientFieldMeta6$inboundSchema.parse(
|
|
1345
|
+
JSON.parse(x),
|
|
1346
|
+
),
|
|
1347
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta6' from JSON`,
|
|
1348
|
+
);
|
|
1349
|
+
}
|
|
1350
|
+
|
|
1351
|
+
/** @internal */
|
|
1352
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$inboundSchema:
|
|
1353
|
+
z.ZodNativeEnum<
|
|
1354
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType
|
|
1355
|
+
> = z.nativeEnum(
|
|
1356
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType,
|
|
1357
|
+
);
|
|
1358
|
+
|
|
1359
|
+
/** @internal */
|
|
1360
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$outboundSchema:
|
|
1361
|
+
z.ZodNativeEnum<
|
|
1362
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType
|
|
1363
|
+
> =
|
|
1364
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$inboundSchema;
|
|
1365
|
+
|
|
1366
|
+
/**
|
|
1367
|
+
* @internal
|
|
1368
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1369
|
+
*/
|
|
1370
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$ {
|
|
1371
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$inboundSchema` instead. */
|
|
1372
|
+
export const inboundSchema =
|
|
1373
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$inboundSchema;
|
|
1374
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$outboundSchema` instead. */
|
|
1375
|
+
export const outboundSchema =
|
|
1376
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$outboundSchema;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
/** @internal */
|
|
1380
|
+
export const RecipientGetDocumentRecipientFieldMeta5$inboundSchema: z.ZodType<
|
|
1381
|
+
RecipientGetDocumentRecipientFieldMeta5,
|
|
1382
|
+
z.ZodTypeDef,
|
|
1383
|
+
unknown
|
|
1384
|
+
> = z.object({
|
|
1385
|
+
label: z.string().optional(),
|
|
1386
|
+
placeholder: z.string().optional(),
|
|
1387
|
+
required: z.boolean().optional(),
|
|
1388
|
+
readOnly: z.boolean().optional(),
|
|
1389
|
+
type:
|
|
1390
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$inboundSchema,
|
|
1391
|
+
text: z.string().optional(),
|
|
1392
|
+
characterLimit: z.number().optional(),
|
|
1393
|
+
fontSize: z.number().optional(),
|
|
1394
|
+
});
|
|
1395
|
+
|
|
1396
|
+
/** @internal */
|
|
1397
|
+
export type RecipientGetDocumentRecipientFieldMeta5$Outbound = {
|
|
1398
|
+
label?: string | undefined;
|
|
1399
|
+
placeholder?: string | undefined;
|
|
1400
|
+
required?: boolean | undefined;
|
|
1401
|
+
readOnly?: boolean | undefined;
|
|
1402
|
+
type: string;
|
|
1403
|
+
text?: string | undefined;
|
|
1404
|
+
characterLimit?: number | undefined;
|
|
1405
|
+
fontSize?: number | undefined;
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
/** @internal */
|
|
1409
|
+
export const RecipientGetDocumentRecipientFieldMeta5$outboundSchema: z.ZodType<
|
|
1410
|
+
RecipientGetDocumentRecipientFieldMeta5$Outbound,
|
|
1411
|
+
z.ZodTypeDef,
|
|
1412
|
+
RecipientGetDocumentRecipientFieldMeta5
|
|
1413
|
+
> = z.object({
|
|
1414
|
+
label: z.string().optional(),
|
|
1415
|
+
placeholder: z.string().optional(),
|
|
1416
|
+
required: z.boolean().optional(),
|
|
1417
|
+
readOnly: z.boolean().optional(),
|
|
1418
|
+
type:
|
|
1419
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200ApplicationJSONType$outboundSchema,
|
|
1420
|
+
text: z.string().optional(),
|
|
1421
|
+
characterLimit: z.number().optional(),
|
|
1422
|
+
fontSize: z.number().optional(),
|
|
1423
|
+
});
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* @internal
|
|
1427
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1428
|
+
*/
|
|
1429
|
+
export namespace RecipientGetDocumentRecipientFieldMeta5$ {
|
|
1430
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta5$inboundSchema` instead. */
|
|
1431
|
+
export const inboundSchema =
|
|
1432
|
+
RecipientGetDocumentRecipientFieldMeta5$inboundSchema;
|
|
1433
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta5$outboundSchema` instead. */
|
|
1434
|
+
export const outboundSchema =
|
|
1435
|
+
RecipientGetDocumentRecipientFieldMeta5$outboundSchema;
|
|
1436
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta5$Outbound` instead. */
|
|
1437
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta5$Outbound;
|
|
1438
|
+
}
|
|
1439
|
+
|
|
1440
|
+
export function recipientGetDocumentRecipientFieldMeta5ToJSON(
|
|
1441
|
+
recipientGetDocumentRecipientFieldMeta5:
|
|
1442
|
+
RecipientGetDocumentRecipientFieldMeta5,
|
|
1443
|
+
): string {
|
|
1444
|
+
return JSON.stringify(
|
|
1445
|
+
RecipientGetDocumentRecipientFieldMeta5$outboundSchema.parse(
|
|
1446
|
+
recipientGetDocumentRecipientFieldMeta5,
|
|
1447
|
+
),
|
|
1448
|
+
);
|
|
1449
|
+
}
|
|
1450
|
+
|
|
1451
|
+
export function recipientGetDocumentRecipientFieldMeta5FromJSON(
|
|
1452
|
+
jsonString: string,
|
|
1453
|
+
): SafeParseResult<
|
|
1454
|
+
RecipientGetDocumentRecipientFieldMeta5,
|
|
1455
|
+
SDKValidationError
|
|
1456
|
+
> {
|
|
1457
|
+
return safeParse(
|
|
1458
|
+
jsonString,
|
|
1459
|
+
(x) =>
|
|
1460
|
+
RecipientGetDocumentRecipientFieldMeta5$inboundSchema.parse(
|
|
1461
|
+
JSON.parse(x),
|
|
1462
|
+
),
|
|
1463
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta5' from JSON`,
|
|
1464
|
+
);
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
/** @internal */
|
|
1468
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$inboundSchema:
|
|
1469
|
+
z.ZodNativeEnum<
|
|
1470
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type
|
|
1471
|
+
> = z.nativeEnum(
|
|
1472
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type,
|
|
1473
|
+
);
|
|
1474
|
+
|
|
1475
|
+
/** @internal */
|
|
1476
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$outboundSchema:
|
|
1477
|
+
z.ZodNativeEnum<
|
|
1478
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type
|
|
1479
|
+
> =
|
|
1480
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$inboundSchema;
|
|
1481
|
+
|
|
1482
|
+
/**
|
|
1483
|
+
* @internal
|
|
1484
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1485
|
+
*/
|
|
1486
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$ {
|
|
1487
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$inboundSchema` instead. */
|
|
1488
|
+
export const inboundSchema =
|
|
1489
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$inboundSchema;
|
|
1490
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$outboundSchema` instead. */
|
|
1491
|
+
export const outboundSchema =
|
|
1492
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$outboundSchema;
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
/** @internal */
|
|
1496
|
+
export const RecipientGetDocumentRecipientFieldMeta4$inboundSchema: z.ZodType<
|
|
1497
|
+
RecipientGetDocumentRecipientFieldMeta4,
|
|
1498
|
+
z.ZodTypeDef,
|
|
1499
|
+
unknown
|
|
1500
|
+
> = z.object({
|
|
1501
|
+
label: z.string().optional(),
|
|
1502
|
+
placeholder: z.string().optional(),
|
|
1503
|
+
required: z.boolean().optional(),
|
|
1504
|
+
readOnly: z.boolean().optional(),
|
|
1505
|
+
type:
|
|
1506
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$inboundSchema,
|
|
1507
|
+
fontSize: z.number().optional(),
|
|
1508
|
+
});
|
|
1509
|
+
|
|
1510
|
+
/** @internal */
|
|
1511
|
+
export type RecipientGetDocumentRecipientFieldMeta4$Outbound = {
|
|
1512
|
+
label?: string | undefined;
|
|
1513
|
+
placeholder?: string | undefined;
|
|
1514
|
+
required?: boolean | undefined;
|
|
1515
|
+
readOnly?: boolean | undefined;
|
|
1516
|
+
type: string;
|
|
1517
|
+
fontSize?: number | undefined;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
/** @internal */
|
|
1521
|
+
export const RecipientGetDocumentRecipientFieldMeta4$outboundSchema: z.ZodType<
|
|
1522
|
+
RecipientGetDocumentRecipientFieldMeta4$Outbound,
|
|
1523
|
+
z.ZodTypeDef,
|
|
1524
|
+
RecipientGetDocumentRecipientFieldMeta4
|
|
1525
|
+
> = z.object({
|
|
1526
|
+
label: z.string().optional(),
|
|
1527
|
+
placeholder: z.string().optional(),
|
|
1528
|
+
required: z.boolean().optional(),
|
|
1529
|
+
readOnly: z.boolean().optional(),
|
|
1530
|
+
type:
|
|
1531
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponse200Type$outboundSchema,
|
|
1532
|
+
fontSize: z.number().optional(),
|
|
1533
|
+
});
|
|
1534
|
+
|
|
1535
|
+
/**
|
|
1536
|
+
* @internal
|
|
1537
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1538
|
+
*/
|
|
1539
|
+
export namespace RecipientGetDocumentRecipientFieldMeta4$ {
|
|
1540
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta4$inboundSchema` instead. */
|
|
1541
|
+
export const inboundSchema =
|
|
1542
|
+
RecipientGetDocumentRecipientFieldMeta4$inboundSchema;
|
|
1543
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta4$outboundSchema` instead. */
|
|
1544
|
+
export const outboundSchema =
|
|
1545
|
+
RecipientGetDocumentRecipientFieldMeta4$outboundSchema;
|
|
1546
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta4$Outbound` instead. */
|
|
1547
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta4$Outbound;
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
export function recipientGetDocumentRecipientFieldMeta4ToJSON(
|
|
1551
|
+
recipientGetDocumentRecipientFieldMeta4:
|
|
1552
|
+
RecipientGetDocumentRecipientFieldMeta4,
|
|
1553
|
+
): string {
|
|
1554
|
+
return JSON.stringify(
|
|
1555
|
+
RecipientGetDocumentRecipientFieldMeta4$outboundSchema.parse(
|
|
1556
|
+
recipientGetDocumentRecipientFieldMeta4,
|
|
1557
|
+
),
|
|
1558
|
+
);
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
export function recipientGetDocumentRecipientFieldMeta4FromJSON(
|
|
1562
|
+
jsonString: string,
|
|
1563
|
+
): SafeParseResult<
|
|
1564
|
+
RecipientGetDocumentRecipientFieldMeta4,
|
|
1565
|
+
SDKValidationError
|
|
1566
|
+
> {
|
|
1567
|
+
return safeParse(
|
|
1568
|
+
jsonString,
|
|
1569
|
+
(x) =>
|
|
1570
|
+
RecipientGetDocumentRecipientFieldMeta4$inboundSchema.parse(
|
|
1571
|
+
JSON.parse(x),
|
|
1572
|
+
),
|
|
1573
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta4' from JSON`,
|
|
1574
|
+
);
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
/** @internal */
|
|
1578
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$inboundSchema:
|
|
1579
|
+
z.ZodNativeEnum<
|
|
1580
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType
|
|
1581
|
+
> = z.nativeEnum(
|
|
1582
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType,
|
|
1583
|
+
);
|
|
1584
|
+
|
|
1585
|
+
/** @internal */
|
|
1586
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$outboundSchema:
|
|
1587
|
+
z.ZodNativeEnum<
|
|
1588
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType
|
|
1589
|
+
> =
|
|
1590
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$inboundSchema;
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* @internal
|
|
1594
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1595
|
+
*/
|
|
1596
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$ {
|
|
1597
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$inboundSchema` instead. */
|
|
1598
|
+
export const inboundSchema =
|
|
1599
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$inboundSchema;
|
|
1600
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$outboundSchema` instead. */
|
|
1601
|
+
export const outboundSchema =
|
|
1602
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$outboundSchema;
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
/** @internal */
|
|
1606
|
+
export const RecipientGetDocumentRecipientFieldMeta3$inboundSchema: z.ZodType<
|
|
1607
|
+
RecipientGetDocumentRecipientFieldMeta3,
|
|
1608
|
+
z.ZodTypeDef,
|
|
1609
|
+
unknown
|
|
1610
|
+
> = z.object({
|
|
1611
|
+
label: z.string().optional(),
|
|
1612
|
+
placeholder: z.string().optional(),
|
|
1613
|
+
required: z.boolean().optional(),
|
|
1614
|
+
readOnly: z.boolean().optional(),
|
|
1615
|
+
type:
|
|
1616
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$inboundSchema,
|
|
1617
|
+
fontSize: z.number().optional(),
|
|
1618
|
+
});
|
|
1619
|
+
|
|
1620
|
+
/** @internal */
|
|
1621
|
+
export type RecipientGetDocumentRecipientFieldMeta3$Outbound = {
|
|
1622
|
+
label?: string | undefined;
|
|
1623
|
+
placeholder?: string | undefined;
|
|
1624
|
+
required?: boolean | undefined;
|
|
1625
|
+
readOnly?: boolean | undefined;
|
|
1626
|
+
type: string;
|
|
1627
|
+
fontSize?: number | undefined;
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
/** @internal */
|
|
1631
|
+
export const RecipientGetDocumentRecipientFieldMeta3$outboundSchema: z.ZodType<
|
|
1632
|
+
RecipientGetDocumentRecipientFieldMeta3$Outbound,
|
|
1633
|
+
z.ZodTypeDef,
|
|
1634
|
+
RecipientGetDocumentRecipientFieldMeta3
|
|
1635
|
+
> = z.object({
|
|
1636
|
+
label: z.string().optional(),
|
|
1637
|
+
placeholder: z.string().optional(),
|
|
1638
|
+
required: z.boolean().optional(),
|
|
1639
|
+
readOnly: z.boolean().optional(),
|
|
1640
|
+
type:
|
|
1641
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsResponseType$outboundSchema,
|
|
1642
|
+
fontSize: z.number().optional(),
|
|
1643
|
+
});
|
|
1644
|
+
|
|
1645
|
+
/**
|
|
1646
|
+
* @internal
|
|
1647
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1648
|
+
*/
|
|
1649
|
+
export namespace RecipientGetDocumentRecipientFieldMeta3$ {
|
|
1650
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta3$inboundSchema` instead. */
|
|
1651
|
+
export const inboundSchema =
|
|
1652
|
+
RecipientGetDocumentRecipientFieldMeta3$inboundSchema;
|
|
1653
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta3$outboundSchema` instead. */
|
|
1654
|
+
export const outboundSchema =
|
|
1655
|
+
RecipientGetDocumentRecipientFieldMeta3$outboundSchema;
|
|
1656
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta3$Outbound` instead. */
|
|
1657
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta3$Outbound;
|
|
1658
|
+
}
|
|
1659
|
+
|
|
1660
|
+
export function recipientGetDocumentRecipientFieldMeta3ToJSON(
|
|
1661
|
+
recipientGetDocumentRecipientFieldMeta3:
|
|
1662
|
+
RecipientGetDocumentRecipientFieldMeta3,
|
|
1663
|
+
): string {
|
|
1664
|
+
return JSON.stringify(
|
|
1665
|
+
RecipientGetDocumentRecipientFieldMeta3$outboundSchema.parse(
|
|
1666
|
+
recipientGetDocumentRecipientFieldMeta3,
|
|
1667
|
+
),
|
|
1668
|
+
);
|
|
1669
|
+
}
|
|
1670
|
+
|
|
1671
|
+
export function recipientGetDocumentRecipientFieldMeta3FromJSON(
|
|
1672
|
+
jsonString: string,
|
|
1673
|
+
): SafeParseResult<
|
|
1674
|
+
RecipientGetDocumentRecipientFieldMeta3,
|
|
1675
|
+
SDKValidationError
|
|
1676
|
+
> {
|
|
1677
|
+
return safeParse(
|
|
1678
|
+
jsonString,
|
|
1679
|
+
(x) =>
|
|
1680
|
+
RecipientGetDocumentRecipientFieldMeta3$inboundSchema.parse(
|
|
1681
|
+
JSON.parse(x),
|
|
1682
|
+
),
|
|
1683
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta3' from JSON`,
|
|
1684
|
+
);
|
|
1685
|
+
}
|
|
1686
|
+
|
|
1687
|
+
/** @internal */
|
|
1688
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$inboundSchema:
|
|
1689
|
+
z.ZodNativeEnum<
|
|
1690
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType
|
|
1691
|
+
> = z.nativeEnum(
|
|
1692
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType,
|
|
1693
|
+
);
|
|
1694
|
+
|
|
1695
|
+
/** @internal */
|
|
1696
|
+
export const RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$outboundSchema:
|
|
1697
|
+
z.ZodNativeEnum<
|
|
1698
|
+
typeof RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType
|
|
1699
|
+
> =
|
|
1700
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$inboundSchema;
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* @internal
|
|
1704
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1705
|
+
*/
|
|
1706
|
+
export namespace RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$ {
|
|
1707
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$inboundSchema` instead. */
|
|
1708
|
+
export const inboundSchema =
|
|
1709
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$inboundSchema;
|
|
1710
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$outboundSchema` instead. */
|
|
1711
|
+
export const outboundSchema =
|
|
1712
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$outboundSchema;
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
/** @internal */
|
|
1716
|
+
export const RecipientGetDocumentRecipientFieldMeta2$inboundSchema: z.ZodType<
|
|
1717
|
+
RecipientGetDocumentRecipientFieldMeta2,
|
|
1718
|
+
z.ZodTypeDef,
|
|
1719
|
+
unknown
|
|
1720
|
+
> = z.object({
|
|
1721
|
+
label: z.string().optional(),
|
|
1722
|
+
placeholder: z.string().optional(),
|
|
1723
|
+
required: z.boolean().optional(),
|
|
1724
|
+
readOnly: z.boolean().optional(),
|
|
1725
|
+
type:
|
|
1726
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$inboundSchema,
|
|
1727
|
+
fontSize: z.number().optional(),
|
|
1728
|
+
});
|
|
1729
|
+
|
|
1730
|
+
/** @internal */
|
|
1731
|
+
export type RecipientGetDocumentRecipientFieldMeta2$Outbound = {
|
|
1732
|
+
label?: string | undefined;
|
|
1733
|
+
placeholder?: string | undefined;
|
|
1734
|
+
required?: boolean | undefined;
|
|
1735
|
+
readOnly?: boolean | undefined;
|
|
1736
|
+
type: string;
|
|
1737
|
+
fontSize?: number | undefined;
|
|
1738
|
+
};
|
|
1739
|
+
|
|
1740
|
+
/** @internal */
|
|
1741
|
+
export const RecipientGetDocumentRecipientFieldMeta2$outboundSchema: z.ZodType<
|
|
1742
|
+
RecipientGetDocumentRecipientFieldMeta2$Outbound,
|
|
1743
|
+
z.ZodTypeDef,
|
|
1744
|
+
RecipientGetDocumentRecipientFieldMeta2
|
|
1745
|
+
> = z.object({
|
|
1746
|
+
label: z.string().optional(),
|
|
1747
|
+
placeholder: z.string().optional(),
|
|
1748
|
+
required: z.boolean().optional(),
|
|
1749
|
+
readOnly: z.boolean().optional(),
|
|
1750
|
+
type:
|
|
1751
|
+
RecipientGetDocumentRecipientFieldMetaDocumentsRecipientsType$outboundSchema,
|
|
1752
|
+
fontSize: z.number().optional(),
|
|
1753
|
+
});
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* @internal
|
|
1757
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1758
|
+
*/
|
|
1759
|
+
export namespace RecipientGetDocumentRecipientFieldMeta2$ {
|
|
1760
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta2$inboundSchema` instead. */
|
|
1761
|
+
export const inboundSchema =
|
|
1762
|
+
RecipientGetDocumentRecipientFieldMeta2$inboundSchema;
|
|
1763
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta2$outboundSchema` instead. */
|
|
1764
|
+
export const outboundSchema =
|
|
1765
|
+
RecipientGetDocumentRecipientFieldMeta2$outboundSchema;
|
|
1766
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta2$Outbound` instead. */
|
|
1767
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta2$Outbound;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
export function recipientGetDocumentRecipientFieldMeta2ToJSON(
|
|
1771
|
+
recipientGetDocumentRecipientFieldMeta2:
|
|
1772
|
+
RecipientGetDocumentRecipientFieldMeta2,
|
|
1773
|
+
): string {
|
|
1774
|
+
return JSON.stringify(
|
|
1775
|
+
RecipientGetDocumentRecipientFieldMeta2$outboundSchema.parse(
|
|
1776
|
+
recipientGetDocumentRecipientFieldMeta2,
|
|
1777
|
+
),
|
|
1778
|
+
);
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1781
|
+
export function recipientGetDocumentRecipientFieldMeta2FromJSON(
|
|
1782
|
+
jsonString: string,
|
|
1783
|
+
): SafeParseResult<
|
|
1784
|
+
RecipientGetDocumentRecipientFieldMeta2,
|
|
1785
|
+
SDKValidationError
|
|
1786
|
+
> {
|
|
1787
|
+
return safeParse(
|
|
1788
|
+
jsonString,
|
|
1789
|
+
(x) =>
|
|
1790
|
+
RecipientGetDocumentRecipientFieldMeta2$inboundSchema.parse(
|
|
1791
|
+
JSON.parse(x),
|
|
1792
|
+
),
|
|
1793
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta2' from JSON`,
|
|
1794
|
+
);
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
/** @internal */
|
|
1798
|
+
export const RecipientGetDocumentRecipientFieldMetaType$inboundSchema:
|
|
1799
|
+
z.ZodNativeEnum<typeof RecipientGetDocumentRecipientFieldMetaType> = z
|
|
1800
|
+
.nativeEnum(RecipientGetDocumentRecipientFieldMetaType);
|
|
1801
|
+
|
|
1802
|
+
/** @internal */
|
|
1803
|
+
export const RecipientGetDocumentRecipientFieldMetaType$outboundSchema:
|
|
1804
|
+
z.ZodNativeEnum<typeof RecipientGetDocumentRecipientFieldMetaType> =
|
|
1805
|
+
RecipientGetDocumentRecipientFieldMetaType$inboundSchema;
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* @internal
|
|
1809
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1810
|
+
*/
|
|
1811
|
+
export namespace RecipientGetDocumentRecipientFieldMetaType$ {
|
|
1812
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaType$inboundSchema` instead. */
|
|
1813
|
+
export const inboundSchema =
|
|
1814
|
+
RecipientGetDocumentRecipientFieldMetaType$inboundSchema;
|
|
1815
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMetaType$outboundSchema` instead. */
|
|
1816
|
+
export const outboundSchema =
|
|
1817
|
+
RecipientGetDocumentRecipientFieldMetaType$outboundSchema;
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
/** @internal */
|
|
1821
|
+
export const RecipientGetDocumentRecipientFieldMeta1$inboundSchema: z.ZodType<
|
|
1822
|
+
RecipientGetDocumentRecipientFieldMeta1,
|
|
1823
|
+
z.ZodTypeDef,
|
|
1824
|
+
unknown
|
|
1825
|
+
> = z.object({
|
|
1826
|
+
label: z.string().optional(),
|
|
1827
|
+
placeholder: z.string().optional(),
|
|
1828
|
+
required: z.boolean().optional(),
|
|
1829
|
+
readOnly: z.boolean().optional(),
|
|
1830
|
+
type: RecipientGetDocumentRecipientFieldMetaType$inboundSchema,
|
|
1831
|
+
fontSize: z.number().optional(),
|
|
1832
|
+
});
|
|
1833
|
+
|
|
1834
|
+
/** @internal */
|
|
1835
|
+
export type RecipientGetDocumentRecipientFieldMeta1$Outbound = {
|
|
1836
|
+
label?: string | undefined;
|
|
1837
|
+
placeholder?: string | undefined;
|
|
1838
|
+
required?: boolean | undefined;
|
|
1839
|
+
readOnly?: boolean | undefined;
|
|
1840
|
+
type: string;
|
|
1841
|
+
fontSize?: number | undefined;
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
/** @internal */
|
|
1845
|
+
export const RecipientGetDocumentRecipientFieldMeta1$outboundSchema: z.ZodType<
|
|
1846
|
+
RecipientGetDocumentRecipientFieldMeta1$Outbound,
|
|
1847
|
+
z.ZodTypeDef,
|
|
1848
|
+
RecipientGetDocumentRecipientFieldMeta1
|
|
1849
|
+
> = z.object({
|
|
1850
|
+
label: z.string().optional(),
|
|
1851
|
+
placeholder: z.string().optional(),
|
|
1852
|
+
required: z.boolean().optional(),
|
|
1853
|
+
readOnly: z.boolean().optional(),
|
|
1854
|
+
type: RecipientGetDocumentRecipientFieldMetaType$outboundSchema,
|
|
1855
|
+
fontSize: z.number().optional(),
|
|
1856
|
+
});
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* @internal
|
|
1860
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1861
|
+
*/
|
|
1862
|
+
export namespace RecipientGetDocumentRecipientFieldMeta1$ {
|
|
1863
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta1$inboundSchema` instead. */
|
|
1864
|
+
export const inboundSchema =
|
|
1865
|
+
RecipientGetDocumentRecipientFieldMeta1$inboundSchema;
|
|
1866
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta1$outboundSchema` instead. */
|
|
1867
|
+
export const outboundSchema =
|
|
1868
|
+
RecipientGetDocumentRecipientFieldMeta1$outboundSchema;
|
|
1869
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta1$Outbound` instead. */
|
|
1870
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta1$Outbound;
|
|
1871
|
+
}
|
|
1872
|
+
|
|
1873
|
+
export function recipientGetDocumentRecipientFieldMeta1ToJSON(
|
|
1874
|
+
recipientGetDocumentRecipientFieldMeta1:
|
|
1875
|
+
RecipientGetDocumentRecipientFieldMeta1,
|
|
1876
|
+
): string {
|
|
1877
|
+
return JSON.stringify(
|
|
1878
|
+
RecipientGetDocumentRecipientFieldMeta1$outboundSchema.parse(
|
|
1879
|
+
recipientGetDocumentRecipientFieldMeta1,
|
|
1880
|
+
),
|
|
1881
|
+
);
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
export function recipientGetDocumentRecipientFieldMeta1FromJSON(
|
|
1885
|
+
jsonString: string,
|
|
1886
|
+
): SafeParseResult<
|
|
1887
|
+
RecipientGetDocumentRecipientFieldMeta1,
|
|
1888
|
+
SDKValidationError
|
|
1889
|
+
> {
|
|
1890
|
+
return safeParse(
|
|
1891
|
+
jsonString,
|
|
1892
|
+
(x) =>
|
|
1893
|
+
RecipientGetDocumentRecipientFieldMeta1$inboundSchema.parse(
|
|
1894
|
+
JSON.parse(x),
|
|
1895
|
+
),
|
|
1896
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta1' from JSON`,
|
|
1897
|
+
);
|
|
1898
|
+
}
|
|
1899
|
+
|
|
1900
|
+
/** @internal */
|
|
1901
|
+
export const RecipientGetDocumentRecipientFieldMeta$inboundSchema: z.ZodType<
|
|
1902
|
+
RecipientGetDocumentRecipientFieldMeta,
|
|
1903
|
+
z.ZodTypeDef,
|
|
1904
|
+
unknown
|
|
1905
|
+
> = z.union([
|
|
1906
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta1$inboundSchema),
|
|
1907
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta2$inboundSchema),
|
|
1908
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta3$inboundSchema),
|
|
1909
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta4$inboundSchema),
|
|
1910
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta7$inboundSchema),
|
|
1911
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta9$inboundSchema),
|
|
1912
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta5$inboundSchema),
|
|
1913
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta8$inboundSchema),
|
|
1914
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta6$inboundSchema),
|
|
1915
|
+
]);
|
|
1916
|
+
|
|
1917
|
+
/** @internal */
|
|
1918
|
+
export type RecipientGetDocumentRecipientFieldMeta$Outbound =
|
|
1919
|
+
| RecipientGetDocumentRecipientFieldMeta1$Outbound
|
|
1920
|
+
| RecipientGetDocumentRecipientFieldMeta2$Outbound
|
|
1921
|
+
| RecipientGetDocumentRecipientFieldMeta3$Outbound
|
|
1922
|
+
| RecipientGetDocumentRecipientFieldMeta4$Outbound
|
|
1923
|
+
| RecipientGetDocumentRecipientFieldMeta7$Outbound
|
|
1924
|
+
| RecipientGetDocumentRecipientFieldMeta9$Outbound
|
|
1925
|
+
| RecipientGetDocumentRecipientFieldMeta5$Outbound
|
|
1926
|
+
| RecipientGetDocumentRecipientFieldMeta8$Outbound
|
|
1927
|
+
| RecipientGetDocumentRecipientFieldMeta6$Outbound;
|
|
1928
|
+
|
|
1929
|
+
/** @internal */
|
|
1930
|
+
export const RecipientGetDocumentRecipientFieldMeta$outboundSchema: z.ZodType<
|
|
1931
|
+
RecipientGetDocumentRecipientFieldMeta$Outbound,
|
|
1932
|
+
z.ZodTypeDef,
|
|
1933
|
+
RecipientGetDocumentRecipientFieldMeta
|
|
1934
|
+
> = z.union([
|
|
1935
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta1$outboundSchema),
|
|
1936
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta2$outboundSchema),
|
|
1937
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta3$outboundSchema),
|
|
1938
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta4$outboundSchema),
|
|
1939
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta7$outboundSchema),
|
|
1940
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta9$outboundSchema),
|
|
1941
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta5$outboundSchema),
|
|
1942
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta8$outboundSchema),
|
|
1943
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta6$outboundSchema),
|
|
1944
|
+
]);
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* @internal
|
|
1948
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
1949
|
+
*/
|
|
1950
|
+
export namespace RecipientGetDocumentRecipientFieldMeta$ {
|
|
1951
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta$inboundSchema` instead. */
|
|
1952
|
+
export const inboundSchema =
|
|
1953
|
+
RecipientGetDocumentRecipientFieldMeta$inboundSchema;
|
|
1954
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta$outboundSchema` instead. */
|
|
1955
|
+
export const outboundSchema =
|
|
1956
|
+
RecipientGetDocumentRecipientFieldMeta$outboundSchema;
|
|
1957
|
+
/** @deprecated use `RecipientGetDocumentRecipientFieldMeta$Outbound` instead. */
|
|
1958
|
+
export type Outbound = RecipientGetDocumentRecipientFieldMeta$Outbound;
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
export function recipientGetDocumentRecipientFieldMetaToJSON(
|
|
1962
|
+
recipientGetDocumentRecipientFieldMeta:
|
|
1963
|
+
RecipientGetDocumentRecipientFieldMeta,
|
|
1964
|
+
): string {
|
|
1965
|
+
return JSON.stringify(
|
|
1966
|
+
RecipientGetDocumentRecipientFieldMeta$outboundSchema.parse(
|
|
1967
|
+
recipientGetDocumentRecipientFieldMeta,
|
|
1968
|
+
),
|
|
1969
|
+
);
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
export function recipientGetDocumentRecipientFieldMetaFromJSON(
|
|
1973
|
+
jsonString: string,
|
|
1974
|
+
): SafeParseResult<RecipientGetDocumentRecipientFieldMeta, SDKValidationError> {
|
|
1975
|
+
return safeParse(
|
|
1976
|
+
jsonString,
|
|
1977
|
+
(x) =>
|
|
1978
|
+
RecipientGetDocumentRecipientFieldMeta$inboundSchema.parse(JSON.parse(x)),
|
|
1979
|
+
`Failed to parse 'RecipientGetDocumentRecipientFieldMeta' from JSON`,
|
|
1980
|
+
);
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
/** @internal */
|
|
1984
|
+
export const RecipientGetDocumentRecipientFields$inboundSchema: z.ZodType<
|
|
1985
|
+
RecipientGetDocumentRecipientFields,
|
|
1986
|
+
z.ZodTypeDef,
|
|
1987
|
+
unknown
|
|
1988
|
+
> = z.object({
|
|
1989
|
+
type: RecipientGetDocumentRecipientType$inboundSchema,
|
|
1990
|
+
id: z.number().int(),
|
|
1991
|
+
secondaryId: z.string(),
|
|
1992
|
+
documentId: z.nullable(z.number().int()),
|
|
1993
|
+
templateId: z.nullable(z.number().int()),
|
|
1994
|
+
recipientId: z.number().int(),
|
|
1995
|
+
page: z.number(),
|
|
1996
|
+
positionX: z.any().optional(),
|
|
1997
|
+
positionY: z.any().optional(),
|
|
1998
|
+
width: z.any().optional(),
|
|
1999
|
+
height: z.any().optional(),
|
|
2000
|
+
customText: z.string(),
|
|
2001
|
+
inserted: z.boolean(),
|
|
2002
|
+
fieldMeta: z.nullable(
|
|
2003
|
+
z.union([
|
|
2004
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta1$inboundSchema),
|
|
2005
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta2$inboundSchema),
|
|
2006
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta3$inboundSchema),
|
|
2007
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta4$inboundSchema),
|
|
2008
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta7$inboundSchema),
|
|
2009
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta9$inboundSchema),
|
|
2010
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta5$inboundSchema),
|
|
2011
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta8$inboundSchema),
|
|
2012
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta6$inboundSchema),
|
|
2013
|
+
]),
|
|
2014
|
+
),
|
|
2015
|
+
});
|
|
2016
|
+
|
|
2017
|
+
/** @internal */
|
|
2018
|
+
export type RecipientGetDocumentRecipientFields$Outbound = {
|
|
2019
|
+
type: string;
|
|
2020
|
+
id: number;
|
|
2021
|
+
secondaryId: string;
|
|
2022
|
+
documentId: number | null;
|
|
2023
|
+
templateId: number | null;
|
|
2024
|
+
recipientId: number;
|
|
2025
|
+
page: number;
|
|
2026
|
+
positionX?: any | undefined;
|
|
2027
|
+
positionY?: any | undefined;
|
|
2028
|
+
width?: any | undefined;
|
|
2029
|
+
height?: any | undefined;
|
|
2030
|
+
customText: string;
|
|
2031
|
+
inserted: boolean;
|
|
2032
|
+
fieldMeta:
|
|
2033
|
+
| RecipientGetDocumentRecipientFieldMeta1$Outbound
|
|
2034
|
+
| RecipientGetDocumentRecipientFieldMeta2$Outbound
|
|
2035
|
+
| RecipientGetDocumentRecipientFieldMeta3$Outbound
|
|
2036
|
+
| RecipientGetDocumentRecipientFieldMeta4$Outbound
|
|
2037
|
+
| RecipientGetDocumentRecipientFieldMeta7$Outbound
|
|
2038
|
+
| RecipientGetDocumentRecipientFieldMeta9$Outbound
|
|
2039
|
+
| RecipientGetDocumentRecipientFieldMeta5$Outbound
|
|
2040
|
+
| RecipientGetDocumentRecipientFieldMeta8$Outbound
|
|
2041
|
+
| RecipientGetDocumentRecipientFieldMeta6$Outbound
|
|
2042
|
+
| null;
|
|
2043
|
+
};
|
|
2044
|
+
|
|
2045
|
+
/** @internal */
|
|
2046
|
+
export const RecipientGetDocumentRecipientFields$outboundSchema: z.ZodType<
|
|
2047
|
+
RecipientGetDocumentRecipientFields$Outbound,
|
|
2048
|
+
z.ZodTypeDef,
|
|
2049
|
+
RecipientGetDocumentRecipientFields
|
|
2050
|
+
> = z.object({
|
|
2051
|
+
type: RecipientGetDocumentRecipientType$outboundSchema,
|
|
2052
|
+
id: z.number().int(),
|
|
2053
|
+
secondaryId: z.string(),
|
|
2054
|
+
documentId: z.nullable(z.number().int()),
|
|
2055
|
+
templateId: z.nullable(z.number().int()),
|
|
2056
|
+
recipientId: z.number().int(),
|
|
2057
|
+
page: z.number(),
|
|
2058
|
+
positionX: z.any().optional(),
|
|
2059
|
+
positionY: z.any().optional(),
|
|
2060
|
+
width: z.any().optional(),
|
|
2061
|
+
height: z.any().optional(),
|
|
2062
|
+
customText: z.string(),
|
|
2063
|
+
inserted: z.boolean(),
|
|
2064
|
+
fieldMeta: z.nullable(
|
|
2065
|
+
z.union([
|
|
2066
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta1$outboundSchema),
|
|
2067
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta2$outboundSchema),
|
|
2068
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta3$outboundSchema),
|
|
2069
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta4$outboundSchema),
|
|
2070
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta7$outboundSchema),
|
|
2071
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta9$outboundSchema),
|
|
2072
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta5$outboundSchema),
|
|
2073
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta8$outboundSchema),
|
|
2074
|
+
z.lazy(() => RecipientGetDocumentRecipientFieldMeta6$outboundSchema),
|
|
2075
|
+
]),
|
|
2076
|
+
),
|
|
2077
|
+
});
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* @internal
|
|
2081
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2082
|
+
*/
|
|
2083
|
+
export namespace RecipientGetDocumentRecipientFields$ {
|
|
2084
|
+
/** @deprecated use `RecipientGetDocumentRecipientFields$inboundSchema` instead. */
|
|
2085
|
+
export const inboundSchema =
|
|
2086
|
+
RecipientGetDocumentRecipientFields$inboundSchema;
|
|
2087
|
+
/** @deprecated use `RecipientGetDocumentRecipientFields$outboundSchema` instead. */
|
|
2088
|
+
export const outboundSchema =
|
|
2089
|
+
RecipientGetDocumentRecipientFields$outboundSchema;
|
|
2090
|
+
/** @deprecated use `RecipientGetDocumentRecipientFields$Outbound` instead. */
|
|
2091
|
+
export type Outbound = RecipientGetDocumentRecipientFields$Outbound;
|
|
2092
|
+
}
|
|
2093
|
+
|
|
2094
|
+
export function recipientGetDocumentRecipientFieldsToJSON(
|
|
2095
|
+
recipientGetDocumentRecipientFields: RecipientGetDocumentRecipientFields,
|
|
2096
|
+
): string {
|
|
2097
|
+
return JSON.stringify(
|
|
2098
|
+
RecipientGetDocumentRecipientFields$outboundSchema.parse(
|
|
2099
|
+
recipientGetDocumentRecipientFields,
|
|
2100
|
+
),
|
|
2101
|
+
);
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
export function recipientGetDocumentRecipientFieldsFromJSON(
|
|
2105
|
+
jsonString: string,
|
|
2106
|
+
): SafeParseResult<RecipientGetDocumentRecipientFields, SDKValidationError> {
|
|
2107
|
+
return safeParse(
|
|
2108
|
+
jsonString,
|
|
2109
|
+
(x) =>
|
|
2110
|
+
RecipientGetDocumentRecipientFields$inboundSchema.parse(JSON.parse(x)),
|
|
2111
|
+
`Failed to parse 'RecipientGetDocumentRecipientFields' from JSON`,
|
|
2112
|
+
);
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
/** @internal */
|
|
2116
|
+
export const RecipientGetDocumentRecipientResponseBody$inboundSchema: z.ZodType<
|
|
2117
|
+
RecipientGetDocumentRecipientResponseBody,
|
|
2118
|
+
z.ZodTypeDef,
|
|
2119
|
+
unknown
|
|
2120
|
+
> = z.object({
|
|
2121
|
+
role: RecipientGetDocumentRecipientRole$inboundSchema,
|
|
2122
|
+
readStatus: ReadStatus$inboundSchema,
|
|
2123
|
+
signingStatus: SigningStatus$inboundSchema,
|
|
2124
|
+
sendStatus: SendStatus$inboundSchema,
|
|
2125
|
+
id: z.number().int(),
|
|
2126
|
+
documentId: z.nullable(z.number().int()),
|
|
2127
|
+
templateId: z.nullable(z.number().int()),
|
|
2128
|
+
email: z.string(),
|
|
2129
|
+
name: z.string(),
|
|
2130
|
+
token: z.string(),
|
|
2131
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
2132
|
+
expired: z.nullable(z.string()),
|
|
2133
|
+
signedAt: z.nullable(z.string()),
|
|
2134
|
+
authOptions: z.nullable(
|
|
2135
|
+
z.lazy(() => RecipientGetDocumentRecipientAuthOptions$inboundSchema),
|
|
2136
|
+
),
|
|
2137
|
+
signingOrder: z.nullable(z.number()),
|
|
2138
|
+
rejectionReason: z.nullable(z.string()),
|
|
2139
|
+
fields: z.array(
|
|
2140
|
+
z.lazy(() => RecipientGetDocumentRecipientFields$inboundSchema),
|
|
2141
|
+
),
|
|
2142
|
+
});
|
|
2143
|
+
|
|
2144
|
+
/** @internal */
|
|
2145
|
+
export type RecipientGetDocumentRecipientResponseBody$Outbound = {
|
|
2146
|
+
role: string;
|
|
2147
|
+
readStatus: string;
|
|
2148
|
+
signingStatus: string;
|
|
2149
|
+
sendStatus: string;
|
|
2150
|
+
id: number;
|
|
2151
|
+
documentId: number | null;
|
|
2152
|
+
templateId: number | null;
|
|
2153
|
+
email: string;
|
|
2154
|
+
name: string;
|
|
2155
|
+
token: string;
|
|
2156
|
+
documentDeletedAt: string | null;
|
|
2157
|
+
expired: string | null;
|
|
2158
|
+
signedAt: string | null;
|
|
2159
|
+
authOptions: RecipientGetDocumentRecipientAuthOptions$Outbound | null;
|
|
2160
|
+
signingOrder: number | null;
|
|
2161
|
+
rejectionReason: string | null;
|
|
2162
|
+
fields: Array<RecipientGetDocumentRecipientFields$Outbound>;
|
|
2163
|
+
};
|
|
2164
|
+
|
|
2165
|
+
/** @internal */
|
|
2166
|
+
export const RecipientGetDocumentRecipientResponseBody$outboundSchema:
|
|
2167
|
+
z.ZodType<
|
|
2168
|
+
RecipientGetDocumentRecipientResponseBody$Outbound,
|
|
2169
|
+
z.ZodTypeDef,
|
|
2170
|
+
RecipientGetDocumentRecipientResponseBody
|
|
2171
|
+
> = z.object({
|
|
2172
|
+
role: RecipientGetDocumentRecipientRole$outboundSchema,
|
|
2173
|
+
readStatus: ReadStatus$outboundSchema,
|
|
2174
|
+
signingStatus: SigningStatus$outboundSchema,
|
|
2175
|
+
sendStatus: SendStatus$outboundSchema,
|
|
2176
|
+
id: z.number().int(),
|
|
2177
|
+
documentId: z.nullable(z.number().int()),
|
|
2178
|
+
templateId: z.nullable(z.number().int()),
|
|
2179
|
+
email: z.string(),
|
|
2180
|
+
name: z.string(),
|
|
2181
|
+
token: z.string(),
|
|
2182
|
+
documentDeletedAt: z.nullable(z.string()),
|
|
2183
|
+
expired: z.nullable(z.string()),
|
|
2184
|
+
signedAt: z.nullable(z.string()),
|
|
2185
|
+
authOptions: z.nullable(
|
|
2186
|
+
z.lazy(() => RecipientGetDocumentRecipientAuthOptions$outboundSchema),
|
|
2187
|
+
),
|
|
2188
|
+
signingOrder: z.nullable(z.number()),
|
|
2189
|
+
rejectionReason: z.nullable(z.string()),
|
|
2190
|
+
fields: z.array(
|
|
2191
|
+
z.lazy(() => RecipientGetDocumentRecipientFields$outboundSchema),
|
|
2192
|
+
),
|
|
2193
|
+
});
|
|
2194
|
+
|
|
2195
|
+
/**
|
|
2196
|
+
* @internal
|
|
2197
|
+
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
2198
|
+
*/
|
|
2199
|
+
export namespace RecipientGetDocumentRecipientResponseBody$ {
|
|
2200
|
+
/** @deprecated use `RecipientGetDocumentRecipientResponseBody$inboundSchema` instead. */
|
|
2201
|
+
export const inboundSchema =
|
|
2202
|
+
RecipientGetDocumentRecipientResponseBody$inboundSchema;
|
|
2203
|
+
/** @deprecated use `RecipientGetDocumentRecipientResponseBody$outboundSchema` instead. */
|
|
2204
|
+
export const outboundSchema =
|
|
2205
|
+
RecipientGetDocumentRecipientResponseBody$outboundSchema;
|
|
2206
|
+
/** @deprecated use `RecipientGetDocumentRecipientResponseBody$Outbound` instead. */
|
|
2207
|
+
export type Outbound = RecipientGetDocumentRecipientResponseBody$Outbound;
|
|
2208
|
+
}
|
|
2209
|
+
|
|
2210
|
+
export function recipientGetDocumentRecipientResponseBodyToJSON(
|
|
2211
|
+
recipientGetDocumentRecipientResponseBody:
|
|
2212
|
+
RecipientGetDocumentRecipientResponseBody,
|
|
2213
|
+
): string {
|
|
2214
|
+
return JSON.stringify(
|
|
2215
|
+
RecipientGetDocumentRecipientResponseBody$outboundSchema.parse(
|
|
2216
|
+
recipientGetDocumentRecipientResponseBody,
|
|
2217
|
+
),
|
|
2218
|
+
);
|
|
2219
|
+
}
|
|
2220
|
+
|
|
2221
|
+
export function recipientGetDocumentRecipientResponseBodyFromJSON(
|
|
2222
|
+
jsonString: string,
|
|
2223
|
+
): SafeParseResult<
|
|
2224
|
+
RecipientGetDocumentRecipientResponseBody,
|
|
2225
|
+
SDKValidationError
|
|
2226
|
+
> {
|
|
2227
|
+
return safeParse(
|
|
2228
|
+
jsonString,
|
|
2229
|
+
(x) =>
|
|
2230
|
+
RecipientGetDocumentRecipientResponseBody$inboundSchema.parse(
|
|
2231
|
+
JSON.parse(x),
|
|
2232
|
+
),
|
|
2233
|
+
`Failed to parse 'RecipientGetDocumentRecipientResponseBody' from JSON`,
|
|
2234
|
+
);
|
|
2235
|
+
}
|