@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
@@ -13,6 +13,7 @@ import { accountingCreateAccountingExpense } from "../funcs/accountingCreateAcco
13
13
  import { accountingCreateAccountingInvoice } from "../funcs/accountingCreateAccountingInvoice.js";
14
14
  import { accountingCreateAccountingJournal } from "../funcs/accountingCreateAccountingJournal.js";
15
15
  import { accountingCreateAccountingOrder } from "../funcs/accountingCreateAccountingOrder.js";
16
+ import { accountingCreateAccountingPaymentterm } from "../funcs/accountingCreateAccountingPaymentterm.js";
16
17
  import { accountingCreateAccountingProject } from "../funcs/accountingCreateAccountingProject.js";
17
18
  import { accountingCreateAccountingPurchaseorder } from "../funcs/accountingCreateAccountingPurchaseorder.js";
18
19
  import { accountingCreateAccountingQuote } from "../funcs/accountingCreateAccountingQuote.js";
@@ -36,6 +37,7 @@ import { accountingGetAccountingInvoice } from "../funcs/accountingGetAccounting
36
37
  import { accountingGetAccountingJournal } from "../funcs/accountingGetAccountingJournal.js";
37
38
  import { accountingGetAccountingOrder } from "../funcs/accountingGetAccountingOrder.js";
38
39
  import { accountingGetAccountingOrganization } from "../funcs/accountingGetAccountingOrganization.js";
40
+ import { accountingGetAccountingPaymentterm } from "../funcs/accountingGetAccountingPaymentterm.js";
39
41
  import { accountingGetAccountingProfitloss } from "../funcs/accountingGetAccountingProfitloss.js";
40
42
  import { accountingGetAccountingProject } from "../funcs/accountingGetAccountingProject.js";
41
43
  import { accountingGetAccountingPurchaseorder } from "../funcs/accountingGetAccountingPurchaseorder.js";
@@ -62,6 +64,7 @@ import { accountingListAccountingInvoices } from "../funcs/accountingListAccount
62
64
  import { accountingListAccountingJournals } from "../funcs/accountingListAccountingJournals.js";
63
65
  import { accountingListAccountingOrders } from "../funcs/accountingListAccountingOrders.js";
64
66
  import { accountingListAccountingOrganizations } from "../funcs/accountingListAccountingOrganizations.js";
67
+ import { accountingListAccountingPaymentterms } from "../funcs/accountingListAccountingPaymentterms.js";
65
68
  import { accountingListAccountingProfitlosses } from "../funcs/accountingListAccountingProfitlosses.js";
66
69
  import { accountingListAccountingProjects } from "../funcs/accountingListAccountingProjects.js";
67
70
  import { accountingListAccountingPurchaseorders } from "../funcs/accountingListAccountingPurchaseorders.js";
@@ -83,6 +86,7 @@ import { accountingPatchAccountingExpense } from "../funcs/accountingPatchAccoun
83
86
  import { accountingPatchAccountingInvoice } from "../funcs/accountingPatchAccountingInvoice.js";
84
87
  import { accountingPatchAccountingJournal } from "../funcs/accountingPatchAccountingJournal.js";
85
88
  import { accountingPatchAccountingOrder } from "../funcs/accountingPatchAccountingOrder.js";
89
+ import { accountingPatchAccountingPaymentterm } from "../funcs/accountingPatchAccountingPaymentterm.js";
86
90
  import { accountingPatchAccountingProject } from "../funcs/accountingPatchAccountingProject.js";
87
91
  import { accountingPatchAccountingPurchaseorder } from "../funcs/accountingPatchAccountingPurchaseorder.js";
88
92
  import { accountingPatchAccountingQuote } from "../funcs/accountingPatchAccountingQuote.js";
@@ -101,6 +105,7 @@ import { accountingRemoveAccountingExpense } from "../funcs/accountingRemoveAcco
101
105
  import { accountingRemoveAccountingInvoice } from "../funcs/accountingRemoveAccountingInvoice.js";
102
106
  import { accountingRemoveAccountingJournal } from "../funcs/accountingRemoveAccountingJournal.js";
103
107
  import { accountingRemoveAccountingOrder } from "../funcs/accountingRemoveAccountingOrder.js";
108
+ import { accountingRemoveAccountingPaymentterm } from "../funcs/accountingRemoveAccountingPaymentterm.js";
104
109
  import { accountingRemoveAccountingProject } from "../funcs/accountingRemoveAccountingProject.js";
105
110
  import { accountingRemoveAccountingPurchaseorder } from "../funcs/accountingRemoveAccountingPurchaseorder.js";
106
111
  import { accountingRemoveAccountingQuote } from "../funcs/accountingRemoveAccountingQuote.js";
@@ -119,6 +124,7 @@ import { accountingUpdateAccountingExpense } from "../funcs/accountingUpdateAcco
119
124
  import { accountingUpdateAccountingInvoice } from "../funcs/accountingUpdateAccountingInvoice.js";
120
125
  import { accountingUpdateAccountingJournal } from "../funcs/accountingUpdateAccountingJournal.js";
121
126
  import { accountingUpdateAccountingOrder } from "../funcs/accountingUpdateAccountingOrder.js";
127
+ import { accountingUpdateAccountingPaymentterm } from "../funcs/accountingUpdateAccountingPaymentterm.js";
122
128
  import { accountingUpdateAccountingProject } from "../funcs/accountingUpdateAccountingProject.js";
123
129
  import { accountingUpdateAccountingPurchaseorder } from "../funcs/accountingUpdateAccountingPurchaseorder.js";
124
130
  import { accountingUpdateAccountingQuote } from "../funcs/accountingUpdateAccountingQuote.js";
@@ -286,6 +292,20 @@ export class Accounting extends ClientSDK {
286
292
  ));
287
293
  }
288
294
 
295
+ /**
296
+ * Create a paymentterm
297
+ */
298
+ async createAccountingPaymentterm(
299
+ request: operations.CreateAccountingPaymenttermRequest,
300
+ options?: RequestOptions,
301
+ ): Promise<shared.AccountingPaymentterm> {
302
+ return unwrapAsync(accountingCreateAccountingPaymentterm(
303
+ this,
304
+ request,
305
+ options,
306
+ ));
307
+ }
308
+
289
309
  /**
290
310
  * Create a project
291
311
  */
@@ -608,6 +628,20 @@ export class Accounting extends ClientSDK {
608
628
  ));
609
629
  }
610
630
 
631
+ /**
632
+ * Retrieve a paymentterm
633
+ */
634
+ async getAccountingPaymentterm(
635
+ request: operations.GetAccountingPaymenttermRequest,
636
+ options?: RequestOptions,
637
+ ): Promise<shared.AccountingPaymentterm> {
638
+ return unwrapAsync(accountingGetAccountingPaymentterm(
639
+ this,
640
+ request,
641
+ options,
642
+ ));
643
+ }
644
+
611
645
  /**
612
646
  * Retrieve a profitloss
613
647
  */
@@ -972,6 +1006,20 @@ export class Accounting extends ClientSDK {
972
1006
  ));
973
1007
  }
974
1008
 
1009
+ /**
1010
+ * List all paymentterms
1011
+ */
1012
+ async listAccountingPaymentterms(
1013
+ request: operations.ListAccountingPaymenttermsRequest,
1014
+ options?: RequestOptions,
1015
+ ): Promise<Array<shared.AccountingPaymentterm>> {
1016
+ return unwrapAsync(accountingListAccountingPaymentterms(
1017
+ this,
1018
+ request,
1019
+ options,
1020
+ ));
1021
+ }
1022
+
975
1023
  /**
976
1024
  * List all profitlosses
977
1025
  */
@@ -1266,6 +1314,20 @@ export class Accounting extends ClientSDK {
1266
1314
  ));
1267
1315
  }
1268
1316
 
1317
+ /**
1318
+ * Update a paymentterm
1319
+ */
1320
+ async patchAccountingPaymentterm(
1321
+ request: operations.PatchAccountingPaymenttermRequest,
1322
+ options?: RequestOptions,
1323
+ ): Promise<shared.AccountingPaymentterm> {
1324
+ return unwrapAsync(accountingPatchAccountingPaymentterm(
1325
+ this,
1326
+ request,
1327
+ options,
1328
+ ));
1329
+ }
1330
+
1269
1331
  /**
1270
1332
  * Update a project
1271
1333
  */
@@ -1520,6 +1582,20 @@ export class Accounting extends ClientSDK {
1520
1582
  ));
1521
1583
  }
1522
1584
 
1585
+ /**
1586
+ * Remove a paymentterm
1587
+ */
1588
+ async removeAccountingPaymentterm(
1589
+ request: operations.RemoveAccountingPaymenttermRequest,
1590
+ options?: RequestOptions,
1591
+ ): Promise<operations.RemoveAccountingPaymenttermResponse | undefined> {
1592
+ return unwrapAsync(accountingRemoveAccountingPaymentterm(
1593
+ this,
1594
+ request,
1595
+ options,
1596
+ ));
1597
+ }
1598
+
1523
1599
  /**
1524
1600
  * Remove a project
1525
1601
  */
@@ -1772,6 +1848,20 @@ export class Accounting extends ClientSDK {
1772
1848
  ));
1773
1849
  }
1774
1850
 
1851
+ /**
1852
+ * Update a paymentterm
1853
+ */
1854
+ async updateAccountingPaymentterm(
1855
+ request: operations.UpdateAccountingPaymenttermRequest,
1856
+ options?: RequestOptions,
1857
+ ): Promise<shared.AccountingPaymentterm> {
1858
+ return unwrapAsync(accountingUpdateAccountingPaymentterm(
1859
+ this,
1860
+ request,
1861
+ options,
1862
+ ));
1863
+ }
1864
+
1775
1865
  /**
1776
1866
  * Update a project
1777
1867
  */
@@ -36,6 +36,7 @@ export const CreateAccountingBillQueryParamFields = {
36
36
  OrganizationId: "organization_id",
37
37
  Term: "term",
38
38
  PaymentTerms: "payment_terms",
39
+ PaymenttermId: "paymentterm_id",
39
40
  Payments: "payments",
40
41
  CategoryIds: "category_ids",
41
42
  ProjectId: "project_id",
@@ -31,6 +31,7 @@ export const CreateAccountingContactQueryParamFields = {
31
31
  AssociatedContacts: "associated_contacts",
32
32
  OrganizationId: "organization_id",
33
33
  PaymentTerms: "payment_terms",
34
+ PaymenttermId: "paymentterm_id",
34
35
  Raw: "raw",
35
36
  } as const;
36
37
  export type CreateAccountingContactQueryParamFields = ClosedEnum<
@@ -30,6 +30,7 @@ export const CreateAccountingInvoiceQueryParamFields = {
30
30
  RefundReason: "refund_reason",
31
31
  Term: "term",
32
32
  PaymentTerms: "payment_terms",
33
+ PaymenttermId: "paymentterm_id",
33
34
  Lineitems: "lineitems",
34
35
  Status: "status",
35
36
  Url: "url",
@@ -0,0 +1,88 @@
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 { ClosedEnum } from "../../types/enums.js";
8
+ import * as shared from "../shared/index.js";
9
+
10
+ export const CreateAccountingPaymenttermQueryParamFields = {
11
+ Id: "id",
12
+ CreatedAt: "created_at",
13
+ UpdatedAt: "updated_at",
14
+ Name: "name",
15
+ Description: "description",
16
+ Type: "type",
17
+ Category: "category",
18
+ IsActive: "is_active",
19
+ DueDays: "due_days",
20
+ DiscountDays: "discount_days",
21
+ DiscountPercent: "discount_percent",
22
+ DayOfMonthDue: "day_of_month_due",
23
+ DiscountDayOfMonth: "discount_day_of_month",
24
+ DueNextMonthDays: "due_next_month_days",
25
+ OrganizationId: "organization_id",
26
+ Metadata: "metadata",
27
+ Raw: "raw",
28
+ } as const;
29
+ export type CreateAccountingPaymenttermQueryParamFields = ClosedEnum<
30
+ typeof CreateAccountingPaymenttermQueryParamFields
31
+ >;
32
+
33
+ export type CreateAccountingPaymenttermRequest = {
34
+ accountingPaymentterm: shared.AccountingPaymentterm;
35
+ /**
36
+ * ID of the connection
37
+ */
38
+ connectionId: string;
39
+ /**
40
+ * Fields to return
41
+ */
42
+ fields?: Array<CreateAccountingPaymenttermQueryParamFields> | undefined;
43
+ /**
44
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
45
+ */
46
+ raw?: string | undefined;
47
+ };
48
+
49
+ /** @internal */
50
+ export const CreateAccountingPaymenttermQueryParamFields$outboundSchema:
51
+ z.ZodNativeEnum<typeof CreateAccountingPaymenttermQueryParamFields> = z
52
+ .nativeEnum(CreateAccountingPaymenttermQueryParamFields);
53
+
54
+ /** @internal */
55
+ export type CreateAccountingPaymenttermRequest$Outbound = {
56
+ AccountingPaymentterm: shared.AccountingPaymentterm$Outbound;
57
+ connection_id: string;
58
+ fields?: Array<string> | undefined;
59
+ raw?: string | undefined;
60
+ };
61
+
62
+ /** @internal */
63
+ export const CreateAccountingPaymenttermRequest$outboundSchema: z.ZodType<
64
+ CreateAccountingPaymenttermRequest$Outbound,
65
+ z.ZodTypeDef,
66
+ CreateAccountingPaymenttermRequest
67
+ > = z.object({
68
+ accountingPaymentterm: shared.AccountingPaymentterm$outboundSchema,
69
+ connectionId: z.string(),
70
+ fields: z.array(CreateAccountingPaymenttermQueryParamFields$outboundSchema)
71
+ .optional(),
72
+ raw: z.string().optional(),
73
+ }).transform((v) => {
74
+ return remap$(v, {
75
+ accountingPaymentterm: "AccountingPaymentterm",
76
+ connectionId: "connection_id",
77
+ });
78
+ });
79
+
80
+ export function createAccountingPaymenttermRequestToJSON(
81
+ createAccountingPaymenttermRequest: CreateAccountingPaymenttermRequest,
82
+ ): string {
83
+ return JSON.stringify(
84
+ CreateAccountingPaymenttermRequest$outboundSchema.parse(
85
+ createAccountingPaymenttermRequest,
86
+ ),
87
+ );
88
+ }
@@ -35,6 +35,7 @@ export const GetAccountingBillQueryParamFields = {
35
35
  OrganizationId: "organization_id",
36
36
  Term: "term",
37
37
  PaymentTerms: "payment_terms",
38
+ PaymenttermId: "paymentterm_id",
38
39
  Payments: "payments",
39
40
  CategoryIds: "category_ids",
40
41
  ProjectId: "project_id",
@@ -30,6 +30,7 @@ export const GetAccountingContactQueryParamFields = {
30
30
  AssociatedContacts: "associated_contacts",
31
31
  OrganizationId: "organization_id",
32
32
  PaymentTerms: "payment_terms",
33
+ PaymenttermId: "paymentterm_id",
33
34
  Raw: "raw",
34
35
  } as const;
35
36
  export type GetAccountingContactQueryParamFields = ClosedEnum<
@@ -29,6 +29,7 @@ export const GetAccountingInvoiceQueryParamFields = {
29
29
  RefundReason: "refund_reason",
30
30
  Term: "term",
31
31
  PaymentTerms: "payment_terms",
32
+ PaymenttermId: "paymentterm_id",
32
33
  Lineitems: "lineitems",
33
34
  Status: "status",
34
35
  Url: "url",
@@ -0,0 +1,89 @@
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 { ClosedEnum } from "../../types/enums.js";
8
+
9
+ export const GetAccountingPaymenttermQueryParamFields = {
10
+ Id: "id",
11
+ CreatedAt: "created_at",
12
+ UpdatedAt: "updated_at",
13
+ Name: "name",
14
+ Description: "description",
15
+ Type: "type",
16
+ Category: "category",
17
+ IsActive: "is_active",
18
+ DueDays: "due_days",
19
+ DiscountDays: "discount_days",
20
+ DiscountPercent: "discount_percent",
21
+ DayOfMonthDue: "day_of_month_due",
22
+ DiscountDayOfMonth: "discount_day_of_month",
23
+ DueNextMonthDays: "due_next_month_days",
24
+ OrganizationId: "organization_id",
25
+ Metadata: "metadata",
26
+ Raw: "raw",
27
+ } as const;
28
+ export type GetAccountingPaymenttermQueryParamFields = ClosedEnum<
29
+ typeof GetAccountingPaymenttermQueryParamFields
30
+ >;
31
+
32
+ export type GetAccountingPaymenttermRequest = {
33
+ /**
34
+ * ID of the connection
35
+ */
36
+ connectionId: string;
37
+ /**
38
+ * Fields to return
39
+ */
40
+ fields?: Array<GetAccountingPaymenttermQueryParamFields> | undefined;
41
+ /**
42
+ * ID of the Paymentterm
43
+ */
44
+ id: string;
45
+ /**
46
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
47
+ */
48
+ raw?: string | undefined;
49
+ };
50
+
51
+ /** @internal */
52
+ export const GetAccountingPaymenttermQueryParamFields$outboundSchema:
53
+ z.ZodNativeEnum<typeof GetAccountingPaymenttermQueryParamFields> = z
54
+ .nativeEnum(GetAccountingPaymenttermQueryParamFields);
55
+
56
+ /** @internal */
57
+ export type GetAccountingPaymenttermRequest$Outbound = {
58
+ connection_id: string;
59
+ fields?: Array<string> | undefined;
60
+ id: string;
61
+ raw?: string | undefined;
62
+ };
63
+
64
+ /** @internal */
65
+ export const GetAccountingPaymenttermRequest$outboundSchema: z.ZodType<
66
+ GetAccountingPaymenttermRequest$Outbound,
67
+ z.ZodTypeDef,
68
+ GetAccountingPaymenttermRequest
69
+ > = z.object({
70
+ connectionId: z.string(),
71
+ fields: z.array(GetAccountingPaymenttermQueryParamFields$outboundSchema)
72
+ .optional(),
73
+ id: z.string(),
74
+ raw: z.string().optional(),
75
+ }).transform((v) => {
76
+ return remap$(v, {
77
+ connectionId: "connection_id",
78
+ });
79
+ });
80
+
81
+ export function getAccountingPaymenttermRequestToJSON(
82
+ getAccountingPaymenttermRequest: GetAccountingPaymenttermRequest,
83
+ ): string {
84
+ return JSON.stringify(
85
+ GetAccountingPaymenttermRequest$outboundSchema.parse(
86
+ getAccountingPaymenttermRequest,
87
+ ),
88
+ );
89
+ }
@@ -13,6 +13,7 @@ export * from "./createaccountingexpense.js";
13
13
  export * from "./createaccountinginvoice.js";
14
14
  export * from "./createaccountingjournal.js";
15
15
  export * from "./createaccountingorder.js";
16
+ export * from "./createaccountingpaymentterm.js";
16
17
  export * from "./createaccountingproject.js";
17
18
  export * from "./createaccountingpurchaseorder.js";
18
19
  export * from "./createaccountingquote.js";
@@ -146,6 +147,7 @@ export * from "./getaccountinginvoice.js";
146
147
  export * from "./getaccountingjournal.js";
147
148
  export * from "./getaccountingorder.js";
148
149
  export * from "./getaccountingorganization.js";
150
+ export * from "./getaccountingpaymentterm.js";
149
151
  export * from "./getaccountingprofitloss.js";
150
152
  export * from "./getaccountingproject.js";
151
153
  export * from "./getaccountingpurchaseorder.js";
@@ -306,6 +308,7 @@ export * from "./listaccountinginvoices.js";
306
308
  export * from "./listaccountingjournals.js";
307
309
  export * from "./listaccountingorders.js";
308
310
  export * from "./listaccountingorganizations.js";
311
+ export * from "./listaccountingpaymentterms.js";
309
312
  export * from "./listaccountingprofitlosses.js";
310
313
  export * from "./listaccountingprojects.js";
311
314
  export * from "./listaccountingpurchaseorders.js";
@@ -455,6 +458,7 @@ export * from "./listunifiedconnections.js";
455
458
  export * from "./listunifiedintegrations.js";
456
459
  export * from "./listunifiedintegrationworkspaces.js";
457
460
  export * from "./listunifiedissues.js";
461
+ export * from "./listunifiednotifications.js";
458
462
  export * from "./listunifiedwebhooks.js";
459
463
  export * from "./listunifiedworkspacesecretsmanagers.js";
460
464
  export * from "./listverificationpackages.js";
@@ -470,6 +474,7 @@ export * from "./patchaccountingexpense.js";
470
474
  export * from "./patchaccountinginvoice.js";
471
475
  export * from "./patchaccountingjournal.js";
472
476
  export * from "./patchaccountingorder.js";
477
+ export * from "./patchaccountingpaymentterm.js";
473
478
  export * from "./patchaccountingproject.js";
474
479
  export * from "./patchaccountingpurchaseorder.js";
475
480
  export * from "./patchaccountingquote.js";
@@ -595,6 +600,7 @@ export * from "./removeaccountingexpense.js";
595
600
  export * from "./removeaccountinginvoice.js";
596
601
  export * from "./removeaccountingjournal.js";
597
602
  export * from "./removeaccountingorder.js";
603
+ export * from "./removeaccountingpaymentterm.js";
598
604
  export * from "./removeaccountingproject.js";
599
605
  export * from "./removeaccountingpurchaseorder.js";
600
606
  export * from "./removeaccountingquote.js";
@@ -718,6 +724,7 @@ export * from "./updateaccountingexpense.js";
718
724
  export * from "./updateaccountinginvoice.js";
719
725
  export * from "./updateaccountingjournal.js";
720
726
  export * from "./updateaccountingorder.js";
727
+ export * from "./updateaccountingpaymentterm.js";
721
728
  export * from "./updateaccountingproject.js";
722
729
  export * from "./updateaccountingpurchaseorder.js";
723
730
  export * from "./updateaccountingquote.js";
@@ -35,6 +35,7 @@ export const ListAccountingBillsQueryParamFields = {
35
35
  OrganizationId: "organization_id",
36
36
  Term: "term",
37
37
  PaymentTerms: "payment_terms",
38
+ PaymenttermId: "paymentterm_id",
38
39
  Payments: "payments",
39
40
  CategoryIds: "category_ids",
40
41
  ProjectId: "project_id",
@@ -30,6 +30,7 @@ export const ListAccountingContactsQueryParamFields = {
30
30
  AssociatedContacts: "associated_contacts",
31
31
  OrganizationId: "organization_id",
32
32
  PaymentTerms: "payment_terms",
33
+ PaymenttermId: "paymentterm_id",
33
34
  Raw: "raw",
34
35
  } as const;
35
36
  export type ListAccountingContactsQueryParamFields = ClosedEnum<
@@ -29,6 +29,7 @@ export const ListAccountingInvoicesQueryParamFields = {
29
29
  RefundReason: "refund_reason",
30
30
  Term: "term",
31
31
  PaymentTerms: "payment_terms",
32
+ PaymenttermId: "paymentterm_id",
32
33
  Lineitems: "lineitems",
33
34
  Status: "status",
34
35
  Url: "url",
@@ -0,0 +1,118 @@
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 { ClosedEnum } from "../../types/enums.js";
8
+
9
+ export const ListAccountingPaymenttermsQueryParamFields = {
10
+ Id: "id",
11
+ CreatedAt: "created_at",
12
+ UpdatedAt: "updated_at",
13
+ Name: "name",
14
+ Description: "description",
15
+ Type: "type",
16
+ Category: "category",
17
+ IsActive: "is_active",
18
+ DueDays: "due_days",
19
+ DiscountDays: "discount_days",
20
+ DiscountPercent: "discount_percent",
21
+ DayOfMonthDue: "day_of_month_due",
22
+ DiscountDayOfMonth: "discount_day_of_month",
23
+ DueNextMonthDays: "due_next_month_days",
24
+ OrganizationId: "organization_id",
25
+ Metadata: "metadata",
26
+ Raw: "raw",
27
+ } as const;
28
+ export type ListAccountingPaymenttermsQueryParamFields = ClosedEnum<
29
+ typeof ListAccountingPaymenttermsQueryParamFields
30
+ >;
31
+
32
+ export type ListAccountingPaymenttermsRequest = {
33
+ /**
34
+ * ID of the connection
35
+ */
36
+ connectionId: string;
37
+ /**
38
+ * Fields to return
39
+ */
40
+ fields?: Array<ListAccountingPaymenttermsQueryParamFields> | undefined;
41
+ limit?: number | undefined;
42
+ offset?: number | undefined;
43
+ order?: string | undefined;
44
+ /**
45
+ * The org ID to filter by (reference to AccountingOrganization)
46
+ */
47
+ orgId?: string | undefined;
48
+ /**
49
+ * Query string to search. eg. email address or name
50
+ */
51
+ query?: string | undefined;
52
+ /**
53
+ * Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
54
+ */
55
+ raw?: string | undefined;
56
+ sort?: string | undefined;
57
+ type?: string | undefined;
58
+ /**
59
+ * Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
60
+ */
61
+ updatedGte?: string | undefined;
62
+ };
63
+
64
+ /** @internal */
65
+ export const ListAccountingPaymenttermsQueryParamFields$outboundSchema:
66
+ z.ZodNativeEnum<typeof ListAccountingPaymenttermsQueryParamFields> = z
67
+ .nativeEnum(ListAccountingPaymenttermsQueryParamFields);
68
+
69
+ /** @internal */
70
+ export type ListAccountingPaymenttermsRequest$Outbound = {
71
+ connection_id: string;
72
+ fields?: Array<string> | undefined;
73
+ limit?: number | undefined;
74
+ offset?: number | undefined;
75
+ order?: string | undefined;
76
+ org_id?: string | undefined;
77
+ query?: string | undefined;
78
+ raw?: string | undefined;
79
+ sort?: string | undefined;
80
+ type?: string | undefined;
81
+ updated_gte?: string | undefined;
82
+ };
83
+
84
+ /** @internal */
85
+ export const ListAccountingPaymenttermsRequest$outboundSchema: z.ZodType<
86
+ ListAccountingPaymenttermsRequest$Outbound,
87
+ z.ZodTypeDef,
88
+ ListAccountingPaymenttermsRequest
89
+ > = z.object({
90
+ connectionId: z.string(),
91
+ fields: z.array(ListAccountingPaymenttermsQueryParamFields$outboundSchema)
92
+ .optional(),
93
+ limit: z.number().optional(),
94
+ offset: z.number().optional(),
95
+ order: z.string().optional(),
96
+ orgId: z.string().optional(),
97
+ query: z.string().optional(),
98
+ raw: z.string().optional(),
99
+ sort: z.string().optional(),
100
+ type: z.string().optional(),
101
+ updatedGte: z.string().optional(),
102
+ }).transform((v) => {
103
+ return remap$(v, {
104
+ connectionId: "connection_id",
105
+ orgId: "org_id",
106
+ updatedGte: "updated_gte",
107
+ });
108
+ });
109
+
110
+ export function listAccountingPaymenttermsRequestToJSON(
111
+ listAccountingPaymenttermsRequest: ListAccountingPaymenttermsRequest,
112
+ ): string {
113
+ return JSON.stringify(
114
+ ListAccountingPaymenttermsRequest$outboundSchema.parse(
115
+ listAccountingPaymenttermsRequest,
116
+ ),
117
+ );
118
+ }
@@ -0,0 +1,53 @@
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
+
8
+ export type ListUnifiedNotificationsRequest = {
9
+ limit?: number | undefined;
10
+ offset?: number | undefined;
11
+ order?: string | undefined;
12
+ sort?: string | undefined;
13
+ /**
14
+ * Return only results whose updated date is equal or greater to this value (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
15
+ */
16
+ updatedGte?: string | undefined;
17
+ };
18
+
19
+ /** @internal */
20
+ export type ListUnifiedNotificationsRequest$Outbound = {
21
+ limit?: number | undefined;
22
+ offset?: number | undefined;
23
+ order?: string | undefined;
24
+ sort?: string | undefined;
25
+ updated_gte?: string | undefined;
26
+ };
27
+
28
+ /** @internal */
29
+ export const ListUnifiedNotificationsRequest$outboundSchema: z.ZodType<
30
+ ListUnifiedNotificationsRequest$Outbound,
31
+ z.ZodTypeDef,
32
+ ListUnifiedNotificationsRequest
33
+ > = z.object({
34
+ limit: z.number().optional(),
35
+ offset: z.number().optional(),
36
+ order: z.string().optional(),
37
+ sort: z.string().optional(),
38
+ updatedGte: z.string().optional(),
39
+ }).transform((v) => {
40
+ return remap$(v, {
41
+ updatedGte: "updated_gte",
42
+ });
43
+ });
44
+
45
+ export function listUnifiedNotificationsRequestToJSON(
46
+ listUnifiedNotificationsRequest: ListUnifiedNotificationsRequest,
47
+ ): string {
48
+ return JSON.stringify(
49
+ ListUnifiedNotificationsRequest$outboundSchema.parse(
50
+ listUnifiedNotificationsRequest,
51
+ ),
52
+ );
53
+ }
@@ -36,6 +36,7 @@ export const PatchAccountingBillQueryParamFields = {
36
36
  OrganizationId: "organization_id",
37
37
  Term: "term",
38
38
  PaymentTerms: "payment_terms",
39
+ PaymenttermId: "paymentterm_id",
39
40
  Payments: "payments",
40
41
  CategoryIds: "category_ids",
41
42
  ProjectId: "project_id",
@@ -31,6 +31,7 @@ export const PatchAccountingContactQueryParamFields = {
31
31
  AssociatedContacts: "associated_contacts",
32
32
  OrganizationId: "organization_id",
33
33
  PaymentTerms: "payment_terms",
34
+ PaymenttermId: "paymentterm_id",
34
35
  Raw: "raw",
35
36
  } as const;
36
37
  export type PatchAccountingContactQueryParamFields = ClosedEnum<