@documenso/sdk-typescript 0.1.1 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (607) hide show
  1. package/FUNCTIONS.md +3 -1
  2. package/README.md +178 -235
  3. package/docs/sdks/directlink/README.md +22 -22
  4. package/docs/sdks/documensofields/README.md +209 -121
  5. package/docs/sdks/documensorecipients/README.md +187 -79
  6. package/docs/sdks/documents/README.md +73 -69
  7. package/docs/sdks/fields/README.md +497 -16
  8. package/docs/sdks/recipients/README.md +467 -16
  9. package/docs/sdks/templates/README.md +68 -54
  10. package/funcs/documentsCreateV0.d.ts +1 -1
  11. package/funcs/documentsCreateV0.d.ts.map +1 -1
  12. package/funcs/documentsCreateV0.js +1 -1
  13. package/funcs/documentsCreateV0.js.map +1 -1
  14. package/funcs/documentsDelete.d.ts +1 -1
  15. package/funcs/documentsDelete.d.ts.map +1 -1
  16. package/funcs/documentsDelete.js +1 -2
  17. package/funcs/documentsDelete.js.map +1 -1
  18. package/funcs/documentsDistribute.d.ts +1 -1
  19. package/funcs/documentsDistribute.d.ts.map +1 -1
  20. package/funcs/documentsDistribute.js +1 -1
  21. package/funcs/documentsDistribute.js.map +1 -1
  22. package/funcs/documentsDuplicate.d.ts +1 -1
  23. package/funcs/documentsDuplicate.d.ts.map +1 -1
  24. package/funcs/documentsDuplicate.js +1 -1
  25. package/funcs/documentsDuplicate.js.map +1 -1
  26. package/funcs/documentsFieldsCreate.d.ts +1 -1
  27. package/funcs/documentsFieldsCreate.d.ts.map +1 -1
  28. package/funcs/documentsFieldsCreate.js +1 -1
  29. package/funcs/documentsFieldsCreate.js.map +1 -1
  30. package/funcs/documentsFieldsCreateMany.d.ts +1 -1
  31. package/funcs/documentsFieldsCreateMany.d.ts.map +1 -1
  32. package/funcs/documentsFieldsCreateMany.js +1 -1
  33. package/funcs/documentsFieldsCreateMany.js.map +1 -1
  34. package/funcs/documentsFieldsDelete.d.ts +1 -1
  35. package/funcs/documentsFieldsDelete.d.ts.map +1 -1
  36. package/funcs/documentsFieldsDelete.js +1 -2
  37. package/funcs/documentsFieldsDelete.js.map +1 -1
  38. package/funcs/documentsFieldsGet.d.ts +16 -0
  39. package/funcs/documentsFieldsGet.d.ts.map +1 -0
  40. package/funcs/{fieldsGet.js → documentsFieldsGet.js} +10 -9
  41. package/funcs/documentsFieldsGet.js.map +1 -0
  42. package/funcs/documentsFieldsUpdate.d.ts +1 -1
  43. package/funcs/documentsFieldsUpdate.d.ts.map +1 -1
  44. package/funcs/documentsFieldsUpdate.js +1 -1
  45. package/funcs/documentsFieldsUpdate.js.map +1 -1
  46. package/funcs/documentsFieldsUpdateMany.d.ts +1 -1
  47. package/funcs/documentsFieldsUpdateMany.d.ts.map +1 -1
  48. package/funcs/documentsFieldsUpdateMany.js +1 -1
  49. package/funcs/documentsFieldsUpdateMany.js.map +1 -1
  50. package/funcs/documentsFind.d.ts +1 -1
  51. package/funcs/documentsFind.d.ts.map +1 -1
  52. package/funcs/documentsFind.js +1 -1
  53. package/funcs/documentsFind.js.map +1 -1
  54. package/funcs/documentsGet.d.ts +1 -1
  55. package/funcs/documentsGet.d.ts.map +1 -1
  56. package/funcs/documentsGet.js +3 -1
  57. package/funcs/documentsGet.js.map +1 -1
  58. package/funcs/documentsMoveToTeam.d.ts +1 -1
  59. package/funcs/documentsMoveToTeam.d.ts.map +1 -1
  60. package/funcs/documentsMoveToTeam.js +1 -1
  61. package/funcs/documentsMoveToTeam.js.map +1 -1
  62. package/funcs/documentsRecipientsCreate.d.ts +1 -1
  63. package/funcs/documentsRecipientsCreate.d.ts.map +1 -1
  64. package/funcs/documentsRecipientsCreate.js +2 -1
  65. package/funcs/documentsRecipientsCreate.js.map +1 -1
  66. package/funcs/documentsRecipientsCreateMany.d.ts +1 -1
  67. package/funcs/documentsRecipientsCreateMany.d.ts.map +1 -1
  68. package/funcs/documentsRecipientsCreateMany.js +2 -1
  69. package/funcs/documentsRecipientsCreateMany.js.map +1 -1
  70. package/funcs/documentsRecipientsDelete.d.ts +1 -1
  71. package/funcs/documentsRecipientsDelete.d.ts.map +1 -1
  72. package/funcs/documentsRecipientsDelete.js +2 -2
  73. package/funcs/documentsRecipientsDelete.js.map +1 -1
  74. package/funcs/documentsRecipientsGet.d.ts +16 -0
  75. package/funcs/documentsRecipientsGet.d.ts.map +1 -0
  76. package/funcs/{recipientsGet.js → documentsRecipientsGet.js} +11 -9
  77. package/funcs/documentsRecipientsGet.js.map +1 -0
  78. package/funcs/documentsRecipientsUpdate.d.ts +1 -1
  79. package/funcs/documentsRecipientsUpdate.d.ts.map +1 -1
  80. package/funcs/documentsRecipientsUpdate.js +2 -1
  81. package/funcs/documentsRecipientsUpdate.js.map +1 -1
  82. package/funcs/documentsRecipientsUpdateMany.d.ts +1 -1
  83. package/funcs/documentsRecipientsUpdateMany.d.ts.map +1 -1
  84. package/funcs/documentsRecipientsUpdateMany.js +2 -1
  85. package/funcs/documentsRecipientsUpdateMany.js.map +1 -1
  86. package/funcs/documentsRedistribute.d.ts +1 -1
  87. package/funcs/documentsRedistribute.d.ts.map +1 -1
  88. package/funcs/documentsRedistribute.js +1 -2
  89. package/funcs/documentsRedistribute.js.map +1 -1
  90. package/funcs/documentsUpdate.d.ts +1 -1
  91. package/funcs/documentsUpdate.d.ts.map +1 -1
  92. package/funcs/documentsUpdate.js +1 -1
  93. package/funcs/documentsUpdate.js.map +1 -1
  94. package/funcs/templatesDelete.d.ts +1 -1
  95. package/funcs/templatesDelete.d.ts.map +1 -1
  96. package/funcs/templatesDelete.js +1 -2
  97. package/funcs/templatesDelete.js.map +1 -1
  98. package/funcs/templatesDirectLinkCreate.d.ts +1 -1
  99. package/funcs/templatesDirectLinkCreate.d.ts.map +1 -1
  100. package/funcs/templatesDirectLinkCreate.js +2 -1
  101. package/funcs/templatesDirectLinkCreate.js.map +1 -1
  102. package/funcs/templatesDirectLinkDelete.d.ts +1 -1
  103. package/funcs/templatesDirectLinkDelete.d.ts.map +1 -1
  104. package/funcs/templatesDirectLinkDelete.js +2 -2
  105. package/funcs/templatesDirectLinkDelete.js.map +1 -1
  106. package/funcs/templatesDirectLinkToggle.d.ts +1 -1
  107. package/funcs/templatesDirectLinkToggle.d.ts.map +1 -1
  108. package/funcs/templatesDirectLinkToggle.js +2 -1
  109. package/funcs/templatesDirectLinkToggle.js.map +1 -1
  110. package/funcs/templatesDuplicate.d.ts +1 -1
  111. package/funcs/templatesDuplicate.d.ts.map +1 -1
  112. package/funcs/templatesDuplicate.js +1 -1
  113. package/funcs/templatesDuplicate.js.map +1 -1
  114. package/funcs/templatesFieldsCreate.d.ts +1 -1
  115. package/funcs/templatesFieldsCreate.d.ts.map +1 -1
  116. package/funcs/templatesFieldsCreate.js +1 -1
  117. package/funcs/templatesFieldsCreate.js.map +1 -1
  118. package/funcs/templatesFieldsCreateMany.d.ts +1 -1
  119. package/funcs/templatesFieldsCreateMany.d.ts.map +1 -1
  120. package/funcs/templatesFieldsCreateMany.js +1 -1
  121. package/funcs/templatesFieldsCreateMany.js.map +1 -1
  122. package/funcs/templatesFieldsDelete.d.ts +1 -1
  123. package/funcs/templatesFieldsDelete.d.ts.map +1 -1
  124. package/funcs/templatesFieldsDelete.js +1 -2
  125. package/funcs/templatesFieldsDelete.js.map +1 -1
  126. package/funcs/templatesFieldsGet.d.ts +16 -0
  127. package/funcs/templatesFieldsGet.d.ts.map +1 -0
  128. package/funcs/templatesFieldsGet.js +117 -0
  129. package/funcs/templatesFieldsGet.js.map +1 -0
  130. package/funcs/templatesFieldsUpdate.d.ts +1 -1
  131. package/funcs/templatesFieldsUpdate.d.ts.map +1 -1
  132. package/funcs/templatesFieldsUpdate.js +1 -1
  133. package/funcs/templatesFieldsUpdate.js.map +1 -1
  134. package/funcs/templatesFieldsUpdateMany.d.ts +1 -1
  135. package/funcs/templatesFieldsUpdateMany.d.ts.map +1 -1
  136. package/funcs/templatesFieldsUpdateMany.js +1 -1
  137. package/funcs/templatesFieldsUpdateMany.js.map +1 -1
  138. package/funcs/templatesFind.d.ts +1 -1
  139. package/funcs/templatesFind.d.ts.map +1 -1
  140. package/funcs/templatesFind.js +1 -1
  141. package/funcs/templatesFind.js.map +1 -1
  142. package/funcs/templatesGet.d.ts +1 -1
  143. package/funcs/templatesGet.d.ts.map +1 -1
  144. package/funcs/templatesGet.js +1 -1
  145. package/funcs/templatesGet.js.map +1 -1
  146. package/funcs/templatesMoveToTeam.d.ts +1 -1
  147. package/funcs/templatesMoveToTeam.d.ts.map +1 -1
  148. package/funcs/templatesMoveToTeam.js +1 -1
  149. package/funcs/templatesMoveToTeam.js.map +1 -1
  150. package/funcs/templatesRecipientsCreate.d.ts +1 -1
  151. package/funcs/templatesRecipientsCreate.d.ts.map +1 -1
  152. package/funcs/templatesRecipientsCreate.js +2 -1
  153. package/funcs/templatesRecipientsCreate.js.map +1 -1
  154. package/funcs/templatesRecipientsCreateMany.d.ts +1 -1
  155. package/funcs/templatesRecipientsCreateMany.d.ts.map +1 -1
  156. package/funcs/templatesRecipientsCreateMany.js +2 -1
  157. package/funcs/templatesRecipientsCreateMany.js.map +1 -1
  158. package/funcs/templatesRecipientsDelete.d.ts +1 -1
  159. package/funcs/templatesRecipientsDelete.d.ts.map +1 -1
  160. package/funcs/templatesRecipientsDelete.js +2 -2
  161. package/funcs/templatesRecipientsDelete.js.map +1 -1
  162. package/funcs/templatesRecipientsGet.d.ts +16 -0
  163. package/funcs/templatesRecipientsGet.d.ts.map +1 -0
  164. package/funcs/templatesRecipientsGet.js +118 -0
  165. package/funcs/templatesRecipientsGet.js.map +1 -0
  166. package/funcs/templatesRecipientsUpdate.d.ts +1 -1
  167. package/funcs/templatesRecipientsUpdate.d.ts.map +1 -1
  168. package/funcs/templatesRecipientsUpdate.js +2 -1
  169. package/funcs/templatesRecipientsUpdate.js.map +1 -1
  170. package/funcs/templatesRecipientsUpdateMany.d.ts +1 -1
  171. package/funcs/templatesRecipientsUpdateMany.d.ts.map +1 -1
  172. package/funcs/templatesRecipientsUpdateMany.js +2 -1
  173. package/funcs/templatesRecipientsUpdateMany.js.map +1 -1
  174. package/funcs/templatesUpdate.d.ts +1 -1
  175. package/funcs/templatesUpdate.d.ts.map +1 -1
  176. package/funcs/templatesUpdate.js +1 -1
  177. package/funcs/templatesUpdate.js.map +1 -1
  178. package/funcs/templatesUse.d.ts +1 -1
  179. package/funcs/templatesUse.d.ts.map +1 -1
  180. package/funcs/templatesUse.js +2 -1
  181. package/funcs/templatesUse.js.map +1 -1
  182. package/hooks/hooks.d.ts.map +1 -1
  183. package/hooks/hooks.js +0 -2
  184. package/hooks/hooks.js.map +1 -1
  185. package/jsr.json +1 -1
  186. package/lib/config.d.ts +4 -4
  187. package/lib/config.d.ts.map +1 -1
  188. package/lib/config.js +4 -4
  189. package/lib/config.js.map +1 -1
  190. package/lib/schemas.d.ts +1 -1
  191. package/lib/schemas.d.ts.map +1 -1
  192. package/lib/schemas.js +4 -1
  193. package/lib/schemas.js.map +1 -1
  194. package/models/errors/documentcreatedocumenttemporary.d.ts +134 -0
  195. package/models/errors/documentcreatedocumenttemporary.d.ts.map +1 -0
  196. package/models/errors/documentcreatedocumenttemporary.js +186 -0
  197. package/models/errors/documentcreatedocumenttemporary.js.map +1 -0
  198. package/models/errors/documentdeletedocument.d.ts +134 -0
  199. package/models/errors/documentdeletedocument.d.ts.map +1 -0
  200. package/models/errors/documentdeletedocument.js +188 -0
  201. package/models/errors/documentdeletedocument.js.map +1 -0
  202. package/models/errors/documentduplicatedocument.d.ts +134 -0
  203. package/models/errors/documentduplicatedocument.d.ts.map +1 -0
  204. package/models/errors/documentduplicatedocument.js +187 -0
  205. package/models/errors/documentduplicatedocument.js.map +1 -0
  206. package/models/errors/documentfinddocuments.d.ts +199 -0
  207. package/models/errors/documentfinddocuments.d.ts.map +1 -0
  208. package/models/errors/documentfinddocuments.js +261 -0
  209. package/models/errors/documentfinddocuments.js.map +1 -0
  210. package/models/errors/documentgetdocumentwithdetailsbyid.d.ts +199 -0
  211. package/models/errors/documentgetdocumentwithdetailsbyid.d.ts.map +1 -0
  212. package/models/errors/documentgetdocumentwithdetailsbyid.js +261 -0
  213. package/models/errors/documentgetdocumentwithdetailsbyid.js.map +1 -0
  214. package/models/errors/documentmovedocumenttoteam.d.ts +134 -0
  215. package/models/errors/documentmovedocumenttoteam.d.ts.map +1 -0
  216. package/models/errors/documentmovedocumenttoteam.js +187 -0
  217. package/models/errors/documentmovedocumenttoteam.js.map +1 -0
  218. package/models/errors/documentresenddocument.d.ts +134 -0
  219. package/models/errors/documentresenddocument.d.ts.map +1 -0
  220. package/models/errors/documentresenddocument.js +188 -0
  221. package/models/errors/documentresenddocument.js.map +1 -0
  222. package/models/errors/documentsenddocument.d.ts +134 -0
  223. package/models/errors/documentsenddocument.d.ts.map +1 -0
  224. package/models/errors/documentsenddocument.js +188 -0
  225. package/models/errors/documentsenddocument.js.map +1 -0
  226. package/models/errors/documentsetsettingsfordocument.d.ts +134 -0
  227. package/models/errors/documentsetsettingsfordocument.d.ts.map +1 -0
  228. package/models/errors/documentsetsettingsfordocument.js +186 -0
  229. package/models/errors/documentsetsettingsfordocument.js.map +1 -0
  230. package/models/errors/fieldcreatedocumentfield.d.ts +134 -0
  231. package/models/errors/fieldcreatedocumentfield.d.ts.map +1 -0
  232. package/models/errors/fieldcreatedocumentfield.js +188 -0
  233. package/models/errors/fieldcreatedocumentfield.js.map +1 -0
  234. package/models/errors/fieldcreatedocumentfields.d.ts +134 -0
  235. package/models/errors/fieldcreatedocumentfields.d.ts.map +1 -0
  236. package/models/errors/fieldcreatedocumentfields.js +187 -0
  237. package/models/errors/fieldcreatedocumentfields.js.map +1 -0
  238. package/models/errors/fieldcreatetemplatefield.d.ts +134 -0
  239. package/models/errors/fieldcreatetemplatefield.d.ts.map +1 -0
  240. package/models/errors/fieldcreatetemplatefield.js +188 -0
  241. package/models/errors/fieldcreatetemplatefield.js.map +1 -0
  242. package/models/errors/fieldcreatetemplatefields.d.ts +134 -0
  243. package/models/errors/fieldcreatetemplatefields.d.ts.map +1 -0
  244. package/models/errors/fieldcreatetemplatefields.js +187 -0
  245. package/models/errors/fieldcreatetemplatefields.js.map +1 -0
  246. package/models/errors/fielddeletedocumentfield.d.ts +134 -0
  247. package/models/errors/fielddeletedocumentfield.d.ts.map +1 -0
  248. package/models/errors/fielddeletedocumentfield.js +188 -0
  249. package/models/errors/fielddeletedocumentfield.js.map +1 -0
  250. package/models/errors/fielddeletetemplatefield.d.ts +134 -0
  251. package/models/errors/fielddeletetemplatefield.d.ts.map +1 -0
  252. package/models/errors/fielddeletetemplatefield.js +188 -0
  253. package/models/errors/fielddeletetemplatefield.js.map +1 -0
  254. package/models/errors/fieldgetdocumentfield.d.ts +199 -0
  255. package/models/errors/fieldgetdocumentfield.d.ts.map +1 -0
  256. package/models/errors/fieldgetdocumentfield.js +260 -0
  257. package/models/errors/fieldgetdocumentfield.js.map +1 -0
  258. package/models/errors/fieldgettemplatefield.d.ts +199 -0
  259. package/models/errors/fieldgettemplatefield.d.ts.map +1 -0
  260. package/models/errors/fieldgettemplatefield.js +260 -0
  261. package/models/errors/fieldgettemplatefield.js.map +1 -0
  262. package/models/errors/fieldupdatedocumentfield.d.ts +134 -0
  263. package/models/errors/fieldupdatedocumentfield.d.ts.map +1 -0
  264. package/models/errors/fieldupdatedocumentfield.js +188 -0
  265. package/models/errors/fieldupdatedocumentfield.js.map +1 -0
  266. package/models/errors/fieldupdatedocumentfields.d.ts +134 -0
  267. package/models/errors/fieldupdatedocumentfields.d.ts.map +1 -0
  268. package/models/errors/fieldupdatedocumentfields.js +187 -0
  269. package/models/errors/fieldupdatedocumentfields.js.map +1 -0
  270. package/models/errors/fieldupdatetemplatefield.d.ts +134 -0
  271. package/models/errors/fieldupdatetemplatefield.d.ts.map +1 -0
  272. package/models/errors/fieldupdatetemplatefield.js +188 -0
  273. package/models/errors/fieldupdatetemplatefield.js.map +1 -0
  274. package/models/errors/fieldupdatetemplatefields.d.ts +134 -0
  275. package/models/errors/fieldupdatetemplatefields.d.ts.map +1 -0
  276. package/models/errors/fieldupdatetemplatefields.js +187 -0
  277. package/models/errors/fieldupdatetemplatefields.js.map +1 -0
  278. package/models/errors/index.d.ts +43 -3
  279. package/models/errors/index.d.ts.map +1 -1
  280. package/models/errors/index.js +43 -3
  281. package/models/errors/index.js.map +1 -1
  282. package/models/errors/recipientcreatedocumentrecipient.d.ts +134 -0
  283. package/models/errors/recipientcreatedocumentrecipient.d.ts.map +1 -0
  284. package/models/errors/recipientcreatedocumentrecipient.js +189 -0
  285. package/models/errors/recipientcreatedocumentrecipient.js.map +1 -0
  286. package/models/errors/recipientcreatedocumentrecipients.d.ts +134 -0
  287. package/models/errors/recipientcreatedocumentrecipients.d.ts.map +1 -0
  288. package/models/errors/recipientcreatedocumentrecipients.js +189 -0
  289. package/models/errors/recipientcreatedocumentrecipients.js.map +1 -0
  290. package/models/errors/recipientcreatetemplaterecipient.d.ts +134 -0
  291. package/models/errors/recipientcreatetemplaterecipient.d.ts.map +1 -0
  292. package/models/errors/recipientcreatetemplaterecipient.js +189 -0
  293. package/models/errors/recipientcreatetemplaterecipient.js.map +1 -0
  294. package/models/errors/recipientcreatetemplaterecipients.d.ts +134 -0
  295. package/models/errors/recipientcreatetemplaterecipients.d.ts.map +1 -0
  296. package/models/errors/recipientcreatetemplaterecipients.js +189 -0
  297. package/models/errors/recipientcreatetemplaterecipients.js.map +1 -0
  298. package/models/errors/recipientdeletedocumentrecipient.d.ts +134 -0
  299. package/models/errors/recipientdeletedocumentrecipient.d.ts.map +1 -0
  300. package/models/errors/recipientdeletedocumentrecipient.js +189 -0
  301. package/models/errors/recipientdeletedocumentrecipient.js.map +1 -0
  302. package/models/errors/recipientdeletetemplaterecipient.d.ts +134 -0
  303. package/models/errors/recipientdeletetemplaterecipient.d.ts.map +1 -0
  304. package/models/errors/recipientdeletetemplaterecipient.js +189 -0
  305. package/models/errors/recipientdeletetemplaterecipient.js.map +1 -0
  306. package/models/errors/recipientgetdocumentrecipient.d.ts +199 -0
  307. package/models/errors/recipientgetdocumentrecipient.d.ts.map +1 -0
  308. package/models/errors/recipientgetdocumentrecipient.js +262 -0
  309. package/models/errors/recipientgetdocumentrecipient.js.map +1 -0
  310. package/models/errors/recipientgettemplaterecipient.d.ts +199 -0
  311. package/models/errors/recipientgettemplaterecipient.d.ts.map +1 -0
  312. package/models/errors/recipientgettemplaterecipient.js +262 -0
  313. package/models/errors/recipientgettemplaterecipient.js.map +1 -0
  314. package/models/errors/recipientupdatedocumentrecipient.d.ts +134 -0
  315. package/models/errors/recipientupdatedocumentrecipient.d.ts.map +1 -0
  316. package/models/errors/recipientupdatedocumentrecipient.js +189 -0
  317. package/models/errors/recipientupdatedocumentrecipient.js.map +1 -0
  318. package/models/errors/recipientupdatedocumentrecipients.d.ts +134 -0
  319. package/models/errors/recipientupdatedocumentrecipients.d.ts.map +1 -0
  320. package/models/errors/recipientupdatedocumentrecipients.js +189 -0
  321. package/models/errors/recipientupdatedocumentrecipients.js.map +1 -0
  322. package/models/errors/recipientupdatetemplaterecipient.d.ts +134 -0
  323. package/models/errors/recipientupdatetemplaterecipient.d.ts.map +1 -0
  324. package/models/errors/recipientupdatetemplaterecipient.js +189 -0
  325. package/models/errors/recipientupdatetemplaterecipient.js.map +1 -0
  326. package/models/errors/recipientupdatetemplaterecipients.d.ts +134 -0
  327. package/models/errors/recipientupdatetemplaterecipients.d.ts.map +1 -0
  328. package/models/errors/recipientupdatetemplaterecipients.js +189 -0
  329. package/models/errors/recipientupdatetemplaterecipients.js.map +1 -0
  330. package/models/errors/templatecreatedocumentfromtemplate.d.ts +134 -0
  331. package/models/errors/templatecreatedocumentfromtemplate.d.ts.map +1 -0
  332. package/models/errors/templatecreatedocumentfromtemplate.js +186 -0
  333. package/models/errors/templatecreatedocumentfromtemplate.js.map +1 -0
  334. package/models/errors/templatecreatetemplatedirectlink.d.ts +134 -0
  335. package/models/errors/templatecreatetemplatedirectlink.d.ts.map +1 -0
  336. package/models/errors/templatecreatetemplatedirectlink.js +189 -0
  337. package/models/errors/templatecreatetemplatedirectlink.js.map +1 -0
  338. package/models/errors/templatedeletetemplate.d.ts +134 -0
  339. package/models/errors/templatedeletetemplate.d.ts.map +1 -0
  340. package/models/errors/templatedeletetemplate.js +188 -0
  341. package/models/errors/templatedeletetemplate.js.map +1 -0
  342. package/models/errors/templatedeletetemplatedirectlink.d.ts +134 -0
  343. package/models/errors/templatedeletetemplatedirectlink.d.ts.map +1 -0
  344. package/models/errors/templatedeletetemplatedirectlink.js +189 -0
  345. package/models/errors/templatedeletetemplatedirectlink.js.map +1 -0
  346. package/models/errors/templateduplicatetemplate.d.ts +134 -0
  347. package/models/errors/templateduplicatetemplate.d.ts.map +1 -0
  348. package/models/errors/templateduplicatetemplate.js +187 -0
  349. package/models/errors/templateduplicatetemplate.js.map +1 -0
  350. package/models/errors/templatefindtemplates.d.ts +199 -0
  351. package/models/errors/templatefindtemplates.d.ts.map +1 -0
  352. package/models/errors/templatefindtemplates.js +260 -0
  353. package/models/errors/templatefindtemplates.js.map +1 -0
  354. package/models/errors/templategettemplatebyid.d.ts +199 -0
  355. package/models/errors/templategettemplatebyid.d.ts.map +1 -0
  356. package/models/errors/templategettemplatebyid.js +260 -0
  357. package/models/errors/templategettemplatebyid.js.map +1 -0
  358. package/models/errors/templatemovetemplatetoteam.d.ts +134 -0
  359. package/models/errors/templatemovetemplatetoteam.d.ts.map +1 -0
  360. package/models/errors/templatemovetemplatetoteam.js +187 -0
  361. package/models/errors/templatemovetemplatetoteam.js.map +1 -0
  362. package/models/errors/templatetoggletemplatedirectlink.d.ts +134 -0
  363. package/models/errors/templatetoggletemplatedirectlink.d.ts.map +1 -0
  364. package/models/errors/templatetoggletemplatedirectlink.js +189 -0
  365. package/models/errors/templatetoggletemplatedirectlink.js.map +1 -0
  366. package/models/errors/templateupdatetemplate.d.ts +134 -0
  367. package/models/errors/templateupdatetemplate.d.ts.map +1 -0
  368. package/models/errors/templateupdatetemplate.js +188 -0
  369. package/models/errors/templateupdatetemplate.js.map +1 -0
  370. package/models/operations/documentdeletedocument.d.ts +28 -0
  371. package/models/operations/documentdeletedocument.d.ts.map +1 -1
  372. package/models/operations/documentdeletedocument.js +28 -1
  373. package/models/operations/documentdeletedocument.js.map +1 -1
  374. package/models/operations/documentresenddocument.d.ts +28 -0
  375. package/models/operations/documentresenddocument.d.ts.map +1 -1
  376. package/models/operations/documentresenddocument.js +28 -1
  377. package/models/operations/documentresenddocument.js.map +1 -1
  378. package/models/operations/fielddeletedocumentfield.d.ts +28 -0
  379. package/models/operations/fielddeletedocumentfield.d.ts.map +1 -1
  380. package/models/operations/fielddeletedocumentfield.js +28 -1
  381. package/models/operations/fielddeletedocumentfield.js.map +1 -1
  382. package/models/operations/fielddeletetemplatefield.d.ts +28 -0
  383. package/models/operations/fielddeletetemplatefield.d.ts.map +1 -1
  384. package/models/operations/fielddeletetemplatefield.js +28 -1
  385. package/models/operations/fielddeletetemplatefield.js.map +1 -1
  386. package/models/operations/{fieldgetfield.d.ts → fieldgetdocumentfield.d.ts} +142 -142
  387. package/models/operations/fieldgetdocumentfield.d.ts.map +1 -0
  388. package/models/operations/fieldgetdocumentfield.js +817 -0
  389. package/models/operations/fieldgetdocumentfield.js.map +1 -0
  390. package/models/operations/fieldgettemplatefield.d.ts +774 -0
  391. package/models/operations/fieldgettemplatefield.d.ts.map +1 -0
  392. package/models/operations/fieldgettemplatefield.js +819 -0
  393. package/models/operations/fieldgettemplatefield.js.map +1 -0
  394. package/models/operations/index.d.ts +4 -2
  395. package/models/operations/index.d.ts.map +1 -1
  396. package/models/operations/index.js +4 -2
  397. package/models/operations/index.js.map +1 -1
  398. package/models/operations/recipientdeletedocumentrecipient.d.ts +28 -0
  399. package/models/operations/recipientdeletedocumentrecipient.d.ts.map +1 -1
  400. package/models/operations/recipientdeletedocumentrecipient.js +28 -1
  401. package/models/operations/recipientdeletedocumentrecipient.js.map +1 -1
  402. package/models/operations/recipientdeletetemplaterecipient.d.ts +28 -0
  403. package/models/operations/recipientdeletetemplaterecipient.d.ts.map +1 -1
  404. package/models/operations/recipientdeletetemplaterecipient.js +28 -1
  405. package/models/operations/recipientdeletetemplaterecipient.js.map +1 -1
  406. package/models/operations/recipientgetdocumentrecipient.d.ts +1041 -0
  407. package/models/operations/recipientgetdocumentrecipient.d.ts.map +1 -0
  408. package/models/operations/recipientgetdocumentrecipient.js +1038 -0
  409. package/models/operations/recipientgetdocumentrecipient.js.map +1 -0
  410. package/models/operations/recipientgettemplaterecipient.d.ts +1041 -0
  411. package/models/operations/recipientgettemplaterecipient.d.ts.map +1 -0
  412. package/models/operations/recipientgettemplaterecipient.js +1039 -0
  413. package/models/operations/recipientgettemplaterecipient.js.map +1 -0
  414. package/models/operations/templatedeletetemplate.d.ts +28 -0
  415. package/models/operations/templatedeletetemplate.d.ts.map +1 -1
  416. package/models/operations/templatedeletetemplate.js +28 -1
  417. package/models/operations/templatedeletetemplate.js.map +1 -1
  418. package/models/operations/templatedeletetemplatedirectlink.d.ts +28 -0
  419. package/models/operations/templatedeletetemplatedirectlink.d.ts.map +1 -1
  420. package/models/operations/templatedeletetemplatedirectlink.js +28 -1
  421. package/models/operations/templatedeletetemplatedirectlink.js.map +1 -1
  422. package/package.json +5 -1
  423. package/sdk/directlink.d.ts +1 -1
  424. package/sdk/directlink.d.ts.map +1 -1
  425. package/sdk/documensofields.d.ts +21 -14
  426. package/sdk/documensofields.d.ts.map +1 -1
  427. package/sdk/documensofields.js +29 -19
  428. package/sdk/documensofields.js.map +1 -1
  429. package/sdk/documensorecipients.d.ts +21 -14
  430. package/sdk/documensorecipients.d.ts.map +1 -1
  431. package/sdk/documensorecipients.js +29 -19
  432. package/sdk/documensorecipients.js.map +1 -1
  433. package/sdk/documents.d.ts +6 -6
  434. package/sdk/documents.d.ts.map +1 -1
  435. package/sdk/documents.js +4 -4
  436. package/sdk/documents.js.map +1 -1
  437. package/sdk/fields.d.ts +35 -3
  438. package/sdk/fields.d.ts.map +1 -1
  439. package/sdk/fields.js +51 -4
  440. package/sdk/fields.js.map +1 -1
  441. package/sdk/recipients.d.ts +35 -3
  442. package/sdk/recipients.d.ts.map +1 -1
  443. package/sdk/recipients.js +51 -4
  444. package/sdk/recipients.js.map +1 -1
  445. package/sdk/sdk.d.ts +0 -6
  446. package/sdk/sdk.d.ts.map +1 -1
  447. package/sdk/sdk.js +0 -8
  448. package/sdk/sdk.js.map +1 -1
  449. package/sdk/templates.d.ts +5 -5
  450. package/sdk/templates.d.ts.map +1 -1
  451. package/sdk/templates.js +4 -4
  452. package/sdk/templates.js.map +1 -1
  453. package/src/funcs/documentsCreateV0.ts +12 -6
  454. package/src/funcs/documentsDelete.ts +12 -10
  455. package/src/funcs/documentsDistribute.ts +9 -6
  456. package/src/funcs/documentsDuplicate.ts +9 -6
  457. package/src/funcs/documentsFieldsCreate.ts +9 -6
  458. package/src/funcs/documentsFieldsCreateMany.ts +9 -6
  459. package/src/funcs/documentsFieldsDelete.ts +12 -10
  460. package/src/funcs/{fieldsGet.ts → documentsFieldsGet.ts} +27 -19
  461. package/src/funcs/documentsFieldsUpdate.ts +9 -6
  462. package/src/funcs/documentsFieldsUpdateMany.ts +9 -6
  463. package/src/funcs/documentsFind.ts +15 -9
  464. package/src/funcs/documentsGet.ts +20 -9
  465. package/src/funcs/documentsMoveToTeam.ts +9 -6
  466. package/src/funcs/documentsRecipientsCreate.ts +13 -6
  467. package/src/funcs/documentsRecipientsCreateMany.ts +13 -6
  468. package/src/funcs/documentsRecipientsDelete.ts +19 -10
  469. package/src/funcs/documentsRecipientsGet.ts +163 -0
  470. package/src/funcs/documentsRecipientsUpdate.ts +13 -6
  471. package/src/funcs/documentsRecipientsUpdateMany.ts +13 -6
  472. package/src/funcs/documentsRedistribute.ts +12 -10
  473. package/src/funcs/documentsUpdate.ts +12 -6
  474. package/src/funcs/templatesDelete.ts +12 -10
  475. package/src/funcs/templatesDirectLinkCreate.ts +13 -6
  476. package/src/funcs/templatesDirectLinkDelete.ts +19 -10
  477. package/src/funcs/templatesDirectLinkToggle.ts +13 -6
  478. package/src/funcs/templatesDuplicate.ts +9 -6
  479. package/src/funcs/templatesFieldsCreate.ts +9 -6
  480. package/src/funcs/templatesFieldsCreateMany.ts +9 -6
  481. package/src/funcs/templatesFieldsDelete.ts +12 -10
  482. package/src/funcs/{recipientsGet.ts → templatesFieldsGet.ts} +27 -20
  483. package/src/funcs/templatesFieldsUpdate.ts +9 -6
  484. package/src/funcs/templatesFieldsUpdateMany.ts +9 -6
  485. package/src/funcs/templatesFind.ts +15 -9
  486. package/src/funcs/templatesGet.ts +15 -9
  487. package/src/funcs/templatesMoveToTeam.ts +9 -6
  488. package/src/funcs/templatesRecipientsCreate.ts +13 -6
  489. package/src/funcs/templatesRecipientsCreateMany.ts +13 -6
  490. package/src/funcs/templatesRecipientsDelete.ts +19 -10
  491. package/src/funcs/templatesRecipientsGet.ts +163 -0
  492. package/src/funcs/templatesRecipientsUpdate.ts +13 -6
  493. package/src/funcs/templatesRecipientsUpdateMany.ts +13 -6
  494. package/src/funcs/templatesUpdate.ts +9 -6
  495. package/src/funcs/templatesUse.ts +13 -6
  496. package/src/hooks/hooks.ts +0 -3
  497. package/src/lib/config.ts +4 -4
  498. package/src/lib/schemas.ts +5 -0
  499. package/src/models/errors/documentcreatedocumenttemporary.ts +328 -0
  500. package/src/models/errors/documentdeletedocument.ts +302 -0
  501. package/src/models/errors/documentduplicatedocument.ts +311 -0
  502. package/src/models/errors/documentfinddocuments.ts +435 -0
  503. package/src/models/errors/documentgetdocumentwithdetailsbyid.ts +520 -0
  504. package/src/models/errors/documentmovedocumenttoteam.ts +314 -0
  505. package/src/models/errors/documentresenddocument.ts +302 -0
  506. package/src/models/errors/documentsenddocument.ts +298 -0
  507. package/src/models/errors/documentsetsettingsfordocument.ts +320 -0
  508. package/src/models/errors/fieldcreatedocumentfield.ts +316 -0
  509. package/src/models/errors/fieldcreatedocumentfields.ts +322 -0
  510. package/src/models/errors/fieldcreatetemplatefield.ts +316 -0
  511. package/src/models/errors/fieldcreatetemplatefields.ts +322 -0
  512. package/src/models/errors/fielddeletedocumentfield.ts +316 -0
  513. package/src/models/errors/fielddeletetemplatefield.ts +316 -0
  514. package/src/models/errors/fieldgetdocumentfield.ts +486 -0
  515. package/src/models/errors/fieldgettemplatefield.ts +486 -0
  516. package/src/models/errors/fieldupdatedocumentfield.ts +316 -0
  517. package/src/models/errors/fieldupdatedocumentfields.ts +322 -0
  518. package/src/models/errors/fieldupdatetemplatefield.ts +316 -0
  519. package/src/models/errors/fieldupdatetemplatefields.ts +322 -0
  520. package/src/models/errors/index.ts +43 -3
  521. package/src/models/errors/recipientcreatedocumentrecipient.ts +343 -0
  522. package/src/models/errors/recipientcreatedocumentrecipients.ts +348 -0
  523. package/src/models/errors/recipientcreatetemplaterecipient.ts +343 -0
  524. package/src/models/errors/recipientcreatetemplaterecipients.ts +348 -0
  525. package/src/models/errors/recipientdeletedocumentrecipient.ts +343 -0
  526. package/src/models/errors/recipientdeletetemplaterecipient.ts +343 -0
  527. package/src/models/errors/recipientgetdocumentrecipient.ts +520 -0
  528. package/src/models/errors/recipientgettemplaterecipient.ts +520 -0
  529. package/src/models/errors/recipientupdatedocumentrecipient.ts +343 -0
  530. package/src/models/errors/recipientupdatedocumentrecipients.ts +348 -0
  531. package/src/models/errors/recipientupdatetemplaterecipient.ts +343 -0
  532. package/src/models/errors/recipientupdatetemplaterecipients.ts +348 -0
  533. package/src/models/errors/templatecreatedocumentfromtemplate.ts +337 -0
  534. package/src/models/errors/templatecreatetemplatedirectlink.ts +343 -0
  535. package/src/models/errors/templatedeletetemplate.ts +302 -0
  536. package/src/models/errors/templatedeletetemplatedirectlink.ts +343 -0
  537. package/src/models/errors/templateduplicatetemplate.ts +311 -0
  538. package/src/models/errors/templatefindtemplates.ts +463 -0
  539. package/src/models/errors/templategettemplatebyid.ts +473 -0
  540. package/src/models/errors/templatemovetemplatetoteam.ts +314 -0
  541. package/src/models/errors/templatetoggletemplatedirectlink.ts +343 -0
  542. package/src/models/errors/templateupdatetemplate.ts +302 -0
  543. package/src/models/operations/documentdeletedocument.ts +65 -0
  544. package/src/models/operations/documentresenddocument.ts +65 -0
  545. package/src/models/operations/fielddeletedocumentfield.ts +66 -0
  546. package/src/models/operations/fielddeletetemplatefield.ts +66 -0
  547. package/src/models/operations/{fieldgetfield.ts → fieldgetdocumentfield.ts} +337 -282
  548. package/src/models/operations/fieldgettemplatefield.ts +1697 -0
  549. package/src/models/operations/index.ts +4 -2
  550. package/src/models/operations/recipientdeletedocumentrecipient.ts +74 -0
  551. package/src/models/operations/recipientdeletetemplaterecipient.ts +74 -0
  552. package/src/models/operations/recipientgetdocumentrecipient.ts +2235 -0
  553. package/src/models/operations/recipientgettemplaterecipient.ts +2251 -0
  554. package/src/models/operations/templatedeletetemplate.ts +65 -0
  555. package/src/models/operations/templatedeletetemplatedirectlink.ts +74 -0
  556. package/src/sdk/directlink.ts +1 -1
  557. package/src/sdk/documensofields.ts +47 -29
  558. package/src/sdk/documensorecipients.ts +47 -29
  559. package/src/sdk/documents.ts +10 -10
  560. package/src/sdk/fields.ts +93 -6
  561. package/src/sdk/recipients.ts +93 -6
  562. package/src/sdk/sdk.ts +0 -12
  563. package/src/sdk/templates.ts +9 -11
  564. package/.devcontainer/README.md +0 -30
  565. package/.devcontainer/devcontainer.json +0 -45
  566. package/docs/sdks/documensotemplatesfields/README.md +0 -456
  567. package/docs/sdks/documensotemplatesrecipients/README.md +0 -440
  568. package/funcs/fieldsGet.d.ts +0 -16
  569. package/funcs/fieldsGet.d.ts.map +0 -1
  570. package/funcs/fieldsGet.js.map +0 -1
  571. package/funcs/recipientsGet.d.ts +0 -16
  572. package/funcs/recipientsGet.d.ts.map +0 -1
  573. package/funcs/recipientsGet.js.map +0 -1
  574. package/local-openapi.json +0 -21024
  575. package/models/errors/errorbadrequest.d.ts +0 -84
  576. package/models/errors/errorbadrequest.d.ts.map +0 -1
  577. package/models/errors/errorbadrequest.js +0 -115
  578. package/models/errors/errorbadrequest.js.map +0 -1
  579. package/models/errors/errorinternalservererror.d.ts +0 -84
  580. package/models/errors/errorinternalservererror.d.ts.map +0 -1
  581. package/models/errors/errorinternalservererror.js +0 -116
  582. package/models/errors/errorinternalservererror.js.map +0 -1
  583. package/models/errors/errornotfound.d.ts +0 -84
  584. package/models/errors/errornotfound.d.ts.map +0 -1
  585. package/models/errors/errornotfound.js +0 -115
  586. package/models/errors/errornotfound.js.map +0 -1
  587. package/models/operations/fieldgetfield.d.ts.map +0 -1
  588. package/models/operations/fieldgetfield.js +0 -820
  589. package/models/operations/fieldgetfield.js.map +0 -1
  590. package/models/operations/recipientgetrecipient.d.ts +0 -1041
  591. package/models/operations/recipientgetrecipient.d.ts.map +0 -1
  592. package/models/operations/recipientgetrecipient.js +0 -1033
  593. package/models/operations/recipientgetrecipient.js.map +0 -1
  594. package/sdk/documensotemplatesfields.d.ts +0 -37
  595. package/sdk/documensotemplatesfields.d.ts.map +0 -1
  596. package/sdk/documensotemplatesfields.js +0 -59
  597. package/sdk/documensotemplatesfields.js.map +0 -1
  598. package/sdk/documensotemplatesrecipients.d.ts +0 -37
  599. package/sdk/documensotemplatesrecipients.d.ts.map +0 -1
  600. package/sdk/documensotemplatesrecipients.js +0 -59
  601. package/sdk/documensotemplatesrecipients.js.map +0 -1
  602. package/src/models/errors/errorbadrequest.ts +0 -154
  603. package/src/models/errors/errorinternalservererror.ts +0 -165
  604. package/src/models/errors/errornotfound.ts +0 -162
  605. package/src/models/operations/recipientgetrecipient.ts +0 -2060
  606. package/src/sdk/documensotemplatesfields.ts +0 -96
  607. package/src/sdk/documensotemplatesrecipients.ts +0 -96
@@ -0,0 +1,189 @@
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.RecipientUpdateTemplateRecipientResponseBody$ = exports.RecipientUpdateTemplateRecipientResponseBody$outboundSchema = exports.RecipientUpdateTemplateRecipientResponseBody$inboundSchema = exports.RecipientUpdateTemplateRecipientIssues$ = exports.RecipientUpdateTemplateRecipientIssues$outboundSchema = exports.RecipientUpdateTemplateRecipientIssues$inboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$ = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$outboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$inboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$ = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$outboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$inboundSchema = exports.RecipientUpdateTemplateRecipientResponseBody = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody = void 0;
40
+ exports.recipientUpdateTemplateRecipientTemplatesRecipientsIssuesToJSON = recipientUpdateTemplateRecipientTemplatesRecipientsIssuesToJSON;
41
+ exports.recipientUpdateTemplateRecipientTemplatesRecipientsIssuesFromJSON = recipientUpdateTemplateRecipientTemplatesRecipientsIssuesFromJSON;
42
+ exports.recipientUpdateTemplateRecipientIssuesToJSON = recipientUpdateTemplateRecipientIssuesToJSON;
43
+ exports.recipientUpdateTemplateRecipientIssuesFromJSON = recipientUpdateTemplateRecipientIssuesFromJSON;
44
+ const z = __importStar(require("zod"));
45
+ const schemas_js_1 = require("../../lib/schemas.js");
46
+ /**
47
+ * Internal server error
48
+ */
49
+ class RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody extends Error {
50
+ constructor(err) {
51
+ const message = "message" in err && typeof err.message === "string"
52
+ ? err.message
53
+ : `API error occurred: ${JSON.stringify(err)}`;
54
+ super(message);
55
+ this.data$ = err;
56
+ this.code = err.code;
57
+ if (err.issues != null)
58
+ this.issues = err.issues;
59
+ this.name =
60
+ "RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody";
61
+ }
62
+ }
63
+ exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody = RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody;
64
+ /**
65
+ * Invalid input data
66
+ */
67
+ class RecipientUpdateTemplateRecipientResponseBody extends Error {
68
+ constructor(err) {
69
+ const message = "message" in err && typeof err.message === "string"
70
+ ? err.message
71
+ : `API error occurred: ${JSON.stringify(err)}`;
72
+ super(message);
73
+ this.data$ = err;
74
+ this.code = err.code;
75
+ if (err.issues != null)
76
+ this.issues = err.issues;
77
+ this.name = "RecipientUpdateTemplateRecipientResponseBody";
78
+ }
79
+ }
80
+ exports.RecipientUpdateTemplateRecipientResponseBody = RecipientUpdateTemplateRecipientResponseBody;
81
+ /** @internal */
82
+ exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$inboundSchema = z.object({
83
+ message: z.string(),
84
+ });
85
+ /** @internal */
86
+ exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$outboundSchema = z.object({
87
+ message: z.string(),
88
+ });
89
+ /**
90
+ * @internal
91
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
92
+ */
93
+ var RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$;
94
+ (function (RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$) {
95
+ /** @deprecated use `RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$inboundSchema` instead. */
96
+ RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$.inboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$inboundSchema;
97
+ /** @deprecated use `RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$outboundSchema` instead. */
98
+ RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$.outboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$outboundSchema;
99
+ })(RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$ || (exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$ = RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$ = {}));
100
+ function recipientUpdateTemplateRecipientTemplatesRecipientsIssuesToJSON(recipientUpdateTemplateRecipientTemplatesRecipientsIssues) {
101
+ return JSON.stringify(exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$outboundSchema
102
+ .parse(recipientUpdateTemplateRecipientTemplatesRecipientsIssues));
103
+ }
104
+ function recipientUpdateTemplateRecipientTemplatesRecipientsIssuesFromJSON(jsonString) {
105
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$inboundSchema
106
+ .parse(JSON.parse(x)), `Failed to parse 'RecipientUpdateTemplateRecipientTemplatesRecipientsIssues' from JSON`);
107
+ }
108
+ /** @internal */
109
+ exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$inboundSchema = z.object({
110
+ message: z.string(),
111
+ code: z.string(),
112
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$inboundSchema)).optional(),
113
+ })
114
+ .transform((v) => {
115
+ return new RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody(v);
116
+ });
117
+ /** @internal */
118
+ exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$outboundSchema = z.instanceof(RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody)
119
+ .transform(v => v.data$)
120
+ .pipe(z.object({
121
+ message: z.string(),
122
+ code: z.string(),
123
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientTemplatesRecipientsIssues$outboundSchema)).optional(),
124
+ }));
125
+ /**
126
+ * @internal
127
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
128
+ */
129
+ var RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$;
130
+ (function (RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$) {
131
+ /** @deprecated use `RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$inboundSchema` instead. */
132
+ RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$.inboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$inboundSchema;
133
+ /** @deprecated use `RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$outboundSchema` instead. */
134
+ RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$.outboundSchema = exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$outboundSchema;
135
+ })(RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$ || (exports.RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$ = RecipientUpdateTemplateRecipientTemplatesRecipientsResponseBody$ = {}));
136
+ /** @internal */
137
+ exports.RecipientUpdateTemplateRecipientIssues$inboundSchema = z.object({
138
+ message: z.string(),
139
+ });
140
+ /** @internal */
141
+ exports.RecipientUpdateTemplateRecipientIssues$outboundSchema = z.object({
142
+ message: z.string(),
143
+ });
144
+ /**
145
+ * @internal
146
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
147
+ */
148
+ var RecipientUpdateTemplateRecipientIssues$;
149
+ (function (RecipientUpdateTemplateRecipientIssues$) {
150
+ /** @deprecated use `RecipientUpdateTemplateRecipientIssues$inboundSchema` instead. */
151
+ RecipientUpdateTemplateRecipientIssues$.inboundSchema = exports.RecipientUpdateTemplateRecipientIssues$inboundSchema;
152
+ /** @deprecated use `RecipientUpdateTemplateRecipientIssues$outboundSchema` instead. */
153
+ RecipientUpdateTemplateRecipientIssues$.outboundSchema = exports.RecipientUpdateTemplateRecipientIssues$outboundSchema;
154
+ })(RecipientUpdateTemplateRecipientIssues$ || (exports.RecipientUpdateTemplateRecipientIssues$ = RecipientUpdateTemplateRecipientIssues$ = {}));
155
+ function recipientUpdateTemplateRecipientIssuesToJSON(recipientUpdateTemplateRecipientIssues) {
156
+ return JSON.stringify(exports.RecipientUpdateTemplateRecipientIssues$outboundSchema.parse(recipientUpdateTemplateRecipientIssues));
157
+ }
158
+ function recipientUpdateTemplateRecipientIssuesFromJSON(jsonString) {
159
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RecipientUpdateTemplateRecipientIssues$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RecipientUpdateTemplateRecipientIssues' from JSON`);
160
+ }
161
+ /** @internal */
162
+ exports.RecipientUpdateTemplateRecipientResponseBody$inboundSchema = z.object({
163
+ message: z.string(),
164
+ code: z.string(),
165
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientIssues$inboundSchema)).optional(),
166
+ })
167
+ .transform((v) => {
168
+ return new RecipientUpdateTemplateRecipientResponseBody(v);
169
+ });
170
+ /** @internal */
171
+ exports.RecipientUpdateTemplateRecipientResponseBody$outboundSchema = z.instanceof(RecipientUpdateTemplateRecipientResponseBody)
172
+ .transform(v => v.data$)
173
+ .pipe(z.object({
174
+ message: z.string(),
175
+ code: z.string(),
176
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientIssues$outboundSchema)).optional(),
177
+ }));
178
+ /**
179
+ * @internal
180
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
181
+ */
182
+ var RecipientUpdateTemplateRecipientResponseBody$;
183
+ (function (RecipientUpdateTemplateRecipientResponseBody$) {
184
+ /** @deprecated use `RecipientUpdateTemplateRecipientResponseBody$inboundSchema` instead. */
185
+ RecipientUpdateTemplateRecipientResponseBody$.inboundSchema = exports.RecipientUpdateTemplateRecipientResponseBody$inboundSchema;
186
+ /** @deprecated use `RecipientUpdateTemplateRecipientResponseBody$outboundSchema` instead. */
187
+ RecipientUpdateTemplateRecipientResponseBody$.outboundSchema = exports.RecipientUpdateTemplateRecipientResponseBody$outboundSchema;
188
+ })(RecipientUpdateTemplateRecipientResponseBody$ || (exports.RecipientUpdateTemplateRecipientResponseBody$ = RecipientUpdateTemplateRecipientResponseBody$ = {}));
189
+ //# sourceMappingURL=recipientupdatetemplaterecipient.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipientupdatetemplaterecipient.js","sourceRoot":"","sources":["../../src/models/errors/recipientupdatetemplaterecipient.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqIH,0IAQC;AAED,8IAaC;AA6GD,oGASC;AAED,wGASC;AA3RD,uCAAyB;AACzB,qDAAiD;AAoBjD;;GAEG;AACH,MAAa,+DACX,SAAQ,KAAK;IAUb,YACE,GAAwE;QAExE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,K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,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,4DAAoD,CAAC,CACnE,CAAC,QAAQ,EAAE;CACb,CAAC;KACC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACf,OAAO,IAAI,4CAA4C,CAAC,CAAC,CAAC,CAAC;AAC7D,CAAC,CAAC,CAAC;AASP,gBAAgB;AACH,QAAA,2DAA2D,GAKlE,CAAC,CAAC,UAAU,CAAC,4CAA4C,CAAC;KAC3D,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;KACvB,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC;IACb,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;IACnB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,MAAM,EAAE,CAAC,CAAC,KAAK,CACb,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,6DAAqD,CAAC,CACpE,CAAC,QAAQ,EAAE;CACb,CAAC,CAAC,CAAC;AAER;;;GAGG;AACH,IAAiB,6CAA6C,CAS7D;AATD,WAAiB,6CAA6C;IAC5D,4FAA4F;IAC/E,2DAAa,GACxB,kEAA0D,CAAC;IAC7D,6FAA6F;IAChF,4DAAc,GACzB,mEAA2D,CAAC;AAGhE,CAAC,EATgB,6CAA6C,6DAA7C,6CAA6C,QAS7D"}
@@ -0,0 +1,134 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "./sdkvalidationerror.js";
4
+ export type RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues = {
5
+ message: string;
6
+ };
7
+ /**
8
+ * Internal server error
9
+ */
10
+ export type RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBodyData = {
11
+ message: string;
12
+ code: string;
13
+ issues?: Array<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues> | undefined;
14
+ };
15
+ /**
16
+ * Internal server error
17
+ */
18
+ export declare class RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody extends Error {
19
+ code: string;
20
+ issues?: Array<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues> | undefined;
21
+ /** The original data that was passed to this error instance. */
22
+ data$: RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBodyData;
23
+ constructor(err: RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBodyData);
24
+ }
25
+ export type RecipientUpdateTemplateRecipientsIssues = {
26
+ message: string;
27
+ };
28
+ /**
29
+ * Invalid input data
30
+ */
31
+ export type RecipientUpdateTemplateRecipientsResponseBodyData = {
32
+ message: string;
33
+ code: string;
34
+ issues?: Array<RecipientUpdateTemplateRecipientsIssues> | undefined;
35
+ };
36
+ /**
37
+ * Invalid input data
38
+ */
39
+ export declare class RecipientUpdateTemplateRecipientsResponseBody extends Error {
40
+ code: string;
41
+ issues?: Array<RecipientUpdateTemplateRecipientsIssues> | undefined;
42
+ /** The original data that was passed to this error instance. */
43
+ data$: RecipientUpdateTemplateRecipientsResponseBodyData;
44
+ constructor(err: RecipientUpdateTemplateRecipientsResponseBodyData);
45
+ }
46
+ /** @internal */
47
+ export declare const RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues, z.ZodTypeDef, unknown>;
48
+ /** @internal */
49
+ export type RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$Outbound = {
50
+ message: string;
51
+ };
52
+ /** @internal */
53
+ export declare const RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues>;
54
+ /**
55
+ * @internal
56
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
+ */
58
+ export declare namespace RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$ {
59
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema` instead. */
60
+ const inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues, z.ZodTypeDef, unknown>;
61
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema` instead. */
62
+ const outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues>;
63
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$Outbound` instead. */
64
+ type Outbound = RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$Outbound;
65
+ }
66
+ export declare function recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesToJSON(recipientUpdateTemplateRecipientsTemplatesRecipientsIssues: RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues): string;
67
+ export declare function recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesFromJSON(jsonString: string): SafeParseResult<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues, SDKValidationError>;
68
+ /** @internal */
69
+ export declare const RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody, z.ZodTypeDef, unknown>;
70
+ /** @internal */
71
+ export type RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$Outbound = {
72
+ message: string;
73
+ code: string;
74
+ issues?: Array<RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$Outbound> | undefined;
75
+ };
76
+ /** @internal */
77
+ export declare const RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody>;
78
+ /**
79
+ * @internal
80
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
81
+ */
82
+ export declare namespace RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$ {
83
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$inboundSchema` instead. */
84
+ const inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody, z.ZodTypeDef, unknown>;
85
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$outboundSchema` instead. */
86
+ const outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody>;
87
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$Outbound` instead. */
88
+ type Outbound = RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$Outbound;
89
+ }
90
+ /** @internal */
91
+ export declare const RecipientUpdateTemplateRecipientsIssues$inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsIssues, z.ZodTypeDef, unknown>;
92
+ /** @internal */
93
+ export type RecipientUpdateTemplateRecipientsIssues$Outbound = {
94
+ message: string;
95
+ };
96
+ /** @internal */
97
+ export declare const RecipientUpdateTemplateRecipientsIssues$outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsIssues$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsIssues>;
98
+ /**
99
+ * @internal
100
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
101
+ */
102
+ export declare namespace RecipientUpdateTemplateRecipientsIssues$ {
103
+ /** @deprecated use `RecipientUpdateTemplateRecipientsIssues$inboundSchema` instead. */
104
+ const inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsIssues, z.ZodTypeDef, unknown>;
105
+ /** @deprecated use `RecipientUpdateTemplateRecipientsIssues$outboundSchema` instead. */
106
+ const outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsIssues$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsIssues>;
107
+ /** @deprecated use `RecipientUpdateTemplateRecipientsIssues$Outbound` instead. */
108
+ type Outbound = RecipientUpdateTemplateRecipientsIssues$Outbound;
109
+ }
110
+ export declare function recipientUpdateTemplateRecipientsIssuesToJSON(recipientUpdateTemplateRecipientsIssues: RecipientUpdateTemplateRecipientsIssues): string;
111
+ export declare function recipientUpdateTemplateRecipientsIssuesFromJSON(jsonString: string): SafeParseResult<RecipientUpdateTemplateRecipientsIssues, SDKValidationError>;
112
+ /** @internal */
113
+ export declare const RecipientUpdateTemplateRecipientsResponseBody$inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsResponseBody, z.ZodTypeDef, unknown>;
114
+ /** @internal */
115
+ export type RecipientUpdateTemplateRecipientsResponseBody$Outbound = {
116
+ message: string;
117
+ code: string;
118
+ issues?: Array<RecipientUpdateTemplateRecipientsIssues$Outbound> | undefined;
119
+ };
120
+ /** @internal */
121
+ export declare const RecipientUpdateTemplateRecipientsResponseBody$outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsResponseBody$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsResponseBody>;
122
+ /**
123
+ * @internal
124
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
125
+ */
126
+ export declare namespace RecipientUpdateTemplateRecipientsResponseBody$ {
127
+ /** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$inboundSchema` instead. */
128
+ const inboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsResponseBody, z.ZodTypeDef, unknown>;
129
+ /** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$outboundSchema` instead. */
130
+ const outboundSchema: z.ZodType<RecipientUpdateTemplateRecipientsResponseBody$Outbound, z.ZodTypeDef, RecipientUpdateTemplateRecipientsResponseBody>;
131
+ /** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$Outbound` instead. */
132
+ type Outbound = RecipientUpdateTemplateRecipientsResponseBody$Outbound;
133
+ }
134
+ //# sourceMappingURL=recipientupdatetemplaterecipients.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipientupdatetemplaterecipients.d.ts","sourceRoot":"","sources":["../../src/models/errors/recipientupdatetemplaterecipients.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAE7D,MAAM,MAAM,0DAA0D,GAAG;IACvE,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,oEAAoE,GAC9E;IACE,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EACH,KAAK,CAAC,0DAA0D,CAAC,GACjE,SAAS,CAAC;CACf,CAAC;AAEJ;;GAEG;AACH,qBAAa,gEACX,SAAQ,KAAK;IAEb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EACH,KAAK,CAAC,0DAA0D,CAAC,GACjE,SAAS,CAAC;IAEd,gEAAgE;IAChE,KAAK,EAAE,oEAAoE,CAAC;gBAG1E,GAAG,EAAE,oEAAoE;CAc5E;AAED,MAAM,MAAM,uCAAuC,GAAG;IACpD,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iDAAiD,GAAG;IAC9D,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,uCAAuC,CAAC,GAAG,SAAS,CAAC;CACrE,CAAC;AAEF;;GAEG;AACH,qBAAa,6CAA8C,SAAQ,KAAK;IACtE,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,KAAK,CAAC,uCAAuC,CAAC,GAAG,SAAS,CAAC;IAEpE,gEAAgE;IAChE,KAAK,EA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4DAA4D,EACvE,CAAC,CAAC,OAAO,CACP,sDAAsD,EACtD,CAAC,CAAC,UAAU,EACZ,6CAA6C,CAS1C,CAAC;AAER;;;GAGG;AACH,yBAAiB,8CAA8C,CAAC;IAC9D,6FAA6F;IACtF,MAAM,aAAa,iFACmC,CAAC;IAC9D,8FAA8F;IACvF,MAAM,cAAc,gIACmC,CAAC;IAC/D,wFAAwF;IACxF,KAAY,QAAQ,GAAG,sDAAsD,CAAC;CAC/E"}
@@ -0,0 +1,189 @@
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.RecipientUpdateTemplateRecipientsResponseBody$ = exports.RecipientUpdateTemplateRecipientsResponseBody$outboundSchema = exports.RecipientUpdateTemplateRecipientsResponseBody$inboundSchema = exports.RecipientUpdateTemplateRecipientsIssues$ = exports.RecipientUpdateTemplateRecipientsIssues$outboundSchema = exports.RecipientUpdateTemplateRecipientsIssues$inboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$ = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$outboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$inboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$ = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema = exports.RecipientUpdateTemplateRecipientsResponseBody = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody = void 0;
40
+ exports.recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesToJSON = recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesToJSON;
41
+ exports.recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesFromJSON = recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesFromJSON;
42
+ exports.recipientUpdateTemplateRecipientsIssuesToJSON = recipientUpdateTemplateRecipientsIssuesToJSON;
43
+ exports.recipientUpdateTemplateRecipientsIssuesFromJSON = recipientUpdateTemplateRecipientsIssuesFromJSON;
44
+ const z = __importStar(require("zod"));
45
+ const schemas_js_1 = require("../../lib/schemas.js");
46
+ /**
47
+ * Internal server error
48
+ */
49
+ class RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody extends Error {
50
+ constructor(err) {
51
+ const message = "message" in err && typeof err.message === "string"
52
+ ? err.message
53
+ : `API error occurred: ${JSON.stringify(err)}`;
54
+ super(message);
55
+ this.data$ = err;
56
+ this.code = err.code;
57
+ if (err.issues != null)
58
+ this.issues = err.issues;
59
+ this.name =
60
+ "RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody";
61
+ }
62
+ }
63
+ exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody = RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody;
64
+ /**
65
+ * Invalid input data
66
+ */
67
+ class RecipientUpdateTemplateRecipientsResponseBody extends Error {
68
+ constructor(err) {
69
+ const message = "message" in err && typeof err.message === "string"
70
+ ? err.message
71
+ : `API error occurred: ${JSON.stringify(err)}`;
72
+ super(message);
73
+ this.data$ = err;
74
+ this.code = err.code;
75
+ if (err.issues != null)
76
+ this.issues = err.issues;
77
+ this.name = "RecipientUpdateTemplateRecipientsResponseBody";
78
+ }
79
+ }
80
+ exports.RecipientUpdateTemplateRecipientsResponseBody = RecipientUpdateTemplateRecipientsResponseBody;
81
+ /** @internal */
82
+ exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema = z.object({
83
+ message: z.string(),
84
+ });
85
+ /** @internal */
86
+ exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema = z.object({
87
+ message: z.string(),
88
+ });
89
+ /**
90
+ * @internal
91
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
92
+ */
93
+ var RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$;
94
+ (function (RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$) {
95
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema` instead. */
96
+ RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$.inboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema;
97
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema` instead. */
98
+ RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$.outboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema;
99
+ })(RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$ || (exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$ = RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$ = {}));
100
+ function recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesToJSON(recipientUpdateTemplateRecipientsTemplatesRecipientsIssues) {
101
+ return JSON.stringify(exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema
102
+ .parse(recipientUpdateTemplateRecipientsTemplatesRecipientsIssues));
103
+ }
104
+ function recipientUpdateTemplateRecipientsTemplatesRecipientsIssuesFromJSON(jsonString) {
105
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema
106
+ .parse(JSON.parse(x)), `Failed to parse 'RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues' from JSON`);
107
+ }
108
+ /** @internal */
109
+ exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$inboundSchema = z.object({
110
+ message: z.string(),
111
+ code: z.string(),
112
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$inboundSchema)).optional(),
113
+ })
114
+ .transform((v) => {
115
+ return new RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody(v);
116
+ });
117
+ /** @internal */
118
+ exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$outboundSchema = z.instanceof(RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody)
119
+ .transform(v => v.data$)
120
+ .pipe(z.object({
121
+ message: z.string(),
122
+ code: z.string(),
123
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsIssues$outboundSchema)).optional(),
124
+ }));
125
+ /**
126
+ * @internal
127
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
128
+ */
129
+ var RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$;
130
+ (function (RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$) {
131
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$inboundSchema` instead. */
132
+ RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$.inboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$inboundSchema;
133
+ /** @deprecated use `RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$outboundSchema` instead. */
134
+ RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$.outboundSchema = exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$outboundSchema;
135
+ })(RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$ || (exports.RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$ = RecipientUpdateTemplateRecipientsTemplatesRecipientsResponseBody$ = {}));
136
+ /** @internal */
137
+ exports.RecipientUpdateTemplateRecipientsIssues$inboundSchema = z.object({
138
+ message: z.string(),
139
+ });
140
+ /** @internal */
141
+ exports.RecipientUpdateTemplateRecipientsIssues$outboundSchema = z.object({
142
+ message: z.string(),
143
+ });
144
+ /**
145
+ * @internal
146
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
147
+ */
148
+ var RecipientUpdateTemplateRecipientsIssues$;
149
+ (function (RecipientUpdateTemplateRecipientsIssues$) {
150
+ /** @deprecated use `RecipientUpdateTemplateRecipientsIssues$inboundSchema` instead. */
151
+ RecipientUpdateTemplateRecipientsIssues$.inboundSchema = exports.RecipientUpdateTemplateRecipientsIssues$inboundSchema;
152
+ /** @deprecated use `RecipientUpdateTemplateRecipientsIssues$outboundSchema` instead. */
153
+ RecipientUpdateTemplateRecipientsIssues$.outboundSchema = exports.RecipientUpdateTemplateRecipientsIssues$outboundSchema;
154
+ })(RecipientUpdateTemplateRecipientsIssues$ || (exports.RecipientUpdateTemplateRecipientsIssues$ = RecipientUpdateTemplateRecipientsIssues$ = {}));
155
+ function recipientUpdateTemplateRecipientsIssuesToJSON(recipientUpdateTemplateRecipientsIssues) {
156
+ return JSON.stringify(exports.RecipientUpdateTemplateRecipientsIssues$outboundSchema.parse(recipientUpdateTemplateRecipientsIssues));
157
+ }
158
+ function recipientUpdateTemplateRecipientsIssuesFromJSON(jsonString) {
159
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.RecipientUpdateTemplateRecipientsIssues$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'RecipientUpdateTemplateRecipientsIssues' from JSON`);
160
+ }
161
+ /** @internal */
162
+ exports.RecipientUpdateTemplateRecipientsResponseBody$inboundSchema = z.object({
163
+ message: z.string(),
164
+ code: z.string(),
165
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientsIssues$inboundSchema)).optional(),
166
+ })
167
+ .transform((v) => {
168
+ return new RecipientUpdateTemplateRecipientsResponseBody(v);
169
+ });
170
+ /** @internal */
171
+ exports.RecipientUpdateTemplateRecipientsResponseBody$outboundSchema = z.instanceof(RecipientUpdateTemplateRecipientsResponseBody)
172
+ .transform(v => v.data$)
173
+ .pipe(z.object({
174
+ message: z.string(),
175
+ code: z.string(),
176
+ issues: z.array(z.lazy(() => exports.RecipientUpdateTemplateRecipientsIssues$outboundSchema)).optional(),
177
+ }));
178
+ /**
179
+ * @internal
180
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
181
+ */
182
+ var RecipientUpdateTemplateRecipientsResponseBody$;
183
+ (function (RecipientUpdateTemplateRecipientsResponseBody$) {
184
+ /** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$inboundSchema` instead. */
185
+ RecipientUpdateTemplateRecipientsResponseBody$.inboundSchema = exports.RecipientUpdateTemplateRecipientsResponseBody$inboundSchema;
186
+ /** @deprecated use `RecipientUpdateTemplateRecipientsResponseBody$outboundSchema` instead. */
187
+ RecipientUpdateTemplateRecipientsResponseBody$.outboundSchema = exports.RecipientUpdateTemplateRecipientsResponseBody$outboundSchema;
188
+ })(RecipientUpdateTemplateRecipientsResponseBody$ || (exports.RecipientUpdateTemplateRecipientsResponseBody$ = RecipientUpdateTemplateRecipientsResponseBody$ = {}));
189
+ //# sourceMappingURL=recipientupdatetemplaterecipients.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"recipientupdatetemplaterecipients.js","sourceRoot":"","sources":["../../src/models/errors/recipientupdatetemplaterecipients.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqIH,4IAQC;AAED,gJAaC;AA6GD,sGASC;AAED,0GAcC;AAhSD,uCAAyB;AACzB,qDAAiD;AAoBjD;;GAEG;AACH,MAAa,gEACX,SAAQ,KAAK;IAUb,YACE,GAAyE;QAEzE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;QACjD,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,IAAI,CAAC,KAAK,GAAG,GAAG,CAAC;QAEjB,IAAI,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,CAAC;QACrB,IAAI,GAAG,CAAC,MAAM,IAAI,IAAI;YAAE,IAAI,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QAEjD,IAAI,CAAC,IAAI;YACP,kEAAkE,CAAC;IACvE,CAAC;CACF;AA1BD,4IA0BC;AAeD;;GAEG;AACH,MAAa,6CAA8C,SAAQ,KAAK;IAOtE,YAAY,GAAsD;QAChE,MAAM,OAAO,GAAG,SAAS,IAAI,GAAG,IAAI,OAAO,GAAG,CAAC,OAAO,KAAK,QAAQ;YACjE,CAAC,CAAC,GAAG,CAAC,OAAO;YACb,CAAC,CAAC,uBAAuB,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC;Q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