@unified-api/typescript-sdk 2.77.0 → 2.78.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/README.md +4 -0
  2. package/docs/sdks/accounting/README.md +158 -0
  3. package/docs/sdks/cashflow/README.md +165 -0
  4. package/docs/sdks/commit/README.md +0 -6
  5. package/docs/sdks/repo/README.md +0 -6
  6. package/examples/package-lock.json +1 -1
  7. package/funcs/accountingGetAccountingCashflow.d.ts +15 -0
  8. package/funcs/accountingGetAccountingCashflow.d.ts.map +1 -0
  9. package/funcs/accountingGetAccountingCashflow.js +125 -0
  10. package/funcs/accountingGetAccountingCashflow.js.map +1 -0
  11. package/funcs/accountingListAccountingCashflows.d.ts +15 -0
  12. package/funcs/accountingListAccountingCashflows.d.ts.map +1 -0
  13. package/funcs/accountingListAccountingCashflows.js +133 -0
  14. package/funcs/accountingListAccountingCashflows.js.map +1 -0
  15. package/jsr.json +1 -1
  16. package/lib/config.d.ts +3 -3
  17. package/lib/config.js +3 -3
  18. package/package.json +1 -1
  19. package/sdk/accounting.d.ts +8 -0
  20. package/sdk/accounting.d.ts.map +1 -1
  21. package/sdk/accounting.js +14 -0
  22. package/sdk/accounting.js.map +1 -1
  23. package/sdk/cashflow.d.ts +14 -0
  24. package/sdk/cashflow.d.ts.map +1 -0
  25. package/sdk/cashflow.js +26 -0
  26. package/sdk/cashflow.js.map +1 -0
  27. package/sdk/models/operations/createpassthroughjson.js +1 -1
  28. package/sdk/models/operations/createpassthroughjson.js.map +1 -1
  29. package/sdk/models/operations/createpassthroughraw.js +1 -1
  30. package/sdk/models/operations/createpassthroughraw.js.map +1 -1
  31. package/sdk/models/operations/getaccountingcashflow.d.ts +47 -0
  32. package/sdk/models/operations/getaccountingcashflow.d.ts.map +1 -0
  33. package/sdk/models/operations/getaccountingcashflow.js +84 -0
  34. package/sdk/models/operations/getaccountingcashflow.js.map +1 -0
  35. package/sdk/models/operations/index.d.ts +2 -0
  36. package/sdk/models/operations/index.d.ts.map +1 -1
  37. package/sdk/models/operations/index.js +2 -0
  38. package/sdk/models/operations/index.js.map +1 -1
  39. package/sdk/models/operations/listaccountingcashflows.d.ts +85 -0
  40. package/sdk/models/operations/listaccountingcashflows.d.ts.map +1 -0
  41. package/sdk/models/operations/listaccountingcashflows.js +116 -0
  42. package/sdk/models/operations/listaccountingcashflows.js.map +1 -0
  43. package/sdk/models/operations/listpassthroughs.js +1 -1
  44. package/sdk/models/operations/listpassthroughs.js.map +1 -1
  45. package/sdk/models/operations/patchpassthroughjson.js +1 -1
  46. package/sdk/models/operations/patchpassthroughjson.js.map +1 -1
  47. package/sdk/models/operations/patchpassthroughraw.js +1 -1
  48. package/sdk/models/operations/patchpassthroughraw.js.map +1 -1
  49. package/sdk/models/operations/patchunifiedwebhooktrigger.js +1 -1
  50. package/sdk/models/operations/patchunifiedwebhooktrigger.js.map +1 -1
  51. package/sdk/models/operations/removeaccountingaccount.js +1 -1
  52. package/sdk/models/operations/removeaccountingaccount.js.map +1 -1
  53. package/sdk/models/operations/removeaccountingbill.js +1 -1
  54. package/sdk/models/operations/removeaccountingbill.js.map +1 -1
  55. package/sdk/models/operations/removeaccountingcategory.js +1 -1
  56. package/sdk/models/operations/removeaccountingcategory.js.map +1 -1
  57. package/sdk/models/operations/removeaccountingcontact.js +1 -1
  58. package/sdk/models/operations/removeaccountingcontact.js.map +1 -1
  59. package/sdk/models/operations/removeaccountingcreditmemo.js +1 -1
  60. package/sdk/models/operations/removeaccountingcreditmemo.js.map +1 -1
  61. package/sdk/models/operations/removeaccountingexpense.js +1 -1
  62. package/sdk/models/operations/removeaccountingexpense.js.map +1 -1
  63. package/sdk/models/operations/removeaccountinginvoice.js +1 -1
  64. package/sdk/models/operations/removeaccountinginvoice.js.map +1 -1
  65. package/sdk/models/operations/removeaccountingjournal.js +1 -1
  66. package/sdk/models/operations/removeaccountingjournal.js.map +1 -1
  67. package/sdk/models/operations/removeaccountingorder.js +1 -1
  68. package/sdk/models/operations/removeaccountingorder.js.map +1 -1
  69. package/sdk/models/operations/removeaccountingpurchaseorder.js +1 -1
  70. package/sdk/models/operations/removeaccountingpurchaseorder.js.map +1 -1
  71. package/sdk/models/operations/removeaccountingsalesorder.js +1 -1
  72. package/sdk/models/operations/removeaccountingsalesorder.js.map +1 -1
  73. package/sdk/models/operations/removeaccountingtaxrate.js +1 -1
  74. package/sdk/models/operations/removeaccountingtaxrate.js.map +1 -1
  75. package/sdk/models/operations/removeaccountingtransaction.js +1 -1
  76. package/sdk/models/operations/removeaccountingtransaction.js.map +1 -1
  77. package/sdk/models/operations/removeatsactivity.js +1 -1
  78. package/sdk/models/operations/removeatsactivity.js.map +1 -1
  79. package/sdk/models/operations/removeatsapplication.js +1 -1
  80. package/sdk/models/operations/removeatsapplication.js.map +1 -1
  81. package/sdk/models/operations/removeatscandidate.js +1 -1
  82. package/sdk/models/operations/removeatscandidate.js.map +1 -1
  83. package/sdk/models/operations/removeatscompany.js +1 -1
  84. package/sdk/models/operations/removeatscompany.js.map +1 -1
  85. package/sdk/models/operations/removeatsdocument.js +1 -1
  86. package/sdk/models/operations/removeatsdocument.js.map +1 -1
  87. package/sdk/models/operations/removeatsinterview.js +1 -1
  88. package/sdk/models/operations/removeatsinterview.js.map +1 -1
  89. package/sdk/models/operations/removeatsjob.js +1 -1
  90. package/sdk/models/operations/removeatsjob.js.map +1 -1
  91. package/sdk/models/operations/removeatsscorecard.js +1 -1
  92. package/sdk/models/operations/removeatsscorecard.js.map +1 -1
  93. package/sdk/models/operations/removecalendarcalendar.js +1 -1
  94. package/sdk/models/operations/removecalendarcalendar.js.map +1 -1
  95. package/sdk/models/operations/removecalendarevent.js +1 -1
  96. package/sdk/models/operations/removecalendarevent.js.map +1 -1
  97. package/sdk/models/operations/removecalendarlink.js +1 -1
  98. package/sdk/models/operations/removecalendarlink.js.map +1 -1
  99. package/sdk/models/operations/removecommercecollection.js +1 -1
  100. package/sdk/models/operations/removecommercecollection.js.map +1 -1
  101. package/sdk/models/operations/removecommerceinventory.js +1 -1
  102. package/sdk/models/operations/removecommerceinventory.js.map +1 -1
  103. package/sdk/models/operations/removecommerceitem.js +1 -1
  104. package/sdk/models/operations/removecommerceitem.js.map +1 -1
  105. package/sdk/models/operations/removecommercelocation.js +1 -1
  106. package/sdk/models/operations/removecommercelocation.js.map +1 -1
  107. package/sdk/models/operations/removecommercereview.js +1 -1
  108. package/sdk/models/operations/removecommercereview.js.map +1 -1
  109. package/sdk/models/operations/removecrmcompany.js +1 -1
  110. package/sdk/models/operations/removecrmcompany.js.map +1 -1
  111. package/sdk/models/operations/removecrmcontact.js +1 -1
  112. package/sdk/models/operations/removecrmcontact.js.map +1 -1
  113. package/sdk/models/operations/removecrmdeal.js +1 -1
  114. package/sdk/models/operations/removecrmdeal.js.map +1 -1
  115. package/sdk/models/operations/removecrmevent.js +1 -1
  116. package/sdk/models/operations/removecrmevent.js.map +1 -1
  117. package/sdk/models/operations/removecrmlead.js +1 -1
  118. package/sdk/models/operations/removecrmlead.js.map +1 -1
  119. package/sdk/models/operations/removecrmpipeline.js +1 -1
  120. package/sdk/models/operations/removecrmpipeline.js.map +1 -1
  121. package/sdk/models/operations/removehriscompany.js +1 -1
  122. package/sdk/models/operations/removehriscompany.js.map +1 -1
  123. package/sdk/models/operations/removehrisdevice.js +1 -1
  124. package/sdk/models/operations/removehrisdevice.js.map +1 -1
  125. package/sdk/models/operations/removehrisemployee.js +1 -1
  126. package/sdk/models/operations/removehrisemployee.js.map +1 -1
  127. package/sdk/models/operations/removehrisgroup.js +1 -1
  128. package/sdk/models/operations/removehrisgroup.js.map +1 -1
  129. package/sdk/models/operations/removehrislocation.js +1 -1
  130. package/sdk/models/operations/removehrislocation.js.map +1 -1
  131. package/sdk/models/operations/removehristimeshift.js +1 -1
  132. package/sdk/models/operations/removehristimeshift.js.map +1 -1
  133. package/sdk/models/operations/removekmscomment.js +1 -1
  134. package/sdk/models/operations/removekmscomment.js.map +1 -1
  135. package/sdk/models/operations/removekmspage.js +1 -1
  136. package/sdk/models/operations/removekmspage.js.map +1 -1
  137. package/sdk/models/operations/removekmsspace.js +1 -1
  138. package/sdk/models/operations/removekmsspace.js.map +1 -1
  139. package/sdk/models/operations/removelmsclass.js +1 -1
  140. package/sdk/models/operations/removelmsclass.js.map +1 -1
  141. package/sdk/models/operations/removelmscourse.js +1 -1
  142. package/sdk/models/operations/removelmscourse.js.map +1 -1
  143. package/sdk/models/operations/removelmsinstructor.js +1 -1
  144. package/sdk/models/operations/removelmsinstructor.js.map +1 -1
  145. package/sdk/models/operations/removelmsstudent.js +1 -1
  146. package/sdk/models/operations/removelmsstudent.js.map +1 -1
  147. package/sdk/models/operations/removemartechlist.js +1 -1
  148. package/sdk/models/operations/removemartechlist.js.map +1 -1
  149. package/sdk/models/operations/removemartechmember.js +1 -1
  150. package/sdk/models/operations/removemartechmember.js.map +1 -1
  151. package/sdk/models/operations/removemessagingmessage.js +1 -1
  152. package/sdk/models/operations/removemessagingmessage.js.map +1 -1
  153. package/sdk/models/operations/removemetadatametadata.js +1 -1
  154. package/sdk/models/operations/removemetadatametadata.js.map +1 -1
  155. package/sdk/models/operations/removepassthrough.js +1 -1
  156. package/sdk/models/operations/removepassthrough.js.map +1 -1
  157. package/sdk/models/operations/removepaymentlink.js +1 -1
  158. package/sdk/models/operations/removepaymentlink.js.map +1 -1
  159. package/sdk/models/operations/removepaymentpayment.js +1 -1
  160. package/sdk/models/operations/removepaymentpayment.js.map +1 -1
  161. package/sdk/models/operations/removepaymentsubscription.js +1 -1
  162. package/sdk/models/operations/removepaymentsubscription.js.map +1 -1
  163. package/sdk/models/operations/removerepobranch.js +1 -1
  164. package/sdk/models/operations/removerepobranch.js.map +1 -1
  165. package/sdk/models/operations/removerepocommit.js +1 -1
  166. package/sdk/models/operations/removerepocommit.js.map +1 -1
  167. package/sdk/models/operations/removerepoorganization.js +1 -1
  168. package/sdk/models/operations/removerepoorganization.js.map +1 -1
  169. package/sdk/models/operations/removerepopullrequest.js +1 -1
  170. package/sdk/models/operations/removerepopullrequest.js.map +1 -1
  171. package/sdk/models/operations/removereporepository.js +1 -1
  172. package/sdk/models/operations/removereporepository.js.map +1 -1
  173. package/sdk/models/operations/removescimgroups.js +1 -1
  174. package/sdk/models/operations/removescimgroups.js.map +1 -1
  175. package/sdk/models/operations/removescimusers.js +1 -1
  176. package/sdk/models/operations/removescimusers.js.map +1 -1
  177. package/sdk/models/operations/removestoragefile.js +1 -1
  178. package/sdk/models/operations/removestoragefile.js.map +1 -1
  179. package/sdk/models/operations/removetaskcomment.js +1 -1
  180. package/sdk/models/operations/removetaskcomment.js.map +1 -1
  181. package/sdk/models/operations/removetaskproject.js +1 -1
  182. package/sdk/models/operations/removetaskproject.js.map +1 -1
  183. package/sdk/models/operations/removetasktask.js +1 -1
  184. package/sdk/models/operations/removetasktask.js.map +1 -1
  185. package/sdk/models/operations/removeticketingcategory.js +1 -1
  186. package/sdk/models/operations/removeticketingcategory.js.map +1 -1
  187. package/sdk/models/operations/removeticketingcustomer.js +1 -1
  188. package/sdk/models/operations/removeticketingcustomer.js.map +1 -1
  189. package/sdk/models/operations/removeticketingnote.js +1 -1
  190. package/sdk/models/operations/removeticketingnote.js.map +1 -1
  191. package/sdk/models/operations/removeticketingticket.js +1 -1
  192. package/sdk/models/operations/removeticketingticket.js.map +1 -1
  193. package/sdk/models/operations/removeuccomment.js +1 -1
  194. package/sdk/models/operations/removeuccomment.js.map +1 -1
  195. package/sdk/models/operations/removeuccontact.js +1 -1
  196. package/sdk/models/operations/removeuccontact.js.map +1 -1
  197. package/sdk/models/operations/removeucrecording.js +1 -1
  198. package/sdk/models/operations/removeucrecording.js.map +1 -1
  199. package/sdk/models/operations/removeunifiedconnection.js +1 -1
  200. package/sdk/models/operations/removeunifiedconnection.js.map +1 -1
  201. package/sdk/models/operations/removeunifiedwebhook.js +1 -1
  202. package/sdk/models/operations/removeunifiedwebhook.js.map +1 -1
  203. package/sdk/models/operations/removeverificationrequest.js +1 -1
  204. package/sdk/models/operations/removeverificationrequest.js.map +1 -1
  205. package/sdk/models/operations/updatepassthroughjson.js +1 -1
  206. package/sdk/models/operations/updatepassthroughjson.js.map +1 -1
  207. package/sdk/models/operations/updatepassthroughraw.js +1 -1
  208. package/sdk/models/operations/updatepassthroughraw.js.map +1 -1
  209. package/sdk/models/operations/updateunifiedwebhooktrigger.js +1 -1
  210. package/sdk/models/operations/updateunifiedwebhooktrigger.js.map +1 -1
  211. package/sdk/models/shared/accountingcashflow.d.ts +67 -0
  212. package/sdk/models/shared/accountingcashflow.d.ts.map +1 -0
  213. package/sdk/models/shared/accountingcashflow.js +141 -0
  214. package/sdk/models/shared/accountingcashflow.js.map +1 -0
  215. package/sdk/models/shared/accountingcashflowitem.d.ts +41 -0
  216. package/sdk/models/shared/accountingcashflowitem.d.ts.map +1 -0
  217. package/sdk/models/shared/accountingcashflowitem.js +93 -0
  218. package/sdk/models/shared/accountingcashflowitem.js.map +1 -0
  219. package/sdk/models/shared/accountingcashflowsection.d.ts +34 -0
  220. package/sdk/models/shared/accountingcashflowsection.d.ts.map +1 -0
  221. package/sdk/models/shared/accountingcashflowsection.js +85 -0
  222. package/sdk/models/shared/accountingcashflowsection.js.map +1 -0
  223. package/sdk/models/shared/accountingjournallineitem.d.ts +6 -0
  224. package/sdk/models/shared/accountingjournallineitem.d.ts.map +1 -1
  225. package/sdk/models/shared/accountingjournallineitem.js +12 -0
  226. package/sdk/models/shared/accountingjournallineitem.js.map +1 -1
  227. package/sdk/models/shared/index.d.ts +4 -0
  228. package/sdk/models/shared/index.d.ts.map +1 -1
  229. package/sdk/models/shared/index.js +4 -0
  230. package/sdk/models/shared/index.js.map +1 -1
  231. package/sdk/models/shared/propertyaccountingcashflowitemsubitems.d.ts +25 -0
  232. package/sdk/models/shared/propertyaccountingcashflowitemsubitems.d.ts.map +1 -0
  233. package/sdk/models/shared/propertyaccountingcashflowitemsubitems.js +65 -0
  234. package/sdk/models/shared/propertyaccountingcashflowitemsubitems.js.map +1 -0
  235. package/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  236. package/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  237. package/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  238. package/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  239. package/sdk/models/shared/repocommit.d.ts +2 -2
  240. package/sdk/models/shared/repocommit.d.ts.map +1 -1
  241. package/sdk/models/shared/repocommit.js +2 -2
  242. package/sdk/models/shared/repocommit.js.map +1 -1
  243. package/sdk/models/shared/webhook.d.ts +1 -0
  244. package/sdk/models/shared/webhook.d.ts.map +1 -1
  245. package/sdk/models/shared/webhook.js +1 -0
  246. package/sdk/models/shared/webhook.js.map +1 -1
  247. package/sdk/sdk.d.ts +3 -0
  248. package/sdk/sdk.d.ts.map +1 -1
  249. package/sdk/sdk.js +4 -0
  250. package/sdk/sdk.js.map +1 -1
  251. package/src/funcs/accountingGetAccountingCashflow.ts +176 -0
  252. package/src/funcs/accountingListAccountingCashflows.ts +182 -0
  253. package/src/lib/config.ts +3 -3
  254. package/src/sdk/accounting.ts +30 -0
  255. package/src/sdk/cashflow.ts +40 -0
  256. package/src/sdk/models/operations/createpassthroughjson.ts +1 -1
  257. package/src/sdk/models/operations/createpassthroughraw.ts +1 -1
  258. package/src/sdk/models/operations/getaccountingcashflow.ts +101 -0
  259. package/src/sdk/models/operations/index.ts +2 -0
  260. package/src/sdk/models/operations/listaccountingcashflows.ts +171 -0
  261. package/src/sdk/models/operations/listpassthroughs.ts +1 -1
  262. package/src/sdk/models/operations/patchpassthroughjson.ts +1 -1
  263. package/src/sdk/models/operations/patchpassthroughraw.ts +1 -1
  264. package/src/sdk/models/operations/patchunifiedwebhooktrigger.ts +1 -1
  265. package/src/sdk/models/operations/removeaccountingaccount.ts +1 -1
  266. package/src/sdk/models/operations/removeaccountingbill.ts +1 -1
  267. package/src/sdk/models/operations/removeaccountingcategory.ts +1 -1
  268. package/src/sdk/models/operations/removeaccountingcontact.ts +1 -1
  269. package/src/sdk/models/operations/removeaccountingcreditmemo.ts +1 -1
  270. package/src/sdk/models/operations/removeaccountingexpense.ts +1 -1
  271. package/src/sdk/models/operations/removeaccountinginvoice.ts +1 -1
  272. package/src/sdk/models/operations/removeaccountingjournal.ts +1 -1
  273. package/src/sdk/models/operations/removeaccountingorder.ts +1 -1
  274. package/src/sdk/models/operations/removeaccountingpurchaseorder.ts +1 -1
  275. package/src/sdk/models/operations/removeaccountingsalesorder.ts +1 -1
  276. package/src/sdk/models/operations/removeaccountingtaxrate.ts +1 -1
  277. package/src/sdk/models/operations/removeaccountingtransaction.ts +1 -1
  278. package/src/sdk/models/operations/removeatsactivity.ts +1 -1
  279. package/src/sdk/models/operations/removeatsapplication.ts +1 -1
  280. package/src/sdk/models/operations/removeatscandidate.ts +1 -1
  281. package/src/sdk/models/operations/removeatscompany.ts +1 -1
  282. package/src/sdk/models/operations/removeatsdocument.ts +1 -1
  283. package/src/sdk/models/operations/removeatsinterview.ts +1 -1
  284. package/src/sdk/models/operations/removeatsjob.ts +1 -1
  285. package/src/sdk/models/operations/removeatsscorecard.ts +1 -1
  286. package/src/sdk/models/operations/removecalendarcalendar.ts +1 -1
  287. package/src/sdk/models/operations/removecalendarevent.ts +1 -1
  288. package/src/sdk/models/operations/removecalendarlink.ts +1 -1
  289. package/src/sdk/models/operations/removecommercecollection.ts +1 -1
  290. package/src/sdk/models/operations/removecommerceinventory.ts +1 -1
  291. package/src/sdk/models/operations/removecommerceitem.ts +1 -1
  292. package/src/sdk/models/operations/removecommercelocation.ts +1 -1
  293. package/src/sdk/models/operations/removecommercereview.ts +1 -1
  294. package/src/sdk/models/operations/removecrmcompany.ts +1 -1
  295. package/src/sdk/models/operations/removecrmcontact.ts +1 -1
  296. package/src/sdk/models/operations/removecrmdeal.ts +1 -1
  297. package/src/sdk/models/operations/removecrmevent.ts +1 -1
  298. package/src/sdk/models/operations/removecrmlead.ts +1 -1
  299. package/src/sdk/models/operations/removecrmpipeline.ts +1 -1
  300. package/src/sdk/models/operations/removehriscompany.ts +1 -1
  301. package/src/sdk/models/operations/removehrisdevice.ts +1 -1
  302. package/src/sdk/models/operations/removehrisemployee.ts +1 -1
  303. package/src/sdk/models/operations/removehrisgroup.ts +1 -1
  304. package/src/sdk/models/operations/removehrislocation.ts +1 -1
  305. package/src/sdk/models/operations/removehristimeshift.ts +1 -1
  306. package/src/sdk/models/operations/removekmscomment.ts +1 -1
  307. package/src/sdk/models/operations/removekmspage.ts +1 -1
  308. package/src/sdk/models/operations/removekmsspace.ts +1 -1
  309. package/src/sdk/models/operations/removelmsclass.ts +1 -1
  310. package/src/sdk/models/operations/removelmscourse.ts +1 -1
  311. package/src/sdk/models/operations/removelmsinstructor.ts +1 -1
  312. package/src/sdk/models/operations/removelmsstudent.ts +1 -1
  313. package/src/sdk/models/operations/removemartechlist.ts +1 -1
  314. package/src/sdk/models/operations/removemartechmember.ts +1 -1
  315. package/src/sdk/models/operations/removemessagingmessage.ts +1 -1
  316. package/src/sdk/models/operations/removemetadatametadata.ts +1 -1
  317. package/src/sdk/models/operations/removepassthrough.ts +1 -1
  318. package/src/sdk/models/operations/removepaymentlink.ts +1 -1
  319. package/src/sdk/models/operations/removepaymentpayment.ts +1 -1
  320. package/src/sdk/models/operations/removepaymentsubscription.ts +1 -1
  321. package/src/sdk/models/operations/removerepobranch.ts +1 -1
  322. package/src/sdk/models/operations/removerepocommit.ts +1 -1
  323. package/src/sdk/models/operations/removerepoorganization.ts +1 -1
  324. package/src/sdk/models/operations/removerepopullrequest.ts +1 -1
  325. package/src/sdk/models/operations/removereporepository.ts +1 -1
  326. package/src/sdk/models/operations/removescimgroups.ts +1 -1
  327. package/src/sdk/models/operations/removescimusers.ts +1 -1
  328. package/src/sdk/models/operations/removestoragefile.ts +1 -1
  329. package/src/sdk/models/operations/removetaskcomment.ts +1 -1
  330. package/src/sdk/models/operations/removetaskproject.ts +1 -1
  331. package/src/sdk/models/operations/removetasktask.ts +1 -1
  332. package/src/sdk/models/operations/removeticketingcategory.ts +1 -1
  333. package/src/sdk/models/operations/removeticketingcustomer.ts +1 -1
  334. package/src/sdk/models/operations/removeticketingnote.ts +1 -1
  335. package/src/sdk/models/operations/removeticketingticket.ts +1 -1
  336. package/src/sdk/models/operations/removeuccomment.ts +1 -1
  337. package/src/sdk/models/operations/removeuccontact.ts +1 -1
  338. package/src/sdk/models/operations/removeucrecording.ts +1 -1
  339. package/src/sdk/models/operations/removeunifiedconnection.ts +1 -1
  340. package/src/sdk/models/operations/removeunifiedwebhook.ts +1 -1
  341. package/src/sdk/models/operations/removeverificationrequest.ts +1 -1
  342. package/src/sdk/models/operations/updatepassthroughjson.ts +1 -1
  343. package/src/sdk/models/operations/updatepassthroughraw.ts +1 -1
  344. package/src/sdk/models/operations/updateunifiedwebhooktrigger.ts +1 -1
  345. package/src/sdk/models/shared/accountingcashflow.ts +176 -0
  346. package/src/sdk/models/shared/accountingcashflowitem.ts +108 -0
  347. package/src/sdk/models/shared/accountingcashflowsection.ts +91 -0
  348. package/src/sdk/models/shared/accountingjournallineitem.ts +18 -0
  349. package/src/sdk/models/shared/index.ts +4 -0
  350. package/src/sdk/models/shared/propertyaccountingcashflowitemsubitems.ts +64 -0
  351. package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
  352. package/src/sdk/models/shared/repocommit.ts +4 -4
  353. package/src/sdk/models/shared/webhook.ts +1 -0
  354. package/src/sdk/sdk.ts +6 -0
@@ -0,0 +1,176 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
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
+ AccountingCashflowSection,
12
+ AccountingCashflowSection$inboundSchema,
13
+ AccountingCashflowSection$Outbound,
14
+ AccountingCashflowSection$outboundSchema,
15
+ } from "./accountingcashflowsection.js";
16
+
17
+ /**
18
+ * Sections
19
+ */
20
+ export type AccountingCashflow = {
21
+ cashBeginningAmount?: number | undefined;
22
+ cashEndingAmount?: number | undefined;
23
+ categoryIds?: Array<string> | undefined;
24
+ contactId?: string | undefined;
25
+ createdAt?: Date | undefined;
26
+ currency?: string | undefined;
27
+ endAt?: Date | undefined;
28
+ financingSections?: Array<AccountingCashflowSection> | undefined;
29
+ id?: string | undefined;
30
+ investingSections?: Array<AccountingCashflowSection> | undefined;
31
+ name?: string | undefined;
32
+ netChangeInCashAmount?: number | undefined;
33
+ operatingSections?: Array<AccountingCashflowSection> | undefined;
34
+ raw?: { [k: string]: any } | undefined;
35
+ startAt?: Date | undefined;
36
+ updatedAt?: Date | undefined;
37
+ };
38
+
39
+ /** @internal */
40
+ export const AccountingCashflow$inboundSchema: z.ZodType<
41
+ AccountingCashflow,
42
+ z.ZodTypeDef,
43
+ unknown
44
+ > = z.object({
45
+ cash_beginning_amount: z.number().optional(),
46
+ cash_ending_amount: z.number().optional(),
47
+ category_ids: z.array(z.string()).optional(),
48
+ contact_id: z.string().optional(),
49
+ created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
50
+ .optional(),
51
+ currency: z.string().optional(),
52
+ end_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
53
+ .optional(),
54
+ financing_sections: z.array(AccountingCashflowSection$inboundSchema)
55
+ .optional(),
56
+ id: z.string().optional(),
57
+ investing_sections: z.array(AccountingCashflowSection$inboundSchema)
58
+ .optional(),
59
+ name: z.string().optional(),
60
+ net_change_in_cash_amount: z.number().optional(),
61
+ operating_sections: z.array(AccountingCashflowSection$inboundSchema)
62
+ .optional(),
63
+ raw: z.record(z.any()).optional(),
64
+ start_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
65
+ .optional(),
66
+ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
67
+ .optional(),
68
+ }).transform((v) => {
69
+ return remap$(v, {
70
+ "cash_beginning_amount": "cashBeginningAmount",
71
+ "cash_ending_amount": "cashEndingAmount",
72
+ "category_ids": "categoryIds",
73
+ "contact_id": "contactId",
74
+ "created_at": "createdAt",
75
+ "end_at": "endAt",
76
+ "financing_sections": "financingSections",
77
+ "investing_sections": "investingSections",
78
+ "net_change_in_cash_amount": "netChangeInCashAmount",
79
+ "operating_sections": "operatingSections",
80
+ "start_at": "startAt",
81
+ "updated_at": "updatedAt",
82
+ });
83
+ });
84
+
85
+ /** @internal */
86
+ export type AccountingCashflow$Outbound = {
87
+ cash_beginning_amount?: number | undefined;
88
+ cash_ending_amount?: number | undefined;
89
+ category_ids?: Array<string> | undefined;
90
+ contact_id?: string | undefined;
91
+ created_at?: string | undefined;
92
+ currency?: string | undefined;
93
+ end_at?: string | undefined;
94
+ financing_sections?: Array<AccountingCashflowSection$Outbound> | undefined;
95
+ id?: string | undefined;
96
+ investing_sections?: Array<AccountingCashflowSection$Outbound> | undefined;
97
+ name?: string | undefined;
98
+ net_change_in_cash_amount?: number | undefined;
99
+ operating_sections?: Array<AccountingCashflowSection$Outbound> | undefined;
100
+ raw?: { [k: string]: any } | undefined;
101
+ start_at?: string | undefined;
102
+ updated_at?: string | undefined;
103
+ };
104
+
105
+ /** @internal */
106
+ export const AccountingCashflow$outboundSchema: z.ZodType<
107
+ AccountingCashflow$Outbound,
108
+ z.ZodTypeDef,
109
+ AccountingCashflow
110
+ > = z.object({
111
+ cashBeginningAmount: z.number().optional(),
112
+ cashEndingAmount: z.number().optional(),
113
+ categoryIds: z.array(z.string()).optional(),
114
+ contactId: z.string().optional(),
115
+ createdAt: z.date().transform(v => v.toISOString()).optional(),
116
+ currency: z.string().optional(),
117
+ endAt: z.date().transform(v => v.toISOString()).optional(),
118
+ financingSections: z.array(AccountingCashflowSection$outboundSchema)
119
+ .optional(),
120
+ id: z.string().optional(),
121
+ investingSections: z.array(AccountingCashflowSection$outboundSchema)
122
+ .optional(),
123
+ name: z.string().optional(),
124
+ netChangeInCashAmount: z.number().optional(),
125
+ operatingSections: z.array(AccountingCashflowSection$outboundSchema)
126
+ .optional(),
127
+ raw: z.record(z.any()).optional(),
128
+ startAt: z.date().transform(v => v.toISOString()).optional(),
129
+ updatedAt: z.date().transform(v => v.toISOString()).optional(),
130
+ }).transform((v) => {
131
+ return remap$(v, {
132
+ cashBeginningAmount: "cash_beginning_amount",
133
+ cashEndingAmount: "cash_ending_amount",
134
+ categoryIds: "category_ids",
135
+ contactId: "contact_id",
136
+ createdAt: "created_at",
137
+ endAt: "end_at",
138
+ financingSections: "financing_sections",
139
+ investingSections: "investing_sections",
140
+ netChangeInCashAmount: "net_change_in_cash_amount",
141
+ operatingSections: "operating_sections",
142
+ startAt: "start_at",
143
+ updatedAt: "updated_at",
144
+ });
145
+ });
146
+
147
+ /**
148
+ * @internal
149
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
150
+ */
151
+ export namespace AccountingCashflow$ {
152
+ /** @deprecated use `AccountingCashflow$inboundSchema` instead. */
153
+ export const inboundSchema = AccountingCashflow$inboundSchema;
154
+ /** @deprecated use `AccountingCashflow$outboundSchema` instead. */
155
+ export const outboundSchema = AccountingCashflow$outboundSchema;
156
+ /** @deprecated use `AccountingCashflow$Outbound` instead. */
157
+ export type Outbound = AccountingCashflow$Outbound;
158
+ }
159
+
160
+ export function accountingCashflowToJSON(
161
+ accountingCashflow: AccountingCashflow,
162
+ ): string {
163
+ return JSON.stringify(
164
+ AccountingCashflow$outboundSchema.parse(accountingCashflow),
165
+ );
166
+ }
167
+
168
+ export function accountingCashflowFromJSON(
169
+ jsonString: string,
170
+ ): SafeParseResult<AccountingCashflow, SDKValidationError> {
171
+ return safeParse(
172
+ jsonString,
173
+ (x) => AccountingCashflow$inboundSchema.parse(JSON.parse(x)),
174
+ `Failed to parse 'AccountingCashflow' from JSON`,
175
+ );
176
+ }
@@ -0,0 +1,108 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
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
+ PropertyAccountingCashflowItemSubItems,
12
+ PropertyAccountingCashflowItemSubItems$inboundSchema,
13
+ PropertyAccountingCashflowItemSubItems$Outbound,
14
+ PropertyAccountingCashflowItemSubItems$outboundSchema,
15
+ } from "./propertyaccountingcashflowitemsubitems.js";
16
+
17
+ export type AccountingCashflowItem = {
18
+ accountId?: string | undefined;
19
+ amount?: number | undefined;
20
+ name?: string | undefined;
21
+ subItems?: Array<PropertyAccountingCashflowItemSubItems> | undefined;
22
+ /**
23
+ * Optional linkage to transactions
24
+ */
25
+ transactionIds?: Array<string> | undefined;
26
+ };
27
+
28
+ /** @internal */
29
+ export const AccountingCashflowItem$inboundSchema: z.ZodType<
30
+ AccountingCashflowItem,
31
+ z.ZodTypeDef,
32
+ unknown
33
+ > = z.object({
34
+ account_id: z.string().optional(),
35
+ amount: z.number().optional(),
36
+ name: z.string().optional(),
37
+ sub_items: z.array(PropertyAccountingCashflowItemSubItems$inboundSchema)
38
+ .optional(),
39
+ transaction_ids: z.array(z.string()).optional(),
40
+ }).transform((v) => {
41
+ return remap$(v, {
42
+ "account_id": "accountId",
43
+ "sub_items": "subItems",
44
+ "transaction_ids": "transactionIds",
45
+ });
46
+ });
47
+
48
+ /** @internal */
49
+ export type AccountingCashflowItem$Outbound = {
50
+ account_id?: string | undefined;
51
+ amount?: number | undefined;
52
+ name?: string | undefined;
53
+ sub_items?:
54
+ | Array<PropertyAccountingCashflowItemSubItems$Outbound>
55
+ | undefined;
56
+ transaction_ids?: Array<string> | undefined;
57
+ };
58
+
59
+ /** @internal */
60
+ export const AccountingCashflowItem$outboundSchema: z.ZodType<
61
+ AccountingCashflowItem$Outbound,
62
+ z.ZodTypeDef,
63
+ AccountingCashflowItem
64
+ > = z.object({
65
+ accountId: z.string().optional(),
66
+ amount: z.number().optional(),
67
+ name: z.string().optional(),
68
+ subItems: z.array(PropertyAccountingCashflowItemSubItems$outboundSchema)
69
+ .optional(),
70
+ transactionIds: z.array(z.string()).optional(),
71
+ }).transform((v) => {
72
+ return remap$(v, {
73
+ accountId: "account_id",
74
+ subItems: "sub_items",
75
+ transactionIds: "transaction_ids",
76
+ });
77
+ });
78
+
79
+ /**
80
+ * @internal
81
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
82
+ */
83
+ export namespace AccountingCashflowItem$ {
84
+ /** @deprecated use `AccountingCashflowItem$inboundSchema` instead. */
85
+ export const inboundSchema = AccountingCashflowItem$inboundSchema;
86
+ /** @deprecated use `AccountingCashflowItem$outboundSchema` instead. */
87
+ export const outboundSchema = AccountingCashflowItem$outboundSchema;
88
+ /** @deprecated use `AccountingCashflowItem$Outbound` instead. */
89
+ export type Outbound = AccountingCashflowItem$Outbound;
90
+ }
91
+
92
+ export function accountingCashflowItemToJSON(
93
+ accountingCashflowItem: AccountingCashflowItem,
94
+ ): string {
95
+ return JSON.stringify(
96
+ AccountingCashflowItem$outboundSchema.parse(accountingCashflowItem),
97
+ );
98
+ }
99
+
100
+ export function accountingCashflowItemFromJSON(
101
+ jsonString: string,
102
+ ): SafeParseResult<AccountingCashflowItem, SDKValidationError> {
103
+ return safeParse(
104
+ jsonString,
105
+ (x) => AccountingCashflowItem$inboundSchema.parse(JSON.parse(x)),
106
+ `Failed to parse 'AccountingCashflowItem' from JSON`,
107
+ );
108
+ }
@@ -0,0 +1,91 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
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
+ AccountingCashflowItem,
12
+ AccountingCashflowItem$inboundSchema,
13
+ AccountingCashflowItem$Outbound,
14
+ AccountingCashflowItem$outboundSchema,
15
+ } from "./accountingcashflowitem.js";
16
+
17
+ export type AccountingCashflowSection = {
18
+ items?: Array<AccountingCashflowItem> | undefined;
19
+ sectionName?: string | undefined;
20
+ totalAmount?: number | undefined;
21
+ };
22
+
23
+ /** @internal */
24
+ export const AccountingCashflowSection$inboundSchema: z.ZodType<
25
+ AccountingCashflowSection,
26
+ z.ZodTypeDef,
27
+ unknown
28
+ > = z.object({
29
+ items: z.array(AccountingCashflowItem$inboundSchema).optional(),
30
+ section_name: z.string().optional(),
31
+ total_amount: z.number().optional(),
32
+ }).transform((v) => {
33
+ return remap$(v, {
34
+ "section_name": "sectionName",
35
+ "total_amount": "totalAmount",
36
+ });
37
+ });
38
+
39
+ /** @internal */
40
+ export type AccountingCashflowSection$Outbound = {
41
+ items?: Array<AccountingCashflowItem$Outbound> | undefined;
42
+ section_name?: string | undefined;
43
+ total_amount?: number | undefined;
44
+ };
45
+
46
+ /** @internal */
47
+ export const AccountingCashflowSection$outboundSchema: z.ZodType<
48
+ AccountingCashflowSection$Outbound,
49
+ z.ZodTypeDef,
50
+ AccountingCashflowSection
51
+ > = z.object({
52
+ items: z.array(AccountingCashflowItem$outboundSchema).optional(),
53
+ sectionName: z.string().optional(),
54
+ totalAmount: z.number().optional(),
55
+ }).transform((v) => {
56
+ return remap$(v, {
57
+ sectionName: "section_name",
58
+ totalAmount: "total_amount",
59
+ });
60
+ });
61
+
62
+ /**
63
+ * @internal
64
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
65
+ */
66
+ export namespace AccountingCashflowSection$ {
67
+ /** @deprecated use `AccountingCashflowSection$inboundSchema` instead. */
68
+ export const inboundSchema = AccountingCashflowSection$inboundSchema;
69
+ /** @deprecated use `AccountingCashflowSection$outboundSchema` instead. */
70
+ export const outboundSchema = AccountingCashflowSection$outboundSchema;
71
+ /** @deprecated use `AccountingCashflowSection$Outbound` instead. */
72
+ export type Outbound = AccountingCashflowSection$Outbound;
73
+ }
74
+
75
+ export function accountingCashflowSectionToJSON(
76
+ accountingCashflowSection: AccountingCashflowSection,
77
+ ): string {
78
+ return JSON.stringify(
79
+ AccountingCashflowSection$outboundSchema.parse(accountingCashflowSection),
80
+ );
81
+ }
82
+
83
+ export function accountingCashflowSectionFromJSON(
84
+ jsonString: string,
85
+ ): SafeParseResult<AccountingCashflowSection, SDKValidationError> {
86
+ return safeParse(
87
+ jsonString,
88
+ (x) => AccountingCashflowSection$inboundSchema.parse(JSON.parse(x)),
89
+ `Failed to parse 'AccountingCashflowSection' from JSON`,
90
+ );
91
+ }
@@ -10,11 +10,14 @@ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
10
10
 
11
11
  export type AccountingJournalLineitem = {
12
12
  accountId?: string | undefined;
13
+ categoryIds?: Array<string> | undefined;
13
14
  contactId?: string | undefined;
14
15
  description?: string | undefined;
16
+ groupId?: string | undefined;
15
17
  id?: string | undefined;
16
18
  invoiceId?: string | undefined;
17
19
  paymentId?: string | undefined;
20
+ projectId?: string | undefined;
18
21
  taxAmount?: number | undefined;
19
22
  totalAmount?: number | undefined;
20
23
  };
@@ -26,19 +29,25 @@ export const AccountingJournalLineitem$inboundSchema: z.ZodType<
26
29
  unknown
27
30
  > = z.object({
28
31
  account_id: z.string().optional(),
32
+ category_ids: z.array(z.string()).optional(),
29
33
  contact_id: z.string().optional(),
30
34
  description: z.string().optional(),
35
+ group_id: z.string().optional(),
31
36
  id: z.string().optional(),
32
37
  invoice_id: z.string().optional(),
33
38
  payment_id: z.string().optional(),
39
+ project_id: z.string().optional(),
34
40
  tax_amount: z.number().optional(),
35
41
  total_amount: z.number().optional(),
36
42
  }).transform((v) => {
37
43
  return remap$(v, {
38
44
  "account_id": "accountId",
45
+ "category_ids": "categoryIds",
39
46
  "contact_id": "contactId",
47
+ "group_id": "groupId",
40
48
  "invoice_id": "invoiceId",
41
49
  "payment_id": "paymentId",
50
+ "project_id": "projectId",
42
51
  "tax_amount": "taxAmount",
43
52
  "total_amount": "totalAmount",
44
53
  });
@@ -47,11 +56,14 @@ export const AccountingJournalLineitem$inboundSchema: z.ZodType<
47
56
  /** @internal */
48
57
  export type AccountingJournalLineitem$Outbound = {
49
58
  account_id?: string | undefined;
59
+ category_ids?: Array<string> | undefined;
50
60
  contact_id?: string | undefined;
51
61
  description?: string | undefined;
62
+ group_id?: string | undefined;
52
63
  id?: string | undefined;
53
64
  invoice_id?: string | undefined;
54
65
  payment_id?: string | undefined;
66
+ project_id?: string | undefined;
55
67
  tax_amount?: number | undefined;
56
68
  total_amount?: number | undefined;
57
69
  };
@@ -63,19 +75,25 @@ export const AccountingJournalLineitem$outboundSchema: z.ZodType<
63
75
  AccountingJournalLineitem
64
76
  > = z.object({
65
77
  accountId: z.string().optional(),
78
+ categoryIds: z.array(z.string()).optional(),
66
79
  contactId: z.string().optional(),
67
80
  description: z.string().optional(),
81
+ groupId: z.string().optional(),
68
82
  id: z.string().optional(),
69
83
  invoiceId: z.string().optional(),
70
84
  paymentId: z.string().optional(),
85
+ projectId: z.string().optional(),
71
86
  taxAmount: z.number().optional(),
72
87
  totalAmount: z.number().optional(),
73
88
  }).transform((v) => {
74
89
  return remap$(v, {
75
90
  accountId: "account_id",
91
+ categoryIds: "category_ids",
76
92
  contactId: "contact_id",
93
+ groupId: "group_id",
77
94
  invoiceId: "invoice_id",
78
95
  paymentId: "payment_id",
96
+ projectId: "project_id",
79
97
  taxAmount: "tax_amount",
80
98
  totalAmount: "total_amount",
81
99
  });
@@ -8,6 +8,9 @@ export * from "./accountingattachment.js";
8
8
  export * from "./accountingbalancesheet.js";
9
9
  export * from "./accountingbalancesheetitem.js";
10
10
  export * from "./accountingbill.js";
11
+ export * from "./accountingcashflow.js";
12
+ export * from "./accountingcashflowitem.js";
13
+ export * from "./accountingcashflowsection.js";
11
14
  export * from "./accountingcategory.js";
12
15
  export * from "./accountingcontact.js";
13
16
  export * from "./accountingcontactpaymentmethod.js";
@@ -147,6 +150,7 @@ export * from "./paymentpayout.js";
147
150
  export * from "./paymentrefund.js";
148
151
  export * from "./paymentsubscription.js";
149
152
  export * from "./propertyaccountingbalancesheetitemsubitems.js";
153
+ export * from "./propertyaccountingcashflowitemsubitems.js";
150
154
  export * from "./propertyaccountingcontactbillingaddress.js";
151
155
  export * from "./propertyaccountingcontactshippingaddress.js";
152
156
  export * from "./propertyaccountingorderbillingaddress.js";
@@ -0,0 +1,64 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import * as z from "zod/v3";
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 PropertyAccountingCashflowItemSubItems = {};
11
+
12
+ /** @internal */
13
+ export const PropertyAccountingCashflowItemSubItems$inboundSchema: z.ZodType<
14
+ PropertyAccountingCashflowItemSubItems,
15
+ z.ZodTypeDef,
16
+ unknown
17
+ > = z.object({});
18
+
19
+ /** @internal */
20
+ export type PropertyAccountingCashflowItemSubItems$Outbound = {};
21
+
22
+ /** @internal */
23
+ export const PropertyAccountingCashflowItemSubItems$outboundSchema: z.ZodType<
24
+ PropertyAccountingCashflowItemSubItems$Outbound,
25
+ z.ZodTypeDef,
26
+ PropertyAccountingCashflowItemSubItems
27
+ > = z.object({});
28
+
29
+ /**
30
+ * @internal
31
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
32
+ */
33
+ export namespace PropertyAccountingCashflowItemSubItems$ {
34
+ /** @deprecated use `PropertyAccountingCashflowItemSubItems$inboundSchema` instead. */
35
+ export const inboundSchema =
36
+ PropertyAccountingCashflowItemSubItems$inboundSchema;
37
+ /** @deprecated use `PropertyAccountingCashflowItemSubItems$outboundSchema` instead. */
38
+ export const outboundSchema =
39
+ PropertyAccountingCashflowItemSubItems$outboundSchema;
40
+ /** @deprecated use `PropertyAccountingCashflowItemSubItems$Outbound` instead. */
41
+ export type Outbound = PropertyAccountingCashflowItemSubItems$Outbound;
42
+ }
43
+
44
+ export function propertyAccountingCashflowItemSubItemsToJSON(
45
+ propertyAccountingCashflowItemSubItems:
46
+ PropertyAccountingCashflowItemSubItems,
47
+ ): string {
48
+ return JSON.stringify(
49
+ PropertyAccountingCashflowItemSubItems$outboundSchema.parse(
50
+ propertyAccountingCashflowItemSubItems,
51
+ ),
52
+ );
53
+ }
54
+
55
+ export function propertyAccountingCashflowItemSubItemsFromJSON(
56
+ jsonString: string,
57
+ ): SafeParseResult<PropertyAccountingCashflowItemSubItems, SDKValidationError> {
58
+ return safeParse(
59
+ jsonString,
60
+ (x) =>
61
+ PropertyAccountingCashflowItemSubItems$inboundSchema.parse(JSON.parse(x)),
62
+ `Failed to parse 'PropertyAccountingCashflowItemSubItems' from JSON`,
63
+ );
64
+ }
@@ -47,6 +47,8 @@ export const PropertyConnectionPermissions = {
47
47
  AccountingCategoryWrite: "accounting_category_write",
48
48
  PaymentPaymentRead: "payment_payment_read",
49
49
  PaymentPaymentWrite: "payment_payment_write",
50
+ AccountingCashflowRead: "accounting_cashflow_read",
51
+ AccountingCashflowWrite: "accounting_cashflow_write",
50
52
  PaymentPayoutRead: "payment_payout_read",
51
53
  PaymentRefundRead: "payment_refund_read",
52
54
  PaymentLinkRead: "payment_link_read",
@@ -16,7 +16,7 @@ export type RepoCommit = {
16
16
  raw?: { [k: string]: any } | undefined;
17
17
  repoId: string;
18
18
  updatedAt?: Date | undefined;
19
- userId: string;
19
+ userId?: string | undefined;
20
20
  };
21
21
 
22
22
  /** @internal */
@@ -34,7 +34,7 @@ export const RepoCommit$inboundSchema: z.ZodType<
34
34
  repo_id: z.string(),
35
35
  updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
36
36
  .optional(),
37
- user_id: z.string(),
37
+ user_id: z.string().optional(),
38
38
  }).transform((v) => {
39
39
  return remap$(v, {
40
40
  "branch_id": "branchId",
@@ -54,7 +54,7 @@ export type RepoCommit$Outbound = {
54
54
  raw?: { [k: string]: any } | undefined;
55
55
  repo_id: string;
56
56
  updated_at?: string | undefined;
57
- user_id: string;
57
+ user_id?: string | undefined;
58
58
  };
59
59
 
60
60
  /** @internal */
@@ -70,7 +70,7 @@ export const RepoCommit$outboundSchema: z.ZodType<
70
70
  raw: z.record(z.any()).optional(),
71
71
  repoId: z.string(),
72
72
  updatedAt: z.date().transform(v => v.toISOString()).optional(),
73
- userId: z.string(),
73
+ userId: z.string().optional(),
74
74
  }).transform((v) => {
75
75
  return remap$(v, {
76
76
  branchId: "branch_id",
@@ -48,6 +48,7 @@ export const ObjectType = {
48
48
  AccountingTrialbalance: "accounting_trialbalance",
49
49
  AccountingCategory: "accounting_category",
50
50
  AccountingExpense: "accounting_expense",
51
+ AccountingCashflow: "accounting_cashflow",
51
52
  PaymentPayment: "payment_payment",
52
53
  PaymentLink: "payment_link",
53
54
  PaymentPayout: "payment_payout",
package/src/sdk/sdk.ts CHANGED
@@ -18,6 +18,7 @@ import { Busy } from "./busy.js";
18
18
  import { Calendar } from "./calendar.js";
19
19
  import { Call } from "./call.js";
20
20
  import { Candidate } from "./candidate.js";
21
+ import { Cashflow } from "./cashflow.js";
21
22
  import { Category } from "./category.js";
22
23
  import { Change } from "./change.js";
23
24
  import { Channel } from "./channel.js";
@@ -132,6 +133,11 @@ export class UnifiedTo extends ClientSDK {
132
133
  return (this._bill ??= new Bill(this._options));
133
134
  }
134
135
 
136
+ private _cashflow?: Cashflow;
137
+ get cashflow(): Cashflow {
138
+ return (this._cashflow ??= new Cashflow(this._options));
139
+ }
140
+
135
141
  private _category?: Category;
136
142
  get category(): Category {
137
143
  return (this._category ??= new Category(this._options));