@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,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './notifications/index';
@@ -0,0 +1,215 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../../core/resource';
4
+ import * as APIKeysAPI from '../auth/api-keys/api-keys';
5
+ import { APIPromise } from '../../core/api-promise';
6
+ import { RequestOptions } from '../../internal/request-options';
7
+
8
+ /**
9
+ * Manage per-category notification channel preferences (in-app, email, push).
10
+ */
11
+ export class Preferences extends APIResource {
12
+ /**
13
+ * Lists the caller's notification channel preferences (global default +
14
+ * per-category overrides).
15
+ *
16
+ * This endpoint requires the permission: `messaging:read`.
17
+ *
18
+ * @example
19
+ * ```ts
20
+ * const listNotificationPreference =
21
+ * await client.messaging.preferences.list();
22
+ * ```
23
+ */
24
+ list(options?: RequestOptions): APIPromise<ListNotificationPreference> {
25
+ return this._client.get('/v1/messaging/preferences', options);
26
+ }
27
+
28
+ /**
29
+ * Creates or replaces a notification channel preference for the caller.
30
+ *
31
+ * This endpoint requires the permission: `messaging:update`.
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const notificationPreference =
36
+ * await client.messaging.preferences.update({
37
+ * email_enabled: false,
38
+ * in_app_enabled: true,
39
+ * push_enabled: false,
40
+ * category: 'chat.message',
41
+ * digest: 'instant',
42
+ * });
43
+ * ```
44
+ */
45
+ update(body: PreferenceUpdateParams, options?: RequestOptions): APIPromise<NotificationPreference> {
46
+ return this._client.put('/v1/messaging/preferences', { body, ...options });
47
+ }
48
+ }
49
+
50
+ /**
51
+ * List represents a paginated list of resources.
52
+ */
53
+ export interface ListNotificationPreference {
54
+ /**
55
+ * Resources in this page.
56
+ */
57
+ data: Array<NotificationPreference>;
58
+
59
+ /**
60
+ * Resource type identifier.
61
+ */
62
+ object: 'list';
63
+
64
+ /**
65
+ * PageInfo contains URL-based pagination metadata.
66
+ */
67
+ page_info: APIKeysAPI.PageInfo;
68
+ }
69
+
70
+ /**
71
+ * A per-(user, category) notification channel preference.
72
+ *
73
+ * A preference with a `null` category is the user's global default; a
74
+ * category-specific preference overrides it.
75
+ */
76
+ export interface NotificationPreference {
77
+ /**
78
+ * Preference ID.
79
+ */
80
+ id: string;
81
+
82
+ /**
83
+ * The notification category this preference applies to.
84
+ *
85
+ * `null` for the global default that applies to all categories without a specific
86
+ * preference.
87
+ */
88
+ category: string | null;
89
+
90
+ /**
91
+ * Creation timestamp.
92
+ */
93
+ created_at: string;
94
+
95
+ /**
96
+ * How email delivery for this category is batched.
97
+ *
98
+ * - `instant`: send an email as soon as an eligible notification occurs.
99
+ * - `hourly`: batch eligible notifications into a single hourly email.
100
+ * - `daily`: batch eligible notifications into a single daily email.
101
+ * - `off`: never send email for this category, even when email delivery is
102
+ * otherwise enabled.
103
+ */
104
+ digest: 'instant' | 'hourly' | 'daily' | 'off';
105
+
106
+ /**
107
+ * Whether email notifications are delivered for this category.
108
+ */
109
+ email_enabled: boolean;
110
+
111
+ /**
112
+ * Whether in-app (bell) notifications are delivered for this category.
113
+ */
114
+ in_app_enabled: boolean;
115
+
116
+ /**
117
+ * Resource type identifier.
118
+ */
119
+ object: 'notification_preference';
120
+
121
+ /**
122
+ * Whether push notifications are delivered for this category.
123
+ */
124
+ push_enabled: boolean;
125
+
126
+ /**
127
+ * Last update timestamp.
128
+ */
129
+ updated_at: string;
130
+ }
131
+
132
+ /**
133
+ * Request to create or replace a notification preference for the caller.
134
+ *
135
+ * The preference is keyed by (caller, category), so repeating the request with the
136
+ * same category replaces the existing preference.
137
+ */
138
+ export interface UpsertNotificationPreferenceRequest {
139
+ /**
140
+ * Whether email notifications are delivered for this category.
141
+ */
142
+ email_enabled: boolean;
143
+
144
+ /**
145
+ * Whether in-app (bell) notifications are delivered for this category.
146
+ */
147
+ in_app_enabled: boolean;
148
+
149
+ /**
150
+ * Whether push notifications are delivered for this category.
151
+ */
152
+ push_enabled: boolean;
153
+
154
+ /**
155
+ * The notification category this preference applies to.
156
+ *
157
+ * Omit (or `null`) to set the caller's global default.
158
+ */
159
+ category?: string | null;
160
+
161
+ /**
162
+ * How email delivery for this category is batched.
163
+ *
164
+ * - `instant`: send an email as soon as an eligible notification occurs.
165
+ * - `hourly`: batch eligible notifications into a single hourly email.
166
+ * - `daily`: batch eligible notifications into a single daily email.
167
+ * - `off`: never send email for this category, even when email delivery is
168
+ * otherwise enabled.
169
+ */
170
+ digest?: 'instant' | 'hourly' | 'daily' | 'off';
171
+ }
172
+
173
+ export interface PreferenceUpdateParams {
174
+ /**
175
+ * Whether email notifications are delivered for this category.
176
+ */
177
+ email_enabled: boolean;
178
+
179
+ /**
180
+ * Whether in-app (bell) notifications are delivered for this category.
181
+ */
182
+ in_app_enabled: boolean;
183
+
184
+ /**
185
+ * Whether push notifications are delivered for this category.
186
+ */
187
+ push_enabled: boolean;
188
+
189
+ /**
190
+ * The notification category this preference applies to.
191
+ *
192
+ * Omit (or `null`) to set the caller's global default.
193
+ */
194
+ category?: string | null;
195
+
196
+ /**
197
+ * How email delivery for this category is batched.
198
+ *
199
+ * - `instant`: send an email as soon as an eligible notification occurs.
200
+ * - `hourly`: batch eligible notifications into a single hourly email.
201
+ * - `daily`: batch eligible notifications into a single daily email.
202
+ * - `off`: never send email for this category, even when email delivery is
203
+ * otherwise enabled.
204
+ */
205
+ digest?: 'instant' | 'hourly' | 'daily' | 'off';
206
+ }
207
+
208
+ export declare namespace Preferences {
209
+ export {
210
+ type ListNotificationPreference as ListNotificationPreference,
211
+ type NotificationPreference as NotificationPreference,
212
+ type UpsertNotificationPreferenceRequest as UpsertNotificationPreferenceRequest,
213
+ type PreferenceUpdateParams as PreferenceUpdateParams,
214
+ };
215
+ }
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ export * from './messaging/index';
@@ -28,6 +28,9 @@ export class Carriers extends APIResource {
28
28
  /**
29
29
  * Returns a paginated list of carriers for the current account.
30
30
  *
31
+ * This endpoint requires the permissions: `carriers:read`, `customers:read`,
32
+ * `suppliers:read`.
33
+ *
31
34
  * @example
32
35
  * ```ts
33
36
  * const listCarrier = await client.operations.carriers.list();
@@ -40,6 +43,9 @@ export class Carriers extends APIResource {
40
43
  /**
41
44
  * Returns a carrier by ID.
42
45
  *
46
+ * This endpoint requires the permissions: `carriers:read`, `customers:read`,
47
+ * `suppliers:read`.
48
+ *
43
49
  * @example
44
50
  * ```ts
45
51
  * const carrier = await client.operations.carriers.retrieve(
@@ -62,6 +68,8 @@ export class Carriers extends APIResource {
62
68
  * connected through Shippo and its service levels are auto-synced, initially
63
69
  * hidden from the customer portal. Sandbox accounts skip the Shippo connection.
64
70
  *
71
+ * This endpoint requires the permission: `carriers:create`.
72
+ *
65
73
  * @example
66
74
  * ```ts
67
75
  * const carrier = await client.operations.carriers.create({
@@ -80,6 +88,8 @@ export class Carriers extends APIResource {
80
88
  /**
81
89
  * Partially updates a carrier's name and portal visibility.
82
90
  *
91
+ * This endpoint requires the permission: `carriers:update`.
92
+ *
83
93
  * @example
84
94
  * ```ts
85
95
  * const carrier = await client.operations.carriers.update(
@@ -103,6 +113,8 @@ export class Carriers extends APIResource {
103
113
  * If the carrier is connected through Shippo, its Shippo carrier account is
104
114
  * deactivated. System-owned carriers cannot be deleted.
105
115
  *
116
+ * This endpoint requires the permission: `carriers:delete`.
117
+ *
106
118
  * @example
107
119
  * ```ts
108
120
  * const carrier = await client.operations.carriers.delete(
@@ -178,9 +190,8 @@ export interface UpdateCarrierRequest {
178
190
  /**
179
191
  * Carrier visibility in the customer portal.
180
192
  *
181
- * If `visible`, this carrier will be available for your customers to utilize when
182
- * they go to checkout. If `hidden`, this carrier will not be an option on
183
- * checkout.
193
+ * A `visible` carrier can be selected by your customers at checkout; a `hidden`
194
+ * carrier is not offered there.
184
195
  */
185
196
  customer_portal_visibility?: 'visible' | 'hidden';
186
197
 
@@ -278,9 +289,8 @@ export interface CarrierUpdateParams {
278
289
  /**
279
290
  * Body param: Carrier visibility in the customer portal.
280
291
  *
281
- * If `visible`, this carrier will be available for your customers to utilize when
282
- * they go to checkout. If `hidden`, this carrier will not be an option on
283
- * checkout.
292
+ * A `visible` carrier can be selected by your customers at checkout; a `hidden`
293
+ * carrier is not offered there.
284
294
  */
285
295
  customer_portal_visibility?: 'visible' | 'hidden';
286
296
 
@@ -13,6 +13,9 @@ export class ServiceLevels extends APIResource {
13
13
  /**
14
14
  * Returns a paginated list of service levels for a carrier.
15
15
  *
16
+ * This endpoint requires the permissions: `carriers:read`, `customers:read`,
17
+ * `suppliers:read`.
18
+ *
16
19
  * @example
17
20
  * ```ts
18
21
  * const listServiceLevel =
@@ -32,6 +35,9 @@ export class ServiceLevels extends APIResource {
32
35
  /**
33
36
  * Returns a service level by ID.
34
37
  *
38
+ * This endpoint requires the permissions: `carriers:read`, `customers:read`,
39
+ * `suppliers:read`.
40
+ *
35
41
  * @example
36
42
  * ```ts
37
43
  * const serviceLevel =
@@ -56,6 +62,8 @@ export class ServiceLevels extends APIResource {
56
62
  /**
57
63
  * Creates a service level for a carrier.
58
64
  *
65
+ * This endpoint requires the permission: `carriers:create`.
66
+ *
59
67
  * @example
60
68
  * ```ts
61
69
  * const serviceLevel =
@@ -87,6 +95,8 @@ export class ServiceLevels extends APIResource {
87
95
  *
88
96
  * System-owned service levels cannot be updated.
89
97
  *
98
+ * This endpoint requires the permission: `carriers:update`.
99
+ *
90
100
  * @example
91
101
  * ```ts
92
102
  * const serviceLevel =
@@ -118,6 +128,8 @@ export class ServiceLevels extends APIResource {
118
128
  * System-owned service levels and the carrier's default service level cannot be
119
129
  * deleted; unset `is_default` first to delete a default.
120
130
  *
131
+ * This endpoint requires the permission: `carriers:delete`.
132
+ *
121
133
  * @example
122
134
  * ```ts
123
135
  * const serviceLevel =
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
+ import * as BlocksAPI from '../messaging/blocks';
4
5
  import * as APIKeysAPI from '../auth/api-keys/api-keys';
5
- import * as CustomersAPI from '../sales/customers/customers';
6
6
  import { APIPromise } from '../../core/api-promise';
7
7
  import { RequestOptions } from '../../internal/request-options';
8
8
  import { path } from '../../internal/utils/path';
@@ -14,6 +14,8 @@ export class LocationTypes extends APIResource {
14
14
  /**
15
15
  * Returns a paginated list of location types.
16
16
  *
17
+ * This endpoint requires the permission: `locations:read`.
18
+ *
17
19
  * @example
18
20
  * ```ts
19
21
  * const listLocationType =
@@ -30,6 +32,8 @@ export class LocationTypes extends APIResource {
30
32
  /**
31
33
  * Returns a location type by ID or code.
32
34
  *
35
+ * This endpoint requires the permission: `locations:read`.
36
+ *
33
37
  * @example
34
38
  * ```ts
35
39
  * const locationType =
@@ -83,7 +87,7 @@ export interface LocationType {
83
87
  * - `shelf`: a shelf within a rack.
84
88
  * - `bin`: a bin within a shelf.
85
89
  */
86
- code: CustomersAPI.LocationTypeCode;
90
+ code: BlocksAPI.LocationTypeCode;
87
91
 
88
92
  /**
89
93
  * Creation timestamp.
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
- import * as CustomersAPI from '../sales/customers/customers';
4
+ import * as BlocksAPI from '../messaging/blocks';
5
5
  import { APIPromise } from '../../core/api-promise';
6
6
  import { RequestOptions } from '../../internal/request-options';
7
7
  import { path } from '../../internal/utils/path';
@@ -13,6 +13,8 @@ export class Locations extends APIResource {
13
13
  /**
14
14
  * Returns a paginated list of locations in your account.
15
15
  *
16
+ * This endpoint requires the permission: `locations:read`.
17
+ *
16
18
  * @example
17
19
  * ```ts
18
20
  * const listLocation =
@@ -22,13 +24,15 @@ export class Locations extends APIResource {
22
24
  list(
23
25
  query: LocationListParams | null | undefined = {},
24
26
  options?: RequestOptions,
25
- ): APIPromise<CustomersAPI.ListLocation> {
27
+ ): APIPromise<BlocksAPI.ListLocation> {
26
28
  return this._client.get('/v1/operations/locations', { query, ...options });
27
29
  }
28
30
 
29
31
  /**
30
32
  * Returns a location by ID.
31
33
  *
34
+ * This endpoint requires the permission: `locations:read`.
35
+ *
32
36
  * @example
33
37
  * ```ts
34
38
  * const location = await client.operations.locations.retrieve(
@@ -40,13 +44,15 @@ export class Locations extends APIResource {
40
44
  id: string,
41
45
  query: LocationRetrieveParams | null | undefined = {},
42
46
  options?: RequestOptions,
43
- ): APIPromise<CustomersAPI.Location> {
47
+ ): APIPromise<BlocksAPI.Location> {
44
48
  return this._client.get(path`/v1/operations/locations/${id}`, { query, ...options });
45
49
  }
46
50
 
47
51
  /**
48
52
  * Creates a storage location, optionally placing it in the location hierarchy.
49
53
  *
54
+ * This endpoint requires the permission: `locations:create`.
55
+ *
50
56
  * @example
51
57
  * ```ts
52
58
  * const location = await client.operations.locations.create({
@@ -55,7 +61,7 @@ export class Locations extends APIResource {
55
61
  * });
56
62
  * ```
57
63
  */
58
- create(params: LocationCreateParams, options?: RequestOptions): APIPromise<CustomersAPI.Location> {
64
+ create(params: LocationCreateParams, options?: RequestOptions): APIPromise<BlocksAPI.Location> {
59
65
  const { include, ...body } = params;
60
66
  return this._client.post('/v1/operations/locations', { query: { include }, body, ...options });
61
67
  }
@@ -63,6 +69,8 @@ export class Locations extends APIResource {
63
69
  /**
64
70
  * Partially updates a location.
65
71
  *
72
+ * This endpoint requires the permission: `locations:update`.
73
+ *
66
74
  * @example
67
75
  * ```ts
68
76
  * const location = await client.operations.locations.update(
@@ -75,7 +83,7 @@ export class Locations extends APIResource {
75
83
  id: string,
76
84
  params: LocationUpdateParams | null | undefined = {},
77
85
  options?: RequestOptions,
78
- ): APIPromise<CustomersAPI.Location> {
86
+ ): APIPromise<BlocksAPI.Location> {
79
87
  const { include, ...body } = params ?? {};
80
88
  return this._client.patch(path`/v1/operations/locations/${id}`, { query: { include }, body, ...options });
81
89
  }
@@ -86,6 +94,8 @@ export class Locations extends APIResource {
86
94
  * Fails if the location has child locations; remove or reassign the children
87
95
  * first.
88
96
  *
97
+ * This endpoint requires the permission: `locations:delete`.
98
+ *
89
99
  * @example
90
100
  * ```ts
91
101
  * const location = await client.operations.locations.delete(
@@ -119,7 +129,7 @@ export interface CreateLocationRequest {
119
129
  * - `shelf`: a shelf within a rack.
120
130
  * - `bin`: a bin within a shelf.
121
131
  */
122
- type: CustomersAPI.LocationTypeCode;
132
+ type: BlocksAPI.LocationTypeCode;
123
133
 
124
134
  /**
125
135
  * IDs of existing locations to attach as children of the new location.
@@ -173,7 +183,7 @@ export interface UpdateLocationRequest {
173
183
  * - `shelf`: a shelf within a rack.
174
184
  * - `bin`: a bin within a shelf.
175
185
  */
176
- type?: CustomersAPI.LocationTypeCode;
186
+ type?: BlocksAPI.LocationTypeCode;
177
187
  }
178
188
 
179
189
  export interface LocationDeleteResponse {}
@@ -234,7 +244,7 @@ export interface LocationCreateParams {
234
244
  * - `shelf`: a shelf within a rack.
235
245
  * - `bin`: a bin within a shelf.
236
246
  */
237
- type: CustomersAPI.LocationTypeCode;
247
+ type: BlocksAPI.LocationTypeCode;
238
248
 
239
249
  /**
240
250
  * Query param: Sub-objects to expand in the response. When omitted, sub-objects
@@ -298,7 +308,7 @@ export interface LocationUpdateParams {
298
308
  * - `shelf`: a shelf within a rack.
299
309
  * - `bin`: a bin within a shelf.
300
310
  */
301
- type?: CustomersAPI.LocationTypeCode;
311
+ type?: BlocksAPI.LocationTypeCode;
302
312
  }
303
313
 
304
314
  export declare namespace Locations {
@@ -1,7 +1,7 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
- import * as CustomersAPI from '../sales/customers/customers';
4
+ import * as BlocksAPI from '../messaging/blocks';
5
5
  import { APIPromise } from '../../core/api-promise';
6
6
  import { RequestOptions } from '../../internal/request-options';
7
7
  import { path } from '../../internal/utils/path';
@@ -13,6 +13,8 @@ export class ScanningStations extends APIResource {
13
13
  /**
14
14
  * Returns a paginated list of scanning stations in your account.
15
15
  *
16
+ * This endpoint requires the permission: `scanners:read`.
17
+ *
16
18
  * @example
17
19
  * ```ts
18
20
  * const listScanningStation =
@@ -22,13 +24,15 @@ export class ScanningStations extends APIResource {
22
24
  list(
23
25
  query: ScanningStationListParams | null | undefined = {},
24
26
  options?: RequestOptions,
25
- ): APIPromise<CustomersAPI.ListScanningStation> {
27
+ ): APIPromise<BlocksAPI.ListScanningStation> {
26
28
  return this._client.get('/v1/operations/scanning-stations', { query, ...options });
27
29
  }
28
30
 
29
31
  /**
30
32
  * Returns a scanning station by ID.
31
33
  *
34
+ * This endpoint requires the permission: `scanners:read`.
35
+ *
32
36
  * @example
33
37
  * ```ts
34
38
  * const scanningStation =
@@ -41,7 +45,7 @@ export class ScanningStations extends APIResource {
41
45
  id: string,
42
46
  query: ScanningStationRetrieveParams | null | undefined = {},
43
47
  options?: RequestOptions,
44
- ): APIPromise<CustomersAPI.ScanningStation> {
48
+ ): APIPromise<BlocksAPI.ScanningStation> {
45
49
  return this._client.get(path`/v1/operations/scanning-stations/${id}`, { query, ...options });
46
50
  }
47
51
 
@@ -51,6 +55,8 @@ export class ScanningStations extends APIResource {
51
55
  * Returns a conflict error if a scanning station with the same name already
52
56
  * exists.
53
57
  *
58
+ * This endpoint requires the permission: `scanners:create`.
59
+ *
54
60
  * @example
55
61
  * ```ts
56
62
  * const scanningStation =
@@ -67,7 +73,7 @@ export class ScanningStations extends APIResource {
67
73
  create(
68
74
  params: ScanningStationCreateParams,
69
75
  options?: RequestOptions,
70
- ): APIPromise<CustomersAPI.ScanningStation> {
76
+ ): APIPromise<BlocksAPI.ScanningStation> {
71
77
  const { include, ...body } = params;
72
78
  return this._client.post('/v1/operations/scanning-stations', { query: { include }, body, ...options });
73
79
  }
@@ -78,6 +84,8 @@ export class ScanningStations extends APIResource {
78
84
  * Only the fields provided in the request are changed. Returns a conflict error if
79
85
  * the new name is already in use by another scanning station.
80
86
  *
87
+ * This endpoint requires the permission: `scanners:update`.
88
+ *
81
89
  * @example
82
90
  * ```ts
83
91
  * const scanningStation =
@@ -91,7 +99,7 @@ export class ScanningStations extends APIResource {
91
99
  id: string,
92
100
  params: ScanningStationUpdateParams | null | undefined = {},
93
101
  options?: RequestOptions,
94
- ): APIPromise<CustomersAPI.ScanningStation> {
102
+ ): APIPromise<BlocksAPI.ScanningStation> {
95
103
  const { include, ...body } = params ?? {};
96
104
  return this._client.patch(path`/v1/operations/scanning-stations/${id}`, {
97
105
  query: { include },
@@ -103,6 +111,8 @@ export class ScanningStations extends APIResource {
103
111
  /**
104
112
  * Deletes a scanning station.
105
113
  *
114
+ * This endpoint requires the permission: `scanners:delete`.
115
+ *
106
116
  * @example
107
117
  * ```ts
108
118
  * const scanningStation =
@@ -15,6 +15,8 @@ export class ShippingTerms extends APIResource {
15
15
  * Returns a paginated list of shipping terms for the account, including default
16
16
  * system shipping terms.
17
17
  *
18
+ * This endpoint requires the permission: `shipping_terms:read`.
19
+ *
18
20
  * @example
19
21
  * ```ts
20
22
  * const listShippingTerm =
@@ -31,6 +33,8 @@ export class ShippingTerms extends APIResource {
31
33
  /**
32
34
  * Returns a shipping term by ID.
33
35
  *
36
+ * This endpoint requires the permission: `shipping_terms:read`.
37
+ *
34
38
  * @example
35
39
  * ```ts
36
40
  * const shippingTerm =
@@ -50,6 +54,8 @@ export class ShippingTerms extends APIResource {
50
54
  /**
51
55
  * Creates an account-owned shipping term.
52
56
  *
57
+ * This endpoint requires the permission: `shipping_terms:create`.
58
+ *
53
59
  * @example
54
60
  * ```ts
55
61
  * const shippingTerm =
@@ -69,6 +75,8 @@ export class ShippingTerms extends APIResource {
69
75
  *
70
76
  * System-provided default shipping terms cannot be updated.
71
77
  *
78
+ * This endpoint requires the permission: `shipping_terms:update`.
79
+ *
72
80
  * @example
73
81
  * ```ts
74
82
  * const shippingTerm =
@@ -96,6 +104,8 @@ export class ShippingTerms extends APIResource {
96
104
  *
97
105
  * System-provided default shipping terms cannot be deleted.
98
106
  *
107
+ * This endpoint requires the permission: `shipping_terms:delete`.
108
+ *
99
109
  * @example
100
110
  * ```ts
101
111
  * const shippingTerm =
@@ -13,6 +13,8 @@ export class AccountGroups extends APIResource {
13
13
  /**
14
14
  * Returns a paginated list of account groups.
15
15
  *
16
+ * This endpoint requires the permission: `customer_groups:read`.
17
+ *
16
18
  * @example
17
19
  * ```ts
18
20
  * const listAccountGroup =
@@ -29,6 +31,8 @@ export class AccountGroups extends APIResource {
29
31
  /**
30
32
  * Returns an account group by ID.
31
33
  *
34
+ * This endpoint requires the permission: `customer_groups:read`.
35
+ *
32
36
  * @example
33
37
  * ```ts
34
38
  * const accountGroup =
@@ -46,6 +50,8 @@ export class AccountGroups extends APIResource {
46
50
  *
47
51
  * Returns a conflict error if an account group with the same name already exists.
48
52
  *
53
+ * This endpoint requires the permission: `customer_groups:create`.
54
+ *
49
55
  * @example
50
56
  * ```ts
51
57
  * const accountGroup =
@@ -65,6 +71,8 @@ export class AccountGroups extends APIResource {
65
71
  * Only the provided fields are changed. The account group's `type` cannot be
66
72
  * changed after creation.
67
73
  *
74
+ * This endpoint requires the permission: `customer_groups:update`.
75
+ *
68
76
  * @example
69
77
  * ```ts
70
78
  * const accountGroup =
@@ -89,6 +97,8 @@ export class AccountGroups extends APIResource {
89
97
  * for example by customer records, product line access, volume discounts, pricing
90
98
  * assignments, or an active registration flow.
91
99
  *
100
+ * This endpoint requires the permission: `customer_groups:delete`.
101
+ *
92
102
  * @example
93
103
  * ```ts
94
104
  * const accountGroup =
@@ -79,7 +79,7 @@ export interface AccountStatus {
79
79
  created_at: string;
80
80
 
81
81
  /**
82
- * Display name.
82
+ * Human-readable label for the status.
83
83
  */
84
84
  name: string;
85
85