@augno/sdk 0.7.0 → 0.7.1

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