@unified-api/typescript-sdk 2.85.36 → 2.85.38

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 (395) hide show
  1. package/README.md +14 -0
  2. package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.d.ts +15 -0
  3. package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.d.ts.map +1 -0
  4. package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.js +125 -0
  5. package/dist/commonjs/funcs/accountingCreateAccountingPaymentterm.js.map +1 -0
  6. package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.d.ts +15 -0
  7. package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.d.ts.map +1 -0
  8. package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.js +126 -0
  9. package/dist/commonjs/funcs/accountingGetAccountingPaymentterm.js.map +1 -0
  10. package/dist/commonjs/funcs/accountingListAccountingPaymentterms.d.ts +15 -0
  11. package/dist/commonjs/funcs/accountingListAccountingPaymentterms.d.ts.map +1 -0
  12. package/dist/commonjs/funcs/accountingListAccountingPaymentterms.js +131 -0
  13. package/dist/commonjs/funcs/accountingListAccountingPaymentterms.js.map +1 -0
  14. package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.d.ts +15 -0
  15. package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.d.ts.map +1 -0
  16. package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.js +129 -0
  17. package/dist/commonjs/funcs/accountingPatchAccountingPaymentterm.js.map +1 -0
  18. package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.d.ts +14 -0
  19. package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.d.ts.map +1 -0
  20. package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.js +123 -0
  21. package/dist/commonjs/funcs/accountingRemoveAccountingPaymentterm.js.map +1 -0
  22. package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.d.ts +15 -0
  23. package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.d.ts.map +1 -0
  24. package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.js +129 -0
  25. package/dist/commonjs/funcs/accountingUpdateAccountingPaymentterm.js.map +1 -0
  26. package/dist/commonjs/funcs/unifiedListUnifiedNotifications.d.ts +15 -0
  27. package/dist/commonjs/funcs/unifiedListUnifiedNotifications.d.ts.map +1 -0
  28. package/dist/commonjs/funcs/unifiedListUnifiedNotifications.js +120 -0
  29. package/dist/commonjs/funcs/unifiedListUnifiedNotifications.js.map +1 -0
  30. package/dist/commonjs/lib/config.d.ts +2 -2
  31. package/dist/commonjs/lib/config.js +2 -2
  32. package/dist/commonjs/sdk/accounting.d.ts +24 -0
  33. package/dist/commonjs/sdk/accounting.d.ts.map +1 -1
  34. package/dist/commonjs/sdk/accounting.js +42 -0
  35. package/dist/commonjs/sdk/accounting.js.map +1 -1
  36. package/dist/commonjs/sdk/models/operations/createaccountingbill.d.ts +1 -0
  37. package/dist/commonjs/sdk/models/operations/createaccountingbill.d.ts.map +1 -1
  38. package/dist/commonjs/sdk/models/operations/createaccountingbill.js +1 -0
  39. package/dist/commonjs/sdk/models/operations/createaccountingbill.js.map +1 -1
  40. package/dist/commonjs/sdk/models/operations/createaccountingcontact.d.ts +1 -0
  41. package/dist/commonjs/sdk/models/operations/createaccountingcontact.d.ts.map +1 -1
  42. package/dist/commonjs/sdk/models/operations/createaccountingcontact.js +1 -0
  43. package/dist/commonjs/sdk/models/operations/createaccountingcontact.js.map +1 -1
  44. package/dist/commonjs/sdk/models/operations/createaccountinginvoice.d.ts +1 -0
  45. package/dist/commonjs/sdk/models/operations/createaccountinginvoice.d.ts.map +1 -1
  46. package/dist/commonjs/sdk/models/operations/createaccountinginvoice.js +1 -0
  47. package/dist/commonjs/sdk/models/operations/createaccountinginvoice.js.map +1 -1
  48. package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.d.ts +51 -0
  49. package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.d.ts.map +1 -0
  50. package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.js +82 -0
  51. package/dist/commonjs/sdk/models/operations/createaccountingpaymentterm.js.map +1 -0
  52. package/dist/commonjs/sdk/models/operations/getaccountingbill.d.ts +1 -0
  53. package/dist/commonjs/sdk/models/operations/getaccountingbill.d.ts.map +1 -1
  54. package/dist/commonjs/sdk/models/operations/getaccountingbill.js +1 -0
  55. package/dist/commonjs/sdk/models/operations/getaccountingbill.js.map +1 -1
  56. package/dist/commonjs/sdk/models/operations/getaccountingcontact.d.ts +1 -0
  57. package/dist/commonjs/sdk/models/operations/getaccountingcontact.d.ts.map +1 -1
  58. package/dist/commonjs/sdk/models/operations/getaccountingcontact.js +1 -0
  59. package/dist/commonjs/sdk/models/operations/getaccountingcontact.js.map +1 -1
  60. package/dist/commonjs/sdk/models/operations/getaccountinginvoice.d.ts +1 -0
  61. package/dist/commonjs/sdk/models/operations/getaccountinginvoice.d.ts.map +1 -1
  62. package/dist/commonjs/sdk/models/operations/getaccountinginvoice.js +1 -0
  63. package/dist/commonjs/sdk/models/operations/getaccountinginvoice.js.map +1 -1
  64. package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.d.ts +53 -0
  65. package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.d.ts.map +1 -0
  66. package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.js +80 -0
  67. package/dist/commonjs/sdk/models/operations/getaccountingpaymentterm.js.map +1 -0
  68. package/dist/commonjs/sdk/models/operations/index.d.ts +7 -0
  69. package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
  70. package/dist/commonjs/sdk/models/operations/index.js +7 -0
  71. package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
  72. package/dist/commonjs/sdk/models/operations/listaccountingbills.d.ts +1 -0
  73. package/dist/commonjs/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
  74. package/dist/commonjs/sdk/models/operations/listaccountingbills.js +1 -0
  75. package/dist/commonjs/sdk/models/operations/listaccountingbills.js.map +1 -1
  76. package/dist/commonjs/sdk/models/operations/listaccountingcontacts.d.ts +1 -0
  77. package/dist/commonjs/sdk/models/operations/listaccountingcontacts.d.ts.map +1 -1
  78. package/dist/commonjs/sdk/models/operations/listaccountingcontacts.js +1 -0
  79. package/dist/commonjs/sdk/models/operations/listaccountingcontacts.js.map +1 -1
  80. package/dist/commonjs/sdk/models/operations/listaccountinginvoices.d.ts +1 -0
  81. package/dist/commonjs/sdk/models/operations/listaccountinginvoices.d.ts.map +1 -1
  82. package/dist/commonjs/sdk/models/operations/listaccountinginvoices.js +1 -0
  83. package/dist/commonjs/sdk/models/operations/listaccountinginvoices.js.map +1 -1
  84. package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.d.ts +73 -0
  85. package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.d.ts.map +1 -0
  86. package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.js +89 -0
  87. package/dist/commonjs/sdk/models/operations/listaccountingpaymentterms.js.map +1 -0
  88. package/dist/commonjs/sdk/models/operations/listunifiednotifications.d.ts +23 -0
  89. package/dist/commonjs/sdk/models/operations/listunifiednotifications.d.ts.map +1 -0
  90. package/dist/commonjs/sdk/models/operations/listunifiednotifications.js +58 -0
  91. package/dist/commonjs/sdk/models/operations/listunifiednotifications.js.map +1 -0
  92. package/dist/commonjs/sdk/models/operations/patchaccountingbill.d.ts +1 -0
  93. package/dist/commonjs/sdk/models/operations/patchaccountingbill.d.ts.map +1 -1
  94. package/dist/commonjs/sdk/models/operations/patchaccountingbill.js +1 -0
  95. package/dist/commonjs/sdk/models/operations/patchaccountingbill.js.map +1 -1
  96. package/dist/commonjs/sdk/models/operations/patchaccountingcontact.d.ts +1 -0
  97. package/dist/commonjs/sdk/models/operations/patchaccountingcontact.d.ts.map +1 -1
  98. package/dist/commonjs/sdk/models/operations/patchaccountingcontact.js +1 -0
  99. package/dist/commonjs/sdk/models/operations/patchaccountingcontact.js.map +1 -1
  100. package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.d.ts +1 -0
  101. package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.d.ts.map +1 -1
  102. package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.js +1 -0
  103. package/dist/commonjs/sdk/models/operations/patchaccountinginvoice.js.map +1 -1
  104. package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.d.ts +56 -0
  105. package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.d.ts.map +1 -0
  106. package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.js +83 -0
  107. package/dist/commonjs/sdk/models/operations/patchaccountingpaymentterm.js.map +1 -0
  108. package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.d.ts +30 -0
  109. package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.d.ts.map +1 -0
  110. package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.js +68 -0
  111. package/dist/commonjs/sdk/models/operations/removeaccountingpaymentterm.js.map +1 -0
  112. package/dist/commonjs/sdk/models/operations/updateaccountingbill.d.ts +1 -0
  113. package/dist/commonjs/sdk/models/operations/updateaccountingbill.d.ts.map +1 -1
  114. package/dist/commonjs/sdk/models/operations/updateaccountingbill.js +1 -0
  115. package/dist/commonjs/sdk/models/operations/updateaccountingbill.js.map +1 -1
  116. package/dist/commonjs/sdk/models/operations/updateaccountingcontact.d.ts +1 -0
  117. package/dist/commonjs/sdk/models/operations/updateaccountingcontact.d.ts.map +1 -1
  118. package/dist/commonjs/sdk/models/operations/updateaccountingcontact.js +1 -0
  119. package/dist/commonjs/sdk/models/operations/updateaccountingcontact.js.map +1 -1
  120. package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.d.ts +1 -0
  121. package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.d.ts.map +1 -1
  122. package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.js +1 -0
  123. package/dist/commonjs/sdk/models/operations/updateaccountinginvoice.js.map +1 -1
  124. package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.d.ts +56 -0
  125. package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.d.ts.map +1 -0
  126. package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.js +83 -0
  127. package/dist/commonjs/sdk/models/operations/updateaccountingpaymentterm.js.map +1 -0
  128. package/dist/commonjs/sdk/models/shared/accountingbill.d.ts +2 -0
  129. package/dist/commonjs/sdk/models/shared/accountingbill.d.ts.map +1 -1
  130. package/dist/commonjs/sdk/models/shared/accountingbill.js +4 -0
  131. package/dist/commonjs/sdk/models/shared/accountingbill.js.map +1 -1
  132. package/dist/commonjs/sdk/models/shared/accountingcontact.d.ts +2 -0
  133. package/dist/commonjs/sdk/models/shared/accountingcontact.d.ts.map +1 -1
  134. package/dist/commonjs/sdk/models/shared/accountingcontact.js +4 -0
  135. package/dist/commonjs/sdk/models/shared/accountingcontact.js.map +1 -1
  136. package/dist/commonjs/sdk/models/shared/accountinginvoice.d.ts +2 -0
  137. package/dist/commonjs/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
  138. package/dist/commonjs/sdk/models/shared/accountinginvoice.js +4 -0
  139. package/dist/commonjs/sdk/models/shared/accountinginvoice.js.map +1 -1
  140. package/dist/commonjs/sdk/models/shared/accountingpaymentterm.d.ts +83 -0
  141. package/dist/commonjs/sdk/models/shared/accountingpaymentterm.d.ts.map +1 -0
  142. package/dist/commonjs/sdk/models/shared/accountingpaymentterm.js +147 -0
  143. package/dist/commonjs/sdk/models/shared/accountingpaymentterm.js.map +1 -0
  144. package/dist/commonjs/sdk/models/shared/index.d.ts +2 -0
  145. package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
  146. package/dist/commonjs/sdk/models/shared/index.js +2 -0
  147. package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
  148. package/dist/commonjs/sdk/models/shared/notification.d.ts +52 -0
  149. package/dist/commonjs/sdk/models/shared/notification.d.ts.map +1 -0
  150. package/dist/commonjs/sdk/models/shared/notification.js +106 -0
  151. package/dist/commonjs/sdk/models/shared/notification.js.map +1 -0
  152. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  153. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  154. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  155. package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  156. package/dist/commonjs/sdk/models/shared/webhook.d.ts +6 -5
  157. package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
  158. package/dist/commonjs/sdk/models/shared/webhook.js +7 -6
  159. package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
  160. package/dist/commonjs/sdk/notification.d.ts +10 -0
  161. package/dist/commonjs/sdk/notification.d.ts.map +1 -0
  162. package/dist/commonjs/sdk/notification.js +19 -0
  163. package/dist/commonjs/sdk/notification.js.map +1 -0
  164. package/dist/commonjs/sdk/paymentterm.d.ts +30 -0
  165. package/dist/commonjs/sdk/paymentterm.d.ts.map +1 -0
  166. package/dist/commonjs/sdk/paymentterm.js +54 -0
  167. package/dist/commonjs/sdk/paymentterm.js.map +1 -0
  168. package/dist/commonjs/sdk/sdk.d.ts +6 -0
  169. package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
  170. package/dist/commonjs/sdk/sdk.js +8 -0
  171. package/dist/commonjs/sdk/sdk.js.map +1 -1
  172. package/dist/commonjs/sdk/unified.d.ts +4 -0
  173. package/dist/commonjs/sdk/unified.d.ts.map +1 -1
  174. package/dist/commonjs/sdk/unified.js +7 -0
  175. package/dist/commonjs/sdk/unified.js.map +1 -1
  176. package/dist/esm/funcs/accountingCreateAccountingPaymentterm.d.ts +15 -0
  177. package/dist/esm/funcs/accountingCreateAccountingPaymentterm.d.ts.map +1 -0
  178. package/dist/esm/funcs/accountingCreateAccountingPaymentterm.js +89 -0
  179. package/dist/esm/funcs/accountingCreateAccountingPaymentterm.js.map +1 -0
  180. package/dist/esm/funcs/accountingGetAccountingPaymentterm.d.ts +15 -0
  181. package/dist/esm/funcs/accountingGetAccountingPaymentterm.d.ts.map +1 -0
  182. package/dist/esm/funcs/accountingGetAccountingPaymentterm.js +90 -0
  183. package/dist/esm/funcs/accountingGetAccountingPaymentterm.js.map +1 -0
  184. package/dist/esm/funcs/accountingListAccountingPaymentterms.d.ts +15 -0
  185. package/dist/esm/funcs/accountingListAccountingPaymentterms.d.ts.map +1 -0
  186. package/dist/esm/funcs/accountingListAccountingPaymentterms.js +95 -0
  187. package/dist/esm/funcs/accountingListAccountingPaymentterms.js.map +1 -0
  188. package/dist/esm/funcs/accountingPatchAccountingPaymentterm.d.ts +15 -0
  189. package/dist/esm/funcs/accountingPatchAccountingPaymentterm.d.ts.map +1 -0
  190. package/dist/esm/funcs/accountingPatchAccountingPaymentterm.js +93 -0
  191. package/dist/esm/funcs/accountingPatchAccountingPaymentterm.js.map +1 -0
  192. package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.d.ts +14 -0
  193. package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.d.ts.map +1 -0
  194. package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.js +87 -0
  195. package/dist/esm/funcs/accountingRemoveAccountingPaymentterm.js.map +1 -0
  196. package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.d.ts +15 -0
  197. package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.d.ts.map +1 -0
  198. package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.js +93 -0
  199. package/dist/esm/funcs/accountingUpdateAccountingPaymentterm.js.map +1 -0
  200. package/dist/esm/funcs/unifiedListUnifiedNotifications.d.ts +15 -0
  201. package/dist/esm/funcs/unifiedListUnifiedNotifications.d.ts.map +1 -0
  202. package/dist/esm/funcs/unifiedListUnifiedNotifications.js +84 -0
  203. package/dist/esm/funcs/unifiedListUnifiedNotifications.js.map +1 -0
  204. package/dist/esm/lib/config.d.ts +2 -2
  205. package/dist/esm/lib/config.js +2 -2
  206. package/dist/esm/sdk/accounting.d.ts +24 -0
  207. package/dist/esm/sdk/accounting.d.ts.map +1 -1
  208. package/dist/esm/sdk/accounting.js +42 -0
  209. package/dist/esm/sdk/accounting.js.map +1 -1
  210. package/dist/esm/sdk/models/operations/createaccountingbill.d.ts +1 -0
  211. package/dist/esm/sdk/models/operations/createaccountingbill.d.ts.map +1 -1
  212. package/dist/esm/sdk/models/operations/createaccountingbill.js +1 -0
  213. package/dist/esm/sdk/models/operations/createaccountingbill.js.map +1 -1
  214. package/dist/esm/sdk/models/operations/createaccountingcontact.d.ts +1 -0
  215. package/dist/esm/sdk/models/operations/createaccountingcontact.d.ts.map +1 -1
  216. package/dist/esm/sdk/models/operations/createaccountingcontact.js +1 -0
  217. package/dist/esm/sdk/models/operations/createaccountingcontact.js.map +1 -1
  218. package/dist/esm/sdk/models/operations/createaccountinginvoice.d.ts +1 -0
  219. package/dist/esm/sdk/models/operations/createaccountinginvoice.d.ts.map +1 -1
  220. package/dist/esm/sdk/models/operations/createaccountinginvoice.js +1 -0
  221. package/dist/esm/sdk/models/operations/createaccountinginvoice.js.map +1 -1
  222. package/dist/esm/sdk/models/operations/createaccountingpaymentterm.d.ts +51 -0
  223. package/dist/esm/sdk/models/operations/createaccountingpaymentterm.d.ts.map +1 -0
  224. package/dist/esm/sdk/models/operations/createaccountingpaymentterm.js +45 -0
  225. package/dist/esm/sdk/models/operations/createaccountingpaymentterm.js.map +1 -0
  226. package/dist/esm/sdk/models/operations/getaccountingbill.d.ts +1 -0
  227. package/dist/esm/sdk/models/operations/getaccountingbill.d.ts.map +1 -1
  228. package/dist/esm/sdk/models/operations/getaccountingbill.js +1 -0
  229. package/dist/esm/sdk/models/operations/getaccountingbill.js.map +1 -1
  230. package/dist/esm/sdk/models/operations/getaccountingcontact.d.ts +1 -0
  231. package/dist/esm/sdk/models/operations/getaccountingcontact.d.ts.map +1 -1
  232. package/dist/esm/sdk/models/operations/getaccountingcontact.js +1 -0
  233. package/dist/esm/sdk/models/operations/getaccountingcontact.js.map +1 -1
  234. package/dist/esm/sdk/models/operations/getaccountinginvoice.d.ts +1 -0
  235. package/dist/esm/sdk/models/operations/getaccountinginvoice.d.ts.map +1 -1
  236. package/dist/esm/sdk/models/operations/getaccountinginvoice.js +1 -0
  237. package/dist/esm/sdk/models/operations/getaccountinginvoice.js.map +1 -1
  238. package/dist/esm/sdk/models/operations/getaccountingpaymentterm.d.ts +53 -0
  239. package/dist/esm/sdk/models/operations/getaccountingpaymentterm.d.ts.map +1 -0
  240. package/dist/esm/sdk/models/operations/getaccountingpaymentterm.js +43 -0
  241. package/dist/esm/sdk/models/operations/getaccountingpaymentterm.js.map +1 -0
  242. package/dist/esm/sdk/models/operations/index.d.ts +7 -0
  243. package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
  244. package/dist/esm/sdk/models/operations/index.js +7 -0
  245. package/dist/esm/sdk/models/operations/index.js.map +1 -1
  246. package/dist/esm/sdk/models/operations/listaccountingbills.d.ts +1 -0
  247. package/dist/esm/sdk/models/operations/listaccountingbills.d.ts.map +1 -1
  248. package/dist/esm/sdk/models/operations/listaccountingbills.js +1 -0
  249. package/dist/esm/sdk/models/operations/listaccountingbills.js.map +1 -1
  250. package/dist/esm/sdk/models/operations/listaccountingcontacts.d.ts +1 -0
  251. package/dist/esm/sdk/models/operations/listaccountingcontacts.d.ts.map +1 -1
  252. package/dist/esm/sdk/models/operations/listaccountingcontacts.js +1 -0
  253. package/dist/esm/sdk/models/operations/listaccountingcontacts.js.map +1 -1
  254. package/dist/esm/sdk/models/operations/listaccountinginvoices.d.ts +1 -0
  255. package/dist/esm/sdk/models/operations/listaccountinginvoices.d.ts.map +1 -1
  256. package/dist/esm/sdk/models/operations/listaccountinginvoices.js +1 -0
  257. package/dist/esm/sdk/models/operations/listaccountinginvoices.js.map +1 -1
  258. package/dist/esm/sdk/models/operations/listaccountingpaymentterms.d.ts +73 -0
  259. package/dist/esm/sdk/models/operations/listaccountingpaymentterms.d.ts.map +1 -0
  260. package/dist/esm/sdk/models/operations/listaccountingpaymentterms.js +52 -0
  261. package/dist/esm/sdk/models/operations/listaccountingpaymentterms.js.map +1 -0
  262. package/dist/esm/sdk/models/operations/listunifiednotifications.d.ts +23 -0
  263. package/dist/esm/sdk/models/operations/listunifiednotifications.d.ts.map +1 -0
  264. package/dist/esm/sdk/models/operations/listunifiednotifications.js +21 -0
  265. package/dist/esm/sdk/models/operations/listunifiednotifications.js.map +1 -0
  266. package/dist/esm/sdk/models/operations/patchaccountingbill.d.ts +1 -0
  267. package/dist/esm/sdk/models/operations/patchaccountingbill.d.ts.map +1 -1
  268. package/dist/esm/sdk/models/operations/patchaccountingbill.js +1 -0
  269. package/dist/esm/sdk/models/operations/patchaccountingbill.js.map +1 -1
  270. package/dist/esm/sdk/models/operations/patchaccountingcontact.d.ts +1 -0
  271. package/dist/esm/sdk/models/operations/patchaccountingcontact.d.ts.map +1 -1
  272. package/dist/esm/sdk/models/operations/patchaccountingcontact.js +1 -0
  273. package/dist/esm/sdk/models/operations/patchaccountingcontact.js.map +1 -1
  274. package/dist/esm/sdk/models/operations/patchaccountinginvoice.d.ts +1 -0
  275. package/dist/esm/sdk/models/operations/patchaccountinginvoice.d.ts.map +1 -1
  276. package/dist/esm/sdk/models/operations/patchaccountinginvoice.js +1 -0
  277. package/dist/esm/sdk/models/operations/patchaccountinginvoice.js.map +1 -1
  278. package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.d.ts +56 -0
  279. package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.d.ts.map +1 -0
  280. package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.js +46 -0
  281. package/dist/esm/sdk/models/operations/patchaccountingpaymentterm.js.map +1 -0
  282. package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.d.ts +30 -0
  283. package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.d.ts.map +1 -0
  284. package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.js +30 -0
  285. package/dist/esm/sdk/models/operations/removeaccountingpaymentterm.js.map +1 -0
  286. package/dist/esm/sdk/models/operations/updateaccountingbill.d.ts +1 -0
  287. package/dist/esm/sdk/models/operations/updateaccountingbill.d.ts.map +1 -1
  288. package/dist/esm/sdk/models/operations/updateaccountingbill.js +1 -0
  289. package/dist/esm/sdk/models/operations/updateaccountingbill.js.map +1 -1
  290. package/dist/esm/sdk/models/operations/updateaccountingcontact.d.ts +1 -0
  291. package/dist/esm/sdk/models/operations/updateaccountingcontact.d.ts.map +1 -1
  292. package/dist/esm/sdk/models/operations/updateaccountingcontact.js +1 -0
  293. package/dist/esm/sdk/models/operations/updateaccountingcontact.js.map +1 -1
  294. package/dist/esm/sdk/models/operations/updateaccountinginvoice.d.ts +1 -0
  295. package/dist/esm/sdk/models/operations/updateaccountinginvoice.d.ts.map +1 -1
  296. package/dist/esm/sdk/models/operations/updateaccountinginvoice.js +1 -0
  297. package/dist/esm/sdk/models/operations/updateaccountinginvoice.js.map +1 -1
  298. package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.d.ts +56 -0
  299. package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.d.ts.map +1 -0
  300. package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.js +46 -0
  301. package/dist/esm/sdk/models/operations/updateaccountingpaymentterm.js.map +1 -0
  302. package/dist/esm/sdk/models/shared/accountingbill.d.ts +2 -0
  303. package/dist/esm/sdk/models/shared/accountingbill.d.ts.map +1 -1
  304. package/dist/esm/sdk/models/shared/accountingbill.js +4 -0
  305. package/dist/esm/sdk/models/shared/accountingbill.js.map +1 -1
  306. package/dist/esm/sdk/models/shared/accountingcontact.d.ts +2 -0
  307. package/dist/esm/sdk/models/shared/accountingcontact.d.ts.map +1 -1
  308. package/dist/esm/sdk/models/shared/accountingcontact.js +4 -0
  309. package/dist/esm/sdk/models/shared/accountingcontact.js.map +1 -1
  310. package/dist/esm/sdk/models/shared/accountinginvoice.d.ts +2 -0
  311. package/dist/esm/sdk/models/shared/accountinginvoice.d.ts.map +1 -1
  312. package/dist/esm/sdk/models/shared/accountinginvoice.js +4 -0
  313. package/dist/esm/sdk/models/shared/accountinginvoice.js.map +1 -1
  314. package/dist/esm/sdk/models/shared/accountingpaymentterm.d.ts +83 -0
  315. package/dist/esm/sdk/models/shared/accountingpaymentterm.d.ts.map +1 -0
  316. package/dist/esm/sdk/models/shared/accountingpaymentterm.js +109 -0
  317. package/dist/esm/sdk/models/shared/accountingpaymentterm.js.map +1 -0
  318. package/dist/esm/sdk/models/shared/index.d.ts +2 -0
  319. package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
  320. package/dist/esm/sdk/models/shared/index.js +2 -0
  321. package/dist/esm/sdk/models/shared/index.js.map +1 -1
  322. package/dist/esm/sdk/models/shared/notification.d.ts +52 -0
  323. package/dist/esm/sdk/models/shared/notification.d.ts.map +1 -0
  324. package/dist/esm/sdk/models/shared/notification.js +69 -0
  325. package/dist/esm/sdk/models/shared/notification.js.map +1 -0
  326. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +2 -0
  327. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
  328. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +2 -0
  329. package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
  330. package/dist/esm/sdk/models/shared/webhook.d.ts +6 -5
  331. package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
  332. package/dist/esm/sdk/models/shared/webhook.js +6 -5
  333. package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
  334. package/dist/esm/sdk/notification.d.ts +10 -0
  335. package/dist/esm/sdk/notification.d.ts.map +1 -0
  336. package/dist/esm/sdk/notification.js +15 -0
  337. package/dist/esm/sdk/notification.js.map +1 -0
  338. package/dist/esm/sdk/paymentterm.d.ts +30 -0
  339. package/dist/esm/sdk/paymentterm.d.ts.map +1 -0
  340. package/dist/esm/sdk/paymentterm.js +50 -0
  341. package/dist/esm/sdk/paymentterm.js.map +1 -0
  342. package/dist/esm/sdk/sdk.d.ts +6 -0
  343. package/dist/esm/sdk/sdk.d.ts.map +1 -1
  344. package/dist/esm/sdk/sdk.js +8 -0
  345. package/dist/esm/sdk/sdk.js.map +1 -1
  346. package/dist/esm/sdk/unified.d.ts +4 -0
  347. package/dist/esm/sdk/unified.d.ts.map +1 -1
  348. package/dist/esm/sdk/unified.js +7 -0
  349. package/dist/esm/sdk/unified.js.map +1 -1
  350. package/jsr.json +1 -1
  351. package/package.json +1 -1
  352. package/src/funcs/accountingCreateAccountingPaymentterm.ts +176 -0
  353. package/src/funcs/accountingGetAccountingPaymentterm.ts +177 -0
  354. package/src/funcs/accountingListAccountingPaymentterms.ts +182 -0
  355. package/src/funcs/accountingPatchAccountingPaymentterm.ts +180 -0
  356. package/src/funcs/accountingRemoveAccountingPaymentterm.ts +182 -0
  357. package/src/funcs/accountingUpdateAccountingPaymentterm.ts +180 -0
  358. package/src/funcs/unifiedListUnifiedNotifications.ts +169 -0
  359. package/src/lib/config.ts +2 -2
  360. package/src/sdk/accounting.ts +90 -0
  361. package/src/sdk/models/operations/createaccountingbill.ts +1 -0
  362. package/src/sdk/models/operations/createaccountingcontact.ts +1 -0
  363. package/src/sdk/models/operations/createaccountinginvoice.ts +1 -0
  364. package/src/sdk/models/operations/createaccountingpaymentterm.ts +88 -0
  365. package/src/sdk/models/operations/getaccountingbill.ts +1 -0
  366. package/src/sdk/models/operations/getaccountingcontact.ts +1 -0
  367. package/src/sdk/models/operations/getaccountinginvoice.ts +1 -0
  368. package/src/sdk/models/operations/getaccountingpaymentterm.ts +89 -0
  369. package/src/sdk/models/operations/index.ts +7 -0
  370. package/src/sdk/models/operations/listaccountingbills.ts +1 -0
  371. package/src/sdk/models/operations/listaccountingcontacts.ts +1 -0
  372. package/src/sdk/models/operations/listaccountinginvoices.ts +1 -0
  373. package/src/sdk/models/operations/listaccountingpaymentterms.ts +118 -0
  374. package/src/sdk/models/operations/listunifiednotifications.ts +53 -0
  375. package/src/sdk/models/operations/patchaccountingbill.ts +1 -0
  376. package/src/sdk/models/operations/patchaccountingcontact.ts +1 -0
  377. package/src/sdk/models/operations/patchaccountinginvoice.ts +1 -0
  378. package/src/sdk/models/operations/patchaccountingpaymentterm.ts +94 -0
  379. package/src/sdk/models/operations/removeaccountingpaymentterm.ts +78 -0
  380. package/src/sdk/models/operations/updateaccountingbill.ts +1 -0
  381. package/src/sdk/models/operations/updateaccountingcontact.ts +1 -0
  382. package/src/sdk/models/operations/updateaccountinginvoice.ts +1 -0
  383. package/src/sdk/models/operations/updateaccountingpaymentterm.ts +94 -0
  384. package/src/sdk/models/shared/accountingbill.ts +6 -0
  385. package/src/sdk/models/shared/accountingcontact.ts +6 -0
  386. package/src/sdk/models/shared/accountinginvoice.ts +6 -0
  387. package/src/sdk/models/shared/accountingpaymentterm.ts +202 -0
  388. package/src/sdk/models/shared/index.ts +2 -0
  389. package/src/sdk/models/shared/notification.ts +108 -0
  390. package/src/sdk/models/shared/propertyconnectionpermissions.ts +2 -0
  391. package/src/sdk/models/shared/webhook.ts +16 -9
  392. package/src/sdk/notification.ts +25 -0
  393. package/src/sdk/paymentterm.ts +100 -0
  394. package/src/sdk/sdk.ts +12 -0
  395. package/src/sdk/unified.ts +15 -0
@@ -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 * as openEnums from "../../types/enums.js";
9
+ import { OpenEnum } from "../../types/enums.js";
10
+ import { Result as SafeParseResult } from "../../types/fp.js";
11
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
12
+
13
+ export const Event = {
14
+ UserCreated: "USER_CREATED",
15
+ UserDeleted: "USER_DELETED",
16
+ ConnectionHealthy: "CONNECTION_HEALTHY",
17
+ ConnectionUnhealthy: "CONNECTION_UNHEALTHY",
18
+ ConnectionCreated: "CONNECTION_CREATED",
19
+ ConnectionUpdated: "CONNECTION_UPDATED",
20
+ ConnectionDeleted: "CONNECTION_DELETED",
21
+ ConnectionPaused: "CONNECTION_PAUSED",
22
+ ConnectionUnpaused: "CONNECTION_UNPAUSED",
23
+ IntegrationActivated: "INTEGRATION_ACTIVATED",
24
+ IntegrationDeactivated: "INTEGRATION_DEACTIVATED",
25
+ IntegrationUpdated: "INTEGRATION_UPDATED",
26
+ WorkspaceUpdated: "WORKSPACE_UPDATED",
27
+ WorkspaceOverLimit: "WORKSPACE_OVER_LIMIT",
28
+ Workspace80PercentLimit: "WORKSPACE_80PERCENT_LIMIT",
29
+ WebhookCreated: "WEBHOOK_CREATED",
30
+ WebhookDeleted: "WEBHOOK_DELETED",
31
+ WebhookUnhealthy: "WEBHOOK_UNHEALTHY",
32
+ WebhookPaused: "WEBHOOK_PAUSED",
33
+ WebhookUnpaused: "WEBHOOK_UNPAUSED",
34
+ } as const;
35
+ export type Event = OpenEnum<typeof Event>;
36
+
37
+ /**
38
+ * A notification of an event that occurred in you account.
39
+ */
40
+ export type Notification = {
41
+ connectionId?: string | undefined;
42
+ createdAt?: Date | undefined;
43
+ description?: string | undefined;
44
+ event?: Event | undefined;
45
+ id?: string | undefined;
46
+ integrationName?: string | undefined;
47
+ integrationType?: string | undefined;
48
+ sentAt?: Date | undefined;
49
+ updatedAt?: Date | undefined;
50
+ userId?: string | undefined;
51
+ userName?: string | undefined;
52
+ webhookId?: string | undefined;
53
+ workspaceId?: string | undefined;
54
+ workspaceName?: string | undefined;
55
+ };
56
+
57
+ /** @internal */
58
+ export const Event$inboundSchema: z.ZodType<Event, z.ZodTypeDef, unknown> =
59
+ openEnums.inboundSchema(Event);
60
+
61
+ /** @internal */
62
+ export const Notification$inboundSchema: z.ZodType<
63
+ Notification,
64
+ z.ZodTypeDef,
65
+ unknown
66
+ > = z.object({
67
+ connection_id: z.string().optional(),
68
+ created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
69
+ .optional(),
70
+ description: z.string().optional(),
71
+ event: Event$inboundSchema.optional(),
72
+ id: z.string().optional(),
73
+ integration_name: z.string().optional(),
74
+ integration_type: z.string().optional(),
75
+ sent_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
76
+ .optional(),
77
+ updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
78
+ .optional(),
79
+ user_id: z.string().optional(),
80
+ user_name: z.string().optional(),
81
+ webhook_id: z.string().optional(),
82
+ workspace_id: z.string().optional(),
83
+ workspace_name: z.string().optional(),
84
+ }).transform((v) => {
85
+ return remap$(v, {
86
+ "connection_id": "connectionId",
87
+ "created_at": "createdAt",
88
+ "integration_name": "integrationName",
89
+ "integration_type": "integrationType",
90
+ "sent_at": "sentAt",
91
+ "updated_at": "updatedAt",
92
+ "user_id": "userId",
93
+ "user_name": "userName",
94
+ "webhook_id": "webhookId",
95
+ "workspace_id": "workspaceId",
96
+ "workspace_name": "workspaceName",
97
+ });
98
+ });
99
+
100
+ export function notificationFromJSON(
101
+ jsonString: string,
102
+ ): SafeParseResult<Notification, SDKValidationError> {
103
+ return safeParse(
104
+ jsonString,
105
+ (x) => Notification$inboundSchema.parse(JSON.parse(x)),
106
+ `Failed to parse 'Notification' from JSON`,
107
+ );
108
+ }
@@ -27,6 +27,8 @@ export const PropertyConnectionPermissions = {
27
27
  AccountingExpenseWrite: "accounting_expense_write",
28
28
  AccountingTaxrateRead: "accounting_taxrate_read",
29
29
  AccountingTaxrateWrite: "accounting_taxrate_write",
30
+ AccountingPaymenttermRead: "accounting_paymentterm_read",
31
+ AccountingPaymenttermWrite: "accounting_paymentterm_write",
30
32
  AccountingOrganizationRead: "accounting_organization_read",
31
33
  AccountingOrderRead: "accounting_order_read",
32
34
  AccountingOrderWrite: "accounting_order_write",
@@ -21,12 +21,12 @@ export const DbType = {
21
21
  } as const;
22
22
  export type DbType = OpenEnum<typeof DbType>;
23
23
 
24
- export const Event = {
24
+ export const WebhookEvent = {
25
25
  Updated: "updated",
26
26
  Created: "created",
27
27
  Deleted: "deleted",
28
28
  } as const;
29
- export type Event = OpenEnum<typeof Event>;
29
+ export type WebhookEvent = OpenEnum<typeof WebhookEvent>;
30
30
 
31
31
  export const WebhookObjectType = {
32
32
  AccountingAccount: "accounting_account",
@@ -38,6 +38,7 @@ export const WebhookObjectType = {
38
38
  AccountingVendorcredit: "accounting_vendorcredit",
39
39
  AccountingCreditmemo: "accounting_creditmemo",
40
40
  AccountingTaxrate: "accounting_taxrate",
41
+ AccountingPaymentterm: "accounting_paymentterm",
41
42
  AccountingOrganization: "accounting_organization",
42
43
  AccountingOrder: "accounting_order",
43
44
  AccountingSalesorder: "accounting_salesorder",
@@ -218,7 +219,7 @@ export type Webhook = {
218
219
  dbType?: DbType | undefined;
219
220
  dbUrl?: string | undefined;
220
221
  environment?: string | undefined;
221
- event: Event;
222
+ event: WebhookEvent;
222
223
  fields?: string | undefined;
223
224
  filters?: { [k: string]: string } | undefined;
224
225
  hookUrl?: string | undefined;
@@ -247,11 +248,17 @@ export const DbType$outboundSchema: z.ZodType<string, z.ZodTypeDef, DbType> =
247
248
  openEnums.outboundSchema(DbType);
248
249
 
249
250
  /** @internal */
250
- export const Event$inboundSchema: z.ZodType<Event, z.ZodTypeDef, unknown> =
251
- openEnums.inboundSchema(Event);
251
+ export const WebhookEvent$inboundSchema: z.ZodType<
252
+ WebhookEvent,
253
+ z.ZodTypeDef,
254
+ unknown
255
+ > = openEnums.inboundSchema(WebhookEvent);
252
256
  /** @internal */
253
- export const Event$outboundSchema: z.ZodType<string, z.ZodTypeDef, Event> =
254
- openEnums.outboundSchema(Event);
257
+ export const WebhookEvent$outboundSchema: z.ZodType<
258
+ string,
259
+ z.ZodTypeDef,
260
+ WebhookEvent
261
+ > = openEnums.outboundSchema(WebhookEvent);
255
262
 
256
263
  /** @internal */
257
264
  export const WebhookObjectType$inboundSchema: z.ZodType<
@@ -294,7 +301,7 @@ export const Webhook$inboundSchema: z.ZodType<Webhook, z.ZodTypeDef, unknown> =
294
301
  db_type: DbType$inboundSchema.optional(),
295
302
  db_url: z.string().optional(),
296
303
  environment: z.string().default("Production"),
297
- event: Event$inboundSchema,
304
+ event: WebhookEvent$inboundSchema,
298
305
  fields: z.string().optional(),
299
306
  filters: z.record(z.string()).optional(),
300
307
  hook_url: z.string().optional(),
@@ -375,7 +382,7 @@ export const Webhook$outboundSchema: z.ZodType<
375
382
  dbType: DbType$outboundSchema.optional(),
376
383
  dbUrl: z.string().optional(),
377
384
  environment: z.string().default("Production"),
378
- event: Event$outboundSchema,
385
+ event: WebhookEvent$outboundSchema,
379
386
  fields: z.string().optional(),
380
387
  filters: z.record(z.string()).optional(),
381
388
  hookUrl: z.string().optional(),
@@ -0,0 +1,25 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { unifiedListUnifiedNotifications } from "../funcs/unifiedListUnifiedNotifications.js";
6
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
7
+ import * as operations from "./models/operations/index.js";
8
+ import * as shared from "./models/shared/index.js";
9
+ import { unwrapAsync } from "./types/fp.js";
10
+
11
+ export class Notification extends ClientSDK {
12
+ /**
13
+ * List event notifications
14
+ */
15
+ async listUnifiedNotifications(
16
+ request: operations.ListUnifiedNotificationsRequest,
17
+ options?: RequestOptions,
18
+ ): Promise<Array<shared.Notification>> {
19
+ return unwrapAsync(unifiedListUnifiedNotifications(
20
+ this,
21
+ request,
22
+ options,
23
+ ));
24
+ }
25
+ }
@@ -0,0 +1,100 @@
1
+ /*
2
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
3
+ */
4
+
5
+ import { accountingCreateAccountingPaymentterm } from "../funcs/accountingCreateAccountingPaymentterm.js";
6
+ import { accountingGetAccountingPaymentterm } from "../funcs/accountingGetAccountingPaymentterm.js";
7
+ import { accountingListAccountingPaymentterms } from "../funcs/accountingListAccountingPaymentterms.js";
8
+ import { accountingPatchAccountingPaymentterm } from "../funcs/accountingPatchAccountingPaymentterm.js";
9
+ import { accountingRemoveAccountingPaymentterm } from "../funcs/accountingRemoveAccountingPaymentterm.js";
10
+ import { accountingUpdateAccountingPaymentterm } from "../funcs/accountingUpdateAccountingPaymentterm.js";
11
+ import { ClientSDK, RequestOptions } from "../lib/sdks.js";
12
+ import * as operations from "./models/operations/index.js";
13
+ import * as shared from "./models/shared/index.js";
14
+ import { unwrapAsync } from "./types/fp.js";
15
+
16
+ export class Paymentterm extends ClientSDK {
17
+ /**
18
+ * Create a paymentterm
19
+ */
20
+ async createAccountingPaymentterm(
21
+ request: operations.CreateAccountingPaymenttermRequest,
22
+ options?: RequestOptions,
23
+ ): Promise<shared.AccountingPaymentterm> {
24
+ return unwrapAsync(accountingCreateAccountingPaymentterm(
25
+ this,
26
+ request,
27
+ options,
28
+ ));
29
+ }
30
+
31
+ /**
32
+ * Retrieve a paymentterm
33
+ */
34
+ async getAccountingPaymentterm(
35
+ request: operations.GetAccountingPaymenttermRequest,
36
+ options?: RequestOptions,
37
+ ): Promise<shared.AccountingPaymentterm> {
38
+ return unwrapAsync(accountingGetAccountingPaymentterm(
39
+ this,
40
+ request,
41
+ options,
42
+ ));
43
+ }
44
+
45
+ /**
46
+ * List all paymentterms
47
+ */
48
+ async listAccountingPaymentterms(
49
+ request: operations.ListAccountingPaymenttermsRequest,
50
+ options?: RequestOptions,
51
+ ): Promise<Array<shared.AccountingPaymentterm>> {
52
+ return unwrapAsync(accountingListAccountingPaymentterms(
53
+ this,
54
+ request,
55
+ options,
56
+ ));
57
+ }
58
+
59
+ /**
60
+ * Update a paymentterm
61
+ */
62
+ async patchAccountingPaymentterm(
63
+ request: operations.PatchAccountingPaymenttermRequest,
64
+ options?: RequestOptions,
65
+ ): Promise<shared.AccountingPaymentterm> {
66
+ return unwrapAsync(accountingPatchAccountingPaymentterm(
67
+ this,
68
+ request,
69
+ options,
70
+ ));
71
+ }
72
+
73
+ /**
74
+ * Remove a paymentterm
75
+ */
76
+ async removeAccountingPaymentterm(
77
+ request: operations.RemoveAccountingPaymenttermRequest,
78
+ options?: RequestOptions,
79
+ ): Promise<operations.RemoveAccountingPaymenttermResponse | undefined> {
80
+ return unwrapAsync(accountingRemoveAccountingPaymentterm(
81
+ this,
82
+ request,
83
+ options,
84
+ ));
85
+ }
86
+
87
+ /**
88
+ * Update a paymentterm
89
+ */
90
+ async updateAccountingPaymentterm(
91
+ request: operations.UpdateAccountingPaymenttermRequest,
92
+ options?: RequestOptions,
93
+ ): Promise<shared.AccountingPaymentterm> {
94
+ return unwrapAsync(accountingUpdateAccountingPaymentterm(
95
+ this,
96
+ request,
97
+ options,
98
+ ));
99
+ }
100
+ }
package/src/sdk/sdk.ts CHANGED
@@ -102,12 +102,14 @@ import { Messaging } from "./messaging.js";
102
102
  import { Metadata } from "./metadata.js";
103
103
  import { Model } from "./model.js";
104
104
  import { Note } from "./note.js";
105
+ import { Notification } from "./notification.js";
105
106
  import { Order } from "./order.js";
106
107
  import { Organization } from "./organization.js";
107
108
  import { Package } from "./package.js";
108
109
  import { Page } from "./page.js";
109
110
  import { Passthrough } from "./passthrough.js";
110
111
  import { Payment } from "./payment.js";
112
+ import { Paymentterm } from "./paymentterm.js";
111
113
  import { Payout } from "./payout.js";
112
114
  import { Payslip } from "./payslip.js";
113
115
  import { Performance } from "./performance.js";
@@ -262,6 +264,11 @@ export class UnifiedTo extends ClientSDK {
262
264
  return (this._organization ??= new Organization(this._options));
263
265
  }
264
266
 
267
+ private _paymentterm?: Paymentterm;
268
+ get paymentterm(): Paymentterm {
269
+ return (this._paymentterm ??= new Paymentterm(this._options));
270
+ }
271
+
265
272
  private _profitloss?: Profitloss;
266
273
  get profitloss(): Profitloss {
267
274
  return (this._profitloss ??= new Profitloss(this._options));
@@ -1007,6 +1014,11 @@ export class UnifiedTo extends ClientSDK {
1007
1014
  return (this._issue ??= new Issue(this._options));
1008
1015
  }
1009
1016
 
1017
+ private _notification?: Notification;
1018
+ get notification(): Notification {
1019
+ return (this._notification ??= new Notification(this._options));
1020
+ }
1021
+
1010
1022
  private _webhook?: Webhook;
1011
1023
  get webhook(): Webhook {
1012
1024
  return (this._webhook ??= new Webhook(this._options));
@@ -18,6 +18,7 @@ import { unifiedListUnifiedEnvironments } from "../funcs/unifiedListUnifiedEnvir
18
18
  import { unifiedListUnifiedIntegrations } from "../funcs/unifiedListUnifiedIntegrations.js";
19
19
  import { unifiedListUnifiedIntegrationWorkspaces } from "../funcs/unifiedListUnifiedIntegrationWorkspaces.js";
20
20
  import { unifiedListUnifiedIssues } from "../funcs/unifiedListUnifiedIssues.js";
21
+ import { unifiedListUnifiedNotifications } from "../funcs/unifiedListUnifiedNotifications.js";
21
22
  import { unifiedListUnifiedWebhooks } from "../funcs/unifiedListUnifiedWebhooks.js";
22
23
  import { unifiedListUnifiedWorkspaceSecretsmanagers } from "../funcs/unifiedListUnifiedWorkspaceSecretsmanagers.js";
23
24
  import { unifiedPatchUnifiedConnection } from "../funcs/unifiedPatchUnifiedConnection.js";
@@ -270,6 +271,20 @@ export class Unified extends ClientSDK {
270
271
  ));
271
272
  }
272
273
 
274
+ /**
275
+ * List event notifications
276
+ */
277
+ async listUnifiedNotifications(
278
+ request: operations.ListUnifiedNotificationsRequest,
279
+ options?: RequestOptions,
280
+ ): Promise<Array<shared.Notification>> {
281
+ return unwrapAsync(unifiedListUnifiedNotifications(
282
+ this,
283
+ request,
284
+ options,
285
+ ));
286
+ }
287
+
273
288
  /**
274
289
  * Returns all registered webhooks
275
290
  */