@documenso/sdk-typescript 0.5.0 → 0.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (418) hide show
  1. package/README.md +385 -355
  2. package/_speakeasy/.github/action-inputs-config.json +53 -0
  3. package/_speakeasy/.github/action-security-config.json +88 -0
  4. package/bin/mcp-server.js +51156 -29112
  5. package/bin/mcp-server.js.map +272 -85
  6. package/examples/package-lock.json +2 -10
  7. package/funcs/documentDocumentGetMany.d.ts +18 -0
  8. package/funcs/documentDocumentGetMany.d.ts.map +1 -0
  9. package/funcs/documentDocumentGetMany.js +118 -0
  10. package/funcs/documentDocumentGetMany.js.map +1 -0
  11. package/funcs/envelopeEnvelopeAuditLogFind.d.ts +18 -0
  12. package/funcs/envelopeEnvelopeAuditLogFind.d.ts.map +1 -0
  13. package/funcs/envelopeEnvelopeAuditLogFind.js +130 -0
  14. package/funcs/envelopeEnvelopeAuditLogFind.js.map +1 -0
  15. package/funcs/envelopeEnvelopeFind.d.ts +18 -0
  16. package/funcs/envelopeEnvelopeFind.d.ts.map +1 -0
  17. package/funcs/envelopeEnvelopeFind.js +130 -0
  18. package/funcs/envelopeEnvelopeFind.js.map +1 -0
  19. package/funcs/envelopeEnvelopeGetMany.d.ts +18 -0
  20. package/funcs/envelopeEnvelopeGetMany.d.ts.map +1 -0
  21. package/funcs/envelopeEnvelopeGetMany.js +118 -0
  22. package/funcs/envelopeEnvelopeGetMany.js.map +1 -0
  23. package/funcs/templateTemplateGetMany.d.ts +18 -0
  24. package/funcs/templateTemplateGetMany.d.ts.map +1 -0
  25. package/funcs/templateTemplateGetMany.js +118 -0
  26. package/funcs/templateTemplateGetMany.js.map +1 -0
  27. package/jsr.json +1 -1
  28. package/lib/config.d.ts +3 -3
  29. package/lib/config.js +3 -3
  30. package/lib/encodings.d.ts +1 -0
  31. package/lib/encodings.d.ts.map +1 -1
  32. package/lib/encodings.js +12 -1
  33. package/lib/encodings.js.map +1 -1
  34. package/lib/sdks.js +2 -2
  35. package/lib/sdks.js.map +1 -1
  36. package/mcp-server/mcp-server.js +1 -1
  37. package/mcp-server/prompts.d.ts +3 -3
  38. package/mcp-server/prompts.d.ts.map +1 -1
  39. package/mcp-server/prompts.js.map +1 -1
  40. package/mcp-server/resources.d.ts +3 -3
  41. package/mcp-server/resources.d.ts.map +1 -1
  42. package/mcp-server/resources.js.map +1 -1
  43. package/mcp-server/server.d.ts.map +1 -1
  44. package/mcp-server/server.js +11 -1
  45. package/mcp-server/server.js.map +1 -1
  46. package/mcp-server/tools/documentDocumentGetMany.d.ts +8 -0
  47. package/mcp-server/tools/documentDocumentGetMany.d.ts.map +1 -0
  48. package/mcp-server/tools/documentDocumentGetMany.js +64 -0
  49. package/mcp-server/tools/documentDocumentGetMany.js.map +1 -0
  50. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.d.ts +8 -0
  51. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.d.ts.map +1 -0
  52. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.js +64 -0
  53. package/mcp-server/tools/envelopeEnvelopeAuditLogFind.js.map +1 -0
  54. package/mcp-server/tools/envelopeEnvelopeFind.d.ts +8 -0
  55. package/mcp-server/tools/envelopeEnvelopeFind.d.ts.map +1 -0
  56. package/mcp-server/tools/envelopeEnvelopeFind.js +64 -0
  57. package/mcp-server/tools/envelopeEnvelopeFind.js.map +1 -0
  58. package/mcp-server/tools/envelopeEnvelopeGetMany.d.ts +8 -0
  59. package/mcp-server/tools/envelopeEnvelopeGetMany.d.ts.map +1 -0
  60. package/mcp-server/tools/envelopeEnvelopeGetMany.js +64 -0
  61. package/mcp-server/tools/envelopeEnvelopeGetMany.js.map +1 -0
  62. package/mcp-server/tools/templateTemplateGetMany.d.ts +8 -0
  63. package/mcp-server/tools/templateTemplateGetMany.d.ts.map +1 -0
  64. package/mcp-server/tools/templateTemplateGetMany.js +64 -0
  65. package/mcp-server/tools/templateTemplateGetMany.js.map +1 -0
  66. package/mcp-server/tools.d.ts +3 -3
  67. package/mcp-server/tools.d.ts.map +1 -1
  68. package/mcp-server/tools.js.map +1 -1
  69. package/models/errors/documentgetmany.d.ts +185 -0
  70. package/models/errors/documentgetmany.d.ts.map +1 -0
  71. package/models/errors/documentgetmany.js +268 -0
  72. package/models/errors/documentgetmany.js.map +1 -0
  73. package/models/errors/envelopeauditlogfind.d.ts +230 -0
  74. package/models/errors/envelopeauditlogfind.d.ts.map +1 -0
  75. package/models/errors/envelopeauditlogfind.js +319 -0
  76. package/models/errors/envelopeauditlogfind.js.map +1 -0
  77. package/models/errors/envelopefind.d.ts +230 -0
  78. package/models/errors/envelopefind.d.ts.map +1 -0
  79. package/models/errors/envelopefind.js +326 -0
  80. package/models/errors/envelopefind.js.map +1 -0
  81. package/models/errors/envelopegetmany.d.ts +185 -0
  82. package/models/errors/envelopegetmany.d.ts.map +1 -0
  83. package/models/errors/envelopegetmany.js +268 -0
  84. package/models/errors/envelopegetmany.js.map +1 -0
  85. package/models/errors/index.d.ts +5 -0
  86. package/models/errors/index.d.ts.map +1 -1
  87. package/models/errors/index.js +5 -0
  88. package/models/errors/index.js.map +1 -1
  89. package/models/errors/templategetmany.d.ts +185 -0
  90. package/models/errors/templategetmany.d.ts.map +1 -0
  91. package/models/errors/templategetmany.js +268 -0
  92. package/models/errors/templategetmany.js.map +1 -0
  93. package/models/operations/documentcreate.d.ts +77 -160
  94. package/models/operations/documentcreate.d.ts.map +1 -1
  95. package/models/operations/documentcreate.js +81 -153
  96. package/models/operations/documentcreate.js.map +1 -1
  97. package/models/operations/documentcreatedocumenttemporary.d.ts +102 -265
  98. package/models/operations/documentcreatedocumenttemporary.d.ts.map +1 -1
  99. package/models/operations/documentcreatedocumenttemporary.js +118 -263
  100. package/models/operations/documentcreatedocumenttemporary.js.map +1 -1
  101. package/models/operations/documentdistribute.d.ts +5 -0
  102. package/models/operations/documentdistribute.d.ts.map +1 -1
  103. package/models/operations/documentdistribute.js +5 -0
  104. package/models/operations/documentdistribute.js.map +1 -1
  105. package/models/operations/documentfind.d.ts +30 -30
  106. package/models/operations/documentfind.d.ts.map +1 -1
  107. package/models/operations/documentfind.js +31 -33
  108. package/models/operations/documentfind.js.map +1 -1
  109. package/models/operations/documentget.d.ts +25 -105
  110. package/models/operations/documentget.d.ts.map +1 -1
  111. package/models/operations/documentget.js +28 -99
  112. package/models/operations/documentget.js.map +1 -1
  113. package/models/operations/documentgetmany.d.ts +323 -0
  114. package/models/operations/documentgetmany.d.ts.map +1 -0
  115. package/models/operations/documentgetmany.js +370 -0
  116. package/models/operations/documentgetmany.js.map +1 -0
  117. package/models/operations/documentupdate.d.ts +20 -15
  118. package/models/operations/documentupdate.d.ts.map +1 -1
  119. package/models/operations/documentupdate.js +21 -18
  120. package/models/operations/documentupdate.js.map +1 -1
  121. package/models/operations/embeddingpresigncreateembeddingpresigntoken.d.ts +2 -0
  122. package/models/operations/embeddingpresigncreateembeddingpresigntoken.d.ts.map +1 -1
  123. package/models/operations/embeddingpresigncreateembeddingpresigntoken.js +2 -0
  124. package/models/operations/embeddingpresigncreateembeddingpresigntoken.js.map +1 -1
  125. package/models/operations/embeddingpresignverifyembeddingpresigntoken.d.ts +2 -0
  126. package/models/operations/embeddingpresignverifyembeddingpresigntoken.d.ts.map +1 -1
  127. package/models/operations/embeddingpresignverifyembeddingpresigntoken.js +2 -0
  128. package/models/operations/embeddingpresignverifyembeddingpresigntoken.js.map +1 -1
  129. package/models/operations/envelopeauditlogfind.d.ts +2844 -0
  130. package/models/operations/envelopeauditlogfind.d.ts.map +1 -0
  131. package/models/operations/envelopeauditlogfind.js +3579 -0
  132. package/models/operations/envelopeauditlogfind.js.map +1 -0
  133. package/models/operations/envelopecreate.d.ts +103 -167
  134. package/models/operations/envelopecreate.d.ts.map +1 -1
  135. package/models/operations/envelopecreate.js +109 -161
  136. package/models/operations/envelopecreate.js.map +1 -1
  137. package/models/operations/envelopedistribute.d.ts +46 -0
  138. package/models/operations/envelopedistribute.d.ts.map +1 -1
  139. package/models/operations/envelopedistribute.js +49 -1
  140. package/models/operations/envelopedistribute.js.map +1 -1
  141. package/models/operations/envelopefieldcreatemany.d.ts +97 -265
  142. package/models/operations/envelopefieldcreatemany.d.ts.map +1 -1
  143. package/models/operations/envelopefieldcreatemany.js +106 -280
  144. package/models/operations/envelopefieldcreatemany.js.map +1 -1
  145. package/models/operations/envelopefieldget.d.ts +25 -105
  146. package/models/operations/envelopefieldget.d.ts.map +1 -1
  147. package/models/operations/envelopefieldget.js +27 -97
  148. package/models/operations/envelopefieldget.js.map +1 -1
  149. package/models/operations/envelopefieldupdatemany.d.ts +97 -265
  150. package/models/operations/envelopefieldupdatemany.d.ts.map +1 -1
  151. package/models/operations/envelopefieldupdatemany.js +106 -280
  152. package/models/operations/envelopefieldupdatemany.js.map +1 -1
  153. package/models/operations/envelopefind.d.ts +465 -0
  154. package/models/operations/envelopefind.d.ts.map +1 -0
  155. package/models/operations/envelopefind.js +466 -0
  156. package/models/operations/envelopefind.js.map +1 -0
  157. package/models/operations/envelopeget.d.ts +30 -110
  158. package/models/operations/envelopeget.d.ts.map +1 -1
  159. package/models/operations/envelopeget.js +33 -104
  160. package/models/operations/envelopeget.js.map +1 -1
  161. package/models/operations/envelopegetmany.d.ts +1020 -0
  162. package/models/operations/envelopegetmany.d.ts.map +1 -0
  163. package/models/operations/envelopegetmany.js +1190 -0
  164. package/models/operations/envelopegetmany.js.map +1 -0
  165. package/models/operations/enveloperecipientcreatemany.d.ts +29 -12
  166. package/models/operations/enveloperecipientcreatemany.d.ts.map +1 -1
  167. package/models/operations/enveloperecipientcreatemany.js +40 -15
  168. package/models/operations/enveloperecipientcreatemany.js.map +1 -1
  169. package/models/operations/enveloperecipientget.d.ts +25 -105
  170. package/models/operations/enveloperecipientget.d.ts.map +1 -1
  171. package/models/operations/enveloperecipientget.js +27 -98
  172. package/models/operations/enveloperecipientget.js.map +1 -1
  173. package/models/operations/enveloperecipientupdatemany.d.ts +29 -12
  174. package/models/operations/enveloperecipientupdatemany.d.ts.map +1 -1
  175. package/models/operations/enveloperecipientupdatemany.js +40 -15
  176. package/models/operations/enveloperecipientupdatemany.js.map +1 -1
  177. package/models/operations/enveloperedistribute.d.ts +42 -0
  178. package/models/operations/enveloperedistribute.d.ts.map +1 -1
  179. package/models/operations/enveloperedistribute.js +44 -1
  180. package/models/operations/enveloperedistribute.js.map +1 -1
  181. package/models/operations/envelopeupdate.d.ts +20 -15
  182. package/models/operations/envelopeupdate.d.ts.map +1 -1
  183. package/models/operations/envelopeupdate.js +21 -18
  184. package/models/operations/envelopeupdate.js.map +1 -1
  185. package/models/operations/envelopeuse.d.ts +106 -78
  186. package/models/operations/envelopeuse.d.ts.map +1 -1
  187. package/models/operations/envelopeuse.js +118 -77
  188. package/models/operations/envelopeuse.js.map +1 -1
  189. package/models/operations/fieldcreatedocumentfield.d.ts +97 -265
  190. package/models/operations/fieldcreatedocumentfield.d.ts.map +1 -1
  191. package/models/operations/fieldcreatedocumentfield.js +106 -280
  192. package/models/operations/fieldcreatedocumentfield.js.map +1 -1
  193. package/models/operations/fieldcreatedocumentfields.d.ts +97 -265
  194. package/models/operations/fieldcreatedocumentfields.d.ts.map +1 -1
  195. package/models/operations/fieldcreatedocumentfields.js +107 -280
  196. package/models/operations/fieldcreatedocumentfields.js.map +1 -1
  197. package/models/operations/fieldcreatetemplatefield.d.ts +97 -265
  198. package/models/operations/fieldcreatetemplatefield.d.ts.map +1 -1
  199. package/models/operations/fieldcreatetemplatefield.js +106 -280
  200. package/models/operations/fieldcreatetemplatefield.js.map +1 -1
  201. package/models/operations/fieldcreatetemplatefields.d.ts +97 -265
  202. package/models/operations/fieldcreatetemplatefields.d.ts.map +1 -1
  203. package/models/operations/fieldcreatetemplatefields.js +107 -280
  204. package/models/operations/fieldcreatetemplatefields.js.map +1 -1
  205. package/models/operations/fieldgetdocumentfield.d.ts +25 -105
  206. package/models/operations/fieldgetdocumentfield.d.ts.map +1 -1
  207. package/models/operations/fieldgetdocumentfield.js +27 -97
  208. package/models/operations/fieldgetdocumentfield.js.map +1 -1
  209. package/models/operations/fieldgettemplatefield.d.ts +25 -105
  210. package/models/operations/fieldgettemplatefield.d.ts.map +1 -1
  211. package/models/operations/fieldgettemplatefield.js +27 -97
  212. package/models/operations/fieldgettemplatefield.js.map +1 -1
  213. package/models/operations/fieldupdatedocumentfield.d.ts +97 -265
  214. package/models/operations/fieldupdatedocumentfield.d.ts.map +1 -1
  215. package/models/operations/fieldupdatedocumentfield.js +106 -280
  216. package/models/operations/fieldupdatedocumentfield.js.map +1 -1
  217. package/models/operations/fieldupdatedocumentfields.d.ts +97 -265
  218. package/models/operations/fieldupdatedocumentfields.d.ts.map +1 -1
  219. package/models/operations/fieldupdatedocumentfields.js +107 -280
  220. package/models/operations/fieldupdatedocumentfields.js.map +1 -1
  221. package/models/operations/fieldupdatetemplatefield.d.ts +97 -265
  222. package/models/operations/fieldupdatetemplatefield.d.ts.map +1 -1
  223. package/models/operations/fieldupdatetemplatefield.js +106 -280
  224. package/models/operations/fieldupdatetemplatefield.js.map +1 -1
  225. package/models/operations/fieldupdatetemplatefields.d.ts +97 -265
  226. package/models/operations/fieldupdatetemplatefields.d.ts.map +1 -1
  227. package/models/operations/fieldupdatetemplatefields.js +107 -280
  228. package/models/operations/fieldupdatetemplatefields.js.map +1 -1
  229. package/models/operations/folderupdatefolder.d.ts +5 -5
  230. package/models/operations/folderupdatefolder.d.ts.map +1 -1
  231. package/models/operations/folderupdatefolder.js +6 -6
  232. package/models/operations/folderupdatefolder.js.map +1 -1
  233. package/models/operations/index.d.ts +5 -0
  234. package/models/operations/index.d.ts.map +1 -1
  235. package/models/operations/index.js +5 -0
  236. package/models/operations/index.js.map +1 -1
  237. package/models/operations/recipientcreatedocumentrecipient.d.ts +10 -10
  238. package/models/operations/recipientcreatedocumentrecipient.d.ts.map +1 -1
  239. package/models/operations/recipientcreatedocumentrecipient.js +11 -13
  240. package/models/operations/recipientcreatedocumentrecipient.js.map +1 -1
  241. package/models/operations/recipientcreatedocumentrecipients.d.ts +10 -10
  242. package/models/operations/recipientcreatedocumentrecipients.d.ts.map +1 -1
  243. package/models/operations/recipientcreatedocumentrecipients.js +11 -11
  244. package/models/operations/recipientcreatedocumentrecipients.js.map +1 -1
  245. package/models/operations/recipientcreatetemplaterecipient.d.ts +10 -10
  246. package/models/operations/recipientcreatetemplaterecipient.d.ts.map +1 -1
  247. package/models/operations/recipientcreatetemplaterecipient.js +11 -13
  248. package/models/operations/recipientcreatetemplaterecipient.js.map +1 -1
  249. package/models/operations/recipientcreatetemplaterecipients.d.ts +10 -10
  250. package/models/operations/recipientcreatetemplaterecipients.d.ts.map +1 -1
  251. package/models/operations/recipientcreatetemplaterecipients.js +11 -11
  252. package/models/operations/recipientcreatetemplaterecipients.js.map +1 -1
  253. package/models/operations/recipientgetdocumentrecipient.d.ts +25 -105
  254. package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -1
  255. package/models/operations/recipientgetdocumentrecipient.js +27 -103
  256. package/models/operations/recipientgetdocumentrecipient.js.map +1 -1
  257. package/models/operations/recipientgettemplaterecipient.d.ts +25 -105
  258. package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -1
  259. package/models/operations/recipientgettemplaterecipient.js +27 -103
  260. package/models/operations/recipientgettemplaterecipient.js.map +1 -1
  261. package/models/operations/recipientupdatedocumentrecipient.d.ts +35 -115
  262. package/models/operations/recipientupdatedocumentrecipient.d.ts.map +1 -1
  263. package/models/operations/recipientupdatedocumentrecipient.js +38 -120
  264. package/models/operations/recipientupdatedocumentrecipient.js.map +1 -1
  265. package/models/operations/recipientupdatedocumentrecipients.d.ts +35 -115
  266. package/models/operations/recipientupdatedocumentrecipients.d.ts.map +1 -1
  267. package/models/operations/recipientupdatedocumentrecipients.js +38 -118
  268. package/models/operations/recipientupdatedocumentrecipients.js.map +1 -1
  269. package/models/operations/recipientupdatetemplaterecipient.d.ts +35 -115
  270. package/models/operations/recipientupdatetemplaterecipient.d.ts.map +1 -1
  271. package/models/operations/recipientupdatetemplaterecipient.js +38 -120
  272. package/models/operations/recipientupdatetemplaterecipient.js.map +1 -1
  273. package/models/operations/recipientupdatetemplaterecipients.d.ts +35 -115
  274. package/models/operations/recipientupdatetemplaterecipients.d.ts.map +1 -1
  275. package/models/operations/recipientupdatetemplaterecipients.js +38 -118
  276. package/models/operations/recipientupdatetemplaterecipients.js.map +1 -1
  277. package/models/operations/templatecreatedocumentfromtemplate.d.ts +239 -186
  278. package/models/operations/templatecreatedocumentfromtemplate.d.ts.map +1 -1
  279. package/models/operations/templatecreatedocumentfromtemplate.js +277 -178
  280. package/models/operations/templatecreatedocumentfromtemplate.js.map +1 -1
  281. package/models/operations/templatecreatetemplate.d.ts +5 -0
  282. package/models/operations/templatecreatetemplate.d.ts.map +1 -1
  283. package/models/operations/templatecreatetemplate.js +5 -0
  284. package/models/operations/templatecreatetemplate.js.map +1 -1
  285. package/models/operations/templatecreatetemplatetemporary.d.ts +35 -110
  286. package/models/operations/templatecreatetemplatetemporary.d.ts.map +1 -1
  287. package/models/operations/templatecreatetemplatetemporary.js +41 -116
  288. package/models/operations/templatecreatetemplatetemporary.js.map +1 -1
  289. package/models/operations/templatefindtemplates.d.ts +30 -110
  290. package/models/operations/templatefindtemplates.d.ts.map +1 -1
  291. package/models/operations/templatefindtemplates.js +33 -103
  292. package/models/operations/templatefindtemplates.js.map +1 -1
  293. package/models/operations/templategetmany.d.ts +822 -0
  294. package/models/operations/templategetmany.d.ts.map +1 -0
  295. package/models/operations/templategetmany.js +958 -0
  296. package/models/operations/templategetmany.js.map +1 -0
  297. package/models/operations/templategettemplatebyid.d.ts +30 -110
  298. package/models/operations/templategettemplatebyid.d.ts.map +1 -1
  299. package/models/operations/templategettemplatebyid.js +33 -104
  300. package/models/operations/templategettemplatebyid.js.map +1 -1
  301. package/models/operations/templateupdatetemplate.d.ts +20 -15
  302. package/models/operations/templateupdatetemplate.d.ts.map +1 -1
  303. package/models/operations/templateupdatetemplate.js +24 -18
  304. package/models/operations/templateupdatetemplate.js.map +1 -1
  305. package/package.json +3 -6
  306. package/sdk/document.d.ts +7 -0
  307. package/sdk/document.d.ts.map +1 -1
  308. package/sdk/document.js +10 -0
  309. package/sdk/document.js.map +1 -1
  310. package/sdk/envelope.d.ts +26 -0
  311. package/sdk/envelope.d.ts.map +1 -0
  312. package/sdk/envelope.js +42 -0
  313. package/sdk/envelope.js.map +1 -0
  314. package/sdk/sdk.d.ts +3 -0
  315. package/sdk/sdk.d.ts.map +1 -1
  316. package/sdk/sdk.js +4 -0
  317. package/sdk/sdk.js.map +1 -1
  318. package/sdk/template.d.ts +7 -0
  319. package/sdk/template.d.ts.map +1 -1
  320. package/sdk/template.js +10 -0
  321. package/sdk/template.js.map +1 -1
  322. package/src/funcs/documentDocumentGetMany.ts +181 -0
  323. package/src/funcs/envelopeEnvelopeAuditLogFind.ts +203 -0
  324. package/src/funcs/envelopeEnvelopeFind.ts +198 -0
  325. package/src/funcs/envelopeEnvelopeGetMany.ts +181 -0
  326. package/src/funcs/templateTemplateGetMany.ts +181 -0
  327. package/src/lib/config.ts +3 -3
  328. package/src/lib/encodings.ts +17 -3
  329. package/src/lib/sdks.ts +2 -2
  330. package/src/mcp-server/mcp-server.ts +1 -1
  331. package/src/mcp-server/prompts.ts +7 -3
  332. package/src/mcp-server/resources.ts +7 -3
  333. package/src/mcp-server/server.ts +11 -1
  334. package/src/mcp-server/tools/documentDocumentGetMany.ts +37 -0
  335. package/src/mcp-server/tools/envelopeEnvelopeAuditLogFind.ts +37 -0
  336. package/src/mcp-server/tools/envelopeEnvelopeFind.ts +37 -0
  337. package/src/mcp-server/tools/envelopeEnvelopeGetMany.ts +37 -0
  338. package/src/mcp-server/tools/templateTemplateGetMany.ts +37 -0
  339. package/src/mcp-server/tools.ts +7 -3
  340. package/src/models/errors/documentgetmany.ts +503 -0
  341. package/src/models/errors/envelopeauditlogfind.ts +637 -0
  342. package/src/models/errors/envelopefind.ts +613 -0
  343. package/src/models/errors/envelopegetmany.ts +503 -0
  344. package/src/models/errors/index.ts +5 -0
  345. package/src/models/errors/templategetmany.ts +503 -0
  346. package/src/models/operations/documentcreate.ts +169 -340
  347. package/src/models/operations/documentcreatedocumenttemporary.ts +220 -547
  348. package/src/models/operations/documentdistribute.ts +5 -0
  349. package/src/models/operations/documentfind.ts +74 -62
  350. package/src/models/operations/documentget.ts +52 -198
  351. package/src/models/operations/documentgetmany.ts +772 -0
  352. package/src/models/operations/documentupdate.ts +47 -38
  353. package/src/models/operations/embeddingpresigncreateembeddingpresigntoken.ts +4 -0
  354. package/src/models/operations/embeddingpresignverifyembeddingpresigntoken.ts +4 -0
  355. package/src/models/operations/envelopeauditlogfind.ts +8406 -0
  356. package/src/models/operations/envelopecreate.ts +239 -355
  357. package/src/models/operations/envelopedistribute.ts +100 -0
  358. package/src/models/operations/envelopefieldcreatemany.ts +219 -552
  359. package/src/models/operations/envelopefieldget.ts +52 -210
  360. package/src/models/operations/envelopefieldupdatemany.ts +219 -552
  361. package/src/models/operations/envelopefind.ts +979 -0
  362. package/src/models/operations/envelopeget.ts +63 -209
  363. package/src/models/operations/envelopegetmany.ts +2658 -0
  364. package/src/models/operations/enveloperecipientcreatemany.ts +91 -28
  365. package/src/models/operations/enveloperecipientget.ts +52 -212
  366. package/src/models/operations/enveloperecipientupdatemany.ts +91 -28
  367. package/src/models/operations/enveloperedistribute.ts +102 -0
  368. package/src/models/operations/envelopeupdate.ts +47 -38
  369. package/src/models/operations/envelopeuse.ts +259 -151
  370. package/src/models/operations/fieldcreatedocumentfield.ts +222 -553
  371. package/src/models/operations/fieldcreatedocumentfields.ts +221 -553
  372. package/src/models/operations/fieldcreatetemplatefield.ts +222 -553
  373. package/src/models/operations/fieldcreatetemplatefields.ts +221 -553
  374. package/src/models/operations/fieldgetdocumentfield.ts +52 -212
  375. package/src/models/operations/fieldgettemplatefield.ts +52 -212
  376. package/src/models/operations/fieldupdatedocumentfield.ts +222 -553
  377. package/src/models/operations/fieldupdatedocumentfields.ts +221 -553
  378. package/src/models/operations/fieldupdatetemplatefield.ts +222 -553
  379. package/src/models/operations/fieldupdatetemplatefields.ts +221 -553
  380. package/src/models/operations/folderupdatefolder.ts +12 -12
  381. package/src/models/operations/index.ts +5 -0
  382. package/src/models/operations/recipientcreatedocumentrecipient.ts +28 -24
  383. package/src/models/operations/recipientcreatedocumentrecipients.ts +28 -24
  384. package/src/models/operations/recipientcreatetemplaterecipient.ts +28 -24
  385. package/src/models/operations/recipientcreatetemplaterecipients.ts +28 -24
  386. package/src/models/operations/recipientgetdocumentrecipient.ts +53 -217
  387. package/src/models/operations/recipientgettemplaterecipient.ts +53 -217
  388. package/src/models/operations/recipientupdatedocumentrecipient.ts +80 -237
  389. package/src/models/operations/recipientupdatedocumentrecipients.ts +80 -237
  390. package/src/models/operations/recipientupdatetemplaterecipient.ts +80 -237
  391. package/src/models/operations/recipientupdatetemplaterecipients.ts +80 -237
  392. package/src/models/operations/templatecreatedocumentfromtemplate.ts +671 -420
  393. package/src/models/operations/templatecreatetemplate.ts +5 -0
  394. package/src/models/operations/templatecreatetemplatetemporary.ts +69 -224
  395. package/src/models/operations/templatefindtemplates.ts +64 -224
  396. package/src/models/operations/templategetmany.ts +2134 -0
  397. package/src/models/operations/templategettemplatebyid.ts +65 -225
  398. package/src/models/operations/templateupdatetemplate.ts +41 -37
  399. package/src/sdk/document.ts +18 -0
  400. package/src/sdk/envelope.ts +63 -0
  401. package/src/sdk/sdk.ts +6 -0
  402. package/src/sdk/template.ts +18 -0
  403. package/src/types/enums.ts +1 -21
  404. package/src/types/index.ts +2 -1
  405. package/src/types/unrecognized.ts +35 -0
  406. package/tsconfig.json +1 -2
  407. package/types/enums.d.ts +1 -8
  408. package/types/enums.d.ts.map +1 -1
  409. package/types/enums.js +3 -21
  410. package/types/enums.js.map +1 -1
  411. package/types/index.d.ts +2 -1
  412. package/types/index.d.ts.map +1 -1
  413. package/types/index.js +15 -0
  414. package/types/index.js.map +1 -1
  415. package/types/unrecognized.d.ts +16 -0
  416. package/types/unrecognized.d.ts.map +1 -0
  417. package/types/unrecognized.js +34 -0
  418. package/types/unrecognized.js.map +1 -0
@@ -0,0 +1,3579 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.EnvelopeAuditLogFindRequest$outboundSchema = exports.EnvelopeAuditLogFindRequest$inboundSchema = exports.EnvelopeAuditLogFindOrderByDirection$outboundSchema = exports.EnvelopeAuditLogFindOrderByDirection$inboundSchema = exports.EnvelopeAuditLogFindOrderByColumn$outboundSchema = exports.EnvelopeAuditLogFindOrderByColumn$inboundSchema = exports.EmailType = exports.EnvelopeAuditLogFindTypeEnum = exports.FieldType = exports.FieldSecurityType1 = exports.EnvelopeAuditLogFindTypeInitials1 = exports.EnvelopeAuditLogFindTypeEmailEnum1 = exports.EnvelopeAuditLogFindTypeDate1 = exports.EnvelopeAuditLogFindTypeNameEnum1 = exports.EnvelopeAuditLogFindTypeText1 = exports.EnvelopeAuditLogFindTypeSignature1 = exports.EnvelopeAuditLogFindTypeFreeSignature1 = exports.EnvelopeAuditLogFindTypeRadio1 = exports.EnvelopeAuditLogFindTypeCheckbox1 = exports.EnvelopeAuditLogFindTypeDropdown1 = exports.EnvelopeAuditLogFindTypeNumber1 = exports.FieldEnum = exports.FieldSecurityType2 = exports.EnvelopeAuditLogFindTypeInitials2 = exports.EnvelopeAuditLogFindTypeEmailEnum2 = exports.EnvelopeAuditLogFindTypeDate2 = exports.EnvelopeAuditLogFindTypeNameEnum2 = exports.EnvelopeAuditLogFindTypeText2 = exports.EnvelopeAuditLogFindTypeSignature2 = exports.EnvelopeAuditLogFindTypeFreeSignature2 = exports.EnvelopeAuditLogFindTypeRadio2 = exports.EnvelopeAuditLogFindTypeCheckbox2 = exports.EnvelopeAuditLogFindTypeDropdown2 = exports.EnvelopeAuditLogFindTypeNumber2 = exports.TypeDateFormat = exports.TypeMessage = exports.TypeRedirectURL = exports.TypeSubject = exports.TypeTimezone = exports.TypeEmailID = exports.TypeEmailReplyTo = exports.TypeEmailSettings = exports.TypePassword = exports.EnvelopeAuditLogFindAccessAuth1 = exports.EnvelopeAuditLogFindAccessAuth2 = exports.EnvelopeAuditLogFindActionAuth1 = exports.EnvelopeAuditLogFindActionAuth2 = exports.EnvelopeAuditLogFindAccessAuth3 = exports.EnvelopeAuditLogFindOrderByDirection = exports.EnvelopeAuditLogFindOrderByColumn = void 0;
40
+ exports.ChangeFrom2$outboundSchema = exports.ChangeFrom2$inboundSchema = exports.DataRecipientCreated$outboundSchema = exports.DataRecipientCreated$inboundSchema = exports.EnvelopeAuditLogFindData30$outboundSchema = exports.EnvelopeAuditLogFindData30$inboundSchema = exports.EnvelopeAuditLogFindActionAuth2$outboundSchema = exports.EnvelopeAuditLogFindActionAuth2$inboundSchema = exports.EnvelopeAuditLogFindAccessAuth3$outboundSchema = exports.EnvelopeAuditLogFindAccessAuth3$inboundSchema = exports.DataRecipientUpdated$outboundSchema = exports.DataRecipientUpdated$inboundSchema = exports.EnvelopeAuditLogFindData31$outboundSchema = exports.EnvelopeAuditLogFindData31$inboundSchema = exports.ChangeUnion3$outboundSchema = exports.ChangeUnion3$inboundSchema = exports.ChangeActionAuth$outboundSchema = exports.ChangeActionAuth$inboundSchema = exports.ChangeToUnion1$outboundSchema = exports.ChangeToUnion1$inboundSchema = exports.ChangeFromUnion1$outboundSchema = exports.ChangeFromUnion1$inboundSchema = exports.ChangeAccessAuth$outboundSchema = exports.ChangeAccessAuth$inboundSchema = exports.ChangeToUnion2$outboundSchema = exports.ChangeToUnion2$inboundSchema = exports.ChangeFromUnion2$outboundSchema = exports.ChangeFromUnion2$inboundSchema = exports.ChangeName$outboundSchema = exports.ChangeName$inboundSchema = exports.ChangeToUnion3$outboundSchema = exports.ChangeToUnion3$inboundSchema = exports.ChangeFromUnion3$outboundSchema = exports.ChangeFromUnion3$inboundSchema = exports.ChangeRole$outboundSchema = exports.ChangeRole$inboundSchema = exports.ChangeToUnion4$outboundSchema = exports.ChangeToUnion4$inboundSchema = exports.ChangeFromUnion4$outboundSchema = exports.ChangeFromUnion4$inboundSchema = exports.ChangeEmail$outboundSchema = exports.ChangeEmail$inboundSchema = exports.ChangeToUnion5$outboundSchema = exports.ChangeToUnion5$inboundSchema = exports.ChangeFromUnion5$outboundSchema = exports.ChangeFromUnion5$inboundSchema = exports.DataRecipientDeleted$outboundSchema = exports.DataRecipientDeleted$inboundSchema = exports.EnvelopeAuditLogFindData32$outboundSchema = exports.EnvelopeAuditLogFindData32$inboundSchema = void 0;
41
+ exports.EnvelopeAuditLogFindData20$outboundSchema = exports.EnvelopeAuditLogFindData20$inboundSchema = exports.DataDocumentAccessAuth2FaRequested$outboundSchema = exports.DataDocumentAccessAuth2FaRequested$inboundSchema = exports.EnvelopeAuditLogFindData21$outboundSchema = exports.EnvelopeAuditLogFindData21$inboundSchema = exports.DataDocumentAccessAuth2FaValidated$outboundSchema = exports.DataDocumentAccessAuth2FaValidated$inboundSchema = exports.EnvelopeAuditLogFindData22$outboundSchema = exports.EnvelopeAuditLogFindData22$inboundSchema = exports.DataDocumentAccessAuth2FaFailed$outboundSchema = exports.DataDocumentAccessAuth2FaFailed$inboundSchema = exports.EnvelopeAuditLogFindData23$outboundSchema = exports.EnvelopeAuditLogFindData23$inboundSchema = exports.DataDocumentSent$outboundSchema = exports.DataDocumentSent$inboundSchema = exports.EnvelopeAuditLogFindData24$outboundSchema = exports.EnvelopeAuditLogFindData24$inboundSchema = exports.DataDocumentTitleUpdated$outboundSchema = exports.DataDocumentTitleUpdated$inboundSchema = exports.EnvelopeAuditLogFindData25$outboundSchema = exports.EnvelopeAuditLogFindData25$inboundSchema = exports.DataDocumentExternalIDUpdated$outboundSchema = exports.DataDocumentExternalIDUpdated$inboundSchema = exports.EnvelopeAuditLogFindData26$outboundSchema = exports.EnvelopeAuditLogFindData26$inboundSchema = exports.DataFieldCreated$outboundSchema = exports.DataFieldCreated$inboundSchema = exports.EnvelopeAuditLogFindData27$outboundSchema = exports.EnvelopeAuditLogFindData27$inboundSchema = exports.DataFieldDeleted$outboundSchema = exports.DataFieldDeleted$inboundSchema = exports.EnvelopeAuditLogFindData28$outboundSchema = exports.EnvelopeAuditLogFindData28$inboundSchema = exports.DataFieldUpdated$outboundSchema = exports.DataFieldUpdated$inboundSchema = exports.EnvelopeAuditLogFindData29$outboundSchema = exports.EnvelopeAuditLogFindData29$inboundSchema = exports.ChangeUnion2$outboundSchema = exports.ChangeUnion2$inboundSchema = exports.ChangeDimension$outboundSchema = exports.ChangeDimension$inboundSchema = exports.ChangeTo1$outboundSchema = exports.ChangeTo1$inboundSchema = exports.ChangeFrom1$outboundSchema = exports.ChangeFrom1$inboundSchema = exports.ChangePosition$outboundSchema = exports.ChangePosition$inboundSchema = exports.ChangeTo2$outboundSchema = exports.ChangeTo2$inboundSchema = void 0;
42
+ exports.DataDocumentMetaUpdated$outboundSchema = exports.DataDocumentMetaUpdated$inboundSchema = exports.EnvelopeAuditLogFindData16$outboundSchema = exports.EnvelopeAuditLogFindData16$inboundSchema = exports.ChangeUnion1$outboundSchema = exports.ChangeUnion1$inboundSchema = exports.Change$outboundSchema = exports.Change$inboundSchema = exports.ChangeTypeUnion$outboundSchema = exports.ChangeTypeUnion$inboundSchema = exports.TypeDateFormat$outboundSchema = exports.TypeDateFormat$inboundSchema = exports.TypeMessage$outboundSchema = exports.TypeMessage$inboundSchema = exports.TypeRedirectURL$outboundSchema = exports.TypeRedirectURL$inboundSchema = exports.TypeSubject$outboundSchema = exports.TypeSubject$inboundSchema = exports.TypeTimezone$outboundSchema = exports.TypeTimezone$inboundSchema = exports.TypeEmailID$outboundSchema = exports.TypeEmailID$inboundSchema = exports.TypeEmailReplyTo$outboundSchema = exports.TypeEmailReplyTo$inboundSchema = exports.TypeEmailSettings$outboundSchema = exports.TypeEmailSettings$inboundSchema = exports.ChangePassword$outboundSchema = exports.ChangePassword$inboundSchema = exports.TypePassword$outboundSchema = exports.TypePassword$inboundSchema = exports.DataDocumentOpened$outboundSchema = exports.DataDocumentOpened$inboundSchema = exports.EnvelopeAuditLogFindData17$outboundSchema = exports.EnvelopeAuditLogFindData17$inboundSchema = exports.EnvelopeAuditLogFindAccessAuth1$outboundSchema = exports.EnvelopeAuditLogFindAccessAuth1$inboundSchema = exports.DataDocumentViewed$outboundSchema = exports.DataDocumentViewed$inboundSchema = exports.EnvelopeAuditLogFindData18$outboundSchema = exports.EnvelopeAuditLogFindData18$inboundSchema = exports.EnvelopeAuditLogFindAccessAuth2$outboundSchema = exports.EnvelopeAuditLogFindAccessAuth2$inboundSchema = exports.DataDocumentRecipientCompleted$outboundSchema = exports.DataDocumentRecipientCompleted$inboundSchema = exports.EnvelopeAuditLogFindData19$outboundSchema = exports.EnvelopeAuditLogFindData19$inboundSchema = exports.EnvelopeAuditLogFindActionAuth1$outboundSchema = exports.EnvelopeAuditLogFindActionAuth1$inboundSchema = exports.DataDocumentRecipientRejected$outboundSchema = exports.DataDocumentRecipientRejected$inboundSchema = void 0;
43
+ exports.EnvelopeAuditLogFindTypeText2$outboundSchema = exports.EnvelopeAuditLogFindTypeText2$inboundSchema = exports.EnvelopeAuditLogFindField3$outboundSchema = exports.EnvelopeAuditLogFindField3$inboundSchema = exports.FieldTypeUnion2$outboundSchema = exports.FieldTypeUnion2$inboundSchema = exports.EnvelopeAuditLogFindTypeSignature2$outboundSchema = exports.EnvelopeAuditLogFindTypeSignature2$inboundSchema = exports.EnvelopeAuditLogFindTypeFreeSignature2$outboundSchema = exports.EnvelopeAuditLogFindTypeFreeSignature2$inboundSchema = exports.EnvelopeAuditLogFindFieldRadio2$outboundSchema = exports.EnvelopeAuditLogFindFieldRadio2$inboundSchema = exports.EnvelopeAuditLogFindTypeRadio2$outboundSchema = exports.EnvelopeAuditLogFindTypeRadio2$inboundSchema = exports.EnvelopeAuditLogFindFieldCheckbox2$outboundSchema = exports.EnvelopeAuditLogFindFieldCheckbox2$inboundSchema = exports.EnvelopeAuditLogFindTypeCheckbox2$outboundSchema = exports.EnvelopeAuditLogFindTypeCheckbox2$inboundSchema = exports.EnvelopeAuditLogFindFieldDropdown2$outboundSchema = exports.EnvelopeAuditLogFindFieldDropdown2$inboundSchema = exports.EnvelopeAuditLogFindTypeDropdown2$outboundSchema = exports.EnvelopeAuditLogFindTypeDropdown2$inboundSchema = exports.EnvelopeAuditLogFindFieldNumber2$outboundSchema = exports.EnvelopeAuditLogFindFieldNumber2$inboundSchema = exports.EnvelopeAuditLogFindTypeNumber2$outboundSchema = exports.EnvelopeAuditLogFindTypeNumber2$inboundSchema = exports.DataDocumentVisibilityUpdated$outboundSchema = exports.DataDocumentVisibilityUpdated$inboundSchema = exports.EnvelopeAuditLogFindData13$outboundSchema = exports.EnvelopeAuditLogFindData13$inboundSchema = exports.ToUnion1$outboundSchema = exports.ToUnion1$inboundSchema = exports.FromUnion1$outboundSchema = exports.FromUnion1$inboundSchema = exports.DataDocumentGlobalAuthAccessUpdated$outboundSchema = exports.DataDocumentGlobalAuthAccessUpdated$inboundSchema = exports.EnvelopeAuditLogFindData14$outboundSchema = exports.EnvelopeAuditLogFindData14$inboundSchema = exports.ToUnion2$outboundSchema = exports.ToUnion2$inboundSchema = exports.FromUnion2$outboundSchema = exports.FromUnion2$inboundSchema = exports.DataDocumentGlobalAuthActionUpdated$outboundSchema = exports.DataDocumentGlobalAuthActionUpdated$inboundSchema = exports.EnvelopeAuditLogFindData15$outboundSchema = exports.EnvelopeAuditLogFindData15$inboundSchema = exports.ToUnion3$outboundSchema = exports.ToUnion3$inboundSchema = exports.FromUnion3$outboundSchema = exports.FromUnion3$inboundSchema = void 0;
44
+ exports.EnvelopeAuditLogFindFieldRadio1$outboundSchema = exports.EnvelopeAuditLogFindFieldRadio1$inboundSchema = exports.EnvelopeAuditLogFindTypeRadio1$outboundSchema = exports.EnvelopeAuditLogFindTypeRadio1$inboundSchema = exports.EnvelopeAuditLogFindFieldCheckbox1$outboundSchema = exports.EnvelopeAuditLogFindFieldCheckbox1$inboundSchema = exports.EnvelopeAuditLogFindTypeCheckbox1$outboundSchema = exports.EnvelopeAuditLogFindTypeCheckbox1$inboundSchema = exports.EnvelopeAuditLogFindFieldDropdown1$outboundSchema = exports.EnvelopeAuditLogFindFieldDropdown1$inboundSchema = exports.EnvelopeAuditLogFindTypeDropdown1$outboundSchema = exports.EnvelopeAuditLogFindTypeDropdown1$inboundSchema = exports.EnvelopeAuditLogFindFieldNumber1$outboundSchema = exports.EnvelopeAuditLogFindFieldNumber1$inboundSchema = exports.EnvelopeAuditLogFindTypeNumber1$outboundSchema = exports.EnvelopeAuditLogFindTypeNumber1$inboundSchema = exports.DataDocumentFieldUninserted$outboundSchema = exports.DataDocumentFieldUninserted$inboundSchema = exports.EnvelopeAuditLogFindData11$outboundSchema = exports.EnvelopeAuditLogFindData11$inboundSchema = exports.FieldEnum$outboundSchema = exports.FieldEnum$inboundSchema = exports.DataDocumentFieldPrefilled$outboundSchema = exports.DataDocumentFieldPrefilled$inboundSchema = exports.EnvelopeAuditLogFindData12$outboundSchema = exports.EnvelopeAuditLogFindData12$inboundSchema = exports.FieldSecurity2$outboundSchema = exports.FieldSecurity2$inboundSchema = exports.FieldSecurityType2$outboundSchema = exports.FieldSecurityType2$inboundSchema = exports.EnvelopeAuditLogFindFieldUnion2$outboundSchema = exports.EnvelopeAuditLogFindFieldUnion2$inboundSchema = exports.EnvelopeAuditLogFindFieldInitials2$outboundSchema = exports.EnvelopeAuditLogFindFieldInitials2$inboundSchema = exports.EnvelopeAuditLogFindTypeInitials2$outboundSchema = exports.EnvelopeAuditLogFindTypeInitials2$inboundSchema = exports.EnvelopeAuditLogFindFieldEmail2$outboundSchema = exports.EnvelopeAuditLogFindFieldEmail2$inboundSchema = exports.EnvelopeAuditLogFindTypeEmailEnum2$outboundSchema = exports.EnvelopeAuditLogFindTypeEmailEnum2$inboundSchema = exports.EnvelopeAuditLogFindFieldDate2$outboundSchema = exports.EnvelopeAuditLogFindFieldDate2$inboundSchema = exports.EnvelopeAuditLogFindTypeDate2$outboundSchema = exports.EnvelopeAuditLogFindTypeDate2$inboundSchema = exports.EnvelopeAuditLogFindFieldName2$outboundSchema = exports.EnvelopeAuditLogFindFieldName2$inboundSchema = exports.EnvelopeAuditLogFindTypeNameEnum2$outboundSchema = exports.EnvelopeAuditLogFindTypeNameEnum2$inboundSchema = exports.EnvelopeAuditLogFindFieldText2$outboundSchema = exports.EnvelopeAuditLogFindFieldText2$inboundSchema = void 0;
45
+ exports.DataDocumentDelegatedOwnerCreated$outboundSchema = exports.DataDocumentDelegatedOwnerCreated$inboundSchema = exports.EnvelopeAuditLogFindData8$outboundSchema = exports.EnvelopeAuditLogFindData8$inboundSchema = exports.DataDocumentFieldsAutoInserted$outboundSchema = exports.DataDocumentFieldsAutoInserted$inboundSchema = exports.EnvelopeAuditLogFindData9$outboundSchema = exports.EnvelopeAuditLogFindData9$inboundSchema = exports.EnvelopeAuditLogFindField1$outboundSchema = exports.EnvelopeAuditLogFindField1$inboundSchema = exports.FieldType$outboundSchema = exports.FieldType$inboundSchema = exports.DataDocumentFieldInserted$outboundSchema = exports.DataDocumentFieldInserted$inboundSchema = exports.EnvelopeAuditLogFindData10$outboundSchema = exports.EnvelopeAuditLogFindData10$inboundSchema = exports.FieldSecurity1$outboundSchema = exports.FieldSecurity1$inboundSchema = exports.FieldSecurityType1$outboundSchema = exports.FieldSecurityType1$inboundSchema = exports.EnvelopeAuditLogFindFieldUnion1$outboundSchema = exports.EnvelopeAuditLogFindFieldUnion1$inboundSchema = exports.EnvelopeAuditLogFindFieldInitials1$outboundSchema = exports.EnvelopeAuditLogFindFieldInitials1$inboundSchema = exports.EnvelopeAuditLogFindTypeInitials1$outboundSchema = exports.EnvelopeAuditLogFindTypeInitials1$inboundSchema = exports.EnvelopeAuditLogFindFieldEmail1$outboundSchema = exports.EnvelopeAuditLogFindFieldEmail1$inboundSchema = exports.EnvelopeAuditLogFindTypeEmailEnum1$outboundSchema = exports.EnvelopeAuditLogFindTypeEmailEnum1$inboundSchema = exports.EnvelopeAuditLogFindFieldDate1$outboundSchema = exports.EnvelopeAuditLogFindFieldDate1$inboundSchema = exports.EnvelopeAuditLogFindTypeDate1$outboundSchema = exports.EnvelopeAuditLogFindTypeDate1$inboundSchema = exports.EnvelopeAuditLogFindFieldName1$outboundSchema = exports.EnvelopeAuditLogFindFieldName1$inboundSchema = exports.EnvelopeAuditLogFindTypeNameEnum1$outboundSchema = exports.EnvelopeAuditLogFindTypeNameEnum1$inboundSchema = exports.EnvelopeAuditLogFindFieldText1$outboundSchema = exports.EnvelopeAuditLogFindFieldText1$inboundSchema = exports.EnvelopeAuditLogFindTypeText1$outboundSchema = exports.EnvelopeAuditLogFindTypeText1$inboundSchema = exports.EnvelopeAuditLogFindField2$outboundSchema = exports.EnvelopeAuditLogFindField2$inboundSchema = exports.FieldTypeUnion1$outboundSchema = exports.FieldTypeUnion1$inboundSchema = exports.EnvelopeAuditLogFindTypeSignature1$outboundSchema = exports.EnvelopeAuditLogFindTypeSignature1$inboundSchema = exports.EnvelopeAuditLogFindTypeFreeSignature1$outboundSchema = exports.EnvelopeAuditLogFindTypeFreeSignature1$inboundSchema = void 0;
46
+ exports.EnvelopeAuditLogFindResponse$outboundSchema = exports.EnvelopeAuditLogFindResponse$inboundSchema = exports.EnvelopeAuditLogFindDataUnion$outboundSchema = exports.EnvelopeAuditLogFindDataUnion$inboundSchema = exports.DataEnvelopeItemCreated$outboundSchema = exports.DataEnvelopeItemCreated$inboundSchema = exports.EnvelopeAuditLogFindData1$outboundSchema = exports.EnvelopeAuditLogFindData1$inboundSchema = exports.DataEnvelopeItemDeleted$outboundSchema = exports.DataEnvelopeItemDeleted$inboundSchema = exports.EnvelopeAuditLogFindData2$outboundSchema = exports.EnvelopeAuditLogFindData2$inboundSchema = exports.DataEmailSent$outboundSchema = exports.DataEmailSent$inboundSchema = exports.EnvelopeAuditLogFindData3$outboundSchema = exports.EnvelopeAuditLogFindData3$inboundSchema = exports.EmailType$outboundSchema = exports.EmailType$inboundSchema = exports.DataDocumentCompleted$outboundSchema = exports.DataDocumentCompleted$inboundSchema = exports.EnvelopeAuditLogFindData4$outboundSchema = exports.EnvelopeAuditLogFindData4$inboundSchema = exports.DataDocumentCreated$outboundSchema = exports.DataDocumentCreated$inboundSchema = exports.EnvelopeAuditLogFindData5$outboundSchema = exports.EnvelopeAuditLogFindData5$inboundSchema = exports.Source$outboundSchema = exports.Source$inboundSchema = exports.EnvelopeAuditLogFindSourceDocument$outboundSchema = exports.EnvelopeAuditLogFindSourceDocument$inboundSchema = exports.SourceTemplate$outboundSchema = exports.SourceTemplate$inboundSchema = exports.SourceTemplateDirectLink$outboundSchema = exports.SourceTemplateDirectLink$inboundSchema = exports.DataDocumentDeleted$outboundSchema = exports.DataDocumentDeleted$inboundSchema = exports.EnvelopeAuditLogFindData6$outboundSchema = exports.EnvelopeAuditLogFindData6$inboundSchema = exports.EnvelopeAuditLogFindTypeEnum$outboundSchema = exports.EnvelopeAuditLogFindTypeEnum$inboundSchema = exports.DataDocumentMovedToTeam$outboundSchema = exports.DataDocumentMovedToTeam$inboundSchema = exports.EnvelopeAuditLogFindData7$outboundSchema = exports.EnvelopeAuditLogFindData7$inboundSchema = void 0;
47
+ exports.envelopeAuditLogFindRequestToJSON = envelopeAuditLogFindRequestToJSON;
48
+ exports.envelopeAuditLogFindRequestFromJSON = envelopeAuditLogFindRequestFromJSON;
49
+ exports.envelopeAuditLogFindData32ToJSON = envelopeAuditLogFindData32ToJSON;
50
+ exports.envelopeAuditLogFindData32FromJSON = envelopeAuditLogFindData32FromJSON;
51
+ exports.dataRecipientDeletedToJSON = dataRecipientDeletedToJSON;
52
+ exports.dataRecipientDeletedFromJSON = dataRecipientDeletedFromJSON;
53
+ exports.changeFromUnion5ToJSON = changeFromUnion5ToJSON;
54
+ exports.changeFromUnion5FromJSON = changeFromUnion5FromJSON;
55
+ exports.changeToUnion5ToJSON = changeToUnion5ToJSON;
56
+ exports.changeToUnion5FromJSON = changeToUnion5FromJSON;
57
+ exports.changeEmailToJSON = changeEmailToJSON;
58
+ exports.changeEmailFromJSON = changeEmailFromJSON;
59
+ exports.changeFromUnion4ToJSON = changeFromUnion4ToJSON;
60
+ exports.changeFromUnion4FromJSON = changeFromUnion4FromJSON;
61
+ exports.changeToUnion4ToJSON = changeToUnion4ToJSON;
62
+ exports.changeToUnion4FromJSON = changeToUnion4FromJSON;
63
+ exports.changeRoleToJSON = changeRoleToJSON;
64
+ exports.changeRoleFromJSON = changeRoleFromJSON;
65
+ exports.changeFromUnion3ToJSON = changeFromUnion3ToJSON;
66
+ exports.changeFromUnion3FromJSON = changeFromUnion3FromJSON;
67
+ exports.changeToUnion3ToJSON = changeToUnion3ToJSON;
68
+ exports.changeToUnion3FromJSON = changeToUnion3FromJSON;
69
+ exports.changeNameToJSON = changeNameToJSON;
70
+ exports.changeNameFromJSON = changeNameFromJSON;
71
+ exports.changeFromUnion2ToJSON = changeFromUnion2ToJSON;
72
+ exports.changeFromUnion2FromJSON = changeFromUnion2FromJSON;
73
+ exports.changeToUnion2ToJSON = changeToUnion2ToJSON;
74
+ exports.changeToUnion2FromJSON = changeToUnion2FromJSON;
75
+ exports.changeAccessAuthToJSON = changeAccessAuthToJSON;
76
+ exports.changeAccessAuthFromJSON = changeAccessAuthFromJSON;
77
+ exports.changeFromUnion1ToJSON = changeFromUnion1ToJSON;
78
+ exports.changeFromUnion1FromJSON = changeFromUnion1FromJSON;
79
+ exports.changeToUnion1ToJSON = changeToUnion1ToJSON;
80
+ exports.changeToUnion1FromJSON = changeToUnion1FromJSON;
81
+ exports.changeActionAuthToJSON = changeActionAuthToJSON;
82
+ exports.changeActionAuthFromJSON = changeActionAuthFromJSON;
83
+ exports.changeUnion3ToJSON = changeUnion3ToJSON;
84
+ exports.changeUnion3FromJSON = changeUnion3FromJSON;
85
+ exports.envelopeAuditLogFindData31ToJSON = envelopeAuditLogFindData31ToJSON;
86
+ exports.envelopeAuditLogFindData31FromJSON = envelopeAuditLogFindData31FromJSON;
87
+ exports.dataRecipientUpdatedToJSON = dataRecipientUpdatedToJSON;
88
+ exports.dataRecipientUpdatedFromJSON = dataRecipientUpdatedFromJSON;
89
+ exports.envelopeAuditLogFindData30ToJSON = envelopeAuditLogFindData30ToJSON;
90
+ exports.envelopeAuditLogFindData30FromJSON = envelopeAuditLogFindData30FromJSON;
91
+ exports.dataRecipientCreatedToJSON = dataRecipientCreatedToJSON;
92
+ exports.dataRecipientCreatedFromJSON = dataRecipientCreatedFromJSON;
93
+ exports.changeFrom2ToJSON = changeFrom2ToJSON;
94
+ exports.changeFrom2FromJSON = changeFrom2FromJSON;
95
+ exports.changeTo2ToJSON = changeTo2ToJSON;
96
+ exports.changeTo2FromJSON = changeTo2FromJSON;
97
+ exports.changePositionToJSON = changePositionToJSON;
98
+ exports.changePositionFromJSON = changePositionFromJSON;
99
+ exports.changeFrom1ToJSON = changeFrom1ToJSON;
100
+ exports.changeFrom1FromJSON = changeFrom1FromJSON;
101
+ exports.changeTo1ToJSON = changeTo1ToJSON;
102
+ exports.changeTo1FromJSON = changeTo1FromJSON;
103
+ exports.changeDimensionToJSON = changeDimensionToJSON;
104
+ exports.changeDimensionFromJSON = changeDimensionFromJSON;
105
+ exports.changeUnion2ToJSON = changeUnion2ToJSON;
106
+ exports.changeUnion2FromJSON = changeUnion2FromJSON;
107
+ exports.envelopeAuditLogFindData29ToJSON = envelopeAuditLogFindData29ToJSON;
108
+ exports.envelopeAuditLogFindData29FromJSON = envelopeAuditLogFindData29FromJSON;
109
+ exports.dataFieldUpdatedToJSON = dataFieldUpdatedToJSON;
110
+ exports.dataFieldUpdatedFromJSON = dataFieldUpdatedFromJSON;
111
+ exports.envelopeAuditLogFindData28ToJSON = envelopeAuditLogFindData28ToJSON;
112
+ exports.envelopeAuditLogFindData28FromJSON = envelopeAuditLogFindData28FromJSON;
113
+ exports.dataFieldDeletedToJSON = dataFieldDeletedToJSON;
114
+ exports.dataFieldDeletedFromJSON = dataFieldDeletedFromJSON;
115
+ exports.envelopeAuditLogFindData27ToJSON = envelopeAuditLogFindData27ToJSON;
116
+ exports.envelopeAuditLogFindData27FromJSON = envelopeAuditLogFindData27FromJSON;
117
+ exports.dataFieldCreatedToJSON = dataFieldCreatedToJSON;
118
+ exports.dataFieldCreatedFromJSON = dataFieldCreatedFromJSON;
119
+ exports.envelopeAuditLogFindData26ToJSON = envelopeAuditLogFindData26ToJSON;
120
+ exports.envelopeAuditLogFindData26FromJSON = envelopeAuditLogFindData26FromJSON;
121
+ exports.dataDocumentExternalIDUpdatedToJSON = dataDocumentExternalIDUpdatedToJSON;
122
+ exports.dataDocumentExternalIDUpdatedFromJSON = dataDocumentExternalIDUpdatedFromJSON;
123
+ exports.envelopeAuditLogFindData25ToJSON = envelopeAuditLogFindData25ToJSON;
124
+ exports.envelopeAuditLogFindData25FromJSON = envelopeAuditLogFindData25FromJSON;
125
+ exports.dataDocumentTitleUpdatedToJSON = dataDocumentTitleUpdatedToJSON;
126
+ exports.dataDocumentTitleUpdatedFromJSON = dataDocumentTitleUpdatedFromJSON;
127
+ exports.envelopeAuditLogFindData24ToJSON = envelopeAuditLogFindData24ToJSON;
128
+ exports.envelopeAuditLogFindData24FromJSON = envelopeAuditLogFindData24FromJSON;
129
+ exports.dataDocumentSentToJSON = dataDocumentSentToJSON;
130
+ exports.dataDocumentSentFromJSON = dataDocumentSentFromJSON;
131
+ exports.envelopeAuditLogFindData23ToJSON = envelopeAuditLogFindData23ToJSON;
132
+ exports.envelopeAuditLogFindData23FromJSON = envelopeAuditLogFindData23FromJSON;
133
+ exports.dataDocumentAccessAuth2FaFailedToJSON = dataDocumentAccessAuth2FaFailedToJSON;
134
+ exports.dataDocumentAccessAuth2FaFailedFromJSON = dataDocumentAccessAuth2FaFailedFromJSON;
135
+ exports.envelopeAuditLogFindData22ToJSON = envelopeAuditLogFindData22ToJSON;
136
+ exports.envelopeAuditLogFindData22FromJSON = envelopeAuditLogFindData22FromJSON;
137
+ exports.dataDocumentAccessAuth2FaValidatedToJSON = dataDocumentAccessAuth2FaValidatedToJSON;
138
+ exports.dataDocumentAccessAuth2FaValidatedFromJSON = dataDocumentAccessAuth2FaValidatedFromJSON;
139
+ exports.envelopeAuditLogFindData21ToJSON = envelopeAuditLogFindData21ToJSON;
140
+ exports.envelopeAuditLogFindData21FromJSON = envelopeAuditLogFindData21FromJSON;
141
+ exports.dataDocumentAccessAuth2FaRequestedToJSON = dataDocumentAccessAuth2FaRequestedToJSON;
142
+ exports.dataDocumentAccessAuth2FaRequestedFromJSON = dataDocumentAccessAuth2FaRequestedFromJSON;
143
+ exports.envelopeAuditLogFindData20ToJSON = envelopeAuditLogFindData20ToJSON;
144
+ exports.envelopeAuditLogFindData20FromJSON = envelopeAuditLogFindData20FromJSON;
145
+ exports.dataDocumentRecipientRejectedToJSON = dataDocumentRecipientRejectedToJSON;
146
+ exports.dataDocumentRecipientRejectedFromJSON = dataDocumentRecipientRejectedFromJSON;
147
+ exports.envelopeAuditLogFindData19ToJSON = envelopeAuditLogFindData19ToJSON;
148
+ exports.envelopeAuditLogFindData19FromJSON = envelopeAuditLogFindData19FromJSON;
149
+ exports.dataDocumentRecipientCompletedToJSON = dataDocumentRecipientCompletedToJSON;
150
+ exports.dataDocumentRecipientCompletedFromJSON = dataDocumentRecipientCompletedFromJSON;
151
+ exports.envelopeAuditLogFindData18ToJSON = envelopeAuditLogFindData18ToJSON;
152
+ exports.envelopeAuditLogFindData18FromJSON = envelopeAuditLogFindData18FromJSON;
153
+ exports.dataDocumentViewedToJSON = dataDocumentViewedToJSON;
154
+ exports.dataDocumentViewedFromJSON = dataDocumentViewedFromJSON;
155
+ exports.envelopeAuditLogFindData17ToJSON = envelopeAuditLogFindData17ToJSON;
156
+ exports.envelopeAuditLogFindData17FromJSON = envelopeAuditLogFindData17FromJSON;
157
+ exports.dataDocumentOpenedToJSON = dataDocumentOpenedToJSON;
158
+ exports.dataDocumentOpenedFromJSON = dataDocumentOpenedFromJSON;
159
+ exports.changePasswordToJSON = changePasswordToJSON;
160
+ exports.changePasswordFromJSON = changePasswordFromJSON;
161
+ exports.changeTypeUnionToJSON = changeTypeUnionToJSON;
162
+ exports.changeTypeUnionFromJSON = changeTypeUnionFromJSON;
163
+ exports.changeToJSON = changeToJSON;
164
+ exports.changeFromJSON = changeFromJSON;
165
+ exports.changeUnion1ToJSON = changeUnion1ToJSON;
166
+ exports.changeUnion1FromJSON = changeUnion1FromJSON;
167
+ exports.envelopeAuditLogFindData16ToJSON = envelopeAuditLogFindData16ToJSON;
168
+ exports.envelopeAuditLogFindData16FromJSON = envelopeAuditLogFindData16FromJSON;
169
+ exports.dataDocumentMetaUpdatedToJSON = dataDocumentMetaUpdatedToJSON;
170
+ exports.dataDocumentMetaUpdatedFromJSON = dataDocumentMetaUpdatedFromJSON;
171
+ exports.fromUnion3ToJSON = fromUnion3ToJSON;
172
+ exports.fromUnion3FromJSON = fromUnion3FromJSON;
173
+ exports.toUnion3ToJSON = toUnion3ToJSON;
174
+ exports.toUnion3FromJSON = toUnion3FromJSON;
175
+ exports.envelopeAuditLogFindData15ToJSON = envelopeAuditLogFindData15ToJSON;
176
+ exports.envelopeAuditLogFindData15FromJSON = envelopeAuditLogFindData15FromJSON;
177
+ exports.dataDocumentGlobalAuthActionUpdatedToJSON = dataDocumentGlobalAuthActionUpdatedToJSON;
178
+ exports.dataDocumentGlobalAuthActionUpdatedFromJSON = dataDocumentGlobalAuthActionUpdatedFromJSON;
179
+ exports.fromUnion2ToJSON = fromUnion2ToJSON;
180
+ exports.fromUnion2FromJSON = fromUnion2FromJSON;
181
+ exports.toUnion2ToJSON = toUnion2ToJSON;
182
+ exports.toUnion2FromJSON = toUnion2FromJSON;
183
+ exports.envelopeAuditLogFindData14ToJSON = envelopeAuditLogFindData14ToJSON;
184
+ exports.envelopeAuditLogFindData14FromJSON = envelopeAuditLogFindData14FromJSON;
185
+ exports.dataDocumentGlobalAuthAccessUpdatedToJSON = dataDocumentGlobalAuthAccessUpdatedToJSON;
186
+ exports.dataDocumentGlobalAuthAccessUpdatedFromJSON = dataDocumentGlobalAuthAccessUpdatedFromJSON;
187
+ exports.fromUnion1ToJSON = fromUnion1ToJSON;
188
+ exports.fromUnion1FromJSON = fromUnion1FromJSON;
189
+ exports.toUnion1ToJSON = toUnion1ToJSON;
190
+ exports.toUnion1FromJSON = toUnion1FromJSON;
191
+ exports.envelopeAuditLogFindData13ToJSON = envelopeAuditLogFindData13ToJSON;
192
+ exports.envelopeAuditLogFindData13FromJSON = envelopeAuditLogFindData13FromJSON;
193
+ exports.dataDocumentVisibilityUpdatedToJSON = dataDocumentVisibilityUpdatedToJSON;
194
+ exports.dataDocumentVisibilityUpdatedFromJSON = dataDocumentVisibilityUpdatedFromJSON;
195
+ exports.envelopeAuditLogFindFieldNumber2ToJSON = envelopeAuditLogFindFieldNumber2ToJSON;
196
+ exports.envelopeAuditLogFindFieldNumber2FromJSON = envelopeAuditLogFindFieldNumber2FromJSON;
197
+ exports.envelopeAuditLogFindFieldDropdown2ToJSON = envelopeAuditLogFindFieldDropdown2ToJSON;
198
+ exports.envelopeAuditLogFindFieldDropdown2FromJSON = envelopeAuditLogFindFieldDropdown2FromJSON;
199
+ exports.envelopeAuditLogFindFieldCheckbox2ToJSON = envelopeAuditLogFindFieldCheckbox2ToJSON;
200
+ exports.envelopeAuditLogFindFieldCheckbox2FromJSON = envelopeAuditLogFindFieldCheckbox2FromJSON;
201
+ exports.envelopeAuditLogFindFieldRadio2ToJSON = envelopeAuditLogFindFieldRadio2ToJSON;
202
+ exports.envelopeAuditLogFindFieldRadio2FromJSON = envelopeAuditLogFindFieldRadio2FromJSON;
203
+ exports.fieldTypeUnion2ToJSON = fieldTypeUnion2ToJSON;
204
+ exports.fieldTypeUnion2FromJSON = fieldTypeUnion2FromJSON;
205
+ exports.envelopeAuditLogFindField3ToJSON = envelopeAuditLogFindField3ToJSON;
206
+ exports.envelopeAuditLogFindField3FromJSON = envelopeAuditLogFindField3FromJSON;
207
+ exports.envelopeAuditLogFindFieldText2ToJSON = envelopeAuditLogFindFieldText2ToJSON;
208
+ exports.envelopeAuditLogFindFieldText2FromJSON = envelopeAuditLogFindFieldText2FromJSON;
209
+ exports.envelopeAuditLogFindFieldName2ToJSON = envelopeAuditLogFindFieldName2ToJSON;
210
+ exports.envelopeAuditLogFindFieldName2FromJSON = envelopeAuditLogFindFieldName2FromJSON;
211
+ exports.envelopeAuditLogFindFieldDate2ToJSON = envelopeAuditLogFindFieldDate2ToJSON;
212
+ exports.envelopeAuditLogFindFieldDate2FromJSON = envelopeAuditLogFindFieldDate2FromJSON;
213
+ exports.envelopeAuditLogFindFieldEmail2ToJSON = envelopeAuditLogFindFieldEmail2ToJSON;
214
+ exports.envelopeAuditLogFindFieldEmail2FromJSON = envelopeAuditLogFindFieldEmail2FromJSON;
215
+ exports.envelopeAuditLogFindFieldInitials2ToJSON = envelopeAuditLogFindFieldInitials2ToJSON;
216
+ exports.envelopeAuditLogFindFieldInitials2FromJSON = envelopeAuditLogFindFieldInitials2FromJSON;
217
+ exports.envelopeAuditLogFindFieldUnion2ToJSON = envelopeAuditLogFindFieldUnion2ToJSON;
218
+ exports.envelopeAuditLogFindFieldUnion2FromJSON = envelopeAuditLogFindFieldUnion2FromJSON;
219
+ exports.fieldSecurity2ToJSON = fieldSecurity2ToJSON;
220
+ exports.fieldSecurity2FromJSON = fieldSecurity2FromJSON;
221
+ exports.envelopeAuditLogFindData12ToJSON = envelopeAuditLogFindData12ToJSON;
222
+ exports.envelopeAuditLogFindData12FromJSON = envelopeAuditLogFindData12FromJSON;
223
+ exports.dataDocumentFieldPrefilledToJSON = dataDocumentFieldPrefilledToJSON;
224
+ exports.dataDocumentFieldPrefilledFromJSON = dataDocumentFieldPrefilledFromJSON;
225
+ exports.envelopeAuditLogFindData11ToJSON = envelopeAuditLogFindData11ToJSON;
226
+ exports.envelopeAuditLogFindData11FromJSON = envelopeAuditLogFindData11FromJSON;
227
+ exports.dataDocumentFieldUninsertedToJSON = dataDocumentFieldUninsertedToJSON;
228
+ exports.dataDocumentFieldUninsertedFromJSON = dataDocumentFieldUninsertedFromJSON;
229
+ exports.envelopeAuditLogFindFieldNumber1ToJSON = envelopeAuditLogFindFieldNumber1ToJSON;
230
+ exports.envelopeAuditLogFindFieldNumber1FromJSON = envelopeAuditLogFindFieldNumber1FromJSON;
231
+ exports.envelopeAuditLogFindFieldDropdown1ToJSON = envelopeAuditLogFindFieldDropdown1ToJSON;
232
+ exports.envelopeAuditLogFindFieldDropdown1FromJSON = envelopeAuditLogFindFieldDropdown1FromJSON;
233
+ exports.envelopeAuditLogFindFieldCheckbox1ToJSON = envelopeAuditLogFindFieldCheckbox1ToJSON;
234
+ exports.envelopeAuditLogFindFieldCheckbox1FromJSON = envelopeAuditLogFindFieldCheckbox1FromJSON;
235
+ exports.envelopeAuditLogFindFieldRadio1ToJSON = envelopeAuditLogFindFieldRadio1ToJSON;
236
+ exports.envelopeAuditLogFindFieldRadio1FromJSON = envelopeAuditLogFindFieldRadio1FromJSON;
237
+ exports.fieldTypeUnion1ToJSON = fieldTypeUnion1ToJSON;
238
+ exports.fieldTypeUnion1FromJSON = fieldTypeUnion1FromJSON;
239
+ exports.envelopeAuditLogFindField2ToJSON = envelopeAuditLogFindField2ToJSON;
240
+ exports.envelopeAuditLogFindField2FromJSON = envelopeAuditLogFindField2FromJSON;
241
+ exports.envelopeAuditLogFindFieldText1ToJSON = envelopeAuditLogFindFieldText1ToJSON;
242
+ exports.envelopeAuditLogFindFieldText1FromJSON = envelopeAuditLogFindFieldText1FromJSON;
243
+ exports.envelopeAuditLogFindFieldName1ToJSON = envelopeAuditLogFindFieldName1ToJSON;
244
+ exports.envelopeAuditLogFindFieldName1FromJSON = envelopeAuditLogFindFieldName1FromJSON;
245
+ exports.envelopeAuditLogFindFieldDate1ToJSON = envelopeAuditLogFindFieldDate1ToJSON;
246
+ exports.envelopeAuditLogFindFieldDate1FromJSON = envelopeAuditLogFindFieldDate1FromJSON;
247
+ exports.envelopeAuditLogFindFieldEmail1ToJSON = envelopeAuditLogFindFieldEmail1ToJSON;
248
+ exports.envelopeAuditLogFindFieldEmail1FromJSON = envelopeAuditLogFindFieldEmail1FromJSON;
249
+ exports.envelopeAuditLogFindFieldInitials1ToJSON = envelopeAuditLogFindFieldInitials1ToJSON;
250
+ exports.envelopeAuditLogFindFieldInitials1FromJSON = envelopeAuditLogFindFieldInitials1FromJSON;
251
+ exports.envelopeAuditLogFindFieldUnion1ToJSON = envelopeAuditLogFindFieldUnion1ToJSON;
252
+ exports.envelopeAuditLogFindFieldUnion1FromJSON = envelopeAuditLogFindFieldUnion1FromJSON;
253
+ exports.fieldSecurity1ToJSON = fieldSecurity1ToJSON;
254
+ exports.fieldSecurity1FromJSON = fieldSecurity1FromJSON;
255
+ exports.envelopeAuditLogFindData10ToJSON = envelopeAuditLogFindData10ToJSON;
256
+ exports.envelopeAuditLogFindData10FromJSON = envelopeAuditLogFindData10FromJSON;
257
+ exports.dataDocumentFieldInsertedToJSON = dataDocumentFieldInsertedToJSON;
258
+ exports.dataDocumentFieldInsertedFromJSON = dataDocumentFieldInsertedFromJSON;
259
+ exports.envelopeAuditLogFindField1ToJSON = envelopeAuditLogFindField1ToJSON;
260
+ exports.envelopeAuditLogFindField1FromJSON = envelopeAuditLogFindField1FromJSON;
261
+ exports.envelopeAuditLogFindData9ToJSON = envelopeAuditLogFindData9ToJSON;
262
+ exports.envelopeAuditLogFindData9FromJSON = envelopeAuditLogFindData9FromJSON;
263
+ exports.dataDocumentFieldsAutoInsertedToJSON = dataDocumentFieldsAutoInsertedToJSON;
264
+ exports.dataDocumentFieldsAutoInsertedFromJSON = dataDocumentFieldsAutoInsertedFromJSON;
265
+ exports.envelopeAuditLogFindData8ToJSON = envelopeAuditLogFindData8ToJSON;
266
+ exports.envelopeAuditLogFindData8FromJSON = envelopeAuditLogFindData8FromJSON;
267
+ exports.dataDocumentDelegatedOwnerCreatedToJSON = dataDocumentDelegatedOwnerCreatedToJSON;
268
+ exports.dataDocumentDelegatedOwnerCreatedFromJSON = dataDocumentDelegatedOwnerCreatedFromJSON;
269
+ exports.envelopeAuditLogFindData7ToJSON = envelopeAuditLogFindData7ToJSON;
270
+ exports.envelopeAuditLogFindData7FromJSON = envelopeAuditLogFindData7FromJSON;
271
+ exports.dataDocumentMovedToTeamToJSON = dataDocumentMovedToTeamToJSON;
272
+ exports.dataDocumentMovedToTeamFromJSON = dataDocumentMovedToTeamFromJSON;
273
+ exports.envelopeAuditLogFindData6ToJSON = envelopeAuditLogFindData6ToJSON;
274
+ exports.envelopeAuditLogFindData6FromJSON = envelopeAuditLogFindData6FromJSON;
275
+ exports.dataDocumentDeletedToJSON = dataDocumentDeletedToJSON;
276
+ exports.dataDocumentDeletedFromJSON = dataDocumentDeletedFromJSON;
277
+ exports.sourceTemplateDirectLinkToJSON = sourceTemplateDirectLinkToJSON;
278
+ exports.sourceTemplateDirectLinkFromJSON = sourceTemplateDirectLinkFromJSON;
279
+ exports.sourceTemplateToJSON = sourceTemplateToJSON;
280
+ exports.sourceTemplateFromJSON = sourceTemplateFromJSON;
281
+ exports.envelopeAuditLogFindSourceDocumentToJSON = envelopeAuditLogFindSourceDocumentToJSON;
282
+ exports.envelopeAuditLogFindSourceDocumentFromJSON = envelopeAuditLogFindSourceDocumentFromJSON;
283
+ exports.sourceToJSON = sourceToJSON;
284
+ exports.sourceFromJSON = sourceFromJSON;
285
+ exports.envelopeAuditLogFindData5ToJSON = envelopeAuditLogFindData5ToJSON;
286
+ exports.envelopeAuditLogFindData5FromJSON = envelopeAuditLogFindData5FromJSON;
287
+ exports.dataDocumentCreatedToJSON = dataDocumentCreatedToJSON;
288
+ exports.dataDocumentCreatedFromJSON = dataDocumentCreatedFromJSON;
289
+ exports.envelopeAuditLogFindData4ToJSON = envelopeAuditLogFindData4ToJSON;
290
+ exports.envelopeAuditLogFindData4FromJSON = envelopeAuditLogFindData4FromJSON;
291
+ exports.dataDocumentCompletedToJSON = dataDocumentCompletedToJSON;
292
+ exports.dataDocumentCompletedFromJSON = dataDocumentCompletedFromJSON;
293
+ exports.envelopeAuditLogFindData3ToJSON = envelopeAuditLogFindData3ToJSON;
294
+ exports.envelopeAuditLogFindData3FromJSON = envelopeAuditLogFindData3FromJSON;
295
+ exports.dataEmailSentToJSON = dataEmailSentToJSON;
296
+ exports.dataEmailSentFromJSON = dataEmailSentFromJSON;
297
+ exports.envelopeAuditLogFindData2ToJSON = envelopeAuditLogFindData2ToJSON;
298
+ exports.envelopeAuditLogFindData2FromJSON = envelopeAuditLogFindData2FromJSON;
299
+ exports.dataEnvelopeItemDeletedToJSON = dataEnvelopeItemDeletedToJSON;
300
+ exports.dataEnvelopeItemDeletedFromJSON = dataEnvelopeItemDeletedFromJSON;
301
+ exports.envelopeAuditLogFindData1ToJSON = envelopeAuditLogFindData1ToJSON;
302
+ exports.envelopeAuditLogFindData1FromJSON = envelopeAuditLogFindData1FromJSON;
303
+ exports.dataEnvelopeItemCreatedToJSON = dataEnvelopeItemCreatedToJSON;
304
+ exports.dataEnvelopeItemCreatedFromJSON = dataEnvelopeItemCreatedFromJSON;
305
+ exports.envelopeAuditLogFindDataUnionToJSON = envelopeAuditLogFindDataUnionToJSON;
306
+ exports.envelopeAuditLogFindDataUnionFromJSON = envelopeAuditLogFindDataUnionFromJSON;
307
+ exports.envelopeAuditLogFindResponseToJSON = envelopeAuditLogFindResponseToJSON;
308
+ exports.envelopeAuditLogFindResponseFromJSON = envelopeAuditLogFindResponseFromJSON;
309
+ const z = __importStar(require("zod/v3"));
310
+ const schemas_js_1 = require("../../lib/schemas.js");
311
+ exports.EnvelopeAuditLogFindOrderByColumn = {
312
+ CreatedAt: "createdAt",
313
+ };
314
+ exports.EnvelopeAuditLogFindOrderByDirection = {
315
+ Asc: "asc",
316
+ Desc: "desc",
317
+ };
318
+ exports.EnvelopeAuditLogFindAccessAuth3 = {
319
+ Account: "ACCOUNT",
320
+ TwoFactorAuth: "TWO_FACTOR_AUTH",
321
+ };
322
+ exports.EnvelopeAuditLogFindActionAuth2 = {
323
+ Account: "ACCOUNT",
324
+ Passkey: "PASSKEY",
325
+ TwoFactorAuth: "TWO_FACTOR_AUTH",
326
+ Password: "PASSWORD",
327
+ ExplicitNone: "EXPLICIT_NONE",
328
+ };
329
+ exports.EnvelopeAuditLogFindActionAuth1 = {
330
+ Account: "ACCOUNT",
331
+ Passkey: "PASSKEY",
332
+ TwoFactorAuth: "TWO_FACTOR_AUTH",
333
+ Password: "PASSWORD",
334
+ ExplicitNone: "EXPLICIT_NONE",
335
+ };
336
+ exports.EnvelopeAuditLogFindAccessAuth2 = {
337
+ Account: "ACCOUNT",
338
+ TwoFactorAuth: "TWO_FACTOR_AUTH",
339
+ };
340
+ exports.EnvelopeAuditLogFindAccessAuth1 = {
341
+ Account: "ACCOUNT",
342
+ TwoFactorAuth: "TWO_FACTOR_AUTH",
343
+ };
344
+ exports.TypePassword = {
345
+ Password: "PASSWORD",
346
+ };
347
+ exports.TypeEmailSettings = {
348
+ EmailSettings: "EMAIL_SETTINGS",
349
+ };
350
+ exports.TypeEmailReplyTo = {
351
+ EmailReplyTo: "EMAIL_REPLY_TO",
352
+ };
353
+ exports.TypeEmailID = {
354
+ EmailId: "EMAIL_ID",
355
+ };
356
+ exports.TypeTimezone = {
357
+ Timezone: "TIMEZONE",
358
+ };
359
+ exports.TypeSubject = {
360
+ Subject: "SUBJECT",
361
+ };
362
+ exports.TypeRedirectURL = {
363
+ RedirectUrl: "REDIRECT_URL",
364
+ };
365
+ exports.TypeMessage = {
366
+ Message: "MESSAGE",
367
+ };
368
+ exports.TypeDateFormat = {
369
+ DateFormat: "DATE_FORMAT",
370
+ };
371
+ exports.EnvelopeAuditLogFindTypeNumber2 = {
372
+ Number: "NUMBER",
373
+ };
374
+ exports.EnvelopeAuditLogFindTypeDropdown2 = {
375
+ Dropdown: "DROPDOWN",
376
+ };
377
+ exports.EnvelopeAuditLogFindTypeCheckbox2 = {
378
+ Checkbox: "CHECKBOX",
379
+ };
380
+ exports.EnvelopeAuditLogFindTypeRadio2 = {
381
+ Radio: "RADIO",
382
+ };
383
+ exports.EnvelopeAuditLogFindTypeFreeSignature2 = {
384
+ FreeSignature: "FREE_SIGNATURE",
385
+ };
386
+ exports.EnvelopeAuditLogFindTypeSignature2 = {
387
+ Signature: "SIGNATURE",
388
+ };
389
+ exports.EnvelopeAuditLogFindTypeText2 = {
390
+ Text: "TEXT",
391
+ };
392
+ exports.EnvelopeAuditLogFindTypeNameEnum2 = {
393
+ Name: "NAME",
394
+ };
395
+ exports.EnvelopeAuditLogFindTypeDate2 = {
396
+ Date: "DATE",
397
+ };
398
+ exports.EnvelopeAuditLogFindTypeEmailEnum2 = {
399
+ Email: "EMAIL",
400
+ };
401
+ exports.EnvelopeAuditLogFindTypeInitials2 = {
402
+ Initials: "INITIALS",
403
+ };
404
+ exports.FieldSecurityType2 = {
405
+ Account: "ACCOUNT",
406
+ Passkey: "PASSKEY",
407
+ TwoFactorAuth: "TWO_FACTOR_AUTH",
408
+ Password: "PASSWORD",
409
+ ExplicitNone: "EXPLICIT_NONE",
410
+ };
411
+ exports.FieldEnum = {
412
+ Signature: "SIGNATURE",
413
+ FreeSignature: "FREE_SIGNATURE",
414
+ Initials: "INITIALS",
415
+ Name: "NAME",
416
+ Email: "EMAIL",
417
+ Date: "DATE",
418
+ Text: "TEXT",
419
+ Number: "NUMBER",
420
+ Radio: "RADIO",
421
+ Checkbox: "CHECKBOX",
422
+ Dropdown: "DROPDOWN",
423
+ };
424
+ exports.EnvelopeAuditLogFindTypeNumber1 = {
425
+ Number: "NUMBER",
426
+ };
427
+ exports.EnvelopeAuditLogFindTypeDropdown1 = {
428
+ Dropdown: "DROPDOWN",
429
+ };
430
+ exports.EnvelopeAuditLogFindTypeCheckbox1 = {
431
+ Checkbox: "CHECKBOX",
432
+ };
433
+ exports.EnvelopeAuditLogFindTypeRadio1 = {
434
+ Radio: "RADIO",
435
+ };
436
+ exports.EnvelopeAuditLogFindTypeFreeSignature1 = {
437
+ FreeSignature: "FREE_SIGNATURE",
438
+ };
439
+ exports.EnvelopeAuditLogFindTypeSignature1 = {
440
+ Signature: "SIGNATURE",
441
+ };
442
+ exports.EnvelopeAuditLogFindTypeText1 = {
443
+ Text: "TEXT",
444
+ };
445
+ exports.EnvelopeAuditLogFindTypeNameEnum1 = {
446
+ Name: "NAME",
447
+ };
448
+ exports.EnvelopeAuditLogFindTypeDate1 = {
449
+ Date: "DATE",
450
+ };
451
+ exports.EnvelopeAuditLogFindTypeEmailEnum1 = {
452
+ Email: "EMAIL",
453
+ };
454
+ exports.EnvelopeAuditLogFindTypeInitials1 = {
455
+ Initials: "INITIALS",
456
+ };
457
+ exports.FieldSecurityType1 = {
458
+ Account: "ACCOUNT",
459
+ Passkey: "PASSKEY",
460
+ TwoFactorAuth: "TWO_FACTOR_AUTH",
461
+ Password: "PASSWORD",
462
+ ExplicitNone: "EXPLICIT_NONE",
463
+ };
464
+ exports.FieldType = {
465
+ Signature: "SIGNATURE",
466
+ FreeSignature: "FREE_SIGNATURE",
467
+ Initials: "INITIALS",
468
+ Name: "NAME",
469
+ Email: "EMAIL",
470
+ Date: "DATE",
471
+ Text: "TEXT",
472
+ Number: "NUMBER",
473
+ Radio: "RADIO",
474
+ Checkbox: "CHECKBOX",
475
+ Dropdown: "DROPDOWN",
476
+ };
477
+ exports.EnvelopeAuditLogFindTypeEnum = {
478
+ Soft: "SOFT",
479
+ Hard: "HARD",
480
+ };
481
+ exports.EmailType = {
482
+ SigningRequest: "SIGNING_REQUEST",
483
+ ViewRequest: "VIEW_REQUEST",
484
+ ApproveRequest: "APPROVE_REQUEST",
485
+ AssistingRequest: "ASSISTING_REQUEST",
486
+ Cc: "CC",
487
+ DocumentCompleted: "DOCUMENT_COMPLETED",
488
+ };
489
+ /** @internal */
490
+ exports.EnvelopeAuditLogFindOrderByColumn$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindOrderByColumn);
491
+ /** @internal */
492
+ exports.EnvelopeAuditLogFindOrderByColumn$outboundSchema = exports.EnvelopeAuditLogFindOrderByColumn$inboundSchema;
493
+ /** @internal */
494
+ exports.EnvelopeAuditLogFindOrderByDirection$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindOrderByDirection);
495
+ /** @internal */
496
+ exports.EnvelopeAuditLogFindOrderByDirection$outboundSchema = exports.EnvelopeAuditLogFindOrderByDirection$inboundSchema;
497
+ /** @internal */
498
+ exports.EnvelopeAuditLogFindRequest$inboundSchema = z.object({
499
+ envelopeId: z.string(),
500
+ page: z.number().optional(),
501
+ perPage: z.number().optional(),
502
+ orderByColumn: exports.EnvelopeAuditLogFindOrderByColumn$inboundSchema.optional(),
503
+ orderByDirection: exports.EnvelopeAuditLogFindOrderByDirection$inboundSchema
504
+ .optional(),
505
+ });
506
+ /** @internal */
507
+ exports.EnvelopeAuditLogFindRequest$outboundSchema = z.object({
508
+ envelopeId: z.string(),
509
+ page: z.number().optional(),
510
+ perPage: z.number().optional(),
511
+ orderByColumn: exports.EnvelopeAuditLogFindOrderByColumn$outboundSchema.optional(),
512
+ orderByDirection: exports.EnvelopeAuditLogFindOrderByDirection$outboundSchema
513
+ .optional(),
514
+ });
515
+ function envelopeAuditLogFindRequestToJSON(envelopeAuditLogFindRequest) {
516
+ return JSON.stringify(exports.EnvelopeAuditLogFindRequest$outboundSchema.parse(envelopeAuditLogFindRequest));
517
+ }
518
+ function envelopeAuditLogFindRequestFromJSON(jsonString) {
519
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindRequest' from JSON`);
520
+ }
521
+ /** @internal */
522
+ exports.EnvelopeAuditLogFindData32$inboundSchema = z.object({
523
+ recipientEmail: z.string(),
524
+ recipientName: z.string(),
525
+ recipientId: z.number(),
526
+ recipientRole: z.string(),
527
+ });
528
+ /** @internal */
529
+ exports.EnvelopeAuditLogFindData32$outboundSchema = z.object({
530
+ recipientEmail: z.string(),
531
+ recipientName: z.string(),
532
+ recipientId: z.number(),
533
+ recipientRole: z.string(),
534
+ });
535
+ function envelopeAuditLogFindData32ToJSON(envelopeAuditLogFindData32) {
536
+ return JSON.stringify(exports.EnvelopeAuditLogFindData32$outboundSchema.parse(envelopeAuditLogFindData32));
537
+ }
538
+ function envelopeAuditLogFindData32FromJSON(jsonString) {
539
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData32$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData32' from JSON`);
540
+ }
541
+ /** @internal */
542
+ exports.DataRecipientDeleted$inboundSchema = z.object({
543
+ type: z.literal("RECIPIENT_DELETED"),
544
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData32$inboundSchema),
545
+ id: z.string(),
546
+ createdAt: z.string(),
547
+ envelopeId: z.string(),
548
+ name: z.nullable(z.string()).optional(),
549
+ email: z.nullable(z.string()).optional(),
550
+ userId: z.nullable(z.number()).optional(),
551
+ userAgent: z.nullable(z.string()).optional(),
552
+ ipAddress: z.nullable(z.string()).optional(),
553
+ });
554
+ /** @internal */
555
+ exports.DataRecipientDeleted$outboundSchema = z.object({
556
+ type: z.literal("RECIPIENT_DELETED"),
557
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData32$outboundSchema),
558
+ id: z.string(),
559
+ createdAt: z.string(),
560
+ envelopeId: z.string(),
561
+ name: z.nullable(z.string()).optional(),
562
+ email: z.nullable(z.string()).optional(),
563
+ userId: z.nullable(z.number()).optional(),
564
+ userAgent: z.nullable(z.string()).optional(),
565
+ ipAddress: z.nullable(z.string()).optional(),
566
+ });
567
+ function dataRecipientDeletedToJSON(dataRecipientDeleted) {
568
+ return JSON.stringify(exports.DataRecipientDeleted$outboundSchema.parse(dataRecipientDeleted));
569
+ }
570
+ function dataRecipientDeletedFromJSON(jsonString) {
571
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataRecipientDeleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataRecipientDeleted' from JSON`);
572
+ }
573
+ /** @internal */
574
+ exports.ChangeFromUnion5$inboundSchema = z.union([z.string(), z.array(z.string())]);
575
+ /** @internal */
576
+ exports.ChangeFromUnion5$outboundSchema = z.union([z.string(), z.array(z.string())]);
577
+ function changeFromUnion5ToJSON(changeFromUnion5) {
578
+ return JSON.stringify(exports.ChangeFromUnion5$outboundSchema.parse(changeFromUnion5));
579
+ }
580
+ function changeFromUnion5FromJSON(jsonString) {
581
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeFromUnion5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeFromUnion5' from JSON`);
582
+ }
583
+ /** @internal */
584
+ exports.ChangeToUnion5$inboundSchema = z.union([z.string(), z.array(z.string())]);
585
+ /** @internal */
586
+ exports.ChangeToUnion5$outboundSchema = z.union([z.string(), z.array(z.string())]);
587
+ function changeToUnion5ToJSON(changeToUnion5) {
588
+ return JSON.stringify(exports.ChangeToUnion5$outboundSchema.parse(changeToUnion5));
589
+ }
590
+ function changeToUnion5FromJSON(jsonString) {
591
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeToUnion5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeToUnion5' from JSON`);
592
+ }
593
+ /** @internal */
594
+ exports.ChangeEmail$inboundSchema = z.object({
595
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
596
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
597
+ type: z.literal("EMAIL"),
598
+ });
599
+ /** @internal */
600
+ exports.ChangeEmail$outboundSchema = z.object({
601
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
602
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
603
+ type: z.literal("EMAIL"),
604
+ });
605
+ function changeEmailToJSON(changeEmail) {
606
+ return JSON.stringify(exports.ChangeEmail$outboundSchema.parse(changeEmail));
607
+ }
608
+ function changeEmailFromJSON(jsonString) {
609
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeEmail$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeEmail' from JSON`);
610
+ }
611
+ /** @internal */
612
+ exports.ChangeFromUnion4$inboundSchema = z.union([z.string(), z.array(z.string())]);
613
+ /** @internal */
614
+ exports.ChangeFromUnion4$outboundSchema = z.union([z.string(), z.array(z.string())]);
615
+ function changeFromUnion4ToJSON(changeFromUnion4) {
616
+ return JSON.stringify(exports.ChangeFromUnion4$outboundSchema.parse(changeFromUnion4));
617
+ }
618
+ function changeFromUnion4FromJSON(jsonString) {
619
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeFromUnion4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeFromUnion4' from JSON`);
620
+ }
621
+ /** @internal */
622
+ exports.ChangeToUnion4$inboundSchema = z.union([z.string(), z.array(z.string())]);
623
+ /** @internal */
624
+ exports.ChangeToUnion4$outboundSchema = z.union([z.string(), z.array(z.string())]);
625
+ function changeToUnion4ToJSON(changeToUnion4) {
626
+ return JSON.stringify(exports.ChangeToUnion4$outboundSchema.parse(changeToUnion4));
627
+ }
628
+ function changeToUnion4FromJSON(jsonString) {
629
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeToUnion4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeToUnion4' from JSON`);
630
+ }
631
+ /** @internal */
632
+ exports.ChangeRole$inboundSchema = z.object({
633
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
634
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
635
+ type: z.literal("ROLE"),
636
+ });
637
+ /** @internal */
638
+ exports.ChangeRole$outboundSchema = z.object({
639
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
640
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
641
+ type: z.literal("ROLE"),
642
+ });
643
+ function changeRoleToJSON(changeRole) {
644
+ return JSON.stringify(exports.ChangeRole$outboundSchema.parse(changeRole));
645
+ }
646
+ function changeRoleFromJSON(jsonString) {
647
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeRole' from JSON`);
648
+ }
649
+ /** @internal */
650
+ exports.ChangeFromUnion3$inboundSchema = z.union([z.string(), z.array(z.string())]);
651
+ /** @internal */
652
+ exports.ChangeFromUnion3$outboundSchema = z.union([z.string(), z.array(z.string())]);
653
+ function changeFromUnion3ToJSON(changeFromUnion3) {
654
+ return JSON.stringify(exports.ChangeFromUnion3$outboundSchema.parse(changeFromUnion3));
655
+ }
656
+ function changeFromUnion3FromJSON(jsonString) {
657
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeFromUnion3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeFromUnion3' from JSON`);
658
+ }
659
+ /** @internal */
660
+ exports.ChangeToUnion3$inboundSchema = z.union([z.string(), z.array(z.string())]);
661
+ /** @internal */
662
+ exports.ChangeToUnion3$outboundSchema = z.union([z.string(), z.array(z.string())]);
663
+ function changeToUnion3ToJSON(changeToUnion3) {
664
+ return JSON.stringify(exports.ChangeToUnion3$outboundSchema.parse(changeToUnion3));
665
+ }
666
+ function changeToUnion3FromJSON(jsonString) {
667
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeToUnion3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeToUnion3' from JSON`);
668
+ }
669
+ /** @internal */
670
+ exports.ChangeName$inboundSchema = z.object({
671
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
672
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
673
+ type: z.literal("NAME"),
674
+ });
675
+ /** @internal */
676
+ exports.ChangeName$outboundSchema = z.object({
677
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
678
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
679
+ type: z.literal("NAME"),
680
+ });
681
+ function changeNameToJSON(changeName) {
682
+ return JSON.stringify(exports.ChangeName$outboundSchema.parse(changeName));
683
+ }
684
+ function changeNameFromJSON(jsonString) {
685
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeName$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeName' from JSON`);
686
+ }
687
+ /** @internal */
688
+ exports.ChangeFromUnion2$inboundSchema = z.union([z.string(), z.array(z.string())]);
689
+ /** @internal */
690
+ exports.ChangeFromUnion2$outboundSchema = z.union([z.string(), z.array(z.string())]);
691
+ function changeFromUnion2ToJSON(changeFromUnion2) {
692
+ return JSON.stringify(exports.ChangeFromUnion2$outboundSchema.parse(changeFromUnion2));
693
+ }
694
+ function changeFromUnion2FromJSON(jsonString) {
695
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeFromUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeFromUnion2' from JSON`);
696
+ }
697
+ /** @internal */
698
+ exports.ChangeToUnion2$inboundSchema = z.union([z.string(), z.array(z.string())]);
699
+ /** @internal */
700
+ exports.ChangeToUnion2$outboundSchema = z.union([z.string(), z.array(z.string())]);
701
+ function changeToUnion2ToJSON(changeToUnion2) {
702
+ return JSON.stringify(exports.ChangeToUnion2$outboundSchema.parse(changeToUnion2));
703
+ }
704
+ function changeToUnion2FromJSON(jsonString) {
705
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeToUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeToUnion2' from JSON`);
706
+ }
707
+ /** @internal */
708
+ exports.ChangeAccessAuth$inboundSchema = z.object({
709
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
710
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
711
+ type: z.literal("ACCESS_AUTH"),
712
+ });
713
+ /** @internal */
714
+ exports.ChangeAccessAuth$outboundSchema = z.object({
715
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
716
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
717
+ type: z.literal("ACCESS_AUTH"),
718
+ });
719
+ function changeAccessAuthToJSON(changeAccessAuth) {
720
+ return JSON.stringify(exports.ChangeAccessAuth$outboundSchema.parse(changeAccessAuth));
721
+ }
722
+ function changeAccessAuthFromJSON(jsonString) {
723
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeAccessAuth$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeAccessAuth' from JSON`);
724
+ }
725
+ /** @internal */
726
+ exports.ChangeFromUnion1$inboundSchema = z.union([z.string(), z.array(z.string())]);
727
+ /** @internal */
728
+ exports.ChangeFromUnion1$outboundSchema = z.union([z.string(), z.array(z.string())]);
729
+ function changeFromUnion1ToJSON(changeFromUnion1) {
730
+ return JSON.stringify(exports.ChangeFromUnion1$outboundSchema.parse(changeFromUnion1));
731
+ }
732
+ function changeFromUnion1FromJSON(jsonString) {
733
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeFromUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeFromUnion1' from JSON`);
734
+ }
735
+ /** @internal */
736
+ exports.ChangeToUnion1$inboundSchema = z.union([z.string(), z.array(z.string())]);
737
+ /** @internal */
738
+ exports.ChangeToUnion1$outboundSchema = z.union([z.string(), z.array(z.string())]);
739
+ function changeToUnion1ToJSON(changeToUnion1) {
740
+ return JSON.stringify(exports.ChangeToUnion1$outboundSchema.parse(changeToUnion1));
741
+ }
742
+ function changeToUnion1FromJSON(jsonString) {
743
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeToUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeToUnion1' from JSON`);
744
+ }
745
+ /** @internal */
746
+ exports.ChangeActionAuth$inboundSchema = z.object({
747
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
748
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
749
+ type: z.literal("ACTION_AUTH"),
750
+ });
751
+ /** @internal */
752
+ exports.ChangeActionAuth$outboundSchema = z.object({
753
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
754
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
755
+ type: z.literal("ACTION_AUTH"),
756
+ });
757
+ function changeActionAuthToJSON(changeActionAuth) {
758
+ return JSON.stringify(exports.ChangeActionAuth$outboundSchema.parse(changeActionAuth));
759
+ }
760
+ function changeActionAuthFromJSON(jsonString) {
761
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeActionAuth$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeActionAuth' from JSON`);
762
+ }
763
+ /** @internal */
764
+ exports.ChangeUnion3$inboundSchema = z.union([
765
+ z.lazy(() => exports.ChangeActionAuth$inboundSchema),
766
+ z.lazy(() => exports.ChangeAccessAuth$inboundSchema),
767
+ z.lazy(() => exports.ChangeName$inboundSchema),
768
+ z.lazy(() => exports.ChangeRole$inboundSchema),
769
+ z.lazy(() => exports.ChangeEmail$inboundSchema),
770
+ ]);
771
+ /** @internal */
772
+ exports.ChangeUnion3$outboundSchema = z.union([
773
+ z.lazy(() => exports.ChangeActionAuth$outboundSchema),
774
+ z.lazy(() => exports.ChangeAccessAuth$outboundSchema),
775
+ z.lazy(() => exports.ChangeName$outboundSchema),
776
+ z.lazy(() => exports.ChangeRole$outboundSchema),
777
+ z.lazy(() => exports.ChangeEmail$outboundSchema),
778
+ ]);
779
+ function changeUnion3ToJSON(changeUnion3) {
780
+ return JSON.stringify(exports.ChangeUnion3$outboundSchema.parse(changeUnion3));
781
+ }
782
+ function changeUnion3FromJSON(jsonString) {
783
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeUnion3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeUnion3' from JSON`);
784
+ }
785
+ /** @internal */
786
+ exports.EnvelopeAuditLogFindData31$inboundSchema = z.object({
787
+ recipientEmail: z.string(),
788
+ recipientName: z.string(),
789
+ recipientId: z.number(),
790
+ recipientRole: z.string(),
791
+ changes: z.array(z.union([
792
+ z.lazy(() => exports.ChangeActionAuth$inboundSchema),
793
+ z.lazy(() => exports.ChangeAccessAuth$inboundSchema),
794
+ z.lazy(() => exports.ChangeName$inboundSchema),
795
+ z.lazy(() => exports.ChangeRole$inboundSchema),
796
+ z.lazy(() => exports.ChangeEmail$inboundSchema),
797
+ ])),
798
+ });
799
+ /** @internal */
800
+ exports.EnvelopeAuditLogFindData31$outboundSchema = z.object({
801
+ recipientEmail: z.string(),
802
+ recipientName: z.string(),
803
+ recipientId: z.number(),
804
+ recipientRole: z.string(),
805
+ changes: z.array(z.union([
806
+ z.lazy(() => exports.ChangeActionAuth$outboundSchema),
807
+ z.lazy(() => exports.ChangeAccessAuth$outboundSchema),
808
+ z.lazy(() => exports.ChangeName$outboundSchema),
809
+ z.lazy(() => exports.ChangeRole$outboundSchema),
810
+ z.lazy(() => exports.ChangeEmail$outboundSchema),
811
+ ])),
812
+ });
813
+ function envelopeAuditLogFindData31ToJSON(envelopeAuditLogFindData31) {
814
+ return JSON.stringify(exports.EnvelopeAuditLogFindData31$outboundSchema.parse(envelopeAuditLogFindData31));
815
+ }
816
+ function envelopeAuditLogFindData31FromJSON(jsonString) {
817
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData31$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData31' from JSON`);
818
+ }
819
+ /** @internal */
820
+ exports.DataRecipientUpdated$inboundSchema = z.object({
821
+ type: z.literal("RECIPIENT_UPDATED"),
822
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData31$inboundSchema),
823
+ id: z.string(),
824
+ createdAt: z.string(),
825
+ envelopeId: z.string(),
826
+ name: z.nullable(z.string()).optional(),
827
+ email: z.nullable(z.string()).optional(),
828
+ userId: z.nullable(z.number()).optional(),
829
+ userAgent: z.nullable(z.string()).optional(),
830
+ ipAddress: z.nullable(z.string()).optional(),
831
+ });
832
+ /** @internal */
833
+ exports.DataRecipientUpdated$outboundSchema = z.object({
834
+ type: z.literal("RECIPIENT_UPDATED"),
835
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData31$outboundSchema),
836
+ id: z.string(),
837
+ createdAt: z.string(),
838
+ envelopeId: z.string(),
839
+ name: z.nullable(z.string()).optional(),
840
+ email: z.nullable(z.string()).optional(),
841
+ userId: z.nullable(z.number()).optional(),
842
+ userAgent: z.nullable(z.string()).optional(),
843
+ ipAddress: z.nullable(z.string()).optional(),
844
+ });
845
+ function dataRecipientUpdatedToJSON(dataRecipientUpdated) {
846
+ return JSON.stringify(exports.DataRecipientUpdated$outboundSchema.parse(dataRecipientUpdated));
847
+ }
848
+ function dataRecipientUpdatedFromJSON(jsonString) {
849
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataRecipientUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataRecipientUpdated' from JSON`);
850
+ }
851
+ /** @internal */
852
+ exports.EnvelopeAuditLogFindAccessAuth3$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindAccessAuth3);
853
+ /** @internal */
854
+ exports.EnvelopeAuditLogFindAccessAuth3$outboundSchema = exports.EnvelopeAuditLogFindAccessAuth3$inboundSchema;
855
+ /** @internal */
856
+ exports.EnvelopeAuditLogFindActionAuth2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindActionAuth2);
857
+ /** @internal */
858
+ exports.EnvelopeAuditLogFindActionAuth2$outboundSchema = exports.EnvelopeAuditLogFindActionAuth2$inboundSchema;
859
+ /** @internal */
860
+ exports.EnvelopeAuditLogFindData30$inboundSchema = z.object({
861
+ recipientEmail: z.string(),
862
+ recipientName: z.string(),
863
+ recipientId: z.number(),
864
+ recipientRole: z.string(),
865
+ accessAuth: z.array(exports.EnvelopeAuditLogFindAccessAuth3$inboundSchema),
866
+ actionAuth: z.array(exports.EnvelopeAuditLogFindActionAuth2$inboundSchema),
867
+ });
868
+ /** @internal */
869
+ exports.EnvelopeAuditLogFindData30$outboundSchema = z.object({
870
+ recipientEmail: z.string(),
871
+ recipientName: z.string(),
872
+ recipientId: z.number(),
873
+ recipientRole: z.string(),
874
+ accessAuth: z.array(exports.EnvelopeAuditLogFindAccessAuth3$outboundSchema),
875
+ actionAuth: z.array(exports.EnvelopeAuditLogFindActionAuth2$outboundSchema),
876
+ });
877
+ function envelopeAuditLogFindData30ToJSON(envelopeAuditLogFindData30) {
878
+ return JSON.stringify(exports.EnvelopeAuditLogFindData30$outboundSchema.parse(envelopeAuditLogFindData30));
879
+ }
880
+ function envelopeAuditLogFindData30FromJSON(jsonString) {
881
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData30$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData30' from JSON`);
882
+ }
883
+ /** @internal */
884
+ exports.DataRecipientCreated$inboundSchema = z.object({
885
+ type: z.literal("RECIPIENT_CREATED"),
886
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData30$inboundSchema),
887
+ id: z.string(),
888
+ createdAt: z.string(),
889
+ envelopeId: z.string(),
890
+ name: z.nullable(z.string()).optional(),
891
+ email: z.nullable(z.string()).optional(),
892
+ userId: z.nullable(z.number()).optional(),
893
+ userAgent: z.nullable(z.string()).optional(),
894
+ ipAddress: z.nullable(z.string()).optional(),
895
+ });
896
+ /** @internal */
897
+ exports.DataRecipientCreated$outboundSchema = z.object({
898
+ type: z.literal("RECIPIENT_CREATED"),
899
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData30$outboundSchema),
900
+ id: z.string(),
901
+ createdAt: z.string(),
902
+ envelopeId: z.string(),
903
+ name: z.nullable(z.string()).optional(),
904
+ email: z.nullable(z.string()).optional(),
905
+ userId: z.nullable(z.number()).optional(),
906
+ userAgent: z.nullable(z.string()).optional(),
907
+ ipAddress: z.nullable(z.string()).optional(),
908
+ });
909
+ function dataRecipientCreatedToJSON(dataRecipientCreated) {
910
+ return JSON.stringify(exports.DataRecipientCreated$outboundSchema.parse(dataRecipientCreated));
911
+ }
912
+ function dataRecipientCreatedFromJSON(jsonString) {
913
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataRecipientCreated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataRecipientCreated' from JSON`);
914
+ }
915
+ /** @internal */
916
+ exports.ChangeFrom2$inboundSchema = z.object({
917
+ page: z.number(),
918
+ positionX: z.number(),
919
+ positionY: z.number(),
920
+ });
921
+ /** @internal */
922
+ exports.ChangeFrom2$outboundSchema = z.object({
923
+ page: z.number(),
924
+ positionX: z.number(),
925
+ positionY: z.number(),
926
+ });
927
+ function changeFrom2ToJSON(changeFrom2) {
928
+ return JSON.stringify(exports.ChangeFrom2$outboundSchema.parse(changeFrom2));
929
+ }
930
+ function changeFrom2FromJSON(jsonString) {
931
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeFrom2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeFrom2' from JSON`);
932
+ }
933
+ /** @internal */
934
+ exports.ChangeTo2$inboundSchema = z.object({
935
+ page: z.number(),
936
+ positionX: z.number(),
937
+ positionY: z.number(),
938
+ });
939
+ /** @internal */
940
+ exports.ChangeTo2$outboundSchema = z.object({
941
+ page: z.number(),
942
+ positionX: z.number(),
943
+ positionY: z.number(),
944
+ });
945
+ function changeTo2ToJSON(changeTo2) {
946
+ return JSON.stringify(exports.ChangeTo2$outboundSchema.parse(changeTo2));
947
+ }
948
+ function changeTo2FromJSON(jsonString) {
949
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeTo2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeTo2' from JSON`);
950
+ }
951
+ /** @internal */
952
+ exports.ChangePosition$inboundSchema = z.object({
953
+ type: z.literal("POSITION"),
954
+ from: z.lazy(() => exports.ChangeFrom2$inboundSchema),
955
+ to: z.lazy(() => exports.ChangeTo2$inboundSchema),
956
+ });
957
+ /** @internal */
958
+ exports.ChangePosition$outboundSchema = z.object({
959
+ type: z.literal("POSITION"),
960
+ from: z.lazy(() => exports.ChangeFrom2$outboundSchema),
961
+ to: z.lazy(() => exports.ChangeTo2$outboundSchema),
962
+ });
963
+ function changePositionToJSON(changePosition) {
964
+ return JSON.stringify(exports.ChangePosition$outboundSchema.parse(changePosition));
965
+ }
966
+ function changePositionFromJSON(jsonString) {
967
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangePosition$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangePosition' from JSON`);
968
+ }
969
+ /** @internal */
970
+ exports.ChangeFrom1$inboundSchema = z.object({
971
+ width: z.number(),
972
+ height: z.number(),
973
+ });
974
+ /** @internal */
975
+ exports.ChangeFrom1$outboundSchema = z.object({
976
+ width: z.number(),
977
+ height: z.number(),
978
+ });
979
+ function changeFrom1ToJSON(changeFrom1) {
980
+ return JSON.stringify(exports.ChangeFrom1$outboundSchema.parse(changeFrom1));
981
+ }
982
+ function changeFrom1FromJSON(jsonString) {
983
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeFrom1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeFrom1' from JSON`);
984
+ }
985
+ /** @internal */
986
+ exports.ChangeTo1$inboundSchema = z.object({
987
+ width: z.number(),
988
+ height: z.number(),
989
+ });
990
+ /** @internal */
991
+ exports.ChangeTo1$outboundSchema = z.object({
992
+ width: z.number(),
993
+ height: z.number(),
994
+ });
995
+ function changeTo1ToJSON(changeTo1) {
996
+ return JSON.stringify(exports.ChangeTo1$outboundSchema.parse(changeTo1));
997
+ }
998
+ function changeTo1FromJSON(jsonString) {
999
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeTo1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeTo1' from JSON`);
1000
+ }
1001
+ /** @internal */
1002
+ exports.ChangeDimension$inboundSchema = z.object({
1003
+ type: z.literal("DIMENSION"),
1004
+ from: z.lazy(() => exports.ChangeFrom1$inboundSchema),
1005
+ to: z.lazy(() => exports.ChangeTo1$inboundSchema),
1006
+ });
1007
+ /** @internal */
1008
+ exports.ChangeDimension$outboundSchema = z.object({
1009
+ type: z.literal("DIMENSION"),
1010
+ from: z.lazy(() => exports.ChangeFrom1$outboundSchema),
1011
+ to: z.lazy(() => exports.ChangeTo1$outboundSchema),
1012
+ });
1013
+ function changeDimensionToJSON(changeDimension) {
1014
+ return JSON.stringify(exports.ChangeDimension$outboundSchema.parse(changeDimension));
1015
+ }
1016
+ function changeDimensionFromJSON(jsonString) {
1017
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeDimension$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeDimension' from JSON`);
1018
+ }
1019
+ /** @internal */
1020
+ exports.ChangeUnion2$inboundSchema = z.union([
1021
+ z.lazy(() => exports.ChangeDimension$inboundSchema),
1022
+ z.lazy(() => exports.ChangePosition$inboundSchema),
1023
+ ]);
1024
+ /** @internal */
1025
+ exports.ChangeUnion2$outboundSchema = z.union([
1026
+ z.lazy(() => exports.ChangeDimension$outboundSchema),
1027
+ z.lazy(() => exports.ChangePosition$outboundSchema),
1028
+ ]);
1029
+ function changeUnion2ToJSON(changeUnion2) {
1030
+ return JSON.stringify(exports.ChangeUnion2$outboundSchema.parse(changeUnion2));
1031
+ }
1032
+ function changeUnion2FromJSON(jsonString) {
1033
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeUnion2' from JSON`);
1034
+ }
1035
+ /** @internal */
1036
+ exports.EnvelopeAuditLogFindData29$inboundSchema = z.object({
1037
+ fieldId: z.string(),
1038
+ fieldRecipientEmail: z.string(),
1039
+ fieldRecipientId: z.number(),
1040
+ fieldType: z.string(),
1041
+ changes: z.array(z.union([
1042
+ z.lazy(() => exports.ChangeDimension$inboundSchema),
1043
+ z.lazy(() => exports.ChangePosition$inboundSchema),
1044
+ ])),
1045
+ });
1046
+ /** @internal */
1047
+ exports.EnvelopeAuditLogFindData29$outboundSchema = z.object({
1048
+ fieldId: z.string(),
1049
+ fieldRecipientEmail: z.string(),
1050
+ fieldRecipientId: z.number(),
1051
+ fieldType: z.string(),
1052
+ changes: z.array(z.union([
1053
+ z.lazy(() => exports.ChangeDimension$outboundSchema),
1054
+ z.lazy(() => exports.ChangePosition$outboundSchema),
1055
+ ])),
1056
+ });
1057
+ function envelopeAuditLogFindData29ToJSON(envelopeAuditLogFindData29) {
1058
+ return JSON.stringify(exports.EnvelopeAuditLogFindData29$outboundSchema.parse(envelopeAuditLogFindData29));
1059
+ }
1060
+ function envelopeAuditLogFindData29FromJSON(jsonString) {
1061
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData29$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData29' from JSON`);
1062
+ }
1063
+ /** @internal */
1064
+ exports.DataFieldUpdated$inboundSchema = z.object({
1065
+ type: z.literal("FIELD_UPDATED"),
1066
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData29$inboundSchema),
1067
+ id: z.string(),
1068
+ createdAt: z.string(),
1069
+ envelopeId: z.string(),
1070
+ name: z.nullable(z.string()).optional(),
1071
+ email: z.nullable(z.string()).optional(),
1072
+ userId: z.nullable(z.number()).optional(),
1073
+ userAgent: z.nullable(z.string()).optional(),
1074
+ ipAddress: z.nullable(z.string()).optional(),
1075
+ });
1076
+ /** @internal */
1077
+ exports.DataFieldUpdated$outboundSchema = z.object({
1078
+ type: z.literal("FIELD_UPDATED"),
1079
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData29$outboundSchema),
1080
+ id: z.string(),
1081
+ createdAt: z.string(),
1082
+ envelopeId: z.string(),
1083
+ name: z.nullable(z.string()).optional(),
1084
+ email: z.nullable(z.string()).optional(),
1085
+ userId: z.nullable(z.number()).optional(),
1086
+ userAgent: z.nullable(z.string()).optional(),
1087
+ ipAddress: z.nullable(z.string()).optional(),
1088
+ });
1089
+ function dataFieldUpdatedToJSON(dataFieldUpdated) {
1090
+ return JSON.stringify(exports.DataFieldUpdated$outboundSchema.parse(dataFieldUpdated));
1091
+ }
1092
+ function dataFieldUpdatedFromJSON(jsonString) {
1093
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataFieldUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataFieldUpdated' from JSON`);
1094
+ }
1095
+ /** @internal */
1096
+ exports.EnvelopeAuditLogFindData28$inboundSchema = z.object({
1097
+ fieldId: z.string(),
1098
+ fieldRecipientEmail: z.string(),
1099
+ fieldRecipientId: z.number(),
1100
+ fieldType: z.string(),
1101
+ });
1102
+ /** @internal */
1103
+ exports.EnvelopeAuditLogFindData28$outboundSchema = z.object({
1104
+ fieldId: z.string(),
1105
+ fieldRecipientEmail: z.string(),
1106
+ fieldRecipientId: z.number(),
1107
+ fieldType: z.string(),
1108
+ });
1109
+ function envelopeAuditLogFindData28ToJSON(envelopeAuditLogFindData28) {
1110
+ return JSON.stringify(exports.EnvelopeAuditLogFindData28$outboundSchema.parse(envelopeAuditLogFindData28));
1111
+ }
1112
+ function envelopeAuditLogFindData28FromJSON(jsonString) {
1113
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData28$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData28' from JSON`);
1114
+ }
1115
+ /** @internal */
1116
+ exports.DataFieldDeleted$inboundSchema = z.object({
1117
+ type: z.literal("FIELD_DELETED"),
1118
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData28$inboundSchema),
1119
+ id: z.string(),
1120
+ createdAt: z.string(),
1121
+ envelopeId: z.string(),
1122
+ name: z.nullable(z.string()).optional(),
1123
+ email: z.nullable(z.string()).optional(),
1124
+ userId: z.nullable(z.number()).optional(),
1125
+ userAgent: z.nullable(z.string()).optional(),
1126
+ ipAddress: z.nullable(z.string()).optional(),
1127
+ });
1128
+ /** @internal */
1129
+ exports.DataFieldDeleted$outboundSchema = z.object({
1130
+ type: z.literal("FIELD_DELETED"),
1131
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData28$outboundSchema),
1132
+ id: z.string(),
1133
+ createdAt: z.string(),
1134
+ envelopeId: z.string(),
1135
+ name: z.nullable(z.string()).optional(),
1136
+ email: z.nullable(z.string()).optional(),
1137
+ userId: z.nullable(z.number()).optional(),
1138
+ userAgent: z.nullable(z.string()).optional(),
1139
+ ipAddress: z.nullable(z.string()).optional(),
1140
+ });
1141
+ function dataFieldDeletedToJSON(dataFieldDeleted) {
1142
+ return JSON.stringify(exports.DataFieldDeleted$outboundSchema.parse(dataFieldDeleted));
1143
+ }
1144
+ function dataFieldDeletedFromJSON(jsonString) {
1145
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataFieldDeleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataFieldDeleted' from JSON`);
1146
+ }
1147
+ /** @internal */
1148
+ exports.EnvelopeAuditLogFindData27$inboundSchema = z.object({
1149
+ fieldId: z.string(),
1150
+ fieldRecipientEmail: z.string(),
1151
+ fieldRecipientId: z.number(),
1152
+ fieldType: z.string(),
1153
+ });
1154
+ /** @internal */
1155
+ exports.EnvelopeAuditLogFindData27$outboundSchema = z.object({
1156
+ fieldId: z.string(),
1157
+ fieldRecipientEmail: z.string(),
1158
+ fieldRecipientId: z.number(),
1159
+ fieldType: z.string(),
1160
+ });
1161
+ function envelopeAuditLogFindData27ToJSON(envelopeAuditLogFindData27) {
1162
+ return JSON.stringify(exports.EnvelopeAuditLogFindData27$outboundSchema.parse(envelopeAuditLogFindData27));
1163
+ }
1164
+ function envelopeAuditLogFindData27FromJSON(jsonString) {
1165
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData27$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData27' from JSON`);
1166
+ }
1167
+ /** @internal */
1168
+ exports.DataFieldCreated$inboundSchema = z.object({
1169
+ type: z.literal("FIELD_CREATED"),
1170
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData27$inboundSchema),
1171
+ id: z.string(),
1172
+ createdAt: z.string(),
1173
+ envelopeId: z.string(),
1174
+ name: z.nullable(z.string()).optional(),
1175
+ email: z.nullable(z.string()).optional(),
1176
+ userId: z.nullable(z.number()).optional(),
1177
+ userAgent: z.nullable(z.string()).optional(),
1178
+ ipAddress: z.nullable(z.string()).optional(),
1179
+ });
1180
+ /** @internal */
1181
+ exports.DataFieldCreated$outboundSchema = z.object({
1182
+ type: z.literal("FIELD_CREATED"),
1183
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData27$outboundSchema),
1184
+ id: z.string(),
1185
+ createdAt: z.string(),
1186
+ envelopeId: z.string(),
1187
+ name: z.nullable(z.string()).optional(),
1188
+ email: z.nullable(z.string()).optional(),
1189
+ userId: z.nullable(z.number()).optional(),
1190
+ userAgent: z.nullable(z.string()).optional(),
1191
+ ipAddress: z.nullable(z.string()).optional(),
1192
+ });
1193
+ function dataFieldCreatedToJSON(dataFieldCreated) {
1194
+ return JSON.stringify(exports.DataFieldCreated$outboundSchema.parse(dataFieldCreated));
1195
+ }
1196
+ function dataFieldCreatedFromJSON(jsonString) {
1197
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataFieldCreated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataFieldCreated' from JSON`);
1198
+ }
1199
+ /** @internal */
1200
+ exports.EnvelopeAuditLogFindData26$inboundSchema = z.object({
1201
+ from: z.nullable(z.string()).optional(),
1202
+ to: z.nullable(z.string()).optional(),
1203
+ });
1204
+ /** @internal */
1205
+ exports.EnvelopeAuditLogFindData26$outboundSchema = z.object({
1206
+ from: z.nullable(z.string()).optional(),
1207
+ to: z.nullable(z.string()).optional(),
1208
+ });
1209
+ function envelopeAuditLogFindData26ToJSON(envelopeAuditLogFindData26) {
1210
+ return JSON.stringify(exports.EnvelopeAuditLogFindData26$outboundSchema.parse(envelopeAuditLogFindData26));
1211
+ }
1212
+ function envelopeAuditLogFindData26FromJSON(jsonString) {
1213
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData26$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData26' from JSON`);
1214
+ }
1215
+ /** @internal */
1216
+ exports.DataDocumentExternalIDUpdated$inboundSchema = z.object({
1217
+ type: z.literal("DOCUMENT_EXTERNAL_ID_UPDATED"),
1218
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData26$inboundSchema),
1219
+ id: z.string(),
1220
+ createdAt: z.string(),
1221
+ envelopeId: z.string(),
1222
+ name: z.nullable(z.string()).optional(),
1223
+ email: z.nullable(z.string()).optional(),
1224
+ userId: z.nullable(z.number()).optional(),
1225
+ userAgent: z.nullable(z.string()).optional(),
1226
+ ipAddress: z.nullable(z.string()).optional(),
1227
+ });
1228
+ /** @internal */
1229
+ exports.DataDocumentExternalIDUpdated$outboundSchema = z.object({
1230
+ type: z.literal("DOCUMENT_EXTERNAL_ID_UPDATED"),
1231
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData26$outboundSchema),
1232
+ id: z.string(),
1233
+ createdAt: z.string(),
1234
+ envelopeId: z.string(),
1235
+ name: z.nullable(z.string()).optional(),
1236
+ email: z.nullable(z.string()).optional(),
1237
+ userId: z.nullable(z.number()).optional(),
1238
+ userAgent: z.nullable(z.string()).optional(),
1239
+ ipAddress: z.nullable(z.string()).optional(),
1240
+ });
1241
+ function dataDocumentExternalIDUpdatedToJSON(dataDocumentExternalIDUpdated) {
1242
+ return JSON.stringify(exports.DataDocumentExternalIDUpdated$outboundSchema.parse(dataDocumentExternalIDUpdated));
1243
+ }
1244
+ function dataDocumentExternalIDUpdatedFromJSON(jsonString) {
1245
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentExternalIDUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentExternalIDUpdated' from JSON`);
1246
+ }
1247
+ /** @internal */
1248
+ exports.EnvelopeAuditLogFindData25$inboundSchema = z.object({
1249
+ from: z.string(),
1250
+ to: z.string(),
1251
+ });
1252
+ /** @internal */
1253
+ exports.EnvelopeAuditLogFindData25$outboundSchema = z.object({
1254
+ from: z.string(),
1255
+ to: z.string(),
1256
+ });
1257
+ function envelopeAuditLogFindData25ToJSON(envelopeAuditLogFindData25) {
1258
+ return JSON.stringify(exports.EnvelopeAuditLogFindData25$outboundSchema.parse(envelopeAuditLogFindData25));
1259
+ }
1260
+ function envelopeAuditLogFindData25FromJSON(jsonString) {
1261
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData25$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData25' from JSON`);
1262
+ }
1263
+ /** @internal */
1264
+ exports.DataDocumentTitleUpdated$inboundSchema = z.object({
1265
+ type: z.literal("DOCUMENT_TITLE_UPDATED"),
1266
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData25$inboundSchema),
1267
+ id: z.string(),
1268
+ createdAt: z.string(),
1269
+ envelopeId: z.string(),
1270
+ name: z.nullable(z.string()).optional(),
1271
+ email: z.nullable(z.string()).optional(),
1272
+ userId: z.nullable(z.number()).optional(),
1273
+ userAgent: z.nullable(z.string()).optional(),
1274
+ ipAddress: z.nullable(z.string()).optional(),
1275
+ });
1276
+ /** @internal */
1277
+ exports.DataDocumentTitleUpdated$outboundSchema = z.object({
1278
+ type: z.literal("DOCUMENT_TITLE_UPDATED"),
1279
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData25$outboundSchema),
1280
+ id: z.string(),
1281
+ createdAt: z.string(),
1282
+ envelopeId: z.string(),
1283
+ name: z.nullable(z.string()).optional(),
1284
+ email: z.nullable(z.string()).optional(),
1285
+ userId: z.nullable(z.number()).optional(),
1286
+ userAgent: z.nullable(z.string()).optional(),
1287
+ ipAddress: z.nullable(z.string()).optional(),
1288
+ });
1289
+ function dataDocumentTitleUpdatedToJSON(dataDocumentTitleUpdated) {
1290
+ return JSON.stringify(exports.DataDocumentTitleUpdated$outboundSchema.parse(dataDocumentTitleUpdated));
1291
+ }
1292
+ function dataDocumentTitleUpdatedFromJSON(jsonString) {
1293
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentTitleUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentTitleUpdated' from JSON`);
1294
+ }
1295
+ /** @internal */
1296
+ exports.EnvelopeAuditLogFindData24$inboundSchema = z.object({});
1297
+ /** @internal */
1298
+ exports.EnvelopeAuditLogFindData24$outboundSchema = z.object({});
1299
+ function envelopeAuditLogFindData24ToJSON(envelopeAuditLogFindData24) {
1300
+ return JSON.stringify(exports.EnvelopeAuditLogFindData24$outboundSchema.parse(envelopeAuditLogFindData24));
1301
+ }
1302
+ function envelopeAuditLogFindData24FromJSON(jsonString) {
1303
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData24$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData24' from JSON`);
1304
+ }
1305
+ /** @internal */
1306
+ exports.DataDocumentSent$inboundSchema = z.object({
1307
+ type: z.literal("DOCUMENT_SENT"),
1308
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData24$inboundSchema),
1309
+ id: z.string(),
1310
+ createdAt: z.string(),
1311
+ envelopeId: z.string(),
1312
+ name: z.nullable(z.string()).optional(),
1313
+ email: z.nullable(z.string()).optional(),
1314
+ userId: z.nullable(z.number()).optional(),
1315
+ userAgent: z.nullable(z.string()).optional(),
1316
+ ipAddress: z.nullable(z.string()).optional(),
1317
+ });
1318
+ /** @internal */
1319
+ exports.DataDocumentSent$outboundSchema = z.object({
1320
+ type: z.literal("DOCUMENT_SENT"),
1321
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData24$outboundSchema),
1322
+ id: z.string(),
1323
+ createdAt: z.string(),
1324
+ envelopeId: z.string(),
1325
+ name: z.nullable(z.string()).optional(),
1326
+ email: z.nullable(z.string()).optional(),
1327
+ userId: z.nullable(z.number()).optional(),
1328
+ userAgent: z.nullable(z.string()).optional(),
1329
+ ipAddress: z.nullable(z.string()).optional(),
1330
+ });
1331
+ function dataDocumentSentToJSON(dataDocumentSent) {
1332
+ return JSON.stringify(exports.DataDocumentSent$outboundSchema.parse(dataDocumentSent));
1333
+ }
1334
+ function dataDocumentSentFromJSON(jsonString) {
1335
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentSent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentSent' from JSON`);
1336
+ }
1337
+ /** @internal */
1338
+ exports.EnvelopeAuditLogFindData23$inboundSchema = z.object({
1339
+ recipientEmail: z.string(),
1340
+ recipientName: z.string(),
1341
+ recipientId: z.number(),
1342
+ });
1343
+ /** @internal */
1344
+ exports.EnvelopeAuditLogFindData23$outboundSchema = z.object({
1345
+ recipientEmail: z.string(),
1346
+ recipientName: z.string(),
1347
+ recipientId: z.number(),
1348
+ });
1349
+ function envelopeAuditLogFindData23ToJSON(envelopeAuditLogFindData23) {
1350
+ return JSON.stringify(exports.EnvelopeAuditLogFindData23$outboundSchema.parse(envelopeAuditLogFindData23));
1351
+ }
1352
+ function envelopeAuditLogFindData23FromJSON(jsonString) {
1353
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData23$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData23' from JSON`);
1354
+ }
1355
+ /** @internal */
1356
+ exports.DataDocumentAccessAuth2FaFailed$inboundSchema = z.object({
1357
+ type: z.literal("DOCUMENT_ACCESS_AUTH_2FA_FAILED"),
1358
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData23$inboundSchema),
1359
+ id: z.string(),
1360
+ createdAt: z.string(),
1361
+ envelopeId: z.string(),
1362
+ name: z.nullable(z.string()).optional(),
1363
+ email: z.nullable(z.string()).optional(),
1364
+ userId: z.nullable(z.number()).optional(),
1365
+ userAgent: z.nullable(z.string()).optional(),
1366
+ ipAddress: z.nullable(z.string()).optional(),
1367
+ });
1368
+ /** @internal */
1369
+ exports.DataDocumentAccessAuth2FaFailed$outboundSchema = z.object({
1370
+ type: z.literal("DOCUMENT_ACCESS_AUTH_2FA_FAILED"),
1371
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData23$outboundSchema),
1372
+ id: z.string(),
1373
+ createdAt: z.string(),
1374
+ envelopeId: z.string(),
1375
+ name: z.nullable(z.string()).optional(),
1376
+ email: z.nullable(z.string()).optional(),
1377
+ userId: z.nullable(z.number()).optional(),
1378
+ userAgent: z.nullable(z.string()).optional(),
1379
+ ipAddress: z.nullable(z.string()).optional(),
1380
+ });
1381
+ function dataDocumentAccessAuth2FaFailedToJSON(dataDocumentAccessAuth2FaFailed) {
1382
+ return JSON.stringify(exports.DataDocumentAccessAuth2FaFailed$outboundSchema.parse(dataDocumentAccessAuth2FaFailed));
1383
+ }
1384
+ function dataDocumentAccessAuth2FaFailedFromJSON(jsonString) {
1385
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentAccessAuth2FaFailed$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentAccessAuth2FaFailed' from JSON`);
1386
+ }
1387
+ /** @internal */
1388
+ exports.EnvelopeAuditLogFindData22$inboundSchema = z.object({
1389
+ recipientEmail: z.string(),
1390
+ recipientName: z.string(),
1391
+ recipientId: z.number(),
1392
+ });
1393
+ /** @internal */
1394
+ exports.EnvelopeAuditLogFindData22$outboundSchema = z.object({
1395
+ recipientEmail: z.string(),
1396
+ recipientName: z.string(),
1397
+ recipientId: z.number(),
1398
+ });
1399
+ function envelopeAuditLogFindData22ToJSON(envelopeAuditLogFindData22) {
1400
+ return JSON.stringify(exports.EnvelopeAuditLogFindData22$outboundSchema.parse(envelopeAuditLogFindData22));
1401
+ }
1402
+ function envelopeAuditLogFindData22FromJSON(jsonString) {
1403
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData22$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData22' from JSON`);
1404
+ }
1405
+ /** @internal */
1406
+ exports.DataDocumentAccessAuth2FaValidated$inboundSchema = z.object({
1407
+ type: z.literal("DOCUMENT_ACCESS_AUTH_2FA_VALIDATED"),
1408
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData22$inboundSchema),
1409
+ id: z.string(),
1410
+ createdAt: z.string(),
1411
+ envelopeId: z.string(),
1412
+ name: z.nullable(z.string()).optional(),
1413
+ email: z.nullable(z.string()).optional(),
1414
+ userId: z.nullable(z.number()).optional(),
1415
+ userAgent: z.nullable(z.string()).optional(),
1416
+ ipAddress: z.nullable(z.string()).optional(),
1417
+ });
1418
+ /** @internal */
1419
+ exports.DataDocumentAccessAuth2FaValidated$outboundSchema = z.object({
1420
+ type: z.literal("DOCUMENT_ACCESS_AUTH_2FA_VALIDATED"),
1421
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData22$outboundSchema),
1422
+ id: z.string(),
1423
+ createdAt: z.string(),
1424
+ envelopeId: z.string(),
1425
+ name: z.nullable(z.string()).optional(),
1426
+ email: z.nullable(z.string()).optional(),
1427
+ userId: z.nullable(z.number()).optional(),
1428
+ userAgent: z.nullable(z.string()).optional(),
1429
+ ipAddress: z.nullable(z.string()).optional(),
1430
+ });
1431
+ function dataDocumentAccessAuth2FaValidatedToJSON(dataDocumentAccessAuth2FaValidated) {
1432
+ return JSON.stringify(exports.DataDocumentAccessAuth2FaValidated$outboundSchema.parse(dataDocumentAccessAuth2FaValidated));
1433
+ }
1434
+ function dataDocumentAccessAuth2FaValidatedFromJSON(jsonString) {
1435
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentAccessAuth2FaValidated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentAccessAuth2FaValidated' from JSON`);
1436
+ }
1437
+ /** @internal */
1438
+ exports.EnvelopeAuditLogFindData21$inboundSchema = z.object({
1439
+ recipientEmail: z.string(),
1440
+ recipientName: z.string(),
1441
+ recipientId: z.number(),
1442
+ });
1443
+ /** @internal */
1444
+ exports.EnvelopeAuditLogFindData21$outboundSchema = z.object({
1445
+ recipientEmail: z.string(),
1446
+ recipientName: z.string(),
1447
+ recipientId: z.number(),
1448
+ });
1449
+ function envelopeAuditLogFindData21ToJSON(envelopeAuditLogFindData21) {
1450
+ return JSON.stringify(exports.EnvelopeAuditLogFindData21$outboundSchema.parse(envelopeAuditLogFindData21));
1451
+ }
1452
+ function envelopeAuditLogFindData21FromJSON(jsonString) {
1453
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData21$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData21' from JSON`);
1454
+ }
1455
+ /** @internal */
1456
+ exports.DataDocumentAccessAuth2FaRequested$inboundSchema = z.object({
1457
+ type: z.literal("DOCUMENT_ACCESS_AUTH_2FA_REQUESTED"),
1458
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData21$inboundSchema),
1459
+ id: z.string(),
1460
+ createdAt: z.string(),
1461
+ envelopeId: z.string(),
1462
+ name: z.nullable(z.string()).optional(),
1463
+ email: z.nullable(z.string()).optional(),
1464
+ userId: z.nullable(z.number()).optional(),
1465
+ userAgent: z.nullable(z.string()).optional(),
1466
+ ipAddress: z.nullable(z.string()).optional(),
1467
+ });
1468
+ /** @internal */
1469
+ exports.DataDocumentAccessAuth2FaRequested$outboundSchema = z.object({
1470
+ type: z.literal("DOCUMENT_ACCESS_AUTH_2FA_REQUESTED"),
1471
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData21$outboundSchema),
1472
+ id: z.string(),
1473
+ createdAt: z.string(),
1474
+ envelopeId: z.string(),
1475
+ name: z.nullable(z.string()).optional(),
1476
+ email: z.nullable(z.string()).optional(),
1477
+ userId: z.nullable(z.number()).optional(),
1478
+ userAgent: z.nullable(z.string()).optional(),
1479
+ ipAddress: z.nullable(z.string()).optional(),
1480
+ });
1481
+ function dataDocumentAccessAuth2FaRequestedToJSON(dataDocumentAccessAuth2FaRequested) {
1482
+ return JSON.stringify(exports.DataDocumentAccessAuth2FaRequested$outboundSchema.parse(dataDocumentAccessAuth2FaRequested));
1483
+ }
1484
+ function dataDocumentAccessAuth2FaRequestedFromJSON(jsonString) {
1485
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentAccessAuth2FaRequested$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentAccessAuth2FaRequested' from JSON`);
1486
+ }
1487
+ /** @internal */
1488
+ exports.EnvelopeAuditLogFindData20$inboundSchema = z.object({
1489
+ recipientEmail: z.string(),
1490
+ recipientName: z.string(),
1491
+ recipientId: z.number(),
1492
+ recipientRole: z.string(),
1493
+ reason: z.string(),
1494
+ });
1495
+ /** @internal */
1496
+ exports.EnvelopeAuditLogFindData20$outboundSchema = z.object({
1497
+ recipientEmail: z.string(),
1498
+ recipientName: z.string(),
1499
+ recipientId: z.number(),
1500
+ recipientRole: z.string(),
1501
+ reason: z.string(),
1502
+ });
1503
+ function envelopeAuditLogFindData20ToJSON(envelopeAuditLogFindData20) {
1504
+ return JSON.stringify(exports.EnvelopeAuditLogFindData20$outboundSchema.parse(envelopeAuditLogFindData20));
1505
+ }
1506
+ function envelopeAuditLogFindData20FromJSON(jsonString) {
1507
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData20$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData20' from JSON`);
1508
+ }
1509
+ /** @internal */
1510
+ exports.DataDocumentRecipientRejected$inboundSchema = z.object({
1511
+ type: z.literal("DOCUMENT_RECIPIENT_REJECTED"),
1512
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData20$inboundSchema),
1513
+ id: z.string(),
1514
+ createdAt: z.string(),
1515
+ envelopeId: z.string(),
1516
+ name: z.nullable(z.string()).optional(),
1517
+ email: z.nullable(z.string()).optional(),
1518
+ userId: z.nullable(z.number()).optional(),
1519
+ userAgent: z.nullable(z.string()).optional(),
1520
+ ipAddress: z.nullable(z.string()).optional(),
1521
+ });
1522
+ /** @internal */
1523
+ exports.DataDocumentRecipientRejected$outboundSchema = z.object({
1524
+ type: z.literal("DOCUMENT_RECIPIENT_REJECTED"),
1525
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData20$outboundSchema),
1526
+ id: z.string(),
1527
+ createdAt: z.string(),
1528
+ envelopeId: z.string(),
1529
+ name: z.nullable(z.string()).optional(),
1530
+ email: z.nullable(z.string()).optional(),
1531
+ userId: z.nullable(z.number()).optional(),
1532
+ userAgent: z.nullable(z.string()).optional(),
1533
+ ipAddress: z.nullable(z.string()).optional(),
1534
+ });
1535
+ function dataDocumentRecipientRejectedToJSON(dataDocumentRecipientRejected) {
1536
+ return JSON.stringify(exports.DataDocumentRecipientRejected$outboundSchema.parse(dataDocumentRecipientRejected));
1537
+ }
1538
+ function dataDocumentRecipientRejectedFromJSON(jsonString) {
1539
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentRecipientRejected$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentRecipientRejected' from JSON`);
1540
+ }
1541
+ /** @internal */
1542
+ exports.EnvelopeAuditLogFindActionAuth1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindActionAuth1);
1543
+ /** @internal */
1544
+ exports.EnvelopeAuditLogFindActionAuth1$outboundSchema = exports.EnvelopeAuditLogFindActionAuth1$inboundSchema;
1545
+ /** @internal */
1546
+ exports.EnvelopeAuditLogFindData19$inboundSchema = z.object({
1547
+ recipientEmail: z.string(),
1548
+ recipientName: z.string(),
1549
+ recipientId: z.number(),
1550
+ recipientRole: z.string(),
1551
+ actionAuth: z.array(exports.EnvelopeAuditLogFindActionAuth1$inboundSchema),
1552
+ });
1553
+ /** @internal */
1554
+ exports.EnvelopeAuditLogFindData19$outboundSchema = z.object({
1555
+ recipientEmail: z.string(),
1556
+ recipientName: z.string(),
1557
+ recipientId: z.number(),
1558
+ recipientRole: z.string(),
1559
+ actionAuth: z.array(exports.EnvelopeAuditLogFindActionAuth1$outboundSchema),
1560
+ });
1561
+ function envelopeAuditLogFindData19ToJSON(envelopeAuditLogFindData19) {
1562
+ return JSON.stringify(exports.EnvelopeAuditLogFindData19$outboundSchema.parse(envelopeAuditLogFindData19));
1563
+ }
1564
+ function envelopeAuditLogFindData19FromJSON(jsonString) {
1565
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData19$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData19' from JSON`);
1566
+ }
1567
+ /** @internal */
1568
+ exports.DataDocumentRecipientCompleted$inboundSchema = z.object({
1569
+ type: z.literal("DOCUMENT_RECIPIENT_COMPLETED"),
1570
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData19$inboundSchema),
1571
+ id: z.string(),
1572
+ createdAt: z.string(),
1573
+ envelopeId: z.string(),
1574
+ name: z.nullable(z.string()).optional(),
1575
+ email: z.nullable(z.string()).optional(),
1576
+ userId: z.nullable(z.number()).optional(),
1577
+ userAgent: z.nullable(z.string()).optional(),
1578
+ ipAddress: z.nullable(z.string()).optional(),
1579
+ });
1580
+ /** @internal */
1581
+ exports.DataDocumentRecipientCompleted$outboundSchema = z.object({
1582
+ type: z.literal("DOCUMENT_RECIPIENT_COMPLETED"),
1583
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData19$outboundSchema),
1584
+ id: z.string(),
1585
+ createdAt: z.string(),
1586
+ envelopeId: z.string(),
1587
+ name: z.nullable(z.string()).optional(),
1588
+ email: z.nullable(z.string()).optional(),
1589
+ userId: z.nullable(z.number()).optional(),
1590
+ userAgent: z.nullable(z.string()).optional(),
1591
+ ipAddress: z.nullable(z.string()).optional(),
1592
+ });
1593
+ function dataDocumentRecipientCompletedToJSON(dataDocumentRecipientCompleted) {
1594
+ return JSON.stringify(exports.DataDocumentRecipientCompleted$outboundSchema.parse(dataDocumentRecipientCompleted));
1595
+ }
1596
+ function dataDocumentRecipientCompletedFromJSON(jsonString) {
1597
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentRecipientCompleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentRecipientCompleted' from JSON`);
1598
+ }
1599
+ /** @internal */
1600
+ exports.EnvelopeAuditLogFindAccessAuth2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindAccessAuth2);
1601
+ /** @internal */
1602
+ exports.EnvelopeAuditLogFindAccessAuth2$outboundSchema = exports.EnvelopeAuditLogFindAccessAuth2$inboundSchema;
1603
+ /** @internal */
1604
+ exports.EnvelopeAuditLogFindData18$inboundSchema = z.object({
1605
+ recipientEmail: z.string(),
1606
+ recipientName: z.string(),
1607
+ recipientId: z.number(),
1608
+ recipientRole: z.string(),
1609
+ accessAuth: z.array(exports.EnvelopeAuditLogFindAccessAuth2$inboundSchema),
1610
+ });
1611
+ /** @internal */
1612
+ exports.EnvelopeAuditLogFindData18$outboundSchema = z.object({
1613
+ recipientEmail: z.string(),
1614
+ recipientName: z.string(),
1615
+ recipientId: z.number(),
1616
+ recipientRole: z.string(),
1617
+ accessAuth: z.array(exports.EnvelopeAuditLogFindAccessAuth2$outboundSchema),
1618
+ });
1619
+ function envelopeAuditLogFindData18ToJSON(envelopeAuditLogFindData18) {
1620
+ return JSON.stringify(exports.EnvelopeAuditLogFindData18$outboundSchema.parse(envelopeAuditLogFindData18));
1621
+ }
1622
+ function envelopeAuditLogFindData18FromJSON(jsonString) {
1623
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData18$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData18' from JSON`);
1624
+ }
1625
+ /** @internal */
1626
+ exports.DataDocumentViewed$inboundSchema = z.object({
1627
+ type: z.literal("DOCUMENT_VIEWED"),
1628
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData18$inboundSchema),
1629
+ id: z.string(),
1630
+ createdAt: z.string(),
1631
+ envelopeId: z.string(),
1632
+ name: z.nullable(z.string()).optional(),
1633
+ email: z.nullable(z.string()).optional(),
1634
+ userId: z.nullable(z.number()).optional(),
1635
+ userAgent: z.nullable(z.string()).optional(),
1636
+ ipAddress: z.nullable(z.string()).optional(),
1637
+ });
1638
+ /** @internal */
1639
+ exports.DataDocumentViewed$outboundSchema = z.object({
1640
+ type: z.literal("DOCUMENT_VIEWED"),
1641
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData18$outboundSchema),
1642
+ id: z.string(),
1643
+ createdAt: z.string(),
1644
+ envelopeId: z.string(),
1645
+ name: z.nullable(z.string()).optional(),
1646
+ email: z.nullable(z.string()).optional(),
1647
+ userId: z.nullable(z.number()).optional(),
1648
+ userAgent: z.nullable(z.string()).optional(),
1649
+ ipAddress: z.nullable(z.string()).optional(),
1650
+ });
1651
+ function dataDocumentViewedToJSON(dataDocumentViewed) {
1652
+ return JSON.stringify(exports.DataDocumentViewed$outboundSchema.parse(dataDocumentViewed));
1653
+ }
1654
+ function dataDocumentViewedFromJSON(jsonString) {
1655
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentViewed$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentViewed' from JSON`);
1656
+ }
1657
+ /** @internal */
1658
+ exports.EnvelopeAuditLogFindAccessAuth1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindAccessAuth1);
1659
+ /** @internal */
1660
+ exports.EnvelopeAuditLogFindAccessAuth1$outboundSchema = exports.EnvelopeAuditLogFindAccessAuth1$inboundSchema;
1661
+ /** @internal */
1662
+ exports.EnvelopeAuditLogFindData17$inboundSchema = z.object({
1663
+ recipientEmail: z.string(),
1664
+ recipientName: z.string(),
1665
+ recipientId: z.number(),
1666
+ recipientRole: z.string(),
1667
+ accessAuth: z.array(exports.EnvelopeAuditLogFindAccessAuth1$inboundSchema),
1668
+ });
1669
+ /** @internal */
1670
+ exports.EnvelopeAuditLogFindData17$outboundSchema = z.object({
1671
+ recipientEmail: z.string(),
1672
+ recipientName: z.string(),
1673
+ recipientId: z.number(),
1674
+ recipientRole: z.string(),
1675
+ accessAuth: z.array(exports.EnvelopeAuditLogFindAccessAuth1$outboundSchema),
1676
+ });
1677
+ function envelopeAuditLogFindData17ToJSON(envelopeAuditLogFindData17) {
1678
+ return JSON.stringify(exports.EnvelopeAuditLogFindData17$outboundSchema.parse(envelopeAuditLogFindData17));
1679
+ }
1680
+ function envelopeAuditLogFindData17FromJSON(jsonString) {
1681
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData17$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData17' from JSON`);
1682
+ }
1683
+ /** @internal */
1684
+ exports.DataDocumentOpened$inboundSchema = z.object({
1685
+ type: z.literal("DOCUMENT_OPENED"),
1686
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData17$inboundSchema),
1687
+ id: z.string(),
1688
+ createdAt: z.string(),
1689
+ envelopeId: z.string(),
1690
+ name: z.nullable(z.string()).optional(),
1691
+ email: z.nullable(z.string()).optional(),
1692
+ userId: z.nullable(z.number()).optional(),
1693
+ userAgent: z.nullable(z.string()).optional(),
1694
+ ipAddress: z.nullable(z.string()).optional(),
1695
+ });
1696
+ /** @internal */
1697
+ exports.DataDocumentOpened$outboundSchema = z.object({
1698
+ type: z.literal("DOCUMENT_OPENED"),
1699
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData17$outboundSchema),
1700
+ id: z.string(),
1701
+ createdAt: z.string(),
1702
+ envelopeId: z.string(),
1703
+ name: z.nullable(z.string()).optional(),
1704
+ email: z.nullable(z.string()).optional(),
1705
+ userId: z.nullable(z.number()).optional(),
1706
+ userAgent: z.nullable(z.string()).optional(),
1707
+ ipAddress: z.nullable(z.string()).optional(),
1708
+ });
1709
+ function dataDocumentOpenedToJSON(dataDocumentOpened) {
1710
+ return JSON.stringify(exports.DataDocumentOpened$outboundSchema.parse(dataDocumentOpened));
1711
+ }
1712
+ function dataDocumentOpenedFromJSON(jsonString) {
1713
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentOpened$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentOpened' from JSON`);
1714
+ }
1715
+ /** @internal */
1716
+ exports.TypePassword$inboundSchema = z.nativeEnum(exports.TypePassword);
1717
+ /** @internal */
1718
+ exports.TypePassword$outboundSchema = exports.TypePassword$inboundSchema;
1719
+ /** @internal */
1720
+ exports.ChangePassword$inboundSchema = z.object({
1721
+ type: exports.TypePassword$inboundSchema,
1722
+ });
1723
+ /** @internal */
1724
+ exports.ChangePassword$outboundSchema = z.object({
1725
+ type: exports.TypePassword$outboundSchema,
1726
+ });
1727
+ function changePasswordToJSON(changePassword) {
1728
+ return JSON.stringify(exports.ChangePassword$outboundSchema.parse(changePassword));
1729
+ }
1730
+ function changePasswordFromJSON(jsonString) {
1731
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangePassword$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangePassword' from JSON`);
1732
+ }
1733
+ /** @internal */
1734
+ exports.TypeEmailSettings$inboundSchema = z.nativeEnum(exports.TypeEmailSettings);
1735
+ /** @internal */
1736
+ exports.TypeEmailSettings$outboundSchema = exports.TypeEmailSettings$inboundSchema;
1737
+ /** @internal */
1738
+ exports.TypeEmailReplyTo$inboundSchema = z.nativeEnum(exports.TypeEmailReplyTo);
1739
+ /** @internal */
1740
+ exports.TypeEmailReplyTo$outboundSchema = exports.TypeEmailReplyTo$inboundSchema;
1741
+ /** @internal */
1742
+ exports.TypeEmailID$inboundSchema = z
1743
+ .nativeEnum(exports.TypeEmailID);
1744
+ /** @internal */
1745
+ exports.TypeEmailID$outboundSchema = exports.TypeEmailID$inboundSchema;
1746
+ /** @internal */
1747
+ exports.TypeTimezone$inboundSchema = z.nativeEnum(exports.TypeTimezone);
1748
+ /** @internal */
1749
+ exports.TypeTimezone$outboundSchema = exports.TypeTimezone$inboundSchema;
1750
+ /** @internal */
1751
+ exports.TypeSubject$inboundSchema = z
1752
+ .nativeEnum(exports.TypeSubject);
1753
+ /** @internal */
1754
+ exports.TypeSubject$outboundSchema = exports.TypeSubject$inboundSchema;
1755
+ /** @internal */
1756
+ exports.TypeRedirectURL$inboundSchema = z.nativeEnum(exports.TypeRedirectURL);
1757
+ /** @internal */
1758
+ exports.TypeRedirectURL$outboundSchema = exports.TypeRedirectURL$inboundSchema;
1759
+ /** @internal */
1760
+ exports.TypeMessage$inboundSchema = z
1761
+ .nativeEnum(exports.TypeMessage);
1762
+ /** @internal */
1763
+ exports.TypeMessage$outboundSchema = exports.TypeMessage$inboundSchema;
1764
+ /** @internal */
1765
+ exports.TypeDateFormat$inboundSchema = z.nativeEnum(exports.TypeDateFormat);
1766
+ /** @internal */
1767
+ exports.TypeDateFormat$outboundSchema = exports.TypeDateFormat$inboundSchema;
1768
+ /** @internal */
1769
+ exports.ChangeTypeUnion$inboundSchema = z.union([
1770
+ exports.TypeDateFormat$inboundSchema,
1771
+ exports.TypeMessage$inboundSchema,
1772
+ exports.TypeRedirectURL$inboundSchema,
1773
+ exports.TypeSubject$inboundSchema,
1774
+ exports.TypeTimezone$inboundSchema,
1775
+ exports.TypeEmailID$inboundSchema,
1776
+ exports.TypeEmailReplyTo$inboundSchema,
1777
+ exports.TypeEmailSettings$inboundSchema,
1778
+ ]);
1779
+ /** @internal */
1780
+ exports.ChangeTypeUnion$outboundSchema = z.union([
1781
+ exports.TypeDateFormat$outboundSchema,
1782
+ exports.TypeMessage$outboundSchema,
1783
+ exports.TypeRedirectURL$outboundSchema,
1784
+ exports.TypeSubject$outboundSchema,
1785
+ exports.TypeTimezone$outboundSchema,
1786
+ exports.TypeEmailID$outboundSchema,
1787
+ exports.TypeEmailReplyTo$outboundSchema,
1788
+ exports.TypeEmailSettings$outboundSchema,
1789
+ ]);
1790
+ function changeTypeUnionToJSON(changeTypeUnion) {
1791
+ return JSON.stringify(exports.ChangeTypeUnion$outboundSchema.parse(changeTypeUnion));
1792
+ }
1793
+ function changeTypeUnionFromJSON(jsonString) {
1794
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeTypeUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeTypeUnion' from JSON`);
1795
+ }
1796
+ /** @internal */
1797
+ exports.Change$inboundSchema = z
1798
+ .object({
1799
+ type: z.union([
1800
+ exports.TypeDateFormat$inboundSchema,
1801
+ exports.TypeMessage$inboundSchema,
1802
+ exports.TypeRedirectURL$inboundSchema,
1803
+ exports.TypeSubject$inboundSchema,
1804
+ exports.TypeTimezone$inboundSchema,
1805
+ exports.TypeEmailID$inboundSchema,
1806
+ exports.TypeEmailReplyTo$inboundSchema,
1807
+ exports.TypeEmailSettings$inboundSchema,
1808
+ ]),
1809
+ from: z.nullable(z.string()),
1810
+ to: z.nullable(z.string()),
1811
+ });
1812
+ /** @internal */
1813
+ exports.Change$outboundSchema = z.object({
1814
+ type: z.union([
1815
+ exports.TypeDateFormat$outboundSchema,
1816
+ exports.TypeMessage$outboundSchema,
1817
+ exports.TypeRedirectURL$outboundSchema,
1818
+ exports.TypeSubject$outboundSchema,
1819
+ exports.TypeTimezone$outboundSchema,
1820
+ exports.TypeEmailID$outboundSchema,
1821
+ exports.TypeEmailReplyTo$outboundSchema,
1822
+ exports.TypeEmailSettings$outboundSchema,
1823
+ ]),
1824
+ from: z.nullable(z.string()),
1825
+ to: z.nullable(z.string()),
1826
+ });
1827
+ function changeToJSON(change) {
1828
+ return JSON.stringify(exports.Change$outboundSchema.parse(change));
1829
+ }
1830
+ function changeFromJSON(jsonString) {
1831
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Change$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Change' from JSON`);
1832
+ }
1833
+ /** @internal */
1834
+ exports.ChangeUnion1$inboundSchema = z.union([
1835
+ z.lazy(() => exports.Change$inboundSchema),
1836
+ z.lazy(() => exports.ChangePassword$inboundSchema),
1837
+ ]);
1838
+ /** @internal */
1839
+ exports.ChangeUnion1$outboundSchema = z.union([
1840
+ z.lazy(() => exports.Change$outboundSchema),
1841
+ z.lazy(() => exports.ChangePassword$outboundSchema),
1842
+ ]);
1843
+ function changeUnion1ToJSON(changeUnion1) {
1844
+ return JSON.stringify(exports.ChangeUnion1$outboundSchema.parse(changeUnion1));
1845
+ }
1846
+ function changeUnion1FromJSON(jsonString) {
1847
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ChangeUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ChangeUnion1' from JSON`);
1848
+ }
1849
+ /** @internal */
1850
+ exports.EnvelopeAuditLogFindData16$inboundSchema = z.object({
1851
+ changes: z.array(z.union([
1852
+ z.lazy(() => exports.Change$inboundSchema),
1853
+ z.lazy(() => exports.ChangePassword$inboundSchema),
1854
+ ])),
1855
+ });
1856
+ /** @internal */
1857
+ exports.EnvelopeAuditLogFindData16$outboundSchema = z.object({
1858
+ changes: z.array(z.union([
1859
+ z.lazy(() => exports.Change$outboundSchema),
1860
+ z.lazy(() => exports.ChangePassword$outboundSchema),
1861
+ ])),
1862
+ });
1863
+ function envelopeAuditLogFindData16ToJSON(envelopeAuditLogFindData16) {
1864
+ return JSON.stringify(exports.EnvelopeAuditLogFindData16$outboundSchema.parse(envelopeAuditLogFindData16));
1865
+ }
1866
+ function envelopeAuditLogFindData16FromJSON(jsonString) {
1867
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData16$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData16' from JSON`);
1868
+ }
1869
+ /** @internal */
1870
+ exports.DataDocumentMetaUpdated$inboundSchema = z.object({
1871
+ type: z.literal("DOCUMENT_META_UPDATED"),
1872
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData16$inboundSchema),
1873
+ id: z.string(),
1874
+ createdAt: z.string(),
1875
+ envelopeId: z.string(),
1876
+ name: z.nullable(z.string()).optional(),
1877
+ email: z.nullable(z.string()).optional(),
1878
+ userId: z.nullable(z.number()).optional(),
1879
+ userAgent: z.nullable(z.string()).optional(),
1880
+ ipAddress: z.nullable(z.string()).optional(),
1881
+ });
1882
+ /** @internal */
1883
+ exports.DataDocumentMetaUpdated$outboundSchema = z.object({
1884
+ type: z.literal("DOCUMENT_META_UPDATED"),
1885
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData16$outboundSchema),
1886
+ id: z.string(),
1887
+ createdAt: z.string(),
1888
+ envelopeId: z.string(),
1889
+ name: z.nullable(z.string()).optional(),
1890
+ email: z.nullable(z.string()).optional(),
1891
+ userId: z.nullable(z.number()).optional(),
1892
+ userAgent: z.nullable(z.string()).optional(),
1893
+ ipAddress: z.nullable(z.string()).optional(),
1894
+ });
1895
+ function dataDocumentMetaUpdatedToJSON(dataDocumentMetaUpdated) {
1896
+ return JSON.stringify(exports.DataDocumentMetaUpdated$outboundSchema.parse(dataDocumentMetaUpdated));
1897
+ }
1898
+ function dataDocumentMetaUpdatedFromJSON(jsonString) {
1899
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentMetaUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentMetaUpdated' from JSON`);
1900
+ }
1901
+ /** @internal */
1902
+ exports.FromUnion3$inboundSchema = z.union([z.string(), z.array(z.string())]);
1903
+ /** @internal */
1904
+ exports.FromUnion3$outboundSchema = z.union([z.string(), z.array(z.string())]);
1905
+ function fromUnion3ToJSON(fromUnion3) {
1906
+ return JSON.stringify(exports.FromUnion3$outboundSchema.parse(fromUnion3));
1907
+ }
1908
+ function fromUnion3FromJSON(jsonString) {
1909
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FromUnion3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FromUnion3' from JSON`);
1910
+ }
1911
+ /** @internal */
1912
+ exports.ToUnion3$inboundSchema = z.union([z.string(), z.array(z.string())]);
1913
+ /** @internal */
1914
+ exports.ToUnion3$outboundSchema = z.union([z.string(), z.array(z.string())]);
1915
+ function toUnion3ToJSON(toUnion3) {
1916
+ return JSON.stringify(exports.ToUnion3$outboundSchema.parse(toUnion3));
1917
+ }
1918
+ function toUnion3FromJSON(jsonString) {
1919
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToUnion3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToUnion3' from JSON`);
1920
+ }
1921
+ /** @internal */
1922
+ exports.EnvelopeAuditLogFindData15$inboundSchema = z.object({
1923
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
1924
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
1925
+ });
1926
+ /** @internal */
1927
+ exports.EnvelopeAuditLogFindData15$outboundSchema = z.object({
1928
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
1929
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
1930
+ });
1931
+ function envelopeAuditLogFindData15ToJSON(envelopeAuditLogFindData15) {
1932
+ return JSON.stringify(exports.EnvelopeAuditLogFindData15$outboundSchema.parse(envelopeAuditLogFindData15));
1933
+ }
1934
+ function envelopeAuditLogFindData15FromJSON(jsonString) {
1935
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData15$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData15' from JSON`);
1936
+ }
1937
+ /** @internal */
1938
+ exports.DataDocumentGlobalAuthActionUpdated$inboundSchema = z.object({
1939
+ type: z.literal("DOCUMENT_GLOBAL_AUTH_ACTION_UPDATED"),
1940
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData15$inboundSchema),
1941
+ id: z.string(),
1942
+ createdAt: z.string(),
1943
+ envelopeId: z.string(),
1944
+ name: z.nullable(z.string()).optional(),
1945
+ email: z.nullable(z.string()).optional(),
1946
+ userId: z.nullable(z.number()).optional(),
1947
+ userAgent: z.nullable(z.string()).optional(),
1948
+ ipAddress: z.nullable(z.string()).optional(),
1949
+ });
1950
+ /** @internal */
1951
+ exports.DataDocumentGlobalAuthActionUpdated$outboundSchema = z.object({
1952
+ type: z.literal("DOCUMENT_GLOBAL_AUTH_ACTION_UPDATED"),
1953
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData15$outboundSchema),
1954
+ id: z.string(),
1955
+ createdAt: z.string(),
1956
+ envelopeId: z.string(),
1957
+ name: z.nullable(z.string()).optional(),
1958
+ email: z.nullable(z.string()).optional(),
1959
+ userId: z.nullable(z.number()).optional(),
1960
+ userAgent: z.nullable(z.string()).optional(),
1961
+ ipAddress: z.nullable(z.string()).optional(),
1962
+ });
1963
+ function dataDocumentGlobalAuthActionUpdatedToJSON(dataDocumentGlobalAuthActionUpdated) {
1964
+ return JSON.stringify(exports.DataDocumentGlobalAuthActionUpdated$outboundSchema.parse(dataDocumentGlobalAuthActionUpdated));
1965
+ }
1966
+ function dataDocumentGlobalAuthActionUpdatedFromJSON(jsonString) {
1967
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentGlobalAuthActionUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentGlobalAuthActionUpdated' from JSON`);
1968
+ }
1969
+ /** @internal */
1970
+ exports.FromUnion2$inboundSchema = z.union([z.string(), z.array(z.string())]);
1971
+ /** @internal */
1972
+ exports.FromUnion2$outboundSchema = z.union([z.string(), z.array(z.string())]);
1973
+ function fromUnion2ToJSON(fromUnion2) {
1974
+ return JSON.stringify(exports.FromUnion2$outboundSchema.parse(fromUnion2));
1975
+ }
1976
+ function fromUnion2FromJSON(jsonString) {
1977
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FromUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FromUnion2' from JSON`);
1978
+ }
1979
+ /** @internal */
1980
+ exports.ToUnion2$inboundSchema = z.union([z.string(), z.array(z.string())]);
1981
+ /** @internal */
1982
+ exports.ToUnion2$outboundSchema = z.union([z.string(), z.array(z.string())]);
1983
+ function toUnion2ToJSON(toUnion2) {
1984
+ return JSON.stringify(exports.ToUnion2$outboundSchema.parse(toUnion2));
1985
+ }
1986
+ function toUnion2FromJSON(jsonString) {
1987
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToUnion2' from JSON`);
1988
+ }
1989
+ /** @internal */
1990
+ exports.EnvelopeAuditLogFindData14$inboundSchema = z.object({
1991
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
1992
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
1993
+ });
1994
+ /** @internal */
1995
+ exports.EnvelopeAuditLogFindData14$outboundSchema = z.object({
1996
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
1997
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
1998
+ });
1999
+ function envelopeAuditLogFindData14ToJSON(envelopeAuditLogFindData14) {
2000
+ return JSON.stringify(exports.EnvelopeAuditLogFindData14$outboundSchema.parse(envelopeAuditLogFindData14));
2001
+ }
2002
+ function envelopeAuditLogFindData14FromJSON(jsonString) {
2003
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData14$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData14' from JSON`);
2004
+ }
2005
+ /** @internal */
2006
+ exports.DataDocumentGlobalAuthAccessUpdated$inboundSchema = z.object({
2007
+ type: z.literal("DOCUMENT_GLOBAL_AUTH_ACCESS_UPDATED"),
2008
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData14$inboundSchema),
2009
+ id: z.string(),
2010
+ createdAt: z.string(),
2011
+ envelopeId: z.string(),
2012
+ name: z.nullable(z.string()).optional(),
2013
+ email: z.nullable(z.string()).optional(),
2014
+ userId: z.nullable(z.number()).optional(),
2015
+ userAgent: z.nullable(z.string()).optional(),
2016
+ ipAddress: z.nullable(z.string()).optional(),
2017
+ });
2018
+ /** @internal */
2019
+ exports.DataDocumentGlobalAuthAccessUpdated$outboundSchema = z.object({
2020
+ type: z.literal("DOCUMENT_GLOBAL_AUTH_ACCESS_UPDATED"),
2021
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData14$outboundSchema),
2022
+ id: z.string(),
2023
+ createdAt: z.string(),
2024
+ envelopeId: z.string(),
2025
+ name: z.nullable(z.string()).optional(),
2026
+ email: z.nullable(z.string()).optional(),
2027
+ userId: z.nullable(z.number()).optional(),
2028
+ userAgent: z.nullable(z.string()).optional(),
2029
+ ipAddress: z.nullable(z.string()).optional(),
2030
+ });
2031
+ function dataDocumentGlobalAuthAccessUpdatedToJSON(dataDocumentGlobalAuthAccessUpdated) {
2032
+ return JSON.stringify(exports.DataDocumentGlobalAuthAccessUpdated$outboundSchema.parse(dataDocumentGlobalAuthAccessUpdated));
2033
+ }
2034
+ function dataDocumentGlobalAuthAccessUpdatedFromJSON(jsonString) {
2035
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentGlobalAuthAccessUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentGlobalAuthAccessUpdated' from JSON`);
2036
+ }
2037
+ /** @internal */
2038
+ exports.FromUnion1$inboundSchema = z.union([z.string(), z.array(z.string())]);
2039
+ /** @internal */
2040
+ exports.FromUnion1$outboundSchema = z.union([z.string(), z.array(z.string())]);
2041
+ function fromUnion1ToJSON(fromUnion1) {
2042
+ return JSON.stringify(exports.FromUnion1$outboundSchema.parse(fromUnion1));
2043
+ }
2044
+ function fromUnion1FromJSON(jsonString) {
2045
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FromUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FromUnion1' from JSON`);
2046
+ }
2047
+ /** @internal */
2048
+ exports.ToUnion1$inboundSchema = z.union([z.string(), z.array(z.string())]);
2049
+ /** @internal */
2050
+ exports.ToUnion1$outboundSchema = z.union([z.string(), z.array(z.string())]);
2051
+ function toUnion1ToJSON(toUnion1) {
2052
+ return JSON.stringify(exports.ToUnion1$outboundSchema.parse(toUnion1));
2053
+ }
2054
+ function toUnion1FromJSON(jsonString) {
2055
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.ToUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'ToUnion1' from JSON`);
2056
+ }
2057
+ /** @internal */
2058
+ exports.EnvelopeAuditLogFindData13$inboundSchema = z.object({
2059
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
2060
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
2061
+ });
2062
+ /** @internal */
2063
+ exports.EnvelopeAuditLogFindData13$outboundSchema = z.object({
2064
+ from: z.nullable(z.union([z.string(), z.array(z.string())])),
2065
+ to: z.nullable(z.union([z.string(), z.array(z.string())])),
2066
+ });
2067
+ function envelopeAuditLogFindData13ToJSON(envelopeAuditLogFindData13) {
2068
+ return JSON.stringify(exports.EnvelopeAuditLogFindData13$outboundSchema.parse(envelopeAuditLogFindData13));
2069
+ }
2070
+ function envelopeAuditLogFindData13FromJSON(jsonString) {
2071
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData13$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData13' from JSON`);
2072
+ }
2073
+ /** @internal */
2074
+ exports.DataDocumentVisibilityUpdated$inboundSchema = z.object({
2075
+ type: z.literal("DOCUMENT_VISIBILITY_UPDATED"),
2076
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData13$inboundSchema),
2077
+ id: z.string(),
2078
+ createdAt: z.string(),
2079
+ envelopeId: z.string(),
2080
+ name: z.nullable(z.string()).optional(),
2081
+ email: z.nullable(z.string()).optional(),
2082
+ userId: z.nullable(z.number()).optional(),
2083
+ userAgent: z.nullable(z.string()).optional(),
2084
+ ipAddress: z.nullable(z.string()).optional(),
2085
+ });
2086
+ /** @internal */
2087
+ exports.DataDocumentVisibilityUpdated$outboundSchema = z.object({
2088
+ type: z.literal("DOCUMENT_VISIBILITY_UPDATED"),
2089
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData13$outboundSchema),
2090
+ id: z.string(),
2091
+ createdAt: z.string(),
2092
+ envelopeId: z.string(),
2093
+ name: z.nullable(z.string()).optional(),
2094
+ email: z.nullable(z.string()).optional(),
2095
+ userId: z.nullable(z.number()).optional(),
2096
+ userAgent: z.nullable(z.string()).optional(),
2097
+ ipAddress: z.nullable(z.string()).optional(),
2098
+ });
2099
+ function dataDocumentVisibilityUpdatedToJSON(dataDocumentVisibilityUpdated) {
2100
+ return JSON.stringify(exports.DataDocumentVisibilityUpdated$outboundSchema.parse(dataDocumentVisibilityUpdated));
2101
+ }
2102
+ function dataDocumentVisibilityUpdatedFromJSON(jsonString) {
2103
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentVisibilityUpdated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentVisibilityUpdated' from JSON`);
2104
+ }
2105
+ /** @internal */
2106
+ exports.EnvelopeAuditLogFindTypeNumber2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeNumber2);
2107
+ /** @internal */
2108
+ exports.EnvelopeAuditLogFindTypeNumber2$outboundSchema = exports.EnvelopeAuditLogFindTypeNumber2$inboundSchema;
2109
+ /** @internal */
2110
+ exports.EnvelopeAuditLogFindFieldNumber2$inboundSchema = z.object({
2111
+ type: exports.EnvelopeAuditLogFindTypeNumber2$inboundSchema,
2112
+ data: z.string(),
2113
+ });
2114
+ /** @internal */
2115
+ exports.EnvelopeAuditLogFindFieldNumber2$outboundSchema = z.object({
2116
+ type: exports.EnvelopeAuditLogFindTypeNumber2$outboundSchema,
2117
+ data: z.string(),
2118
+ });
2119
+ function envelopeAuditLogFindFieldNumber2ToJSON(envelopeAuditLogFindFieldNumber2) {
2120
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldNumber2$outboundSchema.parse(envelopeAuditLogFindFieldNumber2));
2121
+ }
2122
+ function envelopeAuditLogFindFieldNumber2FromJSON(jsonString) {
2123
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldNumber2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldNumber2' from JSON`);
2124
+ }
2125
+ /** @internal */
2126
+ exports.EnvelopeAuditLogFindTypeDropdown2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeDropdown2);
2127
+ /** @internal */
2128
+ exports.EnvelopeAuditLogFindTypeDropdown2$outboundSchema = exports.EnvelopeAuditLogFindTypeDropdown2$inboundSchema;
2129
+ /** @internal */
2130
+ exports.EnvelopeAuditLogFindFieldDropdown2$inboundSchema = z.object({
2131
+ type: exports.EnvelopeAuditLogFindTypeDropdown2$inboundSchema,
2132
+ data: z.string(),
2133
+ });
2134
+ /** @internal */
2135
+ exports.EnvelopeAuditLogFindFieldDropdown2$outboundSchema = z.object({
2136
+ type: exports.EnvelopeAuditLogFindTypeDropdown2$outboundSchema,
2137
+ data: z.string(),
2138
+ });
2139
+ function envelopeAuditLogFindFieldDropdown2ToJSON(envelopeAuditLogFindFieldDropdown2) {
2140
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldDropdown2$outboundSchema.parse(envelopeAuditLogFindFieldDropdown2));
2141
+ }
2142
+ function envelopeAuditLogFindFieldDropdown2FromJSON(jsonString) {
2143
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldDropdown2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldDropdown2' from JSON`);
2144
+ }
2145
+ /** @internal */
2146
+ exports.EnvelopeAuditLogFindTypeCheckbox2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeCheckbox2);
2147
+ /** @internal */
2148
+ exports.EnvelopeAuditLogFindTypeCheckbox2$outboundSchema = exports.EnvelopeAuditLogFindTypeCheckbox2$inboundSchema;
2149
+ /** @internal */
2150
+ exports.EnvelopeAuditLogFindFieldCheckbox2$inboundSchema = z.object({
2151
+ type: exports.EnvelopeAuditLogFindTypeCheckbox2$inboundSchema,
2152
+ data: z.string(),
2153
+ });
2154
+ /** @internal */
2155
+ exports.EnvelopeAuditLogFindFieldCheckbox2$outboundSchema = z.object({
2156
+ type: exports.EnvelopeAuditLogFindTypeCheckbox2$outboundSchema,
2157
+ data: z.string(),
2158
+ });
2159
+ function envelopeAuditLogFindFieldCheckbox2ToJSON(envelopeAuditLogFindFieldCheckbox2) {
2160
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldCheckbox2$outboundSchema.parse(envelopeAuditLogFindFieldCheckbox2));
2161
+ }
2162
+ function envelopeAuditLogFindFieldCheckbox2FromJSON(jsonString) {
2163
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldCheckbox2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldCheckbox2' from JSON`);
2164
+ }
2165
+ /** @internal */
2166
+ exports.EnvelopeAuditLogFindTypeRadio2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeRadio2);
2167
+ /** @internal */
2168
+ exports.EnvelopeAuditLogFindTypeRadio2$outboundSchema = exports.EnvelopeAuditLogFindTypeRadio2$inboundSchema;
2169
+ /** @internal */
2170
+ exports.EnvelopeAuditLogFindFieldRadio2$inboundSchema = z.object({
2171
+ type: exports.EnvelopeAuditLogFindTypeRadio2$inboundSchema,
2172
+ data: z.string(),
2173
+ });
2174
+ /** @internal */
2175
+ exports.EnvelopeAuditLogFindFieldRadio2$outboundSchema = z.object({
2176
+ type: exports.EnvelopeAuditLogFindTypeRadio2$outboundSchema,
2177
+ data: z.string(),
2178
+ });
2179
+ function envelopeAuditLogFindFieldRadio2ToJSON(envelopeAuditLogFindFieldRadio2) {
2180
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldRadio2$outboundSchema.parse(envelopeAuditLogFindFieldRadio2));
2181
+ }
2182
+ function envelopeAuditLogFindFieldRadio2FromJSON(jsonString) {
2183
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldRadio2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldRadio2' from JSON`);
2184
+ }
2185
+ /** @internal */
2186
+ exports.EnvelopeAuditLogFindTypeFreeSignature2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeFreeSignature2);
2187
+ /** @internal */
2188
+ exports.EnvelopeAuditLogFindTypeFreeSignature2$outboundSchema = exports.EnvelopeAuditLogFindTypeFreeSignature2$inboundSchema;
2189
+ /** @internal */
2190
+ exports.EnvelopeAuditLogFindTypeSignature2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeSignature2);
2191
+ /** @internal */
2192
+ exports.EnvelopeAuditLogFindTypeSignature2$outboundSchema = exports.EnvelopeAuditLogFindTypeSignature2$inboundSchema;
2193
+ /** @internal */
2194
+ exports.FieldTypeUnion2$inboundSchema = z.union([
2195
+ exports.EnvelopeAuditLogFindTypeSignature2$inboundSchema,
2196
+ exports.EnvelopeAuditLogFindTypeFreeSignature2$inboundSchema,
2197
+ ]);
2198
+ /** @internal */
2199
+ exports.FieldTypeUnion2$outboundSchema = z.union([
2200
+ exports.EnvelopeAuditLogFindTypeSignature2$outboundSchema,
2201
+ exports.EnvelopeAuditLogFindTypeFreeSignature2$outboundSchema,
2202
+ ]);
2203
+ function fieldTypeUnion2ToJSON(fieldTypeUnion2) {
2204
+ return JSON.stringify(exports.FieldTypeUnion2$outboundSchema.parse(fieldTypeUnion2));
2205
+ }
2206
+ function fieldTypeUnion2FromJSON(jsonString) {
2207
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FieldTypeUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FieldTypeUnion2' from JSON`);
2208
+ }
2209
+ /** @internal */
2210
+ exports.EnvelopeAuditLogFindField3$inboundSchema = z.object({
2211
+ type: z.union([
2212
+ exports.EnvelopeAuditLogFindTypeSignature2$inboundSchema,
2213
+ exports.EnvelopeAuditLogFindTypeFreeSignature2$inboundSchema,
2214
+ ]),
2215
+ data: z.string(),
2216
+ });
2217
+ /** @internal */
2218
+ exports.EnvelopeAuditLogFindField3$outboundSchema = z.object({
2219
+ type: z.union([
2220
+ exports.EnvelopeAuditLogFindTypeSignature2$outboundSchema,
2221
+ exports.EnvelopeAuditLogFindTypeFreeSignature2$outboundSchema,
2222
+ ]),
2223
+ data: z.string(),
2224
+ });
2225
+ function envelopeAuditLogFindField3ToJSON(envelopeAuditLogFindField3) {
2226
+ return JSON.stringify(exports.EnvelopeAuditLogFindField3$outboundSchema.parse(envelopeAuditLogFindField3));
2227
+ }
2228
+ function envelopeAuditLogFindField3FromJSON(jsonString) {
2229
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindField3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindField3' from JSON`);
2230
+ }
2231
+ /** @internal */
2232
+ exports.EnvelopeAuditLogFindTypeText2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeText2);
2233
+ /** @internal */
2234
+ exports.EnvelopeAuditLogFindTypeText2$outboundSchema = exports.EnvelopeAuditLogFindTypeText2$inboundSchema;
2235
+ /** @internal */
2236
+ exports.EnvelopeAuditLogFindFieldText2$inboundSchema = z.object({
2237
+ type: exports.EnvelopeAuditLogFindTypeText2$inboundSchema,
2238
+ data: z.string(),
2239
+ });
2240
+ /** @internal */
2241
+ exports.EnvelopeAuditLogFindFieldText2$outboundSchema = z.object({
2242
+ type: exports.EnvelopeAuditLogFindTypeText2$outboundSchema,
2243
+ data: z.string(),
2244
+ });
2245
+ function envelopeAuditLogFindFieldText2ToJSON(envelopeAuditLogFindFieldText2) {
2246
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldText2$outboundSchema.parse(envelopeAuditLogFindFieldText2));
2247
+ }
2248
+ function envelopeAuditLogFindFieldText2FromJSON(jsonString) {
2249
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldText2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldText2' from JSON`);
2250
+ }
2251
+ /** @internal */
2252
+ exports.EnvelopeAuditLogFindTypeNameEnum2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeNameEnum2);
2253
+ /** @internal */
2254
+ exports.EnvelopeAuditLogFindTypeNameEnum2$outboundSchema = exports.EnvelopeAuditLogFindTypeNameEnum2$inboundSchema;
2255
+ /** @internal */
2256
+ exports.EnvelopeAuditLogFindFieldName2$inboundSchema = z.object({
2257
+ type: exports.EnvelopeAuditLogFindTypeNameEnum2$inboundSchema,
2258
+ data: z.string(),
2259
+ });
2260
+ /** @internal */
2261
+ exports.EnvelopeAuditLogFindFieldName2$outboundSchema = z.object({
2262
+ type: exports.EnvelopeAuditLogFindTypeNameEnum2$outboundSchema,
2263
+ data: z.string(),
2264
+ });
2265
+ function envelopeAuditLogFindFieldName2ToJSON(envelopeAuditLogFindFieldName2) {
2266
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldName2$outboundSchema.parse(envelopeAuditLogFindFieldName2));
2267
+ }
2268
+ function envelopeAuditLogFindFieldName2FromJSON(jsonString) {
2269
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldName2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldName2' from JSON`);
2270
+ }
2271
+ /** @internal */
2272
+ exports.EnvelopeAuditLogFindTypeDate2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeDate2);
2273
+ /** @internal */
2274
+ exports.EnvelopeAuditLogFindTypeDate2$outboundSchema = exports.EnvelopeAuditLogFindTypeDate2$inboundSchema;
2275
+ /** @internal */
2276
+ exports.EnvelopeAuditLogFindFieldDate2$inboundSchema = z.object({
2277
+ type: exports.EnvelopeAuditLogFindTypeDate2$inboundSchema,
2278
+ data: z.string(),
2279
+ });
2280
+ /** @internal */
2281
+ exports.EnvelopeAuditLogFindFieldDate2$outboundSchema = z.object({
2282
+ type: exports.EnvelopeAuditLogFindTypeDate2$outboundSchema,
2283
+ data: z.string(),
2284
+ });
2285
+ function envelopeAuditLogFindFieldDate2ToJSON(envelopeAuditLogFindFieldDate2) {
2286
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldDate2$outboundSchema.parse(envelopeAuditLogFindFieldDate2));
2287
+ }
2288
+ function envelopeAuditLogFindFieldDate2FromJSON(jsonString) {
2289
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldDate2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldDate2' from JSON`);
2290
+ }
2291
+ /** @internal */
2292
+ exports.EnvelopeAuditLogFindTypeEmailEnum2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeEmailEnum2);
2293
+ /** @internal */
2294
+ exports.EnvelopeAuditLogFindTypeEmailEnum2$outboundSchema = exports.EnvelopeAuditLogFindTypeEmailEnum2$inboundSchema;
2295
+ /** @internal */
2296
+ exports.EnvelopeAuditLogFindFieldEmail2$inboundSchema = z.object({
2297
+ type: exports.EnvelopeAuditLogFindTypeEmailEnum2$inboundSchema,
2298
+ data: z.string(),
2299
+ });
2300
+ /** @internal */
2301
+ exports.EnvelopeAuditLogFindFieldEmail2$outboundSchema = z.object({
2302
+ type: exports.EnvelopeAuditLogFindTypeEmailEnum2$outboundSchema,
2303
+ data: z.string(),
2304
+ });
2305
+ function envelopeAuditLogFindFieldEmail2ToJSON(envelopeAuditLogFindFieldEmail2) {
2306
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldEmail2$outboundSchema.parse(envelopeAuditLogFindFieldEmail2));
2307
+ }
2308
+ function envelopeAuditLogFindFieldEmail2FromJSON(jsonString) {
2309
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldEmail2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldEmail2' from JSON`);
2310
+ }
2311
+ /** @internal */
2312
+ exports.EnvelopeAuditLogFindTypeInitials2$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeInitials2);
2313
+ /** @internal */
2314
+ exports.EnvelopeAuditLogFindTypeInitials2$outboundSchema = exports.EnvelopeAuditLogFindTypeInitials2$inboundSchema;
2315
+ /** @internal */
2316
+ exports.EnvelopeAuditLogFindFieldInitials2$inboundSchema = z.object({
2317
+ type: exports.EnvelopeAuditLogFindTypeInitials2$inboundSchema,
2318
+ data: z.string(),
2319
+ });
2320
+ /** @internal */
2321
+ exports.EnvelopeAuditLogFindFieldInitials2$outboundSchema = z.object({
2322
+ type: exports.EnvelopeAuditLogFindTypeInitials2$outboundSchema,
2323
+ data: z.string(),
2324
+ });
2325
+ function envelopeAuditLogFindFieldInitials2ToJSON(envelopeAuditLogFindFieldInitials2) {
2326
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldInitials2$outboundSchema.parse(envelopeAuditLogFindFieldInitials2));
2327
+ }
2328
+ function envelopeAuditLogFindFieldInitials2FromJSON(jsonString) {
2329
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldInitials2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldInitials2' from JSON`);
2330
+ }
2331
+ /** @internal */
2332
+ exports.EnvelopeAuditLogFindFieldUnion2$inboundSchema = z.union([
2333
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials2$inboundSchema),
2334
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail2$inboundSchema),
2335
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate2$inboundSchema),
2336
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName2$inboundSchema),
2337
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText2$inboundSchema),
2338
+ z.lazy(() => exports.EnvelopeAuditLogFindField3$inboundSchema),
2339
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio2$inboundSchema),
2340
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox2$inboundSchema),
2341
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown2$inboundSchema),
2342
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber2$inboundSchema),
2343
+ ]);
2344
+ /** @internal */
2345
+ exports.EnvelopeAuditLogFindFieldUnion2$outboundSchema = z.union([
2346
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials2$outboundSchema),
2347
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail2$outboundSchema),
2348
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate2$outboundSchema),
2349
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName2$outboundSchema),
2350
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText2$outboundSchema),
2351
+ z.lazy(() => exports.EnvelopeAuditLogFindField3$outboundSchema),
2352
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio2$outboundSchema),
2353
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox2$outboundSchema),
2354
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown2$outboundSchema),
2355
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber2$outboundSchema),
2356
+ ]);
2357
+ function envelopeAuditLogFindFieldUnion2ToJSON(envelopeAuditLogFindFieldUnion2) {
2358
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldUnion2$outboundSchema.parse(envelopeAuditLogFindFieldUnion2));
2359
+ }
2360
+ function envelopeAuditLogFindFieldUnion2FromJSON(jsonString) {
2361
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldUnion2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldUnion2' from JSON`);
2362
+ }
2363
+ /** @internal */
2364
+ exports.FieldSecurityType2$inboundSchema = z.nativeEnum(exports.FieldSecurityType2);
2365
+ /** @internal */
2366
+ exports.FieldSecurityType2$outboundSchema = exports.FieldSecurityType2$inboundSchema;
2367
+ /** @internal */
2368
+ exports.FieldSecurity2$inboundSchema = z.object({
2369
+ type: exports.FieldSecurityType2$inboundSchema.optional(),
2370
+ });
2371
+ /** @internal */
2372
+ exports.FieldSecurity2$outboundSchema = z.object({
2373
+ type: exports.FieldSecurityType2$outboundSchema.optional(),
2374
+ });
2375
+ function fieldSecurity2ToJSON(fieldSecurity2) {
2376
+ return JSON.stringify(exports.FieldSecurity2$outboundSchema.parse(fieldSecurity2));
2377
+ }
2378
+ function fieldSecurity2FromJSON(jsonString) {
2379
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FieldSecurity2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FieldSecurity2' from JSON`);
2380
+ }
2381
+ /** @internal */
2382
+ exports.EnvelopeAuditLogFindData12$inboundSchema = z.object({
2383
+ recipientEmail: z.string(),
2384
+ recipientName: z.string(),
2385
+ recipientId: z.number(),
2386
+ recipientRole: z.string(),
2387
+ fieldId: z.string(),
2388
+ field: z.union([
2389
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials2$inboundSchema),
2390
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail2$inboundSchema),
2391
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate2$inboundSchema),
2392
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName2$inboundSchema),
2393
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText2$inboundSchema),
2394
+ z.lazy(() => exports.EnvelopeAuditLogFindField3$inboundSchema),
2395
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio2$inboundSchema),
2396
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox2$inboundSchema),
2397
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown2$inboundSchema),
2398
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber2$inboundSchema),
2399
+ ]),
2400
+ fieldSecurity: z.lazy(() => exports.FieldSecurity2$inboundSchema).optional(),
2401
+ });
2402
+ /** @internal */
2403
+ exports.EnvelopeAuditLogFindData12$outboundSchema = z.object({
2404
+ recipientEmail: z.string(),
2405
+ recipientName: z.string(),
2406
+ recipientId: z.number(),
2407
+ recipientRole: z.string(),
2408
+ fieldId: z.string(),
2409
+ field: z.union([
2410
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials2$outboundSchema),
2411
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail2$outboundSchema),
2412
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate2$outboundSchema),
2413
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName2$outboundSchema),
2414
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText2$outboundSchema),
2415
+ z.lazy(() => exports.EnvelopeAuditLogFindField3$outboundSchema),
2416
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio2$outboundSchema),
2417
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox2$outboundSchema),
2418
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown2$outboundSchema),
2419
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber2$outboundSchema),
2420
+ ]),
2421
+ fieldSecurity: z.lazy(() => exports.FieldSecurity2$outboundSchema).optional(),
2422
+ });
2423
+ function envelopeAuditLogFindData12ToJSON(envelopeAuditLogFindData12) {
2424
+ return JSON.stringify(exports.EnvelopeAuditLogFindData12$outboundSchema.parse(envelopeAuditLogFindData12));
2425
+ }
2426
+ function envelopeAuditLogFindData12FromJSON(jsonString) {
2427
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData12$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData12' from JSON`);
2428
+ }
2429
+ /** @internal */
2430
+ exports.DataDocumentFieldPrefilled$inboundSchema = z.object({
2431
+ type: z.literal("DOCUMENT_FIELD_PREFILLED"),
2432
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData12$inboundSchema),
2433
+ id: z.string(),
2434
+ createdAt: z.string(),
2435
+ envelopeId: z.string(),
2436
+ name: z.nullable(z.string()).optional(),
2437
+ email: z.nullable(z.string()).optional(),
2438
+ userId: z.nullable(z.number()).optional(),
2439
+ userAgent: z.nullable(z.string()).optional(),
2440
+ ipAddress: z.nullable(z.string()).optional(),
2441
+ });
2442
+ /** @internal */
2443
+ exports.DataDocumentFieldPrefilled$outboundSchema = z.object({
2444
+ type: z.literal("DOCUMENT_FIELD_PREFILLED"),
2445
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData12$outboundSchema),
2446
+ id: z.string(),
2447
+ createdAt: z.string(),
2448
+ envelopeId: z.string(),
2449
+ name: z.nullable(z.string()).optional(),
2450
+ email: z.nullable(z.string()).optional(),
2451
+ userId: z.nullable(z.number()).optional(),
2452
+ userAgent: z.nullable(z.string()).optional(),
2453
+ ipAddress: z.nullable(z.string()).optional(),
2454
+ });
2455
+ function dataDocumentFieldPrefilledToJSON(dataDocumentFieldPrefilled) {
2456
+ return JSON.stringify(exports.DataDocumentFieldPrefilled$outboundSchema.parse(dataDocumentFieldPrefilled));
2457
+ }
2458
+ function dataDocumentFieldPrefilledFromJSON(jsonString) {
2459
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentFieldPrefilled$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentFieldPrefilled' from JSON`);
2460
+ }
2461
+ /** @internal */
2462
+ exports.FieldEnum$inboundSchema = z
2463
+ .nativeEnum(exports.FieldEnum);
2464
+ /** @internal */
2465
+ exports.FieldEnum$outboundSchema = exports.FieldEnum$inboundSchema;
2466
+ /** @internal */
2467
+ exports.EnvelopeAuditLogFindData11$inboundSchema = z.object({
2468
+ field: exports.FieldEnum$inboundSchema,
2469
+ fieldId: z.string(),
2470
+ });
2471
+ /** @internal */
2472
+ exports.EnvelopeAuditLogFindData11$outboundSchema = z.object({
2473
+ field: exports.FieldEnum$outboundSchema,
2474
+ fieldId: z.string(),
2475
+ });
2476
+ function envelopeAuditLogFindData11ToJSON(envelopeAuditLogFindData11) {
2477
+ return JSON.stringify(exports.EnvelopeAuditLogFindData11$outboundSchema.parse(envelopeAuditLogFindData11));
2478
+ }
2479
+ function envelopeAuditLogFindData11FromJSON(jsonString) {
2480
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData11$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData11' from JSON`);
2481
+ }
2482
+ /** @internal */
2483
+ exports.DataDocumentFieldUninserted$inboundSchema = z.object({
2484
+ type: z.literal("DOCUMENT_FIELD_UNINSERTED"),
2485
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData11$inboundSchema),
2486
+ id: z.string(),
2487
+ createdAt: z.string(),
2488
+ envelopeId: z.string(),
2489
+ name: z.nullable(z.string()).optional(),
2490
+ email: z.nullable(z.string()).optional(),
2491
+ userId: z.nullable(z.number()).optional(),
2492
+ userAgent: z.nullable(z.string()).optional(),
2493
+ ipAddress: z.nullable(z.string()).optional(),
2494
+ });
2495
+ /** @internal */
2496
+ exports.DataDocumentFieldUninserted$outboundSchema = z.object({
2497
+ type: z.literal("DOCUMENT_FIELD_UNINSERTED"),
2498
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData11$outboundSchema),
2499
+ id: z.string(),
2500
+ createdAt: z.string(),
2501
+ envelopeId: z.string(),
2502
+ name: z.nullable(z.string()).optional(),
2503
+ email: z.nullable(z.string()).optional(),
2504
+ userId: z.nullable(z.number()).optional(),
2505
+ userAgent: z.nullable(z.string()).optional(),
2506
+ ipAddress: z.nullable(z.string()).optional(),
2507
+ });
2508
+ function dataDocumentFieldUninsertedToJSON(dataDocumentFieldUninserted) {
2509
+ return JSON.stringify(exports.DataDocumentFieldUninserted$outboundSchema.parse(dataDocumentFieldUninserted));
2510
+ }
2511
+ function dataDocumentFieldUninsertedFromJSON(jsonString) {
2512
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentFieldUninserted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentFieldUninserted' from JSON`);
2513
+ }
2514
+ /** @internal */
2515
+ exports.EnvelopeAuditLogFindTypeNumber1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeNumber1);
2516
+ /** @internal */
2517
+ exports.EnvelopeAuditLogFindTypeNumber1$outboundSchema = exports.EnvelopeAuditLogFindTypeNumber1$inboundSchema;
2518
+ /** @internal */
2519
+ exports.EnvelopeAuditLogFindFieldNumber1$inboundSchema = z.object({
2520
+ type: exports.EnvelopeAuditLogFindTypeNumber1$inboundSchema,
2521
+ data: z.string(),
2522
+ });
2523
+ /** @internal */
2524
+ exports.EnvelopeAuditLogFindFieldNumber1$outboundSchema = z.object({
2525
+ type: exports.EnvelopeAuditLogFindTypeNumber1$outboundSchema,
2526
+ data: z.string(),
2527
+ });
2528
+ function envelopeAuditLogFindFieldNumber1ToJSON(envelopeAuditLogFindFieldNumber1) {
2529
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldNumber1$outboundSchema.parse(envelopeAuditLogFindFieldNumber1));
2530
+ }
2531
+ function envelopeAuditLogFindFieldNumber1FromJSON(jsonString) {
2532
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldNumber1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldNumber1' from JSON`);
2533
+ }
2534
+ /** @internal */
2535
+ exports.EnvelopeAuditLogFindTypeDropdown1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeDropdown1);
2536
+ /** @internal */
2537
+ exports.EnvelopeAuditLogFindTypeDropdown1$outboundSchema = exports.EnvelopeAuditLogFindTypeDropdown1$inboundSchema;
2538
+ /** @internal */
2539
+ exports.EnvelopeAuditLogFindFieldDropdown1$inboundSchema = z.object({
2540
+ type: exports.EnvelopeAuditLogFindTypeDropdown1$inboundSchema,
2541
+ data: z.string(),
2542
+ });
2543
+ /** @internal */
2544
+ exports.EnvelopeAuditLogFindFieldDropdown1$outboundSchema = z.object({
2545
+ type: exports.EnvelopeAuditLogFindTypeDropdown1$outboundSchema,
2546
+ data: z.string(),
2547
+ });
2548
+ function envelopeAuditLogFindFieldDropdown1ToJSON(envelopeAuditLogFindFieldDropdown1) {
2549
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldDropdown1$outboundSchema.parse(envelopeAuditLogFindFieldDropdown1));
2550
+ }
2551
+ function envelopeAuditLogFindFieldDropdown1FromJSON(jsonString) {
2552
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldDropdown1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldDropdown1' from JSON`);
2553
+ }
2554
+ /** @internal */
2555
+ exports.EnvelopeAuditLogFindTypeCheckbox1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeCheckbox1);
2556
+ /** @internal */
2557
+ exports.EnvelopeAuditLogFindTypeCheckbox1$outboundSchema = exports.EnvelopeAuditLogFindTypeCheckbox1$inboundSchema;
2558
+ /** @internal */
2559
+ exports.EnvelopeAuditLogFindFieldCheckbox1$inboundSchema = z.object({
2560
+ type: exports.EnvelopeAuditLogFindTypeCheckbox1$inboundSchema,
2561
+ data: z.string(),
2562
+ });
2563
+ /** @internal */
2564
+ exports.EnvelopeAuditLogFindFieldCheckbox1$outboundSchema = z.object({
2565
+ type: exports.EnvelopeAuditLogFindTypeCheckbox1$outboundSchema,
2566
+ data: z.string(),
2567
+ });
2568
+ function envelopeAuditLogFindFieldCheckbox1ToJSON(envelopeAuditLogFindFieldCheckbox1) {
2569
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldCheckbox1$outboundSchema.parse(envelopeAuditLogFindFieldCheckbox1));
2570
+ }
2571
+ function envelopeAuditLogFindFieldCheckbox1FromJSON(jsonString) {
2572
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldCheckbox1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldCheckbox1' from JSON`);
2573
+ }
2574
+ /** @internal */
2575
+ exports.EnvelopeAuditLogFindTypeRadio1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeRadio1);
2576
+ /** @internal */
2577
+ exports.EnvelopeAuditLogFindTypeRadio1$outboundSchema = exports.EnvelopeAuditLogFindTypeRadio1$inboundSchema;
2578
+ /** @internal */
2579
+ exports.EnvelopeAuditLogFindFieldRadio1$inboundSchema = z.object({
2580
+ type: exports.EnvelopeAuditLogFindTypeRadio1$inboundSchema,
2581
+ data: z.string(),
2582
+ });
2583
+ /** @internal */
2584
+ exports.EnvelopeAuditLogFindFieldRadio1$outboundSchema = z.object({
2585
+ type: exports.EnvelopeAuditLogFindTypeRadio1$outboundSchema,
2586
+ data: z.string(),
2587
+ });
2588
+ function envelopeAuditLogFindFieldRadio1ToJSON(envelopeAuditLogFindFieldRadio1) {
2589
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldRadio1$outboundSchema.parse(envelopeAuditLogFindFieldRadio1));
2590
+ }
2591
+ function envelopeAuditLogFindFieldRadio1FromJSON(jsonString) {
2592
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldRadio1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldRadio1' from JSON`);
2593
+ }
2594
+ /** @internal */
2595
+ exports.EnvelopeAuditLogFindTypeFreeSignature1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeFreeSignature1);
2596
+ /** @internal */
2597
+ exports.EnvelopeAuditLogFindTypeFreeSignature1$outboundSchema = exports.EnvelopeAuditLogFindTypeFreeSignature1$inboundSchema;
2598
+ /** @internal */
2599
+ exports.EnvelopeAuditLogFindTypeSignature1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeSignature1);
2600
+ /** @internal */
2601
+ exports.EnvelopeAuditLogFindTypeSignature1$outboundSchema = exports.EnvelopeAuditLogFindTypeSignature1$inboundSchema;
2602
+ /** @internal */
2603
+ exports.FieldTypeUnion1$inboundSchema = z.union([
2604
+ exports.EnvelopeAuditLogFindTypeSignature1$inboundSchema,
2605
+ exports.EnvelopeAuditLogFindTypeFreeSignature1$inboundSchema,
2606
+ ]);
2607
+ /** @internal */
2608
+ exports.FieldTypeUnion1$outboundSchema = z.union([
2609
+ exports.EnvelopeAuditLogFindTypeSignature1$outboundSchema,
2610
+ exports.EnvelopeAuditLogFindTypeFreeSignature1$outboundSchema,
2611
+ ]);
2612
+ function fieldTypeUnion1ToJSON(fieldTypeUnion1) {
2613
+ return JSON.stringify(exports.FieldTypeUnion1$outboundSchema.parse(fieldTypeUnion1));
2614
+ }
2615
+ function fieldTypeUnion1FromJSON(jsonString) {
2616
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FieldTypeUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FieldTypeUnion1' from JSON`);
2617
+ }
2618
+ /** @internal */
2619
+ exports.EnvelopeAuditLogFindField2$inboundSchema = z.object({
2620
+ type: z.union([
2621
+ exports.EnvelopeAuditLogFindTypeSignature1$inboundSchema,
2622
+ exports.EnvelopeAuditLogFindTypeFreeSignature1$inboundSchema,
2623
+ ]),
2624
+ data: z.string(),
2625
+ });
2626
+ /** @internal */
2627
+ exports.EnvelopeAuditLogFindField2$outboundSchema = z.object({
2628
+ type: z.union([
2629
+ exports.EnvelopeAuditLogFindTypeSignature1$outboundSchema,
2630
+ exports.EnvelopeAuditLogFindTypeFreeSignature1$outboundSchema,
2631
+ ]),
2632
+ data: z.string(),
2633
+ });
2634
+ function envelopeAuditLogFindField2ToJSON(envelopeAuditLogFindField2) {
2635
+ return JSON.stringify(exports.EnvelopeAuditLogFindField2$outboundSchema.parse(envelopeAuditLogFindField2));
2636
+ }
2637
+ function envelopeAuditLogFindField2FromJSON(jsonString) {
2638
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindField2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindField2' from JSON`);
2639
+ }
2640
+ /** @internal */
2641
+ exports.EnvelopeAuditLogFindTypeText1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeText1);
2642
+ /** @internal */
2643
+ exports.EnvelopeAuditLogFindTypeText1$outboundSchema = exports.EnvelopeAuditLogFindTypeText1$inboundSchema;
2644
+ /** @internal */
2645
+ exports.EnvelopeAuditLogFindFieldText1$inboundSchema = z.object({
2646
+ type: exports.EnvelopeAuditLogFindTypeText1$inboundSchema,
2647
+ data: z.string(),
2648
+ });
2649
+ /** @internal */
2650
+ exports.EnvelopeAuditLogFindFieldText1$outboundSchema = z.object({
2651
+ type: exports.EnvelopeAuditLogFindTypeText1$outboundSchema,
2652
+ data: z.string(),
2653
+ });
2654
+ function envelopeAuditLogFindFieldText1ToJSON(envelopeAuditLogFindFieldText1) {
2655
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldText1$outboundSchema.parse(envelopeAuditLogFindFieldText1));
2656
+ }
2657
+ function envelopeAuditLogFindFieldText1FromJSON(jsonString) {
2658
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldText1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldText1' from JSON`);
2659
+ }
2660
+ /** @internal */
2661
+ exports.EnvelopeAuditLogFindTypeNameEnum1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeNameEnum1);
2662
+ /** @internal */
2663
+ exports.EnvelopeAuditLogFindTypeNameEnum1$outboundSchema = exports.EnvelopeAuditLogFindTypeNameEnum1$inboundSchema;
2664
+ /** @internal */
2665
+ exports.EnvelopeAuditLogFindFieldName1$inboundSchema = z.object({
2666
+ type: exports.EnvelopeAuditLogFindTypeNameEnum1$inboundSchema,
2667
+ data: z.string(),
2668
+ });
2669
+ /** @internal */
2670
+ exports.EnvelopeAuditLogFindFieldName1$outboundSchema = z.object({
2671
+ type: exports.EnvelopeAuditLogFindTypeNameEnum1$outboundSchema,
2672
+ data: z.string(),
2673
+ });
2674
+ function envelopeAuditLogFindFieldName1ToJSON(envelopeAuditLogFindFieldName1) {
2675
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldName1$outboundSchema.parse(envelopeAuditLogFindFieldName1));
2676
+ }
2677
+ function envelopeAuditLogFindFieldName1FromJSON(jsonString) {
2678
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldName1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldName1' from JSON`);
2679
+ }
2680
+ /** @internal */
2681
+ exports.EnvelopeAuditLogFindTypeDate1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeDate1);
2682
+ /** @internal */
2683
+ exports.EnvelopeAuditLogFindTypeDate1$outboundSchema = exports.EnvelopeAuditLogFindTypeDate1$inboundSchema;
2684
+ /** @internal */
2685
+ exports.EnvelopeAuditLogFindFieldDate1$inboundSchema = z.object({
2686
+ type: exports.EnvelopeAuditLogFindTypeDate1$inboundSchema,
2687
+ data: z.string(),
2688
+ });
2689
+ /** @internal */
2690
+ exports.EnvelopeAuditLogFindFieldDate1$outboundSchema = z.object({
2691
+ type: exports.EnvelopeAuditLogFindTypeDate1$outboundSchema,
2692
+ data: z.string(),
2693
+ });
2694
+ function envelopeAuditLogFindFieldDate1ToJSON(envelopeAuditLogFindFieldDate1) {
2695
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldDate1$outboundSchema.parse(envelopeAuditLogFindFieldDate1));
2696
+ }
2697
+ function envelopeAuditLogFindFieldDate1FromJSON(jsonString) {
2698
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldDate1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldDate1' from JSON`);
2699
+ }
2700
+ /** @internal */
2701
+ exports.EnvelopeAuditLogFindTypeEmailEnum1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeEmailEnum1);
2702
+ /** @internal */
2703
+ exports.EnvelopeAuditLogFindTypeEmailEnum1$outboundSchema = exports.EnvelopeAuditLogFindTypeEmailEnum1$inboundSchema;
2704
+ /** @internal */
2705
+ exports.EnvelopeAuditLogFindFieldEmail1$inboundSchema = z.object({
2706
+ type: exports.EnvelopeAuditLogFindTypeEmailEnum1$inboundSchema,
2707
+ data: z.string(),
2708
+ });
2709
+ /** @internal */
2710
+ exports.EnvelopeAuditLogFindFieldEmail1$outboundSchema = z.object({
2711
+ type: exports.EnvelopeAuditLogFindTypeEmailEnum1$outboundSchema,
2712
+ data: z.string(),
2713
+ });
2714
+ function envelopeAuditLogFindFieldEmail1ToJSON(envelopeAuditLogFindFieldEmail1) {
2715
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldEmail1$outboundSchema.parse(envelopeAuditLogFindFieldEmail1));
2716
+ }
2717
+ function envelopeAuditLogFindFieldEmail1FromJSON(jsonString) {
2718
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldEmail1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldEmail1' from JSON`);
2719
+ }
2720
+ /** @internal */
2721
+ exports.EnvelopeAuditLogFindTypeInitials1$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeInitials1);
2722
+ /** @internal */
2723
+ exports.EnvelopeAuditLogFindTypeInitials1$outboundSchema = exports.EnvelopeAuditLogFindTypeInitials1$inboundSchema;
2724
+ /** @internal */
2725
+ exports.EnvelopeAuditLogFindFieldInitials1$inboundSchema = z.object({
2726
+ type: exports.EnvelopeAuditLogFindTypeInitials1$inboundSchema,
2727
+ data: z.string(),
2728
+ });
2729
+ /** @internal */
2730
+ exports.EnvelopeAuditLogFindFieldInitials1$outboundSchema = z.object({
2731
+ type: exports.EnvelopeAuditLogFindTypeInitials1$outboundSchema,
2732
+ data: z.string(),
2733
+ });
2734
+ function envelopeAuditLogFindFieldInitials1ToJSON(envelopeAuditLogFindFieldInitials1) {
2735
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldInitials1$outboundSchema.parse(envelopeAuditLogFindFieldInitials1));
2736
+ }
2737
+ function envelopeAuditLogFindFieldInitials1FromJSON(jsonString) {
2738
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldInitials1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldInitials1' from JSON`);
2739
+ }
2740
+ /** @internal */
2741
+ exports.EnvelopeAuditLogFindFieldUnion1$inboundSchema = z.union([
2742
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials1$inboundSchema),
2743
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail1$inboundSchema),
2744
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate1$inboundSchema),
2745
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName1$inboundSchema),
2746
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText1$inboundSchema),
2747
+ z.lazy(() => exports.EnvelopeAuditLogFindField2$inboundSchema),
2748
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio1$inboundSchema),
2749
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox1$inboundSchema),
2750
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown1$inboundSchema),
2751
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber1$inboundSchema),
2752
+ ]);
2753
+ /** @internal */
2754
+ exports.EnvelopeAuditLogFindFieldUnion1$outboundSchema = z.union([
2755
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials1$outboundSchema),
2756
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail1$outboundSchema),
2757
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate1$outboundSchema),
2758
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName1$outboundSchema),
2759
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText1$outboundSchema),
2760
+ z.lazy(() => exports.EnvelopeAuditLogFindField2$outboundSchema),
2761
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio1$outboundSchema),
2762
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox1$outboundSchema),
2763
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown1$outboundSchema),
2764
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber1$outboundSchema),
2765
+ ]);
2766
+ function envelopeAuditLogFindFieldUnion1ToJSON(envelopeAuditLogFindFieldUnion1) {
2767
+ return JSON.stringify(exports.EnvelopeAuditLogFindFieldUnion1$outboundSchema.parse(envelopeAuditLogFindFieldUnion1));
2768
+ }
2769
+ function envelopeAuditLogFindFieldUnion1FromJSON(jsonString) {
2770
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindFieldUnion1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindFieldUnion1' from JSON`);
2771
+ }
2772
+ /** @internal */
2773
+ exports.FieldSecurityType1$inboundSchema = z.nativeEnum(exports.FieldSecurityType1);
2774
+ /** @internal */
2775
+ exports.FieldSecurityType1$outboundSchema = exports.FieldSecurityType1$inboundSchema;
2776
+ /** @internal */
2777
+ exports.FieldSecurity1$inboundSchema = z.object({
2778
+ type: exports.FieldSecurityType1$inboundSchema.optional(),
2779
+ });
2780
+ /** @internal */
2781
+ exports.FieldSecurity1$outboundSchema = z.object({
2782
+ type: exports.FieldSecurityType1$outboundSchema.optional(),
2783
+ });
2784
+ function fieldSecurity1ToJSON(fieldSecurity1) {
2785
+ return JSON.stringify(exports.FieldSecurity1$outboundSchema.parse(fieldSecurity1));
2786
+ }
2787
+ function fieldSecurity1FromJSON(jsonString) {
2788
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.FieldSecurity1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'FieldSecurity1' from JSON`);
2789
+ }
2790
+ /** @internal */
2791
+ exports.EnvelopeAuditLogFindData10$inboundSchema = z.object({
2792
+ recipientEmail: z.string(),
2793
+ recipientName: z.string(),
2794
+ recipientId: z.number(),
2795
+ recipientRole: z.string(),
2796
+ fieldId: z.string(),
2797
+ field: z.union([
2798
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials1$inboundSchema),
2799
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail1$inboundSchema),
2800
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate1$inboundSchema),
2801
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName1$inboundSchema),
2802
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText1$inboundSchema),
2803
+ z.lazy(() => exports.EnvelopeAuditLogFindField2$inboundSchema),
2804
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio1$inboundSchema),
2805
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox1$inboundSchema),
2806
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown1$inboundSchema),
2807
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber1$inboundSchema),
2808
+ ]),
2809
+ fieldSecurity: z.lazy(() => exports.FieldSecurity1$inboundSchema).optional(),
2810
+ });
2811
+ /** @internal */
2812
+ exports.EnvelopeAuditLogFindData10$outboundSchema = z.object({
2813
+ recipientEmail: z.string(),
2814
+ recipientName: z.string(),
2815
+ recipientId: z.number(),
2816
+ recipientRole: z.string(),
2817
+ fieldId: z.string(),
2818
+ field: z.union([
2819
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldInitials1$outboundSchema),
2820
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldEmail1$outboundSchema),
2821
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDate1$outboundSchema),
2822
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldName1$outboundSchema),
2823
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldText1$outboundSchema),
2824
+ z.lazy(() => exports.EnvelopeAuditLogFindField2$outboundSchema),
2825
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldRadio1$outboundSchema),
2826
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldCheckbox1$outboundSchema),
2827
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldDropdown1$outboundSchema),
2828
+ z.lazy(() => exports.EnvelopeAuditLogFindFieldNumber1$outboundSchema),
2829
+ ]),
2830
+ fieldSecurity: z.lazy(() => exports.FieldSecurity1$outboundSchema).optional(),
2831
+ });
2832
+ function envelopeAuditLogFindData10ToJSON(envelopeAuditLogFindData10) {
2833
+ return JSON.stringify(exports.EnvelopeAuditLogFindData10$outboundSchema.parse(envelopeAuditLogFindData10));
2834
+ }
2835
+ function envelopeAuditLogFindData10FromJSON(jsonString) {
2836
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData10$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData10' from JSON`);
2837
+ }
2838
+ /** @internal */
2839
+ exports.DataDocumentFieldInserted$inboundSchema = z.object({
2840
+ type: z.literal("DOCUMENT_FIELD_INSERTED"),
2841
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData10$inboundSchema),
2842
+ id: z.string(),
2843
+ createdAt: z.string(),
2844
+ envelopeId: z.string(),
2845
+ name: z.nullable(z.string()).optional(),
2846
+ email: z.nullable(z.string()).optional(),
2847
+ userId: z.nullable(z.number()).optional(),
2848
+ userAgent: z.nullable(z.string()).optional(),
2849
+ ipAddress: z.nullable(z.string()).optional(),
2850
+ });
2851
+ /** @internal */
2852
+ exports.DataDocumentFieldInserted$outboundSchema = z.object({
2853
+ type: z.literal("DOCUMENT_FIELD_INSERTED"),
2854
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData10$outboundSchema),
2855
+ id: z.string(),
2856
+ createdAt: z.string(),
2857
+ envelopeId: z.string(),
2858
+ name: z.nullable(z.string()).optional(),
2859
+ email: z.nullable(z.string()).optional(),
2860
+ userId: z.nullable(z.number()).optional(),
2861
+ userAgent: z.nullable(z.string()).optional(),
2862
+ ipAddress: z.nullable(z.string()).optional(),
2863
+ });
2864
+ function dataDocumentFieldInsertedToJSON(dataDocumentFieldInserted) {
2865
+ return JSON.stringify(exports.DataDocumentFieldInserted$outboundSchema.parse(dataDocumentFieldInserted));
2866
+ }
2867
+ function dataDocumentFieldInsertedFromJSON(jsonString) {
2868
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentFieldInserted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentFieldInserted' from JSON`);
2869
+ }
2870
+ /** @internal */
2871
+ exports.FieldType$inboundSchema = z
2872
+ .nativeEnum(exports.FieldType);
2873
+ /** @internal */
2874
+ exports.FieldType$outboundSchema = exports.FieldType$inboundSchema;
2875
+ /** @internal */
2876
+ exports.EnvelopeAuditLogFindField1$inboundSchema = z.object({
2877
+ fieldId: z.number(),
2878
+ fieldType: exports.FieldType$inboundSchema,
2879
+ recipientId: z.number(),
2880
+ });
2881
+ /** @internal */
2882
+ exports.EnvelopeAuditLogFindField1$outboundSchema = z.object({
2883
+ fieldId: z.number(),
2884
+ fieldType: exports.FieldType$outboundSchema,
2885
+ recipientId: z.number(),
2886
+ });
2887
+ function envelopeAuditLogFindField1ToJSON(envelopeAuditLogFindField1) {
2888
+ return JSON.stringify(exports.EnvelopeAuditLogFindField1$outboundSchema.parse(envelopeAuditLogFindField1));
2889
+ }
2890
+ function envelopeAuditLogFindField1FromJSON(jsonString) {
2891
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindField1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindField1' from JSON`);
2892
+ }
2893
+ /** @internal */
2894
+ exports.EnvelopeAuditLogFindData9$inboundSchema = z.object({
2895
+ fields: z.array(z.lazy(() => exports.EnvelopeAuditLogFindField1$inboundSchema)),
2896
+ });
2897
+ /** @internal */
2898
+ exports.EnvelopeAuditLogFindData9$outboundSchema = z.object({
2899
+ fields: z.array(z.lazy(() => exports.EnvelopeAuditLogFindField1$outboundSchema)),
2900
+ });
2901
+ function envelopeAuditLogFindData9ToJSON(envelopeAuditLogFindData9) {
2902
+ return JSON.stringify(exports.EnvelopeAuditLogFindData9$outboundSchema.parse(envelopeAuditLogFindData9));
2903
+ }
2904
+ function envelopeAuditLogFindData9FromJSON(jsonString) {
2905
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData9$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData9' from JSON`);
2906
+ }
2907
+ /** @internal */
2908
+ exports.DataDocumentFieldsAutoInserted$inboundSchema = z.object({
2909
+ type: z.literal("DOCUMENT_FIELDS_AUTO_INSERTED"),
2910
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData9$inboundSchema),
2911
+ id: z.string(),
2912
+ createdAt: z.string(),
2913
+ envelopeId: z.string(),
2914
+ name: z.nullable(z.string()).optional(),
2915
+ email: z.nullable(z.string()).optional(),
2916
+ userId: z.nullable(z.number()).optional(),
2917
+ userAgent: z.nullable(z.string()).optional(),
2918
+ ipAddress: z.nullable(z.string()).optional(),
2919
+ });
2920
+ /** @internal */
2921
+ exports.DataDocumentFieldsAutoInserted$outboundSchema = z.object({
2922
+ type: z.literal("DOCUMENT_FIELDS_AUTO_INSERTED"),
2923
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData9$outboundSchema),
2924
+ id: z.string(),
2925
+ createdAt: z.string(),
2926
+ envelopeId: z.string(),
2927
+ name: z.nullable(z.string()).optional(),
2928
+ email: z.nullable(z.string()).optional(),
2929
+ userId: z.nullable(z.number()).optional(),
2930
+ userAgent: z.nullable(z.string()).optional(),
2931
+ ipAddress: z.nullable(z.string()).optional(),
2932
+ });
2933
+ function dataDocumentFieldsAutoInsertedToJSON(dataDocumentFieldsAutoInserted) {
2934
+ return JSON.stringify(exports.DataDocumentFieldsAutoInserted$outboundSchema.parse(dataDocumentFieldsAutoInserted));
2935
+ }
2936
+ function dataDocumentFieldsAutoInsertedFromJSON(jsonString) {
2937
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentFieldsAutoInserted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentFieldsAutoInserted' from JSON`);
2938
+ }
2939
+ /** @internal */
2940
+ exports.EnvelopeAuditLogFindData8$inboundSchema = z.object({
2941
+ delegatedOwnerName: z.nullable(z.string()),
2942
+ delegatedOwnerEmail: z.string(),
2943
+ teamName: z.string(),
2944
+ });
2945
+ /** @internal */
2946
+ exports.EnvelopeAuditLogFindData8$outboundSchema = z.object({
2947
+ delegatedOwnerName: z.nullable(z.string()),
2948
+ delegatedOwnerEmail: z.string(),
2949
+ teamName: z.string(),
2950
+ });
2951
+ function envelopeAuditLogFindData8ToJSON(envelopeAuditLogFindData8) {
2952
+ return JSON.stringify(exports.EnvelopeAuditLogFindData8$outboundSchema.parse(envelopeAuditLogFindData8));
2953
+ }
2954
+ function envelopeAuditLogFindData8FromJSON(jsonString) {
2955
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData8$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData8' from JSON`);
2956
+ }
2957
+ /** @internal */
2958
+ exports.DataDocumentDelegatedOwnerCreated$inboundSchema = z.object({
2959
+ type: z.literal("DOCUMENT_DELEGATED_OWNER_CREATED"),
2960
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData8$inboundSchema),
2961
+ id: z.string(),
2962
+ createdAt: z.string(),
2963
+ envelopeId: z.string(),
2964
+ name: z.nullable(z.string()).optional(),
2965
+ email: z.nullable(z.string()).optional(),
2966
+ userId: z.nullable(z.number()).optional(),
2967
+ userAgent: z.nullable(z.string()).optional(),
2968
+ ipAddress: z.nullable(z.string()).optional(),
2969
+ });
2970
+ /** @internal */
2971
+ exports.DataDocumentDelegatedOwnerCreated$outboundSchema = z.object({
2972
+ type: z.literal("DOCUMENT_DELEGATED_OWNER_CREATED"),
2973
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData8$outboundSchema),
2974
+ id: z.string(),
2975
+ createdAt: z.string(),
2976
+ envelopeId: z.string(),
2977
+ name: z.nullable(z.string()).optional(),
2978
+ email: z.nullable(z.string()).optional(),
2979
+ userId: z.nullable(z.number()).optional(),
2980
+ userAgent: z.nullable(z.string()).optional(),
2981
+ ipAddress: z.nullable(z.string()).optional(),
2982
+ });
2983
+ function dataDocumentDelegatedOwnerCreatedToJSON(dataDocumentDelegatedOwnerCreated) {
2984
+ return JSON.stringify(exports.DataDocumentDelegatedOwnerCreated$outboundSchema.parse(dataDocumentDelegatedOwnerCreated));
2985
+ }
2986
+ function dataDocumentDelegatedOwnerCreatedFromJSON(jsonString) {
2987
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentDelegatedOwnerCreated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentDelegatedOwnerCreated' from JSON`);
2988
+ }
2989
+ /** @internal */
2990
+ exports.EnvelopeAuditLogFindData7$inboundSchema = z.object({
2991
+ movedByUserId: z.number(),
2992
+ fromPersonalAccount: z.boolean(),
2993
+ toTeamId: z.number(),
2994
+ });
2995
+ /** @internal */
2996
+ exports.EnvelopeAuditLogFindData7$outboundSchema = z.object({
2997
+ movedByUserId: z.number(),
2998
+ fromPersonalAccount: z.boolean(),
2999
+ toTeamId: z.number(),
3000
+ });
3001
+ function envelopeAuditLogFindData7ToJSON(envelopeAuditLogFindData7) {
3002
+ return JSON.stringify(exports.EnvelopeAuditLogFindData7$outboundSchema.parse(envelopeAuditLogFindData7));
3003
+ }
3004
+ function envelopeAuditLogFindData7FromJSON(jsonString) {
3005
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData7$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData7' from JSON`);
3006
+ }
3007
+ /** @internal */
3008
+ exports.DataDocumentMovedToTeam$inboundSchema = z.object({
3009
+ type: z.literal("DOCUMENT_MOVED_TO_TEAM"),
3010
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData7$inboundSchema),
3011
+ id: z.string(),
3012
+ createdAt: z.string(),
3013
+ envelopeId: z.string(),
3014
+ name: z.nullable(z.string()).optional(),
3015
+ email: z.nullable(z.string()).optional(),
3016
+ userId: z.nullable(z.number()).optional(),
3017
+ userAgent: z.nullable(z.string()).optional(),
3018
+ ipAddress: z.nullable(z.string()).optional(),
3019
+ });
3020
+ /** @internal */
3021
+ exports.DataDocumentMovedToTeam$outboundSchema = z.object({
3022
+ type: z.literal("DOCUMENT_MOVED_TO_TEAM"),
3023
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData7$outboundSchema),
3024
+ id: z.string(),
3025
+ createdAt: z.string(),
3026
+ envelopeId: z.string(),
3027
+ name: z.nullable(z.string()).optional(),
3028
+ email: z.nullable(z.string()).optional(),
3029
+ userId: z.nullable(z.number()).optional(),
3030
+ userAgent: z.nullable(z.string()).optional(),
3031
+ ipAddress: z.nullable(z.string()).optional(),
3032
+ });
3033
+ function dataDocumentMovedToTeamToJSON(dataDocumentMovedToTeam) {
3034
+ return JSON.stringify(exports.DataDocumentMovedToTeam$outboundSchema.parse(dataDocumentMovedToTeam));
3035
+ }
3036
+ function dataDocumentMovedToTeamFromJSON(jsonString) {
3037
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentMovedToTeam$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentMovedToTeam' from JSON`);
3038
+ }
3039
+ /** @internal */
3040
+ exports.EnvelopeAuditLogFindTypeEnum$inboundSchema = z.nativeEnum(exports.EnvelopeAuditLogFindTypeEnum);
3041
+ /** @internal */
3042
+ exports.EnvelopeAuditLogFindTypeEnum$outboundSchema = exports.EnvelopeAuditLogFindTypeEnum$inboundSchema;
3043
+ /** @internal */
3044
+ exports.EnvelopeAuditLogFindData6$inboundSchema = z.object({
3045
+ type: exports.EnvelopeAuditLogFindTypeEnum$inboundSchema,
3046
+ });
3047
+ /** @internal */
3048
+ exports.EnvelopeAuditLogFindData6$outboundSchema = z.object({
3049
+ type: exports.EnvelopeAuditLogFindTypeEnum$outboundSchema,
3050
+ });
3051
+ function envelopeAuditLogFindData6ToJSON(envelopeAuditLogFindData6) {
3052
+ return JSON.stringify(exports.EnvelopeAuditLogFindData6$outboundSchema.parse(envelopeAuditLogFindData6));
3053
+ }
3054
+ function envelopeAuditLogFindData6FromJSON(jsonString) {
3055
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData6$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData6' from JSON`);
3056
+ }
3057
+ /** @internal */
3058
+ exports.DataDocumentDeleted$inboundSchema = z.object({
3059
+ type: z.literal("DOCUMENT_DELETED"),
3060
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData6$inboundSchema),
3061
+ id: z.string(),
3062
+ createdAt: z.string(),
3063
+ envelopeId: z.string(),
3064
+ name: z.nullable(z.string()).optional(),
3065
+ email: z.nullable(z.string()).optional(),
3066
+ userId: z.nullable(z.number()).optional(),
3067
+ userAgent: z.nullable(z.string()).optional(),
3068
+ ipAddress: z.nullable(z.string()).optional(),
3069
+ });
3070
+ /** @internal */
3071
+ exports.DataDocumentDeleted$outboundSchema = z.object({
3072
+ type: z.literal("DOCUMENT_DELETED"),
3073
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData6$outboundSchema),
3074
+ id: z.string(),
3075
+ createdAt: z.string(),
3076
+ envelopeId: z.string(),
3077
+ name: z.nullable(z.string()).optional(),
3078
+ email: z.nullable(z.string()).optional(),
3079
+ userId: z.nullable(z.number()).optional(),
3080
+ userAgent: z.nullable(z.string()).optional(),
3081
+ ipAddress: z.nullable(z.string()).optional(),
3082
+ });
3083
+ function dataDocumentDeletedToJSON(dataDocumentDeleted) {
3084
+ return JSON.stringify(exports.DataDocumentDeleted$outboundSchema.parse(dataDocumentDeleted));
3085
+ }
3086
+ function dataDocumentDeletedFromJSON(jsonString) {
3087
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentDeleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentDeleted' from JSON`);
3088
+ }
3089
+ /** @internal */
3090
+ exports.SourceTemplateDirectLink$inboundSchema = z.object({
3091
+ type: z.literal("TEMPLATE_DIRECT_LINK"),
3092
+ templateId: z.number(),
3093
+ directRecipientEmail: z.string(),
3094
+ });
3095
+ /** @internal */
3096
+ exports.SourceTemplateDirectLink$outboundSchema = z.object({
3097
+ type: z.literal("TEMPLATE_DIRECT_LINK"),
3098
+ templateId: z.number(),
3099
+ directRecipientEmail: z.string(),
3100
+ });
3101
+ function sourceTemplateDirectLinkToJSON(sourceTemplateDirectLink) {
3102
+ return JSON.stringify(exports.SourceTemplateDirectLink$outboundSchema.parse(sourceTemplateDirectLink));
3103
+ }
3104
+ function sourceTemplateDirectLinkFromJSON(jsonString) {
3105
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SourceTemplateDirectLink$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SourceTemplateDirectLink' from JSON`);
3106
+ }
3107
+ /** @internal */
3108
+ exports.SourceTemplate$inboundSchema = z.object({
3109
+ type: z.literal("TEMPLATE"),
3110
+ templateId: z.number(),
3111
+ });
3112
+ /** @internal */
3113
+ exports.SourceTemplate$outboundSchema = z.object({
3114
+ type: z.literal("TEMPLATE"),
3115
+ templateId: z.number(),
3116
+ });
3117
+ function sourceTemplateToJSON(sourceTemplate) {
3118
+ return JSON.stringify(exports.SourceTemplate$outboundSchema.parse(sourceTemplate));
3119
+ }
3120
+ function sourceTemplateFromJSON(jsonString) {
3121
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.SourceTemplate$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'SourceTemplate' from JSON`);
3122
+ }
3123
+ /** @internal */
3124
+ exports.EnvelopeAuditLogFindSourceDocument$inboundSchema = z.object({
3125
+ type: z.literal("DOCUMENT"),
3126
+ });
3127
+ /** @internal */
3128
+ exports.EnvelopeAuditLogFindSourceDocument$outboundSchema = z.object({
3129
+ type: z.literal("DOCUMENT"),
3130
+ });
3131
+ function envelopeAuditLogFindSourceDocumentToJSON(envelopeAuditLogFindSourceDocument) {
3132
+ return JSON.stringify(exports.EnvelopeAuditLogFindSourceDocument$outboundSchema.parse(envelopeAuditLogFindSourceDocument));
3133
+ }
3134
+ function envelopeAuditLogFindSourceDocumentFromJSON(jsonString) {
3135
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindSourceDocument$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindSourceDocument' from JSON`);
3136
+ }
3137
+ /** @internal */
3138
+ exports.Source$inboundSchema = z
3139
+ .union([
3140
+ z.lazy(() => exports.EnvelopeAuditLogFindSourceDocument$inboundSchema),
3141
+ z.lazy(() => exports.SourceTemplate$inboundSchema),
3142
+ z.lazy(() => exports.SourceTemplateDirectLink$inboundSchema),
3143
+ ]);
3144
+ /** @internal */
3145
+ exports.Source$outboundSchema = z.union([
3146
+ z.lazy(() => exports.EnvelopeAuditLogFindSourceDocument$outboundSchema),
3147
+ z.lazy(() => exports.SourceTemplate$outboundSchema),
3148
+ z.lazy(() => exports.SourceTemplateDirectLink$outboundSchema),
3149
+ ]);
3150
+ function sourceToJSON(source) {
3151
+ return JSON.stringify(exports.Source$outboundSchema.parse(source));
3152
+ }
3153
+ function sourceFromJSON(jsonString) {
3154
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.Source$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'Source' from JSON`);
3155
+ }
3156
+ /** @internal */
3157
+ exports.EnvelopeAuditLogFindData5$inboundSchema = z.object({
3158
+ title: z.string(),
3159
+ source: z.union([
3160
+ z.lazy(() => exports.EnvelopeAuditLogFindSourceDocument$inboundSchema),
3161
+ z.lazy(() => exports.SourceTemplate$inboundSchema),
3162
+ z.lazy(() => exports.SourceTemplateDirectLink$inboundSchema),
3163
+ ]).optional(),
3164
+ });
3165
+ /** @internal */
3166
+ exports.EnvelopeAuditLogFindData5$outboundSchema = z.object({
3167
+ title: z.string(),
3168
+ source: z.union([
3169
+ z.lazy(() => exports.EnvelopeAuditLogFindSourceDocument$outboundSchema),
3170
+ z.lazy(() => exports.SourceTemplate$outboundSchema),
3171
+ z.lazy(() => exports.SourceTemplateDirectLink$outboundSchema),
3172
+ ]).optional(),
3173
+ });
3174
+ function envelopeAuditLogFindData5ToJSON(envelopeAuditLogFindData5) {
3175
+ return JSON.stringify(exports.EnvelopeAuditLogFindData5$outboundSchema.parse(envelopeAuditLogFindData5));
3176
+ }
3177
+ function envelopeAuditLogFindData5FromJSON(jsonString) {
3178
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData5$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData5' from JSON`);
3179
+ }
3180
+ /** @internal */
3181
+ exports.DataDocumentCreated$inboundSchema = z.object({
3182
+ type: z.literal("DOCUMENT_CREATED"),
3183
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData5$inboundSchema),
3184
+ id: z.string(),
3185
+ createdAt: z.string(),
3186
+ envelopeId: z.string(),
3187
+ name: z.nullable(z.string()).optional(),
3188
+ email: z.nullable(z.string()).optional(),
3189
+ userId: z.nullable(z.number()).optional(),
3190
+ userAgent: z.nullable(z.string()).optional(),
3191
+ ipAddress: z.nullable(z.string()).optional(),
3192
+ });
3193
+ /** @internal */
3194
+ exports.DataDocumentCreated$outboundSchema = z.object({
3195
+ type: z.literal("DOCUMENT_CREATED"),
3196
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData5$outboundSchema),
3197
+ id: z.string(),
3198
+ createdAt: z.string(),
3199
+ envelopeId: z.string(),
3200
+ name: z.nullable(z.string()).optional(),
3201
+ email: z.nullable(z.string()).optional(),
3202
+ userId: z.nullable(z.number()).optional(),
3203
+ userAgent: z.nullable(z.string()).optional(),
3204
+ ipAddress: z.nullable(z.string()).optional(),
3205
+ });
3206
+ function dataDocumentCreatedToJSON(dataDocumentCreated) {
3207
+ return JSON.stringify(exports.DataDocumentCreated$outboundSchema.parse(dataDocumentCreated));
3208
+ }
3209
+ function dataDocumentCreatedFromJSON(jsonString) {
3210
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentCreated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentCreated' from JSON`);
3211
+ }
3212
+ /** @internal */
3213
+ exports.EnvelopeAuditLogFindData4$inboundSchema = z.object({
3214
+ transactionId: z.string(),
3215
+ });
3216
+ /** @internal */
3217
+ exports.EnvelopeAuditLogFindData4$outboundSchema = z.object({
3218
+ transactionId: z.string(),
3219
+ });
3220
+ function envelopeAuditLogFindData4ToJSON(envelopeAuditLogFindData4) {
3221
+ return JSON.stringify(exports.EnvelopeAuditLogFindData4$outboundSchema.parse(envelopeAuditLogFindData4));
3222
+ }
3223
+ function envelopeAuditLogFindData4FromJSON(jsonString) {
3224
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData4$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData4' from JSON`);
3225
+ }
3226
+ /** @internal */
3227
+ exports.DataDocumentCompleted$inboundSchema = z.object({
3228
+ type: z.literal("DOCUMENT_COMPLETED"),
3229
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData4$inboundSchema),
3230
+ id: z.string(),
3231
+ createdAt: z.string(),
3232
+ envelopeId: z.string(),
3233
+ name: z.nullable(z.string()).optional(),
3234
+ email: z.nullable(z.string()).optional(),
3235
+ userId: z.nullable(z.number()).optional(),
3236
+ userAgent: z.nullable(z.string()).optional(),
3237
+ ipAddress: z.nullable(z.string()).optional(),
3238
+ });
3239
+ /** @internal */
3240
+ exports.DataDocumentCompleted$outboundSchema = z.object({
3241
+ type: z.literal("DOCUMENT_COMPLETED"),
3242
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData4$outboundSchema),
3243
+ id: z.string(),
3244
+ createdAt: z.string(),
3245
+ envelopeId: z.string(),
3246
+ name: z.nullable(z.string()).optional(),
3247
+ email: z.nullable(z.string()).optional(),
3248
+ userId: z.nullable(z.number()).optional(),
3249
+ userAgent: z.nullable(z.string()).optional(),
3250
+ ipAddress: z.nullable(z.string()).optional(),
3251
+ });
3252
+ function dataDocumentCompletedToJSON(dataDocumentCompleted) {
3253
+ return JSON.stringify(exports.DataDocumentCompleted$outboundSchema.parse(dataDocumentCompleted));
3254
+ }
3255
+ function dataDocumentCompletedFromJSON(jsonString) {
3256
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataDocumentCompleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataDocumentCompleted' from JSON`);
3257
+ }
3258
+ /** @internal */
3259
+ exports.EmailType$inboundSchema = z
3260
+ .nativeEnum(exports.EmailType);
3261
+ /** @internal */
3262
+ exports.EmailType$outboundSchema = exports.EmailType$inboundSchema;
3263
+ /** @internal */
3264
+ exports.EnvelopeAuditLogFindData3$inboundSchema = z.object({
3265
+ recipientEmail: z.string(),
3266
+ recipientName: z.string(),
3267
+ recipientId: z.number(),
3268
+ recipientRole: z.string(),
3269
+ emailType: exports.EmailType$inboundSchema,
3270
+ isResending: z.boolean(),
3271
+ });
3272
+ /** @internal */
3273
+ exports.EnvelopeAuditLogFindData3$outboundSchema = z.object({
3274
+ recipientEmail: z.string(),
3275
+ recipientName: z.string(),
3276
+ recipientId: z.number(),
3277
+ recipientRole: z.string(),
3278
+ emailType: exports.EmailType$outboundSchema,
3279
+ isResending: z.boolean(),
3280
+ });
3281
+ function envelopeAuditLogFindData3ToJSON(envelopeAuditLogFindData3) {
3282
+ return JSON.stringify(exports.EnvelopeAuditLogFindData3$outboundSchema.parse(envelopeAuditLogFindData3));
3283
+ }
3284
+ function envelopeAuditLogFindData3FromJSON(jsonString) {
3285
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData3$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData3' from JSON`);
3286
+ }
3287
+ /** @internal */
3288
+ exports.DataEmailSent$inboundSchema = z.object({
3289
+ type: z.literal("EMAIL_SENT"),
3290
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData3$inboundSchema),
3291
+ id: z.string(),
3292
+ createdAt: z.string(),
3293
+ envelopeId: z.string(),
3294
+ name: z.nullable(z.string()).optional(),
3295
+ email: z.nullable(z.string()).optional(),
3296
+ userId: z.nullable(z.number()).optional(),
3297
+ userAgent: z.nullable(z.string()).optional(),
3298
+ ipAddress: z.nullable(z.string()).optional(),
3299
+ });
3300
+ /** @internal */
3301
+ exports.DataEmailSent$outboundSchema = z.object({
3302
+ type: z.literal("EMAIL_SENT"),
3303
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData3$outboundSchema),
3304
+ id: z.string(),
3305
+ createdAt: z.string(),
3306
+ envelopeId: z.string(),
3307
+ name: z.nullable(z.string()).optional(),
3308
+ email: z.nullable(z.string()).optional(),
3309
+ userId: z.nullable(z.number()).optional(),
3310
+ userAgent: z.nullable(z.string()).optional(),
3311
+ ipAddress: z.nullable(z.string()).optional(),
3312
+ });
3313
+ function dataEmailSentToJSON(dataEmailSent) {
3314
+ return JSON.stringify(exports.DataEmailSent$outboundSchema.parse(dataEmailSent));
3315
+ }
3316
+ function dataEmailSentFromJSON(jsonString) {
3317
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataEmailSent$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataEmailSent' from JSON`);
3318
+ }
3319
+ /** @internal */
3320
+ exports.EnvelopeAuditLogFindData2$inboundSchema = z.object({
3321
+ envelopeItemId: z.string(),
3322
+ envelopeItemTitle: z.string(),
3323
+ });
3324
+ /** @internal */
3325
+ exports.EnvelopeAuditLogFindData2$outboundSchema = z.object({
3326
+ envelopeItemId: z.string(),
3327
+ envelopeItemTitle: z.string(),
3328
+ });
3329
+ function envelopeAuditLogFindData2ToJSON(envelopeAuditLogFindData2) {
3330
+ return JSON.stringify(exports.EnvelopeAuditLogFindData2$outboundSchema.parse(envelopeAuditLogFindData2));
3331
+ }
3332
+ function envelopeAuditLogFindData2FromJSON(jsonString) {
3333
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData2$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData2' from JSON`);
3334
+ }
3335
+ /** @internal */
3336
+ exports.DataEnvelopeItemDeleted$inboundSchema = z.object({
3337
+ type: z.literal("ENVELOPE_ITEM_DELETED"),
3338
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData2$inboundSchema),
3339
+ id: z.string(),
3340
+ createdAt: z.string(),
3341
+ envelopeId: z.string(),
3342
+ name: z.nullable(z.string()).optional(),
3343
+ email: z.nullable(z.string()).optional(),
3344
+ userId: z.nullable(z.number()).optional(),
3345
+ userAgent: z.nullable(z.string()).optional(),
3346
+ ipAddress: z.nullable(z.string()).optional(),
3347
+ });
3348
+ /** @internal */
3349
+ exports.DataEnvelopeItemDeleted$outboundSchema = z.object({
3350
+ type: z.literal("ENVELOPE_ITEM_DELETED"),
3351
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData2$outboundSchema),
3352
+ id: z.string(),
3353
+ createdAt: z.string(),
3354
+ envelopeId: z.string(),
3355
+ name: z.nullable(z.string()).optional(),
3356
+ email: z.nullable(z.string()).optional(),
3357
+ userId: z.nullable(z.number()).optional(),
3358
+ userAgent: z.nullable(z.string()).optional(),
3359
+ ipAddress: z.nullable(z.string()).optional(),
3360
+ });
3361
+ function dataEnvelopeItemDeletedToJSON(dataEnvelopeItemDeleted) {
3362
+ return JSON.stringify(exports.DataEnvelopeItemDeleted$outboundSchema.parse(dataEnvelopeItemDeleted));
3363
+ }
3364
+ function dataEnvelopeItemDeletedFromJSON(jsonString) {
3365
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataEnvelopeItemDeleted$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataEnvelopeItemDeleted' from JSON`);
3366
+ }
3367
+ /** @internal */
3368
+ exports.EnvelopeAuditLogFindData1$inboundSchema = z.object({
3369
+ envelopeItemId: z.string(),
3370
+ envelopeItemTitle: z.string(),
3371
+ });
3372
+ /** @internal */
3373
+ exports.EnvelopeAuditLogFindData1$outboundSchema = z.object({
3374
+ envelopeItemId: z.string(),
3375
+ envelopeItemTitle: z.string(),
3376
+ });
3377
+ function envelopeAuditLogFindData1ToJSON(envelopeAuditLogFindData1) {
3378
+ return JSON.stringify(exports.EnvelopeAuditLogFindData1$outboundSchema.parse(envelopeAuditLogFindData1));
3379
+ }
3380
+ function envelopeAuditLogFindData1FromJSON(jsonString) {
3381
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindData1$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindData1' from JSON`);
3382
+ }
3383
+ /** @internal */
3384
+ exports.DataEnvelopeItemCreated$inboundSchema = z.object({
3385
+ type: z.literal("ENVELOPE_ITEM_CREATED"),
3386
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData1$inboundSchema),
3387
+ id: z.string(),
3388
+ createdAt: z.string(),
3389
+ envelopeId: z.string(),
3390
+ name: z.nullable(z.string()).optional(),
3391
+ email: z.nullable(z.string()).optional(),
3392
+ userId: z.nullable(z.number()).optional(),
3393
+ userAgent: z.nullable(z.string()).optional(),
3394
+ ipAddress: z.nullable(z.string()).optional(),
3395
+ });
3396
+ /** @internal */
3397
+ exports.DataEnvelopeItemCreated$outboundSchema = z.object({
3398
+ type: z.literal("ENVELOPE_ITEM_CREATED"),
3399
+ data: z.lazy(() => exports.EnvelopeAuditLogFindData1$outboundSchema),
3400
+ id: z.string(),
3401
+ createdAt: z.string(),
3402
+ envelopeId: z.string(),
3403
+ name: z.nullable(z.string()).optional(),
3404
+ email: z.nullable(z.string()).optional(),
3405
+ userId: z.nullable(z.number()).optional(),
3406
+ userAgent: z.nullable(z.string()).optional(),
3407
+ ipAddress: z.nullable(z.string()).optional(),
3408
+ });
3409
+ function dataEnvelopeItemCreatedToJSON(dataEnvelopeItemCreated) {
3410
+ return JSON.stringify(exports.DataEnvelopeItemCreated$outboundSchema.parse(dataEnvelopeItemCreated));
3411
+ }
3412
+ function dataEnvelopeItemCreatedFromJSON(jsonString) {
3413
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.DataEnvelopeItemCreated$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'DataEnvelopeItemCreated' from JSON`);
3414
+ }
3415
+ /** @internal */
3416
+ exports.EnvelopeAuditLogFindDataUnion$inboundSchema = z.union([
3417
+ z.lazy(() => exports.DataEnvelopeItemCreated$inboundSchema),
3418
+ z.lazy(() => exports.DataEnvelopeItemDeleted$inboundSchema),
3419
+ z.lazy(() => exports.DataEmailSent$inboundSchema),
3420
+ z.lazy(() => exports.DataDocumentCompleted$inboundSchema),
3421
+ z.lazy(() => exports.DataDocumentCreated$inboundSchema),
3422
+ z.lazy(() => exports.DataDocumentDeleted$inboundSchema),
3423
+ z.lazy(() => exports.DataDocumentMovedToTeam$inboundSchema),
3424
+ z.lazy(() => exports.DataDocumentDelegatedOwnerCreated$inboundSchema),
3425
+ z.lazy(() => exports.DataDocumentFieldsAutoInserted$inboundSchema),
3426
+ z.lazy(() => exports.DataDocumentFieldInserted$inboundSchema),
3427
+ z.lazy(() => exports.DataDocumentFieldUninserted$inboundSchema),
3428
+ z.lazy(() => exports.DataDocumentFieldPrefilled$inboundSchema),
3429
+ z.lazy(() => exports.DataDocumentVisibilityUpdated$inboundSchema),
3430
+ z.lazy(() => exports.DataDocumentGlobalAuthAccessUpdated$inboundSchema),
3431
+ z.lazy(() => exports.DataDocumentGlobalAuthActionUpdated$inboundSchema),
3432
+ z.lazy(() => exports.DataDocumentMetaUpdated$inboundSchema),
3433
+ z.lazy(() => exports.DataDocumentOpened$inboundSchema),
3434
+ z.lazy(() => exports.DataDocumentViewed$inboundSchema),
3435
+ z.lazy(() => exports.DataDocumentRecipientCompleted$inboundSchema),
3436
+ z.lazy(() => exports.DataDocumentRecipientRejected$inboundSchema),
3437
+ z.lazy(() => exports.DataDocumentAccessAuth2FaRequested$inboundSchema),
3438
+ z.lazy(() => exports.DataDocumentAccessAuth2FaValidated$inboundSchema),
3439
+ z.lazy(() => exports.DataDocumentAccessAuth2FaFailed$inboundSchema),
3440
+ z.lazy(() => exports.DataDocumentSent$inboundSchema),
3441
+ z.lazy(() => exports.DataDocumentTitleUpdated$inboundSchema),
3442
+ z.lazy(() => exports.DataDocumentExternalIDUpdated$inboundSchema),
3443
+ z.lazy(() => exports.DataFieldCreated$inboundSchema),
3444
+ z.lazy(() => exports.DataFieldDeleted$inboundSchema),
3445
+ z.lazy(() => exports.DataFieldUpdated$inboundSchema),
3446
+ z.lazy(() => exports.DataRecipientCreated$inboundSchema),
3447
+ z.lazy(() => exports.DataRecipientUpdated$inboundSchema),
3448
+ z.lazy(() => exports.DataRecipientDeleted$inboundSchema),
3449
+ ]);
3450
+ /** @internal */
3451
+ exports.EnvelopeAuditLogFindDataUnion$outboundSchema = z.union([
3452
+ z.lazy(() => exports.DataEnvelopeItemCreated$outboundSchema),
3453
+ z.lazy(() => exports.DataEnvelopeItemDeleted$outboundSchema),
3454
+ z.lazy(() => exports.DataEmailSent$outboundSchema),
3455
+ z.lazy(() => exports.DataDocumentCompleted$outboundSchema),
3456
+ z.lazy(() => exports.DataDocumentCreated$outboundSchema),
3457
+ z.lazy(() => exports.DataDocumentDeleted$outboundSchema),
3458
+ z.lazy(() => exports.DataDocumentMovedToTeam$outboundSchema),
3459
+ z.lazy(() => exports.DataDocumentDelegatedOwnerCreated$outboundSchema),
3460
+ z.lazy(() => exports.DataDocumentFieldsAutoInserted$outboundSchema),
3461
+ z.lazy(() => exports.DataDocumentFieldInserted$outboundSchema),
3462
+ z.lazy(() => exports.DataDocumentFieldUninserted$outboundSchema),
3463
+ z.lazy(() => exports.DataDocumentFieldPrefilled$outboundSchema),
3464
+ z.lazy(() => exports.DataDocumentVisibilityUpdated$outboundSchema),
3465
+ z.lazy(() => exports.DataDocumentGlobalAuthAccessUpdated$outboundSchema),
3466
+ z.lazy(() => exports.DataDocumentGlobalAuthActionUpdated$outboundSchema),
3467
+ z.lazy(() => exports.DataDocumentMetaUpdated$outboundSchema),
3468
+ z.lazy(() => exports.DataDocumentOpened$outboundSchema),
3469
+ z.lazy(() => exports.DataDocumentViewed$outboundSchema),
3470
+ z.lazy(() => exports.DataDocumentRecipientCompleted$outboundSchema),
3471
+ z.lazy(() => exports.DataDocumentRecipientRejected$outboundSchema),
3472
+ z.lazy(() => exports.DataDocumentAccessAuth2FaRequested$outboundSchema),
3473
+ z.lazy(() => exports.DataDocumentAccessAuth2FaValidated$outboundSchema),
3474
+ z.lazy(() => exports.DataDocumentAccessAuth2FaFailed$outboundSchema),
3475
+ z.lazy(() => exports.DataDocumentSent$outboundSchema),
3476
+ z.lazy(() => exports.DataDocumentTitleUpdated$outboundSchema),
3477
+ z.lazy(() => exports.DataDocumentExternalIDUpdated$outboundSchema),
3478
+ z.lazy(() => exports.DataFieldCreated$outboundSchema),
3479
+ z.lazy(() => exports.DataFieldDeleted$outboundSchema),
3480
+ z.lazy(() => exports.DataFieldUpdated$outboundSchema),
3481
+ z.lazy(() => exports.DataRecipientCreated$outboundSchema),
3482
+ z.lazy(() => exports.DataRecipientUpdated$outboundSchema),
3483
+ z.lazy(() => exports.DataRecipientDeleted$outboundSchema),
3484
+ ]);
3485
+ function envelopeAuditLogFindDataUnionToJSON(envelopeAuditLogFindDataUnion) {
3486
+ return JSON.stringify(exports.EnvelopeAuditLogFindDataUnion$outboundSchema.parse(envelopeAuditLogFindDataUnion));
3487
+ }
3488
+ function envelopeAuditLogFindDataUnionFromJSON(jsonString) {
3489
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindDataUnion$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindDataUnion' from JSON`);
3490
+ }
3491
+ /** @internal */
3492
+ exports.EnvelopeAuditLogFindResponse$inboundSchema = z.object({
3493
+ data: z.array(z.union([
3494
+ z.lazy(() => exports.DataEnvelopeItemCreated$inboundSchema),
3495
+ z.lazy(() => exports.DataEnvelopeItemDeleted$inboundSchema),
3496
+ z.lazy(() => exports.DataEmailSent$inboundSchema),
3497
+ z.lazy(() => exports.DataDocumentCompleted$inboundSchema),
3498
+ z.lazy(() => exports.DataDocumentCreated$inboundSchema),
3499
+ z.lazy(() => exports.DataDocumentDeleted$inboundSchema),
3500
+ z.lazy(() => exports.DataDocumentMovedToTeam$inboundSchema),
3501
+ z.lazy(() => exports.DataDocumentDelegatedOwnerCreated$inboundSchema),
3502
+ z.lazy(() => exports.DataDocumentFieldsAutoInserted$inboundSchema),
3503
+ z.lazy(() => exports.DataDocumentFieldInserted$inboundSchema),
3504
+ z.lazy(() => exports.DataDocumentFieldUninserted$inboundSchema),
3505
+ z.lazy(() => exports.DataDocumentFieldPrefilled$inboundSchema),
3506
+ z.lazy(() => exports.DataDocumentVisibilityUpdated$inboundSchema),
3507
+ z.lazy(() => exports.DataDocumentGlobalAuthAccessUpdated$inboundSchema),
3508
+ z.lazy(() => exports.DataDocumentGlobalAuthActionUpdated$inboundSchema),
3509
+ z.lazy(() => exports.DataDocumentMetaUpdated$inboundSchema),
3510
+ z.lazy(() => exports.DataDocumentOpened$inboundSchema),
3511
+ z.lazy(() => exports.DataDocumentViewed$inboundSchema),
3512
+ z.lazy(() => exports.DataDocumentRecipientCompleted$inboundSchema),
3513
+ z.lazy(() => exports.DataDocumentRecipientRejected$inboundSchema),
3514
+ z.lazy(() => exports.DataDocumentAccessAuth2FaRequested$inboundSchema),
3515
+ z.lazy(() => exports.DataDocumentAccessAuth2FaValidated$inboundSchema),
3516
+ z.lazy(() => exports.DataDocumentAccessAuth2FaFailed$inboundSchema),
3517
+ z.lazy(() => exports.DataDocumentSent$inboundSchema),
3518
+ z.lazy(() => exports.DataDocumentTitleUpdated$inboundSchema),
3519
+ z.lazy(() => exports.DataDocumentExternalIDUpdated$inboundSchema),
3520
+ z.lazy(() => exports.DataFieldCreated$inboundSchema),
3521
+ z.lazy(() => exports.DataFieldDeleted$inboundSchema),
3522
+ z.lazy(() => exports.DataFieldUpdated$inboundSchema),
3523
+ z.lazy(() => exports.DataRecipientCreated$inboundSchema),
3524
+ z.lazy(() => exports.DataRecipientUpdated$inboundSchema),
3525
+ z.lazy(() => exports.DataRecipientDeleted$inboundSchema),
3526
+ ])),
3527
+ count: z.number(),
3528
+ currentPage: z.number(),
3529
+ perPage: z.number(),
3530
+ totalPages: z.number(),
3531
+ });
3532
+ /** @internal */
3533
+ exports.EnvelopeAuditLogFindResponse$outboundSchema = z.object({
3534
+ data: z.array(z.union([
3535
+ z.lazy(() => exports.DataEnvelopeItemCreated$outboundSchema),
3536
+ z.lazy(() => exports.DataEnvelopeItemDeleted$outboundSchema),
3537
+ z.lazy(() => exports.DataEmailSent$outboundSchema),
3538
+ z.lazy(() => exports.DataDocumentCompleted$outboundSchema),
3539
+ z.lazy(() => exports.DataDocumentCreated$outboundSchema),
3540
+ z.lazy(() => exports.DataDocumentDeleted$outboundSchema),
3541
+ z.lazy(() => exports.DataDocumentMovedToTeam$outboundSchema),
3542
+ z.lazy(() => exports.DataDocumentDelegatedOwnerCreated$outboundSchema),
3543
+ z.lazy(() => exports.DataDocumentFieldsAutoInserted$outboundSchema),
3544
+ z.lazy(() => exports.DataDocumentFieldInserted$outboundSchema),
3545
+ z.lazy(() => exports.DataDocumentFieldUninserted$outboundSchema),
3546
+ z.lazy(() => exports.DataDocumentFieldPrefilled$outboundSchema),
3547
+ z.lazy(() => exports.DataDocumentVisibilityUpdated$outboundSchema),
3548
+ z.lazy(() => exports.DataDocumentGlobalAuthAccessUpdated$outboundSchema),
3549
+ z.lazy(() => exports.DataDocumentGlobalAuthActionUpdated$outboundSchema),
3550
+ z.lazy(() => exports.DataDocumentMetaUpdated$outboundSchema),
3551
+ z.lazy(() => exports.DataDocumentOpened$outboundSchema),
3552
+ z.lazy(() => exports.DataDocumentViewed$outboundSchema),
3553
+ z.lazy(() => exports.DataDocumentRecipientCompleted$outboundSchema),
3554
+ z.lazy(() => exports.DataDocumentRecipientRejected$outboundSchema),
3555
+ z.lazy(() => exports.DataDocumentAccessAuth2FaRequested$outboundSchema),
3556
+ z.lazy(() => exports.DataDocumentAccessAuth2FaValidated$outboundSchema),
3557
+ z.lazy(() => exports.DataDocumentAccessAuth2FaFailed$outboundSchema),
3558
+ z.lazy(() => exports.DataDocumentSent$outboundSchema),
3559
+ z.lazy(() => exports.DataDocumentTitleUpdated$outboundSchema),
3560
+ z.lazy(() => exports.DataDocumentExternalIDUpdated$outboundSchema),
3561
+ z.lazy(() => exports.DataFieldCreated$outboundSchema),
3562
+ z.lazy(() => exports.DataFieldDeleted$outboundSchema),
3563
+ z.lazy(() => exports.DataFieldUpdated$outboundSchema),
3564
+ z.lazy(() => exports.DataRecipientCreated$outboundSchema),
3565
+ z.lazy(() => exports.DataRecipientUpdated$outboundSchema),
3566
+ z.lazy(() => exports.DataRecipientDeleted$outboundSchema),
3567
+ ])),
3568
+ count: z.number(),
3569
+ currentPage: z.number(),
3570
+ perPage: z.number(),
3571
+ totalPages: z.number(),
3572
+ });
3573
+ function envelopeAuditLogFindResponseToJSON(envelopeAuditLogFindResponse) {
3574
+ return JSON.stringify(exports.EnvelopeAuditLogFindResponse$outboundSchema.parse(envelopeAuditLogFindResponse));
3575
+ }
3576
+ function envelopeAuditLogFindResponseFromJSON(jsonString) {
3577
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.EnvelopeAuditLogFindResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'EnvelopeAuditLogFindResponse' from JSON`);
3578
+ }
3579
+ //# sourceMappingURL=envelopeauditlogfind.js.map