@documenso/sdk-typescript 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (685) hide show
  1. package/.devcontainer/README.md +30 -0
  2. package/.devcontainer/devcontainer.json +45 -0
  3. package/FUNCTIONS.md +104 -0
  4. package/LICENSE +21 -0
  5. package/README.md +533 -0
  6. package/RUNTIMES.md +48 -0
  7. package/core.d.ts +10 -0
  8. package/core.d.ts.map +1 -0
  9. package/core.js +17 -0
  10. package/core.js.map +1 -0
  11. package/docs/sdks/directlink/README.md +246 -0
  12. package/docs/sdks/documenso/README.md +7 -0
  13. package/docs/sdks/documensofields/README.md +480 -0
  14. package/docs/sdks/documensorecipients/README.md +430 -0
  15. package/docs/sdks/documensotemplatesfields/README.md +456 -0
  16. package/docs/sdks/documensotemplatesrecipients/README.md +440 -0
  17. package/docs/sdks/documents/README.md +724 -0
  18. package/docs/sdks/fields/README.md +87 -0
  19. package/docs/sdks/recipients/README.md +87 -0
  20. package/docs/sdks/templates/README.md +566 -0
  21. package/funcs/documentsCreateV0.d.ts +16 -0
  22. package/funcs/documentsCreateV0.d.ts.map +1 -0
  23. package/funcs/documentsCreateV0.js +112 -0
  24. package/funcs/documentsCreateV0.js.map +1 -0
  25. package/funcs/documentsDelete.d.ts +13 -0
  26. package/funcs/documentsDelete.d.ts.map +1 -0
  27. package/funcs/documentsDelete.js +109 -0
  28. package/funcs/documentsDelete.js.map +1 -0
  29. package/funcs/documentsDistribute.d.ts +16 -0
  30. package/funcs/documentsDistribute.d.ts.map +1 -0
  31. package/funcs/documentsDistribute.js +111 -0
  32. package/funcs/documentsDistribute.js.map +1 -0
  33. package/funcs/documentsDuplicate.d.ts +13 -0
  34. package/funcs/documentsDuplicate.d.ts.map +1 -0
  35. package/funcs/documentsDuplicate.js +108 -0
  36. package/funcs/documentsDuplicate.js.map +1 -0
  37. package/funcs/documentsFieldsCreate.d.ts +16 -0
  38. package/funcs/documentsFieldsCreate.d.ts.map +1 -0
  39. package/funcs/documentsFieldsCreate.js +111 -0
  40. package/funcs/documentsFieldsCreate.js.map +1 -0
  41. package/funcs/documentsFieldsCreateMany.d.ts +16 -0
  42. package/funcs/documentsFieldsCreateMany.d.ts.map +1 -0
  43. package/funcs/documentsFieldsCreateMany.js +111 -0
  44. package/funcs/documentsFieldsCreateMany.js.map +1 -0
  45. package/funcs/documentsFieldsDelete.d.ts +13 -0
  46. package/funcs/documentsFieldsDelete.d.ts.map +1 -0
  47. package/funcs/documentsFieldsDelete.js +109 -0
  48. package/funcs/documentsFieldsDelete.js.map +1 -0
  49. package/funcs/documentsFieldsUpdate.d.ts +16 -0
  50. package/funcs/documentsFieldsUpdate.d.ts.map +1 -0
  51. package/funcs/documentsFieldsUpdate.js +111 -0
  52. package/funcs/documentsFieldsUpdate.js.map +1 -0
  53. package/funcs/documentsFieldsUpdateMany.d.ts +16 -0
  54. package/funcs/documentsFieldsUpdateMany.d.ts.map +1 -0
  55. package/funcs/documentsFieldsUpdateMany.js +111 -0
  56. package/funcs/documentsFieldsUpdateMany.js.map +1 -0
  57. package/funcs/documentsFind.d.ts +16 -0
  58. package/funcs/documentsFind.d.ts.map +1 -0
  59. package/funcs/documentsFind.js +121 -0
  60. package/funcs/documentsFind.js.map +1 -0
  61. package/funcs/documentsGet.d.ts +16 -0
  62. package/funcs/documentsGet.d.ts.map +1 -0
  63. package/funcs/documentsGet.js +116 -0
  64. package/funcs/documentsGet.js.map +1 -0
  65. package/funcs/documentsMoveToTeam.d.ts +16 -0
  66. package/funcs/documentsMoveToTeam.d.ts.map +1 -0
  67. package/funcs/documentsMoveToTeam.js +111 -0
  68. package/funcs/documentsMoveToTeam.js.map +1 -0
  69. package/funcs/documentsRecipientsCreate.d.ts +16 -0
  70. package/funcs/documentsRecipientsCreate.d.ts.map +1 -0
  71. package/funcs/documentsRecipientsCreate.js +112 -0
  72. package/funcs/documentsRecipientsCreate.js.map +1 -0
  73. package/funcs/documentsRecipientsCreateMany.d.ts +16 -0
  74. package/funcs/documentsRecipientsCreateMany.d.ts.map +1 -0
  75. package/funcs/documentsRecipientsCreateMany.js +112 -0
  76. package/funcs/documentsRecipientsCreateMany.js.map +1 -0
  77. package/funcs/documentsRecipientsDelete.d.ts +13 -0
  78. package/funcs/documentsRecipientsDelete.d.ts.map +1 -0
  79. package/funcs/documentsRecipientsDelete.js +110 -0
  80. package/funcs/documentsRecipientsDelete.js.map +1 -0
  81. package/funcs/documentsRecipientsUpdate.d.ts +16 -0
  82. package/funcs/documentsRecipientsUpdate.d.ts.map +1 -0
  83. package/funcs/documentsRecipientsUpdate.js +112 -0
  84. package/funcs/documentsRecipientsUpdate.js.map +1 -0
  85. package/funcs/documentsRecipientsUpdateMany.d.ts +16 -0
  86. package/funcs/documentsRecipientsUpdateMany.d.ts.map +1 -0
  87. package/funcs/documentsRecipientsUpdateMany.js +112 -0
  88. package/funcs/documentsRecipientsUpdateMany.js.map +1 -0
  89. package/funcs/documentsRedistribute.d.ts +16 -0
  90. package/funcs/documentsRedistribute.d.ts.map +1 -0
  91. package/funcs/documentsRedistribute.js +112 -0
  92. package/funcs/documentsRedistribute.js.map +1 -0
  93. package/funcs/documentsUpdate.d.ts +13 -0
  94. package/funcs/documentsUpdate.d.ts.map +1 -0
  95. package/funcs/documentsUpdate.js +108 -0
  96. package/funcs/documentsUpdate.js.map +1 -0
  97. package/funcs/fieldsGet.d.ts +16 -0
  98. package/funcs/fieldsGet.d.ts.map +1 -0
  99. package/funcs/fieldsGet.js +116 -0
  100. package/funcs/fieldsGet.js.map +1 -0
  101. package/funcs/recipientsGet.d.ts +16 -0
  102. package/funcs/recipientsGet.d.ts.map +1 -0
  103. package/funcs/recipientsGet.js +116 -0
  104. package/funcs/recipientsGet.js.map +1 -0
  105. package/funcs/templatesDelete.d.ts +13 -0
  106. package/funcs/templatesDelete.d.ts.map +1 -0
  107. package/funcs/templatesDelete.js +109 -0
  108. package/funcs/templatesDelete.js.map +1 -0
  109. package/funcs/templatesDirectLinkCreate.d.ts +16 -0
  110. package/funcs/templatesDirectLinkCreate.d.ts.map +1 -0
  111. package/funcs/templatesDirectLinkCreate.js +112 -0
  112. package/funcs/templatesDirectLinkCreate.js.map +1 -0
  113. package/funcs/templatesDirectLinkDelete.d.ts +16 -0
  114. package/funcs/templatesDirectLinkDelete.d.ts.map +1 -0
  115. package/funcs/templatesDirectLinkDelete.js +113 -0
  116. package/funcs/templatesDirectLinkDelete.js.map +1 -0
  117. package/funcs/templatesDirectLinkToggle.d.ts +16 -0
  118. package/funcs/templatesDirectLinkToggle.d.ts.map +1 -0
  119. package/funcs/templatesDirectLinkToggle.js +112 -0
  120. package/funcs/templatesDirectLinkToggle.js.map +1 -0
  121. package/funcs/templatesDuplicate.d.ts +13 -0
  122. package/funcs/templatesDuplicate.d.ts.map +1 -0
  123. package/funcs/templatesDuplicate.js +108 -0
  124. package/funcs/templatesDuplicate.js.map +1 -0
  125. package/funcs/templatesFieldsCreate.d.ts +16 -0
  126. package/funcs/templatesFieldsCreate.d.ts.map +1 -0
  127. package/funcs/templatesFieldsCreate.js +111 -0
  128. package/funcs/templatesFieldsCreate.js.map +1 -0
  129. package/funcs/templatesFieldsCreateMany.d.ts +16 -0
  130. package/funcs/templatesFieldsCreateMany.d.ts.map +1 -0
  131. package/funcs/templatesFieldsCreateMany.js +111 -0
  132. package/funcs/templatesFieldsCreateMany.js.map +1 -0
  133. package/funcs/templatesFieldsDelete.d.ts +13 -0
  134. package/funcs/templatesFieldsDelete.d.ts.map +1 -0
  135. package/funcs/templatesFieldsDelete.js +109 -0
  136. package/funcs/templatesFieldsDelete.js.map +1 -0
  137. package/funcs/templatesFieldsUpdate.d.ts +16 -0
  138. package/funcs/templatesFieldsUpdate.d.ts.map +1 -0
  139. package/funcs/templatesFieldsUpdate.js +111 -0
  140. package/funcs/templatesFieldsUpdate.js.map +1 -0
  141. package/funcs/templatesFieldsUpdateMany.d.ts +16 -0
  142. package/funcs/templatesFieldsUpdateMany.d.ts.map +1 -0
  143. package/funcs/templatesFieldsUpdateMany.js +111 -0
  144. package/funcs/templatesFieldsUpdateMany.js.map +1 -0
  145. package/funcs/templatesFind.d.ts +16 -0
  146. package/funcs/templatesFind.d.ts.map +1 -0
  147. package/funcs/templatesFind.js +117 -0
  148. package/funcs/templatesFind.js.map +1 -0
  149. package/funcs/templatesGet.d.ts +13 -0
  150. package/funcs/templatesGet.d.ts.map +1 -0
  151. package/funcs/templatesGet.js +113 -0
  152. package/funcs/templatesGet.js.map +1 -0
  153. package/funcs/templatesMoveToTeam.d.ts +16 -0
  154. package/funcs/templatesMoveToTeam.d.ts.map +1 -0
  155. package/funcs/templatesMoveToTeam.js +111 -0
  156. package/funcs/templatesMoveToTeam.js.map +1 -0
  157. package/funcs/templatesRecipientsCreate.d.ts +16 -0
  158. package/funcs/templatesRecipientsCreate.d.ts.map +1 -0
  159. package/funcs/templatesRecipientsCreate.js +112 -0
  160. package/funcs/templatesRecipientsCreate.js.map +1 -0
  161. package/funcs/templatesRecipientsCreateMany.d.ts +16 -0
  162. package/funcs/templatesRecipientsCreateMany.d.ts.map +1 -0
  163. package/funcs/templatesRecipientsCreateMany.js +112 -0
  164. package/funcs/templatesRecipientsCreateMany.js.map +1 -0
  165. package/funcs/templatesRecipientsDelete.d.ts +13 -0
  166. package/funcs/templatesRecipientsDelete.d.ts.map +1 -0
  167. package/funcs/templatesRecipientsDelete.js +110 -0
  168. package/funcs/templatesRecipientsDelete.js.map +1 -0
  169. package/funcs/templatesRecipientsUpdate.d.ts +16 -0
  170. package/funcs/templatesRecipientsUpdate.d.ts.map +1 -0
  171. package/funcs/templatesRecipientsUpdate.js +112 -0
  172. package/funcs/templatesRecipientsUpdate.js.map +1 -0
  173. package/funcs/templatesRecipientsUpdateMany.d.ts +16 -0
  174. package/funcs/templatesRecipientsUpdateMany.d.ts.map +1 -0
  175. package/funcs/templatesRecipientsUpdateMany.js +112 -0
  176. package/funcs/templatesRecipientsUpdateMany.js.map +1 -0
  177. package/funcs/templatesUpdate.d.ts +13 -0
  178. package/funcs/templatesUpdate.d.ts.map +1 -0
  179. package/funcs/templatesUpdate.js +108 -0
  180. package/funcs/templatesUpdate.js.map +1 -0
  181. package/funcs/templatesUse.d.ts +16 -0
  182. package/funcs/templatesUse.d.ts.map +1 -0
  183. package/funcs/templatesUse.js +112 -0
  184. package/funcs/templatesUse.js.map +1 -0
  185. package/hooks/hooks.d.ts +24 -0
  186. package/hooks/hooks.d.ts.map +1 -0
  187. package/hooks/hooks.js +86 -0
  188. package/hooks/hooks.js.map +1 -0
  189. package/hooks/index.d.ts +3 -0
  190. package/hooks/index.d.ts.map +1 -0
  191. package/hooks/index.js +22 -0
  192. package/hooks/index.js.map +1 -0
  193. package/hooks/registration.d.ts +3 -0
  194. package/hooks/registration.d.ts.map +1 -0
  195. package/hooks/registration.js +15 -0
  196. package/hooks/registration.js.map +1 -0
  197. package/hooks/types.d.ts +77 -0
  198. package/hooks/types.d.ts.map +1 -0
  199. package/hooks/types.js +6 -0
  200. package/hooks/types.js.map +1 -0
  201. package/index.d.ts +4 -0
  202. package/index.d.ts.map +1 -0
  203. package/index.js +46 -0
  204. package/index.js.map +1 -0
  205. package/jsr.json +27 -0
  206. package/lib/base64.d.ts +10 -0
  207. package/lib/base64.d.ts.map +1 -0
  208. package/lib/base64.js +71 -0
  209. package/lib/base64.js.map +1 -0
  210. package/lib/config.d.ts +34 -0
  211. package/lib/config.d.ts.map +1 -0
  212. package/lib/config.js +35 -0
  213. package/lib/config.js.map +1 -0
  214. package/lib/dlv.d.ts +14 -0
  215. package/lib/dlv.d.ts.map +1 -0
  216. package/lib/dlv.js +49 -0
  217. package/lib/dlv.js.map +1 -0
  218. package/lib/encodings.d.ts +52 -0
  219. package/lib/encodings.d.ts.map +1 -0
  220. package/lib/encodings.js +368 -0
  221. package/lib/encodings.js.map +1 -0
  222. package/lib/env.d.ts +15 -0
  223. package/lib/env.d.ts.map +1 -0
  224. package/lib/env.js +65 -0
  225. package/lib/env.js.map +1 -0
  226. package/lib/files.d.ts +8 -0
  227. package/lib/files.d.ts.map +1 -0
  228. package/lib/files.js +36 -0
  229. package/lib/files.js.map +1 -0
  230. package/lib/http.d.ts +67 -0
  231. package/lib/http.d.ts.map +1 -0
  232. package/lib/http.js +217 -0
  233. package/lib/http.js.map +1 -0
  234. package/lib/is-plain-object.d.ts +2 -0
  235. package/lib/is-plain-object.d.ts.map +1 -0
  236. package/lib/is-plain-object.js +41 -0
  237. package/lib/is-plain-object.js.map +1 -0
  238. package/lib/logger.d.ts +6 -0
  239. package/lib/logger.d.ts.map +1 -0
  240. package/lib/logger.js +6 -0
  241. package/lib/logger.js.map +1 -0
  242. package/lib/matchers.d.ts +64 -0
  243. package/lib/matchers.d.ts.map +1 -0
  244. package/lib/matchers.js +204 -0
  245. package/lib/matchers.js.map +1 -0
  246. package/lib/primitives.d.ts +23 -0
  247. package/lib/primitives.d.ts.map +1 -0
  248. package/lib/primitives.js +104 -0
  249. package/lib/primitives.js.map +1 -0
  250. package/lib/retries.d.ts +38 -0
  251. package/lib/retries.d.ts.map +1 -0
  252. package/lib/retries.js +154 -0
  253. package/lib/retries.js.map +1 -0
  254. package/lib/schemas.d.ts +19 -0
  255. package/lib/schemas.d.ts.map +1 -0
  256. package/lib/schemas.js +59 -0
  257. package/lib/schemas.js.map +1 -0
  258. package/lib/sdks.d.ts +60 -0
  259. package/lib/sdks.d.ts.map +1 -0
  260. package/lib/sdks.js +280 -0
  261. package/lib/sdks.js.map +1 -0
  262. package/lib/security.d.ts +82 -0
  263. package/lib/security.d.ts.map +1 -0
  264. package/lib/security.js +139 -0
  265. package/lib/security.js.map +1 -0
  266. package/lib/url.d.ts +5 -0
  267. package/lib/url.d.ts.map +1 -0
  268. package/lib/url.js +25 -0
  269. package/lib/url.js.map +1 -0
  270. package/local-openapi.json +21024 -0
  271. package/models/components/index.d.ts +2 -0
  272. package/models/components/index.d.ts.map +1 -0
  273. package/models/components/index.js +21 -0
  274. package/models/components/index.js.map +1 -0
  275. package/models/components/security.d.ts +29 -0
  276. package/models/components/security.d.ts.map +1 -0
  277. package/models/components/security.js +69 -0
  278. package/models/components/security.js.map +1 -0
  279. package/models/errors/apierror.d.ts +8 -0
  280. package/models/errors/apierror.d.ts.map +1 -0
  281. package/models/errors/apierror.js +21 -0
  282. package/models/errors/apierror.js.map +1 -0
  283. package/models/errors/errorbadrequest.d.ts +84 -0
  284. package/models/errors/errorbadrequest.d.ts.map +1 -0
  285. package/models/errors/errorbadrequest.js +115 -0
  286. package/models/errors/errorbadrequest.js.map +1 -0
  287. package/models/errors/errorinternalservererror.d.ts +84 -0
  288. package/models/errors/errorinternalservererror.d.ts.map +1 -0
  289. package/models/errors/errorinternalservererror.js +116 -0
  290. package/models/errors/errorinternalservererror.js.map +1 -0
  291. package/models/errors/errornotfound.d.ts +84 -0
  292. package/models/errors/errornotfound.d.ts.map +1 -0
  293. package/models/errors/errornotfound.js +115 -0
  294. package/models/errors/errornotfound.js.map +1 -0
  295. package/models/errors/httpclienterrors.d.ts +44 -0
  296. package/models/errors/httpclienterrors.d.ts.map +1 -0
  297. package/models/errors/httpclienterrors.js +78 -0
  298. package/models/errors/httpclienterrors.js.map +1 -0
  299. package/models/errors/index.d.ts +7 -0
  300. package/models/errors/index.d.ts.map +1 -0
  301. package/models/errors/index.js +26 -0
  302. package/models/errors/index.js.map +1 -0
  303. package/models/errors/sdkvalidationerror.d.ts +20 -0
  304. package/models/errors/sdkvalidationerror.d.ts.map +1 -0
  305. package/models/errors/sdkvalidationerror.js +115 -0
  306. package/models/errors/sdkvalidationerror.js.map +1 -0
  307. package/models/operations/documentcreatedocumenttemporary.d.ts +3565 -0
  308. package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -0
  309. package/models/operations/documentcreatedocumenttemporary.js +3203 -0
  310. package/models/operations/documentcreatedocumenttemporary.js.map +1 -0
  311. package/models/operations/documentdeletedocument.d.ts +29 -0
  312. package/models/operations/documentdeletedocument.d.ts.map +1 -0
  313. package/models/operations/documentdeletedocument.js +69 -0
  314. package/models/operations/documentdeletedocument.js.map +1 -0
  315. package/models/operations/documentduplicatedocument.d.ts +57 -0
  316. package/models/operations/documentduplicatedocument.d.ts.map +1 -0
  317. package/models/operations/documentduplicatedocument.js +96 -0
  318. package/models/operations/documentduplicatedocument.js.map +1 -0
  319. package/models/operations/documentfinddocuments.d.ts +817 -0
  320. package/models/operations/documentfinddocuments.d.ts.map +1 -0
  321. package/models/operations/documentfinddocuments.js +694 -0
  322. package/models/operations/documentfinddocuments.js.map +1 -0
  323. package/models/operations/documentgetdocumentwithdetailsbyid.d.ts +1528 -0
  324. package/models/operations/documentgetdocumentwithdetailsbyid.d.ts.map +1 -0
  325. package/models/operations/documentgetdocumentwithdetailsbyid.js +1447 -0
  326. package/models/operations/documentgetdocumentwithdetailsbyid.js.map +1 -0
  327. package/models/operations/documentmovedocumenttoteam.d.ts +306 -0
  328. package/models/operations/documentmovedocumenttoteam.d.ts.map +1 -0
  329. package/models/operations/documentmovedocumenttoteam.js +286 -0
  330. package/models/operations/documentmovedocumenttoteam.js.map +1 -0
  331. package/models/operations/documentresenddocument.d.ts +34 -0
  332. package/models/operations/documentresenddocument.d.ts.map +1 -0
  333. package/models/operations/documentresenddocument.js +71 -0
  334. package/models/operations/documentresenddocument.js.map +1 -0
  335. package/models/operations/documentsenddocument.d.ts +544 -0
  336. package/models/operations/documentsenddocument.d.ts.map +1 -0
  337. package/models/operations/documentsenddocument.js +444 -0
  338. package/models/operations/documentsenddocument.js.map +1 -0
  339. package/models/operations/documentsetsettingsfordocument.d.ts +719 -0
  340. package/models/operations/documentsetsettingsfordocument.d.ts.map +1 -0
  341. package/models/operations/documentsetsettingsfordocument.js +583 -0
  342. package/models/operations/documentsetsettingsfordocument.js.map +1 -0
  343. package/models/operations/fieldcreatedocumentfield.d.ts +2276 -0
  344. package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -0
  345. package/models/operations/fieldcreatedocumentfield.js +2167 -0
  346. package/models/operations/fieldcreatedocumentfield.js.map +1 -0
  347. package/models/operations/fieldcreatedocumentfields.d.ts +2301 -0
  348. package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -0
  349. package/models/operations/fieldcreatedocumentfields.js +2189 -0
  350. package/models/operations/fieldcreatedocumentfields.js.map +1 -0
  351. package/models/operations/fieldcreatetemplatefield.d.ts +2276 -0
  352. package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -0
  353. package/models/operations/fieldcreatetemplatefield.js +2161 -0
  354. package/models/operations/fieldcreatetemplatefield.js.map +1 -0
  355. package/models/operations/fieldcreatetemplatefields.d.ts +2301 -0
  356. package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -0
  357. package/models/operations/fieldcreatetemplatefields.js +2189 -0
  358. package/models/operations/fieldcreatetemplatefields.js.map +1 -0
  359. package/models/operations/fielddeletedocumentfield.d.ts +29 -0
  360. package/models/operations/fielddeletedocumentfield.d.ts.map +1 -0
  361. package/models/operations/fielddeletedocumentfield.js +69 -0
  362. package/models/operations/fielddeletedocumentfield.js.map +1 -0
  363. package/models/operations/fielddeletetemplatefield.d.ts +29 -0
  364. package/models/operations/fielddeletetemplatefield.d.ts.map +1 -0
  365. package/models/operations/fielddeletetemplatefield.js +69 -0
  366. package/models/operations/fielddeletetemplatefield.js.map +1 -0
  367. package/models/operations/fieldgetfield.d.ts +774 -0
  368. package/models/operations/fieldgetfield.d.ts.map +1 -0
  369. package/models/operations/fieldgetfield.js +820 -0
  370. package/models/operations/fieldgetfield.js.map +1 -0
  371. package/models/operations/fieldupdatedocumentfield.d.ts +2276 -0
  372. package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -0
  373. package/models/operations/fieldupdatedocumentfield.js +2161 -0
  374. package/models/operations/fieldupdatedocumentfield.js.map +1 -0
  375. package/models/operations/fieldupdatedocumentfields.d.ts +2301 -0
  376. package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -0
  377. package/models/operations/fieldupdatedocumentfields.js +2189 -0
  378. package/models/operations/fieldupdatedocumentfields.js.map +1 -0
  379. package/models/operations/fieldupdatetemplatefield.d.ts +2276 -0
  380. package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -0
  381. package/models/operations/fieldupdatetemplatefield.js +2161 -0
  382. package/models/operations/fieldupdatetemplatefield.js.map +1 -0
  383. package/models/operations/fieldupdatetemplatefields.d.ts +2301 -0
  384. package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -0
  385. package/models/operations/fieldupdatetemplatefields.js +2189 -0
  386. package/models/operations/fieldupdatetemplatefields.js.map +1 -0
  387. package/models/operations/index.d.ts +42 -0
  388. package/models/operations/index.d.ts.map +1 -0
  389. package/models/operations/index.js +61 -0
  390. package/models/operations/index.js.map +1 -0
  391. package/models/operations/recipientcreatedocumentrecipient.d.ts +437 -0
  392. package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -0
  393. package/models/operations/recipientcreatedocumentrecipient.js +389 -0
  394. package/models/operations/recipientcreatedocumentrecipient.js.map +1 -0
  395. package/models/operations/recipientcreatedocumentrecipients.d.ts +462 -0
  396. package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -0
  397. package/models/operations/recipientcreatedocumentrecipients.js +419 -0
  398. package/models/operations/recipientcreatedocumentrecipients.js.map +1 -0
  399. package/models/operations/recipientcreatetemplaterecipient.d.ts +437 -0
  400. package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -0
  401. package/models/operations/recipientcreatetemplaterecipient.js +389 -0
  402. package/models/operations/recipientcreatetemplaterecipient.js.map +1 -0
  403. package/models/operations/recipientcreatetemplaterecipients.d.ts +462 -0
  404. package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -0
  405. package/models/operations/recipientcreatetemplaterecipients.js +419 -0
  406. package/models/operations/recipientcreatetemplaterecipients.js.map +1 -0
  407. package/models/operations/recipientdeletedocumentrecipient.d.ts +29 -0
  408. package/models/operations/recipientdeletedocumentrecipient.d.ts.map +1 -0
  409. package/models/operations/recipientdeletedocumentrecipient.js +69 -0
  410. package/models/operations/recipientdeletedocumentrecipient.js.map +1 -0
  411. package/models/operations/recipientdeletetemplaterecipient.d.ts +29 -0
  412. package/models/operations/recipientdeletetemplaterecipient.d.ts.map +1 -0
  413. package/models/operations/recipientdeletetemplaterecipient.js +69 -0
  414. package/models/operations/recipientdeletetemplaterecipient.js.map +1 -0
  415. package/models/operations/recipientgetrecipient.d.ts +1041 -0
  416. package/models/operations/recipientgetrecipient.d.ts.map +1 -0
  417. package/models/operations/recipientgetrecipient.js +1033 -0
  418. package/models/operations/recipientgetrecipient.js.map +1 -0
  419. package/models/operations/recipientupdatedocumentrecipient.d.ts +1185 -0
  420. package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -0
  421. package/models/operations/recipientupdatedocumentrecipient.js +1146 -0
  422. package/models/operations/recipientupdatedocumentrecipient.js.map +1 -0
  423. package/models/operations/recipientupdatedocumentrecipients.d.ts +1210 -0
  424. package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -0
  425. package/models/operations/recipientupdatedocumentrecipients.js +1175 -0
  426. package/models/operations/recipientupdatedocumentrecipients.js.map +1 -0
  427. package/models/operations/recipientupdatetemplaterecipient.d.ts +1185 -0
  428. package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -0
  429. package/models/operations/recipientupdatetemplaterecipient.js +1146 -0
  430. package/models/operations/recipientupdatetemplaterecipient.js.map +1 -0
  431. package/models/operations/recipientupdatetemplaterecipients.d.ts +1210 -0
  432. package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -0
  433. package/models/operations/recipientupdatetemplaterecipients.js +1175 -0
  434. package/models/operations/recipientupdatetemplaterecipients.js.map +1 -0
  435. package/models/operations/templatecreatedocumentfromtemplate.d.ts +1575 -0
  436. package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -0
  437. package/models/operations/templatecreatedocumentfromtemplate.js +1485 -0
  438. package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -0
  439. package/models/operations/templatecreatetemplatedirectlink.d.ts +72 -0
  440. package/models/operations/templatecreatetemplatedirectlink.d.ts.map +1 -0
  441. package/models/operations/templatecreatetemplatedirectlink.js +108 -0
  442. package/models/operations/templatecreatetemplatedirectlink.js.map +1 -0
  443. package/models/operations/templatedeletetemplate.d.ts +29 -0
  444. package/models/operations/templatedeletetemplate.d.ts.map +1 -0
  445. package/models/operations/templatedeletetemplate.js +69 -0
  446. package/models/operations/templatedeletetemplate.js.map +1 -0
  447. package/models/operations/templatedeletetemplatedirectlink.d.ts +29 -0
  448. package/models/operations/templatedeletetemplatedirectlink.d.ts.map +1 -0
  449. package/models/operations/templatedeletetemplatedirectlink.js +69 -0
  450. package/models/operations/templatedeletetemplatedirectlink.js.map +1 -0
  451. package/models/operations/templateduplicatetemplate.d.ts +230 -0
  452. package/models/operations/templateduplicatetemplate.d.ts.map +1 -0
  453. package/models/operations/templateduplicatetemplate.js +234 -0
  454. package/models/operations/templateduplicatetemplate.js.map +1 -0
  455. package/models/operations/templatefindtemplates.d.ts +1471 -0
  456. package/models/operations/templatefindtemplates.d.ts.map +1 -0
  457. package/models/operations/templatefindtemplates.js +1391 -0
  458. package/models/operations/templatefindtemplates.js.map +1 -0
  459. package/models/operations/templategettemplatebyid.d.ts +1526 -0
  460. package/models/operations/templategettemplatebyid.d.ts.map +1 -0
  461. package/models/operations/templategettemplatebyid.js +1458 -0
  462. package/models/operations/templategettemplatebyid.js.map +1 -0
  463. package/models/operations/templatemovetemplatetoteam.d.ts +238 -0
  464. package/models/operations/templatemovetemplatetoteam.d.ts.map +1 -0
  465. package/models/operations/templatemovetemplatetoteam.js +236 -0
  466. package/models/operations/templatemovetemplatetoteam.js.map +1 -0
  467. package/models/operations/templatetoggletemplatedirectlink.d.ts +69 -0
  468. package/models/operations/templatetoggletemplatedirectlink.d.ts.map +1 -0
  469. package/models/operations/templatetoggletemplatedirectlink.js +108 -0
  470. package/models/operations/templatetoggletemplatedirectlink.js.map +1 -0
  471. package/models/operations/templateupdatetemplate.d.ts +673 -0
  472. package/models/operations/templateupdatetemplate.d.ts.map +1 -0
  473. package/models/operations/templateupdatetemplate.js +547 -0
  474. package/models/operations/templateupdatetemplate.js.map +1 -0
  475. package/package.json +27 -0
  476. package/sdk/directlink.d.ts +26 -0
  477. package/sdk/directlink.d.ts.map +1 -0
  478. package/sdk/directlink.js +42 -0
  479. package/sdk/directlink.js.map +1 -0
  480. package/sdk/documensofields.d.ts +37 -0
  481. package/sdk/documensofields.d.ts.map +1 -0
  482. package/sdk/documensofields.js +59 -0
  483. package/sdk/documensofields.js.map +1 -0
  484. package/sdk/documensorecipients.d.ts +37 -0
  485. package/sdk/documensorecipients.d.ts.map +1 -0
  486. package/sdk/documensorecipients.js +59 -0
  487. package/sdk/documensorecipients.js.map +1 -0
  488. package/sdk/documensotemplatesfields.d.ts +37 -0
  489. package/sdk/documensotemplatesfields.d.ts.map +1 -0
  490. package/sdk/documensotemplatesfields.js +59 -0
  491. package/sdk/documensotemplatesfields.js.map +1 -0
  492. package/sdk/documensotemplatesrecipients.d.ts +37 -0
  493. package/sdk/documensotemplatesrecipients.d.ts.map +1 -0
  494. package/sdk/documensotemplatesrecipients.js +59 -0
  495. package/sdk/documensotemplatesrecipients.js.map +1 -0
  496. package/sdk/documents.d.ts +65 -0
  497. package/sdk/documents.d.ts.map +1 -0
  498. package/sdk/documents.js +101 -0
  499. package/sdk/documents.js.map +1 -0
  500. package/sdk/fields.d.ts +12 -0
  501. package/sdk/fields.d.ts.map +1 -0
  502. package/sdk/fields.js +22 -0
  503. package/sdk/fields.js.map +1 -0
  504. package/sdk/index.d.ts +2 -0
  505. package/sdk/index.d.ts.map +1 -0
  506. package/sdk/index.js +21 -0
  507. package/sdk/index.js.map +1 -0
  508. package/sdk/recipients.d.ts +12 -0
  509. package/sdk/recipients.d.ts.map +1 -0
  510. package/sdk/recipients.js +22 -0
  511. package/sdk/recipients.js.map +1 -0
  512. package/sdk/sdk.d.ts +16 -0
  513. package/sdk/sdk.d.ts.map +1 -0
  514. package/sdk/sdk.js +27 -0
  515. package/sdk/sdk.js.map +1 -0
  516. package/sdk/templates.d.ts +51 -0
  517. package/sdk/templates.d.ts.map +1 -0
  518. package/sdk/templates.js +82 -0
  519. package/sdk/templates.js.map +1 -0
  520. package/src/core.ts +13 -0
  521. package/src/funcs/documentsCreateV0.ts +142 -0
  522. package/src/funcs/documentsDelete.ts +136 -0
  523. package/src/funcs/documentsDistribute.ts +138 -0
  524. package/src/funcs/documentsDuplicate.ts +137 -0
  525. package/src/funcs/documentsFieldsCreate.ts +140 -0
  526. package/src/funcs/documentsFieldsCreateMany.ts +140 -0
  527. package/src/funcs/documentsFieldsDelete.ts +138 -0
  528. package/src/funcs/documentsFieldsUpdate.ts +140 -0
  529. package/src/funcs/documentsFieldsUpdateMany.ts +140 -0
  530. package/src/funcs/documentsFind.ts +152 -0
  531. package/src/funcs/documentsGet.ts +152 -0
  532. package/src/funcs/documentsMoveToTeam.ts +143 -0
  533. package/src/funcs/documentsRecipientsCreate.ts +142 -0
  534. package/src/funcs/documentsRecipientsCreateMany.ts +142 -0
  535. package/src/funcs/documentsRecipientsDelete.ts +137 -0
  536. package/src/funcs/documentsRecipientsUpdate.ts +142 -0
  537. package/src/funcs/documentsRecipientsUpdateMany.ts +142 -0
  538. package/src/funcs/documentsRedistribute.ts +139 -0
  539. package/src/funcs/documentsUpdate.ts +140 -0
  540. package/src/funcs/fieldsGet.ts +146 -0
  541. package/src/funcs/recipientsGet.ts +147 -0
  542. package/src/funcs/templatesDelete.ts +136 -0
  543. package/src/funcs/templatesDirectLinkCreate.ts +142 -0
  544. package/src/funcs/templatesDirectLinkDelete.ts +140 -0
  545. package/src/funcs/templatesDirectLinkToggle.ts +142 -0
  546. package/src/funcs/templatesDuplicate.ts +137 -0
  547. package/src/funcs/templatesFieldsCreate.ts +140 -0
  548. package/src/funcs/templatesFieldsCreateMany.ts +140 -0
  549. package/src/funcs/templatesFieldsDelete.ts +138 -0
  550. package/src/funcs/templatesFieldsUpdate.ts +140 -0
  551. package/src/funcs/templatesFieldsUpdateMany.ts +140 -0
  552. package/src/funcs/templatesFind.ts +148 -0
  553. package/src/funcs/templatesGet.ts +144 -0
  554. package/src/funcs/templatesMoveToTeam.ts +143 -0
  555. package/src/funcs/templatesRecipientsCreate.ts +142 -0
  556. package/src/funcs/templatesRecipientsCreateMany.ts +142 -0
  557. package/src/funcs/templatesRecipientsDelete.ts +137 -0
  558. package/src/funcs/templatesRecipientsUpdate.ts +142 -0
  559. package/src/funcs/templatesRecipientsUpdateMany.ts +142 -0
  560. package/src/funcs/templatesUpdate.ts +135 -0
  561. package/src/funcs/templatesUse.ts +142 -0
  562. package/src/hooks/hooks.ts +132 -0
  563. package/src/hooks/index.ts +6 -0
  564. package/src/hooks/registration.ts +14 -0
  565. package/src/hooks/types.ts +109 -0
  566. package/src/index.ts +7 -0
  567. package/src/lib/base64.ts +37 -0
  568. package/src/lib/config.ts +61 -0
  569. package/src/lib/dlv.ts +53 -0
  570. package/src/lib/encodings.ts +483 -0
  571. package/src/lib/env.ts +41 -0
  572. package/src/lib/files.ts +40 -0
  573. package/src/lib/http.ts +323 -0
  574. package/src/lib/is-plain-object.ts +43 -0
  575. package/src/lib/logger.ts +9 -0
  576. package/src/lib/matchers.ts +322 -0
  577. package/src/lib/primitives.ts +136 -0
  578. package/src/lib/retries.ts +219 -0
  579. package/src/lib/schemas.ts +86 -0
  580. package/src/lib/sdks.ts +400 -0
  581. package/src/lib/security.ts +254 -0
  582. package/src/lib/url.ts +33 -0
  583. package/src/models/components/index.ts +5 -0
  584. package/src/models/components/security.ts +62 -0
  585. package/src/models/errors/apierror.ts +27 -0
  586. package/src/models/errors/errorbadrequest.ts +154 -0
  587. package/src/models/errors/errorinternalservererror.ts +165 -0
  588. package/src/models/errors/errornotfound.ts +162 -0
  589. package/src/models/errors/httpclienterrors.ts +62 -0
  590. package/src/models/errors/index.ts +10 -0
  591. package/src/models/errors/sdkvalidationerror.ts +97 -0
  592. package/src/models/operations/documentcreatedocumenttemporary.ts +6881 -0
  593. package/src/models/operations/documentdeletedocument.ts +69 -0
  594. package/src/models/operations/documentduplicatedocument.ts +137 -0
  595. package/src/models/operations/documentfinddocuments.ts +1287 -0
  596. package/src/models/operations/documentgetdocumentwithdetailsbyid.ts +3159 -0
  597. package/src/models/operations/documentmovedocumenttoteam.ts +529 -0
  598. package/src/models/operations/documentresenddocument.ts +76 -0
  599. package/src/models/operations/documentsenddocument.ts +844 -0
  600. package/src/models/operations/documentsetsettingsfordocument.ts +1180 -0
  601. package/src/models/operations/fieldcreatedocumentfield.ts +4802 -0
  602. package/src/models/operations/fieldcreatedocumentfields.ts +4995 -0
  603. package/src/models/operations/fieldcreatetemplatefield.ts +4984 -0
  604. package/src/models/operations/fieldcreatetemplatefields.ts +5089 -0
  605. package/src/models/operations/fielddeletedocumentfield.ts +71 -0
  606. package/src/models/operations/fielddeletetemplatefield.ts +71 -0
  607. package/src/models/operations/fieldgetfield.ts +1545 -0
  608. package/src/models/operations/fieldupdatedocumentfield.ts +4984 -0
  609. package/src/models/operations/fieldupdatedocumentfields.ts +5089 -0
  610. package/src/models/operations/fieldupdatetemplatefield.ts +4984 -0
  611. package/src/models/operations/fieldupdatetemplatefields.ts +5089 -0
  612. package/src/models/operations/index.ts +45 -0
  613. package/src/models/operations/recipientcreatedocumentrecipient.ts +731 -0
  614. package/src/models/operations/recipientcreatedocumentrecipients.ts +837 -0
  615. package/src/models/operations/recipientcreatetemplaterecipient.ts +751 -0
  616. package/src/models/operations/recipientcreatetemplaterecipients.ts +837 -0
  617. package/src/models/operations/recipientdeletedocumentrecipient.ts +79 -0
  618. package/src/models/operations/recipientdeletetemplaterecipient.ts +79 -0
  619. package/src/models/operations/recipientgetrecipient.ts +2060 -0
  620. package/src/models/operations/recipientupdatedocumentrecipient.ts +2523 -0
  621. package/src/models/operations/recipientupdatedocumentrecipients.ts +2639 -0
  622. package/src/models/operations/recipientupdatetemplaterecipient.ts +2523 -0
  623. package/src/models/operations/recipientupdatetemplaterecipients.ts +2639 -0
  624. package/src/models/operations/templatecreatedocumentfromtemplate.ts +3351 -0
  625. package/src/models/operations/templatecreatetemplatedirectlink.ts +180 -0
  626. package/src/models/operations/templatedeletetemplate.ts +69 -0
  627. package/src/models/operations/templatedeletetemplatedirectlink.ts +79 -0
  628. package/src/models/operations/templateduplicatetemplate.ts +406 -0
  629. package/src/models/operations/templatefindtemplates.ts +2831 -0
  630. package/src/models/operations/templategettemplatebyid.ts +2963 -0
  631. package/src/models/operations/templatemovetemplatetoteam.ts +418 -0
  632. package/src/models/operations/templatetoggletemplatedirectlink.ts +177 -0
  633. package/src/models/operations/templateupdatetemplate.ts +1030 -0
  634. package/src/sdk/directlink.ts +63 -0
  635. package/src/sdk/documensofields.ts +96 -0
  636. package/src/sdk/documensorecipients.ts +96 -0
  637. package/src/sdk/documensotemplatesfields.ts +96 -0
  638. package/src/sdk/documensotemplatesrecipients.ts +96 -0
  639. package/src/sdk/documents.ts +174 -0
  640. package/src/sdk/fields.ts +27 -0
  641. package/src/sdk/index.ts +5 -0
  642. package/src/sdk/recipients.ts +27 -0
  643. package/src/sdk/sdk.ts +31 -0
  644. package/src/sdk/templates.ts +143 -0
  645. package/src/types/blobs.ts +31 -0
  646. package/src/types/constdatetime.ts +15 -0
  647. package/src/types/enums.ts +16 -0
  648. package/src/types/fp.ts +50 -0
  649. package/src/types/index.ts +11 -0
  650. package/src/types/operations.ts +105 -0
  651. package/src/types/rfcdate.ts +54 -0
  652. package/src/types/streams.ts +21 -0
  653. package/tsconfig.json +41 -0
  654. package/types/blobs.d.ts +4 -0
  655. package/types/blobs.d.ts.map +1 -0
  656. package/types/blobs.js +62 -0
  657. package/types/blobs.js.map +1 -0
  658. package/types/constdatetime.d.ts +3 -0
  659. package/types/constdatetime.d.ts.map +1 -0
  660. package/types/constdatetime.js +46 -0
  661. package/types/constdatetime.js.map +1 -0
  662. package/types/enums.d.ts +12 -0
  663. package/types/enums.d.ts.map +1 -0
  664. package/types/enums.js +10 -0
  665. package/types/enums.js.map +1 -0
  666. package/types/fp.d.ts +31 -0
  667. package/types/fp.d.ts.map +1 -0
  668. package/types/fp.js +37 -0
  669. package/types/fp.js.map +1 -0
  670. package/types/index.d.ts +8 -0
  671. package/types/index.d.ts.map +1 -0
  672. package/types/index.js +16 -0
  673. package/types/index.js.map +1 -0
  674. package/types/operations.d.ts +27 -0
  675. package/types/operations.d.ts.map +1 -0
  676. package/types/operations.js +83 -0
  677. package/types/operations.js.map +1 -0
  678. package/types/rfcdate.d.ts +21 -0
  679. package/types/rfcdate.d.ts.map +1 -0
  680. package/types/rfcdate.js +46 -0
  681. package/types/rfcdate.js.map +1 -0
  682. package/types/streams.d.ts +2 -0
  683. package/types/streams.d.ts.map +1 -0
  684. package/types/streams.js +18 -0
  685. package/types/streams.js.map +1 -0
@@ -0,0 +1,4984 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../lib/schemas.js";
7
+ import { ClosedEnum } from "../../types/enums.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type =
12
+ {
13
+ Dropdown: "DROPDOWN",
14
+ } as const;
15
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type =
16
+ ClosedEnum<
17
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type
18
+ >;
19
+
20
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType =
21
+ {
22
+ Dropdown: "dropdown",
23
+ } as const;
24
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType =
25
+ ClosedEnum<
26
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType
27
+ >;
28
+
29
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues = {
30
+ value: string;
31
+ };
32
+
33
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta =
34
+ {
35
+ label?: string | undefined;
36
+ placeholder?: string | undefined;
37
+ required?: boolean | undefined;
38
+ readOnly?: boolean | undefined;
39
+ type:
40
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType;
41
+ values?:
42
+ | Array<FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues>
43
+ | undefined;
44
+ defaultValue?: string | undefined;
45
+ };
46
+
47
+ export type FieldUpdateDocumentFieldField11 = {
48
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type;
49
+ fieldMeta?:
50
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta
51
+ | undefined;
52
+ /**
53
+ * The ID of the field to update.
54
+ */
55
+ id: number;
56
+ /**
57
+ * The page number the field will be on.
58
+ */
59
+ pageNumber?: number | undefined;
60
+ /**
61
+ * The X coordinate of where the field will be placed.
62
+ */
63
+ pageX?: number | undefined;
64
+ /**
65
+ * The Y coordinate of where the field will be placed.
66
+ */
67
+ pageY?: number | undefined;
68
+ /**
69
+ * The width of the field.
70
+ */
71
+ width?: number | undefined;
72
+ /**
73
+ * The height of the field.
74
+ */
75
+ height?: number | undefined;
76
+ };
77
+
78
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type =
79
+ {
80
+ Checkbox: "CHECKBOX",
81
+ } as const;
82
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type =
83
+ ClosedEnum<
84
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type
85
+ >;
86
+
87
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType =
88
+ {
89
+ Checkbox: "checkbox",
90
+ } as const;
91
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType =
92
+ ClosedEnum<
93
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType
94
+ >;
95
+
96
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsValues = {
97
+ id: number;
98
+ checked: boolean;
99
+ value: string;
100
+ };
101
+
102
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta =
103
+ {
104
+ label?: string | undefined;
105
+ placeholder?: string | undefined;
106
+ required?: boolean | undefined;
107
+ readOnly?: boolean | undefined;
108
+ type:
109
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType;
110
+ values?:
111
+ | Array<FieldUpdateDocumentFieldFieldDocumentsFieldsValues>
112
+ | undefined;
113
+ validationRule?: string | undefined;
114
+ validationLength?: number | undefined;
115
+ };
116
+
117
+ export type FieldUpdateDocumentFieldField10 = {
118
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type;
119
+ fieldMeta?:
120
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta
121
+ | undefined;
122
+ /**
123
+ * The ID of the field to update.
124
+ */
125
+ id: number;
126
+ /**
127
+ * The page number the field will be on.
128
+ */
129
+ pageNumber?: number | undefined;
130
+ /**
131
+ * The X coordinate of where the field will be placed.
132
+ */
133
+ pageX?: number | undefined;
134
+ /**
135
+ * The Y coordinate of where the field will be placed.
136
+ */
137
+ pageY?: number | undefined;
138
+ /**
139
+ * The width of the field.
140
+ */
141
+ width?: number | undefined;
142
+ /**
143
+ * The height of the field.
144
+ */
145
+ height?: number | undefined;
146
+ };
147
+
148
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type =
149
+ {
150
+ Radio: "RADIO",
151
+ } as const;
152
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type =
153
+ ClosedEnum<
154
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type
155
+ >;
156
+
157
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType =
158
+ {
159
+ Radio: "radio",
160
+ } as const;
161
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType =
162
+ ClosedEnum<
163
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType
164
+ >;
165
+
166
+ export type FieldUpdateDocumentFieldFieldValues = {
167
+ id: number;
168
+ checked: boolean;
169
+ value: string;
170
+ };
171
+
172
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta =
173
+ {
174
+ label?: string | undefined;
175
+ placeholder?: string | undefined;
176
+ required?: boolean | undefined;
177
+ readOnly?: boolean | undefined;
178
+ type:
179
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType;
180
+ values?: Array<FieldUpdateDocumentFieldFieldValues> | undefined;
181
+ };
182
+
183
+ export type FieldUpdateDocumentFieldField9 = {
184
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type;
185
+ fieldMeta?:
186
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta
187
+ | undefined;
188
+ /**
189
+ * The ID of the field to update.
190
+ */
191
+ id: number;
192
+ /**
193
+ * The page number the field will be on.
194
+ */
195
+ pageNumber?: number | undefined;
196
+ /**
197
+ * The X coordinate of where the field will be placed.
198
+ */
199
+ pageX?: number | undefined;
200
+ /**
201
+ * The Y coordinate of where the field will be placed.
202
+ */
203
+ pageY?: number | undefined;
204
+ /**
205
+ * The width of the field.
206
+ */
207
+ width?: number | undefined;
208
+ /**
209
+ * The height of the field.
210
+ */
211
+ height?: number | undefined;
212
+ };
213
+
214
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type =
215
+ {
216
+ Number: "NUMBER",
217
+ } as const;
218
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type =
219
+ ClosedEnum<
220
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type
221
+ >;
222
+
223
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType =
224
+ {
225
+ Number: "number",
226
+ } as const;
227
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType =
228
+ ClosedEnum<
229
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType
230
+ >;
231
+
232
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta =
233
+ {
234
+ label?: string | undefined;
235
+ placeholder?: string | undefined;
236
+ required?: boolean | undefined;
237
+ readOnly?: boolean | undefined;
238
+ type:
239
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType;
240
+ numberFormat?: string | undefined;
241
+ value?: string | undefined;
242
+ minValue?: number | undefined;
243
+ maxValue?: number | undefined;
244
+ fontSize?: number | undefined;
245
+ };
246
+
247
+ export type FieldUpdateDocumentFieldField8 = {
248
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type;
249
+ fieldMeta?:
250
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta
251
+ | undefined;
252
+ /**
253
+ * The ID of the field to update.
254
+ */
255
+ id: number;
256
+ /**
257
+ * The page number the field will be on.
258
+ */
259
+ pageNumber?: number | undefined;
260
+ /**
261
+ * The X coordinate of where the field will be placed.
262
+ */
263
+ pageX?: number | undefined;
264
+ /**
265
+ * The Y coordinate of where the field will be placed.
266
+ */
267
+ pageY?: number | undefined;
268
+ /**
269
+ * The width of the field.
270
+ */
271
+ width?: number | undefined;
272
+ /**
273
+ * The height of the field.
274
+ */
275
+ height?: number | undefined;
276
+ };
277
+
278
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type =
279
+ {
280
+ Text: "TEXT",
281
+ } as const;
282
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type =
283
+ ClosedEnum<
284
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type
285
+ >;
286
+
287
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType =
288
+ {
289
+ Text: "text",
290
+ } as const;
291
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType =
292
+ ClosedEnum<
293
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType
294
+ >;
295
+
296
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta =
297
+ {
298
+ label?: string | undefined;
299
+ placeholder?: string | undefined;
300
+ required?: boolean | undefined;
301
+ readOnly?: boolean | undefined;
302
+ type:
303
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType;
304
+ text?: string | undefined;
305
+ characterLimit?: number | undefined;
306
+ fontSize?: number | undefined;
307
+ };
308
+
309
+ export type FieldUpdateDocumentFieldField7 = {
310
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type;
311
+ fieldMeta?:
312
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta
313
+ | undefined;
314
+ /**
315
+ * The ID of the field to update.
316
+ */
317
+ id: number;
318
+ /**
319
+ * The page number the field will be on.
320
+ */
321
+ pageNumber?: number | undefined;
322
+ /**
323
+ * The X coordinate of where the field will be placed.
324
+ */
325
+ pageX?: number | undefined;
326
+ /**
327
+ * The Y coordinate of where the field will be placed.
328
+ */
329
+ pageY?: number | undefined;
330
+ /**
331
+ * The width of the field.
332
+ */
333
+ width?: number | undefined;
334
+ /**
335
+ * The height of the field.
336
+ */
337
+ height?: number | undefined;
338
+ };
339
+
340
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type =
341
+ {
342
+ Date: "DATE",
343
+ } as const;
344
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type =
345
+ ClosedEnum<
346
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type
347
+ >;
348
+
349
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType =
350
+ {
351
+ Date: "date",
352
+ } as const;
353
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType =
354
+ ClosedEnum<
355
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType
356
+ >;
357
+
358
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta =
359
+ {
360
+ label?: string | undefined;
361
+ placeholder?: string | undefined;
362
+ required?: boolean | undefined;
363
+ readOnly?: boolean | undefined;
364
+ type:
365
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType;
366
+ fontSize?: number | undefined;
367
+ };
368
+
369
+ export type FieldUpdateDocumentFieldField6 = {
370
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type;
371
+ fieldMeta?:
372
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta
373
+ | undefined;
374
+ /**
375
+ * The ID of the field to update.
376
+ */
377
+ id: number;
378
+ /**
379
+ * The page number the field will be on.
380
+ */
381
+ pageNumber?: number | undefined;
382
+ /**
383
+ * The X coordinate of where the field will be placed.
384
+ */
385
+ pageX?: number | undefined;
386
+ /**
387
+ * The Y coordinate of where the field will be placed.
388
+ */
389
+ pageY?: number | undefined;
390
+ /**
391
+ * The width of the field.
392
+ */
393
+ width?: number | undefined;
394
+ /**
395
+ * The height of the field.
396
+ */
397
+ height?: number | undefined;
398
+ };
399
+
400
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type =
401
+ {
402
+ Email: "EMAIL",
403
+ } as const;
404
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type =
405
+ ClosedEnum<
406
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type
407
+ >;
408
+
409
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType =
410
+ {
411
+ Email: "email",
412
+ } as const;
413
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType =
414
+ ClosedEnum<
415
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType
416
+ >;
417
+
418
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta = {
419
+ label?: string | undefined;
420
+ placeholder?: string | undefined;
421
+ required?: boolean | undefined;
422
+ readOnly?: boolean | undefined;
423
+ type:
424
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType;
425
+ fontSize?: number | undefined;
426
+ };
427
+
428
+ export type FieldUpdateDocumentFieldField5 = {
429
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type;
430
+ fieldMeta?:
431
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta
432
+ | undefined;
433
+ /**
434
+ * The ID of the field to update.
435
+ */
436
+ id: number;
437
+ /**
438
+ * The page number the field will be on.
439
+ */
440
+ pageNumber?: number | undefined;
441
+ /**
442
+ * The X coordinate of where the field will be placed.
443
+ */
444
+ pageX?: number | undefined;
445
+ /**
446
+ * The Y coordinate of where the field will be placed.
447
+ */
448
+ pageY?: number | undefined;
449
+ /**
450
+ * The width of the field.
451
+ */
452
+ width?: number | undefined;
453
+ /**
454
+ * The height of the field.
455
+ */
456
+ height?: number | undefined;
457
+ };
458
+
459
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type =
460
+ {
461
+ Name: "NAME",
462
+ } as const;
463
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type =
464
+ ClosedEnum<
465
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type
466
+ >;
467
+
468
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType =
469
+ {
470
+ Name: "name",
471
+ } as const;
472
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType =
473
+ ClosedEnum<
474
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType
475
+ >;
476
+
477
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta = {
478
+ label?: string | undefined;
479
+ placeholder?: string | undefined;
480
+ required?: boolean | undefined;
481
+ readOnly?: boolean | undefined;
482
+ type:
483
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType;
484
+ fontSize?: number | undefined;
485
+ };
486
+
487
+ export type FieldUpdateDocumentFieldField4 = {
488
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type;
489
+ fieldMeta?: FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta | undefined;
490
+ /**
491
+ * The ID of the field to update.
492
+ */
493
+ id: number;
494
+ /**
495
+ * The page number the field will be on.
496
+ */
497
+ pageNumber?: number | undefined;
498
+ /**
499
+ * The X coordinate of where the field will be placed.
500
+ */
501
+ pageX?: number | undefined;
502
+ /**
503
+ * The Y coordinate of where the field will be placed.
504
+ */
505
+ pageY?: number | undefined;
506
+ /**
507
+ * The width of the field.
508
+ */
509
+ width?: number | undefined;
510
+ /**
511
+ * The height of the field.
512
+ */
513
+ height?: number | undefined;
514
+ };
515
+
516
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType = {
517
+ Initials: "INITIALS",
518
+ } as const;
519
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType =
520
+ ClosedEnum<typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType>;
521
+
522
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType =
523
+ {
524
+ Initials: "initials",
525
+ } as const;
526
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType =
527
+ ClosedEnum<
528
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType
529
+ >;
530
+
531
+ export type FieldUpdateDocumentFieldFieldFieldMeta = {
532
+ label?: string | undefined;
533
+ placeholder?: string | undefined;
534
+ required?: boolean | undefined;
535
+ readOnly?: boolean | undefined;
536
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType;
537
+ fontSize?: number | undefined;
538
+ };
539
+
540
+ export type FieldUpdateDocumentFieldField3 = {
541
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType;
542
+ fieldMeta?: FieldUpdateDocumentFieldFieldFieldMeta | undefined;
543
+ /**
544
+ * The ID of the field to update.
545
+ */
546
+ id: number;
547
+ /**
548
+ * The page number the field will be on.
549
+ */
550
+ pageNumber?: number | undefined;
551
+ /**
552
+ * The X coordinate of where the field will be placed.
553
+ */
554
+ pageX?: number | undefined;
555
+ /**
556
+ * The Y coordinate of where the field will be placed.
557
+ */
558
+ pageY?: number | undefined;
559
+ /**
560
+ * The width of the field.
561
+ */
562
+ width?: number | undefined;
563
+ /**
564
+ * The height of the field.
565
+ */
566
+ height?: number | undefined;
567
+ };
568
+
569
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsType = {
570
+ FreeSignature: "FREE_SIGNATURE",
571
+ } as const;
572
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsType = ClosedEnum<
573
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsType
574
+ >;
575
+
576
+ export type FieldUpdateDocumentFieldField2 = {
577
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsType;
578
+ /**
579
+ * The ID of the field to update.
580
+ */
581
+ id: number;
582
+ /**
583
+ * The page number the field will be on.
584
+ */
585
+ pageNumber?: number | undefined;
586
+ /**
587
+ * The X coordinate of where the field will be placed.
588
+ */
589
+ pageX?: number | undefined;
590
+ /**
591
+ * The Y coordinate of where the field will be placed.
592
+ */
593
+ pageY?: number | undefined;
594
+ /**
595
+ * The width of the field.
596
+ */
597
+ width?: number | undefined;
598
+ /**
599
+ * The height of the field.
600
+ */
601
+ height?: number | undefined;
602
+ };
603
+
604
+ export const FieldUpdateDocumentFieldFieldType = {
605
+ Signature: "SIGNATURE",
606
+ } as const;
607
+ export type FieldUpdateDocumentFieldFieldType = ClosedEnum<
608
+ typeof FieldUpdateDocumentFieldFieldType
609
+ >;
610
+
611
+ export type FieldUpdateDocumentFieldField1 = {
612
+ type: FieldUpdateDocumentFieldFieldType;
613
+ /**
614
+ * The ID of the field to update.
615
+ */
616
+ id: number;
617
+ /**
618
+ * The page number the field will be on.
619
+ */
620
+ pageNumber?: number | undefined;
621
+ /**
622
+ * The X coordinate of where the field will be placed.
623
+ */
624
+ pageX?: number | undefined;
625
+ /**
626
+ * The Y coordinate of where the field will be placed.
627
+ */
628
+ pageY?: number | undefined;
629
+ /**
630
+ * The width of the field.
631
+ */
632
+ width?: number | undefined;
633
+ /**
634
+ * The height of the field.
635
+ */
636
+ height?: number | undefined;
637
+ };
638
+
639
+ export type FieldUpdateDocumentFieldField =
640
+ | FieldUpdateDocumentFieldField1
641
+ | FieldUpdateDocumentFieldField2
642
+ | FieldUpdateDocumentFieldField3
643
+ | FieldUpdateDocumentFieldField4
644
+ | FieldUpdateDocumentFieldField5
645
+ | FieldUpdateDocumentFieldField6
646
+ | FieldUpdateDocumentFieldField7
647
+ | FieldUpdateDocumentFieldField8
648
+ | FieldUpdateDocumentFieldField9
649
+ | FieldUpdateDocumentFieldField10
650
+ | FieldUpdateDocumentFieldField11;
651
+
652
+ export type FieldUpdateDocumentFieldRequestBody = {
653
+ documentId: number;
654
+ field:
655
+ | FieldUpdateDocumentFieldField1
656
+ | FieldUpdateDocumentFieldField2
657
+ | FieldUpdateDocumentFieldField3
658
+ | FieldUpdateDocumentFieldField4
659
+ | FieldUpdateDocumentFieldField5
660
+ | FieldUpdateDocumentFieldField6
661
+ | FieldUpdateDocumentFieldField7
662
+ | FieldUpdateDocumentFieldField8
663
+ | FieldUpdateDocumentFieldField9
664
+ | FieldUpdateDocumentFieldField10
665
+ | FieldUpdateDocumentFieldField11;
666
+ };
667
+
668
+ export const FieldUpdateDocumentFieldType = {
669
+ Signature: "SIGNATURE",
670
+ FreeSignature: "FREE_SIGNATURE",
671
+ Initials: "INITIALS",
672
+ Name: "NAME",
673
+ Email: "EMAIL",
674
+ Date: "DATE",
675
+ Text: "TEXT",
676
+ Number: "NUMBER",
677
+ Radio: "RADIO",
678
+ Checkbox: "CHECKBOX",
679
+ Dropdown: "DROPDOWN",
680
+ } as const;
681
+ export type FieldUpdateDocumentFieldType = ClosedEnum<
682
+ typeof FieldUpdateDocumentFieldType
683
+ >;
684
+
685
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type =
686
+ {
687
+ Dropdown: "dropdown",
688
+ } as const;
689
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type =
690
+ ClosedEnum<
691
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type
692
+ >;
693
+
694
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues = {
695
+ value: string;
696
+ };
697
+
698
+ export type FieldUpdateDocumentFieldFieldMeta9 = {
699
+ label?: string | undefined;
700
+ placeholder?: string | undefined;
701
+ required?: boolean | undefined;
702
+ readOnly?: boolean | undefined;
703
+ type:
704
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type;
705
+ values?:
706
+ | Array<FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues>
707
+ | undefined;
708
+ defaultValue?: string | undefined;
709
+ };
710
+
711
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type =
712
+ {
713
+ Checkbox: "checkbox",
714
+ } as const;
715
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type =
716
+ ClosedEnum<
717
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type
718
+ >;
719
+
720
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues = {
721
+ id: number;
722
+ checked: boolean;
723
+ value: string;
724
+ };
725
+
726
+ export type FieldUpdateDocumentFieldFieldMeta8 = {
727
+ label?: string | undefined;
728
+ placeholder?: string | undefined;
729
+ required?: boolean | undefined;
730
+ readOnly?: boolean | undefined;
731
+ type:
732
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type;
733
+ values?:
734
+ | Array<FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues>
735
+ | undefined;
736
+ validationRule?: string | undefined;
737
+ validationLength?: number | undefined;
738
+ };
739
+
740
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type =
741
+ {
742
+ Radio: "radio",
743
+ } as const;
744
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type =
745
+ ClosedEnum<
746
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type
747
+ >;
748
+
749
+ export type FieldUpdateDocumentFieldFieldMetaValues = {
750
+ id: number;
751
+ checked: boolean;
752
+ value: string;
753
+ };
754
+
755
+ export type FieldUpdateDocumentFieldFieldMeta7 = {
756
+ label?: string | undefined;
757
+ placeholder?: string | undefined;
758
+ required?: boolean | undefined;
759
+ readOnly?: boolean | undefined;
760
+ type:
761
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type;
762
+ values?: Array<FieldUpdateDocumentFieldFieldMetaValues> | undefined;
763
+ };
764
+
765
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType =
766
+ {
767
+ Number: "number",
768
+ } as const;
769
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType =
770
+ ClosedEnum<
771
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType
772
+ >;
773
+
774
+ export type FieldUpdateDocumentFieldFieldMeta6 = {
775
+ label?: string | undefined;
776
+ placeholder?: string | undefined;
777
+ required?: boolean | undefined;
778
+ readOnly?: boolean | undefined;
779
+ type:
780
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType;
781
+ numberFormat?: string | undefined;
782
+ value?: string | undefined;
783
+ minValue?: number | undefined;
784
+ maxValue?: number | undefined;
785
+ fontSize?: number | undefined;
786
+ };
787
+
788
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType =
789
+ {
790
+ Text: "text",
791
+ } as const;
792
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType =
793
+ ClosedEnum<
794
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType
795
+ >;
796
+
797
+ export type FieldUpdateDocumentFieldFieldMeta5 = {
798
+ label?: string | undefined;
799
+ placeholder?: string | undefined;
800
+ required?: boolean | undefined;
801
+ readOnly?: boolean | undefined;
802
+ type:
803
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType;
804
+ text?: string | undefined;
805
+ characterLimit?: number | undefined;
806
+ fontSize?: number | undefined;
807
+ };
808
+
809
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type = {
810
+ Date: "date",
811
+ } as const;
812
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type =
813
+ ClosedEnum<
814
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type
815
+ >;
816
+
817
+ export type FieldUpdateDocumentFieldFieldMeta4 = {
818
+ label?: string | undefined;
819
+ placeholder?: string | undefined;
820
+ required?: boolean | undefined;
821
+ readOnly?: boolean | undefined;
822
+ type: FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type;
823
+ fontSize?: number | undefined;
824
+ };
825
+
826
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType = {
827
+ Email: "email",
828
+ } as const;
829
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType =
830
+ ClosedEnum<
831
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType
832
+ >;
833
+
834
+ export type FieldUpdateDocumentFieldFieldMeta3 = {
835
+ label?: string | undefined;
836
+ placeholder?: string | undefined;
837
+ required?: boolean | undefined;
838
+ readOnly?: boolean | undefined;
839
+ type: FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType;
840
+ fontSize?: number | undefined;
841
+ };
842
+
843
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType = {
844
+ Name: "name",
845
+ } as const;
846
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType = ClosedEnum<
847
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType
848
+ >;
849
+
850
+ export type FieldUpdateDocumentFieldFieldMeta2 = {
851
+ label?: string | undefined;
852
+ placeholder?: string | undefined;
853
+ required?: boolean | undefined;
854
+ readOnly?: boolean | undefined;
855
+ type: FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType;
856
+ fontSize?: number | undefined;
857
+ };
858
+
859
+ export const FieldUpdateDocumentFieldFieldMetaType = {
860
+ Initials: "initials",
861
+ } as const;
862
+ export type FieldUpdateDocumentFieldFieldMetaType = ClosedEnum<
863
+ typeof FieldUpdateDocumentFieldFieldMetaType
864
+ >;
865
+
866
+ export type FieldUpdateDocumentFieldFieldMeta1 = {
867
+ label?: string | undefined;
868
+ placeholder?: string | undefined;
869
+ required?: boolean | undefined;
870
+ readOnly?: boolean | undefined;
871
+ type: FieldUpdateDocumentFieldFieldMetaType;
872
+ fontSize?: number | undefined;
873
+ };
874
+
875
+ export type FieldUpdateDocumentFieldFieldMeta =
876
+ | FieldUpdateDocumentFieldFieldMeta1
877
+ | FieldUpdateDocumentFieldFieldMeta2
878
+ | FieldUpdateDocumentFieldFieldMeta3
879
+ | FieldUpdateDocumentFieldFieldMeta4
880
+ | FieldUpdateDocumentFieldFieldMeta7
881
+ | FieldUpdateDocumentFieldFieldMeta9
882
+ | FieldUpdateDocumentFieldFieldMeta5
883
+ | FieldUpdateDocumentFieldFieldMeta8
884
+ | FieldUpdateDocumentFieldFieldMeta6;
885
+
886
+ /**
887
+ * Successful response
888
+ */
889
+ export type FieldUpdateDocumentFieldResponseBody = {
890
+ type: FieldUpdateDocumentFieldType;
891
+ id: number;
892
+ secondaryId: string;
893
+ documentId: number | null;
894
+ templateId: number | null;
895
+ recipientId: number;
896
+ /**
897
+ * The page number of the field on the document. Starts from 1.
898
+ */
899
+ page: number;
900
+ positionX?: any | undefined;
901
+ positionY?: any | undefined;
902
+ width?: any | undefined;
903
+ height?: any | undefined;
904
+ customText: string;
905
+ inserted: boolean;
906
+ fieldMeta:
907
+ | FieldUpdateDocumentFieldFieldMeta1
908
+ | FieldUpdateDocumentFieldFieldMeta2
909
+ | FieldUpdateDocumentFieldFieldMeta3
910
+ | FieldUpdateDocumentFieldFieldMeta4
911
+ | FieldUpdateDocumentFieldFieldMeta7
912
+ | FieldUpdateDocumentFieldFieldMeta9
913
+ | FieldUpdateDocumentFieldFieldMeta5
914
+ | FieldUpdateDocumentFieldFieldMeta8
915
+ | FieldUpdateDocumentFieldFieldMeta6
916
+ | null;
917
+ };
918
+
919
+ /** @internal */
920
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$inboundSchema:
921
+ z.ZodNativeEnum<
922
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type
923
+ > = z.nativeEnum(
924
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type,
925
+ );
926
+
927
+ /** @internal */
928
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$outboundSchema:
929
+ z.ZodNativeEnum<
930
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type
931
+ > =
932
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$inboundSchema;
933
+
934
+ /**
935
+ * @internal
936
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
937
+ */
938
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$ {
939
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$inboundSchema` instead. */
940
+ export const inboundSchema =
941
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$inboundSchema;
942
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$outboundSchema` instead. */
943
+ export const outboundSchema =
944
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$outboundSchema;
945
+ }
946
+
947
+ /** @internal */
948
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$inboundSchema:
949
+ z.ZodNativeEnum<
950
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType
951
+ > = z.nativeEnum(
952
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType,
953
+ );
954
+
955
+ /** @internal */
956
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$outboundSchema:
957
+ z.ZodNativeEnum<
958
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType
959
+ > =
960
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$inboundSchema;
961
+
962
+ /**
963
+ * @internal
964
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
965
+ */
966
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$ {
967
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$inboundSchema` instead. */
968
+ export const inboundSchema =
969
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$inboundSchema;
970
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$outboundSchema` instead. */
971
+ export const outboundSchema =
972
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$outboundSchema;
973
+ }
974
+
975
+ /** @internal */
976
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$inboundSchema:
977
+ z.ZodType<
978
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues,
979
+ z.ZodTypeDef,
980
+ unknown
981
+ > = z.object({
982
+ value: z.string(),
983
+ });
984
+
985
+ /** @internal */
986
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$Outbound =
987
+ {
988
+ value: string;
989
+ };
990
+
991
+ /** @internal */
992
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$outboundSchema:
993
+ z.ZodType<
994
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$Outbound,
995
+ z.ZodTypeDef,
996
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues
997
+ > = z.object({
998
+ value: z.string(),
999
+ });
1000
+
1001
+ /**
1002
+ * @internal
1003
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1004
+ */
1005
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$ {
1006
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$inboundSchema` instead. */
1007
+ export const inboundSchema =
1008
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$inboundSchema;
1009
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$outboundSchema` instead. */
1010
+ export const outboundSchema =
1011
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$outboundSchema;
1012
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$Outbound` instead. */
1013
+ export type Outbound =
1014
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$Outbound;
1015
+ }
1016
+
1017
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestValuesToJSON(
1018
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues:
1019
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues,
1020
+ ): string {
1021
+ return JSON.stringify(
1022
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$outboundSchema
1023
+ .parse(fieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues),
1024
+ );
1025
+ }
1026
+
1027
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestValuesFromJSON(
1028
+ jsonString: string,
1029
+ ): SafeParseResult<
1030
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues,
1031
+ SDKValidationError
1032
+ > {
1033
+ return safeParse(
1034
+ jsonString,
1035
+ (x) =>
1036
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$inboundSchema
1037
+ .parse(JSON.parse(x)),
1038
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues' from JSON`,
1039
+ );
1040
+ }
1041
+
1042
+ /** @internal */
1043
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$inboundSchema:
1044
+ z.ZodType<
1045
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta,
1046
+ z.ZodTypeDef,
1047
+ unknown
1048
+ > = z.object({
1049
+ label: z.string().optional(),
1050
+ placeholder: z.string().optional(),
1051
+ required: z.boolean().optional(),
1052
+ readOnly: z.boolean().optional(),
1053
+ type:
1054
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$inboundSchema,
1055
+ values: z.array(
1056
+ z.lazy(() =>
1057
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$inboundSchema
1058
+ ),
1059
+ ).optional(),
1060
+ defaultValue: z.string().optional(),
1061
+ });
1062
+
1063
+ /** @internal */
1064
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$Outbound =
1065
+ {
1066
+ label?: string | undefined;
1067
+ placeholder?: string | undefined;
1068
+ required?: boolean | undefined;
1069
+ readOnly?: boolean | undefined;
1070
+ type: string;
1071
+ values?:
1072
+ | Array<
1073
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$Outbound
1074
+ >
1075
+ | undefined;
1076
+ defaultValue?: string | undefined;
1077
+ };
1078
+
1079
+ /** @internal */
1080
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$outboundSchema:
1081
+ z.ZodType<
1082
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$Outbound,
1083
+ z.ZodTypeDef,
1084
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta
1085
+ > = z.object({
1086
+ label: z.string().optional(),
1087
+ placeholder: z.string().optional(),
1088
+ required: z.boolean().optional(),
1089
+ readOnly: z.boolean().optional(),
1090
+ type:
1091
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaType$outboundSchema,
1092
+ values: z.array(
1093
+ z.lazy(() =>
1094
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestValues$outboundSchema
1095
+ ),
1096
+ ).optional(),
1097
+ defaultValue: z.string().optional(),
1098
+ });
1099
+
1100
+ /**
1101
+ * @internal
1102
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1103
+ */
1104
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$ {
1105
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$inboundSchema` instead. */
1106
+ export const inboundSchema =
1107
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$inboundSchema;
1108
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$outboundSchema` instead. */
1109
+ export const outboundSchema =
1110
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$outboundSchema;
1111
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$Outbound` instead. */
1112
+ export type Outbound =
1113
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$Outbound;
1114
+ }
1115
+
1116
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaToJSON(
1117
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta:
1118
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta,
1119
+ ): string {
1120
+ return JSON.stringify(
1121
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$outboundSchema
1122
+ .parse(
1123
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta,
1124
+ ),
1125
+ );
1126
+ }
1127
+
1128
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMetaFromJSON(
1129
+ jsonString: string,
1130
+ ): SafeParseResult<
1131
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta,
1132
+ SDKValidationError
1133
+ > {
1134
+ return safeParse(
1135
+ jsonString,
1136
+ (x) =>
1137
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$inboundSchema
1138
+ .parse(JSON.parse(x)),
1139
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta' from JSON`,
1140
+ );
1141
+ }
1142
+
1143
+ /** @internal */
1144
+ export const FieldUpdateDocumentFieldField11$inboundSchema: z.ZodType<
1145
+ FieldUpdateDocumentFieldField11,
1146
+ z.ZodTypeDef,
1147
+ unknown
1148
+ > = z.object({
1149
+ type:
1150
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$inboundSchema,
1151
+ fieldMeta: z.lazy(() =>
1152
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$inboundSchema
1153
+ ).optional(),
1154
+ id: z.number(),
1155
+ pageNumber: z.number().optional(),
1156
+ pageX: z.number().optional(),
1157
+ pageY: z.number().optional(),
1158
+ width: z.number().optional(),
1159
+ height: z.number().optional(),
1160
+ });
1161
+
1162
+ /** @internal */
1163
+ export type FieldUpdateDocumentFieldField11$Outbound = {
1164
+ type: string;
1165
+ fieldMeta?:
1166
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$Outbound
1167
+ | undefined;
1168
+ id: number;
1169
+ pageNumber?: number | undefined;
1170
+ pageX?: number | undefined;
1171
+ pageY?: number | undefined;
1172
+ width?: number | undefined;
1173
+ height?: number | undefined;
1174
+ };
1175
+
1176
+ /** @internal */
1177
+ export const FieldUpdateDocumentFieldField11$outboundSchema: z.ZodType<
1178
+ FieldUpdateDocumentFieldField11$Outbound,
1179
+ z.ZodTypeDef,
1180
+ FieldUpdateDocumentFieldField11
1181
+ > = z.object({
1182
+ type:
1183
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11Type$outboundSchema,
1184
+ fieldMeta: z.lazy(() =>
1185
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody11FieldMeta$outboundSchema
1186
+ ).optional(),
1187
+ id: z.number(),
1188
+ pageNumber: z.number().optional(),
1189
+ pageX: z.number().optional(),
1190
+ pageY: z.number().optional(),
1191
+ width: z.number().optional(),
1192
+ height: z.number().optional(),
1193
+ });
1194
+
1195
+ /**
1196
+ * @internal
1197
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1198
+ */
1199
+ export namespace FieldUpdateDocumentFieldField11$ {
1200
+ /** @deprecated use `FieldUpdateDocumentFieldField11$inboundSchema` instead. */
1201
+ export const inboundSchema = FieldUpdateDocumentFieldField11$inboundSchema;
1202
+ /** @deprecated use `FieldUpdateDocumentFieldField11$outboundSchema` instead. */
1203
+ export const outboundSchema = FieldUpdateDocumentFieldField11$outboundSchema;
1204
+ /** @deprecated use `FieldUpdateDocumentFieldField11$Outbound` instead. */
1205
+ export type Outbound = FieldUpdateDocumentFieldField11$Outbound;
1206
+ }
1207
+
1208
+ export function fieldUpdateDocumentFieldField11ToJSON(
1209
+ fieldUpdateDocumentFieldField11: FieldUpdateDocumentFieldField11,
1210
+ ): string {
1211
+ return JSON.stringify(
1212
+ FieldUpdateDocumentFieldField11$outboundSchema.parse(
1213
+ fieldUpdateDocumentFieldField11,
1214
+ ),
1215
+ );
1216
+ }
1217
+
1218
+ export function fieldUpdateDocumentFieldField11FromJSON(
1219
+ jsonString: string,
1220
+ ): SafeParseResult<FieldUpdateDocumentFieldField11, SDKValidationError> {
1221
+ return safeParse(
1222
+ jsonString,
1223
+ (x) => FieldUpdateDocumentFieldField11$inboundSchema.parse(JSON.parse(x)),
1224
+ `Failed to parse 'FieldUpdateDocumentFieldField11' from JSON`,
1225
+ );
1226
+ }
1227
+
1228
+ /** @internal */
1229
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$inboundSchema:
1230
+ z.ZodNativeEnum<
1231
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type
1232
+ > = z.nativeEnum(
1233
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type,
1234
+ );
1235
+
1236
+ /** @internal */
1237
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$outboundSchema:
1238
+ z.ZodNativeEnum<
1239
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type
1240
+ > =
1241
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$inboundSchema;
1242
+
1243
+ /**
1244
+ * @internal
1245
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1246
+ */
1247
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$ {
1248
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$inboundSchema` instead. */
1249
+ export const inboundSchema =
1250
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$inboundSchema;
1251
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$outboundSchema` instead. */
1252
+ export const outboundSchema =
1253
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$outboundSchema;
1254
+ }
1255
+
1256
+ /** @internal */
1257
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$inboundSchema:
1258
+ z.ZodNativeEnum<
1259
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType
1260
+ > = z.nativeEnum(
1261
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType,
1262
+ );
1263
+
1264
+ /** @internal */
1265
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$outboundSchema:
1266
+ z.ZodNativeEnum<
1267
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType
1268
+ > =
1269
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$inboundSchema;
1270
+
1271
+ /**
1272
+ * @internal
1273
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1274
+ */
1275
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$ {
1276
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$inboundSchema` instead. */
1277
+ export const inboundSchema =
1278
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$inboundSchema;
1279
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$outboundSchema` instead. */
1280
+ export const outboundSchema =
1281
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$outboundSchema;
1282
+ }
1283
+
1284
+ /** @internal */
1285
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsValues$inboundSchema:
1286
+ z.ZodType<
1287
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues,
1288
+ z.ZodTypeDef,
1289
+ unknown
1290
+ > = z.object({
1291
+ id: z.number(),
1292
+ checked: z.boolean(),
1293
+ value: z.string(),
1294
+ });
1295
+
1296
+ /** @internal */
1297
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsValues$Outbound = {
1298
+ id: number;
1299
+ checked: boolean;
1300
+ value: string;
1301
+ };
1302
+
1303
+ /** @internal */
1304
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsValues$outboundSchema:
1305
+ z.ZodType<
1306
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$Outbound,
1307
+ z.ZodTypeDef,
1308
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues
1309
+ > = z.object({
1310
+ id: z.number(),
1311
+ checked: z.boolean(),
1312
+ value: z.string(),
1313
+ });
1314
+
1315
+ /**
1316
+ * @internal
1317
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1318
+ */
1319
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsValues$ {
1320
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsValues$inboundSchema` instead. */
1321
+ export const inboundSchema =
1322
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$inboundSchema;
1323
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsValues$outboundSchema` instead. */
1324
+ export const outboundSchema =
1325
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$outboundSchema;
1326
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsValues$Outbound` instead. */
1327
+ export type Outbound =
1328
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$Outbound;
1329
+ }
1330
+
1331
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsValuesToJSON(
1332
+ fieldUpdateDocumentFieldFieldDocumentsFieldsValues:
1333
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues,
1334
+ ): string {
1335
+ return JSON.stringify(
1336
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$outboundSchema.parse(
1337
+ fieldUpdateDocumentFieldFieldDocumentsFieldsValues,
1338
+ ),
1339
+ );
1340
+ }
1341
+
1342
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsValuesFromJSON(
1343
+ jsonString: string,
1344
+ ): SafeParseResult<
1345
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues,
1346
+ SDKValidationError
1347
+ > {
1348
+ return safeParse(
1349
+ jsonString,
1350
+ (x) =>
1351
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$inboundSchema.parse(
1352
+ JSON.parse(x),
1353
+ ),
1354
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsValues' from JSON`,
1355
+ );
1356
+ }
1357
+
1358
+ /** @internal */
1359
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$inboundSchema:
1360
+ z.ZodType<
1361
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta,
1362
+ z.ZodTypeDef,
1363
+ unknown
1364
+ > = z.object({
1365
+ label: z.string().optional(),
1366
+ placeholder: z.string().optional(),
1367
+ required: z.boolean().optional(),
1368
+ readOnly: z.boolean().optional(),
1369
+ type:
1370
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$inboundSchema,
1371
+ values: z.array(
1372
+ z.lazy(() =>
1373
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$inboundSchema
1374
+ ),
1375
+ ).optional(),
1376
+ validationRule: z.string().optional(),
1377
+ validationLength: z.number().optional(),
1378
+ });
1379
+
1380
+ /** @internal */
1381
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$Outbound =
1382
+ {
1383
+ label?: string | undefined;
1384
+ placeholder?: string | undefined;
1385
+ required?: boolean | undefined;
1386
+ readOnly?: boolean | undefined;
1387
+ type: string;
1388
+ values?:
1389
+ | Array<FieldUpdateDocumentFieldFieldDocumentsFieldsValues$Outbound>
1390
+ | undefined;
1391
+ validationRule?: string | undefined;
1392
+ validationLength?: number | undefined;
1393
+ };
1394
+
1395
+ /** @internal */
1396
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$outboundSchema:
1397
+ z.ZodType<
1398
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$Outbound,
1399
+ z.ZodTypeDef,
1400
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta
1401
+ > = z.object({
1402
+ label: z.string().optional(),
1403
+ placeholder: z.string().optional(),
1404
+ required: z.boolean().optional(),
1405
+ readOnly: z.boolean().optional(),
1406
+ type:
1407
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaType$outboundSchema,
1408
+ values: z.array(
1409
+ z.lazy(() =>
1410
+ FieldUpdateDocumentFieldFieldDocumentsFieldsValues$outboundSchema
1411
+ ),
1412
+ ).optional(),
1413
+ validationRule: z.string().optional(),
1414
+ validationLength: z.number().optional(),
1415
+ });
1416
+
1417
+ /**
1418
+ * @internal
1419
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1420
+ */
1421
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$ {
1422
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$inboundSchema` instead. */
1423
+ export const inboundSchema =
1424
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$inboundSchema;
1425
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$outboundSchema` instead. */
1426
+ export const outboundSchema =
1427
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$outboundSchema;
1428
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$Outbound` instead. */
1429
+ export type Outbound =
1430
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$Outbound;
1431
+ }
1432
+
1433
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaToJSON(
1434
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta:
1435
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta,
1436
+ ): string {
1437
+ return JSON.stringify(
1438
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$outboundSchema
1439
+ .parse(
1440
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta,
1441
+ ),
1442
+ );
1443
+ }
1444
+
1445
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMetaFromJSON(
1446
+ jsonString: string,
1447
+ ): SafeParseResult<
1448
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta,
1449
+ SDKValidationError
1450
+ > {
1451
+ return safeParse(
1452
+ jsonString,
1453
+ (x) =>
1454
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$inboundSchema
1455
+ .parse(JSON.parse(x)),
1456
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta' from JSON`,
1457
+ );
1458
+ }
1459
+
1460
+ /** @internal */
1461
+ export const FieldUpdateDocumentFieldField10$inboundSchema: z.ZodType<
1462
+ FieldUpdateDocumentFieldField10,
1463
+ z.ZodTypeDef,
1464
+ unknown
1465
+ > = z.object({
1466
+ type:
1467
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$inboundSchema,
1468
+ fieldMeta: z.lazy(() =>
1469
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$inboundSchema
1470
+ ).optional(),
1471
+ id: z.number(),
1472
+ pageNumber: z.number().optional(),
1473
+ pageX: z.number().optional(),
1474
+ pageY: z.number().optional(),
1475
+ width: z.number().optional(),
1476
+ height: z.number().optional(),
1477
+ });
1478
+
1479
+ /** @internal */
1480
+ export type FieldUpdateDocumentFieldField10$Outbound = {
1481
+ type: string;
1482
+ fieldMeta?:
1483
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$Outbound
1484
+ | undefined;
1485
+ id: number;
1486
+ pageNumber?: number | undefined;
1487
+ pageX?: number | undefined;
1488
+ pageY?: number | undefined;
1489
+ width?: number | undefined;
1490
+ height?: number | undefined;
1491
+ };
1492
+
1493
+ /** @internal */
1494
+ export const FieldUpdateDocumentFieldField10$outboundSchema: z.ZodType<
1495
+ FieldUpdateDocumentFieldField10$Outbound,
1496
+ z.ZodTypeDef,
1497
+ FieldUpdateDocumentFieldField10
1498
+ > = z.object({
1499
+ type:
1500
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10Type$outboundSchema,
1501
+ fieldMeta: z.lazy(() =>
1502
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody10FieldMeta$outboundSchema
1503
+ ).optional(),
1504
+ id: z.number(),
1505
+ pageNumber: z.number().optional(),
1506
+ pageX: z.number().optional(),
1507
+ pageY: z.number().optional(),
1508
+ width: z.number().optional(),
1509
+ height: z.number().optional(),
1510
+ });
1511
+
1512
+ /**
1513
+ * @internal
1514
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1515
+ */
1516
+ export namespace FieldUpdateDocumentFieldField10$ {
1517
+ /** @deprecated use `FieldUpdateDocumentFieldField10$inboundSchema` instead. */
1518
+ export const inboundSchema = FieldUpdateDocumentFieldField10$inboundSchema;
1519
+ /** @deprecated use `FieldUpdateDocumentFieldField10$outboundSchema` instead. */
1520
+ export const outboundSchema = FieldUpdateDocumentFieldField10$outboundSchema;
1521
+ /** @deprecated use `FieldUpdateDocumentFieldField10$Outbound` instead. */
1522
+ export type Outbound = FieldUpdateDocumentFieldField10$Outbound;
1523
+ }
1524
+
1525
+ export function fieldUpdateDocumentFieldField10ToJSON(
1526
+ fieldUpdateDocumentFieldField10: FieldUpdateDocumentFieldField10,
1527
+ ): string {
1528
+ return JSON.stringify(
1529
+ FieldUpdateDocumentFieldField10$outboundSchema.parse(
1530
+ fieldUpdateDocumentFieldField10,
1531
+ ),
1532
+ );
1533
+ }
1534
+
1535
+ export function fieldUpdateDocumentFieldField10FromJSON(
1536
+ jsonString: string,
1537
+ ): SafeParseResult<FieldUpdateDocumentFieldField10, SDKValidationError> {
1538
+ return safeParse(
1539
+ jsonString,
1540
+ (x) => FieldUpdateDocumentFieldField10$inboundSchema.parse(JSON.parse(x)),
1541
+ `Failed to parse 'FieldUpdateDocumentFieldField10' from JSON`,
1542
+ );
1543
+ }
1544
+
1545
+ /** @internal */
1546
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$inboundSchema:
1547
+ z.ZodNativeEnum<
1548
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type
1549
+ > = z.nativeEnum(
1550
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type,
1551
+ );
1552
+
1553
+ /** @internal */
1554
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$outboundSchema:
1555
+ z.ZodNativeEnum<
1556
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type
1557
+ > =
1558
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$inboundSchema;
1559
+
1560
+ /**
1561
+ * @internal
1562
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1563
+ */
1564
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$ {
1565
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$inboundSchema` instead. */
1566
+ export const inboundSchema =
1567
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$inboundSchema;
1568
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$outboundSchema` instead. */
1569
+ export const outboundSchema =
1570
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$outboundSchema;
1571
+ }
1572
+
1573
+ /** @internal */
1574
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$inboundSchema:
1575
+ z.ZodNativeEnum<
1576
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType
1577
+ > = z.nativeEnum(
1578
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType,
1579
+ );
1580
+
1581
+ /** @internal */
1582
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$outboundSchema:
1583
+ z.ZodNativeEnum<
1584
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType
1585
+ > =
1586
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$inboundSchema;
1587
+
1588
+ /**
1589
+ * @internal
1590
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1591
+ */
1592
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$ {
1593
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$inboundSchema` instead. */
1594
+ export const inboundSchema =
1595
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$inboundSchema;
1596
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$outboundSchema` instead. */
1597
+ export const outboundSchema =
1598
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$outboundSchema;
1599
+ }
1600
+
1601
+ /** @internal */
1602
+ export const FieldUpdateDocumentFieldFieldValues$inboundSchema: z.ZodType<
1603
+ FieldUpdateDocumentFieldFieldValues,
1604
+ z.ZodTypeDef,
1605
+ unknown
1606
+ > = z.object({
1607
+ id: z.number(),
1608
+ checked: z.boolean(),
1609
+ value: z.string(),
1610
+ });
1611
+
1612
+ /** @internal */
1613
+ export type FieldUpdateDocumentFieldFieldValues$Outbound = {
1614
+ id: number;
1615
+ checked: boolean;
1616
+ value: string;
1617
+ };
1618
+
1619
+ /** @internal */
1620
+ export const FieldUpdateDocumentFieldFieldValues$outboundSchema: z.ZodType<
1621
+ FieldUpdateDocumentFieldFieldValues$Outbound,
1622
+ z.ZodTypeDef,
1623
+ FieldUpdateDocumentFieldFieldValues
1624
+ > = z.object({
1625
+ id: z.number(),
1626
+ checked: z.boolean(),
1627
+ value: z.string(),
1628
+ });
1629
+
1630
+ /**
1631
+ * @internal
1632
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1633
+ */
1634
+ export namespace FieldUpdateDocumentFieldFieldValues$ {
1635
+ /** @deprecated use `FieldUpdateDocumentFieldFieldValues$inboundSchema` instead. */
1636
+ export const inboundSchema =
1637
+ FieldUpdateDocumentFieldFieldValues$inboundSchema;
1638
+ /** @deprecated use `FieldUpdateDocumentFieldFieldValues$outboundSchema` instead. */
1639
+ export const outboundSchema =
1640
+ FieldUpdateDocumentFieldFieldValues$outboundSchema;
1641
+ /** @deprecated use `FieldUpdateDocumentFieldFieldValues$Outbound` instead. */
1642
+ export type Outbound = FieldUpdateDocumentFieldFieldValues$Outbound;
1643
+ }
1644
+
1645
+ export function fieldUpdateDocumentFieldFieldValuesToJSON(
1646
+ fieldUpdateDocumentFieldFieldValues: FieldUpdateDocumentFieldFieldValues,
1647
+ ): string {
1648
+ return JSON.stringify(
1649
+ FieldUpdateDocumentFieldFieldValues$outboundSchema.parse(
1650
+ fieldUpdateDocumentFieldFieldValues,
1651
+ ),
1652
+ );
1653
+ }
1654
+
1655
+ export function fieldUpdateDocumentFieldFieldValuesFromJSON(
1656
+ jsonString: string,
1657
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldValues, SDKValidationError> {
1658
+ return safeParse(
1659
+ jsonString,
1660
+ (x) =>
1661
+ FieldUpdateDocumentFieldFieldValues$inboundSchema.parse(JSON.parse(x)),
1662
+ `Failed to parse 'FieldUpdateDocumentFieldFieldValues' from JSON`,
1663
+ );
1664
+ }
1665
+
1666
+ /** @internal */
1667
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$inboundSchema:
1668
+ z.ZodType<
1669
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta,
1670
+ z.ZodTypeDef,
1671
+ unknown
1672
+ > = z.object({
1673
+ label: z.string().optional(),
1674
+ placeholder: z.string().optional(),
1675
+ required: z.boolean().optional(),
1676
+ readOnly: z.boolean().optional(),
1677
+ type:
1678
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$inboundSchema,
1679
+ values: z.array(
1680
+ z.lazy(() => FieldUpdateDocumentFieldFieldValues$inboundSchema),
1681
+ ).optional(),
1682
+ });
1683
+
1684
+ /** @internal */
1685
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$Outbound =
1686
+ {
1687
+ label?: string | undefined;
1688
+ placeholder?: string | undefined;
1689
+ required?: boolean | undefined;
1690
+ readOnly?: boolean | undefined;
1691
+ type: string;
1692
+ values?: Array<FieldUpdateDocumentFieldFieldValues$Outbound> | undefined;
1693
+ };
1694
+
1695
+ /** @internal */
1696
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$outboundSchema:
1697
+ z.ZodType<
1698
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$Outbound,
1699
+ z.ZodTypeDef,
1700
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta
1701
+ > = z.object({
1702
+ label: z.string().optional(),
1703
+ placeholder: z.string().optional(),
1704
+ required: z.boolean().optional(),
1705
+ readOnly: z.boolean().optional(),
1706
+ type:
1707
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaType$outboundSchema,
1708
+ values: z.array(
1709
+ z.lazy(() => FieldUpdateDocumentFieldFieldValues$outboundSchema),
1710
+ ).optional(),
1711
+ });
1712
+
1713
+ /**
1714
+ * @internal
1715
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1716
+ */
1717
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$ {
1718
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$inboundSchema` instead. */
1719
+ export const inboundSchema =
1720
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$inboundSchema;
1721
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$outboundSchema` instead. */
1722
+ export const outboundSchema =
1723
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$outboundSchema;
1724
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$Outbound` instead. */
1725
+ export type Outbound =
1726
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$Outbound;
1727
+ }
1728
+
1729
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaToJSON(
1730
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta:
1731
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta,
1732
+ ): string {
1733
+ return JSON.stringify(
1734
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$outboundSchema
1735
+ .parse(
1736
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta,
1737
+ ),
1738
+ );
1739
+ }
1740
+
1741
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMetaFromJSON(
1742
+ jsonString: string,
1743
+ ): SafeParseResult<
1744
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta,
1745
+ SDKValidationError
1746
+ > {
1747
+ return safeParse(
1748
+ jsonString,
1749
+ (x) =>
1750
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$inboundSchema
1751
+ .parse(JSON.parse(x)),
1752
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta' from JSON`,
1753
+ );
1754
+ }
1755
+
1756
+ /** @internal */
1757
+ export const FieldUpdateDocumentFieldField9$inboundSchema: z.ZodType<
1758
+ FieldUpdateDocumentFieldField9,
1759
+ z.ZodTypeDef,
1760
+ unknown
1761
+ > = z.object({
1762
+ type:
1763
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$inboundSchema,
1764
+ fieldMeta: z.lazy(() =>
1765
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$inboundSchema
1766
+ ).optional(),
1767
+ id: z.number(),
1768
+ pageNumber: z.number().optional(),
1769
+ pageX: z.number().optional(),
1770
+ pageY: z.number().optional(),
1771
+ width: z.number().optional(),
1772
+ height: z.number().optional(),
1773
+ });
1774
+
1775
+ /** @internal */
1776
+ export type FieldUpdateDocumentFieldField9$Outbound = {
1777
+ type: string;
1778
+ fieldMeta?:
1779
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$Outbound
1780
+ | undefined;
1781
+ id: number;
1782
+ pageNumber?: number | undefined;
1783
+ pageX?: number | undefined;
1784
+ pageY?: number | undefined;
1785
+ width?: number | undefined;
1786
+ height?: number | undefined;
1787
+ };
1788
+
1789
+ /** @internal */
1790
+ export const FieldUpdateDocumentFieldField9$outboundSchema: z.ZodType<
1791
+ FieldUpdateDocumentFieldField9$Outbound,
1792
+ z.ZodTypeDef,
1793
+ FieldUpdateDocumentFieldField9
1794
+ > = z.object({
1795
+ type:
1796
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9Type$outboundSchema,
1797
+ fieldMeta: z.lazy(() =>
1798
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody9FieldMeta$outboundSchema
1799
+ ).optional(),
1800
+ id: z.number(),
1801
+ pageNumber: z.number().optional(),
1802
+ pageX: z.number().optional(),
1803
+ pageY: z.number().optional(),
1804
+ width: z.number().optional(),
1805
+ height: z.number().optional(),
1806
+ });
1807
+
1808
+ /**
1809
+ * @internal
1810
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1811
+ */
1812
+ export namespace FieldUpdateDocumentFieldField9$ {
1813
+ /** @deprecated use `FieldUpdateDocumentFieldField9$inboundSchema` instead. */
1814
+ export const inboundSchema = FieldUpdateDocumentFieldField9$inboundSchema;
1815
+ /** @deprecated use `FieldUpdateDocumentFieldField9$outboundSchema` instead. */
1816
+ export const outboundSchema = FieldUpdateDocumentFieldField9$outboundSchema;
1817
+ /** @deprecated use `FieldUpdateDocumentFieldField9$Outbound` instead. */
1818
+ export type Outbound = FieldUpdateDocumentFieldField9$Outbound;
1819
+ }
1820
+
1821
+ export function fieldUpdateDocumentFieldField9ToJSON(
1822
+ fieldUpdateDocumentFieldField9: FieldUpdateDocumentFieldField9,
1823
+ ): string {
1824
+ return JSON.stringify(
1825
+ FieldUpdateDocumentFieldField9$outboundSchema.parse(
1826
+ fieldUpdateDocumentFieldField9,
1827
+ ),
1828
+ );
1829
+ }
1830
+
1831
+ export function fieldUpdateDocumentFieldField9FromJSON(
1832
+ jsonString: string,
1833
+ ): SafeParseResult<FieldUpdateDocumentFieldField9, SDKValidationError> {
1834
+ return safeParse(
1835
+ jsonString,
1836
+ (x) => FieldUpdateDocumentFieldField9$inboundSchema.parse(JSON.parse(x)),
1837
+ `Failed to parse 'FieldUpdateDocumentFieldField9' from JSON`,
1838
+ );
1839
+ }
1840
+
1841
+ /** @internal */
1842
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$inboundSchema:
1843
+ z.ZodNativeEnum<
1844
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type
1845
+ > = z.nativeEnum(
1846
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type,
1847
+ );
1848
+
1849
+ /** @internal */
1850
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$outboundSchema:
1851
+ z.ZodNativeEnum<
1852
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type
1853
+ > =
1854
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$inboundSchema;
1855
+
1856
+ /**
1857
+ * @internal
1858
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1859
+ */
1860
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$ {
1861
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$inboundSchema` instead. */
1862
+ export const inboundSchema =
1863
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$inboundSchema;
1864
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$outboundSchema` instead. */
1865
+ export const outboundSchema =
1866
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$outboundSchema;
1867
+ }
1868
+
1869
+ /** @internal */
1870
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$inboundSchema:
1871
+ z.ZodNativeEnum<
1872
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType
1873
+ > = z.nativeEnum(
1874
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType,
1875
+ );
1876
+
1877
+ /** @internal */
1878
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$outboundSchema:
1879
+ z.ZodNativeEnum<
1880
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType
1881
+ > =
1882
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$inboundSchema;
1883
+
1884
+ /**
1885
+ * @internal
1886
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1887
+ */
1888
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$ {
1889
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$inboundSchema` instead. */
1890
+ export const inboundSchema =
1891
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$inboundSchema;
1892
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$outboundSchema` instead. */
1893
+ export const outboundSchema =
1894
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$outboundSchema;
1895
+ }
1896
+
1897
+ /** @internal */
1898
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$inboundSchema:
1899
+ z.ZodType<
1900
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta,
1901
+ z.ZodTypeDef,
1902
+ unknown
1903
+ > = z.object({
1904
+ label: z.string().optional(),
1905
+ placeholder: z.string().optional(),
1906
+ required: z.boolean().optional(),
1907
+ readOnly: z.boolean().optional(),
1908
+ type:
1909
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$inboundSchema,
1910
+ numberFormat: z.string().optional(),
1911
+ value: z.string().optional(),
1912
+ minValue: z.number().optional(),
1913
+ maxValue: z.number().optional(),
1914
+ fontSize: z.number().optional(),
1915
+ });
1916
+
1917
+ /** @internal */
1918
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$Outbound =
1919
+ {
1920
+ label?: string | undefined;
1921
+ placeholder?: string | undefined;
1922
+ required?: boolean | undefined;
1923
+ readOnly?: boolean | undefined;
1924
+ type: string;
1925
+ numberFormat?: string | undefined;
1926
+ value?: string | undefined;
1927
+ minValue?: number | undefined;
1928
+ maxValue?: number | undefined;
1929
+ fontSize?: number | undefined;
1930
+ };
1931
+
1932
+ /** @internal */
1933
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$outboundSchema:
1934
+ z.ZodType<
1935
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$Outbound,
1936
+ z.ZodTypeDef,
1937
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta
1938
+ > = z.object({
1939
+ label: z.string().optional(),
1940
+ placeholder: z.string().optional(),
1941
+ required: z.boolean().optional(),
1942
+ readOnly: z.boolean().optional(),
1943
+ type:
1944
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaType$outboundSchema,
1945
+ numberFormat: z.string().optional(),
1946
+ value: z.string().optional(),
1947
+ minValue: z.number().optional(),
1948
+ maxValue: z.number().optional(),
1949
+ fontSize: z.number().optional(),
1950
+ });
1951
+
1952
+ /**
1953
+ * @internal
1954
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
1955
+ */
1956
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$ {
1957
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$inboundSchema` instead. */
1958
+ export const inboundSchema =
1959
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$inboundSchema;
1960
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$outboundSchema` instead. */
1961
+ export const outboundSchema =
1962
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$outboundSchema;
1963
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$Outbound` instead. */
1964
+ export type Outbound =
1965
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$Outbound;
1966
+ }
1967
+
1968
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaToJSON(
1969
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta:
1970
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta,
1971
+ ): string {
1972
+ return JSON.stringify(
1973
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$outboundSchema
1974
+ .parse(
1975
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta,
1976
+ ),
1977
+ );
1978
+ }
1979
+
1980
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMetaFromJSON(
1981
+ jsonString: string,
1982
+ ): SafeParseResult<
1983
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta,
1984
+ SDKValidationError
1985
+ > {
1986
+ return safeParse(
1987
+ jsonString,
1988
+ (x) =>
1989
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$inboundSchema
1990
+ .parse(JSON.parse(x)),
1991
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta' from JSON`,
1992
+ );
1993
+ }
1994
+
1995
+ /** @internal */
1996
+ export const FieldUpdateDocumentFieldField8$inboundSchema: z.ZodType<
1997
+ FieldUpdateDocumentFieldField8,
1998
+ z.ZodTypeDef,
1999
+ unknown
2000
+ > = z.object({
2001
+ type:
2002
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$inboundSchema,
2003
+ fieldMeta: z.lazy(() =>
2004
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$inboundSchema
2005
+ ).optional(),
2006
+ id: z.number(),
2007
+ pageNumber: z.number().optional(),
2008
+ pageX: z.number().optional(),
2009
+ pageY: z.number().optional(),
2010
+ width: z.number().optional(),
2011
+ height: z.number().optional(),
2012
+ });
2013
+
2014
+ /** @internal */
2015
+ export type FieldUpdateDocumentFieldField8$Outbound = {
2016
+ type: string;
2017
+ fieldMeta?:
2018
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$Outbound
2019
+ | undefined;
2020
+ id: number;
2021
+ pageNumber?: number | undefined;
2022
+ pageX?: number | undefined;
2023
+ pageY?: number | undefined;
2024
+ width?: number | undefined;
2025
+ height?: number | undefined;
2026
+ };
2027
+
2028
+ /** @internal */
2029
+ export const FieldUpdateDocumentFieldField8$outboundSchema: z.ZodType<
2030
+ FieldUpdateDocumentFieldField8$Outbound,
2031
+ z.ZodTypeDef,
2032
+ FieldUpdateDocumentFieldField8
2033
+ > = z.object({
2034
+ type:
2035
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8Type$outboundSchema,
2036
+ fieldMeta: z.lazy(() =>
2037
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody8FieldMeta$outboundSchema
2038
+ ).optional(),
2039
+ id: z.number(),
2040
+ pageNumber: z.number().optional(),
2041
+ pageX: z.number().optional(),
2042
+ pageY: z.number().optional(),
2043
+ width: z.number().optional(),
2044
+ height: z.number().optional(),
2045
+ });
2046
+
2047
+ /**
2048
+ * @internal
2049
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2050
+ */
2051
+ export namespace FieldUpdateDocumentFieldField8$ {
2052
+ /** @deprecated use `FieldUpdateDocumentFieldField8$inboundSchema` instead. */
2053
+ export const inboundSchema = FieldUpdateDocumentFieldField8$inboundSchema;
2054
+ /** @deprecated use `FieldUpdateDocumentFieldField8$outboundSchema` instead. */
2055
+ export const outboundSchema = FieldUpdateDocumentFieldField8$outboundSchema;
2056
+ /** @deprecated use `FieldUpdateDocumentFieldField8$Outbound` instead. */
2057
+ export type Outbound = FieldUpdateDocumentFieldField8$Outbound;
2058
+ }
2059
+
2060
+ export function fieldUpdateDocumentFieldField8ToJSON(
2061
+ fieldUpdateDocumentFieldField8: FieldUpdateDocumentFieldField8,
2062
+ ): string {
2063
+ return JSON.stringify(
2064
+ FieldUpdateDocumentFieldField8$outboundSchema.parse(
2065
+ fieldUpdateDocumentFieldField8,
2066
+ ),
2067
+ );
2068
+ }
2069
+
2070
+ export function fieldUpdateDocumentFieldField8FromJSON(
2071
+ jsonString: string,
2072
+ ): SafeParseResult<FieldUpdateDocumentFieldField8, SDKValidationError> {
2073
+ return safeParse(
2074
+ jsonString,
2075
+ (x) => FieldUpdateDocumentFieldField8$inboundSchema.parse(JSON.parse(x)),
2076
+ `Failed to parse 'FieldUpdateDocumentFieldField8' from JSON`,
2077
+ );
2078
+ }
2079
+
2080
+ /** @internal */
2081
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$inboundSchema:
2082
+ z.ZodNativeEnum<
2083
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type
2084
+ > = z.nativeEnum(
2085
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type,
2086
+ );
2087
+
2088
+ /** @internal */
2089
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$outboundSchema:
2090
+ z.ZodNativeEnum<
2091
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type
2092
+ > =
2093
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$inboundSchema;
2094
+
2095
+ /**
2096
+ * @internal
2097
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2098
+ */
2099
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$ {
2100
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$inboundSchema` instead. */
2101
+ export const inboundSchema =
2102
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$inboundSchema;
2103
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$outboundSchema` instead. */
2104
+ export const outboundSchema =
2105
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$outboundSchema;
2106
+ }
2107
+
2108
+ /** @internal */
2109
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$inboundSchema:
2110
+ z.ZodNativeEnum<
2111
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType
2112
+ > = z.nativeEnum(
2113
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType,
2114
+ );
2115
+
2116
+ /** @internal */
2117
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$outboundSchema:
2118
+ z.ZodNativeEnum<
2119
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType
2120
+ > =
2121
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$inboundSchema;
2122
+
2123
+ /**
2124
+ * @internal
2125
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2126
+ */
2127
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$ {
2128
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$inboundSchema` instead. */
2129
+ export const inboundSchema =
2130
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$inboundSchema;
2131
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$outboundSchema` instead. */
2132
+ export const outboundSchema =
2133
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$outboundSchema;
2134
+ }
2135
+
2136
+ /** @internal */
2137
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$inboundSchema:
2138
+ z.ZodType<
2139
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta,
2140
+ z.ZodTypeDef,
2141
+ unknown
2142
+ > = z.object({
2143
+ label: z.string().optional(),
2144
+ placeholder: z.string().optional(),
2145
+ required: z.boolean().optional(),
2146
+ readOnly: z.boolean().optional(),
2147
+ type:
2148
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$inboundSchema,
2149
+ text: z.string().optional(),
2150
+ characterLimit: z.number().optional(),
2151
+ fontSize: z.number().optional(),
2152
+ });
2153
+
2154
+ /** @internal */
2155
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$Outbound =
2156
+ {
2157
+ label?: string | undefined;
2158
+ placeholder?: string | undefined;
2159
+ required?: boolean | undefined;
2160
+ readOnly?: boolean | undefined;
2161
+ type: string;
2162
+ text?: string | undefined;
2163
+ characterLimit?: number | undefined;
2164
+ fontSize?: number | undefined;
2165
+ };
2166
+
2167
+ /** @internal */
2168
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$outboundSchema:
2169
+ z.ZodType<
2170
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$Outbound,
2171
+ z.ZodTypeDef,
2172
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta
2173
+ > = z.object({
2174
+ label: z.string().optional(),
2175
+ placeholder: z.string().optional(),
2176
+ required: z.boolean().optional(),
2177
+ readOnly: z.boolean().optional(),
2178
+ type:
2179
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaType$outboundSchema,
2180
+ text: z.string().optional(),
2181
+ characterLimit: z.number().optional(),
2182
+ fontSize: z.number().optional(),
2183
+ });
2184
+
2185
+ /**
2186
+ * @internal
2187
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2188
+ */
2189
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$ {
2190
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$inboundSchema` instead. */
2191
+ export const inboundSchema =
2192
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$inboundSchema;
2193
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$outboundSchema` instead. */
2194
+ export const outboundSchema =
2195
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$outboundSchema;
2196
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$Outbound` instead. */
2197
+ export type Outbound =
2198
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$Outbound;
2199
+ }
2200
+
2201
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaToJSON(
2202
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta:
2203
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta,
2204
+ ): string {
2205
+ return JSON.stringify(
2206
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$outboundSchema
2207
+ .parse(
2208
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta,
2209
+ ),
2210
+ );
2211
+ }
2212
+
2213
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMetaFromJSON(
2214
+ jsonString: string,
2215
+ ): SafeParseResult<
2216
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta,
2217
+ SDKValidationError
2218
+ > {
2219
+ return safeParse(
2220
+ jsonString,
2221
+ (x) =>
2222
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$inboundSchema
2223
+ .parse(JSON.parse(x)),
2224
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta' from JSON`,
2225
+ );
2226
+ }
2227
+
2228
+ /** @internal */
2229
+ export const FieldUpdateDocumentFieldField7$inboundSchema: z.ZodType<
2230
+ FieldUpdateDocumentFieldField7,
2231
+ z.ZodTypeDef,
2232
+ unknown
2233
+ > = z.object({
2234
+ type:
2235
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$inboundSchema,
2236
+ fieldMeta: z.lazy(() =>
2237
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$inboundSchema
2238
+ ).optional(),
2239
+ id: z.number(),
2240
+ pageNumber: z.number().optional(),
2241
+ pageX: z.number().optional(),
2242
+ pageY: z.number().optional(),
2243
+ width: z.number().optional(),
2244
+ height: z.number().optional(),
2245
+ });
2246
+
2247
+ /** @internal */
2248
+ export type FieldUpdateDocumentFieldField7$Outbound = {
2249
+ type: string;
2250
+ fieldMeta?:
2251
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$Outbound
2252
+ | undefined;
2253
+ id: number;
2254
+ pageNumber?: number | undefined;
2255
+ pageX?: number | undefined;
2256
+ pageY?: number | undefined;
2257
+ width?: number | undefined;
2258
+ height?: number | undefined;
2259
+ };
2260
+
2261
+ /** @internal */
2262
+ export const FieldUpdateDocumentFieldField7$outboundSchema: z.ZodType<
2263
+ FieldUpdateDocumentFieldField7$Outbound,
2264
+ z.ZodTypeDef,
2265
+ FieldUpdateDocumentFieldField7
2266
+ > = z.object({
2267
+ type:
2268
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7Type$outboundSchema,
2269
+ fieldMeta: z.lazy(() =>
2270
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody7FieldMeta$outboundSchema
2271
+ ).optional(),
2272
+ id: z.number(),
2273
+ pageNumber: z.number().optional(),
2274
+ pageX: z.number().optional(),
2275
+ pageY: z.number().optional(),
2276
+ width: z.number().optional(),
2277
+ height: z.number().optional(),
2278
+ });
2279
+
2280
+ /**
2281
+ * @internal
2282
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2283
+ */
2284
+ export namespace FieldUpdateDocumentFieldField7$ {
2285
+ /** @deprecated use `FieldUpdateDocumentFieldField7$inboundSchema` instead. */
2286
+ export const inboundSchema = FieldUpdateDocumentFieldField7$inboundSchema;
2287
+ /** @deprecated use `FieldUpdateDocumentFieldField7$outboundSchema` instead. */
2288
+ export const outboundSchema = FieldUpdateDocumentFieldField7$outboundSchema;
2289
+ /** @deprecated use `FieldUpdateDocumentFieldField7$Outbound` instead. */
2290
+ export type Outbound = FieldUpdateDocumentFieldField7$Outbound;
2291
+ }
2292
+
2293
+ export function fieldUpdateDocumentFieldField7ToJSON(
2294
+ fieldUpdateDocumentFieldField7: FieldUpdateDocumentFieldField7,
2295
+ ): string {
2296
+ return JSON.stringify(
2297
+ FieldUpdateDocumentFieldField7$outboundSchema.parse(
2298
+ fieldUpdateDocumentFieldField7,
2299
+ ),
2300
+ );
2301
+ }
2302
+
2303
+ export function fieldUpdateDocumentFieldField7FromJSON(
2304
+ jsonString: string,
2305
+ ): SafeParseResult<FieldUpdateDocumentFieldField7, SDKValidationError> {
2306
+ return safeParse(
2307
+ jsonString,
2308
+ (x) => FieldUpdateDocumentFieldField7$inboundSchema.parse(JSON.parse(x)),
2309
+ `Failed to parse 'FieldUpdateDocumentFieldField7' from JSON`,
2310
+ );
2311
+ }
2312
+
2313
+ /** @internal */
2314
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$inboundSchema:
2315
+ z.ZodNativeEnum<
2316
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type
2317
+ > = z.nativeEnum(
2318
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type,
2319
+ );
2320
+
2321
+ /** @internal */
2322
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$outboundSchema:
2323
+ z.ZodNativeEnum<
2324
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type
2325
+ > =
2326
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$inboundSchema;
2327
+
2328
+ /**
2329
+ * @internal
2330
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2331
+ */
2332
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$ {
2333
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$inboundSchema` instead. */
2334
+ export const inboundSchema =
2335
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$inboundSchema;
2336
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$outboundSchema` instead. */
2337
+ export const outboundSchema =
2338
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$outboundSchema;
2339
+ }
2340
+
2341
+ /** @internal */
2342
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$inboundSchema:
2343
+ z.ZodNativeEnum<
2344
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType
2345
+ > = z.nativeEnum(
2346
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType,
2347
+ );
2348
+
2349
+ /** @internal */
2350
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$outboundSchema:
2351
+ z.ZodNativeEnum<
2352
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType
2353
+ > =
2354
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$inboundSchema;
2355
+
2356
+ /**
2357
+ * @internal
2358
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2359
+ */
2360
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$ {
2361
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$inboundSchema` instead. */
2362
+ export const inboundSchema =
2363
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$inboundSchema;
2364
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$outboundSchema` instead. */
2365
+ export const outboundSchema =
2366
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$outboundSchema;
2367
+ }
2368
+
2369
+ /** @internal */
2370
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$inboundSchema:
2371
+ z.ZodType<
2372
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta,
2373
+ z.ZodTypeDef,
2374
+ unknown
2375
+ > = z.object({
2376
+ label: z.string().optional(),
2377
+ placeholder: z.string().optional(),
2378
+ required: z.boolean().optional(),
2379
+ readOnly: z.boolean().optional(),
2380
+ type:
2381
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$inboundSchema,
2382
+ fontSize: z.number().optional(),
2383
+ });
2384
+
2385
+ /** @internal */
2386
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$Outbound =
2387
+ {
2388
+ label?: string | undefined;
2389
+ placeholder?: string | undefined;
2390
+ required?: boolean | undefined;
2391
+ readOnly?: boolean | undefined;
2392
+ type: string;
2393
+ fontSize?: number | undefined;
2394
+ };
2395
+
2396
+ /** @internal */
2397
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$outboundSchema:
2398
+ z.ZodType<
2399
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$Outbound,
2400
+ z.ZodTypeDef,
2401
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta
2402
+ > = z.object({
2403
+ label: z.string().optional(),
2404
+ placeholder: z.string().optional(),
2405
+ required: z.boolean().optional(),
2406
+ readOnly: z.boolean().optional(),
2407
+ type:
2408
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6FieldMetaType$outboundSchema,
2409
+ fontSize: z.number().optional(),
2410
+ });
2411
+
2412
+ /**
2413
+ * @internal
2414
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2415
+ */
2416
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$ {
2417
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$inboundSchema` instead. */
2418
+ export const inboundSchema =
2419
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$inboundSchema;
2420
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$outboundSchema` instead. */
2421
+ export const outboundSchema =
2422
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$outboundSchema;
2423
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$Outbound` instead. */
2424
+ export type Outbound =
2425
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$Outbound;
2426
+ }
2427
+
2428
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMetaToJSON(
2429
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta:
2430
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta,
2431
+ ): string {
2432
+ return JSON.stringify(
2433
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$outboundSchema
2434
+ .parse(
2435
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta,
2436
+ ),
2437
+ );
2438
+ }
2439
+
2440
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMetaFromJSON(
2441
+ jsonString: string,
2442
+ ): SafeParseResult<
2443
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta,
2444
+ SDKValidationError
2445
+ > {
2446
+ return safeParse(
2447
+ jsonString,
2448
+ (x) =>
2449
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$inboundSchema
2450
+ .parse(JSON.parse(x)),
2451
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta' from JSON`,
2452
+ );
2453
+ }
2454
+
2455
+ /** @internal */
2456
+ export const FieldUpdateDocumentFieldField6$inboundSchema: z.ZodType<
2457
+ FieldUpdateDocumentFieldField6,
2458
+ z.ZodTypeDef,
2459
+ unknown
2460
+ > = z.object({
2461
+ type:
2462
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$inboundSchema,
2463
+ fieldMeta: z.lazy(() =>
2464
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$inboundSchema
2465
+ ).optional(),
2466
+ id: z.number(),
2467
+ pageNumber: z.number().optional(),
2468
+ pageX: z.number().optional(),
2469
+ pageY: z.number().optional(),
2470
+ width: z.number().optional(),
2471
+ height: z.number().optional(),
2472
+ });
2473
+
2474
+ /** @internal */
2475
+ export type FieldUpdateDocumentFieldField6$Outbound = {
2476
+ type: string;
2477
+ fieldMeta?:
2478
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$Outbound
2479
+ | undefined;
2480
+ id: number;
2481
+ pageNumber?: number | undefined;
2482
+ pageX?: number | undefined;
2483
+ pageY?: number | undefined;
2484
+ width?: number | undefined;
2485
+ height?: number | undefined;
2486
+ };
2487
+
2488
+ /** @internal */
2489
+ export const FieldUpdateDocumentFieldField6$outboundSchema: z.ZodType<
2490
+ FieldUpdateDocumentFieldField6$Outbound,
2491
+ z.ZodTypeDef,
2492
+ FieldUpdateDocumentFieldField6
2493
+ > = z.object({
2494
+ type:
2495
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody6Type$outboundSchema,
2496
+ fieldMeta: z.lazy(() =>
2497
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyFieldMeta$outboundSchema
2498
+ ).optional(),
2499
+ id: z.number(),
2500
+ pageNumber: z.number().optional(),
2501
+ pageX: z.number().optional(),
2502
+ pageY: z.number().optional(),
2503
+ width: z.number().optional(),
2504
+ height: z.number().optional(),
2505
+ });
2506
+
2507
+ /**
2508
+ * @internal
2509
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2510
+ */
2511
+ export namespace FieldUpdateDocumentFieldField6$ {
2512
+ /** @deprecated use `FieldUpdateDocumentFieldField6$inboundSchema` instead. */
2513
+ export const inboundSchema = FieldUpdateDocumentFieldField6$inboundSchema;
2514
+ /** @deprecated use `FieldUpdateDocumentFieldField6$outboundSchema` instead. */
2515
+ export const outboundSchema = FieldUpdateDocumentFieldField6$outboundSchema;
2516
+ /** @deprecated use `FieldUpdateDocumentFieldField6$Outbound` instead. */
2517
+ export type Outbound = FieldUpdateDocumentFieldField6$Outbound;
2518
+ }
2519
+
2520
+ export function fieldUpdateDocumentFieldField6ToJSON(
2521
+ fieldUpdateDocumentFieldField6: FieldUpdateDocumentFieldField6,
2522
+ ): string {
2523
+ return JSON.stringify(
2524
+ FieldUpdateDocumentFieldField6$outboundSchema.parse(
2525
+ fieldUpdateDocumentFieldField6,
2526
+ ),
2527
+ );
2528
+ }
2529
+
2530
+ export function fieldUpdateDocumentFieldField6FromJSON(
2531
+ jsonString: string,
2532
+ ): SafeParseResult<FieldUpdateDocumentFieldField6, SDKValidationError> {
2533
+ return safeParse(
2534
+ jsonString,
2535
+ (x) => FieldUpdateDocumentFieldField6$inboundSchema.parse(JSON.parse(x)),
2536
+ `Failed to parse 'FieldUpdateDocumentFieldField6' from JSON`,
2537
+ );
2538
+ }
2539
+
2540
+ /** @internal */
2541
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$inboundSchema:
2542
+ z.ZodNativeEnum<
2543
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type
2544
+ > = z.nativeEnum(
2545
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type,
2546
+ );
2547
+
2548
+ /** @internal */
2549
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$outboundSchema:
2550
+ z.ZodNativeEnum<
2551
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type
2552
+ > =
2553
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$inboundSchema;
2554
+
2555
+ /**
2556
+ * @internal
2557
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2558
+ */
2559
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$ {
2560
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$inboundSchema` instead. */
2561
+ export const inboundSchema =
2562
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$inboundSchema;
2563
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$outboundSchema` instead. */
2564
+ export const outboundSchema =
2565
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$outboundSchema;
2566
+ }
2567
+
2568
+ /** @internal */
2569
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$inboundSchema:
2570
+ z.ZodNativeEnum<
2571
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType
2572
+ > = z.nativeEnum(
2573
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType,
2574
+ );
2575
+
2576
+ /** @internal */
2577
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$outboundSchema:
2578
+ z.ZodNativeEnum<
2579
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType
2580
+ > =
2581
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$inboundSchema;
2582
+
2583
+ /**
2584
+ * @internal
2585
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2586
+ */
2587
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$ {
2588
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$inboundSchema` instead. */
2589
+ export const inboundSchema =
2590
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$inboundSchema;
2591
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$outboundSchema` instead. */
2592
+ export const outboundSchema =
2593
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$outboundSchema;
2594
+ }
2595
+
2596
+ /** @internal */
2597
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$inboundSchema:
2598
+ z.ZodType<
2599
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta,
2600
+ z.ZodTypeDef,
2601
+ unknown
2602
+ > = z.object({
2603
+ label: z.string().optional(),
2604
+ placeholder: z.string().optional(),
2605
+ required: z.boolean().optional(),
2606
+ readOnly: z.boolean().optional(),
2607
+ type:
2608
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$inboundSchema,
2609
+ fontSize: z.number().optional(),
2610
+ });
2611
+
2612
+ /** @internal */
2613
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$Outbound =
2614
+ {
2615
+ label?: string | undefined;
2616
+ placeholder?: string | undefined;
2617
+ required?: boolean | undefined;
2618
+ readOnly?: boolean | undefined;
2619
+ type: string;
2620
+ fontSize?: number | undefined;
2621
+ };
2622
+
2623
+ /** @internal */
2624
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$outboundSchema:
2625
+ z.ZodType<
2626
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$Outbound,
2627
+ z.ZodTypeDef,
2628
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta
2629
+ > = z.object({
2630
+ label: z.string().optional(),
2631
+ placeholder: z.string().optional(),
2632
+ required: z.boolean().optional(),
2633
+ readOnly: z.boolean().optional(),
2634
+ type:
2635
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5FieldMetaType$outboundSchema,
2636
+ fontSize: z.number().optional(),
2637
+ });
2638
+
2639
+ /**
2640
+ * @internal
2641
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2642
+ */
2643
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$ {
2644
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$inboundSchema` instead. */
2645
+ export const inboundSchema =
2646
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$inboundSchema;
2647
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$outboundSchema` instead. */
2648
+ export const outboundSchema =
2649
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$outboundSchema;
2650
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$Outbound` instead. */
2651
+ export type Outbound =
2652
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$Outbound;
2653
+ }
2654
+
2655
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMetaToJSON(
2656
+ fieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta:
2657
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta,
2658
+ ): string {
2659
+ return JSON.stringify(
2660
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$outboundSchema
2661
+ .parse(fieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta),
2662
+ );
2663
+ }
2664
+
2665
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMetaFromJSON(
2666
+ jsonString: string,
2667
+ ): SafeParseResult<
2668
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta,
2669
+ SDKValidationError
2670
+ > {
2671
+ return safeParse(
2672
+ jsonString,
2673
+ (x) =>
2674
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$inboundSchema
2675
+ .parse(JSON.parse(x)),
2676
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta' from JSON`,
2677
+ );
2678
+ }
2679
+
2680
+ /** @internal */
2681
+ export const FieldUpdateDocumentFieldField5$inboundSchema: z.ZodType<
2682
+ FieldUpdateDocumentFieldField5,
2683
+ z.ZodTypeDef,
2684
+ unknown
2685
+ > = z.object({
2686
+ type:
2687
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$inboundSchema,
2688
+ fieldMeta: z.lazy(() =>
2689
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$inboundSchema
2690
+ ).optional(),
2691
+ id: z.number(),
2692
+ pageNumber: z.number().optional(),
2693
+ pageX: z.number().optional(),
2694
+ pageY: z.number().optional(),
2695
+ width: z.number().optional(),
2696
+ height: z.number().optional(),
2697
+ });
2698
+
2699
+ /** @internal */
2700
+ export type FieldUpdateDocumentFieldField5$Outbound = {
2701
+ type: string;
2702
+ fieldMeta?:
2703
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$Outbound
2704
+ | undefined;
2705
+ id: number;
2706
+ pageNumber?: number | undefined;
2707
+ pageX?: number | undefined;
2708
+ pageY?: number | undefined;
2709
+ width?: number | undefined;
2710
+ height?: number | undefined;
2711
+ };
2712
+
2713
+ /** @internal */
2714
+ export const FieldUpdateDocumentFieldField5$outboundSchema: z.ZodType<
2715
+ FieldUpdateDocumentFieldField5$Outbound,
2716
+ z.ZodTypeDef,
2717
+ FieldUpdateDocumentFieldField5
2718
+ > = z.object({
2719
+ type:
2720
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody5Type$outboundSchema,
2721
+ fieldMeta: z.lazy(() =>
2722
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestFieldMeta$outboundSchema
2723
+ ).optional(),
2724
+ id: z.number(),
2725
+ pageNumber: z.number().optional(),
2726
+ pageX: z.number().optional(),
2727
+ pageY: z.number().optional(),
2728
+ width: z.number().optional(),
2729
+ height: z.number().optional(),
2730
+ });
2731
+
2732
+ /**
2733
+ * @internal
2734
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2735
+ */
2736
+ export namespace FieldUpdateDocumentFieldField5$ {
2737
+ /** @deprecated use `FieldUpdateDocumentFieldField5$inboundSchema` instead. */
2738
+ export const inboundSchema = FieldUpdateDocumentFieldField5$inboundSchema;
2739
+ /** @deprecated use `FieldUpdateDocumentFieldField5$outboundSchema` instead. */
2740
+ export const outboundSchema = FieldUpdateDocumentFieldField5$outboundSchema;
2741
+ /** @deprecated use `FieldUpdateDocumentFieldField5$Outbound` instead. */
2742
+ export type Outbound = FieldUpdateDocumentFieldField5$Outbound;
2743
+ }
2744
+
2745
+ export function fieldUpdateDocumentFieldField5ToJSON(
2746
+ fieldUpdateDocumentFieldField5: FieldUpdateDocumentFieldField5,
2747
+ ): string {
2748
+ return JSON.stringify(
2749
+ FieldUpdateDocumentFieldField5$outboundSchema.parse(
2750
+ fieldUpdateDocumentFieldField5,
2751
+ ),
2752
+ );
2753
+ }
2754
+
2755
+ export function fieldUpdateDocumentFieldField5FromJSON(
2756
+ jsonString: string,
2757
+ ): SafeParseResult<FieldUpdateDocumentFieldField5, SDKValidationError> {
2758
+ return safeParse(
2759
+ jsonString,
2760
+ (x) => FieldUpdateDocumentFieldField5$inboundSchema.parse(JSON.parse(x)),
2761
+ `Failed to parse 'FieldUpdateDocumentFieldField5' from JSON`,
2762
+ );
2763
+ }
2764
+
2765
+ /** @internal */
2766
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$inboundSchema:
2767
+ z.ZodNativeEnum<
2768
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type
2769
+ > = z.nativeEnum(
2770
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type,
2771
+ );
2772
+
2773
+ /** @internal */
2774
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$outboundSchema:
2775
+ z.ZodNativeEnum<
2776
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type
2777
+ > =
2778
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$inboundSchema;
2779
+
2780
+ /**
2781
+ * @internal
2782
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2783
+ */
2784
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$ {
2785
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$inboundSchema` instead. */
2786
+ export const inboundSchema =
2787
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$inboundSchema;
2788
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$outboundSchema` instead. */
2789
+ export const outboundSchema =
2790
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$outboundSchema;
2791
+ }
2792
+
2793
+ /** @internal */
2794
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$inboundSchema:
2795
+ z.ZodNativeEnum<
2796
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType
2797
+ > = z.nativeEnum(
2798
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType,
2799
+ );
2800
+
2801
+ /** @internal */
2802
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$outboundSchema:
2803
+ z.ZodNativeEnum<
2804
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType
2805
+ > =
2806
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$inboundSchema;
2807
+
2808
+ /**
2809
+ * @internal
2810
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2811
+ */
2812
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$ {
2813
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$inboundSchema` instead. */
2814
+ export const inboundSchema =
2815
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$inboundSchema;
2816
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$outboundSchema` instead. */
2817
+ export const outboundSchema =
2818
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$outboundSchema;
2819
+ }
2820
+
2821
+ /** @internal */
2822
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$inboundSchema:
2823
+ z.ZodType<
2824
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta,
2825
+ z.ZodTypeDef,
2826
+ unknown
2827
+ > = z.object({
2828
+ label: z.string().optional(),
2829
+ placeholder: z.string().optional(),
2830
+ required: z.boolean().optional(),
2831
+ readOnly: z.boolean().optional(),
2832
+ type:
2833
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$inboundSchema,
2834
+ fontSize: z.number().optional(),
2835
+ });
2836
+
2837
+ /** @internal */
2838
+ export type FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$Outbound = {
2839
+ label?: string | undefined;
2840
+ placeholder?: string | undefined;
2841
+ required?: boolean | undefined;
2842
+ readOnly?: boolean | undefined;
2843
+ type: string;
2844
+ fontSize?: number | undefined;
2845
+ };
2846
+
2847
+ /** @internal */
2848
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$outboundSchema:
2849
+ z.ZodType<
2850
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$Outbound,
2851
+ z.ZodTypeDef,
2852
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta
2853
+ > = z.object({
2854
+ label: z.string().optional(),
2855
+ placeholder: z.string().optional(),
2856
+ required: z.boolean().optional(),
2857
+ readOnly: z.boolean().optional(),
2858
+ type:
2859
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4FieldMetaType$outboundSchema,
2860
+ fontSize: z.number().optional(),
2861
+ });
2862
+
2863
+ /**
2864
+ * @internal
2865
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2866
+ */
2867
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$ {
2868
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$inboundSchema` instead. */
2869
+ export const inboundSchema =
2870
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$inboundSchema;
2871
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$outboundSchema` instead. */
2872
+ export const outboundSchema =
2873
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$outboundSchema;
2874
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$Outbound` instead. */
2875
+ export type Outbound =
2876
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$Outbound;
2877
+ }
2878
+
2879
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsFieldMetaToJSON(
2880
+ fieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta:
2881
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta,
2882
+ ): string {
2883
+ return JSON.stringify(
2884
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$outboundSchema.parse(
2885
+ fieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta,
2886
+ ),
2887
+ );
2888
+ }
2889
+
2890
+ export function fieldUpdateDocumentFieldFieldDocumentsFieldsFieldMetaFromJSON(
2891
+ jsonString: string,
2892
+ ): SafeParseResult<
2893
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta,
2894
+ SDKValidationError
2895
+ > {
2896
+ return safeParse(
2897
+ jsonString,
2898
+ (x) =>
2899
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$inboundSchema.parse(
2900
+ JSON.parse(x),
2901
+ ),
2902
+ `Failed to parse 'FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta' from JSON`,
2903
+ );
2904
+ }
2905
+
2906
+ /** @internal */
2907
+ export const FieldUpdateDocumentFieldField4$inboundSchema: z.ZodType<
2908
+ FieldUpdateDocumentFieldField4,
2909
+ z.ZodTypeDef,
2910
+ unknown
2911
+ > = z.object({
2912
+ type:
2913
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$inboundSchema,
2914
+ fieldMeta: z.lazy(() =>
2915
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$inboundSchema
2916
+ ).optional(),
2917
+ id: z.number(),
2918
+ pageNumber: z.number().optional(),
2919
+ pageX: z.number().optional(),
2920
+ pageY: z.number().optional(),
2921
+ width: z.number().optional(),
2922
+ height: z.number().optional(),
2923
+ });
2924
+
2925
+ /** @internal */
2926
+ export type FieldUpdateDocumentFieldField4$Outbound = {
2927
+ type: string;
2928
+ fieldMeta?:
2929
+ | FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$Outbound
2930
+ | undefined;
2931
+ id: number;
2932
+ pageNumber?: number | undefined;
2933
+ pageX?: number | undefined;
2934
+ pageY?: number | undefined;
2935
+ width?: number | undefined;
2936
+ height?: number | undefined;
2937
+ };
2938
+
2939
+ /** @internal */
2940
+ export const FieldUpdateDocumentFieldField4$outboundSchema: z.ZodType<
2941
+ FieldUpdateDocumentFieldField4$Outbound,
2942
+ z.ZodTypeDef,
2943
+ FieldUpdateDocumentFieldField4
2944
+ > = z.object({
2945
+ type:
2946
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBody4Type$outboundSchema,
2947
+ fieldMeta: z.lazy(() =>
2948
+ FieldUpdateDocumentFieldFieldDocumentsFieldsFieldMeta$outboundSchema
2949
+ ).optional(),
2950
+ id: z.number(),
2951
+ pageNumber: z.number().optional(),
2952
+ pageX: z.number().optional(),
2953
+ pageY: z.number().optional(),
2954
+ width: z.number().optional(),
2955
+ height: z.number().optional(),
2956
+ });
2957
+
2958
+ /**
2959
+ * @internal
2960
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
2961
+ */
2962
+ export namespace FieldUpdateDocumentFieldField4$ {
2963
+ /** @deprecated use `FieldUpdateDocumentFieldField4$inboundSchema` instead. */
2964
+ export const inboundSchema = FieldUpdateDocumentFieldField4$inboundSchema;
2965
+ /** @deprecated use `FieldUpdateDocumentFieldField4$outboundSchema` instead. */
2966
+ export const outboundSchema = FieldUpdateDocumentFieldField4$outboundSchema;
2967
+ /** @deprecated use `FieldUpdateDocumentFieldField4$Outbound` instead. */
2968
+ export type Outbound = FieldUpdateDocumentFieldField4$Outbound;
2969
+ }
2970
+
2971
+ export function fieldUpdateDocumentFieldField4ToJSON(
2972
+ fieldUpdateDocumentFieldField4: FieldUpdateDocumentFieldField4,
2973
+ ): string {
2974
+ return JSON.stringify(
2975
+ FieldUpdateDocumentFieldField4$outboundSchema.parse(
2976
+ fieldUpdateDocumentFieldField4,
2977
+ ),
2978
+ );
2979
+ }
2980
+
2981
+ export function fieldUpdateDocumentFieldField4FromJSON(
2982
+ jsonString: string,
2983
+ ): SafeParseResult<FieldUpdateDocumentFieldField4, SDKValidationError> {
2984
+ return safeParse(
2985
+ jsonString,
2986
+ (x) => FieldUpdateDocumentFieldField4$inboundSchema.parse(JSON.parse(x)),
2987
+ `Failed to parse 'FieldUpdateDocumentFieldField4' from JSON`,
2988
+ );
2989
+ }
2990
+
2991
+ /** @internal */
2992
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$inboundSchema:
2993
+ z.ZodNativeEnum<
2994
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType
2995
+ > = z.nativeEnum(FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType);
2996
+
2997
+ /** @internal */
2998
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$outboundSchema:
2999
+ z.ZodNativeEnum<
3000
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType
3001
+ > = FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$inboundSchema;
3002
+
3003
+ /**
3004
+ * @internal
3005
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3006
+ */
3007
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$ {
3008
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$inboundSchema` instead. */
3009
+ export const inboundSchema =
3010
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$inboundSchema;
3011
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$outboundSchema` instead. */
3012
+ export const outboundSchema =
3013
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$outboundSchema;
3014
+ }
3015
+
3016
+ /** @internal */
3017
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$inboundSchema:
3018
+ z.ZodNativeEnum<
3019
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType
3020
+ > = z.nativeEnum(
3021
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType,
3022
+ );
3023
+
3024
+ /** @internal */
3025
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$outboundSchema:
3026
+ z.ZodNativeEnum<
3027
+ typeof FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType
3028
+ > =
3029
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$inboundSchema;
3030
+
3031
+ /**
3032
+ * @internal
3033
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3034
+ */
3035
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$ {
3036
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$inboundSchema` instead. */
3037
+ export const inboundSchema =
3038
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$inboundSchema;
3039
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$outboundSchema` instead. */
3040
+ export const outboundSchema =
3041
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$outboundSchema;
3042
+ }
3043
+
3044
+ /** @internal */
3045
+ export const FieldUpdateDocumentFieldFieldFieldMeta$inboundSchema: z.ZodType<
3046
+ FieldUpdateDocumentFieldFieldFieldMeta,
3047
+ z.ZodTypeDef,
3048
+ unknown
3049
+ > = z.object({
3050
+ label: z.string().optional(),
3051
+ placeholder: z.string().optional(),
3052
+ required: z.boolean().optional(),
3053
+ readOnly: z.boolean().optional(),
3054
+ type:
3055
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$inboundSchema,
3056
+ fontSize: z.number().optional(),
3057
+ });
3058
+
3059
+ /** @internal */
3060
+ export type FieldUpdateDocumentFieldFieldFieldMeta$Outbound = {
3061
+ label?: string | undefined;
3062
+ placeholder?: string | undefined;
3063
+ required?: boolean | undefined;
3064
+ readOnly?: boolean | undefined;
3065
+ type: string;
3066
+ fontSize?: number | undefined;
3067
+ };
3068
+
3069
+ /** @internal */
3070
+ export const FieldUpdateDocumentFieldFieldFieldMeta$outboundSchema: z.ZodType<
3071
+ FieldUpdateDocumentFieldFieldFieldMeta$Outbound,
3072
+ z.ZodTypeDef,
3073
+ FieldUpdateDocumentFieldFieldFieldMeta
3074
+ > = z.object({
3075
+ label: z.string().optional(),
3076
+ placeholder: z.string().optional(),
3077
+ required: z.boolean().optional(),
3078
+ readOnly: z.boolean().optional(),
3079
+ type:
3080
+ FieldUpdateDocumentFieldFieldDocumentsFieldsRequestRequestBodyType$outboundSchema,
3081
+ fontSize: z.number().optional(),
3082
+ });
3083
+
3084
+ /**
3085
+ * @internal
3086
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3087
+ */
3088
+ export namespace FieldUpdateDocumentFieldFieldFieldMeta$ {
3089
+ /** @deprecated use `FieldUpdateDocumentFieldFieldFieldMeta$inboundSchema` instead. */
3090
+ export const inboundSchema =
3091
+ FieldUpdateDocumentFieldFieldFieldMeta$inboundSchema;
3092
+ /** @deprecated use `FieldUpdateDocumentFieldFieldFieldMeta$outboundSchema` instead. */
3093
+ export const outboundSchema =
3094
+ FieldUpdateDocumentFieldFieldFieldMeta$outboundSchema;
3095
+ /** @deprecated use `FieldUpdateDocumentFieldFieldFieldMeta$Outbound` instead. */
3096
+ export type Outbound = FieldUpdateDocumentFieldFieldFieldMeta$Outbound;
3097
+ }
3098
+
3099
+ export function fieldUpdateDocumentFieldFieldFieldMetaToJSON(
3100
+ fieldUpdateDocumentFieldFieldFieldMeta:
3101
+ FieldUpdateDocumentFieldFieldFieldMeta,
3102
+ ): string {
3103
+ return JSON.stringify(
3104
+ FieldUpdateDocumentFieldFieldFieldMeta$outboundSchema.parse(
3105
+ fieldUpdateDocumentFieldFieldFieldMeta,
3106
+ ),
3107
+ );
3108
+ }
3109
+
3110
+ export function fieldUpdateDocumentFieldFieldFieldMetaFromJSON(
3111
+ jsonString: string,
3112
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldFieldMeta, SDKValidationError> {
3113
+ return safeParse(
3114
+ jsonString,
3115
+ (x) =>
3116
+ FieldUpdateDocumentFieldFieldFieldMeta$inboundSchema.parse(JSON.parse(x)),
3117
+ `Failed to parse 'FieldUpdateDocumentFieldFieldFieldMeta' from JSON`,
3118
+ );
3119
+ }
3120
+
3121
+ /** @internal */
3122
+ export const FieldUpdateDocumentFieldField3$inboundSchema: z.ZodType<
3123
+ FieldUpdateDocumentFieldField3,
3124
+ z.ZodTypeDef,
3125
+ unknown
3126
+ > = z.object({
3127
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$inboundSchema,
3128
+ fieldMeta: z.lazy(() => FieldUpdateDocumentFieldFieldFieldMeta$inboundSchema)
3129
+ .optional(),
3130
+ id: z.number(),
3131
+ pageNumber: z.number().optional(),
3132
+ pageX: z.number().optional(),
3133
+ pageY: z.number().optional(),
3134
+ width: z.number().optional(),
3135
+ height: z.number().optional(),
3136
+ });
3137
+
3138
+ /** @internal */
3139
+ export type FieldUpdateDocumentFieldField3$Outbound = {
3140
+ type: string;
3141
+ fieldMeta?: FieldUpdateDocumentFieldFieldFieldMeta$Outbound | undefined;
3142
+ id: number;
3143
+ pageNumber?: number | undefined;
3144
+ pageX?: number | undefined;
3145
+ pageY?: number | undefined;
3146
+ width?: number | undefined;
3147
+ height?: number | undefined;
3148
+ };
3149
+
3150
+ /** @internal */
3151
+ export const FieldUpdateDocumentFieldField3$outboundSchema: z.ZodType<
3152
+ FieldUpdateDocumentFieldField3$Outbound,
3153
+ z.ZodTypeDef,
3154
+ FieldUpdateDocumentFieldField3
3155
+ > = z.object({
3156
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsRequestType$outboundSchema,
3157
+ fieldMeta: z.lazy(() => FieldUpdateDocumentFieldFieldFieldMeta$outboundSchema)
3158
+ .optional(),
3159
+ id: z.number(),
3160
+ pageNumber: z.number().optional(),
3161
+ pageX: z.number().optional(),
3162
+ pageY: z.number().optional(),
3163
+ width: z.number().optional(),
3164
+ height: z.number().optional(),
3165
+ });
3166
+
3167
+ /**
3168
+ * @internal
3169
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3170
+ */
3171
+ export namespace FieldUpdateDocumentFieldField3$ {
3172
+ /** @deprecated use `FieldUpdateDocumentFieldField3$inboundSchema` instead. */
3173
+ export const inboundSchema = FieldUpdateDocumentFieldField3$inboundSchema;
3174
+ /** @deprecated use `FieldUpdateDocumentFieldField3$outboundSchema` instead. */
3175
+ export const outboundSchema = FieldUpdateDocumentFieldField3$outboundSchema;
3176
+ /** @deprecated use `FieldUpdateDocumentFieldField3$Outbound` instead. */
3177
+ export type Outbound = FieldUpdateDocumentFieldField3$Outbound;
3178
+ }
3179
+
3180
+ export function fieldUpdateDocumentFieldField3ToJSON(
3181
+ fieldUpdateDocumentFieldField3: FieldUpdateDocumentFieldField3,
3182
+ ): string {
3183
+ return JSON.stringify(
3184
+ FieldUpdateDocumentFieldField3$outboundSchema.parse(
3185
+ fieldUpdateDocumentFieldField3,
3186
+ ),
3187
+ );
3188
+ }
3189
+
3190
+ export function fieldUpdateDocumentFieldField3FromJSON(
3191
+ jsonString: string,
3192
+ ): SafeParseResult<FieldUpdateDocumentFieldField3, SDKValidationError> {
3193
+ return safeParse(
3194
+ jsonString,
3195
+ (x) => FieldUpdateDocumentFieldField3$inboundSchema.parse(JSON.parse(x)),
3196
+ `Failed to parse 'FieldUpdateDocumentFieldField3' from JSON`,
3197
+ );
3198
+ }
3199
+
3200
+ /** @internal */
3201
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsType$inboundSchema:
3202
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldFieldDocumentsFieldsType> = z
3203
+ .nativeEnum(FieldUpdateDocumentFieldFieldDocumentsFieldsType);
3204
+
3205
+ /** @internal */
3206
+ export const FieldUpdateDocumentFieldFieldDocumentsFieldsType$outboundSchema:
3207
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldFieldDocumentsFieldsType> =
3208
+ FieldUpdateDocumentFieldFieldDocumentsFieldsType$inboundSchema;
3209
+
3210
+ /**
3211
+ * @internal
3212
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3213
+ */
3214
+ export namespace FieldUpdateDocumentFieldFieldDocumentsFieldsType$ {
3215
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsType$inboundSchema` instead. */
3216
+ export const inboundSchema =
3217
+ FieldUpdateDocumentFieldFieldDocumentsFieldsType$inboundSchema;
3218
+ /** @deprecated use `FieldUpdateDocumentFieldFieldDocumentsFieldsType$outboundSchema` instead. */
3219
+ export const outboundSchema =
3220
+ FieldUpdateDocumentFieldFieldDocumentsFieldsType$outboundSchema;
3221
+ }
3222
+
3223
+ /** @internal */
3224
+ export const FieldUpdateDocumentFieldField2$inboundSchema: z.ZodType<
3225
+ FieldUpdateDocumentFieldField2,
3226
+ z.ZodTypeDef,
3227
+ unknown
3228
+ > = z.object({
3229
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsType$inboundSchema,
3230
+ id: z.number(),
3231
+ pageNumber: z.number().optional(),
3232
+ pageX: z.number().optional(),
3233
+ pageY: z.number().optional(),
3234
+ width: z.number().optional(),
3235
+ height: z.number().optional(),
3236
+ });
3237
+
3238
+ /** @internal */
3239
+ export type FieldUpdateDocumentFieldField2$Outbound = {
3240
+ type: string;
3241
+ id: number;
3242
+ pageNumber?: number | undefined;
3243
+ pageX?: number | undefined;
3244
+ pageY?: number | undefined;
3245
+ width?: number | undefined;
3246
+ height?: number | undefined;
3247
+ };
3248
+
3249
+ /** @internal */
3250
+ export const FieldUpdateDocumentFieldField2$outboundSchema: z.ZodType<
3251
+ FieldUpdateDocumentFieldField2$Outbound,
3252
+ z.ZodTypeDef,
3253
+ FieldUpdateDocumentFieldField2
3254
+ > = z.object({
3255
+ type: FieldUpdateDocumentFieldFieldDocumentsFieldsType$outboundSchema,
3256
+ id: z.number(),
3257
+ pageNumber: z.number().optional(),
3258
+ pageX: z.number().optional(),
3259
+ pageY: z.number().optional(),
3260
+ width: z.number().optional(),
3261
+ height: z.number().optional(),
3262
+ });
3263
+
3264
+ /**
3265
+ * @internal
3266
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3267
+ */
3268
+ export namespace FieldUpdateDocumentFieldField2$ {
3269
+ /** @deprecated use `FieldUpdateDocumentFieldField2$inboundSchema` instead. */
3270
+ export const inboundSchema = FieldUpdateDocumentFieldField2$inboundSchema;
3271
+ /** @deprecated use `FieldUpdateDocumentFieldField2$outboundSchema` instead. */
3272
+ export const outboundSchema = FieldUpdateDocumentFieldField2$outboundSchema;
3273
+ /** @deprecated use `FieldUpdateDocumentFieldField2$Outbound` instead. */
3274
+ export type Outbound = FieldUpdateDocumentFieldField2$Outbound;
3275
+ }
3276
+
3277
+ export function fieldUpdateDocumentFieldField2ToJSON(
3278
+ fieldUpdateDocumentFieldField2: FieldUpdateDocumentFieldField2,
3279
+ ): string {
3280
+ return JSON.stringify(
3281
+ FieldUpdateDocumentFieldField2$outboundSchema.parse(
3282
+ fieldUpdateDocumentFieldField2,
3283
+ ),
3284
+ );
3285
+ }
3286
+
3287
+ export function fieldUpdateDocumentFieldField2FromJSON(
3288
+ jsonString: string,
3289
+ ): SafeParseResult<FieldUpdateDocumentFieldField2, SDKValidationError> {
3290
+ return safeParse(
3291
+ jsonString,
3292
+ (x) => FieldUpdateDocumentFieldField2$inboundSchema.parse(JSON.parse(x)),
3293
+ `Failed to parse 'FieldUpdateDocumentFieldField2' from JSON`,
3294
+ );
3295
+ }
3296
+
3297
+ /** @internal */
3298
+ export const FieldUpdateDocumentFieldFieldType$inboundSchema: z.ZodNativeEnum<
3299
+ typeof FieldUpdateDocumentFieldFieldType
3300
+ > = z.nativeEnum(FieldUpdateDocumentFieldFieldType);
3301
+
3302
+ /** @internal */
3303
+ export const FieldUpdateDocumentFieldFieldType$outboundSchema: z.ZodNativeEnum<
3304
+ typeof FieldUpdateDocumentFieldFieldType
3305
+ > = FieldUpdateDocumentFieldFieldType$inboundSchema;
3306
+
3307
+ /**
3308
+ * @internal
3309
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3310
+ */
3311
+ export namespace FieldUpdateDocumentFieldFieldType$ {
3312
+ /** @deprecated use `FieldUpdateDocumentFieldFieldType$inboundSchema` instead. */
3313
+ export const inboundSchema = FieldUpdateDocumentFieldFieldType$inboundSchema;
3314
+ /** @deprecated use `FieldUpdateDocumentFieldFieldType$outboundSchema` instead. */
3315
+ export const outboundSchema =
3316
+ FieldUpdateDocumentFieldFieldType$outboundSchema;
3317
+ }
3318
+
3319
+ /** @internal */
3320
+ export const FieldUpdateDocumentFieldField1$inboundSchema: z.ZodType<
3321
+ FieldUpdateDocumentFieldField1,
3322
+ z.ZodTypeDef,
3323
+ unknown
3324
+ > = z.object({
3325
+ type: FieldUpdateDocumentFieldFieldType$inboundSchema,
3326
+ id: z.number(),
3327
+ pageNumber: z.number().optional(),
3328
+ pageX: z.number().optional(),
3329
+ pageY: z.number().optional(),
3330
+ width: z.number().optional(),
3331
+ height: z.number().optional(),
3332
+ });
3333
+
3334
+ /** @internal */
3335
+ export type FieldUpdateDocumentFieldField1$Outbound = {
3336
+ type: string;
3337
+ id: number;
3338
+ pageNumber?: number | undefined;
3339
+ pageX?: number | undefined;
3340
+ pageY?: number | undefined;
3341
+ width?: number | undefined;
3342
+ height?: number | undefined;
3343
+ };
3344
+
3345
+ /** @internal */
3346
+ export const FieldUpdateDocumentFieldField1$outboundSchema: z.ZodType<
3347
+ FieldUpdateDocumentFieldField1$Outbound,
3348
+ z.ZodTypeDef,
3349
+ FieldUpdateDocumentFieldField1
3350
+ > = z.object({
3351
+ type: FieldUpdateDocumentFieldFieldType$outboundSchema,
3352
+ id: z.number(),
3353
+ pageNumber: z.number().optional(),
3354
+ pageX: z.number().optional(),
3355
+ pageY: z.number().optional(),
3356
+ width: z.number().optional(),
3357
+ height: z.number().optional(),
3358
+ });
3359
+
3360
+ /**
3361
+ * @internal
3362
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3363
+ */
3364
+ export namespace FieldUpdateDocumentFieldField1$ {
3365
+ /** @deprecated use `FieldUpdateDocumentFieldField1$inboundSchema` instead. */
3366
+ export const inboundSchema = FieldUpdateDocumentFieldField1$inboundSchema;
3367
+ /** @deprecated use `FieldUpdateDocumentFieldField1$outboundSchema` instead. */
3368
+ export const outboundSchema = FieldUpdateDocumentFieldField1$outboundSchema;
3369
+ /** @deprecated use `FieldUpdateDocumentFieldField1$Outbound` instead. */
3370
+ export type Outbound = FieldUpdateDocumentFieldField1$Outbound;
3371
+ }
3372
+
3373
+ export function fieldUpdateDocumentFieldField1ToJSON(
3374
+ fieldUpdateDocumentFieldField1: FieldUpdateDocumentFieldField1,
3375
+ ): string {
3376
+ return JSON.stringify(
3377
+ FieldUpdateDocumentFieldField1$outboundSchema.parse(
3378
+ fieldUpdateDocumentFieldField1,
3379
+ ),
3380
+ );
3381
+ }
3382
+
3383
+ export function fieldUpdateDocumentFieldField1FromJSON(
3384
+ jsonString: string,
3385
+ ): SafeParseResult<FieldUpdateDocumentFieldField1, SDKValidationError> {
3386
+ return safeParse(
3387
+ jsonString,
3388
+ (x) => FieldUpdateDocumentFieldField1$inboundSchema.parse(JSON.parse(x)),
3389
+ `Failed to parse 'FieldUpdateDocumentFieldField1' from JSON`,
3390
+ );
3391
+ }
3392
+
3393
+ /** @internal */
3394
+ export const FieldUpdateDocumentFieldField$inboundSchema: z.ZodType<
3395
+ FieldUpdateDocumentFieldField,
3396
+ z.ZodTypeDef,
3397
+ unknown
3398
+ > = z.union([
3399
+ z.lazy(() => FieldUpdateDocumentFieldField1$inboundSchema),
3400
+ z.lazy(() => FieldUpdateDocumentFieldField2$inboundSchema),
3401
+ z.lazy(() => FieldUpdateDocumentFieldField3$inboundSchema),
3402
+ z.lazy(() => FieldUpdateDocumentFieldField4$inboundSchema),
3403
+ z.lazy(() => FieldUpdateDocumentFieldField5$inboundSchema),
3404
+ z.lazy(() => FieldUpdateDocumentFieldField6$inboundSchema),
3405
+ z.lazy(() => FieldUpdateDocumentFieldField7$inboundSchema),
3406
+ z.lazy(() => FieldUpdateDocumentFieldField8$inboundSchema),
3407
+ z.lazy(() => FieldUpdateDocumentFieldField9$inboundSchema),
3408
+ z.lazy(() => FieldUpdateDocumentFieldField10$inboundSchema),
3409
+ z.lazy(() => FieldUpdateDocumentFieldField11$inboundSchema),
3410
+ ]);
3411
+
3412
+ /** @internal */
3413
+ export type FieldUpdateDocumentFieldField$Outbound =
3414
+ | FieldUpdateDocumentFieldField1$Outbound
3415
+ | FieldUpdateDocumentFieldField2$Outbound
3416
+ | FieldUpdateDocumentFieldField3$Outbound
3417
+ | FieldUpdateDocumentFieldField4$Outbound
3418
+ | FieldUpdateDocumentFieldField5$Outbound
3419
+ | FieldUpdateDocumentFieldField6$Outbound
3420
+ | FieldUpdateDocumentFieldField7$Outbound
3421
+ | FieldUpdateDocumentFieldField8$Outbound
3422
+ | FieldUpdateDocumentFieldField9$Outbound
3423
+ | FieldUpdateDocumentFieldField10$Outbound
3424
+ | FieldUpdateDocumentFieldField11$Outbound;
3425
+
3426
+ /** @internal */
3427
+ export const FieldUpdateDocumentFieldField$outboundSchema: z.ZodType<
3428
+ FieldUpdateDocumentFieldField$Outbound,
3429
+ z.ZodTypeDef,
3430
+ FieldUpdateDocumentFieldField
3431
+ > = z.union([
3432
+ z.lazy(() => FieldUpdateDocumentFieldField1$outboundSchema),
3433
+ z.lazy(() => FieldUpdateDocumentFieldField2$outboundSchema),
3434
+ z.lazy(() => FieldUpdateDocumentFieldField3$outboundSchema),
3435
+ z.lazy(() => FieldUpdateDocumentFieldField4$outboundSchema),
3436
+ z.lazy(() => FieldUpdateDocumentFieldField5$outboundSchema),
3437
+ z.lazy(() => FieldUpdateDocumentFieldField6$outboundSchema),
3438
+ z.lazy(() => FieldUpdateDocumentFieldField7$outboundSchema),
3439
+ z.lazy(() => FieldUpdateDocumentFieldField8$outboundSchema),
3440
+ z.lazy(() => FieldUpdateDocumentFieldField9$outboundSchema),
3441
+ z.lazy(() => FieldUpdateDocumentFieldField10$outboundSchema),
3442
+ z.lazy(() => FieldUpdateDocumentFieldField11$outboundSchema),
3443
+ ]);
3444
+
3445
+ /**
3446
+ * @internal
3447
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3448
+ */
3449
+ export namespace FieldUpdateDocumentFieldField$ {
3450
+ /** @deprecated use `FieldUpdateDocumentFieldField$inboundSchema` instead. */
3451
+ export const inboundSchema = FieldUpdateDocumentFieldField$inboundSchema;
3452
+ /** @deprecated use `FieldUpdateDocumentFieldField$outboundSchema` instead. */
3453
+ export const outboundSchema = FieldUpdateDocumentFieldField$outboundSchema;
3454
+ /** @deprecated use `FieldUpdateDocumentFieldField$Outbound` instead. */
3455
+ export type Outbound = FieldUpdateDocumentFieldField$Outbound;
3456
+ }
3457
+
3458
+ export function fieldUpdateDocumentFieldFieldToJSON(
3459
+ fieldUpdateDocumentFieldField: FieldUpdateDocumentFieldField,
3460
+ ): string {
3461
+ return JSON.stringify(
3462
+ FieldUpdateDocumentFieldField$outboundSchema.parse(
3463
+ fieldUpdateDocumentFieldField,
3464
+ ),
3465
+ );
3466
+ }
3467
+
3468
+ export function fieldUpdateDocumentFieldFieldFromJSON(
3469
+ jsonString: string,
3470
+ ): SafeParseResult<FieldUpdateDocumentFieldField, SDKValidationError> {
3471
+ return safeParse(
3472
+ jsonString,
3473
+ (x) => FieldUpdateDocumentFieldField$inboundSchema.parse(JSON.parse(x)),
3474
+ `Failed to parse 'FieldUpdateDocumentFieldField' from JSON`,
3475
+ );
3476
+ }
3477
+
3478
+ /** @internal */
3479
+ export const FieldUpdateDocumentFieldRequestBody$inboundSchema: z.ZodType<
3480
+ FieldUpdateDocumentFieldRequestBody,
3481
+ z.ZodTypeDef,
3482
+ unknown
3483
+ > = z.object({
3484
+ documentId: z.number(),
3485
+ field: z.union([
3486
+ z.lazy(() => FieldUpdateDocumentFieldField1$inboundSchema),
3487
+ z.lazy(() => FieldUpdateDocumentFieldField2$inboundSchema),
3488
+ z.lazy(() => FieldUpdateDocumentFieldField3$inboundSchema),
3489
+ z.lazy(() => FieldUpdateDocumentFieldField4$inboundSchema),
3490
+ z.lazy(() => FieldUpdateDocumentFieldField5$inboundSchema),
3491
+ z.lazy(() => FieldUpdateDocumentFieldField6$inboundSchema),
3492
+ z.lazy(() => FieldUpdateDocumentFieldField7$inboundSchema),
3493
+ z.lazy(() => FieldUpdateDocumentFieldField8$inboundSchema),
3494
+ z.lazy(() => FieldUpdateDocumentFieldField9$inboundSchema),
3495
+ z.lazy(() => FieldUpdateDocumentFieldField10$inboundSchema),
3496
+ z.lazy(() => FieldUpdateDocumentFieldField11$inboundSchema),
3497
+ ]),
3498
+ });
3499
+
3500
+ /** @internal */
3501
+ export type FieldUpdateDocumentFieldRequestBody$Outbound = {
3502
+ documentId: number;
3503
+ field:
3504
+ | FieldUpdateDocumentFieldField1$Outbound
3505
+ | FieldUpdateDocumentFieldField2$Outbound
3506
+ | FieldUpdateDocumentFieldField3$Outbound
3507
+ | FieldUpdateDocumentFieldField4$Outbound
3508
+ | FieldUpdateDocumentFieldField5$Outbound
3509
+ | FieldUpdateDocumentFieldField6$Outbound
3510
+ | FieldUpdateDocumentFieldField7$Outbound
3511
+ | FieldUpdateDocumentFieldField8$Outbound
3512
+ | FieldUpdateDocumentFieldField9$Outbound
3513
+ | FieldUpdateDocumentFieldField10$Outbound
3514
+ | FieldUpdateDocumentFieldField11$Outbound;
3515
+ };
3516
+
3517
+ /** @internal */
3518
+ export const FieldUpdateDocumentFieldRequestBody$outboundSchema: z.ZodType<
3519
+ FieldUpdateDocumentFieldRequestBody$Outbound,
3520
+ z.ZodTypeDef,
3521
+ FieldUpdateDocumentFieldRequestBody
3522
+ > = z.object({
3523
+ documentId: z.number(),
3524
+ field: z.union([
3525
+ z.lazy(() => FieldUpdateDocumentFieldField1$outboundSchema),
3526
+ z.lazy(() => FieldUpdateDocumentFieldField2$outboundSchema),
3527
+ z.lazy(() => FieldUpdateDocumentFieldField3$outboundSchema),
3528
+ z.lazy(() => FieldUpdateDocumentFieldField4$outboundSchema),
3529
+ z.lazy(() => FieldUpdateDocumentFieldField5$outboundSchema),
3530
+ z.lazy(() => FieldUpdateDocumentFieldField6$outboundSchema),
3531
+ z.lazy(() => FieldUpdateDocumentFieldField7$outboundSchema),
3532
+ z.lazy(() => FieldUpdateDocumentFieldField8$outboundSchema),
3533
+ z.lazy(() => FieldUpdateDocumentFieldField9$outboundSchema),
3534
+ z.lazy(() => FieldUpdateDocumentFieldField10$outboundSchema),
3535
+ z.lazy(() => FieldUpdateDocumentFieldField11$outboundSchema),
3536
+ ]),
3537
+ });
3538
+
3539
+ /**
3540
+ * @internal
3541
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3542
+ */
3543
+ export namespace FieldUpdateDocumentFieldRequestBody$ {
3544
+ /** @deprecated use `FieldUpdateDocumentFieldRequestBody$inboundSchema` instead. */
3545
+ export const inboundSchema =
3546
+ FieldUpdateDocumentFieldRequestBody$inboundSchema;
3547
+ /** @deprecated use `FieldUpdateDocumentFieldRequestBody$outboundSchema` instead. */
3548
+ export const outboundSchema =
3549
+ FieldUpdateDocumentFieldRequestBody$outboundSchema;
3550
+ /** @deprecated use `FieldUpdateDocumentFieldRequestBody$Outbound` instead. */
3551
+ export type Outbound = FieldUpdateDocumentFieldRequestBody$Outbound;
3552
+ }
3553
+
3554
+ export function fieldUpdateDocumentFieldRequestBodyToJSON(
3555
+ fieldUpdateDocumentFieldRequestBody: FieldUpdateDocumentFieldRequestBody,
3556
+ ): string {
3557
+ return JSON.stringify(
3558
+ FieldUpdateDocumentFieldRequestBody$outboundSchema.parse(
3559
+ fieldUpdateDocumentFieldRequestBody,
3560
+ ),
3561
+ );
3562
+ }
3563
+
3564
+ export function fieldUpdateDocumentFieldRequestBodyFromJSON(
3565
+ jsonString: string,
3566
+ ): SafeParseResult<FieldUpdateDocumentFieldRequestBody, SDKValidationError> {
3567
+ return safeParse(
3568
+ jsonString,
3569
+ (x) =>
3570
+ FieldUpdateDocumentFieldRequestBody$inboundSchema.parse(JSON.parse(x)),
3571
+ `Failed to parse 'FieldUpdateDocumentFieldRequestBody' from JSON`,
3572
+ );
3573
+ }
3574
+
3575
+ /** @internal */
3576
+ export const FieldUpdateDocumentFieldType$inboundSchema: z.ZodNativeEnum<
3577
+ typeof FieldUpdateDocumentFieldType
3578
+ > = z.nativeEnum(FieldUpdateDocumentFieldType);
3579
+
3580
+ /** @internal */
3581
+ export const FieldUpdateDocumentFieldType$outboundSchema: z.ZodNativeEnum<
3582
+ typeof FieldUpdateDocumentFieldType
3583
+ > = FieldUpdateDocumentFieldType$inboundSchema;
3584
+
3585
+ /**
3586
+ * @internal
3587
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3588
+ */
3589
+ export namespace FieldUpdateDocumentFieldType$ {
3590
+ /** @deprecated use `FieldUpdateDocumentFieldType$inboundSchema` instead. */
3591
+ export const inboundSchema = FieldUpdateDocumentFieldType$inboundSchema;
3592
+ /** @deprecated use `FieldUpdateDocumentFieldType$outboundSchema` instead. */
3593
+ export const outboundSchema = FieldUpdateDocumentFieldType$outboundSchema;
3594
+ }
3595
+
3596
+ /** @internal */
3597
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$inboundSchema:
3598
+ z.ZodNativeEnum<
3599
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type
3600
+ > = z.nativeEnum(
3601
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type,
3602
+ );
3603
+
3604
+ /** @internal */
3605
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$outboundSchema:
3606
+ z.ZodNativeEnum<
3607
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type
3608
+ > =
3609
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$inboundSchema;
3610
+
3611
+ /**
3612
+ * @internal
3613
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3614
+ */
3615
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$ {
3616
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$inboundSchema` instead. */
3617
+ export const inboundSchema =
3618
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$inboundSchema;
3619
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$outboundSchema` instead. */
3620
+ export const outboundSchema =
3621
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$outboundSchema;
3622
+ }
3623
+
3624
+ /** @internal */
3625
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$inboundSchema:
3626
+ z.ZodType<
3627
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues,
3628
+ z.ZodTypeDef,
3629
+ unknown
3630
+ > = z.object({
3631
+ value: z.string(),
3632
+ });
3633
+
3634
+ /** @internal */
3635
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$Outbound =
3636
+ {
3637
+ value: string;
3638
+ };
3639
+
3640
+ /** @internal */
3641
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$outboundSchema:
3642
+ z.ZodType<
3643
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$Outbound,
3644
+ z.ZodTypeDef,
3645
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues
3646
+ > = z.object({
3647
+ value: z.string(),
3648
+ });
3649
+
3650
+ /**
3651
+ * @internal
3652
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3653
+ */
3654
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$ {
3655
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$inboundSchema` instead. */
3656
+ export const inboundSchema =
3657
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$inboundSchema;
3658
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$outboundSchema` instead. */
3659
+ export const outboundSchema =
3660
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$outboundSchema;
3661
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$Outbound` instead. */
3662
+ export type Outbound =
3663
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$Outbound;
3664
+ }
3665
+
3666
+ export function fieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValuesToJSON(
3667
+ fieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues:
3668
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues,
3669
+ ): string {
3670
+ return JSON.stringify(
3671
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$outboundSchema
3672
+ .parse(fieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues),
3673
+ );
3674
+ }
3675
+
3676
+ export function fieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValuesFromJSON(
3677
+ jsonString: string,
3678
+ ): SafeParseResult<
3679
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues,
3680
+ SDKValidationError
3681
+ > {
3682
+ return safeParse(
3683
+ jsonString,
3684
+ (x) =>
3685
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$inboundSchema
3686
+ .parse(JSON.parse(x)),
3687
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues' from JSON`,
3688
+ );
3689
+ }
3690
+
3691
+ /** @internal */
3692
+ export const FieldUpdateDocumentFieldFieldMeta9$inboundSchema: z.ZodType<
3693
+ FieldUpdateDocumentFieldFieldMeta9,
3694
+ z.ZodTypeDef,
3695
+ unknown
3696
+ > = z.object({
3697
+ label: z.string().optional(),
3698
+ placeholder: z.string().optional(),
3699
+ required: z.boolean().optional(),
3700
+ readOnly: z.boolean().optional(),
3701
+ type:
3702
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$inboundSchema,
3703
+ values: z.array(
3704
+ z.lazy(() =>
3705
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$inboundSchema
3706
+ ),
3707
+ ).optional(),
3708
+ defaultValue: z.string().optional(),
3709
+ });
3710
+
3711
+ /** @internal */
3712
+ export type FieldUpdateDocumentFieldFieldMeta9$Outbound = {
3713
+ label?: string | undefined;
3714
+ placeholder?: string | undefined;
3715
+ required?: boolean | undefined;
3716
+ readOnly?: boolean | undefined;
3717
+ type: string;
3718
+ values?:
3719
+ | Array<
3720
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$Outbound
3721
+ >
3722
+ | undefined;
3723
+ defaultValue?: string | undefined;
3724
+ };
3725
+
3726
+ /** @internal */
3727
+ export const FieldUpdateDocumentFieldFieldMeta9$outboundSchema: z.ZodType<
3728
+ FieldUpdateDocumentFieldFieldMeta9$Outbound,
3729
+ z.ZodTypeDef,
3730
+ FieldUpdateDocumentFieldFieldMeta9
3731
+ > = z.object({
3732
+ label: z.string().optional(),
3733
+ placeholder: z.string().optional(),
3734
+ required: z.boolean().optional(),
3735
+ readOnly: z.boolean().optional(),
3736
+ type:
3737
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody9Type$outboundSchema,
3738
+ values: z.array(
3739
+ z.lazy(() =>
3740
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseValues$outboundSchema
3741
+ ),
3742
+ ).optional(),
3743
+ defaultValue: z.string().optional(),
3744
+ });
3745
+
3746
+ /**
3747
+ * @internal
3748
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3749
+ */
3750
+ export namespace FieldUpdateDocumentFieldFieldMeta9$ {
3751
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta9$inboundSchema` instead. */
3752
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta9$inboundSchema;
3753
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta9$outboundSchema` instead. */
3754
+ export const outboundSchema =
3755
+ FieldUpdateDocumentFieldFieldMeta9$outboundSchema;
3756
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta9$Outbound` instead. */
3757
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta9$Outbound;
3758
+ }
3759
+
3760
+ export function fieldUpdateDocumentFieldFieldMeta9ToJSON(
3761
+ fieldUpdateDocumentFieldFieldMeta9: FieldUpdateDocumentFieldFieldMeta9,
3762
+ ): string {
3763
+ return JSON.stringify(
3764
+ FieldUpdateDocumentFieldFieldMeta9$outboundSchema.parse(
3765
+ fieldUpdateDocumentFieldFieldMeta9,
3766
+ ),
3767
+ );
3768
+ }
3769
+
3770
+ export function fieldUpdateDocumentFieldFieldMeta9FromJSON(
3771
+ jsonString: string,
3772
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta9, SDKValidationError> {
3773
+ return safeParse(
3774
+ jsonString,
3775
+ (x) =>
3776
+ FieldUpdateDocumentFieldFieldMeta9$inboundSchema.parse(JSON.parse(x)),
3777
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta9' from JSON`,
3778
+ );
3779
+ }
3780
+
3781
+ /** @internal */
3782
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$inboundSchema:
3783
+ z.ZodNativeEnum<
3784
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type
3785
+ > = z.nativeEnum(
3786
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type,
3787
+ );
3788
+
3789
+ /** @internal */
3790
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$outboundSchema:
3791
+ z.ZodNativeEnum<
3792
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type
3793
+ > =
3794
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$inboundSchema;
3795
+
3796
+ /**
3797
+ * @internal
3798
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3799
+ */
3800
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$ {
3801
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$inboundSchema` instead. */
3802
+ export const inboundSchema =
3803
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$inboundSchema;
3804
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$outboundSchema` instead. */
3805
+ export const outboundSchema =
3806
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$outboundSchema;
3807
+ }
3808
+
3809
+ /** @internal */
3810
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$inboundSchema:
3811
+ z.ZodType<
3812
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues,
3813
+ z.ZodTypeDef,
3814
+ unknown
3815
+ > = z.object({
3816
+ id: z.number(),
3817
+ checked: z.boolean(),
3818
+ value: z.string(),
3819
+ });
3820
+
3821
+ /** @internal */
3822
+ export type FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$Outbound = {
3823
+ id: number;
3824
+ checked: boolean;
3825
+ value: string;
3826
+ };
3827
+
3828
+ /** @internal */
3829
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$outboundSchema:
3830
+ z.ZodType<
3831
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$Outbound,
3832
+ z.ZodTypeDef,
3833
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues
3834
+ > = z.object({
3835
+ id: z.number(),
3836
+ checked: z.boolean(),
3837
+ value: z.string(),
3838
+ });
3839
+
3840
+ /**
3841
+ * @internal
3842
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3843
+ */
3844
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$ {
3845
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$inboundSchema` instead. */
3846
+ export const inboundSchema =
3847
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$inboundSchema;
3848
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$outboundSchema` instead. */
3849
+ export const outboundSchema =
3850
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$outboundSchema;
3851
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$Outbound` instead. */
3852
+ export type Outbound =
3853
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$Outbound;
3854
+ }
3855
+
3856
+ export function fieldUpdateDocumentFieldFieldMetaDocumentsFieldsValuesToJSON(
3857
+ fieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues:
3858
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues,
3859
+ ): string {
3860
+ return JSON.stringify(
3861
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$outboundSchema.parse(
3862
+ fieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues,
3863
+ ),
3864
+ );
3865
+ }
3866
+
3867
+ export function fieldUpdateDocumentFieldFieldMetaDocumentsFieldsValuesFromJSON(
3868
+ jsonString: string,
3869
+ ): SafeParseResult<
3870
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues,
3871
+ SDKValidationError
3872
+ > {
3873
+ return safeParse(
3874
+ jsonString,
3875
+ (x) =>
3876
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$inboundSchema
3877
+ .parse(JSON.parse(x)),
3878
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues' from JSON`,
3879
+ );
3880
+ }
3881
+
3882
+ /** @internal */
3883
+ export const FieldUpdateDocumentFieldFieldMeta8$inboundSchema: z.ZodType<
3884
+ FieldUpdateDocumentFieldFieldMeta8,
3885
+ z.ZodTypeDef,
3886
+ unknown
3887
+ > = z.object({
3888
+ label: z.string().optional(),
3889
+ placeholder: z.string().optional(),
3890
+ required: z.boolean().optional(),
3891
+ readOnly: z.boolean().optional(),
3892
+ type:
3893
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$inboundSchema,
3894
+ values: z.array(
3895
+ z.lazy(() =>
3896
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$inboundSchema
3897
+ ),
3898
+ ).optional(),
3899
+ validationRule: z.string().optional(),
3900
+ validationLength: z.number().optional(),
3901
+ });
3902
+
3903
+ /** @internal */
3904
+ export type FieldUpdateDocumentFieldFieldMeta8$Outbound = {
3905
+ label?: string | undefined;
3906
+ placeholder?: string | undefined;
3907
+ required?: boolean | undefined;
3908
+ readOnly?: boolean | undefined;
3909
+ type: string;
3910
+ values?:
3911
+ | Array<FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$Outbound>
3912
+ | undefined;
3913
+ validationRule?: string | undefined;
3914
+ validationLength?: number | undefined;
3915
+ };
3916
+
3917
+ /** @internal */
3918
+ export const FieldUpdateDocumentFieldFieldMeta8$outboundSchema: z.ZodType<
3919
+ FieldUpdateDocumentFieldFieldMeta8$Outbound,
3920
+ z.ZodTypeDef,
3921
+ FieldUpdateDocumentFieldFieldMeta8
3922
+ > = z.object({
3923
+ label: z.string().optional(),
3924
+ placeholder: z.string().optional(),
3925
+ required: z.boolean().optional(),
3926
+ readOnly: z.boolean().optional(),
3927
+ type:
3928
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody8Type$outboundSchema,
3929
+ values: z.array(
3930
+ z.lazy(() =>
3931
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsValues$outboundSchema
3932
+ ),
3933
+ ).optional(),
3934
+ validationRule: z.string().optional(),
3935
+ validationLength: z.number().optional(),
3936
+ });
3937
+
3938
+ /**
3939
+ * @internal
3940
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3941
+ */
3942
+ export namespace FieldUpdateDocumentFieldFieldMeta8$ {
3943
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta8$inboundSchema` instead. */
3944
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta8$inboundSchema;
3945
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta8$outboundSchema` instead. */
3946
+ export const outboundSchema =
3947
+ FieldUpdateDocumentFieldFieldMeta8$outboundSchema;
3948
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta8$Outbound` instead. */
3949
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta8$Outbound;
3950
+ }
3951
+
3952
+ export function fieldUpdateDocumentFieldFieldMeta8ToJSON(
3953
+ fieldUpdateDocumentFieldFieldMeta8: FieldUpdateDocumentFieldFieldMeta8,
3954
+ ): string {
3955
+ return JSON.stringify(
3956
+ FieldUpdateDocumentFieldFieldMeta8$outboundSchema.parse(
3957
+ fieldUpdateDocumentFieldFieldMeta8,
3958
+ ),
3959
+ );
3960
+ }
3961
+
3962
+ export function fieldUpdateDocumentFieldFieldMeta8FromJSON(
3963
+ jsonString: string,
3964
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta8, SDKValidationError> {
3965
+ return safeParse(
3966
+ jsonString,
3967
+ (x) =>
3968
+ FieldUpdateDocumentFieldFieldMeta8$inboundSchema.parse(JSON.parse(x)),
3969
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta8' from JSON`,
3970
+ );
3971
+ }
3972
+
3973
+ /** @internal */
3974
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$inboundSchema:
3975
+ z.ZodNativeEnum<
3976
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type
3977
+ > = z.nativeEnum(
3978
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type,
3979
+ );
3980
+
3981
+ /** @internal */
3982
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$outboundSchema:
3983
+ z.ZodNativeEnum<
3984
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type
3985
+ > =
3986
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$inboundSchema;
3987
+
3988
+ /**
3989
+ * @internal
3990
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3991
+ */
3992
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$ {
3993
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$inboundSchema` instead. */
3994
+ export const inboundSchema =
3995
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$inboundSchema;
3996
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$outboundSchema` instead. */
3997
+ export const outboundSchema =
3998
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$outboundSchema;
3999
+ }
4000
+
4001
+ /** @internal */
4002
+ export const FieldUpdateDocumentFieldFieldMetaValues$inboundSchema: z.ZodType<
4003
+ FieldUpdateDocumentFieldFieldMetaValues,
4004
+ z.ZodTypeDef,
4005
+ unknown
4006
+ > = z.object({
4007
+ id: z.number(),
4008
+ checked: z.boolean(),
4009
+ value: z.string(),
4010
+ });
4011
+
4012
+ /** @internal */
4013
+ export type FieldUpdateDocumentFieldFieldMetaValues$Outbound = {
4014
+ id: number;
4015
+ checked: boolean;
4016
+ value: string;
4017
+ };
4018
+
4019
+ /** @internal */
4020
+ export const FieldUpdateDocumentFieldFieldMetaValues$outboundSchema: z.ZodType<
4021
+ FieldUpdateDocumentFieldFieldMetaValues$Outbound,
4022
+ z.ZodTypeDef,
4023
+ FieldUpdateDocumentFieldFieldMetaValues
4024
+ > = z.object({
4025
+ id: z.number(),
4026
+ checked: z.boolean(),
4027
+ value: z.string(),
4028
+ });
4029
+
4030
+ /**
4031
+ * @internal
4032
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4033
+ */
4034
+ export namespace FieldUpdateDocumentFieldFieldMetaValues$ {
4035
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaValues$inboundSchema` instead. */
4036
+ export const inboundSchema =
4037
+ FieldUpdateDocumentFieldFieldMetaValues$inboundSchema;
4038
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaValues$outboundSchema` instead. */
4039
+ export const outboundSchema =
4040
+ FieldUpdateDocumentFieldFieldMetaValues$outboundSchema;
4041
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaValues$Outbound` instead. */
4042
+ export type Outbound = FieldUpdateDocumentFieldFieldMetaValues$Outbound;
4043
+ }
4044
+
4045
+ export function fieldUpdateDocumentFieldFieldMetaValuesToJSON(
4046
+ fieldUpdateDocumentFieldFieldMetaValues:
4047
+ FieldUpdateDocumentFieldFieldMetaValues,
4048
+ ): string {
4049
+ return JSON.stringify(
4050
+ FieldUpdateDocumentFieldFieldMetaValues$outboundSchema.parse(
4051
+ fieldUpdateDocumentFieldFieldMetaValues,
4052
+ ),
4053
+ );
4054
+ }
4055
+
4056
+ export function fieldUpdateDocumentFieldFieldMetaValuesFromJSON(
4057
+ jsonString: string,
4058
+ ): SafeParseResult<
4059
+ FieldUpdateDocumentFieldFieldMetaValues,
4060
+ SDKValidationError
4061
+ > {
4062
+ return safeParse(
4063
+ jsonString,
4064
+ (x) =>
4065
+ FieldUpdateDocumentFieldFieldMetaValues$inboundSchema.parse(
4066
+ JSON.parse(x),
4067
+ ),
4068
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMetaValues' from JSON`,
4069
+ );
4070
+ }
4071
+
4072
+ /** @internal */
4073
+ export const FieldUpdateDocumentFieldFieldMeta7$inboundSchema: z.ZodType<
4074
+ FieldUpdateDocumentFieldFieldMeta7,
4075
+ z.ZodTypeDef,
4076
+ unknown
4077
+ > = z.object({
4078
+ label: z.string().optional(),
4079
+ placeholder: z.string().optional(),
4080
+ required: z.boolean().optional(),
4081
+ readOnly: z.boolean().optional(),
4082
+ type:
4083
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$inboundSchema,
4084
+ values: z.array(
4085
+ z.lazy(() => FieldUpdateDocumentFieldFieldMetaValues$inboundSchema),
4086
+ ).optional(),
4087
+ });
4088
+
4089
+ /** @internal */
4090
+ export type FieldUpdateDocumentFieldFieldMeta7$Outbound = {
4091
+ label?: string | undefined;
4092
+ placeholder?: string | undefined;
4093
+ required?: boolean | undefined;
4094
+ readOnly?: boolean | undefined;
4095
+ type: string;
4096
+ values?: Array<FieldUpdateDocumentFieldFieldMetaValues$Outbound> | undefined;
4097
+ };
4098
+
4099
+ /** @internal */
4100
+ export const FieldUpdateDocumentFieldFieldMeta7$outboundSchema: z.ZodType<
4101
+ FieldUpdateDocumentFieldFieldMeta7$Outbound,
4102
+ z.ZodTypeDef,
4103
+ FieldUpdateDocumentFieldFieldMeta7
4104
+ > = z.object({
4105
+ label: z.string().optional(),
4106
+ placeholder: z.string().optional(),
4107
+ required: z.boolean().optional(),
4108
+ readOnly: z.boolean().optional(),
4109
+ type:
4110
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBody7Type$outboundSchema,
4111
+ values: z.array(
4112
+ z.lazy(() => FieldUpdateDocumentFieldFieldMetaValues$outboundSchema),
4113
+ ).optional(),
4114
+ });
4115
+
4116
+ /**
4117
+ * @internal
4118
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4119
+ */
4120
+ export namespace FieldUpdateDocumentFieldFieldMeta7$ {
4121
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta7$inboundSchema` instead. */
4122
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta7$inboundSchema;
4123
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta7$outboundSchema` instead. */
4124
+ export const outboundSchema =
4125
+ FieldUpdateDocumentFieldFieldMeta7$outboundSchema;
4126
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta7$Outbound` instead. */
4127
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta7$Outbound;
4128
+ }
4129
+
4130
+ export function fieldUpdateDocumentFieldFieldMeta7ToJSON(
4131
+ fieldUpdateDocumentFieldFieldMeta7: FieldUpdateDocumentFieldFieldMeta7,
4132
+ ): string {
4133
+ return JSON.stringify(
4134
+ FieldUpdateDocumentFieldFieldMeta7$outboundSchema.parse(
4135
+ fieldUpdateDocumentFieldFieldMeta7,
4136
+ ),
4137
+ );
4138
+ }
4139
+
4140
+ export function fieldUpdateDocumentFieldFieldMeta7FromJSON(
4141
+ jsonString: string,
4142
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta7, SDKValidationError> {
4143
+ return safeParse(
4144
+ jsonString,
4145
+ (x) =>
4146
+ FieldUpdateDocumentFieldFieldMeta7$inboundSchema.parse(JSON.parse(x)),
4147
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta7' from JSON`,
4148
+ );
4149
+ }
4150
+
4151
+ /** @internal */
4152
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$inboundSchema:
4153
+ z.ZodNativeEnum<
4154
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType
4155
+ > = z.nativeEnum(
4156
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType,
4157
+ );
4158
+
4159
+ /** @internal */
4160
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$outboundSchema:
4161
+ z.ZodNativeEnum<
4162
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType
4163
+ > =
4164
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$inboundSchema;
4165
+
4166
+ /**
4167
+ * @internal
4168
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4169
+ */
4170
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$ {
4171
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$inboundSchema` instead. */
4172
+ export const inboundSchema =
4173
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$inboundSchema;
4174
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$outboundSchema` instead. */
4175
+ export const outboundSchema =
4176
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$outboundSchema;
4177
+ }
4178
+
4179
+ /** @internal */
4180
+ export const FieldUpdateDocumentFieldFieldMeta6$inboundSchema: z.ZodType<
4181
+ FieldUpdateDocumentFieldFieldMeta6,
4182
+ z.ZodTypeDef,
4183
+ unknown
4184
+ > = z.object({
4185
+ label: z.string().optional(),
4186
+ placeholder: z.string().optional(),
4187
+ required: z.boolean().optional(),
4188
+ readOnly: z.boolean().optional(),
4189
+ type:
4190
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$inboundSchema,
4191
+ numberFormat: z.string().optional(),
4192
+ value: z.string().optional(),
4193
+ minValue: z.number().optional(),
4194
+ maxValue: z.number().optional(),
4195
+ fontSize: z.number().optional(),
4196
+ });
4197
+
4198
+ /** @internal */
4199
+ export type FieldUpdateDocumentFieldFieldMeta6$Outbound = {
4200
+ label?: string | undefined;
4201
+ placeholder?: string | undefined;
4202
+ required?: boolean | undefined;
4203
+ readOnly?: boolean | undefined;
4204
+ type: string;
4205
+ numberFormat?: string | undefined;
4206
+ value?: string | undefined;
4207
+ minValue?: number | undefined;
4208
+ maxValue?: number | undefined;
4209
+ fontSize?: number | undefined;
4210
+ };
4211
+
4212
+ /** @internal */
4213
+ export const FieldUpdateDocumentFieldFieldMeta6$outboundSchema: z.ZodType<
4214
+ FieldUpdateDocumentFieldFieldMeta6$Outbound,
4215
+ z.ZodTypeDef,
4216
+ FieldUpdateDocumentFieldFieldMeta6
4217
+ > = z.object({
4218
+ label: z.string().optional(),
4219
+ placeholder: z.string().optional(),
4220
+ required: z.boolean().optional(),
4221
+ readOnly: z.boolean().optional(),
4222
+ type:
4223
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONResponseBodyType$outboundSchema,
4224
+ numberFormat: z.string().optional(),
4225
+ value: z.string().optional(),
4226
+ minValue: z.number().optional(),
4227
+ maxValue: z.number().optional(),
4228
+ fontSize: z.number().optional(),
4229
+ });
4230
+
4231
+ /**
4232
+ * @internal
4233
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4234
+ */
4235
+ export namespace FieldUpdateDocumentFieldFieldMeta6$ {
4236
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta6$inboundSchema` instead. */
4237
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta6$inboundSchema;
4238
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta6$outboundSchema` instead. */
4239
+ export const outboundSchema =
4240
+ FieldUpdateDocumentFieldFieldMeta6$outboundSchema;
4241
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta6$Outbound` instead. */
4242
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta6$Outbound;
4243
+ }
4244
+
4245
+ export function fieldUpdateDocumentFieldFieldMeta6ToJSON(
4246
+ fieldUpdateDocumentFieldFieldMeta6: FieldUpdateDocumentFieldFieldMeta6,
4247
+ ): string {
4248
+ return JSON.stringify(
4249
+ FieldUpdateDocumentFieldFieldMeta6$outboundSchema.parse(
4250
+ fieldUpdateDocumentFieldFieldMeta6,
4251
+ ),
4252
+ );
4253
+ }
4254
+
4255
+ export function fieldUpdateDocumentFieldFieldMeta6FromJSON(
4256
+ jsonString: string,
4257
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta6, SDKValidationError> {
4258
+ return safeParse(
4259
+ jsonString,
4260
+ (x) =>
4261
+ FieldUpdateDocumentFieldFieldMeta6$inboundSchema.parse(JSON.parse(x)),
4262
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta6' from JSON`,
4263
+ );
4264
+ }
4265
+
4266
+ /** @internal */
4267
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$inboundSchema:
4268
+ z.ZodNativeEnum<
4269
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType
4270
+ > = z.nativeEnum(
4271
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType,
4272
+ );
4273
+
4274
+ /** @internal */
4275
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$outboundSchema:
4276
+ z.ZodNativeEnum<
4277
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType
4278
+ > =
4279
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$inboundSchema;
4280
+
4281
+ /**
4282
+ * @internal
4283
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4284
+ */
4285
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$ {
4286
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$inboundSchema` instead. */
4287
+ export const inboundSchema =
4288
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$inboundSchema;
4289
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$outboundSchema` instead. */
4290
+ export const outboundSchema =
4291
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$outboundSchema;
4292
+ }
4293
+
4294
+ /** @internal */
4295
+ export const FieldUpdateDocumentFieldFieldMeta5$inboundSchema: z.ZodType<
4296
+ FieldUpdateDocumentFieldFieldMeta5,
4297
+ z.ZodTypeDef,
4298
+ unknown
4299
+ > = z.object({
4300
+ label: z.string().optional(),
4301
+ placeholder: z.string().optional(),
4302
+ required: z.boolean().optional(),
4303
+ readOnly: z.boolean().optional(),
4304
+ type:
4305
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$inboundSchema,
4306
+ text: z.string().optional(),
4307
+ characterLimit: z.number().optional(),
4308
+ fontSize: z.number().optional(),
4309
+ });
4310
+
4311
+ /** @internal */
4312
+ export type FieldUpdateDocumentFieldFieldMeta5$Outbound = {
4313
+ label?: string | undefined;
4314
+ placeholder?: string | undefined;
4315
+ required?: boolean | undefined;
4316
+ readOnly?: boolean | undefined;
4317
+ type: string;
4318
+ text?: string | undefined;
4319
+ characterLimit?: number | undefined;
4320
+ fontSize?: number | undefined;
4321
+ };
4322
+
4323
+ /** @internal */
4324
+ export const FieldUpdateDocumentFieldFieldMeta5$outboundSchema: z.ZodType<
4325
+ FieldUpdateDocumentFieldFieldMeta5$Outbound,
4326
+ z.ZodTypeDef,
4327
+ FieldUpdateDocumentFieldFieldMeta5
4328
+ > = z.object({
4329
+ label: z.string().optional(),
4330
+ placeholder: z.string().optional(),
4331
+ required: z.boolean().optional(),
4332
+ readOnly: z.boolean().optional(),
4333
+ type:
4334
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200ApplicationJSONType$outboundSchema,
4335
+ text: z.string().optional(),
4336
+ characterLimit: z.number().optional(),
4337
+ fontSize: z.number().optional(),
4338
+ });
4339
+
4340
+ /**
4341
+ * @internal
4342
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4343
+ */
4344
+ export namespace FieldUpdateDocumentFieldFieldMeta5$ {
4345
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta5$inboundSchema` instead. */
4346
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta5$inboundSchema;
4347
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta5$outboundSchema` instead. */
4348
+ export const outboundSchema =
4349
+ FieldUpdateDocumentFieldFieldMeta5$outboundSchema;
4350
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta5$Outbound` instead. */
4351
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta5$Outbound;
4352
+ }
4353
+
4354
+ export function fieldUpdateDocumentFieldFieldMeta5ToJSON(
4355
+ fieldUpdateDocumentFieldFieldMeta5: FieldUpdateDocumentFieldFieldMeta5,
4356
+ ): string {
4357
+ return JSON.stringify(
4358
+ FieldUpdateDocumentFieldFieldMeta5$outboundSchema.parse(
4359
+ fieldUpdateDocumentFieldFieldMeta5,
4360
+ ),
4361
+ );
4362
+ }
4363
+
4364
+ export function fieldUpdateDocumentFieldFieldMeta5FromJSON(
4365
+ jsonString: string,
4366
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta5, SDKValidationError> {
4367
+ return safeParse(
4368
+ jsonString,
4369
+ (x) =>
4370
+ FieldUpdateDocumentFieldFieldMeta5$inboundSchema.parse(JSON.parse(x)),
4371
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta5' from JSON`,
4372
+ );
4373
+ }
4374
+
4375
+ /** @internal */
4376
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$inboundSchema:
4377
+ z.ZodNativeEnum<
4378
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type
4379
+ > = z.nativeEnum(
4380
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type,
4381
+ );
4382
+
4383
+ /** @internal */
4384
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$outboundSchema:
4385
+ z.ZodNativeEnum<
4386
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type
4387
+ > =
4388
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$inboundSchema;
4389
+
4390
+ /**
4391
+ * @internal
4392
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4393
+ */
4394
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$ {
4395
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$inboundSchema` instead. */
4396
+ export const inboundSchema =
4397
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$inboundSchema;
4398
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$outboundSchema` instead. */
4399
+ export const outboundSchema =
4400
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$outboundSchema;
4401
+ }
4402
+
4403
+ /** @internal */
4404
+ export const FieldUpdateDocumentFieldFieldMeta4$inboundSchema: z.ZodType<
4405
+ FieldUpdateDocumentFieldFieldMeta4,
4406
+ z.ZodTypeDef,
4407
+ unknown
4408
+ > = z.object({
4409
+ label: z.string().optional(),
4410
+ placeholder: z.string().optional(),
4411
+ required: z.boolean().optional(),
4412
+ readOnly: z.boolean().optional(),
4413
+ type:
4414
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$inboundSchema,
4415
+ fontSize: z.number().optional(),
4416
+ });
4417
+
4418
+ /** @internal */
4419
+ export type FieldUpdateDocumentFieldFieldMeta4$Outbound = {
4420
+ label?: string | undefined;
4421
+ placeholder?: string | undefined;
4422
+ required?: boolean | undefined;
4423
+ readOnly?: boolean | undefined;
4424
+ type: string;
4425
+ fontSize?: number | undefined;
4426
+ };
4427
+
4428
+ /** @internal */
4429
+ export const FieldUpdateDocumentFieldFieldMeta4$outboundSchema: z.ZodType<
4430
+ FieldUpdateDocumentFieldFieldMeta4$Outbound,
4431
+ z.ZodTypeDef,
4432
+ FieldUpdateDocumentFieldFieldMeta4
4433
+ > = z.object({
4434
+ label: z.string().optional(),
4435
+ placeholder: z.string().optional(),
4436
+ required: z.boolean().optional(),
4437
+ readOnly: z.boolean().optional(),
4438
+ type:
4439
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponse200Type$outboundSchema,
4440
+ fontSize: z.number().optional(),
4441
+ });
4442
+
4443
+ /**
4444
+ * @internal
4445
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4446
+ */
4447
+ export namespace FieldUpdateDocumentFieldFieldMeta4$ {
4448
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta4$inboundSchema` instead. */
4449
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta4$inboundSchema;
4450
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta4$outboundSchema` instead. */
4451
+ export const outboundSchema =
4452
+ FieldUpdateDocumentFieldFieldMeta4$outboundSchema;
4453
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta4$Outbound` instead. */
4454
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta4$Outbound;
4455
+ }
4456
+
4457
+ export function fieldUpdateDocumentFieldFieldMeta4ToJSON(
4458
+ fieldUpdateDocumentFieldFieldMeta4: FieldUpdateDocumentFieldFieldMeta4,
4459
+ ): string {
4460
+ return JSON.stringify(
4461
+ FieldUpdateDocumentFieldFieldMeta4$outboundSchema.parse(
4462
+ fieldUpdateDocumentFieldFieldMeta4,
4463
+ ),
4464
+ );
4465
+ }
4466
+
4467
+ export function fieldUpdateDocumentFieldFieldMeta4FromJSON(
4468
+ jsonString: string,
4469
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta4, SDKValidationError> {
4470
+ return safeParse(
4471
+ jsonString,
4472
+ (x) =>
4473
+ FieldUpdateDocumentFieldFieldMeta4$inboundSchema.parse(JSON.parse(x)),
4474
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta4' from JSON`,
4475
+ );
4476
+ }
4477
+
4478
+ /** @internal */
4479
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$inboundSchema:
4480
+ z.ZodNativeEnum<
4481
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType
4482
+ > = z.nativeEnum(
4483
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType,
4484
+ );
4485
+
4486
+ /** @internal */
4487
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$outboundSchema:
4488
+ z.ZodNativeEnum<
4489
+ typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType
4490
+ > =
4491
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$inboundSchema;
4492
+
4493
+ /**
4494
+ * @internal
4495
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4496
+ */
4497
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$ {
4498
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$inboundSchema` instead. */
4499
+ export const inboundSchema =
4500
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$inboundSchema;
4501
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$outboundSchema` instead. */
4502
+ export const outboundSchema =
4503
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$outboundSchema;
4504
+ }
4505
+
4506
+ /** @internal */
4507
+ export const FieldUpdateDocumentFieldFieldMeta3$inboundSchema: z.ZodType<
4508
+ FieldUpdateDocumentFieldFieldMeta3,
4509
+ z.ZodTypeDef,
4510
+ unknown
4511
+ > = z.object({
4512
+ label: z.string().optional(),
4513
+ placeholder: z.string().optional(),
4514
+ required: z.boolean().optional(),
4515
+ readOnly: z.boolean().optional(),
4516
+ type:
4517
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$inboundSchema,
4518
+ fontSize: z.number().optional(),
4519
+ });
4520
+
4521
+ /** @internal */
4522
+ export type FieldUpdateDocumentFieldFieldMeta3$Outbound = {
4523
+ label?: string | undefined;
4524
+ placeholder?: string | undefined;
4525
+ required?: boolean | undefined;
4526
+ readOnly?: boolean | undefined;
4527
+ type: string;
4528
+ fontSize?: number | undefined;
4529
+ };
4530
+
4531
+ /** @internal */
4532
+ export const FieldUpdateDocumentFieldFieldMeta3$outboundSchema: z.ZodType<
4533
+ FieldUpdateDocumentFieldFieldMeta3$Outbound,
4534
+ z.ZodTypeDef,
4535
+ FieldUpdateDocumentFieldFieldMeta3
4536
+ > = z.object({
4537
+ label: z.string().optional(),
4538
+ placeholder: z.string().optional(),
4539
+ required: z.boolean().optional(),
4540
+ readOnly: z.boolean().optional(),
4541
+ type:
4542
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsResponseType$outboundSchema,
4543
+ fontSize: z.number().optional(),
4544
+ });
4545
+
4546
+ /**
4547
+ * @internal
4548
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4549
+ */
4550
+ export namespace FieldUpdateDocumentFieldFieldMeta3$ {
4551
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta3$inboundSchema` instead. */
4552
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta3$inboundSchema;
4553
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta3$outboundSchema` instead. */
4554
+ export const outboundSchema =
4555
+ FieldUpdateDocumentFieldFieldMeta3$outboundSchema;
4556
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta3$Outbound` instead. */
4557
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta3$Outbound;
4558
+ }
4559
+
4560
+ export function fieldUpdateDocumentFieldFieldMeta3ToJSON(
4561
+ fieldUpdateDocumentFieldFieldMeta3: FieldUpdateDocumentFieldFieldMeta3,
4562
+ ): string {
4563
+ return JSON.stringify(
4564
+ FieldUpdateDocumentFieldFieldMeta3$outboundSchema.parse(
4565
+ fieldUpdateDocumentFieldFieldMeta3,
4566
+ ),
4567
+ );
4568
+ }
4569
+
4570
+ export function fieldUpdateDocumentFieldFieldMeta3FromJSON(
4571
+ jsonString: string,
4572
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta3, SDKValidationError> {
4573
+ return safeParse(
4574
+ jsonString,
4575
+ (x) =>
4576
+ FieldUpdateDocumentFieldFieldMeta3$inboundSchema.parse(JSON.parse(x)),
4577
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta3' from JSON`,
4578
+ );
4579
+ }
4580
+
4581
+ /** @internal */
4582
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$inboundSchema:
4583
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType> =
4584
+ z.nativeEnum(FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType);
4585
+
4586
+ /** @internal */
4587
+ export const FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$outboundSchema:
4588
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType> =
4589
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$inboundSchema;
4590
+
4591
+ /**
4592
+ * @internal
4593
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4594
+ */
4595
+ export namespace FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$ {
4596
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$inboundSchema` instead. */
4597
+ export const inboundSchema =
4598
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$inboundSchema;
4599
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$outboundSchema` instead. */
4600
+ export const outboundSchema =
4601
+ FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$outboundSchema;
4602
+ }
4603
+
4604
+ /** @internal */
4605
+ export const FieldUpdateDocumentFieldFieldMeta2$inboundSchema: z.ZodType<
4606
+ FieldUpdateDocumentFieldFieldMeta2,
4607
+ z.ZodTypeDef,
4608
+ unknown
4609
+ > = z.object({
4610
+ label: z.string().optional(),
4611
+ placeholder: z.string().optional(),
4612
+ required: z.boolean().optional(),
4613
+ readOnly: z.boolean().optional(),
4614
+ type: FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$inboundSchema,
4615
+ fontSize: z.number().optional(),
4616
+ });
4617
+
4618
+ /** @internal */
4619
+ export type FieldUpdateDocumentFieldFieldMeta2$Outbound = {
4620
+ label?: string | undefined;
4621
+ placeholder?: string | undefined;
4622
+ required?: boolean | undefined;
4623
+ readOnly?: boolean | undefined;
4624
+ type: string;
4625
+ fontSize?: number | undefined;
4626
+ };
4627
+
4628
+ /** @internal */
4629
+ export const FieldUpdateDocumentFieldFieldMeta2$outboundSchema: z.ZodType<
4630
+ FieldUpdateDocumentFieldFieldMeta2$Outbound,
4631
+ z.ZodTypeDef,
4632
+ FieldUpdateDocumentFieldFieldMeta2
4633
+ > = z.object({
4634
+ label: z.string().optional(),
4635
+ placeholder: z.string().optional(),
4636
+ required: z.boolean().optional(),
4637
+ readOnly: z.boolean().optional(),
4638
+ type: FieldUpdateDocumentFieldFieldMetaDocumentsFieldsType$outboundSchema,
4639
+ fontSize: z.number().optional(),
4640
+ });
4641
+
4642
+ /**
4643
+ * @internal
4644
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4645
+ */
4646
+ export namespace FieldUpdateDocumentFieldFieldMeta2$ {
4647
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta2$inboundSchema` instead. */
4648
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta2$inboundSchema;
4649
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta2$outboundSchema` instead. */
4650
+ export const outboundSchema =
4651
+ FieldUpdateDocumentFieldFieldMeta2$outboundSchema;
4652
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta2$Outbound` instead. */
4653
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta2$Outbound;
4654
+ }
4655
+
4656
+ export function fieldUpdateDocumentFieldFieldMeta2ToJSON(
4657
+ fieldUpdateDocumentFieldFieldMeta2: FieldUpdateDocumentFieldFieldMeta2,
4658
+ ): string {
4659
+ return JSON.stringify(
4660
+ FieldUpdateDocumentFieldFieldMeta2$outboundSchema.parse(
4661
+ fieldUpdateDocumentFieldFieldMeta2,
4662
+ ),
4663
+ );
4664
+ }
4665
+
4666
+ export function fieldUpdateDocumentFieldFieldMeta2FromJSON(
4667
+ jsonString: string,
4668
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta2, SDKValidationError> {
4669
+ return safeParse(
4670
+ jsonString,
4671
+ (x) =>
4672
+ FieldUpdateDocumentFieldFieldMeta2$inboundSchema.parse(JSON.parse(x)),
4673
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta2' from JSON`,
4674
+ );
4675
+ }
4676
+
4677
+ /** @internal */
4678
+ export const FieldUpdateDocumentFieldFieldMetaType$inboundSchema:
4679
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldFieldMetaType> = z.nativeEnum(
4680
+ FieldUpdateDocumentFieldFieldMetaType,
4681
+ );
4682
+
4683
+ /** @internal */
4684
+ export const FieldUpdateDocumentFieldFieldMetaType$outboundSchema:
4685
+ z.ZodNativeEnum<typeof FieldUpdateDocumentFieldFieldMetaType> =
4686
+ FieldUpdateDocumentFieldFieldMetaType$inboundSchema;
4687
+
4688
+ /**
4689
+ * @internal
4690
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4691
+ */
4692
+ export namespace FieldUpdateDocumentFieldFieldMetaType$ {
4693
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaType$inboundSchema` instead. */
4694
+ export const inboundSchema =
4695
+ FieldUpdateDocumentFieldFieldMetaType$inboundSchema;
4696
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMetaType$outboundSchema` instead. */
4697
+ export const outboundSchema =
4698
+ FieldUpdateDocumentFieldFieldMetaType$outboundSchema;
4699
+ }
4700
+
4701
+ /** @internal */
4702
+ export const FieldUpdateDocumentFieldFieldMeta1$inboundSchema: z.ZodType<
4703
+ FieldUpdateDocumentFieldFieldMeta1,
4704
+ z.ZodTypeDef,
4705
+ unknown
4706
+ > = z.object({
4707
+ label: z.string().optional(),
4708
+ placeholder: z.string().optional(),
4709
+ required: z.boolean().optional(),
4710
+ readOnly: z.boolean().optional(),
4711
+ type: FieldUpdateDocumentFieldFieldMetaType$inboundSchema,
4712
+ fontSize: z.number().optional(),
4713
+ });
4714
+
4715
+ /** @internal */
4716
+ export type FieldUpdateDocumentFieldFieldMeta1$Outbound = {
4717
+ label?: string | undefined;
4718
+ placeholder?: string | undefined;
4719
+ required?: boolean | undefined;
4720
+ readOnly?: boolean | undefined;
4721
+ type: string;
4722
+ fontSize?: number | undefined;
4723
+ };
4724
+
4725
+ /** @internal */
4726
+ export const FieldUpdateDocumentFieldFieldMeta1$outboundSchema: z.ZodType<
4727
+ FieldUpdateDocumentFieldFieldMeta1$Outbound,
4728
+ z.ZodTypeDef,
4729
+ FieldUpdateDocumentFieldFieldMeta1
4730
+ > = z.object({
4731
+ label: z.string().optional(),
4732
+ placeholder: z.string().optional(),
4733
+ required: z.boolean().optional(),
4734
+ readOnly: z.boolean().optional(),
4735
+ type: FieldUpdateDocumentFieldFieldMetaType$outboundSchema,
4736
+ fontSize: z.number().optional(),
4737
+ });
4738
+
4739
+ /**
4740
+ * @internal
4741
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4742
+ */
4743
+ export namespace FieldUpdateDocumentFieldFieldMeta1$ {
4744
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta1$inboundSchema` instead. */
4745
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta1$inboundSchema;
4746
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta1$outboundSchema` instead. */
4747
+ export const outboundSchema =
4748
+ FieldUpdateDocumentFieldFieldMeta1$outboundSchema;
4749
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta1$Outbound` instead. */
4750
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta1$Outbound;
4751
+ }
4752
+
4753
+ export function fieldUpdateDocumentFieldFieldMeta1ToJSON(
4754
+ fieldUpdateDocumentFieldFieldMeta1: FieldUpdateDocumentFieldFieldMeta1,
4755
+ ): string {
4756
+ return JSON.stringify(
4757
+ FieldUpdateDocumentFieldFieldMeta1$outboundSchema.parse(
4758
+ fieldUpdateDocumentFieldFieldMeta1,
4759
+ ),
4760
+ );
4761
+ }
4762
+
4763
+ export function fieldUpdateDocumentFieldFieldMeta1FromJSON(
4764
+ jsonString: string,
4765
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta1, SDKValidationError> {
4766
+ return safeParse(
4767
+ jsonString,
4768
+ (x) =>
4769
+ FieldUpdateDocumentFieldFieldMeta1$inboundSchema.parse(JSON.parse(x)),
4770
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta1' from JSON`,
4771
+ );
4772
+ }
4773
+
4774
+ /** @internal */
4775
+ export const FieldUpdateDocumentFieldFieldMeta$inboundSchema: z.ZodType<
4776
+ FieldUpdateDocumentFieldFieldMeta,
4777
+ z.ZodTypeDef,
4778
+ unknown
4779
+ > = z.union([
4780
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta1$inboundSchema),
4781
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta2$inboundSchema),
4782
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta3$inboundSchema),
4783
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta4$inboundSchema),
4784
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta7$inboundSchema),
4785
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta9$inboundSchema),
4786
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta5$inboundSchema),
4787
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta8$inboundSchema),
4788
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta6$inboundSchema),
4789
+ ]);
4790
+
4791
+ /** @internal */
4792
+ export type FieldUpdateDocumentFieldFieldMeta$Outbound =
4793
+ | FieldUpdateDocumentFieldFieldMeta1$Outbound
4794
+ | FieldUpdateDocumentFieldFieldMeta2$Outbound
4795
+ | FieldUpdateDocumentFieldFieldMeta3$Outbound
4796
+ | FieldUpdateDocumentFieldFieldMeta4$Outbound
4797
+ | FieldUpdateDocumentFieldFieldMeta7$Outbound
4798
+ | FieldUpdateDocumentFieldFieldMeta9$Outbound
4799
+ | FieldUpdateDocumentFieldFieldMeta5$Outbound
4800
+ | FieldUpdateDocumentFieldFieldMeta8$Outbound
4801
+ | FieldUpdateDocumentFieldFieldMeta6$Outbound;
4802
+
4803
+ /** @internal */
4804
+ export const FieldUpdateDocumentFieldFieldMeta$outboundSchema: z.ZodType<
4805
+ FieldUpdateDocumentFieldFieldMeta$Outbound,
4806
+ z.ZodTypeDef,
4807
+ FieldUpdateDocumentFieldFieldMeta
4808
+ > = z.union([
4809
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta1$outboundSchema),
4810
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta2$outboundSchema),
4811
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta3$outboundSchema),
4812
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta4$outboundSchema),
4813
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta7$outboundSchema),
4814
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta9$outboundSchema),
4815
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta5$outboundSchema),
4816
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta8$outboundSchema),
4817
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta6$outboundSchema),
4818
+ ]);
4819
+
4820
+ /**
4821
+ * @internal
4822
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4823
+ */
4824
+ export namespace FieldUpdateDocumentFieldFieldMeta$ {
4825
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta$inboundSchema` instead. */
4826
+ export const inboundSchema = FieldUpdateDocumentFieldFieldMeta$inboundSchema;
4827
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta$outboundSchema` instead. */
4828
+ export const outboundSchema =
4829
+ FieldUpdateDocumentFieldFieldMeta$outboundSchema;
4830
+ /** @deprecated use `FieldUpdateDocumentFieldFieldMeta$Outbound` instead. */
4831
+ export type Outbound = FieldUpdateDocumentFieldFieldMeta$Outbound;
4832
+ }
4833
+
4834
+ export function fieldUpdateDocumentFieldFieldMetaToJSON(
4835
+ fieldUpdateDocumentFieldFieldMeta: FieldUpdateDocumentFieldFieldMeta,
4836
+ ): string {
4837
+ return JSON.stringify(
4838
+ FieldUpdateDocumentFieldFieldMeta$outboundSchema.parse(
4839
+ fieldUpdateDocumentFieldFieldMeta,
4840
+ ),
4841
+ );
4842
+ }
4843
+
4844
+ export function fieldUpdateDocumentFieldFieldMetaFromJSON(
4845
+ jsonString: string,
4846
+ ): SafeParseResult<FieldUpdateDocumentFieldFieldMeta, SDKValidationError> {
4847
+ return safeParse(
4848
+ jsonString,
4849
+ (x) => FieldUpdateDocumentFieldFieldMeta$inboundSchema.parse(JSON.parse(x)),
4850
+ `Failed to parse 'FieldUpdateDocumentFieldFieldMeta' from JSON`,
4851
+ );
4852
+ }
4853
+
4854
+ /** @internal */
4855
+ export const FieldUpdateDocumentFieldResponseBody$inboundSchema: z.ZodType<
4856
+ FieldUpdateDocumentFieldResponseBody,
4857
+ z.ZodTypeDef,
4858
+ unknown
4859
+ > = z.object({
4860
+ type: FieldUpdateDocumentFieldType$inboundSchema,
4861
+ id: z.number().int(),
4862
+ secondaryId: z.string(),
4863
+ documentId: z.nullable(z.number().int()),
4864
+ templateId: z.nullable(z.number().int()),
4865
+ recipientId: z.number().int(),
4866
+ page: z.number(),
4867
+ positionX: z.any().optional(),
4868
+ positionY: z.any().optional(),
4869
+ width: z.any().optional(),
4870
+ height: z.any().optional(),
4871
+ customText: z.string(),
4872
+ inserted: z.boolean(),
4873
+ fieldMeta: z.nullable(
4874
+ z.union([
4875
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta1$inboundSchema),
4876
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta2$inboundSchema),
4877
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta3$inboundSchema),
4878
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta4$inboundSchema),
4879
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta7$inboundSchema),
4880
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta9$inboundSchema),
4881
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta5$inboundSchema),
4882
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta8$inboundSchema),
4883
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta6$inboundSchema),
4884
+ ]),
4885
+ ),
4886
+ });
4887
+
4888
+ /** @internal */
4889
+ export type FieldUpdateDocumentFieldResponseBody$Outbound = {
4890
+ type: string;
4891
+ id: number;
4892
+ secondaryId: string;
4893
+ documentId: number | null;
4894
+ templateId: number | null;
4895
+ recipientId: number;
4896
+ page: number;
4897
+ positionX?: any | undefined;
4898
+ positionY?: any | undefined;
4899
+ width?: any | undefined;
4900
+ height?: any | undefined;
4901
+ customText: string;
4902
+ inserted: boolean;
4903
+ fieldMeta:
4904
+ | FieldUpdateDocumentFieldFieldMeta1$Outbound
4905
+ | FieldUpdateDocumentFieldFieldMeta2$Outbound
4906
+ | FieldUpdateDocumentFieldFieldMeta3$Outbound
4907
+ | FieldUpdateDocumentFieldFieldMeta4$Outbound
4908
+ | FieldUpdateDocumentFieldFieldMeta7$Outbound
4909
+ | FieldUpdateDocumentFieldFieldMeta9$Outbound
4910
+ | FieldUpdateDocumentFieldFieldMeta5$Outbound
4911
+ | FieldUpdateDocumentFieldFieldMeta8$Outbound
4912
+ | FieldUpdateDocumentFieldFieldMeta6$Outbound
4913
+ | null;
4914
+ };
4915
+
4916
+ /** @internal */
4917
+ export const FieldUpdateDocumentFieldResponseBody$outboundSchema: z.ZodType<
4918
+ FieldUpdateDocumentFieldResponseBody$Outbound,
4919
+ z.ZodTypeDef,
4920
+ FieldUpdateDocumentFieldResponseBody
4921
+ > = z.object({
4922
+ type: FieldUpdateDocumentFieldType$outboundSchema,
4923
+ id: z.number().int(),
4924
+ secondaryId: z.string(),
4925
+ documentId: z.nullable(z.number().int()),
4926
+ templateId: z.nullable(z.number().int()),
4927
+ recipientId: z.number().int(),
4928
+ page: z.number(),
4929
+ positionX: z.any().optional(),
4930
+ positionY: z.any().optional(),
4931
+ width: z.any().optional(),
4932
+ height: z.any().optional(),
4933
+ customText: z.string(),
4934
+ inserted: z.boolean(),
4935
+ fieldMeta: z.nullable(
4936
+ z.union([
4937
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta1$outboundSchema),
4938
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta2$outboundSchema),
4939
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta3$outboundSchema),
4940
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta4$outboundSchema),
4941
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta7$outboundSchema),
4942
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta9$outboundSchema),
4943
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta5$outboundSchema),
4944
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta8$outboundSchema),
4945
+ z.lazy(() => FieldUpdateDocumentFieldFieldMeta6$outboundSchema),
4946
+ ]),
4947
+ ),
4948
+ });
4949
+
4950
+ /**
4951
+ * @internal
4952
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4953
+ */
4954
+ export namespace FieldUpdateDocumentFieldResponseBody$ {
4955
+ /** @deprecated use `FieldUpdateDocumentFieldResponseBody$inboundSchema` instead. */
4956
+ export const inboundSchema =
4957
+ FieldUpdateDocumentFieldResponseBody$inboundSchema;
4958
+ /** @deprecated use `FieldUpdateDocumentFieldResponseBody$outboundSchema` instead. */
4959
+ export const outboundSchema =
4960
+ FieldUpdateDocumentFieldResponseBody$outboundSchema;
4961
+ /** @deprecated use `FieldUpdateDocumentFieldResponseBody$Outbound` instead. */
4962
+ export type Outbound = FieldUpdateDocumentFieldResponseBody$Outbound;
4963
+ }
4964
+
4965
+ export function fieldUpdateDocumentFieldResponseBodyToJSON(
4966
+ fieldUpdateDocumentFieldResponseBody: FieldUpdateDocumentFieldResponseBody,
4967
+ ): string {
4968
+ return JSON.stringify(
4969
+ FieldUpdateDocumentFieldResponseBody$outboundSchema.parse(
4970
+ fieldUpdateDocumentFieldResponseBody,
4971
+ ),
4972
+ );
4973
+ }
4974
+
4975
+ export function fieldUpdateDocumentFieldResponseBodyFromJSON(
4976
+ jsonString: string,
4977
+ ): SafeParseResult<FieldUpdateDocumentFieldResponseBody, SDKValidationError> {
4978
+ return safeParse(
4979
+ jsonString,
4980
+ (x) =>
4981
+ FieldUpdateDocumentFieldResponseBody$inboundSchema.parse(JSON.parse(x)),
4982
+ `Failed to parse 'FieldUpdateDocumentFieldResponseBody' from JSON`,
4983
+ );
4984
+ }