@documenso/sdk-typescript 0.5.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/README.md +385 -355
  2. package/_speakeasy/.github/action-inputs-config.json +53 -0
  3. package/_speakeasy/.github/action-security-config.json +88 -0
  4. package/bin/mcp-server.js +51156 -29112
  5. package/bin/mcp-server.js.map +272 -85
  6. package/examples/package-lock.json +2 -10
  7. package/funcs/documentDocumentGetMany.d.ts +18 -0
  8. package/funcs/documentDocumentGetMany.d.ts.map +1 -0
  9. package/funcs/documentDocumentGetMany.js +118 -0
  10. package/funcs/documentDocumentGetMany.js.map +1 -0
  11. package/funcs/envelopeEnvelopeAuditLogFind.d.ts +18 -0
  12. package/funcs/envelopeEnvelopeAuditLogFind.d.ts.map +1 -0
  13. package/funcs/envelopeEnvelopeAuditLogFind.js +130 -0
  14. package/funcs/envelopeEnvelopeAuditLogFind.js.map +1 -0
  15. package/funcs/envelopeEnvelopeFind.d.ts +18 -0
  16. package/funcs/envelopeEnvelopeFind.d.ts.map +1 -0
  17. package/funcs/envelopeEnvelopeFind.js +130 -0
  18. package/funcs/envelopeEnvelopeFind.js.map +1 -0
  19. package/funcs/envelopeEnvelopeGetMany.d.ts +18 -0
  20. package/funcs/envelopeEnvelopeGetMany.d.ts.map +1 -0
  21. package/funcs/envelopeEnvelopeGetMany.js +118 -0
  22. package/funcs/envelopeEnvelopeGetMany.js.map +1 -0
  23. package/funcs/templateTemplateGetMany.d.ts +18 -0
  24. package/funcs/templateTemplateGetMany.d.ts.map +1 -0
  25. package/funcs/templateTemplateGetMany.js +118 -0
  26. package/funcs/templateTemplateGetMany.js.map +1 -0
  27. package/jsr.json +1 -1
  28. package/lib/config.d.ts +3 -3
  29. package/lib/config.js +3 -3
  30. package/lib/encodings.d.ts +1 -0
  31. package/lib/encodings.d.ts.map +1 -1
  32. package/lib/encodings.js +12 -1
  33. package/lib/encodings.js.map +1 -1
  34. package/lib/sdks.js +2 -2
  35. package/lib/sdks.js.map +1 -1
  36. package/mcp-server/mcp-server.js +1 -1
  37. package/mcp-server/prompts.d.ts +3 -3
  38. package/mcp-server/prompts.d.ts.map +1 -1
  39. package/mcp-server/prompts.js.map +1 -1
  40. package/mcp-server/resources.d.ts +3 -3
  41. package/mcp-server/resources.d.ts.map +1 -1
  42. package/mcp-server/resources.js.map +1 -1
  43. package/mcp-server/server.d.ts.map +1 -1
  44. package/mcp-server/server.js +11 -1
  45. package/mcp-server/server.js.map +1 -1
  46. package/mcp-server/tools/documentDocumentGetMany.d.ts +8 -0
  47. package/mcp-server/tools/documentDocumentGetMany.d.ts.map +1 -0
  48. package/mcp-server/tools/documentDocumentGetMany.js +64 -0
  49. package/mcp-server/tools/documentDocumentGetMany.js.map +1 -0
  50. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.d.ts +8 -0
  51. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.d.ts.map +1 -0
  52. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.js +64 -0
  53. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.js.map +1 -0
  54. package/mcp-server/tools/envelopeEnvelopeFind.d.ts +8 -0
  55. package/mcp-server/tools/envelopeEnvelopeFind.d.ts.map +1 -0
  56. package/mcp-server/tools/envelopeEnvelopeFind.js +64 -0
  57. package/mcp-server/tools/envelopeEnvelopeFind.js.map +1 -0
  58. package/mcp-server/tools/envelopeEnvelopeGetMany.d.ts +8 -0
  59. package/mcp-server/tools/envelopeEnvelopeGetMany.d.ts.map +1 -0
  60. package/mcp-server/tools/envelopeEnvelopeGetMany.js +64 -0
  61. package/mcp-server/tools/envelopeEnvelopeGetMany.js.map +1 -0
  62. package/mcp-server/tools/templateTemplateGetMany.d.ts +8 -0
  63. package/mcp-server/tools/templateTemplateGetMany.d.ts.map +1 -0
  64. package/mcp-server/tools/templateTemplateGetMany.js +64 -0
  65. package/mcp-server/tools/templateTemplateGetMany.js.map +1 -0
  66. package/mcp-server/tools.d.ts +3 -3
  67. package/mcp-server/tools.d.ts.map +1 -1
  68. package/mcp-server/tools.js.map +1 -1
  69. package/models/errors/documentgetmany.d.ts +185 -0
  70. package/models/errors/documentgetmany.d.ts.map +1 -0
  71. package/models/errors/documentgetmany.js +268 -0
  72. package/models/errors/documentgetmany.js.map +1 -0
  73. package/models/errors/envelopeauditlogfind.d.ts +230 -0
  74. package/models/errors/envelopeauditlogfind.d.ts.map +1 -0
  75. package/models/errors/envelopeauditlogfind.js +319 -0
  76. package/models/errors/envelopeauditlogfind.js.map +1 -0
  77. package/models/errors/envelopefind.d.ts +230 -0
  78. package/models/errors/envelopefind.d.ts.map +1 -0
  79. package/models/errors/envelopefind.js +326 -0
  80. package/models/errors/envelopefind.js.map +1 -0
  81. package/models/errors/envelopegetmany.d.ts +185 -0
  82. package/models/errors/envelopegetmany.d.ts.map +1 -0
  83. package/models/errors/envelopegetmany.js +268 -0
  84. package/models/errors/envelopegetmany.js.map +1 -0
  85. package/models/errors/index.d.ts +5 -0
  86. package/models/errors/index.d.ts.map +1 -1
  87. package/models/errors/index.js +5 -0
  88. package/models/errors/index.js.map +1 -1
  89. package/models/errors/templategetmany.d.ts +185 -0
  90. package/models/errors/templategetmany.d.ts.map +1 -0
  91. package/models/errors/templategetmany.js +268 -0
  92. package/models/errors/templategetmany.js.map +1 -0
  93. package/models/operations/documentcreate.d.ts +77 -160
  94. package/models/operations/documentcreate.d.ts.map +1 -1
  95. package/models/operations/documentcreate.js +81 -153
  96. package/models/operations/documentcreate.js.map +1 -1
  97. package/models/operations/documentcreatedocumenttemporary.d.ts +102 -265
  98. package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
  99. package/models/operations/documentcreatedocumenttemporary.js +118 -263
  100. package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
  101. package/models/operations/documentdistribute.d.ts +5 -0
  102. package/models/operations/documentdistribute.d.ts.map +1 -1
  103. package/models/operations/documentdistribute.js +5 -0
  104. package/models/operations/documentdistribute.js.map +1 -1
  105. package/models/operations/documentfind.d.ts +30 -30
  106. package/models/operations/documentfind.d.ts.map +1 -1
  107. package/models/operations/documentfind.js +31 -33
  108. package/models/operations/documentfind.js.map +1 -1
  109. package/models/operations/documentget.d.ts +25 -105
  110. package/models/operations/documentget.d.ts.map +1 -1
  111. package/models/operations/documentget.js +28 -99
  112. package/models/operations/documentget.js.map +1 -1
  113. package/models/operations/documentgetmany.d.ts +323 -0
  114. package/models/operations/documentgetmany.d.ts.map +1 -0
  115. package/models/operations/documentgetmany.js +370 -0
  116. package/models/operations/documentgetmany.js.map +1 -0
  117. package/models/operations/documentupdate.d.ts +20 -15
  118. package/models/operations/documentupdate.d.ts.map +1 -1
  119. package/models/operations/documentupdate.js +21 -18
  120. package/models/operations/documentupdate.js.map +1 -1
  121. package/models/operations/embeddingpresigncreateembeddingpresigntoken.d.ts +2 -0
  122. package/models/operations/embeddingpresigncreateembeddingpresigntoken.d.ts.map +1 -1
  123. package/models/operations/embeddingpresigncreateembeddingpresigntoken.js +2 -0
  124. package/models/operations/embeddingpresigncreateembeddingpresigntoken.js.map +1 -1
  125. package/models/operations/embeddingpresignverifyembeddingpresigntoken.d.ts +2 -0
  126. package/models/operations/embeddingpresignverifyembeddingpresigntoken.d.ts.map +1 -1
  127. package/models/operations/embeddingpresignverifyembeddingpresigntoken.js +2 -0
  128. package/models/operations/embeddingpresignverifyembeddingpresigntoken.js.map +1 -1
  129. package/models/operations/envelopeauditlogfind.d.ts +2844 -0
  130. package/models/operations/envelopeauditlogfind.d.ts.map +1 -0
  131. package/models/operations/envelopeauditlogfind.js +3579 -0
  132. package/models/operations/envelopeauditlogfind.js.map +1 -0
  133. package/models/operations/envelopecreate.d.ts +103 -167
  134. package/models/operations/envelopecreate.d.ts.map +1 -1
  135. package/models/operations/envelopecreate.js +109 -161
  136. package/models/operations/envelopecreate.js.map +1 -1
  137. package/models/operations/envelopedistribute.d.ts +46 -0
  138. package/models/operations/envelopedistribute.d.ts.map +1 -1
  139. package/models/operations/envelopedistribute.js +49 -1
  140. package/models/operations/envelopedistribute.js.map +1 -1
  141. package/models/operations/envelopefieldcreatemany.d.ts +97 -265
  142. package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
  143. package/models/operations/envelopefieldcreatemany.js +106 -280
  144. package/models/operations/envelopefieldcreatemany.js.map +1 -1
  145. package/models/operations/envelopefieldget.d.ts +25 -105
  146. package/models/operations/envelopefieldget.d.ts.map +1 -1
  147. package/models/operations/envelopefieldget.js +27 -97
  148. package/models/operations/envelopefieldget.js.map +1 -1
  149. package/models/operations/envelopefieldupdatemany.d.ts +97 -265
  150. package/models/operations/envelopefieldupdatemany.d.ts.map +1 -1
  151. package/models/operations/envelopefieldupdatemany.js +106 -280
  152. package/models/operations/envelopefieldupdatemany.js.map +1 -1
  153. package/models/operations/envelopefind.d.ts +465 -0
  154. package/models/operations/envelopefind.d.ts.map +1 -0
  155. package/models/operations/envelopefind.js +466 -0
  156. package/models/operations/envelopefind.js.map +1 -0
  157. package/models/operations/envelopeget.d.ts +30 -110
  158. package/models/operations/envelopeget.d.ts.map +1 -1
  159. package/models/operations/envelopeget.js +33 -104
  160. package/models/operations/envelopeget.js.map +1 -1
  161. package/models/operations/envelopegetmany.d.ts +1020 -0
  162. package/models/operations/envelopegetmany.d.ts.map +1 -0
  163. package/models/operations/envelopegetmany.js +1190 -0
  164. package/models/operations/envelopegetmany.js.map +1 -0
  165. package/models/operations/enveloperecipientcreatemany.d.ts +29 -12
  166. package/models/operations/enveloperecipientcreatemany.d.ts.map +1 -1
  167. package/models/operations/enveloperecipientcreatemany.js +40 -15
  168. package/models/operations/enveloperecipientcreatemany.js.map +1 -1
  169. package/models/operations/enveloperecipientget.d.ts +25 -105
  170. package/models/operations/enveloperecipientget.d.ts.map +1 -1
  171. package/models/operations/enveloperecipientget.js +27 -98
  172. package/models/operations/enveloperecipientget.js.map +1 -1
  173. package/models/operations/enveloperecipientupdatemany.d.ts +29 -12
  174. package/models/operations/enveloperecipientupdatemany.d.ts.map +1 -1
  175. package/models/operations/enveloperecipientupdatemany.js +40 -15
  176. package/models/operations/enveloperecipientupdatemany.js.map +1 -1
  177. package/models/operations/enveloperedistribute.d.ts +42 -0
  178. package/models/operations/enveloperedistribute.d.ts.map +1 -1
  179. package/models/operations/enveloperedistribute.js +44 -1
  180. package/models/operations/enveloperedistribute.js.map +1 -1
  181. package/models/operations/envelopeupdate.d.ts +20 -15
  182. package/models/operations/envelopeupdate.d.ts.map +1 -1
  183. package/models/operations/envelopeupdate.js +21 -18
  184. package/models/operations/envelopeupdate.js.map +1 -1
  185. package/models/operations/envelopeuse.d.ts +106 -78
  186. package/models/operations/envelopeuse.d.ts.map +1 -1
  187. package/models/operations/envelopeuse.js +118 -77
  188. package/models/operations/envelopeuse.js.map +1 -1
  189. package/models/operations/fieldcreatedocumentfield.d.ts +97 -265
  190. package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -1
  191. package/models/operations/fieldcreatedocumentfield.js +106 -280
  192. package/models/operations/fieldcreatedocumentfield.js.map +1 -1
  193. package/models/operations/fieldcreatedocumentfields.d.ts +97 -265
  194. package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -1
  195. package/models/operations/fieldcreatedocumentfields.js +107 -280
  196. package/models/operations/fieldcreatedocumentfields.js.map +1 -1
  197. package/models/operations/fieldcreatetemplatefield.d.ts +97 -265
  198. package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -1
  199. package/models/operations/fieldcreatetemplatefield.js +106 -280
  200. package/models/operations/fieldcreatetemplatefield.js.map +1 -1
  201. package/models/operations/fieldcreatetemplatefields.d.ts +97 -265
  202. package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -1
  203. package/models/operations/fieldcreatetemplatefields.js +107 -280
  204. package/models/operations/fieldcreatetemplatefields.js.map +1 -1
  205. package/models/operations/fieldgetdocumentfield.d.ts +25 -105
  206. package/models/operations/fieldgetdocumentfield.d.ts.map +1 -1
  207. package/models/operations/fieldgetdocumentfield.js +27 -97
  208. package/models/operations/fieldgetdocumentfield.js.map +1 -1
  209. package/models/operations/fieldgettemplatefield.d.ts +25 -105
  210. package/models/operations/fieldgettemplatefield.d.ts.map +1 -1
  211. package/models/operations/fieldgettemplatefield.js +27 -97
  212. package/models/operations/fieldgettemplatefield.js.map +1 -1
  213. package/models/operations/fieldupdatedocumentfield.d.ts +97 -265
  214. package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -1
  215. package/models/operations/fieldupdatedocumentfield.js +106 -280
  216. package/models/operations/fieldupdatedocumentfield.js.map +1 -1
  217. package/models/operations/fieldupdatedocumentfields.d.ts +97 -265
  218. package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -1
  219. package/models/operations/fieldupdatedocumentfields.js +107 -280
  220. package/models/operations/fieldupdatedocumentfields.js.map +1 -1
  221. package/models/operations/fieldupdatetemplatefield.d.ts +97 -265
  222. package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -1
  223. package/models/operations/fieldupdatetemplatefield.js +106 -280
  224. package/models/operations/fieldupdatetemplatefield.js.map +1 -1
  225. package/models/operations/fieldupdatetemplatefields.d.ts +97 -265
  226. package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -1
  227. package/models/operations/fieldupdatetemplatefields.js +107 -280
  228. package/models/operations/fieldupdatetemplatefields.js.map +1 -1
  229. package/models/operations/folderupdatefolder.d.ts +5 -5
  230. package/models/operations/folderupdatefolder.d.ts.map +1 -1
  231. package/models/operations/folderupdatefolder.js +6 -6
  232. package/models/operations/folderupdatefolder.js.map +1 -1
  233. package/models/operations/index.d.ts +5 -0
  234. package/models/operations/index.d.ts.map +1 -1
  235. package/models/operations/index.js +5 -0
  236. package/models/operations/index.js.map +1 -1
  237. package/models/operations/recipientcreatedocumentrecipient.d.ts +10 -10
  238. package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -1
  239. package/models/operations/recipientcreatedocumentrecipient.js +11 -13
  240. package/models/operations/recipientcreatedocumentrecipient.js.map +1 -1
  241. package/models/operations/recipientcreatedocumentrecipients.d.ts +10 -10
  242. package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -1
  243. package/models/operations/recipientcreatedocumentrecipients.js +11 -11
  244. package/models/operations/recipientcreatedocumentrecipients.js.map +1 -1
  245. package/models/operations/recipientcreatetemplaterecipient.d.ts +10 -10
  246. package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -1
  247. package/models/operations/recipientcreatetemplaterecipient.js +11 -13
  248. package/models/operations/recipientcreatetemplaterecipient.js.map +1 -1
  249. package/models/operations/recipientcreatetemplaterecipients.d.ts +10 -10
  250. package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -1
  251. package/models/operations/recipientcreatetemplaterecipients.js +11 -11
  252. package/models/operations/recipientcreatetemplaterecipients.js.map +1 -1
  253. package/models/operations/recipientgetdocumentrecipient.d.ts +25 -105
  254. package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
  255. package/models/operations/recipientgetdocumentrecipient.js +27 -103
  256. package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
  257. package/models/operations/recipientgettemplaterecipient.d.ts +25 -105
  258. package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
  259. package/models/operations/recipientgettemplaterecipient.js +27 -103
  260. package/models/operations/recipientgettemplaterecipient.js.map +1 -1
  261. package/models/operations/recipientupdatedocumentrecipient.d.ts +35 -115
  262. package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
  263. package/models/operations/recipientupdatedocumentrecipient.js +38 -120
  264. package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
  265. package/models/operations/recipientupdatedocumentrecipients.d.ts +35 -115
  266. package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
  267. package/models/operations/recipientupdatedocumentrecipients.js +38 -118
  268. package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
  269. package/models/operations/recipientupdatetemplaterecipient.d.ts +35 -115
  270. package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
  271. package/models/operations/recipientupdatetemplaterecipient.js +38 -120
  272. package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
  273. package/models/operations/recipientupdatetemplaterecipients.d.ts +35 -115
  274. package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
  275. package/models/operations/recipientupdatetemplaterecipients.js +38 -118
  276. package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
  277. package/models/operations/templatecreatedocumentfromtemplate.d.ts +239 -186
  278. package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
  279. package/models/operations/templatecreatedocumentfromtemplate.js +277 -178
  280. package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
  281. package/models/operations/templatecreatetemplate.d.ts +5 -0
  282. package/models/operations/templatecreatetemplate.d.ts.map +1 -1
  283. package/models/operations/templatecreatetemplate.js +5 -0
  284. package/models/operations/templatecreatetemplate.js.map +1 -1
  285. package/models/operations/templatecreatetemplatetemporary.d.ts +35 -110
  286. package/models/operations/templatecreatetemplatetemporary.d.ts.map +1 -1
  287. package/models/operations/templatecreatetemplatetemporary.js +41 -116
  288. package/models/operations/templatecreatetemplatetemporary.js.map +1 -1
  289. package/models/operations/templatefindtemplates.d.ts +30 -110
  290. package/models/operations/templatefindtemplates.d.ts.map +1 -1
  291. package/models/operations/templatefindtemplates.js +33 -103
  292. package/models/operations/templatefindtemplates.js.map +1 -1
  293. package/models/operations/templategetmany.d.ts +822 -0
  294. package/models/operations/templategetmany.d.ts.map +1 -0
  295. package/models/operations/templategetmany.js +958 -0
  296. package/models/operations/templategetmany.js.map +1 -0
  297. package/models/operations/templategettemplatebyid.d.ts +30 -110
  298. package/models/operations/templategettemplatebyid.d.ts.map +1 -1
  299. package/models/operations/templategettemplatebyid.js +33 -104
  300. package/models/operations/templategettemplatebyid.js.map +1 -1
  301. package/models/operations/templateupdatetemplate.d.ts +20 -15
  302. package/models/operations/templateupdatetemplate.d.ts.map +1 -1
  303. package/models/operations/templateupdatetemplate.js +24 -18
  304. package/models/operations/templateupdatetemplate.js.map +1 -1
  305. package/package.json +3 -6
  306. package/sdk/document.d.ts +7 -0
  307. package/sdk/document.d.ts.map +1 -1
  308. package/sdk/document.js +10 -0
  309. package/sdk/document.js.map +1 -1
  310. package/sdk/envelope.d.ts +26 -0
  311. package/sdk/envelope.d.ts.map +1 -0
  312. package/sdk/envelope.js +42 -0
  313. package/sdk/envelope.js.map +1 -0
  314. package/sdk/sdk.d.ts +3 -0
  315. package/sdk/sdk.d.ts.map +1 -1
  316. package/sdk/sdk.js +4 -0
  317. package/sdk/sdk.js.map +1 -1
  318. package/sdk/template.d.ts +7 -0
  319. package/sdk/template.d.ts.map +1 -1
  320. package/sdk/template.js +10 -0
  321. package/sdk/template.js.map +1 -1
  322. package/src/funcs/documentDocumentGetMany.ts +181 -0
  323. package/src/funcs/envelopeEnvelopeAuditLogFind.ts +203 -0
  324. package/src/funcs/envelopeEnvelopeFind.ts +198 -0
  325. package/src/funcs/envelopeEnvelopeGetMany.ts +181 -0
  326. package/src/funcs/templateTemplateGetMany.ts +181 -0
  327. package/src/lib/config.ts +3 -3
  328. package/src/lib/encodings.ts +17 -3
  329. package/src/lib/sdks.ts +2 -2
  330. package/src/mcp-server/mcp-server.ts +1 -1
  331. package/src/mcp-server/prompts.ts +7 -3
  332. package/src/mcp-server/resources.ts +7 -3
  333. package/src/mcp-server/server.ts +11 -1
  334. package/src/mcp-server/tools/documentDocumentGetMany.ts +37 -0
  335. package/src/mcp-server/tools/envelopeEnvelopeAuditLogFind.ts +37 -0
  336. package/src/mcp-server/tools/envelopeEnvelopeFind.ts +37 -0
  337. package/src/mcp-server/tools/envelopeEnvelopeGetMany.ts +37 -0
  338. package/src/mcp-server/tools/templateTemplateGetMany.ts +37 -0
  339. package/src/mcp-server/tools.ts +7 -3
  340. package/src/models/errors/documentgetmany.ts +503 -0
  341. package/src/models/errors/envelopeauditlogfind.ts +637 -0
  342. package/src/models/errors/envelopefind.ts +613 -0
  343. package/src/models/errors/envelopegetmany.ts +503 -0
  344. package/src/models/errors/index.ts +5 -0
  345. package/src/models/errors/templategetmany.ts +503 -0
  346. package/src/models/operations/documentcreate.ts +169 -340
  347. package/src/models/operations/documentcreatedocumenttemporary.ts +220 -547
  348. package/src/models/operations/documentdistribute.ts +5 -0
  349. package/src/models/operations/documentfind.ts +74 -62
  350. package/src/models/operations/documentget.ts +52 -198
  351. package/src/models/operations/documentgetmany.ts +772 -0
  352. package/src/models/operations/documentupdate.ts +47 -38
  353. package/src/models/operations/embeddingpresigncreateembeddingpresigntoken.ts +4 -0
  354. package/src/models/operations/embeddingpresignverifyembeddingpresigntoken.ts +4 -0
  355. package/src/models/operations/envelopeauditlogfind.ts +8406 -0
  356. package/src/models/operations/envelopecreate.ts +239 -355
  357. package/src/models/operations/envelopedistribute.ts +100 -0
  358. package/src/models/operations/envelopefieldcreatemany.ts +219 -552
  359. package/src/models/operations/envelopefieldget.ts +52 -210
  360. package/src/models/operations/envelopefieldupdatemany.ts +219 -552
  361. package/src/models/operations/envelopefind.ts +979 -0
  362. package/src/models/operations/envelopeget.ts +63 -209
  363. package/src/models/operations/envelopegetmany.ts +2658 -0
  364. package/src/models/operations/enveloperecipientcreatemany.ts +91 -28
  365. package/src/models/operations/enveloperecipientget.ts +52 -212
  366. package/src/models/operations/enveloperecipientupdatemany.ts +91 -28
  367. package/src/models/operations/enveloperedistribute.ts +102 -0
  368. package/src/models/operations/envelopeupdate.ts +47 -38
  369. package/src/models/operations/envelopeuse.ts +259 -151
  370. package/src/models/operations/fieldcreatedocumentfield.ts +222 -553
  371. package/src/models/operations/fieldcreatedocumentfields.ts +221 -553
  372. package/src/models/operations/fieldcreatetemplatefield.ts +222 -553
  373. package/src/models/operations/fieldcreatetemplatefields.ts +221 -553
  374. package/src/models/operations/fieldgetdocumentfield.ts +52 -212
  375. package/src/models/operations/fieldgettemplatefield.ts +52 -212
  376. package/src/models/operations/fieldupdatedocumentfield.ts +222 -553
  377. package/src/models/operations/fieldupdatedocumentfields.ts +221 -553
  378. package/src/models/operations/fieldupdatetemplatefield.ts +222 -553
  379. package/src/models/operations/fieldupdatetemplatefields.ts +221 -553
  380. package/src/models/operations/folderupdatefolder.ts +12 -12
  381. package/src/models/operations/index.ts +5 -0
  382. package/src/models/operations/recipientcreatedocumentrecipient.ts +28 -24
  383. package/src/models/operations/recipientcreatedocumentrecipients.ts +28 -24
  384. package/src/models/operations/recipientcreatetemplaterecipient.ts +28 -24
  385. package/src/models/operations/recipientcreatetemplaterecipients.ts +28 -24
  386. package/src/models/operations/recipientgetdocumentrecipient.ts +53 -217
  387. package/src/models/operations/recipientgettemplaterecipient.ts +53 -217
  388. package/src/models/operations/recipientupdatedocumentrecipient.ts +80 -237
  389. package/src/models/operations/recipientupdatedocumentrecipients.ts +80 -237
  390. package/src/models/operations/recipientupdatetemplaterecipient.ts +80 -237
  391. package/src/models/operations/recipientupdatetemplaterecipients.ts +80 -237
  392. package/src/models/operations/templatecreatedocumentfromtemplate.ts +671 -420
  393. package/src/models/operations/templatecreatetemplate.ts +5 -0
  394. package/src/models/operations/templatecreatetemplatetemporary.ts +69 -224
  395. package/src/models/operations/templatefindtemplates.ts +64 -224
  396. package/src/models/operations/templategetmany.ts +2134 -0
  397. package/src/models/operations/templategettemplatebyid.ts +65 -225
  398. package/src/models/operations/templateupdatetemplate.ts +41 -37
  399. package/src/sdk/document.ts +18 -0
  400. package/src/sdk/envelope.ts +63 -0
  401. package/src/sdk/sdk.ts +6 -0
  402. package/src/sdk/template.ts +18 -0
  403. package/src/types/enums.ts +1 -21
  404. package/src/types/index.ts +2 -1
  405. package/src/types/unrecognized.ts +35 -0
  406. package/tsconfig.json +1 -2
  407. package/types/enums.d.ts +1 -8
  408. package/types/enums.d.ts.map +1 -1
  409. package/types/enums.js +3 -21
  410. package/types/enums.js.map +1 -1
  411. package/types/index.d.ts +2 -1
  412. package/types/index.d.ts.map +1 -1
  413. package/types/index.js +15 -0
  414. package/types/index.js.map +1 -1
  415. package/types/unrecognized.d.ts +16 -0
  416. package/types/unrecognized.d.ts.map +1 -0
  417. package/types/unrecognized.js +34 -0
  418. package/types/unrecognized.js.map +1 -0
@@ -8,18 +8,11 @@ import { ClosedEnum } from "../../types/enums.js";
8
8
  import { Result as SafeParseResult } from "../../types/fp.js";
9
9
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
- export const FieldUpdateDocumentFieldsTypeDropdownRequest1 = {
12
- Dropdown: "DROPDOWN",
13
- } as const;
14
- export type FieldUpdateDocumentFieldsTypeDropdownRequest1 = ClosedEnum<
15
- typeof FieldUpdateDocumentFieldsTypeDropdownRequest1
16
- >;
17
-
18
- export const FieldUpdateDocumentFieldsTypeDropdownRequest2 = {
11
+ export const FieldUpdateDocumentFieldsTypeDropdownEnum = {
19
12
  Dropdown: "dropdown",
20
13
  } as const;
21
- export type FieldUpdateDocumentFieldsTypeDropdownRequest2 = ClosedEnum<
22
- typeof FieldUpdateDocumentFieldsTypeDropdownRequest2
14
+ export type FieldUpdateDocumentFieldsTypeDropdownEnum = ClosedEnum<
15
+ typeof FieldUpdateDocumentFieldsTypeDropdownEnum
23
16
  >;
24
17
 
25
18
  export type FieldUpdateDocumentFieldsValueDropdown = {
@@ -32,13 +25,13 @@ export type FieldUpdateDocumentFieldsFieldMetaDropdownRequest = {
32
25
  required?: boolean | undefined;
33
26
  readOnly?: boolean | undefined;
34
27
  fontSize?: number | undefined;
35
- type: FieldUpdateDocumentFieldsTypeDropdownRequest2;
28
+ type: FieldUpdateDocumentFieldsTypeDropdownEnum;
36
29
  values?: Array<FieldUpdateDocumentFieldsValueDropdown> | undefined;
37
30
  defaultValue?: string | undefined;
38
31
  };
39
32
 
40
33
  export type FieldUpdateDocumentFieldsFieldDropdown = {
41
- type: FieldUpdateDocumentFieldsTypeDropdownRequest1;
34
+ type: "DROPDOWN";
42
35
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaDropdownRequest | undefined;
43
36
  id: number;
44
37
  pageNumber?: number | undefined;
@@ -48,18 +41,11 @@ export type FieldUpdateDocumentFieldsFieldDropdown = {
48
41
  height?: number | undefined;
49
42
  };
50
43
 
51
- export const FieldUpdateDocumentFieldsTypeCheckboxRequest1 = {
52
- Checkbox: "CHECKBOX",
53
- } as const;
54
- export type FieldUpdateDocumentFieldsTypeCheckboxRequest1 = ClosedEnum<
55
- typeof FieldUpdateDocumentFieldsTypeCheckboxRequest1
56
- >;
57
-
58
- export const FieldUpdateDocumentFieldsTypeCheckboxRequest2 = {
44
+ export const FieldUpdateDocumentFieldsTypeCheckboxEnum = {
59
45
  Checkbox: "checkbox",
60
46
  } as const;
61
- export type FieldUpdateDocumentFieldsTypeCheckboxRequest2 = ClosedEnum<
62
- typeof FieldUpdateDocumentFieldsTypeCheckboxRequest2
47
+ export type FieldUpdateDocumentFieldsTypeCheckboxEnum = ClosedEnum<
48
+ typeof FieldUpdateDocumentFieldsTypeCheckboxEnum
63
49
  >;
64
50
 
65
51
  export type FieldUpdateDocumentFieldsValueCheckbox = {
@@ -82,7 +68,7 @@ export type FieldUpdateDocumentFieldsFieldMetaCheckboxRequest = {
82
68
  required?: boolean | undefined;
83
69
  readOnly?: boolean | undefined;
84
70
  fontSize?: number | undefined;
85
- type: FieldUpdateDocumentFieldsTypeCheckboxRequest2;
71
+ type: FieldUpdateDocumentFieldsTypeCheckboxEnum;
86
72
  values?: Array<FieldUpdateDocumentFieldsValueCheckbox> | undefined;
87
73
  validationRule?: string | undefined;
88
74
  validationLength?: number | undefined;
@@ -90,7 +76,7 @@ export type FieldUpdateDocumentFieldsFieldMetaCheckboxRequest = {
90
76
  };
91
77
 
92
78
  export type FieldUpdateDocumentFieldsFieldCheckbox = {
93
- type: FieldUpdateDocumentFieldsTypeCheckboxRequest1;
79
+ type: "CHECKBOX";
94
80
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaCheckboxRequest | undefined;
95
81
  id: number;
96
82
  pageNumber?: number | undefined;
@@ -100,18 +86,11 @@ export type FieldUpdateDocumentFieldsFieldCheckbox = {
100
86
  height?: number | undefined;
101
87
  };
102
88
 
103
- export const FieldUpdateDocumentFieldsTypeRadioRequest1 = {
104
- Radio: "RADIO",
105
- } as const;
106
- export type FieldUpdateDocumentFieldsTypeRadioRequest1 = ClosedEnum<
107
- typeof FieldUpdateDocumentFieldsTypeRadioRequest1
108
- >;
109
-
110
- export const FieldUpdateDocumentFieldsTypeRadioRequest2 = {
89
+ export const FieldUpdateDocumentFieldsTypeRadioEnum = {
111
90
  Radio: "radio",
112
91
  } as const;
113
- export type FieldUpdateDocumentFieldsTypeRadioRequest2 = ClosedEnum<
114
- typeof FieldUpdateDocumentFieldsTypeRadioRequest2
92
+ export type FieldUpdateDocumentFieldsTypeRadioEnum = ClosedEnum<
93
+ typeof FieldUpdateDocumentFieldsTypeRadioEnum
115
94
  >;
116
95
 
117
96
  export type FieldUpdateDocumentFieldsValueRadio = {
@@ -134,13 +113,13 @@ export type FieldUpdateDocumentFieldsFieldMetaRadioRequest = {
134
113
  required?: boolean | undefined;
135
114
  readOnly?: boolean | undefined;
136
115
  fontSize?: number | undefined;
137
- type: FieldUpdateDocumentFieldsTypeRadioRequest2;
116
+ type: FieldUpdateDocumentFieldsTypeRadioEnum;
138
117
  values?: Array<FieldUpdateDocumentFieldsValueRadio> | undefined;
139
118
  direction?: FieldUpdateDocumentFieldsDirectionRadio | undefined;
140
119
  };
141
120
 
142
121
  export type FieldUpdateDocumentFieldsFieldRadio = {
143
- type: FieldUpdateDocumentFieldsTypeRadioRequest1;
122
+ type: "RADIO";
144
123
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaRadioRequest | undefined;
145
124
  id: number;
146
125
  pageNumber?: number | undefined;
@@ -150,18 +129,11 @@ export type FieldUpdateDocumentFieldsFieldRadio = {
150
129
  height?: number | undefined;
151
130
  };
152
131
 
153
- export const FieldUpdateDocumentFieldsTypeNumberRequest1 = {
154
- Number: "NUMBER",
155
- } as const;
156
- export type FieldUpdateDocumentFieldsTypeNumberRequest1 = ClosedEnum<
157
- typeof FieldUpdateDocumentFieldsTypeNumberRequest1
158
- >;
159
-
160
- export const FieldUpdateDocumentFieldsTypeNumberRequest2 = {
132
+ export const FieldUpdateDocumentFieldsTypeNumberEnum = {
161
133
  Number: "number",
162
134
  } as const;
163
- export type FieldUpdateDocumentFieldsTypeNumberRequest2 = ClosedEnum<
164
- typeof FieldUpdateDocumentFieldsTypeNumberRequest2
135
+ export type FieldUpdateDocumentFieldsTypeNumberEnum = ClosedEnum<
136
+ typeof FieldUpdateDocumentFieldsTypeNumberEnum
165
137
  >;
166
138
 
167
139
  export const FieldUpdateDocumentFieldsTextAlignNumber = {
@@ -188,7 +160,7 @@ export type FieldUpdateDocumentFieldsFieldMetaNumberRequest = {
188
160
  required?: boolean | undefined;
189
161
  readOnly?: boolean | undefined;
190
162
  fontSize?: number | undefined;
191
- type: FieldUpdateDocumentFieldsTypeNumberRequest2;
163
+ type: FieldUpdateDocumentFieldsTypeNumberEnum;
192
164
  numberFormat?: string | null | undefined;
193
165
  value?: string | undefined;
194
166
  minValue?: number | null | undefined;
@@ -203,7 +175,7 @@ export type FieldUpdateDocumentFieldsFieldMetaNumberRequest = {
203
175
  };
204
176
 
205
177
  export type FieldUpdateDocumentFieldsFieldNumber = {
206
- type: FieldUpdateDocumentFieldsTypeNumberRequest1;
178
+ type: "NUMBER";
207
179
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaNumberRequest | undefined;
208
180
  id: number;
209
181
  pageNumber?: number | undefined;
@@ -213,18 +185,11 @@ export type FieldUpdateDocumentFieldsFieldNumber = {
213
185
  height?: number | undefined;
214
186
  };
215
187
 
216
- export const FieldUpdateDocumentFieldsTypeTextRequest1 = {
217
- Text: "TEXT",
218
- } as const;
219
- export type FieldUpdateDocumentFieldsTypeTextRequest1 = ClosedEnum<
220
- typeof FieldUpdateDocumentFieldsTypeTextRequest1
221
- >;
222
-
223
- export const FieldUpdateDocumentFieldsTypeTextRequest2 = {
188
+ export const FieldUpdateDocumentFieldsTypeTextEnum = {
224
189
  Text: "text",
225
190
  } as const;
226
- export type FieldUpdateDocumentFieldsTypeTextRequest2 = ClosedEnum<
227
- typeof FieldUpdateDocumentFieldsTypeTextRequest2
191
+ export type FieldUpdateDocumentFieldsTypeTextEnum = ClosedEnum<
192
+ typeof FieldUpdateDocumentFieldsTypeTextEnum
228
193
  >;
229
194
 
230
195
  export const FieldUpdateDocumentFieldsTextAlignText = {
@@ -251,7 +216,7 @@ export type FieldUpdateDocumentFieldsFieldMetaTextRequest = {
251
216
  required?: boolean | undefined;
252
217
  readOnly?: boolean | undefined;
253
218
  fontSize?: number | undefined;
254
- type: FieldUpdateDocumentFieldsTypeTextRequest2;
219
+ type: FieldUpdateDocumentFieldsTypeTextEnum;
255
220
  text?: string | undefined;
256
221
  characterLimit?: number | undefined;
257
222
  textAlign?: FieldUpdateDocumentFieldsTextAlignText | undefined;
@@ -261,7 +226,7 @@ export type FieldUpdateDocumentFieldsFieldMetaTextRequest = {
261
226
  };
262
227
 
263
228
  export type FieldUpdateDocumentFieldsFieldText = {
264
- type: FieldUpdateDocumentFieldsTypeTextRequest1;
229
+ type: "TEXT";
265
230
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaTextRequest | undefined;
266
231
  id: number;
267
232
  pageNumber?: number | undefined;
@@ -271,18 +236,11 @@ export type FieldUpdateDocumentFieldsFieldText = {
271
236
  height?: number | undefined;
272
237
  };
273
238
 
274
- export const FieldUpdateDocumentFieldsTypeDateRequest1 = {
275
- Date: "DATE",
276
- } as const;
277
- export type FieldUpdateDocumentFieldsTypeDateRequest1 = ClosedEnum<
278
- typeof FieldUpdateDocumentFieldsTypeDateRequest1
279
- >;
280
-
281
- export const FieldUpdateDocumentFieldsTypeDateRequest2 = {
239
+ export const FieldUpdateDocumentFieldsTypeDateEnum = {
282
240
  Date: "date",
283
241
  } as const;
284
- export type FieldUpdateDocumentFieldsTypeDateRequest2 = ClosedEnum<
285
- typeof FieldUpdateDocumentFieldsTypeDateRequest2
242
+ export type FieldUpdateDocumentFieldsTypeDateEnum = ClosedEnum<
243
+ typeof FieldUpdateDocumentFieldsTypeDateEnum
286
244
  >;
287
245
 
288
246
  export const FieldUpdateDocumentFieldsTextAlignDate = {
@@ -300,12 +258,12 @@ export type FieldUpdateDocumentFieldsFieldMetaDateRequest = {
300
258
  required?: boolean | undefined;
301
259
  readOnly?: boolean | undefined;
302
260
  fontSize?: number | undefined;
303
- type: FieldUpdateDocumentFieldsTypeDateRequest2;
261
+ type: FieldUpdateDocumentFieldsTypeDateEnum;
304
262
  textAlign?: FieldUpdateDocumentFieldsTextAlignDate | undefined;
305
263
  };
306
264
 
307
265
  export type FieldUpdateDocumentFieldsFieldDate = {
308
- type: FieldUpdateDocumentFieldsTypeDateRequest1;
266
+ type: "DATE";
309
267
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaDateRequest | undefined;
310
268
  id: number;
311
269
  pageNumber?: number | undefined;
@@ -315,18 +273,11 @@ export type FieldUpdateDocumentFieldsFieldDate = {
315
273
  height?: number | undefined;
316
274
  };
317
275
 
318
- export const FieldUpdateDocumentFieldsTypeEmailRequest1 = {
319
- Email: "EMAIL",
320
- } as const;
321
- export type FieldUpdateDocumentFieldsTypeEmailRequest1 = ClosedEnum<
322
- typeof FieldUpdateDocumentFieldsTypeEmailRequest1
323
- >;
324
-
325
- export const FieldUpdateDocumentFieldsTypeEmailRequest2 = {
276
+ export const FieldUpdateDocumentFieldsTypeEmailEnum = {
326
277
  Email: "email",
327
278
  } as const;
328
- export type FieldUpdateDocumentFieldsTypeEmailRequest2 = ClosedEnum<
329
- typeof FieldUpdateDocumentFieldsTypeEmailRequest2
279
+ export type FieldUpdateDocumentFieldsTypeEmailEnum = ClosedEnum<
280
+ typeof FieldUpdateDocumentFieldsTypeEmailEnum
330
281
  >;
331
282
 
332
283
  export const FieldUpdateDocumentFieldsTextAlignEmail = {
@@ -344,12 +295,12 @@ export type FieldUpdateDocumentFieldsFieldMetaEmailRequest = {
344
295
  required?: boolean | undefined;
345
296
  readOnly?: boolean | undefined;
346
297
  fontSize?: number | undefined;
347
- type: FieldUpdateDocumentFieldsTypeEmailRequest2;
298
+ type: FieldUpdateDocumentFieldsTypeEmailEnum;
348
299
  textAlign?: FieldUpdateDocumentFieldsTextAlignEmail | undefined;
349
300
  };
350
301
 
351
302
  export type FieldUpdateDocumentFieldsFieldEmail = {
352
- type: FieldUpdateDocumentFieldsTypeEmailRequest1;
303
+ type: "EMAIL";
353
304
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaEmailRequest | undefined;
354
305
  id: number;
355
306
  pageNumber?: number | undefined;
@@ -359,18 +310,11 @@ export type FieldUpdateDocumentFieldsFieldEmail = {
359
310
  height?: number | undefined;
360
311
  };
361
312
 
362
- export const FieldUpdateDocumentFieldsTypeNameRequest1 = {
363
- Name: "NAME",
364
- } as const;
365
- export type FieldUpdateDocumentFieldsTypeNameRequest1 = ClosedEnum<
366
- typeof FieldUpdateDocumentFieldsTypeNameRequest1
367
- >;
368
-
369
- export const FieldUpdateDocumentFieldsTypeNameRequest2 = {
313
+ export const FieldUpdateDocumentFieldsTypeNameEnum = {
370
314
  Name: "name",
371
315
  } as const;
372
- export type FieldUpdateDocumentFieldsTypeNameRequest2 = ClosedEnum<
373
- typeof FieldUpdateDocumentFieldsTypeNameRequest2
316
+ export type FieldUpdateDocumentFieldsTypeNameEnum = ClosedEnum<
317
+ typeof FieldUpdateDocumentFieldsTypeNameEnum
374
318
  >;
375
319
 
376
320
  export const FieldUpdateDocumentFieldsTextAlignName = {
@@ -388,12 +332,12 @@ export type FieldUpdateDocumentFieldsFieldMetaNameRequest = {
388
332
  required?: boolean | undefined;
389
333
  readOnly?: boolean | undefined;
390
334
  fontSize?: number | undefined;
391
- type: FieldUpdateDocumentFieldsTypeNameRequest2;
335
+ type: FieldUpdateDocumentFieldsTypeNameEnum;
392
336
  textAlign?: FieldUpdateDocumentFieldsTextAlignName | undefined;
393
337
  };
394
338
 
395
339
  export type FieldUpdateDocumentFieldsFieldName = {
396
- type: FieldUpdateDocumentFieldsTypeNameRequest1;
340
+ type: "NAME";
397
341
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaNameRequest | undefined;
398
342
  id: number;
399
343
  pageNumber?: number | undefined;
@@ -403,18 +347,11 @@ export type FieldUpdateDocumentFieldsFieldName = {
403
347
  height?: number | undefined;
404
348
  };
405
349
 
406
- export const FieldUpdateDocumentFieldsTypeInitialsRequest1 = {
407
- Initials: "INITIALS",
408
- } as const;
409
- export type FieldUpdateDocumentFieldsTypeInitialsRequest1 = ClosedEnum<
410
- typeof FieldUpdateDocumentFieldsTypeInitialsRequest1
411
- >;
412
-
413
- export const FieldUpdateDocumentFieldsTypeInitialsRequest2 = {
350
+ export const FieldUpdateDocumentFieldsTypeInitialsEnum = {
414
351
  Initials: "initials",
415
352
  } as const;
416
- export type FieldUpdateDocumentFieldsTypeInitialsRequest2 = ClosedEnum<
417
- typeof FieldUpdateDocumentFieldsTypeInitialsRequest2
353
+ export type FieldUpdateDocumentFieldsTypeInitialsEnum = ClosedEnum<
354
+ typeof FieldUpdateDocumentFieldsTypeInitialsEnum
418
355
  >;
419
356
 
420
357
  export const FieldUpdateDocumentFieldsTextAlignInitials = {
@@ -432,12 +369,12 @@ export type FieldUpdateDocumentFieldsFieldMetaInitialsRequest = {
432
369
  required?: boolean | undefined;
433
370
  readOnly?: boolean | undefined;
434
371
  fontSize?: number | undefined;
435
- type: FieldUpdateDocumentFieldsTypeInitialsRequest2;
372
+ type: FieldUpdateDocumentFieldsTypeInitialsEnum;
436
373
  textAlign?: FieldUpdateDocumentFieldsTextAlignInitials | undefined;
437
374
  };
438
375
 
439
376
  export type FieldUpdateDocumentFieldsFieldInitials = {
440
- type: FieldUpdateDocumentFieldsTypeInitialsRequest1;
377
+ type: "INITIALS";
441
378
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaInitialsRequest | undefined;
442
379
  id: number;
443
380
  pageNumber?: number | undefined;
@@ -447,15 +384,8 @@ export type FieldUpdateDocumentFieldsFieldInitials = {
447
384
  height?: number | undefined;
448
385
  };
449
386
 
450
- export const FieldUpdateDocumentFieldsTypeFreeSignature = {
451
- FreeSignature: "FREE_SIGNATURE",
452
- } as const;
453
- export type FieldUpdateDocumentFieldsTypeFreeSignature = ClosedEnum<
454
- typeof FieldUpdateDocumentFieldsTypeFreeSignature
455
- >;
456
-
457
387
  export type FieldUpdateDocumentFieldsFieldFreeSignature = {
458
- type: FieldUpdateDocumentFieldsTypeFreeSignature;
388
+ type: "FREE_SIGNATURE";
459
389
  id: number;
460
390
  pageNumber?: number | undefined;
461
391
  pageX?: number | undefined;
@@ -464,18 +394,11 @@ export type FieldUpdateDocumentFieldsFieldFreeSignature = {
464
394
  height?: number | undefined;
465
395
  };
466
396
 
467
- export const FieldUpdateDocumentFieldsTypeSignatureRequest1 = {
468
- Signature: "SIGNATURE",
469
- } as const;
470
- export type FieldUpdateDocumentFieldsTypeSignatureRequest1 = ClosedEnum<
471
- typeof FieldUpdateDocumentFieldsTypeSignatureRequest1
472
- >;
473
-
474
- export const FieldUpdateDocumentFieldsTypeSignatureRequest2 = {
397
+ export const FieldUpdateDocumentFieldsTypeSignatureEnum = {
475
398
  Signature: "signature",
476
399
  } as const;
477
- export type FieldUpdateDocumentFieldsTypeSignatureRequest2 = ClosedEnum<
478
- typeof FieldUpdateDocumentFieldsTypeSignatureRequest2
400
+ export type FieldUpdateDocumentFieldsTypeSignatureEnum = ClosedEnum<
401
+ typeof FieldUpdateDocumentFieldsTypeSignatureEnum
479
402
  >;
480
403
 
481
404
  export type FieldUpdateDocumentFieldsFieldMetaSignatureRequest = {
@@ -484,11 +407,11 @@ export type FieldUpdateDocumentFieldsFieldMetaSignatureRequest = {
484
407
  required?: boolean | undefined;
485
408
  readOnly?: boolean | undefined;
486
409
  fontSize?: number | undefined;
487
- type: FieldUpdateDocumentFieldsTypeSignatureRequest2;
410
+ type: FieldUpdateDocumentFieldsTypeSignatureEnum;
488
411
  };
489
412
 
490
413
  export type FieldUpdateDocumentFieldsFieldSignature = {
491
- type: FieldUpdateDocumentFieldsTypeSignatureRequest1;
414
+ type: "SIGNATURE";
492
415
  fieldMeta?: FieldUpdateDocumentFieldsFieldMetaSignatureRequest | undefined;
493
416
  id: number;
494
417
  pageNumber?: number | undefined;
@@ -528,7 +451,7 @@ export type FieldUpdateDocumentFieldsRequest = {
528
451
  >;
529
452
  };
530
453
 
531
- export const FieldUpdateDocumentFieldsTypeResponse = {
454
+ export const FieldUpdateDocumentFieldsTypeResponseEnum = {
532
455
  Signature: "SIGNATURE",
533
456
  FreeSignature: "FREE_SIGNATURE",
534
457
  Initials: "INITIALS",
@@ -541,15 +464,8 @@ export const FieldUpdateDocumentFieldsTypeResponse = {
541
464
  Checkbox: "CHECKBOX",
542
465
  Dropdown: "DROPDOWN",
543
466
  } as const;
544
- export type FieldUpdateDocumentFieldsTypeResponse = ClosedEnum<
545
- typeof FieldUpdateDocumentFieldsTypeResponse
546
- >;
547
-
548
- export const FieldUpdateDocumentFieldsFieldMetaTypeDropdown = {
549
- Dropdown: "dropdown",
550
- } as const;
551
- export type FieldUpdateDocumentFieldsFieldMetaTypeDropdown = ClosedEnum<
552
- typeof FieldUpdateDocumentFieldsFieldMetaTypeDropdown
467
+ export type FieldUpdateDocumentFieldsTypeResponseEnum = ClosedEnum<
468
+ typeof FieldUpdateDocumentFieldsTypeResponseEnum
553
469
  >;
554
470
 
555
471
  export type FieldUpdateDocumentFieldsValueResponse3 = {
@@ -562,18 +478,11 @@ export type FieldUpdateDocumentFieldsFieldMetaDropdownResponse = {
562
478
  required?: boolean | undefined;
563
479
  readOnly?: boolean | undefined;
564
480
  fontSize?: number | undefined;
565
- type: FieldUpdateDocumentFieldsFieldMetaTypeDropdown;
481
+ type: "dropdown";
566
482
  values?: Array<FieldUpdateDocumentFieldsValueResponse3> | undefined;
567
483
  defaultValue?: string | undefined;
568
484
  };
569
485
 
570
- export const FieldUpdateDocumentFieldsFieldMetaTypeCheckbox = {
571
- Checkbox: "checkbox",
572
- } as const;
573
- export type FieldUpdateDocumentFieldsFieldMetaTypeCheckbox = ClosedEnum<
574
- typeof FieldUpdateDocumentFieldsFieldMetaTypeCheckbox
575
- >;
576
-
577
486
  export type FieldUpdateDocumentFieldsValueResponse2 = {
578
487
  id: number;
579
488
  checked: boolean;
@@ -594,20 +503,13 @@ export type FieldUpdateDocumentFieldsFieldMetaCheckboxResponse = {
594
503
  required?: boolean | undefined;
595
504
  readOnly?: boolean | undefined;
596
505
  fontSize?: number | undefined;
597
- type: FieldUpdateDocumentFieldsFieldMetaTypeCheckbox;
506
+ type: "checkbox";
598
507
  values?: Array<FieldUpdateDocumentFieldsValueResponse2> | undefined;
599
508
  validationRule?: string | undefined;
600
509
  validationLength?: number | undefined;
601
510
  direction?: FieldUpdateDocumentFieldsDirectionResponse2 | undefined;
602
511
  };
603
512
 
604
- export const FieldUpdateDocumentFieldsFieldMetaTypeRadio = {
605
- Radio: "radio",
606
- } as const;
607
- export type FieldUpdateDocumentFieldsFieldMetaTypeRadio = ClosedEnum<
608
- typeof FieldUpdateDocumentFieldsFieldMetaTypeRadio
609
- >;
610
-
611
513
  export type FieldUpdateDocumentFieldsValueResponse1 = {
612
514
  id: number;
613
515
  checked: boolean;
@@ -628,18 +530,11 @@ export type FieldUpdateDocumentFieldsFieldMetaRadioResponse = {
628
530
  required?: boolean | undefined;
629
531
  readOnly?: boolean | undefined;
630
532
  fontSize?: number | undefined;
631
- type: FieldUpdateDocumentFieldsFieldMetaTypeRadio;
533
+ type: "radio";
632
534
  values?: Array<FieldUpdateDocumentFieldsValueResponse1> | undefined;
633
535
  direction?: FieldUpdateDocumentFieldsDirectionResponse1 | undefined;
634
536
  };
635
537
 
636
- export const FieldUpdateDocumentFieldsFieldMetaTypeNumber = {
637
- Number: "number",
638
- } as const;
639
- export type FieldUpdateDocumentFieldsFieldMetaTypeNumber = ClosedEnum<
640
- typeof FieldUpdateDocumentFieldsFieldMetaTypeNumber
641
- >;
642
-
643
538
  export const FieldUpdateDocumentFieldsTextAlignResponse6 = {
644
539
  Left: "left",
645
540
  Center: "center",
@@ -664,7 +559,7 @@ export type FieldUpdateDocumentFieldsFieldMetaNumberResponse = {
664
559
  required?: boolean | undefined;
665
560
  readOnly?: boolean | undefined;
666
561
  fontSize?: number | undefined;
667
- type: FieldUpdateDocumentFieldsFieldMetaTypeNumber;
562
+ type: "number";
668
563
  numberFormat?: string | null | undefined;
669
564
  value?: string | undefined;
670
565
  minValue?: number | null | undefined;
@@ -678,13 +573,6 @@ export type FieldUpdateDocumentFieldsFieldMetaNumberResponse = {
678
573
  | undefined;
679
574
  };
680
575
 
681
- export const FieldUpdateDocumentFieldsFieldMetaTypeText = {
682
- Text: "text",
683
- } as const;
684
- export type FieldUpdateDocumentFieldsFieldMetaTypeText = ClosedEnum<
685
- typeof FieldUpdateDocumentFieldsFieldMetaTypeText
686
- >;
687
-
688
576
  export const FieldUpdateDocumentFieldsTextAlignResponse5 = {
689
577
  Left: "left",
690
578
  Center: "center",
@@ -709,7 +597,7 @@ export type FieldUpdateDocumentFieldsFieldMetaTextResponse = {
709
597
  required?: boolean | undefined;
710
598
  readOnly?: boolean | undefined;
711
599
  fontSize?: number | undefined;
712
- type: FieldUpdateDocumentFieldsFieldMetaTypeText;
600
+ type: "text";
713
601
  text?: string | undefined;
714
602
  characterLimit?: number | undefined;
715
603
  textAlign?: FieldUpdateDocumentFieldsTextAlignResponse5 | undefined;
@@ -721,13 +609,6 @@ export type FieldUpdateDocumentFieldsFieldMetaTextResponse = {
721
609
  | undefined;
722
610
  };
723
611
 
724
- export const FieldUpdateDocumentFieldsFieldMetaTypeDate = {
725
- Date: "date",
726
- } as const;
727
- export type FieldUpdateDocumentFieldsFieldMetaTypeDate = ClosedEnum<
728
- typeof FieldUpdateDocumentFieldsFieldMetaTypeDate
729
- >;
730
-
731
612
  export const FieldUpdateDocumentFieldsTextAlignResponse4 = {
732
613
  Left: "left",
733
614
  Center: "center",
@@ -743,17 +624,10 @@ export type FieldUpdateDocumentFieldsFieldMetaDateResponse = {
743
624
  required?: boolean | undefined;
744
625
  readOnly?: boolean | undefined;
745
626
  fontSize?: number | undefined;
746
- type: FieldUpdateDocumentFieldsFieldMetaTypeDate;
627
+ type: "date";
747
628
  textAlign?: FieldUpdateDocumentFieldsTextAlignResponse4 | undefined;
748
629
  };
749
630
 
750
- export const FieldUpdateDocumentFieldsFieldMetaTypeEmail = {
751
- Email: "email",
752
- } as const;
753
- export type FieldUpdateDocumentFieldsFieldMetaTypeEmail = ClosedEnum<
754
- typeof FieldUpdateDocumentFieldsFieldMetaTypeEmail
755
- >;
756
-
757
631
  export const FieldUpdateDocumentFieldsTextAlignResponse3 = {
758
632
  Left: "left",
759
633
  Center: "center",
@@ -769,17 +643,10 @@ export type FieldUpdateDocumentFieldsFieldMetaEmailResponse = {
769
643
  required?: boolean | undefined;
770
644
  readOnly?: boolean | undefined;
771
645
  fontSize?: number | undefined;
772
- type: FieldUpdateDocumentFieldsFieldMetaTypeEmail;
646
+ type: "email";
773
647
  textAlign?: FieldUpdateDocumentFieldsTextAlignResponse3 | undefined;
774
648
  };
775
649
 
776
- export const FieldUpdateDocumentFieldsFieldMetaTypeName = {
777
- Name: "name",
778
- } as const;
779
- export type FieldUpdateDocumentFieldsFieldMetaTypeName = ClosedEnum<
780
- typeof FieldUpdateDocumentFieldsFieldMetaTypeName
781
- >;
782
-
783
650
  export const FieldUpdateDocumentFieldsTextAlignResponse2 = {
784
651
  Left: "left",
785
652
  Center: "center",
@@ -795,17 +662,10 @@ export type FieldUpdateDocumentFieldsFieldMetaNameResponse = {
795
662
  required?: boolean | undefined;
796
663
  readOnly?: boolean | undefined;
797
664
  fontSize?: number | undefined;
798
- type: FieldUpdateDocumentFieldsFieldMetaTypeName;
665
+ type: "name";
799
666
  textAlign?: FieldUpdateDocumentFieldsTextAlignResponse2 | undefined;
800
667
  };
801
668
 
802
- export const FieldUpdateDocumentFieldsFieldMetaTypeInitials = {
803
- Initials: "initials",
804
- } as const;
805
- export type FieldUpdateDocumentFieldsFieldMetaTypeInitials = ClosedEnum<
806
- typeof FieldUpdateDocumentFieldsFieldMetaTypeInitials
807
- >;
808
-
809
669
  export const FieldUpdateDocumentFieldsTextAlignResponse1 = {
810
670
  Left: "left",
811
671
  Center: "center",
@@ -821,24 +681,17 @@ export type FieldUpdateDocumentFieldsFieldMetaInitialsResponse = {
821
681
  required?: boolean | undefined;
822
682
  readOnly?: boolean | undefined;
823
683
  fontSize?: number | undefined;
824
- type: FieldUpdateDocumentFieldsFieldMetaTypeInitials;
684
+ type: "initials";
825
685
  textAlign?: FieldUpdateDocumentFieldsTextAlignResponse1 | undefined;
826
686
  };
827
687
 
828
- export const FieldUpdateDocumentFieldsFieldMetaTypeSignature = {
829
- Signature: "signature",
830
- } as const;
831
- export type FieldUpdateDocumentFieldsFieldMetaTypeSignature = ClosedEnum<
832
- typeof FieldUpdateDocumentFieldsFieldMetaTypeSignature
833
- >;
834
-
835
688
  export type FieldUpdateDocumentFieldsFieldMetaSignatureResponse = {
836
689
  label?: string | undefined;
837
690
  placeholder?: string | undefined;
838
691
  required?: boolean | undefined;
839
692
  readOnly?: boolean | undefined;
840
693
  fontSize?: number | undefined;
841
- type: FieldUpdateDocumentFieldsFieldMetaTypeSignature;
694
+ type: "signature";
842
695
  };
843
696
 
844
697
  export type FieldUpdateDocumentFieldsFieldMetaUnion =
@@ -856,7 +709,7 @@ export type FieldUpdateDocumentFieldsFieldMetaUnion =
856
709
  export type FieldUpdateDocumentFieldsFieldResponse = {
857
710
  envelopeId: string;
858
711
  envelopeItemId: string;
859
- type: FieldUpdateDocumentFieldsTypeResponse;
712
+ type: FieldUpdateDocumentFieldsTypeResponseEnum;
860
713
  id: number;
861
714
  secondaryId: string;
862
715
  recipientId: number;
@@ -891,22 +744,13 @@ export type FieldUpdateDocumentFieldsResponse = {
891
744
  };
892
745
 
893
746
  /** @internal */
894
- export const FieldUpdateDocumentFieldsTypeDropdownRequest1$inboundSchema:
895
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDropdownRequest1> = z
896
- .nativeEnum(FieldUpdateDocumentFieldsTypeDropdownRequest1);
897
- /** @internal */
898
- export const FieldUpdateDocumentFieldsTypeDropdownRequest1$outboundSchema:
899
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDropdownRequest1> =
900
- FieldUpdateDocumentFieldsTypeDropdownRequest1$inboundSchema;
901
-
902
- /** @internal */
903
- export const FieldUpdateDocumentFieldsTypeDropdownRequest2$inboundSchema:
904
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDropdownRequest2> = z
905
- .nativeEnum(FieldUpdateDocumentFieldsTypeDropdownRequest2);
747
+ export const FieldUpdateDocumentFieldsTypeDropdownEnum$inboundSchema:
748
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDropdownEnum> = z
749
+ .nativeEnum(FieldUpdateDocumentFieldsTypeDropdownEnum);
906
750
  /** @internal */
907
- export const FieldUpdateDocumentFieldsTypeDropdownRequest2$outboundSchema:
908
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDropdownRequest2> =
909
- FieldUpdateDocumentFieldsTypeDropdownRequest2$inboundSchema;
751
+ export const FieldUpdateDocumentFieldsTypeDropdownEnum$outboundSchema:
752
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDropdownEnum> =
753
+ FieldUpdateDocumentFieldsTypeDropdownEnum$inboundSchema;
910
754
 
911
755
  /** @internal */
912
756
  export const FieldUpdateDocumentFieldsValueDropdown$inboundSchema: z.ZodType<
@@ -963,7 +807,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDropdownRequest$inboundSchema:
963
807
  required: z.boolean().optional(),
964
808
  readOnly: z.boolean().optional(),
965
809
  fontSize: z.number().default(12),
966
- type: FieldUpdateDocumentFieldsTypeDropdownRequest2$inboundSchema,
810
+ type: FieldUpdateDocumentFieldsTypeDropdownEnum$inboundSchema,
967
811
  values: z.array(
968
812
  z.lazy(() => FieldUpdateDocumentFieldsValueDropdown$inboundSchema),
969
813
  ).optional(),
@@ -993,7 +837,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDropdownRequest$outboundSchema:
993
837
  required: z.boolean().optional(),
994
838
  readOnly: z.boolean().optional(),
995
839
  fontSize: z.number().default(12),
996
- type: FieldUpdateDocumentFieldsTypeDropdownRequest2$outboundSchema,
840
+ type: FieldUpdateDocumentFieldsTypeDropdownEnum$outboundSchema,
997
841
  values: z.array(
998
842
  z.lazy(() => FieldUpdateDocumentFieldsValueDropdown$outboundSchema),
999
843
  ).optional(),
@@ -1032,7 +876,7 @@ export const FieldUpdateDocumentFieldsFieldDropdown$inboundSchema: z.ZodType<
1032
876
  z.ZodTypeDef,
1033
877
  unknown
1034
878
  > = z.object({
1035
- type: FieldUpdateDocumentFieldsTypeDropdownRequest1$inboundSchema,
879
+ type: z.literal("DROPDOWN"),
1036
880
  fieldMeta: z.lazy(() =>
1037
881
  FieldUpdateDocumentFieldsFieldMetaDropdownRequest$inboundSchema
1038
882
  ).optional(),
@@ -1045,7 +889,7 @@ export const FieldUpdateDocumentFieldsFieldDropdown$inboundSchema: z.ZodType<
1045
889
  });
1046
890
  /** @internal */
1047
891
  export type FieldUpdateDocumentFieldsFieldDropdown$Outbound = {
1048
- type: string;
892
+ type: "DROPDOWN";
1049
893
  fieldMeta?:
1050
894
  | FieldUpdateDocumentFieldsFieldMetaDropdownRequest$Outbound
1051
895
  | undefined;
@@ -1063,7 +907,7 @@ export const FieldUpdateDocumentFieldsFieldDropdown$outboundSchema: z.ZodType<
1063
907
  z.ZodTypeDef,
1064
908
  FieldUpdateDocumentFieldsFieldDropdown
1065
909
  > = z.object({
1066
- type: FieldUpdateDocumentFieldsTypeDropdownRequest1$outboundSchema,
910
+ type: z.literal("DROPDOWN"),
1067
911
  fieldMeta: z.lazy(() =>
1068
912
  FieldUpdateDocumentFieldsFieldMetaDropdownRequest$outboundSchema
1069
913
  ).optional(),
@@ -1097,22 +941,13 @@ export function fieldUpdateDocumentFieldsFieldDropdownFromJSON(
1097
941
  }
1098
942
 
1099
943
  /** @internal */
1100
- export const FieldUpdateDocumentFieldsTypeCheckboxRequest1$inboundSchema:
1101
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeCheckboxRequest1> = z
1102
- .nativeEnum(FieldUpdateDocumentFieldsTypeCheckboxRequest1);
1103
- /** @internal */
1104
- export const FieldUpdateDocumentFieldsTypeCheckboxRequest1$outboundSchema:
1105
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeCheckboxRequest1> =
1106
- FieldUpdateDocumentFieldsTypeCheckboxRequest1$inboundSchema;
1107
-
1108
- /** @internal */
1109
- export const FieldUpdateDocumentFieldsTypeCheckboxRequest2$inboundSchema:
1110
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeCheckboxRequest2> = z
1111
- .nativeEnum(FieldUpdateDocumentFieldsTypeCheckboxRequest2);
944
+ export const FieldUpdateDocumentFieldsTypeCheckboxEnum$inboundSchema:
945
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeCheckboxEnum> = z
946
+ .nativeEnum(FieldUpdateDocumentFieldsTypeCheckboxEnum);
1112
947
  /** @internal */
1113
- export const FieldUpdateDocumentFieldsTypeCheckboxRequest2$outboundSchema:
1114
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeCheckboxRequest2> =
1115
- FieldUpdateDocumentFieldsTypeCheckboxRequest2$inboundSchema;
948
+ export const FieldUpdateDocumentFieldsTypeCheckboxEnum$outboundSchema:
949
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeCheckboxEnum> =
950
+ FieldUpdateDocumentFieldsTypeCheckboxEnum$inboundSchema;
1116
951
 
1117
952
  /** @internal */
1118
953
  export const FieldUpdateDocumentFieldsValueCheckbox$inboundSchema: z.ZodType<
@@ -1184,7 +1019,7 @@ export const FieldUpdateDocumentFieldsFieldMetaCheckboxRequest$inboundSchema:
1184
1019
  required: z.boolean().optional(),
1185
1020
  readOnly: z.boolean().optional(),
1186
1021
  fontSize: z.number().default(12),
1187
- type: FieldUpdateDocumentFieldsTypeCheckboxRequest2$inboundSchema,
1022
+ type: FieldUpdateDocumentFieldsTypeCheckboxEnum$inboundSchema,
1188
1023
  values: z.array(
1189
1024
  z.lazy(() => FieldUpdateDocumentFieldsValueCheckbox$inboundSchema),
1190
1025
  ).optional(),
@@ -1220,7 +1055,7 @@ export const FieldUpdateDocumentFieldsFieldMetaCheckboxRequest$outboundSchema:
1220
1055
  required: z.boolean().optional(),
1221
1056
  readOnly: z.boolean().optional(),
1222
1057
  fontSize: z.number().default(12),
1223
- type: FieldUpdateDocumentFieldsTypeCheckboxRequest2$outboundSchema,
1058
+ type: FieldUpdateDocumentFieldsTypeCheckboxEnum$outboundSchema,
1224
1059
  values: z.array(
1225
1060
  z.lazy(() => FieldUpdateDocumentFieldsValueCheckbox$outboundSchema),
1226
1061
  ).optional(),
@@ -1262,7 +1097,7 @@ export const FieldUpdateDocumentFieldsFieldCheckbox$inboundSchema: z.ZodType<
1262
1097
  z.ZodTypeDef,
1263
1098
  unknown
1264
1099
  > = z.object({
1265
- type: FieldUpdateDocumentFieldsTypeCheckboxRequest1$inboundSchema,
1100
+ type: z.literal("CHECKBOX"),
1266
1101
  fieldMeta: z.lazy(() =>
1267
1102
  FieldUpdateDocumentFieldsFieldMetaCheckboxRequest$inboundSchema
1268
1103
  ).optional(),
@@ -1275,7 +1110,7 @@ export const FieldUpdateDocumentFieldsFieldCheckbox$inboundSchema: z.ZodType<
1275
1110
  });
1276
1111
  /** @internal */
1277
1112
  export type FieldUpdateDocumentFieldsFieldCheckbox$Outbound = {
1278
- type: string;
1113
+ type: "CHECKBOX";
1279
1114
  fieldMeta?:
1280
1115
  | FieldUpdateDocumentFieldsFieldMetaCheckboxRequest$Outbound
1281
1116
  | undefined;
@@ -1293,7 +1128,7 @@ export const FieldUpdateDocumentFieldsFieldCheckbox$outboundSchema: z.ZodType<
1293
1128
  z.ZodTypeDef,
1294
1129
  FieldUpdateDocumentFieldsFieldCheckbox
1295
1130
  > = z.object({
1296
- type: FieldUpdateDocumentFieldsTypeCheckboxRequest1$outboundSchema,
1131
+ type: z.literal("CHECKBOX"),
1297
1132
  fieldMeta: z.lazy(() =>
1298
1133
  FieldUpdateDocumentFieldsFieldMetaCheckboxRequest$outboundSchema
1299
1134
  ).optional(),
@@ -1327,22 +1162,14 @@ export function fieldUpdateDocumentFieldsFieldCheckboxFromJSON(
1327
1162
  }
1328
1163
 
1329
1164
  /** @internal */
1330
- export const FieldUpdateDocumentFieldsTypeRadioRequest1$inboundSchema:
1331
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeRadioRequest1> = z
1332
- .nativeEnum(FieldUpdateDocumentFieldsTypeRadioRequest1);
1333
- /** @internal */
1334
- export const FieldUpdateDocumentFieldsTypeRadioRequest1$outboundSchema:
1335
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeRadioRequest1> =
1336
- FieldUpdateDocumentFieldsTypeRadioRequest1$inboundSchema;
1337
-
1338
- /** @internal */
1339
- export const FieldUpdateDocumentFieldsTypeRadioRequest2$inboundSchema:
1340
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeRadioRequest2> = z
1341
- .nativeEnum(FieldUpdateDocumentFieldsTypeRadioRequest2);
1165
+ export const FieldUpdateDocumentFieldsTypeRadioEnum$inboundSchema:
1166
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeRadioEnum> = z.nativeEnum(
1167
+ FieldUpdateDocumentFieldsTypeRadioEnum,
1168
+ );
1342
1169
  /** @internal */
1343
- export const FieldUpdateDocumentFieldsTypeRadioRequest2$outboundSchema:
1344
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeRadioRequest2> =
1345
- FieldUpdateDocumentFieldsTypeRadioRequest2$inboundSchema;
1170
+ export const FieldUpdateDocumentFieldsTypeRadioEnum$outboundSchema:
1171
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeRadioEnum> =
1172
+ FieldUpdateDocumentFieldsTypeRadioEnum$inboundSchema;
1346
1173
 
1347
1174
  /** @internal */
1348
1175
  export const FieldUpdateDocumentFieldsValueRadio$inboundSchema: z.ZodType<
@@ -1413,7 +1240,7 @@ export const FieldUpdateDocumentFieldsFieldMetaRadioRequest$inboundSchema:
1413
1240
  required: z.boolean().optional(),
1414
1241
  readOnly: z.boolean().optional(),
1415
1242
  fontSize: z.number().default(12),
1416
- type: FieldUpdateDocumentFieldsTypeRadioRequest2$inboundSchema,
1243
+ type: FieldUpdateDocumentFieldsTypeRadioEnum$inboundSchema,
1417
1244
  values: z.array(
1418
1245
  z.lazy(() => FieldUpdateDocumentFieldsValueRadio$inboundSchema),
1419
1246
  ).optional(),
@@ -1445,7 +1272,7 @@ export const FieldUpdateDocumentFieldsFieldMetaRadioRequest$outboundSchema:
1445
1272
  required: z.boolean().optional(),
1446
1273
  readOnly: z.boolean().optional(),
1447
1274
  fontSize: z.number().default(12),
1448
- type: FieldUpdateDocumentFieldsTypeRadioRequest2$outboundSchema,
1275
+ type: FieldUpdateDocumentFieldsTypeRadioEnum$outboundSchema,
1449
1276
  values: z.array(
1450
1277
  z.lazy(() => FieldUpdateDocumentFieldsValueRadio$outboundSchema),
1451
1278
  ).optional(),
@@ -1486,7 +1313,7 @@ export const FieldUpdateDocumentFieldsFieldRadio$inboundSchema: z.ZodType<
1486
1313
  z.ZodTypeDef,
1487
1314
  unknown
1488
1315
  > = z.object({
1489
- type: FieldUpdateDocumentFieldsTypeRadioRequest1$inboundSchema,
1316
+ type: z.literal("RADIO"),
1490
1317
  fieldMeta: z.lazy(() =>
1491
1318
  FieldUpdateDocumentFieldsFieldMetaRadioRequest$inboundSchema
1492
1319
  ).optional(),
@@ -1499,7 +1326,7 @@ export const FieldUpdateDocumentFieldsFieldRadio$inboundSchema: z.ZodType<
1499
1326
  });
1500
1327
  /** @internal */
1501
1328
  export type FieldUpdateDocumentFieldsFieldRadio$Outbound = {
1502
- type: string;
1329
+ type: "RADIO";
1503
1330
  fieldMeta?:
1504
1331
  | FieldUpdateDocumentFieldsFieldMetaRadioRequest$Outbound
1505
1332
  | undefined;
@@ -1517,7 +1344,7 @@ export const FieldUpdateDocumentFieldsFieldRadio$outboundSchema: z.ZodType<
1517
1344
  z.ZodTypeDef,
1518
1345
  FieldUpdateDocumentFieldsFieldRadio
1519
1346
  > = z.object({
1520
- type: FieldUpdateDocumentFieldsTypeRadioRequest1$outboundSchema,
1347
+ type: z.literal("RADIO"),
1521
1348
  fieldMeta: z.lazy(() =>
1522
1349
  FieldUpdateDocumentFieldsFieldMetaRadioRequest$outboundSchema
1523
1350
  ).optional(),
@@ -1550,22 +1377,13 @@ export function fieldUpdateDocumentFieldsFieldRadioFromJSON(
1550
1377
  }
1551
1378
 
1552
1379
  /** @internal */
1553
- export const FieldUpdateDocumentFieldsTypeNumberRequest1$inboundSchema:
1554
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNumberRequest1> = z
1555
- .nativeEnum(FieldUpdateDocumentFieldsTypeNumberRequest1);
1556
- /** @internal */
1557
- export const FieldUpdateDocumentFieldsTypeNumberRequest1$outboundSchema:
1558
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNumberRequest1> =
1559
- FieldUpdateDocumentFieldsTypeNumberRequest1$inboundSchema;
1560
-
1561
- /** @internal */
1562
- export const FieldUpdateDocumentFieldsTypeNumberRequest2$inboundSchema:
1563
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNumberRequest2> = z
1564
- .nativeEnum(FieldUpdateDocumentFieldsTypeNumberRequest2);
1380
+ export const FieldUpdateDocumentFieldsTypeNumberEnum$inboundSchema:
1381
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNumberEnum> = z
1382
+ .nativeEnum(FieldUpdateDocumentFieldsTypeNumberEnum);
1565
1383
  /** @internal */
1566
- export const FieldUpdateDocumentFieldsTypeNumberRequest2$outboundSchema:
1567
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNumberRequest2> =
1568
- FieldUpdateDocumentFieldsTypeNumberRequest2$inboundSchema;
1384
+ export const FieldUpdateDocumentFieldsTypeNumberEnum$outboundSchema:
1385
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNumberEnum> =
1386
+ FieldUpdateDocumentFieldsTypeNumberEnum$inboundSchema;
1569
1387
 
1570
1388
  /** @internal */
1571
1389
  export const FieldUpdateDocumentFieldsTextAlignNumber$inboundSchema:
@@ -1597,7 +1415,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNumberRequest$inboundSchema:
1597
1415
  required: z.boolean().optional(),
1598
1416
  readOnly: z.boolean().optional(),
1599
1417
  fontSize: z.number().default(12),
1600
- type: FieldUpdateDocumentFieldsTypeNumberRequest2$inboundSchema,
1418
+ type: FieldUpdateDocumentFieldsTypeNumberEnum$inboundSchema,
1601
1419
  numberFormat: z.nullable(z.string()).optional(),
1602
1420
  value: z.string().optional(),
1603
1421
  minValue: z.nullable(z.number()).optional(),
@@ -1640,7 +1458,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNumberRequest$outboundSchema:
1640
1458
  required: z.boolean().optional(),
1641
1459
  readOnly: z.boolean().optional(),
1642
1460
  fontSize: z.number().default(12),
1643
- type: FieldUpdateDocumentFieldsTypeNumberRequest2$outboundSchema,
1461
+ type: FieldUpdateDocumentFieldsTypeNumberEnum$outboundSchema,
1644
1462
  numberFormat: z.nullable(z.string()).optional(),
1645
1463
  value: z.string().optional(),
1646
1464
  minValue: z.nullable(z.number()).optional(),
@@ -1686,7 +1504,7 @@ export const FieldUpdateDocumentFieldsFieldNumber$inboundSchema: z.ZodType<
1686
1504
  z.ZodTypeDef,
1687
1505
  unknown
1688
1506
  > = z.object({
1689
- type: FieldUpdateDocumentFieldsTypeNumberRequest1$inboundSchema,
1507
+ type: z.literal("NUMBER"),
1690
1508
  fieldMeta: z.lazy(() =>
1691
1509
  FieldUpdateDocumentFieldsFieldMetaNumberRequest$inboundSchema
1692
1510
  ).optional(),
@@ -1699,7 +1517,7 @@ export const FieldUpdateDocumentFieldsFieldNumber$inboundSchema: z.ZodType<
1699
1517
  });
1700
1518
  /** @internal */
1701
1519
  export type FieldUpdateDocumentFieldsFieldNumber$Outbound = {
1702
- type: string;
1520
+ type: "NUMBER";
1703
1521
  fieldMeta?:
1704
1522
  | FieldUpdateDocumentFieldsFieldMetaNumberRequest$Outbound
1705
1523
  | undefined;
@@ -1717,7 +1535,7 @@ export const FieldUpdateDocumentFieldsFieldNumber$outboundSchema: z.ZodType<
1717
1535
  z.ZodTypeDef,
1718
1536
  FieldUpdateDocumentFieldsFieldNumber
1719
1537
  > = z.object({
1720
- type: FieldUpdateDocumentFieldsTypeNumberRequest1$outboundSchema,
1538
+ type: z.literal("NUMBER"),
1721
1539
  fieldMeta: z.lazy(() =>
1722
1540
  FieldUpdateDocumentFieldsFieldMetaNumberRequest$outboundSchema
1723
1541
  ).optional(),
@@ -1750,22 +1568,14 @@ export function fieldUpdateDocumentFieldsFieldNumberFromJSON(
1750
1568
  }
1751
1569
 
1752
1570
  /** @internal */
1753
- export const FieldUpdateDocumentFieldsTypeTextRequest1$inboundSchema:
1754
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeTextRequest1> = z
1755
- .nativeEnum(FieldUpdateDocumentFieldsTypeTextRequest1);
1756
- /** @internal */
1757
- export const FieldUpdateDocumentFieldsTypeTextRequest1$outboundSchema:
1758
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeTextRequest1> =
1759
- FieldUpdateDocumentFieldsTypeTextRequest1$inboundSchema;
1760
-
1761
- /** @internal */
1762
- export const FieldUpdateDocumentFieldsTypeTextRequest2$inboundSchema:
1763
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeTextRequest2> = z
1764
- .nativeEnum(FieldUpdateDocumentFieldsTypeTextRequest2);
1571
+ export const FieldUpdateDocumentFieldsTypeTextEnum$inboundSchema:
1572
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeTextEnum> = z.nativeEnum(
1573
+ FieldUpdateDocumentFieldsTypeTextEnum,
1574
+ );
1765
1575
  /** @internal */
1766
- export const FieldUpdateDocumentFieldsTypeTextRequest2$outboundSchema:
1767
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeTextRequest2> =
1768
- FieldUpdateDocumentFieldsTypeTextRequest2$inboundSchema;
1576
+ export const FieldUpdateDocumentFieldsTypeTextEnum$outboundSchema:
1577
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeTextEnum> =
1578
+ FieldUpdateDocumentFieldsTypeTextEnum$inboundSchema;
1769
1579
 
1770
1580
  /** @internal */
1771
1581
  export const FieldUpdateDocumentFieldsTextAlignText$inboundSchema:
@@ -1798,7 +1608,7 @@ export const FieldUpdateDocumentFieldsFieldMetaTextRequest$inboundSchema:
1798
1608
  required: z.boolean().optional(),
1799
1609
  readOnly: z.boolean().optional(),
1800
1610
  fontSize: z.number().default(12),
1801
- type: FieldUpdateDocumentFieldsTypeTextRequest2$inboundSchema,
1611
+ type: FieldUpdateDocumentFieldsTypeTextEnum$inboundSchema,
1802
1612
  text: z.string().optional(),
1803
1613
  characterLimit: z.number().optional(),
1804
1614
  textAlign: FieldUpdateDocumentFieldsTextAlignText$inboundSchema.optional(),
@@ -1836,7 +1646,7 @@ export const FieldUpdateDocumentFieldsFieldMetaTextRequest$outboundSchema:
1836
1646
  required: z.boolean().optional(),
1837
1647
  readOnly: z.boolean().optional(),
1838
1648
  fontSize: z.number().default(12),
1839
- type: FieldUpdateDocumentFieldsTypeTextRequest2$outboundSchema,
1649
+ type: FieldUpdateDocumentFieldsTypeTextEnum$outboundSchema,
1840
1650
  text: z.string().optional(),
1841
1651
  characterLimit: z.number().optional(),
1842
1652
  textAlign: FieldUpdateDocumentFieldsTextAlignText$outboundSchema.optional(),
@@ -1879,7 +1689,7 @@ export const FieldUpdateDocumentFieldsFieldText$inboundSchema: z.ZodType<
1879
1689
  z.ZodTypeDef,
1880
1690
  unknown
1881
1691
  > = z.object({
1882
- type: FieldUpdateDocumentFieldsTypeTextRequest1$inboundSchema,
1692
+ type: z.literal("TEXT"),
1883
1693
  fieldMeta: z.lazy(() =>
1884
1694
  FieldUpdateDocumentFieldsFieldMetaTextRequest$inboundSchema
1885
1695
  ).optional(),
@@ -1892,7 +1702,7 @@ export const FieldUpdateDocumentFieldsFieldText$inboundSchema: z.ZodType<
1892
1702
  });
1893
1703
  /** @internal */
1894
1704
  export type FieldUpdateDocumentFieldsFieldText$Outbound = {
1895
- type: string;
1705
+ type: "TEXT";
1896
1706
  fieldMeta?:
1897
1707
  | FieldUpdateDocumentFieldsFieldMetaTextRequest$Outbound
1898
1708
  | undefined;
@@ -1910,7 +1720,7 @@ export const FieldUpdateDocumentFieldsFieldText$outboundSchema: z.ZodType<
1910
1720
  z.ZodTypeDef,
1911
1721
  FieldUpdateDocumentFieldsFieldText
1912
1722
  > = z.object({
1913
- type: FieldUpdateDocumentFieldsTypeTextRequest1$outboundSchema,
1723
+ type: z.literal("TEXT"),
1914
1724
  fieldMeta: z.lazy(() =>
1915
1725
  FieldUpdateDocumentFieldsFieldMetaTextRequest$outboundSchema
1916
1726
  ).optional(),
@@ -1943,22 +1753,14 @@ export function fieldUpdateDocumentFieldsFieldTextFromJSON(
1943
1753
  }
1944
1754
 
1945
1755
  /** @internal */
1946
- export const FieldUpdateDocumentFieldsTypeDateRequest1$inboundSchema:
1947
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDateRequest1> = z
1948
- .nativeEnum(FieldUpdateDocumentFieldsTypeDateRequest1);
1949
- /** @internal */
1950
- export const FieldUpdateDocumentFieldsTypeDateRequest1$outboundSchema:
1951
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDateRequest1> =
1952
- FieldUpdateDocumentFieldsTypeDateRequest1$inboundSchema;
1953
-
1954
- /** @internal */
1955
- export const FieldUpdateDocumentFieldsTypeDateRequest2$inboundSchema:
1956
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDateRequest2> = z
1957
- .nativeEnum(FieldUpdateDocumentFieldsTypeDateRequest2);
1756
+ export const FieldUpdateDocumentFieldsTypeDateEnum$inboundSchema:
1757
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDateEnum> = z.nativeEnum(
1758
+ FieldUpdateDocumentFieldsTypeDateEnum,
1759
+ );
1958
1760
  /** @internal */
1959
- export const FieldUpdateDocumentFieldsTypeDateRequest2$outboundSchema:
1960
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDateRequest2> =
1961
- FieldUpdateDocumentFieldsTypeDateRequest2$inboundSchema;
1761
+ export const FieldUpdateDocumentFieldsTypeDateEnum$outboundSchema:
1762
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeDateEnum> =
1763
+ FieldUpdateDocumentFieldsTypeDateEnum$inboundSchema;
1962
1764
 
1963
1765
  /** @internal */
1964
1766
  export const FieldUpdateDocumentFieldsTextAlignDate$inboundSchema:
@@ -1982,7 +1784,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDateRequest$inboundSchema:
1982
1784
  required: z.boolean().optional(),
1983
1785
  readOnly: z.boolean().optional(),
1984
1786
  fontSize: z.number().default(12),
1985
- type: FieldUpdateDocumentFieldsTypeDateRequest2$inboundSchema,
1787
+ type: FieldUpdateDocumentFieldsTypeDateEnum$inboundSchema,
1986
1788
  textAlign: FieldUpdateDocumentFieldsTextAlignDate$inboundSchema.optional(),
1987
1789
  });
1988
1790
  /** @internal */
@@ -2008,7 +1810,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDateRequest$outboundSchema:
2008
1810
  required: z.boolean().optional(),
2009
1811
  readOnly: z.boolean().optional(),
2010
1812
  fontSize: z.number().default(12),
2011
- type: FieldUpdateDocumentFieldsTypeDateRequest2$outboundSchema,
1813
+ type: FieldUpdateDocumentFieldsTypeDateEnum$outboundSchema,
2012
1814
  textAlign: FieldUpdateDocumentFieldsTextAlignDate$outboundSchema.optional(),
2013
1815
  });
2014
1816
 
@@ -2044,7 +1846,7 @@ export const FieldUpdateDocumentFieldsFieldDate$inboundSchema: z.ZodType<
2044
1846
  z.ZodTypeDef,
2045
1847
  unknown
2046
1848
  > = z.object({
2047
- type: FieldUpdateDocumentFieldsTypeDateRequest1$inboundSchema,
1849
+ type: z.literal("DATE"),
2048
1850
  fieldMeta: z.lazy(() =>
2049
1851
  FieldUpdateDocumentFieldsFieldMetaDateRequest$inboundSchema
2050
1852
  ).optional(),
@@ -2057,7 +1859,7 @@ export const FieldUpdateDocumentFieldsFieldDate$inboundSchema: z.ZodType<
2057
1859
  });
2058
1860
  /** @internal */
2059
1861
  export type FieldUpdateDocumentFieldsFieldDate$Outbound = {
2060
- type: string;
1862
+ type: "DATE";
2061
1863
  fieldMeta?:
2062
1864
  | FieldUpdateDocumentFieldsFieldMetaDateRequest$Outbound
2063
1865
  | undefined;
@@ -2075,7 +1877,7 @@ export const FieldUpdateDocumentFieldsFieldDate$outboundSchema: z.ZodType<
2075
1877
  z.ZodTypeDef,
2076
1878
  FieldUpdateDocumentFieldsFieldDate
2077
1879
  > = z.object({
2078
- type: FieldUpdateDocumentFieldsTypeDateRequest1$outboundSchema,
1880
+ type: z.literal("DATE"),
2079
1881
  fieldMeta: z.lazy(() =>
2080
1882
  FieldUpdateDocumentFieldsFieldMetaDateRequest$outboundSchema
2081
1883
  ).optional(),
@@ -2108,22 +1910,14 @@ export function fieldUpdateDocumentFieldsFieldDateFromJSON(
2108
1910
  }
2109
1911
 
2110
1912
  /** @internal */
2111
- export const FieldUpdateDocumentFieldsTypeEmailRequest1$inboundSchema:
2112
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeEmailRequest1> = z
2113
- .nativeEnum(FieldUpdateDocumentFieldsTypeEmailRequest1);
2114
- /** @internal */
2115
- export const FieldUpdateDocumentFieldsTypeEmailRequest1$outboundSchema:
2116
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeEmailRequest1> =
2117
- FieldUpdateDocumentFieldsTypeEmailRequest1$inboundSchema;
2118
-
2119
- /** @internal */
2120
- export const FieldUpdateDocumentFieldsTypeEmailRequest2$inboundSchema:
2121
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeEmailRequest2> = z
2122
- .nativeEnum(FieldUpdateDocumentFieldsTypeEmailRequest2);
1913
+ export const FieldUpdateDocumentFieldsTypeEmailEnum$inboundSchema:
1914
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeEmailEnum> = z.nativeEnum(
1915
+ FieldUpdateDocumentFieldsTypeEmailEnum,
1916
+ );
2123
1917
  /** @internal */
2124
- export const FieldUpdateDocumentFieldsTypeEmailRequest2$outboundSchema:
2125
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeEmailRequest2> =
2126
- FieldUpdateDocumentFieldsTypeEmailRequest2$inboundSchema;
1918
+ export const FieldUpdateDocumentFieldsTypeEmailEnum$outboundSchema:
1919
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeEmailEnum> =
1920
+ FieldUpdateDocumentFieldsTypeEmailEnum$inboundSchema;
2127
1921
 
2128
1922
  /** @internal */
2129
1923
  export const FieldUpdateDocumentFieldsTextAlignEmail$inboundSchema:
@@ -2146,7 +1940,7 @@ export const FieldUpdateDocumentFieldsFieldMetaEmailRequest$inboundSchema:
2146
1940
  required: z.boolean().optional(),
2147
1941
  readOnly: z.boolean().optional(),
2148
1942
  fontSize: z.number().default(12),
2149
- type: FieldUpdateDocumentFieldsTypeEmailRequest2$inboundSchema,
1943
+ type: FieldUpdateDocumentFieldsTypeEmailEnum$inboundSchema,
2150
1944
  textAlign: FieldUpdateDocumentFieldsTextAlignEmail$inboundSchema.optional(),
2151
1945
  });
2152
1946
  /** @internal */
@@ -2172,7 +1966,7 @@ export const FieldUpdateDocumentFieldsFieldMetaEmailRequest$outboundSchema:
2172
1966
  required: z.boolean().optional(),
2173
1967
  readOnly: z.boolean().optional(),
2174
1968
  fontSize: z.number().default(12),
2175
- type: FieldUpdateDocumentFieldsTypeEmailRequest2$outboundSchema,
1969
+ type: FieldUpdateDocumentFieldsTypeEmailEnum$outboundSchema,
2176
1970
  textAlign: FieldUpdateDocumentFieldsTextAlignEmail$outboundSchema
2177
1971
  .optional(),
2178
1972
  });
@@ -2209,7 +2003,7 @@ export const FieldUpdateDocumentFieldsFieldEmail$inboundSchema: z.ZodType<
2209
2003
  z.ZodTypeDef,
2210
2004
  unknown
2211
2005
  > = z.object({
2212
- type: FieldUpdateDocumentFieldsTypeEmailRequest1$inboundSchema,
2006
+ type: z.literal("EMAIL"),
2213
2007
  fieldMeta: z.lazy(() =>
2214
2008
  FieldUpdateDocumentFieldsFieldMetaEmailRequest$inboundSchema
2215
2009
  ).optional(),
@@ -2222,7 +2016,7 @@ export const FieldUpdateDocumentFieldsFieldEmail$inboundSchema: z.ZodType<
2222
2016
  });
2223
2017
  /** @internal */
2224
2018
  export type FieldUpdateDocumentFieldsFieldEmail$Outbound = {
2225
- type: string;
2019
+ type: "EMAIL";
2226
2020
  fieldMeta?:
2227
2021
  | FieldUpdateDocumentFieldsFieldMetaEmailRequest$Outbound
2228
2022
  | undefined;
@@ -2240,7 +2034,7 @@ export const FieldUpdateDocumentFieldsFieldEmail$outboundSchema: z.ZodType<
2240
2034
  z.ZodTypeDef,
2241
2035
  FieldUpdateDocumentFieldsFieldEmail
2242
2036
  > = z.object({
2243
- type: FieldUpdateDocumentFieldsTypeEmailRequest1$outboundSchema,
2037
+ type: z.literal("EMAIL"),
2244
2038
  fieldMeta: z.lazy(() =>
2245
2039
  FieldUpdateDocumentFieldsFieldMetaEmailRequest$outboundSchema
2246
2040
  ).optional(),
@@ -2273,22 +2067,14 @@ export function fieldUpdateDocumentFieldsFieldEmailFromJSON(
2273
2067
  }
2274
2068
 
2275
2069
  /** @internal */
2276
- export const FieldUpdateDocumentFieldsTypeNameRequest1$inboundSchema:
2277
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNameRequest1> = z
2278
- .nativeEnum(FieldUpdateDocumentFieldsTypeNameRequest1);
2279
- /** @internal */
2280
- export const FieldUpdateDocumentFieldsTypeNameRequest1$outboundSchema:
2281
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNameRequest1> =
2282
- FieldUpdateDocumentFieldsTypeNameRequest1$inboundSchema;
2283
-
2284
- /** @internal */
2285
- export const FieldUpdateDocumentFieldsTypeNameRequest2$inboundSchema:
2286
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNameRequest2> = z
2287
- .nativeEnum(FieldUpdateDocumentFieldsTypeNameRequest2);
2070
+ export const FieldUpdateDocumentFieldsTypeNameEnum$inboundSchema:
2071
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNameEnum> = z.nativeEnum(
2072
+ FieldUpdateDocumentFieldsTypeNameEnum,
2073
+ );
2288
2074
  /** @internal */
2289
- export const FieldUpdateDocumentFieldsTypeNameRequest2$outboundSchema:
2290
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNameRequest2> =
2291
- FieldUpdateDocumentFieldsTypeNameRequest2$inboundSchema;
2075
+ export const FieldUpdateDocumentFieldsTypeNameEnum$outboundSchema:
2076
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeNameEnum> =
2077
+ FieldUpdateDocumentFieldsTypeNameEnum$inboundSchema;
2292
2078
 
2293
2079
  /** @internal */
2294
2080
  export const FieldUpdateDocumentFieldsTextAlignName$inboundSchema:
@@ -2312,7 +2098,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNameRequest$inboundSchema:
2312
2098
  required: z.boolean().optional(),
2313
2099
  readOnly: z.boolean().optional(),
2314
2100
  fontSize: z.number().default(12),
2315
- type: FieldUpdateDocumentFieldsTypeNameRequest2$inboundSchema,
2101
+ type: FieldUpdateDocumentFieldsTypeNameEnum$inboundSchema,
2316
2102
  textAlign: FieldUpdateDocumentFieldsTextAlignName$inboundSchema.optional(),
2317
2103
  });
2318
2104
  /** @internal */
@@ -2338,7 +2124,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNameRequest$outboundSchema:
2338
2124
  required: z.boolean().optional(),
2339
2125
  readOnly: z.boolean().optional(),
2340
2126
  fontSize: z.number().default(12),
2341
- type: FieldUpdateDocumentFieldsTypeNameRequest2$outboundSchema,
2127
+ type: FieldUpdateDocumentFieldsTypeNameEnum$outboundSchema,
2342
2128
  textAlign: FieldUpdateDocumentFieldsTextAlignName$outboundSchema.optional(),
2343
2129
  });
2344
2130
 
@@ -2374,7 +2160,7 @@ export const FieldUpdateDocumentFieldsFieldName$inboundSchema: z.ZodType<
2374
2160
  z.ZodTypeDef,
2375
2161
  unknown
2376
2162
  > = z.object({
2377
- type: FieldUpdateDocumentFieldsTypeNameRequest1$inboundSchema,
2163
+ type: z.literal("NAME"),
2378
2164
  fieldMeta: z.lazy(() =>
2379
2165
  FieldUpdateDocumentFieldsFieldMetaNameRequest$inboundSchema
2380
2166
  ).optional(),
@@ -2387,7 +2173,7 @@ export const FieldUpdateDocumentFieldsFieldName$inboundSchema: z.ZodType<
2387
2173
  });
2388
2174
  /** @internal */
2389
2175
  export type FieldUpdateDocumentFieldsFieldName$Outbound = {
2390
- type: string;
2176
+ type: "NAME";
2391
2177
  fieldMeta?:
2392
2178
  | FieldUpdateDocumentFieldsFieldMetaNameRequest$Outbound
2393
2179
  | undefined;
@@ -2405,7 +2191,7 @@ export const FieldUpdateDocumentFieldsFieldName$outboundSchema: z.ZodType<
2405
2191
  z.ZodTypeDef,
2406
2192
  FieldUpdateDocumentFieldsFieldName
2407
2193
  > = z.object({
2408
- type: FieldUpdateDocumentFieldsTypeNameRequest1$outboundSchema,
2194
+ type: z.literal("NAME"),
2409
2195
  fieldMeta: z.lazy(() =>
2410
2196
  FieldUpdateDocumentFieldsFieldMetaNameRequest$outboundSchema
2411
2197
  ).optional(),
@@ -2438,22 +2224,13 @@ export function fieldUpdateDocumentFieldsFieldNameFromJSON(
2438
2224
  }
2439
2225
 
2440
2226
  /** @internal */
2441
- export const FieldUpdateDocumentFieldsTypeInitialsRequest1$inboundSchema:
2442
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeInitialsRequest1> = z
2443
- .nativeEnum(FieldUpdateDocumentFieldsTypeInitialsRequest1);
2444
- /** @internal */
2445
- export const FieldUpdateDocumentFieldsTypeInitialsRequest1$outboundSchema:
2446
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeInitialsRequest1> =
2447
- FieldUpdateDocumentFieldsTypeInitialsRequest1$inboundSchema;
2448
-
2449
- /** @internal */
2450
- export const FieldUpdateDocumentFieldsTypeInitialsRequest2$inboundSchema:
2451
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeInitialsRequest2> = z
2452
- .nativeEnum(FieldUpdateDocumentFieldsTypeInitialsRequest2);
2227
+ export const FieldUpdateDocumentFieldsTypeInitialsEnum$inboundSchema:
2228
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeInitialsEnum> = z
2229
+ .nativeEnum(FieldUpdateDocumentFieldsTypeInitialsEnum);
2453
2230
  /** @internal */
2454
- export const FieldUpdateDocumentFieldsTypeInitialsRequest2$outboundSchema:
2455
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeInitialsRequest2> =
2456
- FieldUpdateDocumentFieldsTypeInitialsRequest2$inboundSchema;
2231
+ export const FieldUpdateDocumentFieldsTypeInitialsEnum$outboundSchema:
2232
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeInitialsEnum> =
2233
+ FieldUpdateDocumentFieldsTypeInitialsEnum$inboundSchema;
2457
2234
 
2458
2235
  /** @internal */
2459
2236
  export const FieldUpdateDocumentFieldsTextAlignInitials$inboundSchema:
@@ -2476,7 +2253,7 @@ export const FieldUpdateDocumentFieldsFieldMetaInitialsRequest$inboundSchema:
2476
2253
  required: z.boolean().optional(),
2477
2254
  readOnly: z.boolean().optional(),
2478
2255
  fontSize: z.number().default(12),
2479
- type: FieldUpdateDocumentFieldsTypeInitialsRequest2$inboundSchema,
2256
+ type: FieldUpdateDocumentFieldsTypeInitialsEnum$inboundSchema,
2480
2257
  textAlign: FieldUpdateDocumentFieldsTextAlignInitials$inboundSchema
2481
2258
  .optional(),
2482
2259
  });
@@ -2503,7 +2280,7 @@ export const FieldUpdateDocumentFieldsFieldMetaInitialsRequest$outboundSchema:
2503
2280
  required: z.boolean().optional(),
2504
2281
  readOnly: z.boolean().optional(),
2505
2282
  fontSize: z.number().default(12),
2506
- type: FieldUpdateDocumentFieldsTypeInitialsRequest2$outboundSchema,
2283
+ type: FieldUpdateDocumentFieldsTypeInitialsEnum$outboundSchema,
2507
2284
  textAlign: FieldUpdateDocumentFieldsTextAlignInitials$outboundSchema
2508
2285
  .optional(),
2509
2286
  });
@@ -2540,7 +2317,7 @@ export const FieldUpdateDocumentFieldsFieldInitials$inboundSchema: z.ZodType<
2540
2317
  z.ZodTypeDef,
2541
2318
  unknown
2542
2319
  > = z.object({
2543
- type: FieldUpdateDocumentFieldsTypeInitialsRequest1$inboundSchema,
2320
+ type: z.literal("INITIALS"),
2544
2321
  fieldMeta: z.lazy(() =>
2545
2322
  FieldUpdateDocumentFieldsFieldMetaInitialsRequest$inboundSchema
2546
2323
  ).optional(),
@@ -2553,7 +2330,7 @@ export const FieldUpdateDocumentFieldsFieldInitials$inboundSchema: z.ZodType<
2553
2330
  });
2554
2331
  /** @internal */
2555
2332
  export type FieldUpdateDocumentFieldsFieldInitials$Outbound = {
2556
- type: string;
2333
+ type: "INITIALS";
2557
2334
  fieldMeta?:
2558
2335
  | FieldUpdateDocumentFieldsFieldMetaInitialsRequest$Outbound
2559
2336
  | undefined;
@@ -2571,7 +2348,7 @@ export const FieldUpdateDocumentFieldsFieldInitials$outboundSchema: z.ZodType<
2571
2348
  z.ZodTypeDef,
2572
2349
  FieldUpdateDocumentFieldsFieldInitials
2573
2350
  > = z.object({
2574
- type: FieldUpdateDocumentFieldsTypeInitialsRequest1$outboundSchema,
2351
+ type: z.literal("INITIALS"),
2575
2352
  fieldMeta: z.lazy(() =>
2576
2353
  FieldUpdateDocumentFieldsFieldMetaInitialsRequest$outboundSchema
2577
2354
  ).optional(),
@@ -2604,15 +2381,6 @@ export function fieldUpdateDocumentFieldsFieldInitialsFromJSON(
2604
2381
  );
2605
2382
  }
2606
2383
 
2607
- /** @internal */
2608
- export const FieldUpdateDocumentFieldsTypeFreeSignature$inboundSchema:
2609
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeFreeSignature> = z
2610
- .nativeEnum(FieldUpdateDocumentFieldsTypeFreeSignature);
2611
- /** @internal */
2612
- export const FieldUpdateDocumentFieldsTypeFreeSignature$outboundSchema:
2613
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeFreeSignature> =
2614
- FieldUpdateDocumentFieldsTypeFreeSignature$inboundSchema;
2615
-
2616
2384
  /** @internal */
2617
2385
  export const FieldUpdateDocumentFieldsFieldFreeSignature$inboundSchema:
2618
2386
  z.ZodType<
@@ -2620,7 +2388,7 @@ export const FieldUpdateDocumentFieldsFieldFreeSignature$inboundSchema:
2620
2388
  z.ZodTypeDef,
2621
2389
  unknown
2622
2390
  > = z.object({
2623
- type: FieldUpdateDocumentFieldsTypeFreeSignature$inboundSchema,
2391
+ type: z.literal("FREE_SIGNATURE"),
2624
2392
  id: z.number(),
2625
2393
  pageNumber: z.number().optional(),
2626
2394
  pageX: z.number().optional(),
@@ -2630,7 +2398,7 @@ export const FieldUpdateDocumentFieldsFieldFreeSignature$inboundSchema:
2630
2398
  });
2631
2399
  /** @internal */
2632
2400
  export type FieldUpdateDocumentFieldsFieldFreeSignature$Outbound = {
2633
- type: string;
2401
+ type: "FREE_SIGNATURE";
2634
2402
  id: number;
2635
2403
  pageNumber?: number | undefined;
2636
2404
  pageX?: number | undefined;
@@ -2646,7 +2414,7 @@ export const FieldUpdateDocumentFieldsFieldFreeSignature$outboundSchema:
2646
2414
  z.ZodTypeDef,
2647
2415
  FieldUpdateDocumentFieldsFieldFreeSignature
2648
2416
  > = z.object({
2649
- type: FieldUpdateDocumentFieldsTypeFreeSignature$outboundSchema,
2417
+ type: z.literal("FREE_SIGNATURE"),
2650
2418
  id: z.number(),
2651
2419
  pageNumber: z.number().optional(),
2652
2420
  pageX: z.number().optional(),
@@ -2682,22 +2450,13 @@ export function fieldUpdateDocumentFieldsFieldFreeSignatureFromJSON(
2682
2450
  }
2683
2451
 
2684
2452
  /** @internal */
2685
- export const FieldUpdateDocumentFieldsTypeSignatureRequest1$inboundSchema:
2686
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeSignatureRequest1> = z
2687
- .nativeEnum(FieldUpdateDocumentFieldsTypeSignatureRequest1);
2453
+ export const FieldUpdateDocumentFieldsTypeSignatureEnum$inboundSchema:
2454
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeSignatureEnum> = z
2455
+ .nativeEnum(FieldUpdateDocumentFieldsTypeSignatureEnum);
2688
2456
  /** @internal */
2689
- export const FieldUpdateDocumentFieldsTypeSignatureRequest1$outboundSchema:
2690
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeSignatureRequest1> =
2691
- FieldUpdateDocumentFieldsTypeSignatureRequest1$inboundSchema;
2692
-
2693
- /** @internal */
2694
- export const FieldUpdateDocumentFieldsTypeSignatureRequest2$inboundSchema:
2695
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeSignatureRequest2> = z
2696
- .nativeEnum(FieldUpdateDocumentFieldsTypeSignatureRequest2);
2697
- /** @internal */
2698
- export const FieldUpdateDocumentFieldsTypeSignatureRequest2$outboundSchema:
2699
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeSignatureRequest2> =
2700
- FieldUpdateDocumentFieldsTypeSignatureRequest2$inboundSchema;
2457
+ export const FieldUpdateDocumentFieldsTypeSignatureEnum$outboundSchema:
2458
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeSignatureEnum> =
2459
+ FieldUpdateDocumentFieldsTypeSignatureEnum$inboundSchema;
2701
2460
 
2702
2461
  /** @internal */
2703
2462
  export const FieldUpdateDocumentFieldsFieldMetaSignatureRequest$inboundSchema:
@@ -2711,7 +2470,7 @@ export const FieldUpdateDocumentFieldsFieldMetaSignatureRequest$inboundSchema:
2711
2470
  required: z.boolean().optional(),
2712
2471
  readOnly: z.boolean().optional(),
2713
2472
  fontSize: z.number().default(12),
2714
- type: FieldUpdateDocumentFieldsTypeSignatureRequest2$inboundSchema,
2473
+ type: FieldUpdateDocumentFieldsTypeSignatureEnum$inboundSchema,
2715
2474
  });
2716
2475
  /** @internal */
2717
2476
  export type FieldUpdateDocumentFieldsFieldMetaSignatureRequest$Outbound = {
@@ -2735,7 +2494,7 @@ export const FieldUpdateDocumentFieldsFieldMetaSignatureRequest$outboundSchema:
2735
2494
  required: z.boolean().optional(),
2736
2495
  readOnly: z.boolean().optional(),
2737
2496
  fontSize: z.number().default(12),
2738
- type: FieldUpdateDocumentFieldsTypeSignatureRequest2$outboundSchema,
2497
+ type: FieldUpdateDocumentFieldsTypeSignatureEnum$outboundSchema,
2739
2498
  });
2740
2499
 
2741
2500
  export function fieldUpdateDocumentFieldsFieldMetaSignatureRequestToJSON(
@@ -2770,7 +2529,7 @@ export const FieldUpdateDocumentFieldsFieldSignature$inboundSchema: z.ZodType<
2770
2529
  z.ZodTypeDef,
2771
2530
  unknown
2772
2531
  > = z.object({
2773
- type: FieldUpdateDocumentFieldsTypeSignatureRequest1$inboundSchema,
2532
+ type: z.literal("SIGNATURE"),
2774
2533
  fieldMeta: z.lazy(() =>
2775
2534
  FieldUpdateDocumentFieldsFieldMetaSignatureRequest$inboundSchema
2776
2535
  ).optional(),
@@ -2783,7 +2542,7 @@ export const FieldUpdateDocumentFieldsFieldSignature$inboundSchema: z.ZodType<
2783
2542
  });
2784
2543
  /** @internal */
2785
2544
  export type FieldUpdateDocumentFieldsFieldSignature$Outbound = {
2786
- type: string;
2545
+ type: "SIGNATURE";
2787
2546
  fieldMeta?:
2788
2547
  | FieldUpdateDocumentFieldsFieldMetaSignatureRequest$Outbound
2789
2548
  | undefined;
@@ -2801,7 +2560,7 @@ export const FieldUpdateDocumentFieldsFieldSignature$outboundSchema: z.ZodType<
2801
2560
  z.ZodTypeDef,
2802
2561
  FieldUpdateDocumentFieldsFieldSignature
2803
2562
  > = z.object({
2804
- type: FieldUpdateDocumentFieldsTypeSignatureRequest1$outboundSchema,
2563
+ type: z.literal("SIGNATURE"),
2805
2564
  fieldMeta: z.lazy(() =>
2806
2565
  FieldUpdateDocumentFieldsFieldMetaSignatureRequest$outboundSchema
2807
2566
  ).optional(),
@@ -2995,23 +2754,13 @@ export function fieldUpdateDocumentFieldsRequestFromJSON(
2995
2754
  }
2996
2755
 
2997
2756
  /** @internal */
2998
- export const FieldUpdateDocumentFieldsTypeResponse$inboundSchema:
2999
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeResponse> = z.nativeEnum(
3000
- FieldUpdateDocumentFieldsTypeResponse,
3001
- );
3002
- /** @internal */
3003
- export const FieldUpdateDocumentFieldsTypeResponse$outboundSchema:
3004
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeResponse> =
3005
- FieldUpdateDocumentFieldsTypeResponse$inboundSchema;
3006
-
3007
- /** @internal */
3008
- export const FieldUpdateDocumentFieldsFieldMetaTypeDropdown$inboundSchema:
3009
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeDropdown> = z
3010
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeDropdown);
2757
+ export const FieldUpdateDocumentFieldsTypeResponseEnum$inboundSchema:
2758
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeResponseEnum> = z
2759
+ .nativeEnum(FieldUpdateDocumentFieldsTypeResponseEnum);
3011
2760
  /** @internal */
3012
- export const FieldUpdateDocumentFieldsFieldMetaTypeDropdown$outboundSchema:
3013
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeDropdown> =
3014
- FieldUpdateDocumentFieldsFieldMetaTypeDropdown$inboundSchema;
2761
+ export const FieldUpdateDocumentFieldsTypeResponseEnum$outboundSchema:
2762
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTypeResponseEnum> =
2763
+ FieldUpdateDocumentFieldsTypeResponseEnum$inboundSchema;
3015
2764
 
3016
2765
  /** @internal */
3017
2766
  export const FieldUpdateDocumentFieldsValueResponse3$inboundSchema: z.ZodType<
@@ -3073,7 +2822,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDropdownResponse$inboundSchema:
3073
2822
  required: z.boolean().optional(),
3074
2823
  readOnly: z.boolean().optional(),
3075
2824
  fontSize: z.number().default(12),
3076
- type: FieldUpdateDocumentFieldsFieldMetaTypeDropdown$inboundSchema,
2825
+ type: z.literal("dropdown"),
3077
2826
  values: z.array(
3078
2827
  z.lazy(() => FieldUpdateDocumentFieldsValueResponse3$inboundSchema),
3079
2828
  ).optional(),
@@ -3086,7 +2835,7 @@ export type FieldUpdateDocumentFieldsFieldMetaDropdownResponse$Outbound = {
3086
2835
  required?: boolean | undefined;
3087
2836
  readOnly?: boolean | undefined;
3088
2837
  fontSize: number;
3089
- type: string;
2838
+ type: "dropdown";
3090
2839
  values?: Array<FieldUpdateDocumentFieldsValueResponse3$Outbound> | undefined;
3091
2840
  defaultValue?: string | undefined;
3092
2841
  };
@@ -3103,7 +2852,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDropdownResponse$outboundSchema:
3103
2852
  required: z.boolean().optional(),
3104
2853
  readOnly: z.boolean().optional(),
3105
2854
  fontSize: z.number().default(12),
3106
- type: FieldUpdateDocumentFieldsFieldMetaTypeDropdown$outboundSchema,
2855
+ type: z.literal("dropdown"),
3107
2856
  values: z.array(
3108
2857
  z.lazy(() => FieldUpdateDocumentFieldsValueResponse3$outboundSchema),
3109
2858
  ).optional(),
@@ -3136,15 +2885,6 @@ export function fieldUpdateDocumentFieldsFieldMetaDropdownResponseFromJSON(
3136
2885
  );
3137
2886
  }
3138
2887
 
3139
- /** @internal */
3140
- export const FieldUpdateDocumentFieldsFieldMetaTypeCheckbox$inboundSchema:
3141
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeCheckbox> = z
3142
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeCheckbox);
3143
- /** @internal */
3144
- export const FieldUpdateDocumentFieldsFieldMetaTypeCheckbox$outboundSchema:
3145
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeCheckbox> =
3146
- FieldUpdateDocumentFieldsFieldMetaTypeCheckbox$inboundSchema;
3147
-
3148
2888
  /** @internal */
3149
2889
  export const FieldUpdateDocumentFieldsValueResponse2$inboundSchema: z.ZodType<
3150
2890
  FieldUpdateDocumentFieldsValueResponse2,
@@ -3220,7 +2960,7 @@ export const FieldUpdateDocumentFieldsFieldMetaCheckboxResponse$inboundSchema:
3220
2960
  required: z.boolean().optional(),
3221
2961
  readOnly: z.boolean().optional(),
3222
2962
  fontSize: z.number().default(12),
3223
- type: FieldUpdateDocumentFieldsFieldMetaTypeCheckbox$inboundSchema,
2963
+ type: z.literal("checkbox"),
3224
2964
  values: z.array(
3225
2965
  z.lazy(() => FieldUpdateDocumentFieldsValueResponse2$inboundSchema),
3226
2966
  ).optional(),
@@ -3236,7 +2976,7 @@ export type FieldUpdateDocumentFieldsFieldMetaCheckboxResponse$Outbound = {
3236
2976
  required?: boolean | undefined;
3237
2977
  readOnly?: boolean | undefined;
3238
2978
  fontSize: number;
3239
- type: string;
2979
+ type: "checkbox";
3240
2980
  values?: Array<FieldUpdateDocumentFieldsValueResponse2$Outbound> | undefined;
3241
2981
  validationRule?: string | undefined;
3242
2982
  validationLength?: number | undefined;
@@ -3255,7 +2995,7 @@ export const FieldUpdateDocumentFieldsFieldMetaCheckboxResponse$outboundSchema:
3255
2995
  required: z.boolean().optional(),
3256
2996
  readOnly: z.boolean().optional(),
3257
2997
  fontSize: z.number().default(12),
3258
- type: FieldUpdateDocumentFieldsFieldMetaTypeCheckbox$outboundSchema,
2998
+ type: z.literal("checkbox"),
3259
2999
  values: z.array(
3260
3000
  z.lazy(() => FieldUpdateDocumentFieldsValueResponse2$outboundSchema),
3261
3001
  ).optional(),
@@ -3291,15 +3031,6 @@ export function fieldUpdateDocumentFieldsFieldMetaCheckboxResponseFromJSON(
3291
3031
  );
3292
3032
  }
3293
3033
 
3294
- /** @internal */
3295
- export const FieldUpdateDocumentFieldsFieldMetaTypeRadio$inboundSchema:
3296
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeRadio> = z
3297
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeRadio);
3298
- /** @internal */
3299
- export const FieldUpdateDocumentFieldsFieldMetaTypeRadio$outboundSchema:
3300
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeRadio> =
3301
- FieldUpdateDocumentFieldsFieldMetaTypeRadio$inboundSchema;
3302
-
3303
3034
  /** @internal */
3304
3035
  export const FieldUpdateDocumentFieldsValueResponse1$inboundSchema: z.ZodType<
3305
3036
  FieldUpdateDocumentFieldsValueResponse1,
@@ -3375,7 +3106,7 @@ export const FieldUpdateDocumentFieldsFieldMetaRadioResponse$inboundSchema:
3375
3106
  required: z.boolean().optional(),
3376
3107
  readOnly: z.boolean().optional(),
3377
3108
  fontSize: z.number().default(12),
3378
- type: FieldUpdateDocumentFieldsFieldMetaTypeRadio$inboundSchema,
3109
+ type: z.literal("radio"),
3379
3110
  values: z.array(
3380
3111
  z.lazy(() => FieldUpdateDocumentFieldsValueResponse1$inboundSchema),
3381
3112
  ).optional(),
@@ -3389,7 +3120,7 @@ export type FieldUpdateDocumentFieldsFieldMetaRadioResponse$Outbound = {
3389
3120
  required?: boolean | undefined;
3390
3121
  readOnly?: boolean | undefined;
3391
3122
  fontSize: number;
3392
- type: string;
3123
+ type: "radio";
3393
3124
  values?: Array<FieldUpdateDocumentFieldsValueResponse1$Outbound> | undefined;
3394
3125
  direction: string;
3395
3126
  };
@@ -3406,7 +3137,7 @@ export const FieldUpdateDocumentFieldsFieldMetaRadioResponse$outboundSchema:
3406
3137
  required: z.boolean().optional(),
3407
3138
  readOnly: z.boolean().optional(),
3408
3139
  fontSize: z.number().default(12),
3409
- type: FieldUpdateDocumentFieldsFieldMetaTypeRadio$outboundSchema,
3140
+ type: z.literal("radio"),
3410
3141
  values: z.array(
3411
3142
  z.lazy(() => FieldUpdateDocumentFieldsValueResponse1$outboundSchema),
3412
3143
  ).optional(),
@@ -3440,15 +3171,6 @@ export function fieldUpdateDocumentFieldsFieldMetaRadioResponseFromJSON(
3440
3171
  );
3441
3172
  }
3442
3173
 
3443
- /** @internal */
3444
- export const FieldUpdateDocumentFieldsFieldMetaTypeNumber$inboundSchema:
3445
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeNumber> = z
3446
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeNumber);
3447
- /** @internal */
3448
- export const FieldUpdateDocumentFieldsFieldMetaTypeNumber$outboundSchema:
3449
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeNumber> =
3450
- FieldUpdateDocumentFieldsFieldMetaTypeNumber$inboundSchema;
3451
-
3452
3174
  /** @internal */
3453
3175
  export const FieldUpdateDocumentFieldsTextAlignResponse6$inboundSchema:
3454
3176
  z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTextAlignResponse6> = z
@@ -3479,7 +3201,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNumberResponse$inboundSchema:
3479
3201
  required: z.boolean().optional(),
3480
3202
  readOnly: z.boolean().optional(),
3481
3203
  fontSize: z.number().default(12),
3482
- type: FieldUpdateDocumentFieldsFieldMetaTypeNumber$inboundSchema,
3204
+ type: z.literal("number"),
3483
3205
  numberFormat: z.nullable(z.string()).optional(),
3484
3206
  value: z.string().optional(),
3485
3207
  minValue: z.nullable(z.number()).optional(),
@@ -3499,7 +3221,7 @@ export type FieldUpdateDocumentFieldsFieldMetaNumberResponse$Outbound = {
3499
3221
  required?: boolean | undefined;
3500
3222
  readOnly?: boolean | undefined;
3501
3223
  fontSize: number;
3502
- type: string;
3224
+ type: "number";
3503
3225
  numberFormat?: string | null | undefined;
3504
3226
  value?: string | undefined;
3505
3227
  minValue?: number | null | undefined;
@@ -3522,7 +3244,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNumberResponse$outboundSchema:
3522
3244
  required: z.boolean().optional(),
3523
3245
  readOnly: z.boolean().optional(),
3524
3246
  fontSize: z.number().default(12),
3525
- type: FieldUpdateDocumentFieldsFieldMetaTypeNumber$outboundSchema,
3247
+ type: z.literal("number"),
3526
3248
  numberFormat: z.nullable(z.string()).optional(),
3527
3249
  value: z.string().optional(),
3528
3250
  minValue: z.nullable(z.number()).optional(),
@@ -3562,15 +3284,6 @@ export function fieldUpdateDocumentFieldsFieldMetaNumberResponseFromJSON(
3562
3284
  );
3563
3285
  }
3564
3286
 
3565
- /** @internal */
3566
- export const FieldUpdateDocumentFieldsFieldMetaTypeText$inboundSchema:
3567
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeText> = z
3568
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeText);
3569
- /** @internal */
3570
- export const FieldUpdateDocumentFieldsFieldMetaTypeText$outboundSchema:
3571
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeText> =
3572
- FieldUpdateDocumentFieldsFieldMetaTypeText$inboundSchema;
3573
-
3574
3287
  /** @internal */
3575
3288
  export const FieldUpdateDocumentFieldsTextAlignResponse5$inboundSchema:
3576
3289
  z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTextAlignResponse5> = z
@@ -3601,7 +3314,7 @@ export const FieldUpdateDocumentFieldsFieldMetaTextResponse$inboundSchema:
3601
3314
  required: z.boolean().optional(),
3602
3315
  readOnly: z.boolean().optional(),
3603
3316
  fontSize: z.number().default(12),
3604
- type: FieldUpdateDocumentFieldsFieldMetaTypeText$inboundSchema,
3317
+ type: z.literal("text"),
3605
3318
  text: z.string().optional(),
3606
3319
  characterLimit: z.number().optional(),
3607
3320
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse5$inboundSchema
@@ -3619,7 +3332,7 @@ export type FieldUpdateDocumentFieldsFieldMetaTextResponse$Outbound = {
3619
3332
  required?: boolean | undefined;
3620
3333
  readOnly?: boolean | undefined;
3621
3334
  fontSize: number;
3622
- type: string;
3335
+ type: "text";
3623
3336
  text?: string | undefined;
3624
3337
  characterLimit?: number | undefined;
3625
3338
  textAlign?: string | undefined;
@@ -3640,7 +3353,7 @@ export const FieldUpdateDocumentFieldsFieldMetaTextResponse$outboundSchema:
3640
3353
  required: z.boolean().optional(),
3641
3354
  readOnly: z.boolean().optional(),
3642
3355
  fontSize: z.number().default(12),
3643
- type: FieldUpdateDocumentFieldsFieldMetaTypeText$outboundSchema,
3356
+ type: z.literal("text"),
3644
3357
  text: z.string().optional(),
3645
3358
  characterLimit: z.number().optional(),
3646
3359
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse5$outboundSchema
@@ -3678,15 +3391,6 @@ export function fieldUpdateDocumentFieldsFieldMetaTextResponseFromJSON(
3678
3391
  );
3679
3392
  }
3680
3393
 
3681
- /** @internal */
3682
- export const FieldUpdateDocumentFieldsFieldMetaTypeDate$inboundSchema:
3683
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeDate> = z
3684
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeDate);
3685
- /** @internal */
3686
- export const FieldUpdateDocumentFieldsFieldMetaTypeDate$outboundSchema:
3687
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeDate> =
3688
- FieldUpdateDocumentFieldsFieldMetaTypeDate$inboundSchema;
3689
-
3690
3394
  /** @internal */
3691
3395
  export const FieldUpdateDocumentFieldsTextAlignResponse4$inboundSchema:
3692
3396
  z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTextAlignResponse4> = z
@@ -3708,7 +3412,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDateResponse$inboundSchema:
3708
3412
  required: z.boolean().optional(),
3709
3413
  readOnly: z.boolean().optional(),
3710
3414
  fontSize: z.number().default(12),
3711
- type: FieldUpdateDocumentFieldsFieldMetaTypeDate$inboundSchema,
3415
+ type: z.literal("date"),
3712
3416
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse4$inboundSchema
3713
3417
  .optional(),
3714
3418
  });
@@ -3719,7 +3423,7 @@ export type FieldUpdateDocumentFieldsFieldMetaDateResponse$Outbound = {
3719
3423
  required?: boolean | undefined;
3720
3424
  readOnly?: boolean | undefined;
3721
3425
  fontSize: number;
3722
- type: string;
3426
+ type: "date";
3723
3427
  textAlign?: string | undefined;
3724
3428
  };
3725
3429
 
@@ -3735,7 +3439,7 @@ export const FieldUpdateDocumentFieldsFieldMetaDateResponse$outboundSchema:
3735
3439
  required: z.boolean().optional(),
3736
3440
  readOnly: z.boolean().optional(),
3737
3441
  fontSize: z.number().default(12),
3738
- type: FieldUpdateDocumentFieldsFieldMetaTypeDate$outboundSchema,
3442
+ type: z.literal("date"),
3739
3443
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse4$outboundSchema
3740
3444
  .optional(),
3741
3445
  });
@@ -3766,15 +3470,6 @@ export function fieldUpdateDocumentFieldsFieldMetaDateResponseFromJSON(
3766
3470
  );
3767
3471
  }
3768
3472
 
3769
- /** @internal */
3770
- export const FieldUpdateDocumentFieldsFieldMetaTypeEmail$inboundSchema:
3771
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeEmail> = z
3772
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeEmail);
3773
- /** @internal */
3774
- export const FieldUpdateDocumentFieldsFieldMetaTypeEmail$outboundSchema:
3775
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeEmail> =
3776
- FieldUpdateDocumentFieldsFieldMetaTypeEmail$inboundSchema;
3777
-
3778
3473
  /** @internal */
3779
3474
  export const FieldUpdateDocumentFieldsTextAlignResponse3$inboundSchema:
3780
3475
  z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTextAlignResponse3> = z
@@ -3796,7 +3491,7 @@ export const FieldUpdateDocumentFieldsFieldMetaEmailResponse$inboundSchema:
3796
3491
  required: z.boolean().optional(),
3797
3492
  readOnly: z.boolean().optional(),
3798
3493
  fontSize: z.number().default(12),
3799
- type: FieldUpdateDocumentFieldsFieldMetaTypeEmail$inboundSchema,
3494
+ type: z.literal("email"),
3800
3495
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse3$inboundSchema
3801
3496
  .optional(),
3802
3497
  });
@@ -3807,7 +3502,7 @@ export type FieldUpdateDocumentFieldsFieldMetaEmailResponse$Outbound = {
3807
3502
  required?: boolean | undefined;
3808
3503
  readOnly?: boolean | undefined;
3809
3504
  fontSize: number;
3810
- type: string;
3505
+ type: "email";
3811
3506
  textAlign?: string | undefined;
3812
3507
  };
3813
3508
 
@@ -3823,7 +3518,7 @@ export const FieldUpdateDocumentFieldsFieldMetaEmailResponse$outboundSchema:
3823
3518
  required: z.boolean().optional(),
3824
3519
  readOnly: z.boolean().optional(),
3825
3520
  fontSize: z.number().default(12),
3826
- type: FieldUpdateDocumentFieldsFieldMetaTypeEmail$outboundSchema,
3521
+ type: z.literal("email"),
3827
3522
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse3$outboundSchema
3828
3523
  .optional(),
3829
3524
  });
@@ -3854,15 +3549,6 @@ export function fieldUpdateDocumentFieldsFieldMetaEmailResponseFromJSON(
3854
3549
  );
3855
3550
  }
3856
3551
 
3857
- /** @internal */
3858
- export const FieldUpdateDocumentFieldsFieldMetaTypeName$inboundSchema:
3859
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeName> = z
3860
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeName);
3861
- /** @internal */
3862
- export const FieldUpdateDocumentFieldsFieldMetaTypeName$outboundSchema:
3863
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeName> =
3864
- FieldUpdateDocumentFieldsFieldMetaTypeName$inboundSchema;
3865
-
3866
3552
  /** @internal */
3867
3553
  export const FieldUpdateDocumentFieldsTextAlignResponse2$inboundSchema:
3868
3554
  z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTextAlignResponse2> = z
@@ -3884,7 +3570,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNameResponse$inboundSchema:
3884
3570
  required: z.boolean().optional(),
3885
3571
  readOnly: z.boolean().optional(),
3886
3572
  fontSize: z.number().default(12),
3887
- type: FieldUpdateDocumentFieldsFieldMetaTypeName$inboundSchema,
3573
+ type: z.literal("name"),
3888
3574
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse2$inboundSchema
3889
3575
  .optional(),
3890
3576
  });
@@ -3895,7 +3581,7 @@ export type FieldUpdateDocumentFieldsFieldMetaNameResponse$Outbound = {
3895
3581
  required?: boolean | undefined;
3896
3582
  readOnly?: boolean | undefined;
3897
3583
  fontSize: number;
3898
- type: string;
3584
+ type: "name";
3899
3585
  textAlign?: string | undefined;
3900
3586
  };
3901
3587
 
@@ -3911,7 +3597,7 @@ export const FieldUpdateDocumentFieldsFieldMetaNameResponse$outboundSchema:
3911
3597
  required: z.boolean().optional(),
3912
3598
  readOnly: z.boolean().optional(),
3913
3599
  fontSize: z.number().default(12),
3914
- type: FieldUpdateDocumentFieldsFieldMetaTypeName$outboundSchema,
3600
+ type: z.literal("name"),
3915
3601
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse2$outboundSchema
3916
3602
  .optional(),
3917
3603
  });
@@ -3942,15 +3628,6 @@ export function fieldUpdateDocumentFieldsFieldMetaNameResponseFromJSON(
3942
3628
  );
3943
3629
  }
3944
3630
 
3945
- /** @internal */
3946
- export const FieldUpdateDocumentFieldsFieldMetaTypeInitials$inboundSchema:
3947
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeInitials> = z
3948
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeInitials);
3949
- /** @internal */
3950
- export const FieldUpdateDocumentFieldsFieldMetaTypeInitials$outboundSchema:
3951
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeInitials> =
3952
- FieldUpdateDocumentFieldsFieldMetaTypeInitials$inboundSchema;
3953
-
3954
3631
  /** @internal */
3955
3632
  export const FieldUpdateDocumentFieldsTextAlignResponse1$inboundSchema:
3956
3633
  z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsTextAlignResponse1> = z
@@ -3972,7 +3649,7 @@ export const FieldUpdateDocumentFieldsFieldMetaInitialsResponse$inboundSchema:
3972
3649
  required: z.boolean().optional(),
3973
3650
  readOnly: z.boolean().optional(),
3974
3651
  fontSize: z.number().default(12),
3975
- type: FieldUpdateDocumentFieldsFieldMetaTypeInitials$inboundSchema,
3652
+ type: z.literal("initials"),
3976
3653
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse1$inboundSchema
3977
3654
  .optional(),
3978
3655
  });
@@ -3983,7 +3660,7 @@ export type FieldUpdateDocumentFieldsFieldMetaInitialsResponse$Outbound = {
3983
3660
  required?: boolean | undefined;
3984
3661
  readOnly?: boolean | undefined;
3985
3662
  fontSize: number;
3986
- type: string;
3663
+ type: "initials";
3987
3664
  textAlign?: string | undefined;
3988
3665
  };
3989
3666
 
@@ -3999,7 +3676,7 @@ export const FieldUpdateDocumentFieldsFieldMetaInitialsResponse$outboundSchema:
3999
3676
  required: z.boolean().optional(),
4000
3677
  readOnly: z.boolean().optional(),
4001
3678
  fontSize: z.number().default(12),
4002
- type: FieldUpdateDocumentFieldsFieldMetaTypeInitials$outboundSchema,
3679
+ type: z.literal("initials"),
4003
3680
  textAlign: FieldUpdateDocumentFieldsTextAlignResponse1$outboundSchema
4004
3681
  .optional(),
4005
3682
  });
@@ -4030,15 +3707,6 @@ export function fieldUpdateDocumentFieldsFieldMetaInitialsResponseFromJSON(
4030
3707
  );
4031
3708
  }
4032
3709
 
4033
- /** @internal */
4034
- export const FieldUpdateDocumentFieldsFieldMetaTypeSignature$inboundSchema:
4035
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeSignature> = z
4036
- .nativeEnum(FieldUpdateDocumentFieldsFieldMetaTypeSignature);
4037
- /** @internal */
4038
- export const FieldUpdateDocumentFieldsFieldMetaTypeSignature$outboundSchema:
4039
- z.ZodNativeEnum<typeof FieldUpdateDocumentFieldsFieldMetaTypeSignature> =
4040
- FieldUpdateDocumentFieldsFieldMetaTypeSignature$inboundSchema;
4041
-
4042
3710
  /** @internal */
4043
3711
  export const FieldUpdateDocumentFieldsFieldMetaSignatureResponse$inboundSchema:
4044
3712
  z.ZodType<
@@ -4051,7 +3719,7 @@ export const FieldUpdateDocumentFieldsFieldMetaSignatureResponse$inboundSchema:
4051
3719
  required: z.boolean().optional(),
4052
3720
  readOnly: z.boolean().optional(),
4053
3721
  fontSize: z.number().default(12),
4054
- type: FieldUpdateDocumentFieldsFieldMetaTypeSignature$inboundSchema,
3722
+ type: z.literal("signature"),
4055
3723
  });
4056
3724
  /** @internal */
4057
3725
  export type FieldUpdateDocumentFieldsFieldMetaSignatureResponse$Outbound = {
@@ -4060,7 +3728,7 @@ export type FieldUpdateDocumentFieldsFieldMetaSignatureResponse$Outbound = {
4060
3728
  required?: boolean | undefined;
4061
3729
  readOnly?: boolean | undefined;
4062
3730
  fontSize: number;
4063
- type: string;
3731
+ type: "signature";
4064
3732
  };
4065
3733
 
4066
3734
  /** @internal */
@@ -4075,7 +3743,7 @@ export const FieldUpdateDocumentFieldsFieldMetaSignatureResponse$outboundSchema:
4075
3743
  required: z.boolean().optional(),
4076
3744
  readOnly: z.boolean().optional(),
4077
3745
  fontSize: z.number().default(12),
4078
- type: FieldUpdateDocumentFieldsFieldMetaTypeSignature$outboundSchema,
3746
+ type: z.literal("signature"),
4079
3747
  });
4080
3748
 
4081
3749
  export function fieldUpdateDocumentFieldsFieldMetaSignatureResponseToJSON(
@@ -4202,7 +3870,7 @@ export const FieldUpdateDocumentFieldsFieldResponse$inboundSchema: z.ZodType<
4202
3870
  > = z.object({
4203
3871
  envelopeId: z.string(),
4204
3872
  envelopeItemId: z.string(),
4205
- type: FieldUpdateDocumentFieldsTypeResponse$inboundSchema,
3873
+ type: FieldUpdateDocumentFieldsTypeResponseEnum$inboundSchema,
4206
3874
  id: z.number(),
4207
3875
  secondaryId: z.string(),
4208
3876
  recipientId: z.number(),
@@ -4289,7 +3957,7 @@ export const FieldUpdateDocumentFieldsFieldResponse$outboundSchema: z.ZodType<
4289
3957
  > = z.object({
4290
3958
  envelopeId: z.string(),
4291
3959
  envelopeItemId: z.string(),
4292
- type: FieldUpdateDocumentFieldsTypeResponse$outboundSchema,
3960
+ type: FieldUpdateDocumentFieldsTypeResponseEnum$outboundSchema,
4293
3961
  id: z.number(),
4294
3962
  secondaryId: z.string(),
4295
3963
  recipientId: z.number(),