@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
package/README.md CHANGED
@@ -474,6 +474,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
474
474
  - [`accountingGetAccountingBalancesheet`](docs/sdks/balancesheet/README.md#getaccountingbalancesheet) - Retrieve a balancesheet
475
475
  - [`accountingGetAccountingBill`](docs/sdks/accounting/README.md#getaccountingbill) - Retrieve a bill
476
476
  - [`accountingGetAccountingBill`](docs/sdks/bill/README.md#getaccountingbill) - Retrieve a bill
477
+ - [`accountingGetAccountingCashflow`](docs/sdks/accounting/README.md#getaccountingcashflow) - Retrieve a cashflow
478
+ - [`accountingGetAccountingCashflow`](docs/sdks/cashflow/README.md#getaccountingcashflow) - Retrieve a cashflow
477
479
  - [`accountingGetAccountingCategory`](docs/sdks/accounting/README.md#getaccountingcategory) - Retrieve a category
478
480
  - [`accountingGetAccountingCategory`](docs/sdks/category/README.md#getaccountingcategory) - Retrieve a category
479
481
  - [`accountingGetAccountingContact`](docs/sdks/accounting/README.md#getaccountingcontact) - Retrieve a contact
@@ -510,6 +512,8 @@ To read more about standalone functions, check [FUNCTIONS.md](./FUNCTIONS.md).
510
512
  - [`accountingListAccountingBalancesheets`](docs/sdks/balancesheet/README.md#listaccountingbalancesheets) - List all balancesheets
511
513
  - [`accountingListAccountingBills`](docs/sdks/accounting/README.md#listaccountingbills) - List all bills
512
514
  - [`accountingListAccountingBills`](docs/sdks/bill/README.md#listaccountingbills) - List all bills
515
+ - [`accountingListAccountingCashflows`](docs/sdks/accounting/README.md#listaccountingcashflows) - List all cashflows
516
+ - [`accountingListAccountingCashflows`](docs/sdks/cashflow/README.md#listaccountingcashflows) - List all cashflows
513
517
  - [`accountingListAccountingCategories`](docs/sdks/accounting/README.md#listaccountingcategories) - List all categories
514
518
  - [`accountingListAccountingCategories`](docs/sdks/category/README.md#listaccountingcategories) - List all categories
515
519
  - [`accountingListAccountingContacts`](docs/sdks/accounting/README.md#listaccountingcontacts) - List all contacts
@@ -21,6 +21,7 @@
21
21
  * [getAccountingAccount](#getaccountingaccount) - Retrieve an account
22
22
  * [getAccountingBalancesheet](#getaccountingbalancesheet) - Retrieve a balancesheet
23
23
  * [getAccountingBill](#getaccountingbill) - Retrieve a bill
24
+ * [getAccountingCashflow](#getaccountingcashflow) - Retrieve a cashflow
24
25
  * [getAccountingCategory](#getaccountingcategory) - Retrieve a category
25
26
  * [getAccountingContact](#getaccountingcontact) - Retrieve a contact
26
27
  * [getAccountingCreditmemo](#getaccountingcreditmemo) - Retrieve a creditmemo
@@ -39,6 +40,7 @@
39
40
  * [listAccountingAccounts](#listaccountingaccounts) - List all accounts
40
41
  * [listAccountingBalancesheets](#listaccountingbalancesheets) - List all balancesheets
41
42
  * [listAccountingBills](#listaccountingbills) - List all bills
43
+ * [listAccountingCashflows](#listaccountingcashflows) - List all cashflows
42
44
  * [listAccountingCategories](#listaccountingcategories) - List all categories
43
45
  * [listAccountingContacts](#listaccountingcontacts) - List all contacts
44
46
  * [listAccountingCreditmemoes](#listaccountingcreditmemoes) - List all creditmemoes
@@ -1358,6 +1360,85 @@ run();
1358
1360
  | --------------- | --------------- | --------------- |
1359
1361
  | errors.SDKError | 4XX, 5XX | \*/\* |
1360
1362
 
1363
+ ## getAccountingCashflow
1364
+
1365
+ Retrieve a cashflow
1366
+
1367
+ ### Example Usage
1368
+
1369
+ <!-- UsageSnippet language="typescript" operationID="getAccountingCashflow" method="get" path="/accounting/{connection_id}/cashflow/{id}" -->
1370
+ ```typescript
1371
+ import { UnifiedTo } from "@unified-api/typescript-sdk";
1372
+
1373
+ const unifiedTo = new UnifiedTo({
1374
+ security: {
1375
+ jwt: "<YOUR_API_KEY_HERE>",
1376
+ },
1377
+ });
1378
+
1379
+ async function run() {
1380
+ const result = await unifiedTo.accounting.getAccountingCashflow({
1381
+ connectionId: "<id>",
1382
+ id: "<id>",
1383
+ });
1384
+
1385
+ console.log(result);
1386
+ }
1387
+
1388
+ run();
1389
+ ```
1390
+
1391
+ ### Standalone function
1392
+
1393
+ The standalone function version of this method:
1394
+
1395
+ ```typescript
1396
+ import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
1397
+ import { accountingGetAccountingCashflow } from "@unified-api/typescript-sdk/funcs/accountingGetAccountingCashflow.js";
1398
+
1399
+ // Use `UnifiedToCore` for best tree-shaking performance.
1400
+ // You can create one instance of it to use across an application.
1401
+ const unifiedTo = new UnifiedToCore({
1402
+ security: {
1403
+ jwt: "<YOUR_API_KEY_HERE>",
1404
+ },
1405
+ });
1406
+
1407
+ async function run() {
1408
+ const res = await accountingGetAccountingCashflow(unifiedTo, {
1409
+ connectionId: "<id>",
1410
+ id: "<id>",
1411
+ });
1412
+ if (res.ok) {
1413
+ const { value: result } = res;
1414
+ console.log(result);
1415
+ } else {
1416
+ console.log("accountingGetAccountingCashflow failed:", res.error);
1417
+ }
1418
+ }
1419
+
1420
+ run();
1421
+ ```
1422
+
1423
+ ### Parameters
1424
+
1425
+ | Parameter | Type | Required | Description |
1426
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
1427
+ | `request` | [operations.GetAccountingCashflowRequest](../../sdk/models/operations/getaccountingcashflowrequest.md) | :heavy_check_mark: | The request object to use for the request. |
1428
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
1429
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
1430
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
1431
+
1432
+ ### Response
1433
+
1434
+ **Promise\<[shared.AccountingCashflow](../../sdk/models/shared/accountingcashflow.md)\>**
1435
+
1436
+ ### Errors
1437
+
1438
+ | Error Type | Status Code | Content Type |
1439
+ | --------------- | --------------- | --------------- |
1440
+ | errors.SDKError | 4XX, 5XX | \*/\* |
1441
+
1361
1442
  ## getAccountingCategory
1362
1443
 
1363
1444
  Retrieve a category
@@ -2774,6 +2855,83 @@ run();
2774
2855
  | --------------- | --------------- | --------------- |
2775
2856
  | errors.SDKError | 4XX, 5XX | \*/\* |
2776
2857
 
2858
+ ## listAccountingCashflows
2859
+
2860
+ List all cashflows
2861
+
2862
+ ### Example Usage
2863
+
2864
+ <!-- UsageSnippet language="typescript" operationID="listAccountingCashflows" method="get" path="/accounting/{connection_id}/cashflow" -->
2865
+ ```typescript
2866
+ import { UnifiedTo } from "@unified-api/typescript-sdk";
2867
+
2868
+ const unifiedTo = new UnifiedTo({
2869
+ security: {
2870
+ jwt: "<YOUR_API_KEY_HERE>",
2871
+ },
2872
+ });
2873
+
2874
+ async function run() {
2875
+ const result = await unifiedTo.accounting.listAccountingCashflows({
2876
+ connectionId: "<id>",
2877
+ });
2878
+
2879
+ console.log(result);
2880
+ }
2881
+
2882
+ run();
2883
+ ```
2884
+
2885
+ ### Standalone function
2886
+
2887
+ The standalone function version of this method:
2888
+
2889
+ ```typescript
2890
+ import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
2891
+ import { accountingListAccountingCashflows } from "@unified-api/typescript-sdk/funcs/accountingListAccountingCashflows.js";
2892
+
2893
+ // Use `UnifiedToCore` for best tree-shaking performance.
2894
+ // You can create one instance of it to use across an application.
2895
+ const unifiedTo = new UnifiedToCore({
2896
+ security: {
2897
+ jwt: "<YOUR_API_KEY_HERE>",
2898
+ },
2899
+ });
2900
+
2901
+ async function run() {
2902
+ const res = await accountingListAccountingCashflows(unifiedTo, {
2903
+ connectionId: "<id>",
2904
+ });
2905
+ if (res.ok) {
2906
+ const { value: result } = res;
2907
+ console.log(result);
2908
+ } else {
2909
+ console.log("accountingListAccountingCashflows failed:", res.error);
2910
+ }
2911
+ }
2912
+
2913
+ run();
2914
+ ```
2915
+
2916
+ ### Parameters
2917
+
2918
+ | Parameter | Type | Required | Description |
2919
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
2920
+ | `request` | [operations.ListAccountingCashflowsRequest](../../sdk/models/operations/listaccountingcashflowsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
2921
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
2922
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
2923
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
2924
+
2925
+ ### Response
2926
+
2927
+ **Promise\<[shared.AccountingCashflow[]](../../models/.md)\>**
2928
+
2929
+ ### Errors
2930
+
2931
+ | Error Type | Status Code | Content Type |
2932
+ | --------------- | --------------- | --------------- |
2933
+ | errors.SDKError | 4XX, 5XX | \*/\* |
2934
+
2777
2935
  ## listAccountingCategories
2778
2936
 
2779
2937
  List all categories
@@ -0,0 +1,165 @@
1
+ # Cashflow
2
+ (*cashflow*)
3
+
4
+ ## Overview
5
+
6
+ ### Available Operations
7
+
8
+ * [getAccountingCashflow](#getaccountingcashflow) - Retrieve a cashflow
9
+ * [listAccountingCashflows](#listaccountingcashflows) - List all cashflows
10
+
11
+ ## getAccountingCashflow
12
+
13
+ Retrieve a cashflow
14
+
15
+ ### Example Usage
16
+
17
+ <!-- UsageSnippet language="typescript" operationID="getAccountingCashflow" method="get" path="/accounting/{connection_id}/cashflow/{id}" -->
18
+ ```typescript
19
+ import { UnifiedTo } from "@unified-api/typescript-sdk";
20
+
21
+ const unifiedTo = new UnifiedTo({
22
+ security: {
23
+ jwt: "<YOUR_API_KEY_HERE>",
24
+ },
25
+ });
26
+
27
+ async function run() {
28
+ const result = await unifiedTo.cashflow.getAccountingCashflow({
29
+ connectionId: "<id>",
30
+ id: "<id>",
31
+ });
32
+
33
+ console.log(result);
34
+ }
35
+
36
+ run();
37
+ ```
38
+
39
+ ### Standalone function
40
+
41
+ The standalone function version of this method:
42
+
43
+ ```typescript
44
+ import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
45
+ import { accountingGetAccountingCashflow } from "@unified-api/typescript-sdk/funcs/accountingGetAccountingCashflow.js";
46
+
47
+ // Use `UnifiedToCore` for best tree-shaking performance.
48
+ // You can create one instance of it to use across an application.
49
+ const unifiedTo = new UnifiedToCore({
50
+ security: {
51
+ jwt: "<YOUR_API_KEY_HERE>",
52
+ },
53
+ });
54
+
55
+ async function run() {
56
+ const res = await accountingGetAccountingCashflow(unifiedTo, {
57
+ connectionId: "<id>",
58
+ id: "<id>",
59
+ });
60
+ if (res.ok) {
61
+ const { value: result } = res;
62
+ console.log(result);
63
+ } else {
64
+ console.log("accountingGetAccountingCashflow failed:", res.error);
65
+ }
66
+ }
67
+
68
+ run();
69
+ ```
70
+
71
+ ### Parameters
72
+
73
+ | Parameter | Type | Required | Description |
74
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
75
+ | `request` | [operations.GetAccountingCashflowRequest](../../sdk/models/operations/getaccountingcashflowrequest.md) | :heavy_check_mark: | The request object to use for the request. |
76
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
77
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
78
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
79
+
80
+ ### Response
81
+
82
+ **Promise\<[shared.AccountingCashflow](../../sdk/models/shared/accountingcashflow.md)\>**
83
+
84
+ ### Errors
85
+
86
+ | Error Type | Status Code | Content Type |
87
+ | --------------- | --------------- | --------------- |
88
+ | errors.SDKError | 4XX, 5XX | \*/\* |
89
+
90
+ ## listAccountingCashflows
91
+
92
+ List all cashflows
93
+
94
+ ### Example Usage
95
+
96
+ <!-- UsageSnippet language="typescript" operationID="listAccountingCashflows" method="get" path="/accounting/{connection_id}/cashflow" -->
97
+ ```typescript
98
+ import { UnifiedTo } from "@unified-api/typescript-sdk";
99
+
100
+ const unifiedTo = new UnifiedTo({
101
+ security: {
102
+ jwt: "<YOUR_API_KEY_HERE>",
103
+ },
104
+ });
105
+
106
+ async function run() {
107
+ const result = await unifiedTo.cashflow.listAccountingCashflows({
108
+ connectionId: "<id>",
109
+ });
110
+
111
+ console.log(result);
112
+ }
113
+
114
+ run();
115
+ ```
116
+
117
+ ### Standalone function
118
+
119
+ The standalone function version of this method:
120
+
121
+ ```typescript
122
+ import { UnifiedToCore } from "@unified-api/typescript-sdk/core.js";
123
+ import { accountingListAccountingCashflows } from "@unified-api/typescript-sdk/funcs/accountingListAccountingCashflows.js";
124
+
125
+ // Use `UnifiedToCore` for best tree-shaking performance.
126
+ // You can create one instance of it to use across an application.
127
+ const unifiedTo = new UnifiedToCore({
128
+ security: {
129
+ jwt: "<YOUR_API_KEY_HERE>",
130
+ },
131
+ });
132
+
133
+ async function run() {
134
+ const res = await accountingListAccountingCashflows(unifiedTo, {
135
+ connectionId: "<id>",
136
+ });
137
+ if (res.ok) {
138
+ const { value: result } = res;
139
+ console.log(result);
140
+ } else {
141
+ console.log("accountingListAccountingCashflows failed:", res.error);
142
+ }
143
+ }
144
+
145
+ run();
146
+ ```
147
+
148
+ ### Parameters
149
+
150
+ | Parameter | Type | Required | Description |
151
+ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
152
+ | `request` | [operations.ListAccountingCashflowsRequest](../../sdk/models/operations/listaccountingcashflowsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
153
+ | `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
154
+ | `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
155
+ | `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
156
+
157
+ ### Response
158
+
159
+ **Promise\<[shared.AccountingCashflow[]](../../models/.md)\>**
160
+
161
+ ### Errors
162
+
163
+ | Error Type | Status Code | Content Type |
164
+ | --------------- | --------------- | --------------- |
165
+ | errors.SDKError | 4XX, 5XX | \*/\* |
@@ -32,7 +32,6 @@ async function run() {
32
32
  const result = await unifiedTo.commit.createRepoCommit({
33
33
  repoCommit: {
34
34
  repoId: "<id>",
35
- userId: "<id>",
36
35
  },
37
36
  connectionId: "<id>",
38
37
  });
@@ -63,7 +62,6 @@ async function run() {
63
62
  const res = await repoCreateRepoCommit(unifiedTo, {
64
63
  repoCommit: {
65
64
  repoId: "<id>",
66
- userId: "<id>",
67
65
  },
68
66
  connectionId: "<id>",
69
67
  });
@@ -273,7 +271,6 @@ async function run() {
273
271
  const result = await unifiedTo.commit.patchRepoCommit({
274
272
  repoCommit: {
275
273
  repoId: "<id>",
276
- userId: "<id>",
277
274
  },
278
275
  connectionId: "<id>",
279
276
  id: "<id>",
@@ -305,7 +302,6 @@ async function run() {
305
302
  const res = await repoPatchRepoCommit(unifiedTo, {
306
303
  repoCommit: {
307
304
  repoId: "<id>",
308
- userId: "<id>",
309
305
  },
310
306
  connectionId: "<id>",
311
307
  id: "<id>",
@@ -439,7 +435,6 @@ async function run() {
439
435
  const result = await unifiedTo.commit.updateRepoCommit({
440
436
  repoCommit: {
441
437
  repoId: "<id>",
442
- userId: "<id>",
443
438
  },
444
439
  connectionId: "<id>",
445
440
  id: "<id>",
@@ -471,7 +466,6 @@ async function run() {
471
466
  const res = await repoUpdateRepoCommit(unifiedTo, {
472
467
  repoCommit: {
473
468
  repoId: "<id>",
474
- userId: "<id>",
475
469
  },
476
470
  connectionId: "<id>",
477
471
  id: "<id>",
@@ -141,7 +141,6 @@ async function run() {
141
141
  const result = await unifiedTo.repo.createRepoCommit({
142
142
  repoCommit: {
143
143
  repoId: "<id>",
144
- userId: "<id>",
145
144
  },
146
145
  connectionId: "<id>",
147
146
  });
@@ -172,7 +171,6 @@ async function run() {
172
171
  const res = await repoCreateRepoCommit(unifiedTo, {
173
172
  repoCommit: {
174
173
  repoId: "<id>",
175
- userId: "<id>",
176
174
  },
177
175
  connectionId: "<id>",
178
176
  });
@@ -1334,7 +1332,6 @@ async function run() {
1334
1332
  const result = await unifiedTo.repo.patchRepoCommit({
1335
1333
  repoCommit: {
1336
1334
  repoId: "<id>",
1337
- userId: "<id>",
1338
1335
  },
1339
1336
  connectionId: "<id>",
1340
1337
  id: "<id>",
@@ -1366,7 +1363,6 @@ async function run() {
1366
1363
  const res = await repoPatchRepoCommit(unifiedTo, {
1367
1364
  repoCommit: {
1368
1365
  repoId: "<id>",
1369
- userId: "<id>",
1370
1366
  },
1371
1367
  connectionId: "<id>",
1372
1368
  id: "<id>",
@@ -2150,7 +2146,6 @@ async function run() {
2150
2146
  const result = await unifiedTo.repo.updateRepoCommit({
2151
2147
  repoCommit: {
2152
2148
  repoId: "<id>",
2153
- userId: "<id>",
2154
2149
  },
2155
2150
  connectionId: "<id>",
2156
2151
  id: "<id>",
@@ -2182,7 +2177,6 @@ async function run() {
2182
2177
  const res = await repoUpdateRepoCommit(unifiedTo, {
2183
2178
  repoCommit: {
2184
2179
  repoId: "<id>",
2185
- userId: "<id>",
2186
2180
  },
2187
2181
  connectionId: "<id>",
2188
2182
  id: "<id>",
@@ -18,7 +18,7 @@
18
18
  },
19
19
  "..": {
20
20
  "name": "@unified-api/typescript-sdk",
21
- "version": "2.77.0",
21
+ "version": "2.78.1",
22
22
  "dependencies": {
23
23
  "zod": "^3.25.0 || ^4.0.0"
24
24
  },
@@ -0,0 +1,15 @@
1
+ import { UnifiedToCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/errors/httpclienterrors.js";
4
+ import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
5
+ import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
6
+ import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
7
+ import * as operations from "../sdk/models/operations/index.js";
8
+ import * as shared from "../sdk/models/shared/index.js";
9
+ import { APIPromise } from "../sdk/types/async.js";
10
+ import { Result } from "../sdk/types/fp.js";
11
+ /**
12
+ * Retrieve a cashflow
13
+ */
14
+ export declare function accountingGetAccountingCashflow(client: UnifiedToCore, request: operations.GetAccountingCashflowRequest, options?: RequestOptions): APIPromise<Result<shared.AccountingCashflow, UnifiedToError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
15
+ //# sourceMappingURL=accountingGetAccountingCashflow.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingGetAccountingCashflow.d.ts","sourceRoot":"","sources":["../src/funcs/accountingGetAccountingCashflow.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAK3C,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,iDAAiD,CAAC;AAC1F,OAAO,EAAE,kBAAkB,EAAE,MAAM,4CAA4C,CAAC;AAChF,OAAO,EAAE,cAAc,EAAE,MAAM,wCAAwC,CAAC;AACxE,OAAO,KAAK,UAAU,MAAM,mCAAmC,CAAC;AAChE,OAAO,KAAK,MAAM,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAW,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAE5C;;GAEG;AACH,wBAAgB,+BAA+B,CAC7C,MAAM,EAAE,aAAa,EACrB,OAAO,EAAE,UAAU,CAAC,4BAA4B,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,kBAAkB,EACvB,cAAc,GACd,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
@@ -0,0 +1,125 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.accountingGetAccountingCashflow = accountingGetAccountingCashflow;
40
+ const encodings_js_1 = require("../lib/encodings.js");
41
+ const M = __importStar(require("../lib/matchers.js"));
42
+ const primitives_js_1 = require("../lib/primitives.js");
43
+ const schemas_js_1 = require("../lib/schemas.js");
44
+ const security_js_1 = require("../lib/security.js");
45
+ const url_js_1 = require("../lib/url.js");
46
+ const operations = __importStar(require("../sdk/models/operations/index.js"));
47
+ const shared = __importStar(require("../sdk/models/shared/index.js"));
48
+ const async_js_1 = require("../sdk/types/async.js");
49
+ /**
50
+ * Retrieve a cashflow
51
+ */
52
+ function accountingGetAccountingCashflow(client, request, options) {
53
+ return new async_js_1.APIPromise($do(client, request, options));
54
+ }
55
+ async function $do(client, request, options) {
56
+ const parsed = (0, schemas_js_1.safeParse)(request, (value) => operations.GetAccountingCashflowRequest$outboundSchema.parse(value), "Input validation failed");
57
+ if (!parsed.ok) {
58
+ return [parsed, { status: "invalid" }];
59
+ }
60
+ const payload = parsed.value;
61
+ const body = null;
62
+ const pathParams = {
63
+ connection_id: (0, encodings_js_1.encodeSimple)("connection_id", payload.connection_id, {
64
+ explode: false,
65
+ charEncoding: "percent",
66
+ }),
67
+ id: (0, encodings_js_1.encodeSimple)("id", payload.id, {
68
+ explode: false,
69
+ charEncoding: "percent",
70
+ }),
71
+ };
72
+ const path = (0, url_js_1.pathToFunc)("/accounting/{connection_id}/cashflow/{id}")(pathParams);
73
+ const query = (0, encodings_js_1.encodeFormQuery)({
74
+ "fields": payload.fields,
75
+ "raw": payload.raw,
76
+ });
77
+ const headers = new Headers((0, primitives_js_1.compactMap)({
78
+ Accept: "application/json",
79
+ }));
80
+ const securityInput = await (0, security_js_1.extractSecurity)(client._options.security);
81
+ const requestSecurity = (0, security_js_1.resolveGlobalSecurity)(securityInput);
82
+ const context = {
83
+ options: client._options,
84
+ baseURL: options?.serverURL ?? client._baseURL ?? "",
85
+ operationID: "getAccountingCashflow",
86
+ oAuth2Scopes: null,
87
+ resolvedSecurity: requestSecurity,
88
+ securitySource: client._options.security,
89
+ retryConfig: options?.retries
90
+ || client._options.retryConfig
91
+ || { strategy: "none" },
92
+ retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
93
+ };
94
+ const requestRes = client._createRequest(context, {
95
+ security: requestSecurity,
96
+ method: "GET",
97
+ baseURL: options?.serverURL,
98
+ path: path,
99
+ headers: headers,
100
+ query: query,
101
+ body: body,
102
+ userAgent: client._options.userAgent,
103
+ timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
104
+ }, options);
105
+ if (!requestRes.ok) {
106
+ return [requestRes, { status: "invalid" }];
107
+ }
108
+ const req = requestRes.value;
109
+ const doResult = await client._do(req, {
110
+ context,
111
+ errorCodes: ["4XX", "5XX"],
112
+ retryConfig: context.retryConfig,
113
+ retryCodes: context.retryCodes,
114
+ });
115
+ if (!doResult.ok) {
116
+ return [doResult, { status: "request-error", request: req }];
117
+ }
118
+ const response = doResult.value;
119
+ const [result] = await M.match(M.json(200, shared.AccountingCashflow$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
120
+ if (!result.ok) {
121
+ return [result, { status: "complete", request: req, response }];
122
+ }
123
+ return [result, { status: "complete", request: req, response }];
124
+ }
125
+ //# sourceMappingURL=accountingGetAccountingCashflow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountingGetAccountingCashflow.js","sourceRoot":"","sources":["../src/funcs/accountingGetAccountingCashflow.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,15 @@
1
+ import { UnifiedToCore } from "../core.js";
2
+ import { RequestOptions } from "../lib/sdks.js";
3
+ import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/errors/httpclienterrors.js";
4
+ import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js";
5
+ import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js";
6
+ import { UnifiedToError } from "../sdk/models/errors/unifiedtoerror.js";
7
+ import * as operations from "../sdk/models/operations/index.js";
8
+ import * as shared from "../sdk/models/shared/index.js";
9
+ import { APIPromise } from "../sdk/types/async.js";
10
+ import { Result } from "../sdk/types/fp.js";
11
+ /**
12
+ * List all cashflows
13
+ */
14
+ export declare function accountingListAccountingCashflows(client: UnifiedToCore, request: operations.ListAccountingCashflowsRequest, options?: RequestOptions): APIPromise<Result<Array<shared.AccountingCashflow>, UnifiedToError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
15
+ //# sourceMappingURL=accountingListAccountingCashflows.d.ts.map