@unified-api/typescript-sdk 2.54.0 → 2.58.0

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 (385) hide show
  1. package/README.md +24 -0
  2. package/docs/sdks/comment/README.md +512 -0
  3. package/docs/sdks/connection/README.md +4 -4
  4. package/docs/sdks/recording/README.md +500 -0
  5. package/docs/sdks/uc/README.md +1054 -42
  6. package/docs/sdks/unified/README.md +10 -10
  7. package/docs/sdks/webhook/README.md +6 -6
  8. package/funcs/accountingListAccountingReports.js +2 -0
  9. package/funcs/accountingListAccountingReports.js.map +1 -1
  10. package/funcs/commentCreateUcComment.d.ts +14 -0
  11. package/funcs/commentCreateUcComment.d.ts.map +1 -0
  12. package/funcs/commentCreateUcComment.js +109 -0
  13. package/funcs/commentCreateUcComment.js.map +1 -0
  14. package/funcs/commentGetUcComment.d.ts +14 -0
  15. package/funcs/commentGetUcComment.d.ts.map +1 -0
  16. package/funcs/commentGetUcComment.js +112 -0
  17. package/funcs/commentGetUcComment.js.map +1 -0
  18. package/funcs/commentListUcComments.d.ts +14 -0
  19. package/funcs/commentListUcComments.d.ts.map +1 -0
  20. package/funcs/commentListUcComments.js +117 -0
  21. package/funcs/commentListUcComments.js.map +1 -0
  22. package/funcs/commentPatchUcComment.d.ts +14 -0
  23. package/funcs/commentPatchUcComment.d.ts.map +1 -0
  24. package/funcs/commentPatchUcComment.js +113 -0
  25. package/funcs/commentPatchUcComment.js.map +1 -0
  26. package/funcs/commentRemoveUcComment.d.ts +13 -0
  27. package/funcs/commentRemoveUcComment.d.ts.map +1 -0
  28. package/funcs/commentRemoveUcComment.js +110 -0
  29. package/funcs/commentRemoveUcComment.js.map +1 -0
  30. package/funcs/commentUpdateUcComment.d.ts +14 -0
  31. package/funcs/commentUpdateUcComment.d.ts.map +1 -0
  32. package/funcs/commentUpdateUcComment.js +113 -0
  33. package/funcs/commentUpdateUcComment.js.map +1 -0
  34. package/funcs/passthroughCreatePassthroughJson.js +4 -0
  35. package/funcs/passthroughCreatePassthroughJson.js.map +1 -1
  36. package/funcs/passthroughCreatePassthroughRaw.js +4 -0
  37. package/funcs/passthroughCreatePassthroughRaw.js.map +1 -1
  38. package/funcs/passthroughListPassthroughs.js +4 -0
  39. package/funcs/passthroughListPassthroughs.js.map +1 -1
  40. package/funcs/passthroughPatchPassthroughJson.js +4 -0
  41. package/funcs/passthroughPatchPassthroughJson.js.map +1 -1
  42. package/funcs/passthroughPatchPassthroughRaw.js +4 -0
  43. package/funcs/passthroughPatchPassthroughRaw.js.map +1 -1
  44. package/funcs/passthroughRemovePassthrough.js +4 -0
  45. package/funcs/passthroughRemovePassthrough.js.map +1 -1
  46. package/funcs/passthroughUpdatePassthroughJson.js +4 -0
  47. package/funcs/passthroughUpdatePassthroughJson.js.map +1 -1
  48. package/funcs/passthroughUpdatePassthroughRaw.js +4 -0
  49. package/funcs/passthroughUpdatePassthroughRaw.js.map +1 -1
  50. package/funcs/recordingCreateUcRecording.d.ts +14 -0
  51. package/funcs/recordingCreateUcRecording.d.ts.map +1 -0
  52. package/funcs/recordingCreateUcRecording.js +109 -0
  53. package/funcs/recordingCreateUcRecording.js.map +1 -0
  54. package/funcs/recordingGetUcRecording.d.ts +14 -0
  55. package/funcs/recordingGetUcRecording.d.ts.map +1 -0
  56. package/funcs/recordingGetUcRecording.js +112 -0
  57. package/funcs/recordingGetUcRecording.js.map +1 -0
  58. package/funcs/recordingListUcRecordings.d.ts +14 -0
  59. package/funcs/recordingListUcRecordings.d.ts.map +1 -0
  60. package/funcs/recordingListUcRecordings.js +119 -0
  61. package/funcs/recordingListUcRecordings.js.map +1 -0
  62. package/funcs/recordingPatchUcRecording.d.ts +14 -0
  63. package/funcs/recordingPatchUcRecording.d.ts.map +1 -0
  64. package/funcs/recordingPatchUcRecording.js +113 -0
  65. package/funcs/recordingPatchUcRecording.js.map +1 -0
  66. package/funcs/recordingRemoveUcRecording.d.ts +13 -0
  67. package/funcs/recordingRemoveUcRecording.d.ts.map +1 -0
  68. package/funcs/recordingRemoveUcRecording.js +110 -0
  69. package/funcs/recordingRemoveUcRecording.js.map +1 -0
  70. package/funcs/recordingUpdateUcRecording.d.ts +14 -0
  71. package/funcs/recordingUpdateUcRecording.d.ts.map +1 -0
  72. package/funcs/recordingUpdateUcRecording.js +113 -0
  73. package/funcs/recordingUpdateUcRecording.js.map +1 -0
  74. package/funcs/reportListAccountingReports.js +2 -0
  75. package/funcs/reportListAccountingReports.js.map +1 -1
  76. package/funcs/ucCreateUcComment.d.ts +14 -0
  77. package/funcs/ucCreateUcComment.d.ts.map +1 -0
  78. package/funcs/ucCreateUcComment.js +109 -0
  79. package/funcs/ucCreateUcComment.js.map +1 -0
  80. package/funcs/ucCreateUcRecording.d.ts +14 -0
  81. package/funcs/ucCreateUcRecording.d.ts.map +1 -0
  82. package/funcs/ucCreateUcRecording.js +109 -0
  83. package/funcs/ucCreateUcRecording.js.map +1 -0
  84. package/funcs/ucGetUcComment.d.ts +14 -0
  85. package/funcs/ucGetUcComment.d.ts.map +1 -0
  86. package/funcs/ucGetUcComment.js +112 -0
  87. package/funcs/ucGetUcComment.js.map +1 -0
  88. package/funcs/ucGetUcRecording.d.ts +14 -0
  89. package/funcs/ucGetUcRecording.d.ts.map +1 -0
  90. package/funcs/ucGetUcRecording.js +112 -0
  91. package/funcs/ucGetUcRecording.js.map +1 -0
  92. package/funcs/ucListUcComments.d.ts +14 -0
  93. package/funcs/ucListUcComments.d.ts.map +1 -0
  94. package/funcs/ucListUcComments.js +117 -0
  95. package/funcs/ucListUcComments.js.map +1 -0
  96. package/funcs/ucListUcRecordings.d.ts +14 -0
  97. package/funcs/ucListUcRecordings.d.ts.map +1 -0
  98. package/funcs/ucListUcRecordings.js +119 -0
  99. package/funcs/ucListUcRecordings.js.map +1 -0
  100. package/funcs/ucPatchUcComment.d.ts +14 -0
  101. package/funcs/ucPatchUcComment.d.ts.map +1 -0
  102. package/funcs/ucPatchUcComment.js +113 -0
  103. package/funcs/ucPatchUcComment.js.map +1 -0
  104. package/funcs/ucPatchUcRecording.d.ts +14 -0
  105. package/funcs/ucPatchUcRecording.d.ts.map +1 -0
  106. package/funcs/ucPatchUcRecording.js +113 -0
  107. package/funcs/ucPatchUcRecording.js.map +1 -0
  108. package/funcs/ucRemoveUcComment.d.ts +13 -0
  109. package/funcs/ucRemoveUcComment.d.ts.map +1 -0
  110. package/funcs/ucRemoveUcComment.js +110 -0
  111. package/funcs/ucRemoveUcComment.js.map +1 -0
  112. package/funcs/ucRemoveUcRecording.d.ts +13 -0
  113. package/funcs/ucRemoveUcRecording.d.ts.map +1 -0
  114. package/funcs/ucRemoveUcRecording.js +110 -0
  115. package/funcs/ucRemoveUcRecording.js.map +1 -0
  116. package/funcs/ucUpdateUcComment.d.ts +14 -0
  117. package/funcs/ucUpdateUcComment.d.ts.map +1 -0
  118. package/funcs/ucUpdateUcComment.js +113 -0
  119. package/funcs/ucUpdateUcComment.js.map +1 -0
  120. package/funcs/ucUpdateUcRecording.d.ts +14 -0
  121. package/funcs/ucUpdateUcRecording.d.ts.map +1 -0
  122. package/funcs/ucUpdateUcRecording.js +113 -0
  123. package/funcs/ucUpdateUcRecording.js.map +1 -0
  124. package/jsr.json +1 -1
  125. package/lib/config.d.ts +2 -2
  126. package/lib/config.js +2 -2
  127. package/package.json +1 -1
  128. package/sdk/comment.d.ts +24 -0
  129. package/sdk/comment.d.ts.map +1 -1
  130. package/sdk/comment.js +42 -0
  131. package/sdk/comment.js.map +1 -1
  132. package/sdk/models/operations/createpassthroughjson.d.ts +6 -0
  133. package/sdk/models/operations/createpassthroughjson.d.ts.map +1 -1
  134. package/sdk/models/operations/createpassthroughjson.js +2 -0
  135. package/sdk/models/operations/createpassthroughjson.js.map +1 -1
  136. package/sdk/models/operations/createpassthroughraw.d.ts +6 -0
  137. package/sdk/models/operations/createpassthroughraw.d.ts.map +1 -1
  138. package/sdk/models/operations/createpassthroughraw.js +2 -0
  139. package/sdk/models/operations/createpassthroughraw.js.map +1 -1
  140. package/sdk/models/operations/createuccomment.d.ts +40 -0
  141. package/sdk/models/operations/createuccomment.d.ts.map +1 -0
  142. package/sdk/models/operations/createuccomment.js +75 -0
  143. package/sdk/models/operations/createuccomment.js.map +1 -0
  144. package/sdk/models/operations/createucrecording.d.ts +40 -0
  145. package/sdk/models/operations/createucrecording.d.ts.map +1 -0
  146. package/sdk/models/operations/createucrecording.js +75 -0
  147. package/sdk/models/operations/createucrecording.js.map +1 -0
  148. package/sdk/models/operations/getuccomment.d.ts +42 -0
  149. package/sdk/models/operations/getuccomment.d.ts.map +1 -0
  150. package/sdk/models/operations/getuccomment.js +72 -0
  151. package/sdk/models/operations/getuccomment.js.map +1 -0
  152. package/sdk/models/operations/getucrecording.d.ts +42 -0
  153. package/sdk/models/operations/getucrecording.d.ts.map +1 -0
  154. package/sdk/models/operations/getucrecording.js +72 -0
  155. package/sdk/models/operations/getucrecording.js.map +1 -0
  156. package/sdk/models/operations/index.d.ts +12 -0
  157. package/sdk/models/operations/index.d.ts.map +1 -1
  158. package/sdk/models/operations/index.js +12 -0
  159. package/sdk/models/operations/index.js.map +1 -1
  160. package/sdk/models/operations/listaccountingreports.d.ts +4 -0
  161. package/sdk/models/operations/listaccountingreports.d.ts.map +1 -1
  162. package/sdk/models/operations/listaccountingreports.js +8 -0
  163. package/sdk/models/operations/listaccountingreports.js.map +1 -1
  164. package/sdk/models/operations/listpassthroughs.d.ts +6 -0
  165. package/sdk/models/operations/listpassthroughs.d.ts.map +1 -1
  166. package/sdk/models/operations/listpassthroughs.js +2 -0
  167. package/sdk/models/operations/listpassthroughs.js.map +1 -1
  168. package/sdk/models/operations/listuccomments.d.ts +59 -0
  169. package/sdk/models/operations/listuccomments.d.ts.map +1 -0
  170. package/sdk/models/operations/listuccomments.js +93 -0
  171. package/sdk/models/operations/listuccomments.js.map +1 -0
  172. package/sdk/models/operations/listucrecordings.d.ts +63 -0
  173. package/sdk/models/operations/listucrecordings.d.ts.map +1 -0
  174. package/sdk/models/operations/listucrecordings.js +101 -0
  175. package/sdk/models/operations/listucrecordings.js.map +1 -0
  176. package/sdk/models/operations/patchpassthroughjson.d.ts +6 -0
  177. package/sdk/models/operations/patchpassthroughjson.d.ts.map +1 -1
  178. package/sdk/models/operations/patchpassthroughjson.js +2 -0
  179. package/sdk/models/operations/patchpassthroughjson.js.map +1 -1
  180. package/sdk/models/operations/patchpassthroughraw.d.ts +6 -0
  181. package/sdk/models/operations/patchpassthroughraw.d.ts.map +1 -1
  182. package/sdk/models/operations/patchpassthroughraw.js +2 -0
  183. package/sdk/models/operations/patchpassthroughraw.js.map +1 -1
  184. package/sdk/models/operations/patchuccomment.d.ts +45 -0
  185. package/sdk/models/operations/patchuccomment.d.ts.map +1 -0
  186. package/sdk/models/operations/patchuccomment.js +77 -0
  187. package/sdk/models/operations/patchuccomment.js.map +1 -0
  188. package/sdk/models/operations/patchucrecording.d.ts +45 -0
  189. package/sdk/models/operations/patchucrecording.d.ts.map +1 -0
  190. package/sdk/models/operations/patchucrecording.js +77 -0
  191. package/sdk/models/operations/patchucrecording.js.map +1 -0
  192. package/sdk/models/operations/removepassthrough.d.ts +6 -0
  193. package/sdk/models/operations/removepassthrough.d.ts.map +1 -1
  194. package/sdk/models/operations/removepassthrough.js +2 -0
  195. package/sdk/models/operations/removepassthrough.js.map +1 -1
  196. package/sdk/models/operations/removeuccomment.d.ts +66 -0
  197. package/sdk/models/operations/removeuccomment.d.ts.map +1 -0
  198. package/sdk/models/operations/removeuccomment.js +105 -0
  199. package/sdk/models/operations/removeuccomment.js.map +1 -0
  200. package/sdk/models/operations/removeucrecording.d.ts +66 -0
  201. package/sdk/models/operations/removeucrecording.d.ts.map +1 -0
  202. package/sdk/models/operations/removeucrecording.js +105 -0
  203. package/sdk/models/operations/removeucrecording.js.map +1 -0
  204. package/sdk/models/operations/updatepassthroughjson.d.ts +6 -0
  205. package/sdk/models/operations/updatepassthroughjson.d.ts.map +1 -1
  206. package/sdk/models/operations/updatepassthroughjson.js +2 -0
  207. package/sdk/models/operations/updatepassthroughjson.js.map +1 -1
  208. package/sdk/models/operations/updatepassthroughraw.d.ts +6 -0
  209. package/sdk/models/operations/updatepassthroughraw.d.ts.map +1 -1
  210. package/sdk/models/operations/updatepassthroughraw.js +2 -0
  211. package/sdk/models/operations/updatepassthroughraw.js.map +1 -1
  212. package/sdk/models/operations/updateuccomment.d.ts +45 -0
  213. package/sdk/models/operations/updateuccomment.d.ts.map +1 -0
  214. package/sdk/models/operations/updateuccomment.js +77 -0
  215. package/sdk/models/operations/updateuccomment.js.map +1 -0
  216. package/sdk/models/operations/updateucrecording.d.ts +45 -0
  217. package/sdk/models/operations/updateucrecording.d.ts.map +1 -0
  218. package/sdk/models/operations/updateucrecording.js +77 -0
  219. package/sdk/models/operations/updateucrecording.js.map +1 -0
  220. package/sdk/models/shared/accountingattachment.d.ts +6 -6
  221. package/sdk/models/shared/accountingattachment.d.ts.map +1 -1
  222. package/sdk/models/shared/accountingattachment.js +6 -6
  223. package/sdk/models/shared/accountingattachment.js.map +1 -1
  224. package/sdk/models/shared/accountingbalancesheetitem.d.ts +36 -0
  225. package/sdk/models/shared/accountingbalancesheetitem.d.ts.map +1 -0
  226. package/sdk/models/shared/accountingbalancesheetitem.js +79 -0
  227. package/sdk/models/shared/accountingbalancesheetitem.js.map +1 -0
  228. package/sdk/models/shared/accountingprofitandlosscategory.d.ts +34 -0
  229. package/sdk/models/shared/accountingprofitandlosscategory.d.ts.map +1 -0
  230. package/sdk/models/shared/accountingprofitandlosscategory.js +75 -0
  231. package/sdk/models/shared/accountingprofitandlosscategory.js.map +1 -0
  232. package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts +33 -0
  233. package/sdk/models/shared/accountingprofitandlosssubcategory.d.ts.map +1 -0
  234. package/sdk/models/shared/accountingprofitandlosssubcategory.js +72 -0
  235. package/sdk/models/shared/accountingprofitandlosssubcategory.js.map +1 -0
  236. package/sdk/models/shared/accountingreport.d.ts +17 -10
  237. package/sdk/models/shared/accountingreport.d.ts.map +1 -1
  238. package/sdk/models/shared/accountingreport.js +31 -14
  239. package/sdk/models/shared/accountingreport.js.map +1 -1
  240. package/sdk/models/shared/accountingtrialbalancesubitem.d.ts +33 -0
  241. package/sdk/models/shared/accountingtrialbalancesubitem.d.ts.map +1 -0
  242. package/sdk/models/shared/accountingtrialbalancesubitem.js +74 -0
  243. package/sdk/models/shared/accountingtrialbalancesubitem.js.map +1 -0
  244. package/sdk/models/shared/index.d.ts +12 -0
  245. package/sdk/models/shared/index.d.ts.map +1 -1
  246. package/sdk/models/shared/index.js +12 -0
  247. package/sdk/models/shared/index.js.map +1 -1
  248. package/sdk/models/shared/integrationsupport.d.ts +30 -0
  249. package/sdk/models/shared/integrationsupport.d.ts.map +1 -1
  250. package/sdk/models/shared/integrationsupport.js +31 -6
  251. package/sdk/models/shared/integrationsupport.js.map +1 -1
  252. package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts +25 -0
  253. package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.d.ts.map +1 -0
  254. package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js +55 -0
  255. package/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.js.map +1 -0
  256. package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts +36 -0
  257. package/sdk/models/shared/propertyaccountingreportbalancesheet.d.ts.map +1 -0
  258. package/sdk/models/shared/propertyaccountingreportbalancesheet.js +75 -0
  259. package/sdk/models/shared/propertyaccountingreportbalancesheet.js.map +1 -0
  260. package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts +38 -0
  261. package/sdk/models/shared/propertyaccountingreportprofitandloss.d.ts.map +1 -0
  262. package/sdk/models/shared/propertyaccountingreportprofitandloss.js +83 -0
  263. package/sdk/models/shared/propertyaccountingreportprofitandloss.js.map +1 -0
  264. package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts +34 -0
  265. package/sdk/models/shared/propertyaccountingreporttrialbalance.d.ts.map +1 -0
  266. package/sdk/models/shared/propertyaccountingreporttrialbalance.js +77 -0
  267. package/sdk/models/shared/propertyaccountingreporttrialbalance.js.map +1 -0
  268. package/sdk/models/shared/propertyconnectionpermissions.d.ts +9 -0
  269. package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  270. package/sdk/models/shared/propertyconnectionpermissions.js +3 -0
  271. package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  272. package/sdk/models/shared/uccall.d.ts +0 -3
  273. package/sdk/models/shared/uccall.d.ts.map +1 -1
  274. package/sdk/models/shared/uccall.js.map +1 -1
  275. package/sdk/models/shared/uccomment.d.ts +43 -0
  276. package/sdk/models/shared/uccomment.d.ts.map +1 -0
  277. package/sdk/models/shared/uccomment.js +82 -0
  278. package/sdk/models/shared/uccomment.js.map +1 -0
  279. package/sdk/models/shared/uccontact.d.ts +0 -3
  280. package/sdk/models/shared/uccontact.d.ts.map +1 -1
  281. package/sdk/models/shared/uccontact.js.map +1 -1
  282. package/sdk/models/shared/ucrecording.d.ts +60 -0
  283. package/sdk/models/shared/ucrecording.d.ts.map +1 -0
  284. package/sdk/models/shared/ucrecording.js +120 -0
  285. package/sdk/models/shared/ucrecording.js.map +1 -0
  286. package/sdk/models/shared/ucrecordingmedia.d.ts +40 -0
  287. package/sdk/models/shared/ucrecordingmedia.d.ts.map +1 -0
  288. package/sdk/models/shared/ucrecordingmedia.js +87 -0
  289. package/sdk/models/shared/ucrecordingmedia.js.map +1 -0
  290. package/sdk/models/shared/ucrecordingtranscript.d.ts +37 -0
  291. package/sdk/models/shared/ucrecordingtranscript.d.ts.map +1 -0
  292. package/sdk/models/shared/ucrecordingtranscript.js +84 -0
  293. package/sdk/models/shared/ucrecordingtranscript.js.map +1 -0
  294. package/sdk/models/shared/webhook.d.ts +6 -0
  295. package/sdk/models/shared/webhook.d.ts.map +1 -1
  296. package/sdk/models/shared/webhook.js +2 -0
  297. package/sdk/models/shared/webhook.js.map +1 -1
  298. package/sdk/recording.d.ts +24 -0
  299. package/sdk/recording.d.ts.map +1 -1
  300. package/sdk/recording.js +42 -0
  301. package/sdk/recording.js.map +1 -1
  302. package/sdk/uc.d.ts +48 -0
  303. package/sdk/uc.d.ts.map +1 -1
  304. package/sdk/uc.js +84 -0
  305. package/sdk/uc.js.map +1 -1
  306. package/src/funcs/accountingListAccountingReports.ts +2 -0
  307. package/src/funcs/commentCreateUcComment.ts +163 -0
  308. package/src/funcs/commentGetUcComment.ts +166 -0
  309. package/src/funcs/commentListUcComments.ts +171 -0
  310. package/src/funcs/commentPatchUcComment.ts +167 -0
  311. package/src/funcs/commentRemoveUcComment.ts +169 -0
  312. package/src/funcs/commentUpdateUcComment.ts +167 -0
  313. package/src/funcs/passthroughCreatePassthroughJson.ts +6 -1
  314. package/src/funcs/passthroughCreatePassthroughRaw.ts +6 -1
  315. package/src/funcs/passthroughListPassthroughs.ts +6 -1
  316. package/src/funcs/passthroughPatchPassthroughJson.ts +6 -1
  317. package/src/funcs/passthroughPatchPassthroughRaw.ts +6 -1
  318. package/src/funcs/passthroughRemovePassthrough.ts +6 -1
  319. package/src/funcs/passthroughUpdatePassthroughJson.ts +6 -1
  320. package/src/funcs/passthroughUpdatePassthroughRaw.ts +6 -1
  321. package/src/funcs/recordingCreateUcRecording.ts +163 -0
  322. package/src/funcs/recordingGetUcRecording.ts +166 -0
  323. package/src/funcs/recordingListUcRecordings.ts +173 -0
  324. package/src/funcs/recordingPatchUcRecording.ts +167 -0
  325. package/src/funcs/recordingRemoveUcRecording.ts +169 -0
  326. package/src/funcs/recordingUpdateUcRecording.ts +167 -0
  327. package/src/funcs/reportListAccountingReports.ts +2 -0
  328. package/src/funcs/ucCreateUcComment.ts +163 -0
  329. package/src/funcs/ucCreateUcRecording.ts +163 -0
  330. package/src/funcs/ucGetUcComment.ts +166 -0
  331. package/src/funcs/ucGetUcRecording.ts +166 -0
  332. package/src/funcs/ucListUcComments.ts +171 -0
  333. package/src/funcs/ucListUcRecordings.ts +173 -0
  334. package/src/funcs/ucPatchUcComment.ts +167 -0
  335. package/src/funcs/ucPatchUcRecording.ts +167 -0
  336. package/src/funcs/ucRemoveUcComment.ts +169 -0
  337. package/src/funcs/ucRemoveUcRecording.ts +169 -0
  338. package/src/funcs/ucUpdateUcComment.ts +167 -0
  339. package/src/funcs/ucUpdateUcRecording.ts +167 -0
  340. package/src/lib/config.ts +2 -2
  341. package/src/sdk/comment.ts +90 -0
  342. package/src/sdk/models/operations/createpassthroughjson.ts +4 -0
  343. package/src/sdk/models/operations/createpassthroughraw.ts +4 -0
  344. package/src/sdk/models/operations/createuccomment.ts +92 -0
  345. package/src/sdk/models/operations/createucrecording.ts +92 -0
  346. package/src/sdk/models/operations/getuccomment.ts +92 -0
  347. package/src/sdk/models/operations/getucrecording.ts +92 -0
  348. package/src/sdk/models/operations/index.ts +12 -0
  349. package/src/sdk/models/operations/listaccountingreports.ts +12 -0
  350. package/src/sdk/models/operations/listpassthroughs.ts +4 -0
  351. package/src/sdk/models/operations/listuccomments.ts +130 -0
  352. package/src/sdk/models/operations/listucrecordings.ts +142 -0
  353. package/src/sdk/models/operations/patchpassthroughjson.ts +4 -0
  354. package/src/sdk/models/operations/patchpassthroughraw.ts +4 -0
  355. package/src/sdk/models/operations/patchuccomment.ts +99 -0
  356. package/src/sdk/models/operations/patchucrecording.ts +99 -0
  357. package/src/sdk/models/operations/removepassthrough.ts +4 -0
  358. package/src/sdk/models/operations/removeuccomment.ts +151 -0
  359. package/src/sdk/models/operations/removeucrecording.ts +151 -0
  360. package/src/sdk/models/operations/updatepassthroughjson.ts +4 -0
  361. package/src/sdk/models/operations/updatepassthroughraw.ts +4 -0
  362. package/src/sdk/models/operations/updateuccomment.ts +99 -0
  363. package/src/sdk/models/operations/updateucrecording.ts +99 -0
  364. package/src/sdk/models/shared/accountingattachment.ts +12 -12
  365. package/src/sdk/models/shared/accountingbalancesheetitem.ts +99 -0
  366. package/src/sdk/models/shared/accountingprofitandlosscategory.ts +93 -0
  367. package/src/sdk/models/shared/accountingprofitandlosssubcategory.ts +87 -0
  368. package/src/sdk/models/shared/accountingreport.ts +60 -24
  369. package/src/sdk/models/shared/accountingtrialbalancesubitem.ts +87 -0
  370. package/src/sdk/models/shared/index.ts +12 -0
  371. package/src/sdk/models/shared/integrationsupport.ts +32 -0
  372. package/src/sdk/models/shared/propertyaccountingbalancesheetitemsubitems.ts +68 -0
  373. package/src/sdk/models/shared/propertyaccountingreportbalancesheet.ts +98 -0
  374. package/src/sdk/models/shared/propertyaccountingreportprofitandloss.ts +110 -0
  375. package/src/sdk/models/shared/propertyaccountingreporttrialbalance.ts +98 -0
  376. package/src/sdk/models/shared/propertyconnectionpermissions.ts +3 -0
  377. package/src/sdk/models/shared/uccall.ts +0 -3
  378. package/src/sdk/models/shared/uccomment.ts +95 -0
  379. package/src/sdk/models/shared/uccontact.ts +0 -3
  380. package/src/sdk/models/shared/ucrecording.ts +154 -0
  381. package/src/sdk/models/shared/ucrecordingmedia.ts +109 -0
  382. package/src/sdk/models/shared/ucrecordingtranscript.ts +99 -0
  383. package/src/sdk/models/shared/webhook.ts +2 -0
  384. package/src/sdk/recording.ts +90 -0
  385. package/src/sdk/uc.ts +180 -0
@@ -0,0 +1,87 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type AccountingProfitAndLossSubcategory = {
12
+ amount?: number | undefined;
13
+ name?: string | undefined;
14
+ transactionIds?: Array<string> | undefined;
15
+ };
16
+
17
+ /** @internal */
18
+ export const AccountingProfitAndLossSubcategory$inboundSchema: z.ZodType<
19
+ AccountingProfitAndLossSubcategory,
20
+ z.ZodTypeDef,
21
+ unknown
22
+ > = z.object({
23
+ amount: z.number().optional(),
24
+ name: z.string().optional(),
25
+ transaction_ids: z.array(z.string()).optional(),
26
+ }).transform((v) => {
27
+ return remap$(v, {
28
+ "transaction_ids": "transactionIds",
29
+ });
30
+ });
31
+
32
+ /** @internal */
33
+ export type AccountingProfitAndLossSubcategory$Outbound = {
34
+ amount?: number | undefined;
35
+ name?: string | undefined;
36
+ transaction_ids?: Array<string> | undefined;
37
+ };
38
+
39
+ /** @internal */
40
+ export const AccountingProfitAndLossSubcategory$outboundSchema: z.ZodType<
41
+ AccountingProfitAndLossSubcategory$Outbound,
42
+ z.ZodTypeDef,
43
+ AccountingProfitAndLossSubcategory
44
+ > = z.object({
45
+ amount: z.number().optional(),
46
+ name: z.string().optional(),
47
+ transactionIds: z.array(z.string()).optional(),
48
+ }).transform((v) => {
49
+ return remap$(v, {
50
+ transactionIds: "transaction_ids",
51
+ });
52
+ });
53
+
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 namespace AccountingProfitAndLossSubcategory$ {
59
+ /** @deprecated use `AccountingProfitAndLossSubcategory$inboundSchema` instead. */
60
+ export const inboundSchema = AccountingProfitAndLossSubcategory$inboundSchema;
61
+ /** @deprecated use `AccountingProfitAndLossSubcategory$outboundSchema` instead. */
62
+ export const outboundSchema =
63
+ AccountingProfitAndLossSubcategory$outboundSchema;
64
+ /** @deprecated use `AccountingProfitAndLossSubcategory$Outbound` instead. */
65
+ export type Outbound = AccountingProfitAndLossSubcategory$Outbound;
66
+ }
67
+
68
+ export function accountingProfitAndLossSubcategoryToJSON(
69
+ accountingProfitAndLossSubcategory: AccountingProfitAndLossSubcategory,
70
+ ): string {
71
+ return JSON.stringify(
72
+ AccountingProfitAndLossSubcategory$outboundSchema.parse(
73
+ accountingProfitAndLossSubcategory,
74
+ ),
75
+ );
76
+ }
77
+
78
+ export function accountingProfitAndLossSubcategoryFromJSON(
79
+ jsonString: string,
80
+ ): SafeParseResult<AccountingProfitAndLossSubcategory, SDKValidationError> {
81
+ return safeParse(
82
+ jsonString,
83
+ (x) =>
84
+ AccountingProfitAndLossSubcategory$inboundSchema.parse(JSON.parse(x)),
85
+ `Failed to parse 'AccountingProfitAndLossSubcategory' from JSON`,
86
+ );
87
+ }
@@ -8,6 +8,24 @@ import { safeParse } from "../../../lib/schemas.js";
8
8
  import { ClosedEnum } from "../../types/enums.js";
9
9
  import { Result as SafeParseResult } from "../../types/fp.js";
10
10
  import { SDKValidationError } from "../errors/sdkvalidationerror.js";
11
+ import {
12
+ PropertyAccountingReportBalanceSheet,
13
+ PropertyAccountingReportBalanceSheet$inboundSchema,
14
+ PropertyAccountingReportBalanceSheet$Outbound,
15
+ PropertyAccountingReportBalanceSheet$outboundSchema,
16
+ } from "./propertyaccountingreportbalancesheet.js";
17
+ import {
18
+ PropertyAccountingReportProfitAndLoss,
19
+ PropertyAccountingReportProfitAndLoss$inboundSchema,
20
+ PropertyAccountingReportProfitAndLoss$Outbound,
21
+ PropertyAccountingReportProfitAndLoss$outboundSchema,
22
+ } from "./propertyaccountingreportprofitandloss.js";
23
+ import {
24
+ PropertyAccountingReportTrialBalance,
25
+ PropertyAccountingReportTrialBalance$inboundSchema,
26
+ PropertyAccountingReportTrialBalance$Outbound,
27
+ PropertyAccountingReportTrialBalance$outboundSchema,
28
+ } from "./propertyaccountingreporttrialbalance.js";
11
29
 
12
30
  export const AccountingReportType = {
13
31
  TrialBalance: "TRIAL_BALANCE",
@@ -17,14 +35,16 @@ export const AccountingReportType = {
17
35
  export type AccountingReportType = ClosedEnum<typeof AccountingReportType>;
18
36
 
19
37
  export type AccountingReport = {
20
- accountId?: string | undefined;
21
- amount?: number | undefined;
22
- contactId?: string | undefined;
38
+ balanceSheet?: PropertyAccountingReportBalanceSheet | undefined;
23
39
  createdAt?: Date | undefined;
24
- group?: string | undefined;
40
+ currency?: string | undefined;
41
+ endAt?: Date | undefined;
25
42
  id?: string | undefined;
43
+ name?: string | undefined;
44
+ profitAndLoss?: PropertyAccountingReportProfitAndLoss | undefined;
26
45
  raw?: { [k: string]: any } | undefined;
27
- subgroup?: string | undefined;
46
+ startAt?: Date | undefined;
47
+ trialBalance?: PropertyAccountingReportTrialBalance | undefined;
28
48
  type?: AccountingReportType | undefined;
29
49
  updatedAt?: Date | undefined;
30
50
  };
@@ -56,37 +76,47 @@ export const AccountingReport$inboundSchema: z.ZodType<
56
76
  z.ZodTypeDef,
57
77
  unknown
58
78
  > = z.object({
59
- account_id: z.string().optional(),
60
- amount: z.number().optional(),
61
- contact_id: z.string().optional(),
79
+ balance_sheet: PropertyAccountingReportBalanceSheet$inboundSchema.optional(),
62
80
  created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
63
81
  .optional(),
64
- group: z.string().optional(),
82
+ currency: z.string().optional(),
83
+ end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
84
+ .optional(),
65
85
  id: z.string().optional(),
86
+ name: z.string().optional(),
87
+ profit_and_loss: PropertyAccountingReportProfitAndLoss$inboundSchema
88
+ .optional(),
66
89
  raw: z.record(z.any()).optional(),
67
- subgroup: z.string().optional(),
90
+ start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
91
+ .optional(),
92
+ trial_balance: PropertyAccountingReportTrialBalance$inboundSchema.optional(),
68
93
  type: AccountingReportType$inboundSchema.optional(),
69
94
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
70
95
  .optional(),
71
96
  }).transform((v) => {
72
97
  return remap$(v, {
73
- "account_id": "accountId",
74
- "contact_id": "contactId",
98
+ "balance_sheet": "balanceSheet",
75
99
  "created_at": "createdAt",
100
+ "end_at": "endAt",
101
+ "profit_and_loss": "profitAndLoss",
102
+ "start_at": "startAt",
103
+ "trial_balance": "trialBalance",
76
104
  "updated_at": "updatedAt",
77
105
  });
78
106
  });
79
107
 
80
108
  /** @internal */
81
109
  export type AccountingReport$Outbound = {
82
- account_id?: string | undefined;
83
- amount?: number | undefined;
84
- contact_id?: string | undefined;
110
+ balance_sheet?: PropertyAccountingReportBalanceSheet$Outbound | undefined;
85
111
  created_at?: string | undefined;
86
- group?: string | undefined;
112
+ currency?: string | undefined;
113
+ end_at?: string | undefined;
87
114
  id?: string | undefined;
115
+ name?: string | undefined;
116
+ profit_and_loss?: PropertyAccountingReportProfitAndLoss$Outbound | undefined;
88
117
  raw?: { [k: string]: any } | undefined;
89
- subgroup?: string | undefined;
118
+ start_at?: string | undefined;
119
+ trial_balance?: PropertyAccountingReportTrialBalance$Outbound | undefined;
90
120
  type?: string | undefined;
91
121
  updated_at?: string | undefined;
92
122
  };
@@ -97,21 +127,27 @@ export const AccountingReport$outboundSchema: z.ZodType<
97
127
  z.ZodTypeDef,
98
128
  AccountingReport
99
129
  > = z.object({
100
- accountId: z.string().optional(),
101
- amount: z.number().optional(),
102
- contactId: z.string().optional(),
130
+ balanceSheet: PropertyAccountingReportBalanceSheet$outboundSchema.optional(),
103
131
  createdAt: z.date().transform(v => v.toISOString()).optional(),
104
- group: z.string().optional(),
132
+ currency: z.string().optional(),
133
+ endAt: z.date().transform(v => v.toISOString()).optional(),
105
134
  id: z.string().optional(),
135
+ name: z.string().optional(),
136
+ profitAndLoss: PropertyAccountingReportProfitAndLoss$outboundSchema
137
+ .optional(),
106
138
  raw: z.record(z.any()).optional(),
107
- subgroup: z.string().optional(),
139
+ startAt: z.date().transform(v => v.toISOString()).optional(),
140
+ trialBalance: PropertyAccountingReportTrialBalance$outboundSchema.optional(),
108
141
  type: AccountingReportType$outboundSchema.optional(),
109
142
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
110
143
  }).transform((v) => {
111
144
  return remap$(v, {
112
- accountId: "account_id",
113
- contactId: "contact_id",
145
+ balanceSheet: "balance_sheet",
114
146
  createdAt: "created_at",
147
+ endAt: "end_at",
148
+ profitAndLoss: "profit_and_loss",
149
+ startAt: "start_at",
150
+ trialBalance: "trial_balance",
115
151
  updatedAt: "updated_at",
116
152
  });
117
153
  });
@@ -0,0 +1,87 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+
11
+ export type AccountingTrialBalanceSubItem = {
12
+ accountId?: string | undefined;
13
+ accountName?: string | undefined;
14
+ amount?: number | undefined;
15
+ };
16
+
17
+ /** @internal */
18
+ export const AccountingTrialBalanceSubItem$inboundSchema: z.ZodType<
19
+ AccountingTrialBalanceSubItem,
20
+ z.ZodTypeDef,
21
+ unknown
22
+ > = z.object({
23
+ account_id: z.string().optional(),
24
+ account_name: z.string().optional(),
25
+ amount: z.number().optional(),
26
+ }).transform((v) => {
27
+ return remap$(v, {
28
+ "account_id": "accountId",
29
+ "account_name": "accountName",
30
+ });
31
+ });
32
+
33
+ /** @internal */
34
+ export type AccountingTrialBalanceSubItem$Outbound = {
35
+ account_id?: string | undefined;
36
+ account_name?: string | undefined;
37
+ amount?: number | undefined;
38
+ };
39
+
40
+ /** @internal */
41
+ export const AccountingTrialBalanceSubItem$outboundSchema: z.ZodType<
42
+ AccountingTrialBalanceSubItem$Outbound,
43
+ z.ZodTypeDef,
44
+ AccountingTrialBalanceSubItem
45
+ > = z.object({
46
+ accountId: z.string().optional(),
47
+ accountName: z.string().optional(),
48
+ amount: z.number().optional(),
49
+ }).transform((v) => {
50
+ return remap$(v, {
51
+ accountId: "account_id",
52
+ accountName: "account_name",
53
+ });
54
+ });
55
+
56
+ /**
57
+ * @internal
58
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
59
+ */
60
+ export namespace AccountingTrialBalanceSubItem$ {
61
+ /** @deprecated use `AccountingTrialBalanceSubItem$inboundSchema` instead. */
62
+ export const inboundSchema = AccountingTrialBalanceSubItem$inboundSchema;
63
+ /** @deprecated use `AccountingTrialBalanceSubItem$outboundSchema` instead. */
64
+ export const outboundSchema = AccountingTrialBalanceSubItem$outboundSchema;
65
+ /** @deprecated use `AccountingTrialBalanceSubItem$Outbound` instead. */
66
+ export type Outbound = AccountingTrialBalanceSubItem$Outbound;
67
+ }
68
+
69
+ export function accountingTrialBalanceSubItemToJSON(
70
+ accountingTrialBalanceSubItem: AccountingTrialBalanceSubItem,
71
+ ): string {
72
+ return JSON.stringify(
73
+ AccountingTrialBalanceSubItem$outboundSchema.parse(
74
+ accountingTrialBalanceSubItem,
75
+ ),
76
+ );
77
+ }
78
+
79
+ export function accountingTrialBalanceSubItemFromJSON(
80
+ jsonString: string,
81
+ ): SafeParseResult<AccountingTrialBalanceSubItem, SDKValidationError> {
82
+ return safeParse(
83
+ jsonString,
84
+ (x) => AccountingTrialBalanceSubItem$inboundSchema.parse(JSON.parse(x)),
85
+ `Failed to parse 'AccountingTrialBalanceSubItem' from JSON`,
86
+ );
87
+ }
@@ -5,6 +5,7 @@
5
5
  export * from "./accountingaccount.js";
6
6
  export * from "./accountingassociatedcontact.js";
7
7
  export * from "./accountingattachment.js";
8
+ export * from "./accountingbalancesheetitem.js";
8
9
  export * from "./accountingcontact.js";
9
10
  export * from "./accountingcontactpaymentmethod.js";
10
11
  export * from "./accountingemail.js";
@@ -14,12 +15,15 @@ export * from "./accountingjournallineitem.js";
14
15
  export * from "./accountinglineitem.js";
15
16
  export * from "./accountingorder.js";
16
17
  export * from "./accountingorganization.js";
18
+ export * from "./accountingprofitandlosscategory.js";
19
+ export * from "./accountingprofitandlosssubcategory.js";
17
20
  export * from "./accountingreport.js";
18
21
  export * from "./accountingtaxrate.js";
19
22
  export * from "./accountingtelephone.js";
20
23
  export * from "./accountingtransaction.js";
21
24
  export * from "./accountingtransactioncontact.js";
22
25
  export * from "./accountingtransactionlineitem.js";
26
+ export * from "./accountingtrialbalancesubitem.js";
23
27
  export * from "./apicall.js";
24
28
  export * from "./atsactivity.js";
25
29
  export * from "./atsaddress.js";
@@ -122,11 +126,15 @@ export * from "./paymentpayment.js";
122
126
  export * from "./paymentpayout.js";
123
127
  export * from "./paymentrefund.js";
124
128
  export * from "./paymentsubscription.js";
129
+ export * from "./propertyaccountingbalancesheetitemsubitems.js";
125
130
  export * from "./propertyaccountingcontactbillingaddress.js";
126
131
  export * from "./propertyaccountingcontactshippingaddress.js";
127
132
  export * from "./propertyaccountingorderbillingaddress.js";
128
133
  export * from "./propertyaccountingordershippingaddress.js";
129
134
  export * from "./propertyaccountingorganizationaddress.js";
135
+ export * from "./propertyaccountingreportbalancesheet.js";
136
+ export * from "./propertyaccountingreportprofitandloss.js";
137
+ export * from "./propertyaccountingreporttrialbalance.js";
130
138
  export * from "./propertyatsactivityfrom.js";
131
139
  export * from "./propertyatscandidateaddress.js";
132
140
  export * from "./propertyatscompanyaddress.js";
@@ -201,7 +209,11 @@ export * from "./ticketingnote.js";
201
209
  export * from "./ticketingtelephone.js";
202
210
  export * from "./ticketingticket.js";
203
211
  export * from "./uccall.js";
212
+ export * from "./uccomment.js";
204
213
  export * from "./uccontact.js";
205
214
  export * from "./ucemail.js";
215
+ export * from "./ucrecording.js";
216
+ export * from "./ucrecordingmedia.js";
217
+ export * from "./ucrecordingtranscript.js";
206
218
  export * from "./uctelephone.js";
207
219
  export * from "./webhook.js";
@@ -43,6 +43,13 @@ export const ListCalendarId = {
43
43
  } as const;
44
44
  export type ListCalendarId = ClosedEnum<typeof ListCalendarId>;
45
45
 
46
+ export const ListCallId = {
47
+ SupportedRequired: "supported-required",
48
+ Supported: "supported",
49
+ NotSupported: "not-supported",
50
+ } as const;
51
+ export type ListCallId = ClosedEnum<typeof ListCallId>;
52
+
46
53
  export const ListCandidateId = {
47
54
  SupportedRequired: "supported-required",
48
55
  Supported: "supported",
@@ -484,6 +491,7 @@ export type IntegrationSupport = {
484
491
  listAccountId?: ListAccountId | undefined;
485
492
  listApplicationId?: ListApplicationId | undefined;
486
493
  listCalendarId?: ListCalendarId | undefined;
494
+ listCallId?: ListCallId | undefined;
487
495
  listCandidateId?: ListCandidateId | undefined;
488
496
  listChannelId?: ListChannelId | undefined;
489
497
  listClassId?: ListClassId | undefined;
@@ -637,6 +645,25 @@ export namespace ListCalendarId$ {
637
645
  export const outboundSchema = ListCalendarId$outboundSchema;
638
646
  }
639
647
 
648
+ /** @internal */
649
+ export const ListCallId$inboundSchema: z.ZodNativeEnum<typeof ListCallId> = z
650
+ .nativeEnum(ListCallId);
651
+
652
+ /** @internal */
653
+ export const ListCallId$outboundSchema: z.ZodNativeEnum<typeof ListCallId> =
654
+ ListCallId$inboundSchema;
655
+
656
+ /**
657
+ * @internal
658
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
659
+ */
660
+ export namespace ListCallId$ {
661
+ /** @deprecated use `ListCallId$inboundSchema` instead. */
662
+ export const inboundSchema = ListCallId$inboundSchema;
663
+ /** @deprecated use `ListCallId$outboundSchema` instead. */
664
+ export const outboundSchema = ListCallId$outboundSchema;
665
+ }
666
+
640
667
  /** @internal */
641
668
  export const ListCandidateId$inboundSchema: z.ZodNativeEnum<
642
669
  typeof ListCandidateId
@@ -1873,6 +1900,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
1873
1900
  list_account_id: ListAccountId$inboundSchema.optional(),
1874
1901
  list_application_id: ListApplicationId$inboundSchema.optional(),
1875
1902
  list_calendar_id: ListCalendarId$inboundSchema.optional(),
1903
+ list_call_id: ListCallId$inboundSchema.optional(),
1876
1904
  list_candidate_id: ListCandidateId$inboundSchema.optional(),
1877
1905
  list_channel_id: ListChannelId$inboundSchema.optional(),
1878
1906
  list_class_id: ListClassId$inboundSchema.optional(),
@@ -1948,6 +1976,7 @@ export const IntegrationSupport$inboundSchema: z.ZodType<
1948
1976
  "list_account_id": "listAccountId",
1949
1977
  "list_application_id": "listApplicationId",
1950
1978
  "list_calendar_id": "listCalendarId",
1979
+ "list_call_id": "listCallId",
1951
1980
  "list_candidate_id": "listCandidateId",
1952
1981
  "list_channel_id": "listChannelId",
1953
1982
  "list_class_id": "listClassId",
@@ -2023,6 +2052,7 @@ export type IntegrationSupport$Outbound = {
2023
2052
  list_account_id?: string | undefined;
2024
2053
  list_application_id?: string | undefined;
2025
2054
  list_calendar_id?: string | undefined;
2055
+ list_call_id?: string | undefined;
2026
2056
  list_candidate_id?: string | undefined;
2027
2057
  list_channel_id?: string | undefined;
2028
2058
  list_class_id?: string | undefined;
@@ -2102,6 +2132,7 @@ export const IntegrationSupport$outboundSchema: z.ZodType<
2102
2132
  listAccountId: ListAccountId$outboundSchema.optional(),
2103
2133
  listApplicationId: ListApplicationId$outboundSchema.optional(),
2104
2134
  listCalendarId: ListCalendarId$outboundSchema.optional(),
2135
+ listCallId: ListCallId$outboundSchema.optional(),
2105
2136
  listCandidateId: ListCandidateId$outboundSchema.optional(),
2106
2137
  listChannelId: ListChannelId$outboundSchema.optional(),
2107
2138
  listClassId: ListClassId$outboundSchema.optional(),
@@ -2176,6 +2207,7 @@ export const IntegrationSupport$outboundSchema: z.ZodType<
2176
2207
  listAccountId: "list_account_id",
2177
2208
  listApplicationId: "list_application_id",
2178
2209
  listCalendarId: "list_calendar_id",
2210
+ listCallId: "list_call_id",
2179
2211
  listCandidateId: "list_candidate_id",
2180
2212
  listChannelId: "list_channel_id",
2181
2213
  listClassId: "list_class_id",
@@ -0,0 +1,68 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { safeParse } from "../../../lib/schemas.js";
7
+ import { Result as SafeParseResult } from "../../types/fp.js";
8
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
9
+
10
+ export type PropertyAccountingBalanceSheetItemSubItems = {};
11
+
12
+ /** @internal */
13
+ export const PropertyAccountingBalanceSheetItemSubItems$inboundSchema:
14
+ z.ZodType<PropertyAccountingBalanceSheetItemSubItems, z.ZodTypeDef, unknown> =
15
+ z.object({});
16
+
17
+ /** @internal */
18
+ export type PropertyAccountingBalanceSheetItemSubItems$Outbound = {};
19
+
20
+ /** @internal */
21
+ export const PropertyAccountingBalanceSheetItemSubItems$outboundSchema:
22
+ z.ZodType<
23
+ PropertyAccountingBalanceSheetItemSubItems$Outbound,
24
+ z.ZodTypeDef,
25
+ PropertyAccountingBalanceSheetItemSubItems
26
+ > = z.object({});
27
+
28
+ /**
29
+ * @internal
30
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
31
+ */
32
+ export namespace PropertyAccountingBalanceSheetItemSubItems$ {
33
+ /** @deprecated use `PropertyAccountingBalanceSheetItemSubItems$inboundSchema` instead. */
34
+ export const inboundSchema =
35
+ PropertyAccountingBalanceSheetItemSubItems$inboundSchema;
36
+ /** @deprecated use `PropertyAccountingBalanceSheetItemSubItems$outboundSchema` instead. */
37
+ export const outboundSchema =
38
+ PropertyAccountingBalanceSheetItemSubItems$outboundSchema;
39
+ /** @deprecated use `PropertyAccountingBalanceSheetItemSubItems$Outbound` instead. */
40
+ export type Outbound = PropertyAccountingBalanceSheetItemSubItems$Outbound;
41
+ }
42
+
43
+ export function propertyAccountingBalanceSheetItemSubItemsToJSON(
44
+ propertyAccountingBalanceSheetItemSubItems:
45
+ PropertyAccountingBalanceSheetItemSubItems,
46
+ ): string {
47
+ return JSON.stringify(
48
+ PropertyAccountingBalanceSheetItemSubItems$outboundSchema.parse(
49
+ propertyAccountingBalanceSheetItemSubItems,
50
+ ),
51
+ );
52
+ }
53
+
54
+ export function propertyAccountingBalanceSheetItemSubItemsFromJSON(
55
+ jsonString: string,
56
+ ): SafeParseResult<
57
+ PropertyAccountingBalanceSheetItemSubItems,
58
+ SDKValidationError
59
+ > {
60
+ return safeParse(
61
+ jsonString,
62
+ (x) =>
63
+ PropertyAccountingBalanceSheetItemSubItems$inboundSchema.parse(
64
+ JSON.parse(x),
65
+ ),
66
+ `Failed to parse 'PropertyAccountingBalanceSheetItemSubItems' from JSON`,
67
+ );
68
+ }
@@ -0,0 +1,98 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod";
6
+ import { remap as remap$ } from "../../../lib/primitives.js";
7
+ import { safeParse } from "../../../lib/schemas.js";
8
+ import { Result as SafeParseResult } from "../../types/fp.js";
9
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
+ import {
11
+ AccountingBalanceSheetItem,
12
+ AccountingBalanceSheetItem$inboundSchema,
13
+ AccountingBalanceSheetItem$Outbound,
14
+ AccountingBalanceSheetItem$outboundSchema,
15
+ } from "./accountingbalancesheetitem.js";
16
+
17
+ export type PropertyAccountingReportBalanceSheet = {
18
+ assets?: Array<AccountingBalanceSheetItem> | undefined;
19
+ equity?: Array<AccountingBalanceSheetItem> | undefined;
20
+ liabilities?: Array<AccountingBalanceSheetItem> | undefined;
21
+ netAssetsAmount?: number | undefined;
22
+ };
23
+
24
+ /** @internal */
25
+ export const PropertyAccountingReportBalanceSheet$inboundSchema: z.ZodType<
26
+ PropertyAccountingReportBalanceSheet,
27
+ z.ZodTypeDef,
28
+ unknown
29
+ > = z.object({
30
+ assets: z.array(AccountingBalanceSheetItem$inboundSchema).optional(),
31
+ equity: z.array(AccountingBalanceSheetItem$inboundSchema).optional(),
32
+ liabilities: z.array(AccountingBalanceSheetItem$inboundSchema).optional(),
33
+ net_assets_amount: z.number().optional(),
34
+ }).transform((v) => {
35
+ return remap$(v, {
36
+ "net_assets_amount": "netAssetsAmount",
37
+ });
38
+ });
39
+
40
+ /** @internal */
41
+ export type PropertyAccountingReportBalanceSheet$Outbound = {
42
+ assets?: Array<AccountingBalanceSheetItem$Outbound> | undefined;
43
+ equity?: Array<AccountingBalanceSheetItem$Outbound> | undefined;
44
+ liabilities?: Array<AccountingBalanceSheetItem$Outbound> | undefined;
45
+ net_assets_amount?: number | undefined;
46
+ };
47
+
48
+ /** @internal */
49
+ export const PropertyAccountingReportBalanceSheet$outboundSchema: z.ZodType<
50
+ PropertyAccountingReportBalanceSheet$Outbound,
51
+ z.ZodTypeDef,
52
+ PropertyAccountingReportBalanceSheet
53
+ > = z.object({
54
+ assets: z.array(AccountingBalanceSheetItem$outboundSchema).optional(),
55
+ equity: z.array(AccountingBalanceSheetItem$outboundSchema).optional(),
56
+ liabilities: z.array(AccountingBalanceSheetItem$outboundSchema).optional(),
57
+ netAssetsAmount: z.number().optional(),
58
+ }).transform((v) => {
59
+ return remap$(v, {
60
+ netAssetsAmount: "net_assets_amount",
61
+ });
62
+ });
63
+
64
+ /**
65
+ * @internal
66
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
67
+ */
68
+ export namespace PropertyAccountingReportBalanceSheet$ {
69
+ /** @deprecated use `PropertyAccountingReportBalanceSheet$inboundSchema` instead. */
70
+ export const inboundSchema =
71
+ PropertyAccountingReportBalanceSheet$inboundSchema;
72
+ /** @deprecated use `PropertyAccountingReportBalanceSheet$outboundSchema` instead. */
73
+ export const outboundSchema =
74
+ PropertyAccountingReportBalanceSheet$outboundSchema;
75
+ /** @deprecated use `PropertyAccountingReportBalanceSheet$Outbound` instead. */
76
+ export type Outbound = PropertyAccountingReportBalanceSheet$Outbound;
77
+ }
78
+
79
+ export function propertyAccountingReportBalanceSheetToJSON(
80
+ propertyAccountingReportBalanceSheet: PropertyAccountingReportBalanceSheet,
81
+ ): string {
82
+ return JSON.stringify(
83
+ PropertyAccountingReportBalanceSheet$outboundSchema.parse(
84
+ propertyAccountingReportBalanceSheet,
85
+ ),
86
+ );
87
+ }
88
+
89
+ export function propertyAccountingReportBalanceSheetFromJSON(
90
+ jsonString: string,
91
+ ): SafeParseResult<PropertyAccountingReportBalanceSheet, SDKValidationError> {
92
+ return safeParse(
93
+ jsonString,
94
+ (x) =>
95
+ PropertyAccountingReportBalanceSheet$inboundSchema.parse(JSON.parse(x)),
96
+ `Failed to parse 'PropertyAccountingReportBalanceSheet' from JSON`,
97
+ );
98
+ }