@augno/sdk 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (798) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/client.d.mts +11 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +15 -9
  11. package/resources/auth/api-keys/actions.d.mts +2 -0
  12. package/resources/auth/api-keys/actions.d.mts.map +1 -1
  13. package/resources/auth/api-keys/actions.d.ts +2 -0
  14. package/resources/auth/api-keys/actions.d.ts.map +1 -1
  15. package/resources/auth/api-keys/actions.js +2 -0
  16. package/resources/auth/api-keys/actions.js.map +1 -1
  17. package/resources/auth/api-keys/actions.mjs +2 -0
  18. package/resources/auth/api-keys/actions.mjs.map +1 -1
  19. package/resources/auth/api-keys/api-keys.d.mts +12 -3
  20. package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
  21. package/resources/auth/api-keys/api-keys.d.ts +12 -3
  22. package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
  23. package/resources/auth/api-keys/api-keys.js +9 -0
  24. package/resources/auth/api-keys/api-keys.js.map +1 -1
  25. package/resources/auth/api-keys/api-keys.mjs +9 -0
  26. package/resources/auth/api-keys/api-keys.mjs.map +1 -1
  27. package/resources/catalog/item-categories/item-categories.d.mts +17 -1
  28. package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
  29. package/resources/catalog/item-categories/item-categories.d.ts +17 -1
  30. package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
  31. package/resources/catalog/item-categories/item-categories.js +17 -1
  32. package/resources/catalog/item-categories/item-categories.js.map +1 -1
  33. package/resources/catalog/item-categories/item-categories.mjs +17 -1
  34. package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
  35. package/resources/catalog/item-categories/properties.d.mts +4 -0
  36. package/resources/catalog/item-categories/properties.d.mts.map +1 -1
  37. package/resources/catalog/item-categories/properties.d.ts +4 -0
  38. package/resources/catalog/item-categories/properties.d.ts.map +1 -1
  39. package/resources/catalog/item-categories/properties.js +4 -0
  40. package/resources/catalog/item-categories/properties.js.map +1 -1
  41. package/resources/catalog/item-categories/properties.mjs +4 -0
  42. package/resources/catalog/item-categories/properties.mjs.map +1 -1
  43. package/resources/catalog/items/attributes.d.mts +4 -0
  44. package/resources/catalog/items/attributes.d.mts.map +1 -1
  45. package/resources/catalog/items/attributes.d.ts +4 -0
  46. package/resources/catalog/items/attributes.d.ts.map +1 -1
  47. package/resources/catalog/items/attributes.js +4 -0
  48. package/resources/catalog/items/attributes.js.map +1 -1
  49. package/resources/catalog/items/attributes.mjs +4 -0
  50. package/resources/catalog/items/attributes.mjs.map +1 -1
  51. package/resources/catalog/items/items.d.mts +8 -0
  52. package/resources/catalog/items/items.d.mts.map +1 -1
  53. package/resources/catalog/items/items.d.ts +8 -0
  54. package/resources/catalog/items/items.d.ts.map +1 -1
  55. package/resources/catalog/items/items.js +8 -0
  56. package/resources/catalog/items/items.js.map +1 -1
  57. package/resources/catalog/items/items.mjs +8 -0
  58. package/resources/catalog/items/items.mjs.map +1 -1
  59. package/resources/catalog/materials.d.mts +66 -10
  60. package/resources/catalog/materials.d.mts.map +1 -1
  61. package/resources/catalog/materials.d.ts +66 -10
  62. package/resources/catalog/materials.d.ts.map +1 -1
  63. package/resources/catalog/materials.js +57 -1
  64. package/resources/catalog/materials.js.map +1 -1
  65. package/resources/catalog/materials.mjs +57 -1
  66. package/resources/catalog/materials.mjs.map +1 -1
  67. package/resources/catalog/parts.d.mts +30 -0
  68. package/resources/catalog/parts.d.mts.map +1 -1
  69. package/resources/catalog/parts.d.ts +30 -0
  70. package/resources/catalog/parts.d.ts.map +1 -1
  71. package/resources/catalog/parts.js +30 -0
  72. package/resources/catalog/parts.js.map +1 -1
  73. package/resources/catalog/parts.mjs +30 -0
  74. package/resources/catalog/parts.mjs.map +1 -1
  75. package/resources/catalog/product-lines.d.mts +18 -1
  76. package/resources/catalog/product-lines.d.mts.map +1 -1
  77. package/resources/catalog/product-lines.d.ts +18 -1
  78. package/resources/catalog/product-lines.d.ts.map +1 -1
  79. package/resources/catalog/product-lines.js +18 -1
  80. package/resources/catalog/product-lines.js.map +1 -1
  81. package/resources/catalog/product-lines.mjs +18 -1
  82. package/resources/catalog/product-lines.mjs.map +1 -1
  83. package/resources/catalog/products.d.mts +52 -9
  84. package/resources/catalog/products.d.mts.map +1 -1
  85. package/resources/catalog/products.d.ts +52 -9
  86. package/resources/catalog/products.d.ts.map +1 -1
  87. package/resources/catalog/products.js +44 -1
  88. package/resources/catalog/products.js.map +1 -1
  89. package/resources/catalog/products.mjs +44 -1
  90. package/resources/catalog/products.mjs.map +1 -1
  91. package/resources/catalog/properties/attributes.d.mts +12 -0
  92. package/resources/catalog/properties/attributes.d.mts.map +1 -1
  93. package/resources/catalog/properties/attributes.d.ts +12 -0
  94. package/resources/catalog/properties/attributes.d.ts.map +1 -1
  95. package/resources/catalog/properties/attributes.js +12 -0
  96. package/resources/catalog/properties/attributes.js.map +1 -1
  97. package/resources/catalog/properties/attributes.mjs +12 -0
  98. package/resources/catalog/properties/attributes.mjs.map +1 -1
  99. package/resources/catalog/properties/properties.d.mts +10 -0
  100. package/resources/catalog/properties/properties.d.mts.map +1 -1
  101. package/resources/catalog/properties/properties.d.ts +10 -0
  102. package/resources/catalog/properties/properties.d.ts.map +1 -1
  103. package/resources/catalog/properties/properties.js +10 -0
  104. package/resources/catalog/properties/properties.js.map +1 -1
  105. package/resources/catalog/properties/properties.mjs +10 -0
  106. package/resources/catalog/properties/properties.mjs.map +1 -1
  107. package/resources/catalog/unit-groups/unit-groups.d.mts +29 -7
  108. package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
  109. package/resources/catalog/unit-groups/unit-groups.d.ts +29 -7
  110. package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
  111. package/resources/catalog/unit-groups/unit-groups.js +23 -2
  112. package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
  113. package/resources/catalog/unit-groups/unit-groups.mjs +23 -2
  114. package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
  115. package/resources/catalog/unit-groups/units.d.mts +12 -0
  116. package/resources/catalog/unit-groups/units.d.mts.map +1 -1
  117. package/resources/catalog/unit-groups/units.d.ts +12 -0
  118. package/resources/catalog/unit-groups/units.d.ts.map +1 -1
  119. package/resources/catalog/unit-groups/units.js +12 -0
  120. package/resources/catalog/unit-groups/units.js.map +1 -1
  121. package/resources/catalog/unit-groups/units.mjs +12 -0
  122. package/resources/catalog/unit-groups/units.mjs.map +1 -1
  123. package/resources/catalog/units.d.mts +56 -26
  124. package/resources/catalog/units.d.mts.map +1 -1
  125. package/resources/catalog/units.d.ts +56 -26
  126. package/resources/catalog/units.d.ts.map +1 -1
  127. package/resources/catalog/units.js +22 -3
  128. package/resources/catalog/units.js.map +1 -1
  129. package/resources/catalog/units.mjs +22 -3
  130. package/resources/catalog/units.mjs.map +1 -1
  131. package/resources/core/addresses/actions.d.mts +1 -0
  132. package/resources/core/addresses/actions.d.mts.map +1 -1
  133. package/resources/core/addresses/actions.d.ts +1 -0
  134. package/resources/core/addresses/actions.d.ts.map +1 -1
  135. package/resources/core/addresses/actions.js +1 -0
  136. package/resources/core/addresses/actions.js.map +1 -1
  137. package/resources/core/addresses/actions.mjs +1 -0
  138. package/resources/core/addresses/actions.mjs.map +1 -1
  139. package/resources/core/audit-events.d.mts +22 -7
  140. package/resources/core/audit-events.d.mts.map +1 -1
  141. package/resources/core/audit-events.d.ts +22 -7
  142. package/resources/core/audit-events.d.ts.map +1 -1
  143. package/resources/core/audit-events.js +6 -0
  144. package/resources/core/audit-events.js.map +1 -1
  145. package/resources/core/audit-events.mjs +6 -0
  146. package/resources/core/audit-events.mjs.map +1 -1
  147. package/resources/core/core.d.mts +103 -0
  148. package/resources/core/core.d.mts.map +1 -1
  149. package/resources/core/core.d.ts +103 -0
  150. package/resources/core/core.d.ts.map +1 -1
  151. package/resources/core/core.js +19 -0
  152. package/resources/core/core.js.map +1 -1
  153. package/resources/core/core.mjs +19 -0
  154. package/resources/core/core.mjs.map +1 -1
  155. package/resources/core/email-logs.d.mts +6 -1
  156. package/resources/core/email-logs.d.mts.map +1 -1
  157. package/resources/core/email-logs.d.ts +6 -1
  158. package/resources/core/email-logs.d.ts.map +1 -1
  159. package/resources/core/email-logs.js +4 -0
  160. package/resources/core/email-logs.js.map +1 -1
  161. package/resources/core/email-logs.mjs +4 -0
  162. package/resources/core/email-logs.mjs.map +1 -1
  163. package/resources/core/index.d.mts +1 -1
  164. package/resources/core/index.d.mts.map +1 -1
  165. package/resources/core/index.d.ts +1 -1
  166. package/resources/core/index.d.ts.map +1 -1
  167. package/resources/core/index.js.map +1 -1
  168. package/resources/core/index.mjs.map +1 -1
  169. package/resources/core/request-logs.d.mts +21 -7
  170. package/resources/core/request-logs.d.mts.map +1 -1
  171. package/resources/core/request-logs.d.ts +21 -7
  172. package/resources/core/request-logs.d.ts.map +1 -1
  173. package/resources/core/request-logs.js +4 -0
  174. package/resources/core/request-logs.js.map +1 -1
  175. package/resources/core/request-logs.mjs +4 -0
  176. package/resources/core/request-logs.mjs.map +1 -1
  177. package/resources/core/sandboxes.d.mts +11 -3
  178. package/resources/core/sandboxes.d.mts.map +1 -1
  179. package/resources/core/sandboxes.d.ts +11 -3
  180. package/resources/core/sandboxes.d.ts.map +1 -1
  181. package/resources/core/sandboxes.js +8 -0
  182. package/resources/core/sandboxes.js.map +1 -1
  183. package/resources/core/sandboxes.mjs +8 -0
  184. package/resources/core/sandboxes.mjs.map +1 -1
  185. package/resources/finance/payment-terms.d.mts +10 -0
  186. package/resources/finance/payment-terms.d.mts.map +1 -1
  187. package/resources/finance/payment-terms.d.ts +10 -0
  188. package/resources/finance/payment-terms.d.ts.map +1 -1
  189. package/resources/finance/payment-terms.js +10 -0
  190. package/resources/finance/payment-terms.js.map +1 -1
  191. package/resources/finance/payment-terms.mjs +10 -0
  192. package/resources/finance/payment-terms.mjs.map +1 -1
  193. package/resources/identity/account-users/account-users.d.mts +26 -5
  194. package/resources/identity/account-users/account-users.d.mts.map +1 -1
  195. package/resources/identity/account-users/account-users.d.ts +26 -5
  196. package/resources/identity/account-users/account-users.d.ts.map +1 -1
  197. package/resources/identity/account-users/account-users.js +21 -0
  198. package/resources/identity/account-users/account-users.js.map +1 -1
  199. package/resources/identity/account-users/account-users.mjs +21 -0
  200. package/resources/identity/account-users/account-users.mjs.map +1 -1
  201. package/resources/identity/account-users/actions.d.mts +9 -0
  202. package/resources/identity/account-users/actions.d.mts.map +1 -1
  203. package/resources/identity/account-users/actions.d.ts +9 -0
  204. package/resources/identity/account-users/actions.d.ts.map +1 -1
  205. package/resources/identity/account-users/actions.js +9 -0
  206. package/resources/identity/account-users/actions.js.map +1 -1
  207. package/resources/identity/account-users/actions.mjs +9 -0
  208. package/resources/identity/account-users/actions.mjs.map +1 -1
  209. package/resources/identity/roles.d.mts +33 -17
  210. package/resources/identity/roles.d.mts.map +1 -1
  211. package/resources/identity/roles.d.ts +33 -17
  212. package/resources/identity/roles.d.ts.map +1 -1
  213. package/resources/identity/roles.js +20 -6
  214. package/resources/identity/roles.js.map +1 -1
  215. package/resources/identity/roles.mjs +20 -6
  216. package/resources/identity/roles.mjs.map +1 -1
  217. package/resources/index.d.mts +2 -1
  218. package/resources/index.d.mts.map +1 -1
  219. package/resources/index.d.ts +2 -1
  220. package/resources/index.d.ts.map +1 -1
  221. package/resources/index.js +3 -1
  222. package/resources/index.js.map +1 -1
  223. package/resources/index.mjs +1 -0
  224. package/resources/index.mjs.map +1 -1
  225. package/resources/messaging/announcements/actions.d.mts +76 -0
  226. package/resources/messaging/announcements/actions.d.mts.map +1 -0
  227. package/resources/messaging/announcements/actions.d.ts +76 -0
  228. package/resources/messaging/announcements/actions.d.ts.map +1 -0
  229. package/resources/messaging/announcements/actions.js +73 -0
  230. package/resources/messaging/announcements/actions.js.map +1 -0
  231. package/resources/messaging/announcements/actions.mjs +69 -0
  232. package/resources/messaging/announcements/actions.mjs.map +1 -0
  233. package/resources/messaging/announcements/announcements.d.mts +173 -0
  234. package/resources/messaging/announcements/announcements.d.mts.map +1 -0
  235. package/resources/messaging/announcements/announcements.d.ts +173 -0
  236. package/resources/messaging/announcements/announcements.d.ts.map +1 -0
  237. package/resources/messaging/announcements/announcements.js +52 -0
  238. package/resources/messaging/announcements/announcements.js.map +1 -0
  239. package/resources/messaging/announcements/announcements.mjs +47 -0
  240. package/resources/messaging/announcements/announcements.mjs.map +1 -0
  241. package/resources/messaging/announcements/index.d.mts +3 -0
  242. package/resources/messaging/announcements/index.d.mts.map +1 -0
  243. package/resources/messaging/announcements/index.d.ts +3 -0
  244. package/resources/messaging/announcements/index.d.ts.map +1 -0
  245. package/resources/messaging/announcements/index.js +9 -0
  246. package/resources/messaging/announcements/index.js.map +1 -0
  247. package/resources/messaging/announcements/index.mjs +4 -0
  248. package/resources/messaging/announcements/index.mjs.map +1 -0
  249. package/resources/messaging/announcements.d.mts +2 -0
  250. package/resources/messaging/announcements.d.mts.map +1 -0
  251. package/resources/messaging/announcements.d.ts +2 -0
  252. package/resources/messaging/announcements.d.ts.map +1 -0
  253. package/resources/messaging/announcements.js +6 -0
  254. package/resources/messaging/announcements.js.map +1 -0
  255. package/resources/messaging/announcements.mjs +3 -0
  256. package/resources/messaging/announcements.mjs.map +1 -0
  257. package/resources/messaging/blocks.d.mts +674 -0
  258. package/resources/messaging/blocks.d.mts.map +1 -0
  259. package/resources/messaging/blocks.d.ts +674 -0
  260. package/resources/messaging/blocks.d.ts.map +1 -0
  261. package/resources/messaging/blocks.js +61 -0
  262. package/resources/messaging/blocks.js.map +1 -0
  263. package/resources/messaging/blocks.mjs +57 -0
  264. package/resources/messaging/blocks.mjs.map +1 -0
  265. package/resources/messaging/conversations/actions.d.mts +422 -0
  266. package/resources/messaging/conversations/actions.d.mts.map +1 -0
  267. package/resources/messaging/conversations/actions.d.ts +422 -0
  268. package/resources/messaging/conversations/actions.d.ts.map +1 -0
  269. package/resources/messaging/conversations/actions.js +299 -0
  270. package/resources/messaging/conversations/actions.js.map +1 -0
  271. package/resources/messaging/conversations/actions.mjs +295 -0
  272. package/resources/messaging/conversations/actions.mjs.map +1 -0
  273. package/resources/messaging/conversations/attachments/actions.d.mts +87 -0
  274. package/resources/messaging/conversations/attachments/actions.d.mts.map +1 -0
  275. package/resources/messaging/conversations/attachments/actions.d.ts +87 -0
  276. package/resources/messaging/conversations/attachments/actions.d.ts.map +1 -0
  277. package/resources/messaging/conversations/attachments/actions.js +36 -0
  278. package/resources/messaging/conversations/attachments/actions.js.map +1 -0
  279. package/resources/messaging/conversations/attachments/actions.mjs +32 -0
  280. package/resources/messaging/conversations/attachments/actions.mjs.map +1 -0
  281. package/resources/messaging/conversations/attachments/attachments.d.mts +10 -0
  282. package/resources/messaging/conversations/attachments/attachments.d.mts.map +1 -0
  283. package/resources/messaging/conversations/attachments/attachments.d.ts +10 -0
  284. package/resources/messaging/conversations/attachments/attachments.d.ts.map +1 -0
  285. package/resources/messaging/conversations/attachments/attachments.js +17 -0
  286. package/resources/messaging/conversations/attachments/attachments.js.map +1 -0
  287. package/resources/messaging/conversations/attachments/attachments.mjs +12 -0
  288. package/resources/messaging/conversations/attachments/attachments.mjs.map +1 -0
  289. package/resources/messaging/conversations/attachments/index.d.mts +3 -0
  290. package/resources/messaging/conversations/attachments/index.d.mts.map +1 -0
  291. package/resources/messaging/conversations/attachments/index.d.ts +3 -0
  292. package/resources/messaging/conversations/attachments/index.d.ts.map +1 -0
  293. package/resources/messaging/conversations/attachments/index.js +9 -0
  294. package/resources/messaging/conversations/attachments/index.js.map +1 -0
  295. package/resources/messaging/conversations/attachments/index.mjs +4 -0
  296. package/resources/messaging/conversations/attachments/index.mjs.map +1 -0
  297. package/resources/messaging/conversations/attachments.d.mts +2 -0
  298. package/resources/messaging/conversations/attachments.d.mts.map +1 -0
  299. package/resources/messaging/conversations/attachments.d.ts +2 -0
  300. package/resources/messaging/conversations/attachments.d.ts.map +1 -0
  301. package/resources/messaging/conversations/attachments.js +6 -0
  302. package/resources/messaging/conversations/attachments.js.map +1 -0
  303. package/resources/messaging/conversations/attachments.mjs +3 -0
  304. package/resources/messaging/conversations/attachments.mjs.map +1 -0
  305. package/resources/messaging/conversations/conversations.d.mts +1367 -0
  306. package/resources/messaging/conversations/conversations.d.mts.map +1 -0
  307. package/resources/messaging/conversations/conversations.d.ts +1367 -0
  308. package/resources/messaging/conversations/conversations.d.ts.map +1 -0
  309. package/resources/messaging/conversations/conversations.js +113 -0
  310. package/resources/messaging/conversations/conversations.js.map +1 -0
  311. package/resources/messaging/conversations/conversations.mjs +108 -0
  312. package/resources/messaging/conversations/conversations.mjs.map +1 -0
  313. package/resources/messaging/conversations/index.d.mts +7 -0
  314. package/resources/messaging/conversations/index.d.mts.map +1 -0
  315. package/resources/messaging/conversations/index.d.ts +7 -0
  316. package/resources/messaging/conversations/index.d.ts.map +1 -0
  317. package/resources/messaging/conversations/index.js +17 -0
  318. package/resources/messaging/conversations/index.js.map +1 -0
  319. package/resources/messaging/conversations/index.mjs +8 -0
  320. package/resources/messaging/conversations/index.mjs.map +1 -0
  321. package/resources/messaging/conversations/links.d.mts +149 -0
  322. package/resources/messaging/conversations/links.d.mts.map +1 -0
  323. package/resources/messaging/conversations/links.d.ts +149 -0
  324. package/resources/messaging/conversations/links.d.ts.map +1 -0
  325. package/resources/messaging/conversations/links.js +72 -0
  326. package/resources/messaging/conversations/links.js.map +1 -0
  327. package/resources/messaging/conversations/links.mjs +68 -0
  328. package/resources/messaging/conversations/links.mjs.map +1 -0
  329. package/resources/messaging/conversations/messages.d.mts +353 -0
  330. package/resources/messaging/conversations/messages.d.mts.map +1 -0
  331. package/resources/messaging/conversations/messages.d.ts +353 -0
  332. package/resources/messaging/conversations/messages.d.ts.map +1 -0
  333. package/resources/messaging/conversations/messages.js +81 -0
  334. package/resources/messaging/conversations/messages.js.map +1 -0
  335. package/resources/messaging/conversations/messages.mjs +77 -0
  336. package/resources/messaging/conversations/messages.mjs.map +1 -0
  337. package/resources/messaging/conversations/participants/actions.d.mts +62 -0
  338. package/resources/messaging/conversations/participants/actions.d.mts.map +1 -0
  339. package/resources/messaging/conversations/participants/actions.d.ts +62 -0
  340. package/resources/messaging/conversations/participants/actions.d.ts.map +1 -0
  341. package/resources/messaging/conversations/participants/actions.js +35 -0
  342. package/resources/messaging/conversations/participants/actions.js.map +1 -0
  343. package/resources/messaging/conversations/participants/actions.mjs +31 -0
  344. package/resources/messaging/conversations/participants/actions.mjs.map +1 -0
  345. package/resources/messaging/conversations/participants/index.d.mts +3 -0
  346. package/resources/messaging/conversations/participants/index.d.mts.map +1 -0
  347. package/resources/messaging/conversations/participants/index.d.ts +3 -0
  348. package/resources/messaging/conversations/participants/index.d.ts.map +1 -0
  349. package/resources/messaging/conversations/participants/index.js +9 -0
  350. package/resources/messaging/conversations/participants/index.js.map +1 -0
  351. package/resources/messaging/conversations/participants/index.mjs +4 -0
  352. package/resources/messaging/conversations/participants/index.mjs.map +1 -0
  353. package/resources/messaging/conversations/participants/participants.d.mts +100 -0
  354. package/resources/messaging/conversations/participants/participants.d.mts.map +1 -0
  355. package/resources/messaging/conversations/participants/participants.d.ts +100 -0
  356. package/resources/messaging/conversations/participants/participants.d.ts.map +1 -0
  357. package/resources/messaging/conversations/participants/participants.js +64 -0
  358. package/resources/messaging/conversations/participants/participants.js.map +1 -0
  359. package/resources/messaging/conversations/participants/participants.mjs +59 -0
  360. package/resources/messaging/conversations/participants/participants.mjs.map +1 -0
  361. package/resources/messaging/conversations/participants.d.mts +2 -0
  362. package/resources/messaging/conversations/participants.d.mts.map +1 -0
  363. package/resources/messaging/conversations/participants.d.ts +2 -0
  364. package/resources/messaging/conversations/participants.d.ts.map +1 -0
  365. package/resources/messaging/conversations/participants.js +6 -0
  366. package/resources/messaging/conversations/participants.js.map +1 -0
  367. package/resources/messaging/conversations/participants.mjs +3 -0
  368. package/resources/messaging/conversations/participants.mjs.map +1 -0
  369. package/resources/messaging/conversations.d.mts +2 -0
  370. package/resources/messaging/conversations.d.mts.map +1 -0
  371. package/resources/messaging/conversations.d.ts +2 -0
  372. package/resources/messaging/conversations.d.ts.map +1 -0
  373. package/resources/messaging/conversations.js +6 -0
  374. package/resources/messaging/conversations.js.map +1 -0
  375. package/resources/messaging/conversations.mjs +3 -0
  376. package/resources/messaging/conversations.mjs.map +1 -0
  377. package/resources/messaging/email-domains/actions.d.mts +27 -0
  378. package/resources/messaging/email-domains/actions.d.mts.map +1 -0
  379. package/resources/messaging/email-domains/actions.d.ts +27 -0
  380. package/resources/messaging/email-domains/actions.d.ts.map +1 -0
  381. package/resources/messaging/email-domains/actions.js +32 -0
  382. package/resources/messaging/email-domains/actions.js.map +1 -0
  383. package/resources/messaging/email-domains/actions.mjs +28 -0
  384. package/resources/messaging/email-domains/actions.mjs.map +1 -0
  385. package/resources/messaging/email-domains/email-domains.d.mts +136 -0
  386. package/resources/messaging/email-domains/email-domains.d.mts.map +1 -0
  387. package/resources/messaging/email-domains/email-domains.d.ts +136 -0
  388. package/resources/messaging/email-domains/email-domains.d.ts.map +1 -0
  389. package/resources/messaging/email-domains/email-domains.js +70 -0
  390. package/resources/messaging/email-domains/email-domains.js.map +1 -0
  391. package/resources/messaging/email-domains/email-domains.mjs +65 -0
  392. package/resources/messaging/email-domains/email-domains.mjs.map +1 -0
  393. package/resources/messaging/email-domains/index.d.mts +3 -0
  394. package/resources/messaging/email-domains/index.d.mts.map +1 -0
  395. package/resources/messaging/email-domains/index.d.ts +3 -0
  396. package/resources/messaging/email-domains/index.d.ts.map +1 -0
  397. package/resources/messaging/email-domains/index.js +9 -0
  398. package/resources/messaging/email-domains/index.js.map +1 -0
  399. package/resources/messaging/email-domains/index.mjs +4 -0
  400. package/resources/messaging/email-domains/index.mjs.map +1 -0
  401. package/resources/messaging/email-domains.d.mts +2 -0
  402. package/resources/messaging/email-domains.d.mts.map +1 -0
  403. package/resources/messaging/email-domains.d.ts +2 -0
  404. package/resources/messaging/email-domains.d.ts.map +1 -0
  405. package/resources/messaging/email-domains.js +6 -0
  406. package/resources/messaging/email-domains.js.map +1 -0
  407. package/resources/messaging/email-domains.mjs +3 -0
  408. package/resources/messaging/email-domains.mjs.map +1 -0
  409. package/resources/messaging/email-inboxes.d.mts +375 -0
  410. package/resources/messaging/email-inboxes.d.mts.map +1 -0
  411. package/resources/messaging/email-inboxes.d.ts +375 -0
  412. package/resources/messaging/email-inboxes.d.ts.map +1 -0
  413. package/resources/messaging/email-inboxes.js +111 -0
  414. package/resources/messaging/email-inboxes.js.map +1 -0
  415. package/resources/messaging/email-inboxes.mjs +107 -0
  416. package/resources/messaging/email-inboxes.mjs.map +1 -0
  417. package/resources/messaging/groups/groups.d.mts +162 -0
  418. package/resources/messaging/groups/groups.d.mts.map +1 -0
  419. package/resources/messaging/groups/groups.d.ts +162 -0
  420. package/resources/messaging/groups/groups.d.ts.map +1 -0
  421. package/resources/messaging/groups/groups.js +110 -0
  422. package/resources/messaging/groups/groups.js.map +1 -0
  423. package/resources/messaging/groups/groups.mjs +105 -0
  424. package/resources/messaging/groups/groups.mjs.map +1 -0
  425. package/resources/messaging/groups/index.d.mts +3 -0
  426. package/resources/messaging/groups/index.d.mts.map +1 -0
  427. package/resources/messaging/groups/index.d.ts +3 -0
  428. package/resources/messaging/groups/index.d.ts.map +1 -0
  429. package/resources/messaging/groups/index.js +9 -0
  430. package/resources/messaging/groups/index.js.map +1 -0
  431. package/resources/messaging/groups/index.mjs +4 -0
  432. package/resources/messaging/groups/index.mjs.map +1 -0
  433. package/resources/messaging/groups/members.d.mts +84 -0
  434. package/resources/messaging/groups/members.d.mts.map +1 -0
  435. package/resources/messaging/groups/members.d.ts +84 -0
  436. package/resources/messaging/groups/members.d.ts.map +1 -0
  437. package/resources/messaging/groups/members.js +52 -0
  438. package/resources/messaging/groups/members.js.map +1 -0
  439. package/resources/messaging/groups/members.mjs +48 -0
  440. package/resources/messaging/groups/members.mjs.map +1 -0
  441. package/resources/messaging/groups.d.mts +2 -0
  442. package/resources/messaging/groups.d.mts.map +1 -0
  443. package/resources/messaging/groups.d.ts +2 -0
  444. package/resources/messaging/groups.d.ts.map +1 -0
  445. package/resources/messaging/groups.js +6 -0
  446. package/resources/messaging/groups.js.map +1 -0
  447. package/resources/messaging/groups.mjs +3 -0
  448. package/resources/messaging/groups.mjs.map +1 -0
  449. package/resources/messaging/index.d.mts +11 -0
  450. package/resources/messaging/index.d.mts.map +1 -0
  451. package/resources/messaging/index.d.ts +11 -0
  452. package/resources/messaging/index.d.ts.map +1 -0
  453. package/resources/messaging/index.js +25 -0
  454. package/resources/messaging/index.js.map +1 -0
  455. package/resources/messaging/index.mjs +12 -0
  456. package/resources/messaging/index.mjs.map +1 -0
  457. package/resources/messaging/messages/actions.d.mts +95 -0
  458. package/resources/messaging/messages/actions.d.mts.map +1 -0
  459. package/resources/messaging/messages/actions.d.ts +95 -0
  460. package/resources/messaging/messages/actions.d.ts.map +1 -0
  461. package/resources/messaging/messages/actions.js +79 -0
  462. package/resources/messaging/messages/actions.js.map +1 -0
  463. package/resources/messaging/messages/actions.mjs +75 -0
  464. package/resources/messaging/messages/actions.mjs.map +1 -0
  465. package/resources/messaging/messages/index.d.mts +3 -0
  466. package/resources/messaging/messages/index.d.mts.map +1 -0
  467. package/resources/messaging/messages/index.d.ts +3 -0
  468. package/resources/messaging/messages/index.d.ts.map +1 -0
  469. package/resources/messaging/messages/index.js +9 -0
  470. package/resources/messaging/messages/index.js.map +1 -0
  471. package/resources/messaging/messages/index.mjs +4 -0
  472. package/resources/messaging/messages/index.mjs.map +1 -0
  473. package/resources/messaging/messages/messages.d.mts +62 -0
  474. package/resources/messaging/messages/messages.d.mts.map +1 -0
  475. package/resources/messaging/messages/messages.d.ts +62 -0
  476. package/resources/messaging/messages/messages.d.ts.map +1 -0
  477. package/resources/messaging/messages/messages.js +41 -0
  478. package/resources/messaging/messages/messages.js.map +1 -0
  479. package/resources/messaging/messages/messages.mjs +36 -0
  480. package/resources/messaging/messages/messages.mjs.map +1 -0
  481. package/resources/messaging/messages.d.mts +2 -0
  482. package/resources/messaging/messages.d.mts.map +1 -0
  483. package/resources/messaging/messages.d.ts +2 -0
  484. package/resources/messaging/messages.d.ts.map +1 -0
  485. package/resources/messaging/messages.js +6 -0
  486. package/resources/messaging/messages.js.map +1 -0
  487. package/resources/messaging/messages.mjs +3 -0
  488. package/resources/messaging/messages.mjs.map +1 -0
  489. package/resources/messaging/messaging.d.mts +103 -0
  490. package/resources/messaging/messaging.d.mts.map +1 -0
  491. package/resources/messaging/messaging.d.ts +103 -0
  492. package/resources/messaging/messaging.d.ts.map +1 -0
  493. package/resources/messaging/messaging.js +65 -0
  494. package/resources/messaging/messaging.js.map +1 -0
  495. package/resources/messaging/messaging.mjs +60 -0
  496. package/resources/messaging/messaging.mjs.map +1 -0
  497. package/resources/messaging/notifications/actions.d.mts +92 -0
  498. package/resources/messaging/notifications/actions.d.mts.map +1 -0
  499. package/resources/messaging/notifications/actions.d.ts +92 -0
  500. package/resources/messaging/notifications/actions.d.ts.map +1 -0
  501. package/resources/messaging/notifications/actions.js +89 -0
  502. package/resources/messaging/notifications/actions.js.map +1 -0
  503. package/resources/messaging/notifications/actions.mjs +85 -0
  504. package/resources/messaging/notifications/actions.mjs.map +1 -0
  505. package/resources/messaging/notifications/index.d.mts +3 -0
  506. package/resources/messaging/notifications/index.d.mts.map +1 -0
  507. package/resources/messaging/notifications/index.d.ts +3 -0
  508. package/resources/messaging/notifications/index.d.ts.map +1 -0
  509. package/resources/messaging/notifications/index.js +9 -0
  510. package/resources/messaging/notifications/index.js.map +1 -0
  511. package/resources/messaging/notifications/index.mjs +4 -0
  512. package/resources/messaging/notifications/index.mjs.map +1 -0
  513. package/resources/messaging/notifications/notifications.d.mts +444 -0
  514. package/resources/messaging/notifications/notifications.d.mts.map +1 -0
  515. package/resources/messaging/notifications/notifications.d.ts +444 -0
  516. package/resources/messaging/notifications/notifications.d.ts.map +1 -0
  517. package/resources/messaging/notifications/notifications.js +108 -0
  518. package/resources/messaging/notifications/notifications.js.map +1 -0
  519. package/resources/messaging/notifications/notifications.mjs +103 -0
  520. package/resources/messaging/notifications/notifications.mjs.map +1 -0
  521. package/resources/messaging/notifications.d.mts +2 -0
  522. package/resources/messaging/notifications.d.mts.map +1 -0
  523. package/resources/messaging/notifications.d.ts +2 -0
  524. package/resources/messaging/notifications.d.ts.map +1 -0
  525. package/resources/messaging/notifications.js +6 -0
  526. package/resources/messaging/notifications.js.map +1 -0
  527. package/resources/messaging/notifications.mjs +3 -0
  528. package/resources/messaging/notifications.mjs.map +1 -0
  529. package/resources/messaging/preferences.d.mts +180 -0
  530. package/resources/messaging/preferences.d.mts.map +1 -0
  531. package/resources/messaging/preferences.d.ts +180 -0
  532. package/resources/messaging/preferences.d.ts.map +1 -0
  533. package/resources/messaging/preferences.js +47 -0
  534. package/resources/messaging/preferences.js.map +1 -0
  535. package/resources/messaging/preferences.mjs +43 -0
  536. package/resources/messaging/preferences.mjs.map +1 -0
  537. package/resources/messaging.d.mts +2 -0
  538. package/resources/messaging.d.mts.map +1 -0
  539. package/resources/messaging.d.ts +2 -0
  540. package/resources/messaging.d.ts.map +1 -0
  541. package/resources/messaging.js +6 -0
  542. package/resources/messaging.js.map +1 -0
  543. package/resources/messaging.mjs +3 -0
  544. package/resources/messaging.mjs.map +1 -0
  545. package/resources/operations/carriers/carriers.d.mts +20 -7
  546. package/resources/operations/carriers/carriers.d.mts.map +1 -1
  547. package/resources/operations/carriers/carriers.d.ts +20 -7
  548. package/resources/operations/carriers/carriers.d.ts.map +1 -1
  549. package/resources/operations/carriers/carriers.js +16 -1
  550. package/resources/operations/carriers/carriers.js.map +1 -1
  551. package/resources/operations/carriers/carriers.mjs +16 -1
  552. package/resources/operations/carriers/carriers.mjs.map +1 -1
  553. package/resources/operations/carriers/service-levels.d.mts +15 -0
  554. package/resources/operations/carriers/service-levels.d.mts.map +1 -1
  555. package/resources/operations/carriers/service-levels.d.ts +15 -0
  556. package/resources/operations/carriers/service-levels.d.ts.map +1 -1
  557. package/resources/operations/carriers/service-levels.js +15 -0
  558. package/resources/operations/carriers/service-levels.js.map +1 -1
  559. package/resources/operations/carriers/service-levels.mjs +15 -0
  560. package/resources/operations/carriers/service-levels.mjs.map +1 -1
  561. package/resources/operations/location-types.d.mts +6 -2
  562. package/resources/operations/location-types.d.mts.map +1 -1
  563. package/resources/operations/location-types.d.ts +6 -2
  564. package/resources/operations/location-types.d.ts.map +1 -1
  565. package/resources/operations/location-types.js +4 -0
  566. package/resources/operations/location-types.js.map +1 -1
  567. package/resources/operations/location-types.mjs +4 -0
  568. package/resources/operations/location-types.mjs.map +1 -1
  569. package/resources/operations/locations.d.mts +27 -10
  570. package/resources/operations/locations.d.mts.map +1 -1
  571. package/resources/operations/locations.d.ts +27 -10
  572. package/resources/operations/locations.d.ts.map +1 -1
  573. package/resources/operations/locations.js +18 -1
  574. package/resources/operations/locations.js.map +1 -1
  575. package/resources/operations/locations.mjs +18 -1
  576. package/resources/operations/locations.mjs.map +1 -1
  577. package/resources/operations/scanning-stations.d.mts +23 -6
  578. package/resources/operations/scanning-stations.d.mts.map +1 -1
  579. package/resources/operations/scanning-stations.d.ts +23 -6
  580. package/resources/operations/scanning-stations.d.ts.map +1 -1
  581. package/resources/operations/scanning-stations.js +18 -1
  582. package/resources/operations/scanning-stations.js.map +1 -1
  583. package/resources/operations/scanning-stations.mjs +18 -1
  584. package/resources/operations/scanning-stations.mjs.map +1 -1
  585. package/resources/operations/shipping-terms.d.mts +37 -2
  586. package/resources/operations/shipping-terms.d.mts.map +1 -1
  587. package/resources/operations/shipping-terms.d.ts +37 -2
  588. package/resources/operations/shipping-terms.d.ts.map +1 -1
  589. package/resources/operations/shipping-terms.js +37 -2
  590. package/resources/operations/shipping-terms.js.map +1 -1
  591. package/resources/operations/shipping-terms.mjs +37 -2
  592. package/resources/operations/shipping-terms.mjs.map +1 -1
  593. package/resources/sales/account-groups.d.mts +21 -1
  594. package/resources/sales/account-groups.d.mts.map +1 -1
  595. package/resources/sales/account-groups.d.ts +21 -1
  596. package/resources/sales/account-groups.d.ts.map +1 -1
  597. package/resources/sales/account-groups.js +21 -1
  598. package/resources/sales/account-groups.js.map +1 -1
  599. package/resources/sales/account-groups.mjs +21 -1
  600. package/resources/sales/account-groups.mjs.map +1 -1
  601. package/resources/sales/account-statuses.d.mts +1 -1
  602. package/resources/sales/account-statuses.d.ts +1 -1
  603. package/resources/sales/addresses.d.mts +36 -6
  604. package/resources/sales/addresses.d.mts.map +1 -1
  605. package/resources/sales/addresses.d.ts +36 -6
  606. package/resources/sales/addresses.d.ts.map +1 -1
  607. package/resources/sales/addresses.js +31 -1
  608. package/resources/sales/addresses.js.map +1 -1
  609. package/resources/sales/addresses.mjs +31 -1
  610. package/resources/sales/addresses.mjs.map +1 -1
  611. package/resources/sales/contacts/actions.d.mts +120 -0
  612. package/resources/sales/contacts/actions.d.mts.map +1 -0
  613. package/resources/sales/contacts/actions.d.ts +120 -0
  614. package/resources/sales/contacts/actions.d.ts.map +1 -0
  615. package/resources/sales/contacts/actions.js +38 -0
  616. package/resources/sales/contacts/actions.js.map +1 -0
  617. package/resources/sales/contacts/actions.mjs +34 -0
  618. package/resources/sales/contacts/actions.mjs.map +1 -0
  619. package/resources/sales/contacts/contacts.d.mts +10 -0
  620. package/resources/sales/contacts/contacts.d.mts.map +1 -0
  621. package/resources/sales/contacts/contacts.d.ts +10 -0
  622. package/resources/sales/contacts/contacts.d.ts.map +1 -0
  623. package/resources/sales/contacts/contacts.js +17 -0
  624. package/resources/sales/contacts/contacts.js.map +1 -0
  625. package/resources/sales/contacts/contacts.mjs +12 -0
  626. package/resources/sales/contacts/contacts.mjs.map +1 -0
  627. package/resources/sales/contacts/index.d.mts +3 -0
  628. package/resources/sales/contacts/index.d.mts.map +1 -0
  629. package/resources/sales/contacts/index.d.ts +3 -0
  630. package/resources/sales/contacts/index.d.ts.map +1 -0
  631. package/resources/sales/contacts/index.js +9 -0
  632. package/resources/sales/contacts/index.js.map +1 -0
  633. package/resources/sales/contacts/index.mjs +4 -0
  634. package/resources/sales/contacts/index.mjs.map +1 -0
  635. package/resources/sales/contacts.d.mts +2 -0
  636. package/resources/sales/contacts.d.mts.map +1 -0
  637. package/resources/sales/contacts.d.ts +2 -0
  638. package/resources/sales/contacts.d.ts.map +1 -0
  639. package/resources/sales/contacts.js +6 -0
  640. package/resources/sales/contacts.js.map +1 -0
  641. package/resources/sales/contacts.mjs +3 -0
  642. package/resources/sales/contacts.mjs.map +1 -0
  643. package/resources/sales/customers/actions.d.mts +3 -1
  644. package/resources/sales/customers/actions.d.mts.map +1 -1
  645. package/resources/sales/customers/actions.d.ts +3 -1
  646. package/resources/sales/customers/actions.d.ts.map +1 -1
  647. package/resources/sales/customers/actions.js +2 -0
  648. package/resources/sales/customers/actions.js.map +1 -1
  649. package/resources/sales/customers/actions.mjs +2 -0
  650. package/resources/sales/customers/actions.mjs.map +1 -1
  651. package/resources/sales/customers/customers.d.mts +59 -566
  652. package/resources/sales/customers/customers.d.mts.map +1 -1
  653. package/resources/sales/customers/customers.d.ts +59 -566
  654. package/resources/sales/customers/customers.d.ts.map +1 -1
  655. package/resources/sales/customers/customers.js +52 -13
  656. package/resources/sales/customers/customers.js.map +1 -1
  657. package/resources/sales/customers/customers.mjs +52 -13
  658. package/resources/sales/customers/customers.mjs.map +1 -1
  659. package/resources/sales/customers/index.d.mts +1 -1
  660. package/resources/sales/customers/index.d.mts.map +1 -1
  661. package/resources/sales/customers/index.d.ts +1 -1
  662. package/resources/sales/customers/index.d.ts.map +1 -1
  663. package/resources/sales/customers/index.js.map +1 -1
  664. package/resources/sales/customers/index.mjs.map +1 -1
  665. package/resources/sales/index.d.mts +2 -1
  666. package/resources/sales/index.d.mts.map +1 -1
  667. package/resources/sales/index.d.ts +2 -1
  668. package/resources/sales/index.d.ts.map +1 -1
  669. package/resources/sales/index.js +5 -3
  670. package/resources/sales/index.js.map +1 -1
  671. package/resources/sales/index.mjs +1 -0
  672. package/resources/sales/index.mjs.map +1 -1
  673. package/resources/sales/priorities.d.mts +5 -1
  674. package/resources/sales/priorities.d.mts.map +1 -1
  675. package/resources/sales/priorities.d.ts +5 -1
  676. package/resources/sales/priorities.d.ts.map +1 -1
  677. package/resources/sales/priorities.js +4 -0
  678. package/resources/sales/priorities.js.map +1 -1
  679. package/resources/sales/priorities.mjs +4 -0
  680. package/resources/sales/priorities.mjs.map +1 -1
  681. package/resources/sales/sales-orders.d.mts +58 -46
  682. package/resources/sales/sales-orders.d.mts.map +1 -1
  683. package/resources/sales/sales-orders.d.ts +58 -46
  684. package/resources/sales/sales-orders.d.ts.map +1 -1
  685. package/resources/sales/sales-orders.js +18 -4
  686. package/resources/sales/sales-orders.js.map +1 -1
  687. package/resources/sales/sales-orders.mjs +18 -4
  688. package/resources/sales/sales-orders.mjs.map +1 -1
  689. package/resources/sales/sales.d.mts +6 -2
  690. package/resources/sales/sales.d.mts.map +1 -1
  691. package/resources/sales/sales.d.ts +6 -2
  692. package/resources/sales/sales.d.ts.map +1 -1
  693. package/resources/sales/sales.js +4 -0
  694. package/resources/sales/sales.js.map +1 -1
  695. package/resources/sales/sales.mjs +4 -0
  696. package/resources/sales/sales.mjs.map +1 -1
  697. package/resources/settings/integrations.d.mts +12 -1
  698. package/resources/settings/integrations.d.mts.map +1 -1
  699. package/resources/settings/integrations.d.ts +12 -1
  700. package/resources/settings/integrations.d.ts.map +1 -1
  701. package/resources/settings/integrations.js +12 -1
  702. package/resources/settings/integrations.js.map +1 -1
  703. package/resources/settings/integrations.mjs +12 -1
  704. package/resources/settings/integrations.mjs.map +1 -1
  705. package/src/client.ts +22 -2
  706. package/src/resources/auth/api-keys/actions.ts +2 -0
  707. package/src/resources/auth/api-keys/api-keys.ts +12 -3
  708. package/src/resources/catalog/item-categories/item-categories.ts +17 -1
  709. package/src/resources/catalog/item-categories/properties.ts +4 -0
  710. package/src/resources/catalog/items/attributes.ts +4 -0
  711. package/src/resources/catalog/items/items.ts +8 -0
  712. package/src/resources/catalog/materials.ts +66 -10
  713. package/src/resources/catalog/parts.ts +30 -0
  714. package/src/resources/catalog/product-lines.ts +18 -1
  715. package/src/resources/catalog/products.ts +52 -9
  716. package/src/resources/catalog/properties/attributes.ts +12 -0
  717. package/src/resources/catalog/properties/properties.ts +10 -0
  718. package/src/resources/catalog/unit-groups/unit-groups.ts +29 -7
  719. package/src/resources/catalog/unit-groups/units.ts +12 -0
  720. package/src/resources/catalog/units.ts +56 -26
  721. package/src/resources/core/addresses/actions.ts +1 -0
  722. package/src/resources/core/audit-events.ts +114 -11
  723. package/src/resources/core/core.ts +602 -0
  724. package/src/resources/core/email-logs.ts +6 -1
  725. package/src/resources/core/index.ts +1 -1
  726. package/src/resources/core/request-logs.ts +22 -7
  727. package/src/resources/core/sandboxes.ts +11 -3
  728. package/src/resources/finance/payment-terms.ts +10 -0
  729. package/src/resources/identity/account-users/account-users.ts +26 -5
  730. package/src/resources/identity/account-users/actions.ts +9 -0
  731. package/src/resources/identity/roles.ts +34 -18
  732. package/src/resources/index.ts +2 -1
  733. package/src/resources/messaging/announcements/actions.ts +119 -0
  734. package/src/resources/messaging/announcements/announcements.ts +234 -0
  735. package/src/resources/messaging/announcements/index.ts +10 -0
  736. package/src/resources/messaging/announcements.ts +3 -0
  737. package/src/resources/messaging/blocks.ts +826 -0
  738. package/src/resources/messaging/conversations/actions.ts +766 -0
  739. package/src/resources/messaging/conversations/attachments/actions.ts +116 -0
  740. package/src/resources/messaging/conversations/attachments/attachments.ts +25 -0
  741. package/src/resources/messaging/conversations/attachments/index.ts +9 -0
  742. package/src/resources/messaging/conversations/attachments.ts +3 -0
  743. package/src/resources/messaging/conversations/conversations.ts +2500 -0
  744. package/src/resources/messaging/conversations/index.ts +81 -0
  745. package/src/resources/messaging/conversations/links.ts +692 -0
  746. package/src/resources/messaging/conversations/messages.ts +929 -0
  747. package/src/resources/messaging/conversations/participants/actions.ts +92 -0
  748. package/src/resources/messaging/conversations/participants/index.ts +10 -0
  749. package/src/resources/messaging/conversations/participants/participants.ts +150 -0
  750. package/src/resources/messaging/conversations/participants.ts +3 -0
  751. package/src/resources/messaging/conversations.ts +3 -0
  752. package/src/resources/messaging/email-domains/actions.ts +32 -0
  753. package/src/resources/messaging/email-domains/email-domains.ts +170 -0
  754. package/src/resources/messaging/email-domains/index.ts +10 -0
  755. package/src/resources/messaging/email-domains.ts +3 -0
  756. package/src/resources/messaging/email-inboxes.ts +462 -0
  757. package/src/resources/messaging/groups/groups.ts +211 -0
  758. package/src/resources/messaging/groups/index.ts +17 -0
  759. package/src/resources/messaging/groups/members.ts +113 -0
  760. package/src/resources/messaging/groups.ts +3 -0
  761. package/src/resources/messaging/index.ts +116 -0
  762. package/src/resources/messaging/messages/actions.ts +184 -0
  763. package/src/resources/messaging/messages/index.ts +10 -0
  764. package/src/resources/messaging/messages/messages.ts +108 -0
  765. package/src/resources/messaging/messages.ts +3 -0
  766. package/src/resources/messaging/messaging.ts +353 -0
  767. package/src/resources/messaging/notifications/actions.ts +139 -0
  768. package/src/resources/messaging/notifications/index.ts +24 -0
  769. package/src/resources/messaging/notifications/notifications.ts +1057 -0
  770. package/src/resources/messaging/notifications.ts +3 -0
  771. package/src/resources/messaging/preferences.ts +215 -0
  772. package/src/resources/messaging.ts +3 -0
  773. package/src/resources/operations/carriers/carriers.ts +20 -7
  774. package/src/resources/operations/carriers/service-levels.ts +15 -0
  775. package/src/resources/operations/location-types.ts +6 -2
  776. package/src/resources/operations/locations.ts +27 -10
  777. package/src/resources/operations/scanning-stations.ts +23 -6
  778. package/src/resources/operations/shipping-terms.ts +37 -2
  779. package/src/resources/sales/account-groups.ts +21 -1
  780. package/src/resources/sales/account-statuses.ts +1 -1
  781. package/src/resources/sales/addresses.ts +36 -6
  782. package/src/resources/sales/contacts/actions.ts +150 -0
  783. package/src/resources/sales/contacts/contacts.ts +27 -0
  784. package/src/resources/sales/contacts/index.ts +10 -0
  785. package/src/resources/sales/contacts.ts +3 -0
  786. package/src/resources/sales/customers/actions.ts +4 -0
  787. package/src/resources/sales/customers/customers.ts +62 -679
  788. package/src/resources/sales/customers/index.ts +0 -15
  789. package/src/resources/sales/index.ts +1 -15
  790. package/src/resources/sales/priorities.ts +5 -1
  791. package/src/resources/sales/sales-orders.ts +58 -48
  792. package/src/resources/sales/sales.ts +6 -30
  793. package/src/resources/settings/integrations.ts +12 -1
  794. package/src/version.ts +1 -1
  795. package/version.d.mts +1 -1
  796. package/version.d.ts +1 -1
  797. package/version.js +1 -1
  798. package/version.mjs +1 -1
@@ -0,0 +1,1057 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../../core/resource';
4
+ import * as CoreAPI from '../../core/core';
5
+ import * as RequestLogsAPI from '../../core/request-logs';
6
+ import * as APIKeysAPI from '../../auth/api-keys/api-keys';
7
+ import * as ActionsAPI from './actions';
8
+ import {
9
+ ActionDismissParams,
10
+ ActionMarkAllSeenResponse,
11
+ ActionReadParams,
12
+ ActionSeenParams,
13
+ Actions,
14
+ } from './actions';
15
+ import { APIPromise } from '../../../core/api-promise';
16
+ import { RequestOptions } from '../../../internal/request-options';
17
+ import { path } from '../../../internal/utils/path';
18
+
19
+ /**
20
+ * List, read, and manage in-app notifications.
21
+ */
22
+ export class Notifications extends APIResource {
23
+ actions: ActionsAPI.Actions = new ActionsAPI.Actions(this._client);
24
+
25
+ /**
26
+ * Sends an in-app notification to a single user or broadcasts it to every user in
27
+ * an account.
28
+ *
29
+ * Delivery is asynchronous: the notification is fanned out to its recipients and
30
+ * pushed to connected clients in real time.
31
+ *
32
+ * This endpoint requires the permission: `alerts:create`.
33
+ *
34
+ * @example
35
+ * ```ts
36
+ * const notificationSendResult =
37
+ * await client.messaging.notifications.create({
38
+ * category: 'order.updated',
39
+ * target: {
40
+ * type: 'account_user',
41
+ * id: 'acus_01ea9983ddb41dacc44ecf997c',
42
+ * },
43
+ * title: 'Order updated',
44
+ * body: 'Order #1042 was updated.',
45
+ * link_resource_id: 'or_01d5034136c3ccc048abecc312',
46
+ * link_resource_type: 'sales_order',
47
+ * priority: 'high',
48
+ * });
49
+ * ```
50
+ */
51
+ create(body: NotificationCreateParams, options?: RequestOptions): APIPromise<NotificationSendResult> {
52
+ return this._client.post('/v1/messaging/notifications', { body, ...options });
53
+ }
54
+
55
+ /**
56
+ * Returns the current user's notifications, most recent first.
57
+ *
58
+ * This endpoint requires the permission: `messaging:read`.
59
+ *
60
+ * @example
61
+ * ```ts
62
+ * const listNotification =
63
+ * await client.messaging.notifications.list();
64
+ * ```
65
+ */
66
+ list(
67
+ query: NotificationListParams | null | undefined = {},
68
+ options?: RequestOptions,
69
+ ): APIPromise<ListNotification> {
70
+ return this._client.get('/v1/messaging/notifications', { query, ...options });
71
+ }
72
+
73
+ /**
74
+ * Returns one of the caller's notifications by ID.
75
+ *
76
+ * This endpoint requires the permission: `messaging:read`.
77
+ *
78
+ * @example
79
+ * ```ts
80
+ * const notification =
81
+ * await client.messaging.notifications.retrieve(
82
+ * 'nf_01h9z8q1w2e3r4t5y6u7i8o9',
83
+ * );
84
+ * ```
85
+ */
86
+ retrieve(
87
+ id: string,
88
+ query: NotificationRetrieveParams | null | undefined = {},
89
+ options?: RequestOptions,
90
+ ): APIPromise<Notification> {
91
+ return this._client.get(path`/v1/messaging/notifications/${id}`, { query, ...options });
92
+ }
93
+
94
+ /**
95
+ * Returns the current user's unread notification counts.
96
+ *
97
+ * This endpoint requires the permission: `messaging:read`.
98
+ *
99
+ * @example
100
+ * ```ts
101
+ * const notificationUnreadCount =
102
+ * await client.messaging.notifications.retrieveUnreadCount();
103
+ * ```
104
+ */
105
+ retrieveUnreadCount(options?: RequestOptions): APIPromise<NotificationUnreadCount> {
106
+ return this._client.get('/v1/messaging/notifications/unread-count', options);
107
+ }
108
+
109
+ /**
110
+ * Returns the caller's unread totals across every account they belong to.
111
+ *
112
+ * This endpoint requires the permission: `messaging:read`.
113
+ *
114
+ * @example
115
+ * ```ts
116
+ * const notificationUnreadSummary =
117
+ * await client.messaging.notifications.retrieveUnreadSummary();
118
+ * ```
119
+ */
120
+ retrieveUnreadSummary(options?: RequestOptions): APIPromise<NotificationUnreadSummary> {
121
+ return this._client.get('/v1/messaging/notifications/unread-summary', options);
122
+ }
123
+ }
124
+
125
+ /**
126
+ * List represents a paginated list of resources.
127
+ */
128
+ export interface ListNotification {
129
+ /**
130
+ * Resources in this page.
131
+ */
132
+ data: Array<Notification>;
133
+
134
+ /**
135
+ * Resource type identifier.
136
+ */
137
+ object: 'list';
138
+
139
+ /**
140
+ * PageInfo contains URL-based pagination metadata.
141
+ */
142
+ page_info: APIKeysAPI.PageInfo;
143
+ }
144
+
145
+ /**
146
+ * List represents a paginated list of resources.
147
+ */
148
+ export interface ListNotificationUnreadSummaryAccount {
149
+ /**
150
+ * Resources in this page.
151
+ */
152
+ data: Array<NotificationUnreadSummaryAccount>;
153
+
154
+ /**
155
+ * Resource type identifier.
156
+ */
157
+ object: 'list';
158
+
159
+ /**
160
+ * PageInfo contains URL-based pagination metadata.
161
+ */
162
+ page_info: APIKeysAPI.PageInfo;
163
+ }
164
+
165
+ /**
166
+ * An in-app notification in the user's bell feed.
167
+ */
168
+ export interface Notification {
169
+ /**
170
+ * Notification ID.
171
+ */
172
+ id: string;
173
+
174
+ /**
175
+ * Preview/body text.
176
+ */
177
+ body: string | null;
178
+
179
+ /**
180
+ * The kind of event this notification represents.
181
+ *
182
+ * The set is open-ended and may grow over time. Common first-party categories are:
183
+ *
184
+ * - `chat.message`: a new message in a conversation.
185
+ * - `chat.mention`: a direct @mention, delivered even when the conversation is
186
+ * muted.
187
+ * - `chat.added`: the user was added to a conversation.
188
+ * - `order.updated`: an order the user is involved with changed.
189
+ * - `agent.run_completed`: an agent run the user triggered finished.
190
+ * - `agent.alert`: an agent raised an alert during a run.
191
+ * - `system.broadcast`: a targeted system message.
192
+ */
193
+ category:
194
+ | 'chat.message'
195
+ | 'chat.mention'
196
+ | 'chat.added'
197
+ | 'order.updated'
198
+ | 'agent.run_completed'
199
+ | 'agent.alert'
200
+ | 'system.broadcast';
201
+
202
+ /**
203
+ * Creation timestamp.
204
+ */
205
+ created_at: string;
206
+
207
+ /**
208
+ * When the notification was dismissed.
209
+ */
210
+ dismissed_at: string | null;
211
+
212
+ /**
213
+ * Resource type identifier.
214
+ */
215
+ object: 'notification';
216
+
217
+ /**
218
+ * Delivery priority.
219
+ */
220
+ priority: 'low' | 'normal' | 'high' | 'urgent';
221
+
222
+ /**
223
+ * When the notification was explicitly opened.
224
+ */
225
+ read_at: string | null;
226
+
227
+ /**
228
+ * Entity is a polymorphic reference to any resource in the system.
229
+ */
230
+ resource: CoreAPI.Entity | null;
231
+
232
+ /**
233
+ * When the notification first appeared in the dropdown.
234
+ */
235
+ seen_at: string | null;
236
+
237
+ /**
238
+ * Reference to an actor — the user, API key, agent, or group identity associated
239
+ * with an action.
240
+ */
241
+ sender: RequestLogsAPI.Actor | null;
242
+
243
+ /**
244
+ * Where the notification is in its lifecycle.
245
+ *
246
+ * - `unseen`: not yet surfaced in the notification dropdown.
247
+ * - `seen`: surfaced in the dropdown but not yet opened.
248
+ * - `read`: explicitly opened by the user.
249
+ * - `dismissed`: removed from the active feed.
250
+ */
251
+ status: 'unseen' | 'seen' | 'read' | 'dismissed';
252
+
253
+ /**
254
+ * Human-readable title.
255
+ */
256
+ title: string;
257
+
258
+ /**
259
+ * Last update timestamp.
260
+ */
261
+ updated_at: string;
262
+ }
263
+
264
+ /**
265
+ * NotificationSendResult acknowledges a notification send/fan-out request.
266
+ */
267
+ export interface NotificationSendResult {
268
+ /**
269
+ * Number of recipients the notification was enqueued for.
270
+ */
271
+ enqueued: number;
272
+
273
+ /**
274
+ * Resource type identifier.
275
+ */
276
+ object: 'notification_send_result';
277
+ }
278
+
279
+ /**
280
+ * NotificationTargetInput selects what a notification send is aimed at.
281
+ *
282
+ * The target is a polymorphic reference carrying a `type` and the `id` it refers
283
+ * to. Modeling it this way, rather than a single id or a broadcast flag, lets new
284
+ * target kinds be added without a breaking change to the send API.
285
+ *
286
+ * Supported types:
287
+ *
288
+ * - `account_user`: `id` is an account_user id; delivers a per-user notification.
289
+ * - `account`: `id` is an account id; broadcasts an announcement to every user in
290
+ * the account.
291
+ */
292
+ export interface NotificationTargetInput {
293
+ /**
294
+ * The id of the target (an account_user id or an account id, matching `type`).
295
+ */
296
+ id: string;
297
+
298
+ /**
299
+ * The kind of target.
300
+ */
301
+ type: 'account_user' | 'account';
302
+ }
303
+
304
+ /**
305
+ * NotificationUnreadCount summarizes a user's unread tallies across surfaces.
306
+ */
307
+ export interface NotificationUnreadCount {
308
+ /**
309
+ * Number of conversations with unread messages (0 until chat ships).
310
+ */
311
+ conversations: number;
312
+
313
+ /**
314
+ * Number of unseen bell notifications.
315
+ */
316
+ notifications: number;
317
+
318
+ /**
319
+ * Resource type identifier.
320
+ */
321
+ object: 'notification_unread_count';
322
+
323
+ /**
324
+ * Combined unread total.
325
+ */
326
+ total: number;
327
+ }
328
+
329
+ /**
330
+ * NotificationUnreadSummary is the caller's unread totals across every account
331
+ * they belong to.
332
+ */
333
+ export interface NotificationUnreadSummary {
334
+ /**
335
+ * List represents a paginated list of resources.
336
+ */
337
+ accounts: ListNotificationUnreadSummaryAccount | null;
338
+
339
+ /**
340
+ * Resource type identifier.
341
+ */
342
+ object: 'notification_unread_summary';
343
+
344
+ /**
345
+ * Combined unread total across all of the caller's accounts.
346
+ */
347
+ total: number;
348
+ }
349
+
350
+ /**
351
+ * NotificationUnreadSummaryAccount is one account's unread tally in the
352
+ * cross-account summary.
353
+ */
354
+ export interface NotificationUnreadSummaryAccount {
355
+ /**
356
+ * Entity is a polymorphic reference to any resource in the system.
357
+ */
358
+ account: CoreAPI.Entity | null;
359
+
360
+ /**
361
+ * Resource type identifier.
362
+ */
363
+ object: 'notification_unread_summary_account';
364
+
365
+ /**
366
+ * Number of unread items (notifications + announcements) in this account.
367
+ */
368
+ unread: number;
369
+ }
370
+
371
+ /**
372
+ * Request to send an in-app notification.
373
+ *
374
+ * The target determines whether it is delivered to a single user or broadcast to
375
+ * every user in an account. This endpoint is internal/admin only.
376
+ */
377
+ export interface SendNotificationRequest {
378
+ /**
379
+ * Category of the notification.
380
+ */
381
+ category:
382
+ | 'chat.message'
383
+ | 'chat.mention'
384
+ | 'chat.added'
385
+ | 'order.updated'
386
+ | 'agent.run_completed'
387
+ | 'agent.alert'
388
+ | 'system.broadcast';
389
+
390
+ /**
391
+ * NotificationTargetInput selects what a notification send is aimed at.
392
+ *
393
+ * The target is a polymorphic reference carrying a `type` and the `id` it refers
394
+ * to. Modeling it this way, rather than a single id or a broadcast flag, lets new
395
+ * target kinds be added without a breaking change to the send API.
396
+ *
397
+ * Supported types:
398
+ *
399
+ * - `account_user`: `id` is an account_user id; delivers a per-user notification.
400
+ * - `account`: `id` is an account id; broadcasts an announcement to every user in
401
+ * the account.
402
+ */
403
+ target: NotificationTargetInput;
404
+
405
+ /**
406
+ * Human-readable title.
407
+ */
408
+ title: string;
409
+
410
+ /**
411
+ * Preview/body text.
412
+ */
413
+ body?: string;
414
+
415
+ /**
416
+ * ID of the resource this notification should link to.
417
+ */
418
+ link_resource_id?: string;
419
+
420
+ /**
421
+ * Object type of the resource this notification should link to.
422
+ *
423
+ * Set together with `link_resource_id` to point the notification at something the
424
+ * recipient can open.
425
+ */
426
+ link_resource_type?:
427
+ | 'account'
428
+ | 'actor'
429
+ | 'entity'
430
+ | 'record'
431
+ | 'freight'
432
+ | 'sales_order_totals'
433
+ | 'sales_order_related'
434
+ | 'order_contact'
435
+ | 'user'
436
+ | 'address'
437
+ | 'api_key'
438
+ | 'created_api_key'
439
+ | 'refresh_token'
440
+ | 'list'
441
+ | 'sandbox'
442
+ | 'registration_session'
443
+ | 'pricing_plan'
444
+ | 'account_plan'
445
+ | 'plan_change'
446
+ | 'enterprise_inquiry'
447
+ | 'request_log'
448
+ | 'audit_event'
449
+ | 'audit_field_change'
450
+ | 'role'
451
+ | 'unit'
452
+ | 'account_affiliation'
453
+ | 'agent_definition'
454
+ | 'available_tool'
455
+ | 'agent_definition_tool'
456
+ | 'agent_account_status'
457
+ | 'agent_run'
458
+ | 'agent_action'
459
+ | 'agent_run_step'
460
+ | 'agent_token_usage'
461
+ | 'agent_memory'
462
+ | 'notification'
463
+ | 'notification_unread_count'
464
+ | 'notification_send_result'
465
+ | 'notification_unread_summary'
466
+ | 'announcement'
467
+ | 'conversation'
468
+ | 'conversation_participant'
469
+ | 'read_cursor'
470
+ | 'chat_message'
471
+ | 'notification_unread_summary_account'
472
+ | 'messaging_block'
473
+ | 'notification_preference'
474
+ | 'message_attachment'
475
+ | 'attachment_upload_target'
476
+ | 'scheduled_message'
477
+ | 'messaging_contact'
478
+ | 'message_report'
479
+ | 'tool_group'
480
+ | 'model'
481
+ | 'payment_term'
482
+ | 'shipping_term'
483
+ | 'quantity'
484
+ | 'account_group'
485
+ | 'support_route'
486
+ | 'support_availability'
487
+ | 'account_status'
488
+ | 'geolocation'
489
+ | 'account_user'
490
+ | 'department'
491
+ | 'account_integration'
492
+ | 'account_price'
493
+ | 'product_line'
494
+ | 'item_category'
495
+ | 'attribute'
496
+ | 'rate'
497
+ | 'account_group_product_line_access'
498
+ | 'sales_target'
499
+ | 'adjustment_type'
500
+ | 'account_branding'
501
+ | 'account_portal'
502
+ | 'account_logo_url'
503
+ | 'public_account'
504
+ | 'property'
505
+ | 'carrier'
506
+ | 'service_level'
507
+ | 'item'
508
+ | 'item_inventory'
509
+ | 'product'
510
+ | 'batch'
511
+ | 'batch_flow_node'
512
+ | 'scanning_consumption'
513
+ | 'open_batch_summary'
514
+ | 'scanning_production_step_info'
515
+ | 'scanning_station'
516
+ | 'production_step'
517
+ | 'production_run'
518
+ | 'machine'
519
+ | 'child_account'
520
+ | 'unit_group'
521
+ | 'unit_group_unit'
522
+ | 'consumption'
523
+ | 'customer_product_line_access'
524
+ | 'customer'
525
+ | 'frequently_ordered_product'
526
+ | 'priority'
527
+ | 'delivery'
528
+ | 'delivery_line'
529
+ | 'sales_order'
530
+ | 'location'
531
+ | 'location_type'
532
+ | 'lot'
533
+ | 'email_log'
534
+ | 'email_domain'
535
+ | 'email_inbox'
536
+ | 'inventory_change_log'
537
+ | 'invoice'
538
+ | 'invoice_summary'
539
+ | 'invoice_line'
540
+ | 'invoice_allocation'
541
+ | 'invoice_for_payment'
542
+ | 'shipment'
543
+ | 'shipment_summary'
544
+ | 'shipment_line'
545
+ | 'shipping_case'
546
+ | 'shipping_case_label_url'
547
+ | 'settlement'
548
+ | 'settlement_summary'
549
+ | 'role_permission'
550
+ | 'registration_flow'
551
+ | 'registration_flow_option'
552
+ | 'transaction'
553
+ | 'transaction_summary'
554
+ | 'transaction_method'
555
+ | 'transaction_type'
556
+ | 'transaction_allocation'
557
+ | 'usage_item'
558
+ | 'account_usage_response'
559
+ | 'subscription_info'
560
+ | 'billing_portal_session_response'
561
+ | 'switch_plan_response'
562
+ | 'ensure_billing_customer_response'
563
+ | 'spending_cap_response'
564
+ | 'agent_spend_info'
565
+ | 'webhook_response'
566
+ | 'address_suggestion'
567
+ | 'address_components'
568
+ | 'address_details_result'
569
+ | 'validated_address'
570
+ | 'plan_limit'
571
+ | 'plan_change_proration'
572
+ | 'plan_change_line_item'
573
+ | 'setup_billing_response'
574
+ | 'confirm_payment_response'
575
+ | 'oauth_response'
576
+ | 'oauth_status_response'
577
+ | 'stripe_publishable_key'
578
+ | 'stripe_status'
579
+ | 'healthcheck'
580
+ | 'agent_definition_config'
581
+ | 'trigger_config'
582
+ | 'customer_contact_info'
583
+ | 'customer_freight_preferences'
584
+ | 'customer_defaults'
585
+ | 'customer_notification_preferences'
586
+ | 'order_discount'
587
+ | 'sales_order_line'
588
+ | 'sales_order_type'
589
+ | 'sales_order_status'
590
+ | 'material'
591
+ | 'supplier_material'
592
+ | 'part'
593
+ | 'permission_group'
594
+ | 'permission'
595
+ | 'pick'
596
+ | 'pick_line'
597
+ | 'product_type'
598
+ | 'production'
599
+ | 'production_flow'
600
+ | 'map'
601
+ | 'purchase_order'
602
+ | 'purchase_order_line'
603
+ | 'supplier'
604
+ | 'supplier_summary'
605
+ | 'receivable_entry'
606
+ | 'receiving_order'
607
+ | 'receiving_order_line'
608
+ | 'email_contact'
609
+ | 'allocation_entry'
610
+ | 'open_credit_entry'
611
+ | 'volume_discount'
612
+ | 'volume_discount_tier'
613
+ | 'analyze_deliveries_response'
614
+ | 'analyze_manufacturing_response'
615
+ | 'analyze_manufacturing_batch_response'
616
+ | 'analyze_quarterly_orders_response'
617
+ | 'analyze_new_customers_response'
618
+ | 'analyze_oee_response'
619
+ | 'catalog_product_line'
620
+ | 'catalog_category'
621
+ | 'catalog_product'
622
+ | 'catalog_property'
623
+ | 'catalog_attribute'
624
+ | 'dc_location'
625
+ | 'edi_run'
626
+ | 'inventory_item'
627
+ | 'analyze_weeks_of_sales_response'
628
+ | 'bulk_reconcile_items_response'
629
+ | 'sys_property'
630
+ | 'sys_property_type'
631
+ | 'sys_property_value'
632
+ | 'territory'
633
+ | 'tenancy'
634
+ | 'checkout_session'
635
+ | 'estimate_rate_result'
636
+ | 'rate_shop_option'
637
+ | 'rate_shop_result'
638
+ | 'owner'
639
+ | 'created_by'
640
+ | 'message'
641
+ | 'account_photo_upload_result'
642
+ | 'user_photo_upload_result'
643
+ | 'user_photo_url'
644
+ | 'batch_lot'
645
+ | 'check_duplicate_result'
646
+ | 'item_trend_point'
647
+ | 'pack_pick_response'
648
+ | 'pick_shipments_response'
649
+ | 'tenancy_pending_registration'
650
+ | 'invoice_allocation_entry'
651
+ | 'allocation_customer'
652
+ | 'checkout_sales_order_response'
653
+ | 'create_production_run_response'
654
+ | 'sales_order_price_quote'
655
+ | 'hubspot_sync_job'
656
+ | 'hubspot_sync_report'
657
+ | 'hubspot_company_review'
658
+ | 'hubspot_company_candidate'
659
+ | 'contact_match'
660
+ | 'reply_draft'
661
+ | 'conversation_link'
662
+ | 'messaging_group'
663
+ | 'messaging_group_member';
664
+
665
+ /**
666
+ * Delivery priority.
667
+ */
668
+ priority?: 'low' | 'normal' | 'high' | 'urgent';
669
+ }
670
+
671
+ export interface NotificationCreateParams {
672
+ /**
673
+ * Category of the notification.
674
+ */
675
+ category:
676
+ | 'chat.message'
677
+ | 'chat.mention'
678
+ | 'chat.added'
679
+ | 'order.updated'
680
+ | 'agent.run_completed'
681
+ | 'agent.alert'
682
+ | 'system.broadcast';
683
+
684
+ /**
685
+ * NotificationTargetInput selects what a notification send is aimed at.
686
+ *
687
+ * The target is a polymorphic reference carrying a `type` and the `id` it refers
688
+ * to. Modeling it this way, rather than a single id or a broadcast flag, lets new
689
+ * target kinds be added without a breaking change to the send API.
690
+ *
691
+ * Supported types:
692
+ *
693
+ * - `account_user`: `id` is an account_user id; delivers a per-user notification.
694
+ * - `account`: `id` is an account id; broadcasts an announcement to every user in
695
+ * the account.
696
+ */
697
+ target: NotificationTargetInput;
698
+
699
+ /**
700
+ * Human-readable title.
701
+ */
702
+ title: string;
703
+
704
+ /**
705
+ * Preview/body text.
706
+ */
707
+ body?: string;
708
+
709
+ /**
710
+ * ID of the resource this notification should link to.
711
+ */
712
+ link_resource_id?: string;
713
+
714
+ /**
715
+ * Object type of the resource this notification should link to.
716
+ *
717
+ * Set together with `link_resource_id` to point the notification at something the
718
+ * recipient can open.
719
+ */
720
+ link_resource_type?:
721
+ | 'account'
722
+ | 'actor'
723
+ | 'entity'
724
+ | 'record'
725
+ | 'freight'
726
+ | 'sales_order_totals'
727
+ | 'sales_order_related'
728
+ | 'order_contact'
729
+ | 'user'
730
+ | 'address'
731
+ | 'api_key'
732
+ | 'created_api_key'
733
+ | 'refresh_token'
734
+ | 'list'
735
+ | 'sandbox'
736
+ | 'registration_session'
737
+ | 'pricing_plan'
738
+ | 'account_plan'
739
+ | 'plan_change'
740
+ | 'enterprise_inquiry'
741
+ | 'request_log'
742
+ | 'audit_event'
743
+ | 'audit_field_change'
744
+ | 'role'
745
+ | 'unit'
746
+ | 'account_affiliation'
747
+ | 'agent_definition'
748
+ | 'available_tool'
749
+ | 'agent_definition_tool'
750
+ | 'agent_account_status'
751
+ | 'agent_run'
752
+ | 'agent_action'
753
+ | 'agent_run_step'
754
+ | 'agent_token_usage'
755
+ | 'agent_memory'
756
+ | 'notification'
757
+ | 'notification_unread_count'
758
+ | 'notification_send_result'
759
+ | 'notification_unread_summary'
760
+ | 'announcement'
761
+ | 'conversation'
762
+ | 'conversation_participant'
763
+ | 'read_cursor'
764
+ | 'chat_message'
765
+ | 'notification_unread_summary_account'
766
+ | 'messaging_block'
767
+ | 'notification_preference'
768
+ | 'message_attachment'
769
+ | 'attachment_upload_target'
770
+ | 'scheduled_message'
771
+ | 'messaging_contact'
772
+ | 'message_report'
773
+ | 'tool_group'
774
+ | 'model'
775
+ | 'payment_term'
776
+ | 'shipping_term'
777
+ | 'quantity'
778
+ | 'account_group'
779
+ | 'support_route'
780
+ | 'support_availability'
781
+ | 'account_status'
782
+ | 'geolocation'
783
+ | 'account_user'
784
+ | 'department'
785
+ | 'account_integration'
786
+ | 'account_price'
787
+ | 'product_line'
788
+ | 'item_category'
789
+ | 'attribute'
790
+ | 'rate'
791
+ | 'account_group_product_line_access'
792
+ | 'sales_target'
793
+ | 'adjustment_type'
794
+ | 'account_branding'
795
+ | 'account_portal'
796
+ | 'account_logo_url'
797
+ | 'public_account'
798
+ | 'property'
799
+ | 'carrier'
800
+ | 'service_level'
801
+ | 'item'
802
+ | 'item_inventory'
803
+ | 'product'
804
+ | 'batch'
805
+ | 'batch_flow_node'
806
+ | 'scanning_consumption'
807
+ | 'open_batch_summary'
808
+ | 'scanning_production_step_info'
809
+ | 'scanning_station'
810
+ | 'production_step'
811
+ | 'production_run'
812
+ | 'machine'
813
+ | 'child_account'
814
+ | 'unit_group'
815
+ | 'unit_group_unit'
816
+ | 'consumption'
817
+ | 'customer_product_line_access'
818
+ | 'customer'
819
+ | 'frequently_ordered_product'
820
+ | 'priority'
821
+ | 'delivery'
822
+ | 'delivery_line'
823
+ | 'sales_order'
824
+ | 'location'
825
+ | 'location_type'
826
+ | 'lot'
827
+ | 'email_log'
828
+ | 'email_domain'
829
+ | 'email_inbox'
830
+ | 'inventory_change_log'
831
+ | 'invoice'
832
+ | 'invoice_summary'
833
+ | 'invoice_line'
834
+ | 'invoice_allocation'
835
+ | 'invoice_for_payment'
836
+ | 'shipment'
837
+ | 'shipment_summary'
838
+ | 'shipment_line'
839
+ | 'shipping_case'
840
+ | 'shipping_case_label_url'
841
+ | 'settlement'
842
+ | 'settlement_summary'
843
+ | 'role_permission'
844
+ | 'registration_flow'
845
+ | 'registration_flow_option'
846
+ | 'transaction'
847
+ | 'transaction_summary'
848
+ | 'transaction_method'
849
+ | 'transaction_type'
850
+ | 'transaction_allocation'
851
+ | 'usage_item'
852
+ | 'account_usage_response'
853
+ | 'subscription_info'
854
+ | 'billing_portal_session_response'
855
+ | 'switch_plan_response'
856
+ | 'ensure_billing_customer_response'
857
+ | 'spending_cap_response'
858
+ | 'agent_spend_info'
859
+ | 'webhook_response'
860
+ | 'address_suggestion'
861
+ | 'address_components'
862
+ | 'address_details_result'
863
+ | 'validated_address'
864
+ | 'plan_limit'
865
+ | 'plan_change_proration'
866
+ | 'plan_change_line_item'
867
+ | 'setup_billing_response'
868
+ | 'confirm_payment_response'
869
+ | 'oauth_response'
870
+ | 'oauth_status_response'
871
+ | 'stripe_publishable_key'
872
+ | 'stripe_status'
873
+ | 'healthcheck'
874
+ | 'agent_definition_config'
875
+ | 'trigger_config'
876
+ | 'customer_contact_info'
877
+ | 'customer_freight_preferences'
878
+ | 'customer_defaults'
879
+ | 'customer_notification_preferences'
880
+ | 'order_discount'
881
+ | 'sales_order_line'
882
+ | 'sales_order_type'
883
+ | 'sales_order_status'
884
+ | 'material'
885
+ | 'supplier_material'
886
+ | 'part'
887
+ | 'permission_group'
888
+ | 'permission'
889
+ | 'pick'
890
+ | 'pick_line'
891
+ | 'product_type'
892
+ | 'production'
893
+ | 'production_flow'
894
+ | 'map'
895
+ | 'purchase_order'
896
+ | 'purchase_order_line'
897
+ | 'supplier'
898
+ | 'supplier_summary'
899
+ | 'receivable_entry'
900
+ | 'receiving_order'
901
+ | 'receiving_order_line'
902
+ | 'email_contact'
903
+ | 'allocation_entry'
904
+ | 'open_credit_entry'
905
+ | 'volume_discount'
906
+ | 'volume_discount_tier'
907
+ | 'analyze_deliveries_response'
908
+ | 'analyze_manufacturing_response'
909
+ | 'analyze_manufacturing_batch_response'
910
+ | 'analyze_quarterly_orders_response'
911
+ | 'analyze_new_customers_response'
912
+ | 'analyze_oee_response'
913
+ | 'catalog_product_line'
914
+ | 'catalog_category'
915
+ | 'catalog_product'
916
+ | 'catalog_property'
917
+ | 'catalog_attribute'
918
+ | 'dc_location'
919
+ | 'edi_run'
920
+ | 'inventory_item'
921
+ | 'analyze_weeks_of_sales_response'
922
+ | 'bulk_reconcile_items_response'
923
+ | 'sys_property'
924
+ | 'sys_property_type'
925
+ | 'sys_property_value'
926
+ | 'territory'
927
+ | 'tenancy'
928
+ | 'checkout_session'
929
+ | 'estimate_rate_result'
930
+ | 'rate_shop_option'
931
+ | 'rate_shop_result'
932
+ | 'owner'
933
+ | 'created_by'
934
+ | 'message'
935
+ | 'account_photo_upload_result'
936
+ | 'user_photo_upload_result'
937
+ | 'user_photo_url'
938
+ | 'batch_lot'
939
+ | 'check_duplicate_result'
940
+ | 'item_trend_point'
941
+ | 'pack_pick_response'
942
+ | 'pick_shipments_response'
943
+ | 'tenancy_pending_registration'
944
+ | 'invoice_allocation_entry'
945
+ | 'allocation_customer'
946
+ | 'checkout_sales_order_response'
947
+ | 'create_production_run_response'
948
+ | 'sales_order_price_quote'
949
+ | 'hubspot_sync_job'
950
+ | 'hubspot_sync_report'
951
+ | 'hubspot_company_review'
952
+ | 'hubspot_company_candidate'
953
+ | 'contact_match'
954
+ | 'reply_draft'
955
+ | 'conversation_link'
956
+ | 'messaging_group'
957
+ | 'messaging_group_member';
958
+
959
+ /**
960
+ * Delivery priority.
961
+ */
962
+ priority?: 'low' | 'normal' | 'high' | 'urgent';
963
+ }
964
+
965
+ export interface NotificationListParams {
966
+ /**
967
+ * Filter by category.
968
+ */
969
+ category?:
970
+ | 'chat.message'
971
+ | 'chat.mention'
972
+ | 'chat.added'
973
+ | 'order.updated'
974
+ | 'agent.run_completed'
975
+ | 'agent.alert'
976
+ | 'system.broadcast';
977
+
978
+ /**
979
+ * Opaque cursor token identifying where the page of results starts.
980
+ *
981
+ * Use the `cursor` value embedded in a previous response's `next_page_url` or
982
+ * `previous_page_url` to fetch the adjacent page. Omit to start from the first
983
+ * page.
984
+ */
985
+ cursor?: string;
986
+
987
+ /**
988
+ * Sub-objects to expand in the response. When omitted, sub-objects are returned as
989
+ * `null`.
990
+ */
991
+ include?: Array<'sender' | 'resource'>;
992
+
993
+ /**
994
+ * Maximum number of results to return in a single page.
995
+ */
996
+ limit?: number;
997
+
998
+ /**
999
+ * Free-text search term used to filter results.
1000
+ *
1001
+ * Which fields are matched against the term varies by endpoint.
1002
+ */
1003
+ q?: string;
1004
+
1005
+ /**
1006
+ * Filter by sender id(s).
1007
+ */
1008
+ sender_ids?: Array<string>;
1009
+
1010
+ /**
1011
+ * Filter by sender type(s).
1012
+ */
1013
+ sender_types?: Array<'user' | 'group' | 'system' | 'agent' | 'apikey'>;
1014
+
1015
+ /**
1016
+ * Filter by lifecycle status.
1017
+ *
1018
+ * When omitted, the feed returns the full active feed — every non-dismissed
1019
+ * notification (seen and unseen alike), newest first.
1020
+ */
1021
+ status?: 'unseen' | 'seen' | 'read' | 'dismissed';
1022
+ }
1023
+
1024
+ export interface NotificationRetrieveParams {
1025
+ /**
1026
+ * Sub-objects to expand in the response. When omitted, sub-objects are returned as
1027
+ * `null`.
1028
+ */
1029
+ include?: Array<'sender' | 'resource'>;
1030
+ }
1031
+
1032
+ Notifications.Actions = Actions;
1033
+
1034
+ export declare namespace Notifications {
1035
+ export {
1036
+ type ListNotification as ListNotification,
1037
+ type ListNotificationUnreadSummaryAccount as ListNotificationUnreadSummaryAccount,
1038
+ type Notification as Notification,
1039
+ type NotificationSendResult as NotificationSendResult,
1040
+ type NotificationTargetInput as NotificationTargetInput,
1041
+ type NotificationUnreadCount as NotificationUnreadCount,
1042
+ type NotificationUnreadSummary as NotificationUnreadSummary,
1043
+ type NotificationUnreadSummaryAccount as NotificationUnreadSummaryAccount,
1044
+ type SendNotificationRequest as SendNotificationRequest,
1045
+ type NotificationCreateParams as NotificationCreateParams,
1046
+ type NotificationListParams as NotificationListParams,
1047
+ type NotificationRetrieveParams as NotificationRetrieveParams,
1048
+ };
1049
+
1050
+ export {
1051
+ Actions as Actions,
1052
+ type ActionMarkAllSeenResponse as ActionMarkAllSeenResponse,
1053
+ type ActionSeenParams as ActionSeenParams,
1054
+ type ActionReadParams as ActionReadParams,
1055
+ type ActionDismissParams as ActionDismissParams,
1056
+ };
1057
+ }