@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
@@ -1 +1 @@
1
- {"version":3,"file":"materials.mjs","sourceRoot":"","sources":["../../src/resources/catalog/materials.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;OAOG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CACN,EAAU,EACV,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACpF,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,MAA4B,EAAE,OAAwB;QAC3D,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9F,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,EAAU,EACV,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,yBAAyB,EAAE,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J,EAAU,EACV,SAAkD,EAAE,EACpD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzG,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,yBAAyB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;CACF"}
@@ -11,6 +11,9 @@ export declare class Parts extends APIResource {
11
11
  /**
12
12
  * Returns a paginated list of parts for the current account.
13
13
  *
14
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
15
+ * `suppliers:read`.
16
+ *
14
17
  * @example
15
18
  * ```ts
16
19
  * const listPart = await client.catalog.parts.list();
@@ -20,6 +23,9 @@ export declare class Parts extends APIResource {
20
23
  /**
21
24
  * Returns a part by ID.
22
25
  *
26
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
27
+ * `suppliers:read`.
28
+ *
23
29
  * @example
24
30
  * ```ts
25
31
  * const part = await client.catalog.parts.retrieve(
@@ -34,6 +40,9 @@ export declare class Parts extends APIResource {
34
40
  * Inventory tracking for the new part starts at a zero on-hand quantity in the
35
41
  * category's base unit.
36
42
  *
43
+ * This endpoint requires the permissions: `parts:create`, `customers:update`,
44
+ * `suppliers:update`.
45
+ *
37
46
  * @example
38
47
  * ```ts
39
48
  * const part = await client.catalog.parts.create({
@@ -49,6 +58,9 @@ export declare class Parts extends APIResource {
49
58
  *
50
59
  * Fields not provided retain their current values.
51
60
  *
61
+ * This endpoint requires the permissions: `parts:update`, `customers:update`,
62
+ * `suppliers:update`.
63
+ *
52
64
  * @example
53
65
  * ```ts
54
66
  * const part = await client.catalog.parts.update(
@@ -68,6 +80,9 @@ export declare class Parts extends APIResource {
68
80
  * other endpoints, but the record is retained. Deleting an already-deleted part
69
81
  * returns an error.
70
82
  *
83
+ * This endpoint requires the permissions: `parts:delete`, `customers:update`,
84
+ * `suppliers:update`.
85
+ *
71
86
  * @example
72
87
  * ```ts
73
88
  * const part = await client.catalog.parts.delete(
@@ -1 +1 @@
1
- {"version":3,"file":"parts.d.mts","sourceRoot":"","sources":["../../src/resources/catalog/parts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,KAAK,UAAU;OACf,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;OAOG;IACH,IAAI,CAAC,KAAK,GAAE,cAAc,GAAG,IAAI,GAAG,SAAc,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAInG;;;;;;;;;OASG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAInB;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAK5E;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAKnB;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GA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for the current account.
13
13
  *
14
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
15
+ * `suppliers:read`.
16
+ *
14
17
  * @example
15
18
  * ```ts
16
19
  * const listPart = await client.catalog.parts.list();
@@ -20,6 +23,9 @@ export declare class Parts extends APIResource {
20
23
  /**
21
24
  * Returns a part by ID.
22
25
  *
26
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
27
+ * `suppliers:read`.
28
+ *
23
29
  * @example
24
30
  * ```ts
25
31
  * const part = await client.catalog.parts.retrieve(
@@ -34,6 +40,9 @@ export declare class Parts extends APIResource {
34
40
  * Inventory tracking for the new part starts at a zero on-hand quantity in the
35
41
  * category's base unit.
36
42
  *
43
+ * This endpoint requires the permissions: `parts:create`, `customers:update`,
44
+ * `suppliers:update`.
45
+ *
37
46
  * @example
38
47
  * ```ts
39
48
  * const part = await client.catalog.parts.create({
@@ -49,6 +58,9 @@ export declare class Parts extends APIResource {
49
58
  *
50
59
  * Fields not provided retain their current values.
51
60
  *
61
+ * This endpoint requires the permissions: `parts:update`, `customers:update`,
62
+ * `suppliers:update`.
63
+ *
52
64
  * @example
53
65
  * ```ts
54
66
  * const part = await client.catalog.parts.update(
@@ -68,6 +80,9 @@ export declare class Parts extends APIResource {
68
80
  * other endpoints, but the record is retained. Deleting an already-deleted part
69
81
  * returns an error.
70
82
  *
83
+ * This endpoint requires the permissions: `parts:delete`, `customers:update`,
84
+ * `suppliers:update`.
85
+ *
71
86
  * @example
72
87
  * ```ts
73
88
  * const part = await client.catalog.parts.delete(
@@ -1 +1 @@
1
- {"version":3,"file":"parts.d.ts","sourceRoot":"","sources":["../../src/resources/catalog/parts.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,YAAY;OACjB,KAAK,UAAU;OACf,KAAK,QAAQ;OACb,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;OAOG;IACH,IAA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eAAe,GAAG,iBAAiB,GAAG,gBAAgB,GAAG,gBAAgB,GAAG,iBAAiB,CACvG,CAAC;IAEF;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEtB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EACL,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,QAAQ,IAAI,QAAQ,EACzB,KAAK,IAAI,IAAI,IAAI,EACjB,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;CACH"}
@@ -11,6 +11,9 @@ class Parts extends resource_1.APIResource {
11
11
  /**
12
12
  * Returns a paginated list of parts for the current account.
13
13
  *
14
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
15
+ * `suppliers:read`.
16
+ *
14
17
  * @example
15
18
  * ```ts
16
19
  * const listPart = await client.catalog.parts.list();
@@ -22,6 +25,9 @@ class Parts extends resource_1.APIResource {
22
25
  /**
23
26
  * Returns a part by ID.
24
27
  *
28
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
29
+ * `suppliers:read`.
30
+ *
25
31
  * @example
26
32
  * ```ts
27
33
  * const part = await client.catalog.parts.retrieve(
@@ -38,6 +44,9 @@ class Parts extends resource_1.APIResource {
38
44
  * Inventory tracking for the new part starts at a zero on-hand quantity in the
39
45
  * category's base unit.
40
46
  *
47
+ * This endpoint requires the permissions: `parts:create`, `customers:update`,
48
+ * `suppliers:update`.
49
+ *
41
50
  * @example
42
51
  * ```ts
43
52
  * const part = await client.catalog.parts.create({
@@ -56,6 +65,9 @@ class Parts extends resource_1.APIResource {
56
65
  *
57
66
  * Fields not provided retain their current values.
58
67
  *
68
+ * This endpoint requires the permissions: `parts:update`, `customers:update`,
69
+ * `suppliers:update`.
70
+ *
59
71
  * @example
60
72
  * ```ts
61
73
  * const part = await client.catalog.parts.update(
@@ -78,6 +90,9 @@ class Parts extends resource_1.APIResource {
78
90
  * other endpoints, but the record is retained. Deleting an already-deleted part
79
91
  * returns an error.
80
92
  *
93
+ * This endpoint requires the permissions: `parts:delete`, `customers:update`,
94
+ * `suppliers:update`.
95
+ *
81
96
  * @example
82
97
  * ```ts
83
98
  * const part = await client.catalog.parts.delete(
@@ -1 +1 @@
1
- {"version":3,"file":"parts.js","sourceRoot":"","sources":["../../src/resources/catalog/parts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAMlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,KAAM,SAAQ,sBAAW;IACpC;;;;;;;OAOG;IACH,IAAI,CAAC,QAA2C,EAAE,EAAE,OAAwB;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CACN,EAAU,EACV,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,MAAwB,EAAE,OAAwB;QACvD,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,E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AM,CAAC,MAAwB,EAAE,OAAwB;QACvD,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,EAAU,EACV,SAA8C,EAAE,EAChD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF;AA5GD,sBA4GC"}
@@ -8,6 +8,9 @@ export class Parts extends APIResource {
8
8
  /**
9
9
  * Returns a paginated list of parts for the current account.
10
10
  *
11
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
12
+ * `suppliers:read`.
13
+ *
11
14
  * @example
12
15
  * ```ts
13
16
  * const listPart = await client.catalog.parts.list();
@@ -19,6 +22,9 @@ export class Parts extends APIResource {
19
22
  /**
20
23
  * Returns a part by ID.
21
24
  *
25
+ * This endpoint requires the permissions: `parts:read`, `customers:read`,
26
+ * `suppliers:read`.
27
+ *
22
28
  * @example
23
29
  * ```ts
24
30
  * const part = await client.catalog.parts.retrieve(
@@ -35,6 +41,9 @@ export class Parts extends APIResource {
35
41
  * Inventory tracking for the new part starts at a zero on-hand quantity in the
36
42
  * category's base unit.
37
43
  *
44
+ * This endpoint requires the permissions: `parts:create`, `customers:update`,
45
+ * `suppliers:update`.
46
+ *
38
47
  * @example
39
48
  * ```ts
40
49
  * const part = await client.catalog.parts.create({
@@ -53,6 +62,9 @@ export class Parts extends APIResource {
53
62
  *
54
63
  * Fields not provided retain their current values.
55
64
  *
65
+ * This endpoint requires the permissions: `parts:update`, `customers:update`,
66
+ * `suppliers:update`.
67
+ *
56
68
  * @example
57
69
  * ```ts
58
70
  * const part = await client.catalog.parts.update(
@@ -75,6 +87,9 @@ export class Parts extends APIResource {
75
87
  * other endpoints, but the record is retained. Deleting an already-deleted part
76
88
  * returns an error.
77
89
  *
90
+ * This endpoint requires the permissions: `parts:delete`, `customers:update`,
91
+ * `suppliers:update`.
92
+ *
78
93
  * @example
79
94
  * ```ts
80
95
  * const part = await client.catalog.parts.delete(
@@ -1 +1 @@
1
- {"version":3,"file":"parts.mjs","sourceRoot":"","sources":["../../src/resources/catalog/parts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAMf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,KAAM,SAAQ,WAAW;IACpC;;;;;;;OAOG;IACH,IAAI,CAAC,QAA2C,EAAE,EAAE,OAAwB;QAC1E,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CACN,EAAU,EACV,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,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EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CAAC,MAAwB,EAAE,OAAwB;QACvD,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,MAAM,CACJ,EAAU,EACV,SAA8C,EAAE,EAChD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACrG,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,qBAAqB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;CACF"}
@@ -11,6 +11,9 @@ export declare class ProductLines extends APIResource {
11
11
  * Returns a paginated list of product lines, including account-owned and system
12
12
  * product lines.
13
13
  *
14
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
15
+ * `suppliers:read`.
16
+ *
14
17
  * @example
15
18
  * ```ts
16
19
  * const listProductLine =
@@ -22,6 +25,9 @@ export declare class ProductLines extends APIResource {
22
25
  * Returns a product line by ID, including system-owned product lines accessible to
23
26
  * the account.
24
27
  *
28
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
29
+ * `suppliers:read`.
30
+ *
25
31
  * @example
26
32
  * ```ts
27
33
  * const productLine =
@@ -34,6 +40,8 @@ export declare class ProductLines extends APIResource {
34
40
  /**
35
41
  * Creates an account-owned product line.
36
42
  *
43
+ * This endpoint requires the permission: `product_lines:create`.
44
+ *
37
45
  * @example
38
46
  * ```ts
39
47
  * const productLine =
@@ -52,6 +60,8 @@ export declare class ProductLines extends APIResource {
52
60
  * Only the provided fields are changed. The reserved default product lines
53
61
  * (shipping, service, credit, tax) cannot be updated.
54
62
  *
63
+ * This endpoint requires the permission: `product_lines:update`.
64
+ *
55
65
  * @example
56
66
  * ```ts
57
67
  * const productLine =
@@ -68,6 +78,8 @@ export declare class ProductLines extends APIResource {
68
78
  * The reserved default product lines (shipping, service, credit, tax) cannot be
69
79
  * deleted.
70
80
  *
81
+ * This endpoint requires the permission: `product_lines:delete`.
82
+ *
71
83
  * @example
72
84
  * ```ts
73
85
  * const productLine =
@@ -1 +1 @@
1
- {"version":3,"file":"product-lines.d.mts","sourceRoot":"","sources":["../../src/resources/catalog/product-lines.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,W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Eb;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,eAAe,GAAG,YAAY,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,eAAe,GAAG,YAAY,CAAC,CAAC;IAE1D;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,CAAC;IAE/D;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAEnD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
1
+ {"version":3,"file":"product-lines.d.mts","sourceRoot":"","sources":["../../src/resources/catalog/product-lines.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAA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CAC3D;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;;;OAMG;IACH,iBAAiB,EAAE,oBAAoB,GAAG,mBAAmB,CAAC;IAE9D;;;;;;OAMG;IACH,cAAc,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAElD;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;OAKG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,eAAe,GAAG,YAAY,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,OAAO,GAAG,eAAe,GAAG,YAAY,CAAC,CAAC;IAE1D;;;;;;OAMG;IACH,iBAAiB,CAAC,EAAE,oBAAoB,GAAG,mBAAmB,CAAC;IAE/D;;;;;;OAMG;IACH,cAAc,CAAC,EAAE,cAAc,GAAG,gBAAgB,CAAC;IAEnD;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;CACH"}
@@ -11,6 +11,9 @@ export declare class ProductLines extends APIResource {
11
11
  * Returns a paginated list of product lines, including account-owned and system
12
12
  * product lines.
13
13
  *
14
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
15
+ * `suppliers:read`.
16
+ *
14
17
  * @example
15
18
  * ```ts
16
19
  * const listProductLine =
@@ -22,6 +25,9 @@ export declare class ProductLines extends APIResource {
22
25
  * Returns a product line by ID, including system-owned product lines accessible to
23
26
  * the account.
24
27
  *
28
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
29
+ * `suppliers:read`.
30
+ *
25
31
  * @example
26
32
  * ```ts
27
33
  * const productLine =
@@ -34,6 +40,8 @@ export declare class ProductLines extends APIResource {
34
40
  /**
35
41
  * Creates an account-owned product line.
36
42
  *
43
+ * This endpoint requires the permission: `product_lines:create`.
44
+ *
37
45
  * @example
38
46
  * ```ts
39
47
  * const productLine =
@@ -52,6 +60,8 @@ export declare class ProductLines extends APIResource {
52
60
  * Only the provided fields are changed. The reserved default product lines
53
61
  * (shipping, service, credit, tax) cannot be updated.
54
62
  *
63
+ * This endpoint requires the permission: `product_lines:update`.
64
+ *
55
65
  * @example
56
66
  * ```ts
57
67
  * const productLine =
@@ -68,6 +78,8 @@ export declare class ProductLines extends APIResource {
68
78
  * The reserved default product lines (shipping, service, credit, tax) cannot be
69
79
  * deleted.
70
80
  *
81
+ * This endpoint requires the permission: `product_lines:delete`.
82
+ *
71
83
  * @example
72
84
  * ```ts
73
85
  * const productLine =
@@ -1 +1 @@
1
- {"version":3,"file":"product-lines.d.ts","sourceRoot":"","sources":["../../src/resources/catalog/product-lines.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,aAAa;OAClB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAA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Lines extends resource_1.APIResource {
12
12
  * Returns a paginated list of product lines, including account-owned and system
13
13
  * product lines.
14
14
  *
15
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
16
+ * `suppliers:read`.
17
+ *
15
18
  * @example
16
19
  * ```ts
17
20
  * const listProductLine =
@@ -25,6 +28,9 @@ class ProductLines extends resource_1.APIResource {
25
28
  * Returns a product line by ID, including system-owned product lines accessible to
26
29
  * the account.
27
30
  *
31
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
32
+ * `suppliers:read`.
33
+ *
28
34
  * @example
29
35
  * ```ts
30
36
  * const productLine =
@@ -39,6 +45,8 @@ class ProductLines extends resource_1.APIResource {
39
45
  /**
40
46
  * Creates an account-owned product line.
41
47
  *
48
+ * This endpoint requires the permission: `product_lines:create`.
49
+ *
42
50
  * @example
43
51
  * ```ts
44
52
  * const productLine =
@@ -60,6 +68,8 @@ class ProductLines extends resource_1.APIResource {
60
68
  * Only the provided fields are changed. The reserved default product lines
61
69
  * (shipping, service, credit, tax) cannot be updated.
62
70
  *
71
+ * This endpoint requires the permission: `product_lines:update`.
72
+ *
63
73
  * @example
64
74
  * ```ts
65
75
  * const productLine =
@@ -83,6 +93,8 @@ class ProductLines extends resource_1.APIResource {
83
93
  * The reserved default product lines (shipping, service, credit, tax) cannot be
84
94
  * deleted.
85
95
  *
96
+ * This endpoint requires the permission: `product_lines:delete`.
97
+ *
86
98
  * @example
87
99
  * ```ts
88
100
  * const productLine =
@@ -1 +1 @@
1
- {"version":3,"file":"product-lines.js","sourceRoot":"","sources":["../../src/resources/catalog/product-lines.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAKlD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;OASG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,EAAE,KA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AC,MAAM,CAAC,IAAA,WAAI,EAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF;AAlHD,oCAkHC"}
@@ -9,6 +9,9 @@ export class ProductLines extends APIResource {
9
9
  * Returns a paginated list of product lines, including account-owned and system
10
10
  * product lines.
11
11
  *
12
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
13
+ * `suppliers:read`.
14
+ *
12
15
  * @example
13
16
  * ```ts
14
17
  * const listProductLine =
@@ -22,6 +25,9 @@ export class ProductLines extends APIResource {
22
25
  * Returns a product line by ID, including system-owned product lines accessible to
23
26
  * the account.
24
27
  *
28
+ * This endpoint requires the permissions: `product_lines:read`, `customers:read`,
29
+ * `suppliers:read`.
30
+ *
25
31
  * @example
26
32
  * ```ts
27
33
  * const productLine =
@@ -36,6 +42,8 @@ export class ProductLines extends APIResource {
36
42
  /**
37
43
  * Creates an account-owned product line.
38
44
  *
45
+ * This endpoint requires the permission: `product_lines:create`.
46
+ *
39
47
  * @example
40
48
  * ```ts
41
49
  * const productLine =
@@ -57,6 +65,8 @@ export class ProductLines extends APIResource {
57
65
  * Only the provided fields are changed. The reserved default product lines
58
66
  * (shipping, service, credit, tax) cannot be updated.
59
67
  *
68
+ * This endpoint requires the permission: `product_lines:update`.
69
+ *
60
70
  * @example
61
71
  * ```ts
62
72
  * const productLine =
@@ -80,6 +90,8 @@ export class ProductLines extends APIResource {
80
90
  * The reserved default product lines (shipping, service, credit, tax) cannot be
81
91
  * deleted.
82
92
  *
93
+ * This endpoint requires the permission: `product_lines:delete`.
94
+ *
83
95
  * @example
84
96
  * ```ts
85
97
  * const productLine =
@@ -1 +1 @@
1
- {"version":3,"file":"product-lines.mjs","sourceRoot":"","sources":["../../src/resources/catalog/product-lines.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAKf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW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AAC;IACL,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,6BAA6B,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;CACF"}
@@ -12,6 +12,9 @@ export declare class Products extends APIResource {
12
12
  /**
13
13
  * Returns a paginated list of products for the target account.
14
14
  *
15
+ * This endpoint requires the permissions: `items:read`, `customers:read`,
16
+ * `suppliers:read`.
17
+ *
15
18
  * @example
16
19
  * ```ts
17
20
  * const listProduct = await client.catalog.products.list();
@@ -21,6 +24,9 @@ export declare class Products extends APIResource {
21
24
  /**
22
25
  * Returns a product by ID.
23
26
  *
27
+ * This endpoint requires the permissions: `items:read`, `customers:read`,
28
+ * `suppliers:read`.
29
+ *
24
30
  * @example
25
31
  * ```ts
26
32
  * const product = await client.catalog.products.retrieve(
@@ -36,6 +42,8 @@ export declare class Products extends APIResource {
36
42
  * zero rates in the category's base unit unless `unit_price` or `unit_cost` is
37
43
  * provided.
38
44
  *
45
+ * This endpoint requires the permission: `items:create`.
46
+ *
39
47
  * @example
40
48
  * ```ts
41
49
  * const product = await client.catalog.products.create({
@@ -49,6 +57,8 @@ export declare class Products extends APIResource {
49
57
  /**
50
58
  * Partially updates a product.
51
59
  *
60
+ * This endpoint requires the permission: `items:update`.
61
+ *
52
62
  * @example
53
63
  * ```ts
54
64
  * const product = await client.catalog.products.update(
@@ -61,6 +71,8 @@ export declare class Products extends APIResource {
61
71
  /**
62
72
  * Soft-deletes a product and returns the deleted product.
63
73
  *
74
+ * This endpoint requires the permission: `items:delete`.
75
+ *
64
76
  * @example
65
77
  * ```ts
66
78
  * const product = await client.catalog.products.delete(
@@ -72,6 +84,8 @@ export declare class Products extends APIResource {
72
84
  /**
73
85
  * Changes the product line assignment for a product.
74
86
  *
87
+ * This endpoint requires the permission: `items:update`.
88
+ *
75
89
  * @example
76
90
  * ```ts
77
91
  * const product =
@@ -118,11 +132,11 @@ export interface CreateProductRequest {
118
132
  */
119
133
  attribute_ids?: Array<string>;
120
134
  /**
121
- * Description.
135
+ * Free-form description of the product.
122
136
  */
123
137
  description?: string;
124
138
  /**
125
- * Notes.
139
+ * Free-form notes about the product.
126
140
  */
127
141
  notes?: string;
128
142
  /**
@@ -226,13 +240,13 @@ export interface Product {
226
240
  */
227
241
  export interface UpdateProductRequest {
228
242
  /**
229
- * Description.
243
+ * Free-form description of the product.
230
244
  *
231
245
  * Send `null` to clear.
232
246
  */
233
247
  description?: string | null;
234
248
  /**
235
- * Notes.
249
+ * Free-form notes about the product.
236
250
  *
237
251
  * Send `null` to clear.
238
252
  */
@@ -355,11 +369,11 @@ export interface ProductCreateParams {
355
369
  */
356
370
  attribute_ids?: Array<string>;
357
371
  /**
358
- * Body param: Description.
372
+ * Body param: Free-form description of the product.
359
373
  */
360
374
  description?: string;
361
375
  /**
362
- * Body param: Notes.
376
+ * Body param: Free-form notes about the product.
363
377
  */
364
378
  notes?: string;
365
379
  /**
@@ -395,13 +409,13 @@ export interface ProductUpdateParams {
395
409
  */
396
410
  include?: Array<'product_line' | 'product_line.unit_group' | 'product_line.unit_group.base_unit' | 'product_line.unit_group.associated_units' | 'product_line.unit_group.associated_units.unit' | 'item' | 'item.category' | 'item.category.properties' | 'item.category.unit_group' | 'item.category.unit_group.base_unit' | 'item.category.unit_group.associated_units' | 'item.category.unit_group.associated_units.unit' | 'item.unit_value' | 'item.unit_cost' | 'item.burn_rate' | 'item.attributes'>;
397
411
  /**
398
- * Body param: Description.
412
+ * Body param: Free-form description of the product.
399
413
  *
400
414
  * Send `null` to clear.
401
415
  */
402
416
  description?: string | null;
403
417
  /**
404
- * Body param: Notes.
418
+ * Body param: Free-form notes about the product.
405
419
  *
406
420
  * Send `null` to clear.
407
421
  */
@@ -1 +1 @@
1
- {"version":3,"file":"products.d.mts","sourceRoot":"","sources":["../../src/resources/catalog/products.ts"],"names":[],"mappings":"O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