@augno/sdk 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (798) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/client.d.mts +11 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +15 -9
  11. package/resources/auth/api-keys/actions.d.mts +2 -0
  12. package/resources/auth/api-keys/actions.d.mts.map +1 -1
  13. package/resources/auth/api-keys/actions.d.ts +2 -0
  14. package/resources/auth/api-keys/actions.d.ts.map +1 -1
  15. package/resources/auth/api-keys/actions.js +2 -0
  16. package/resources/auth/api-keys/actions.js.map +1 -1
  17. package/resources/auth/api-keys/actions.mjs +2 -0
  18. package/resources/auth/api-keys/actions.mjs.map +1 -1
  19. package/resources/auth/api-keys/api-keys.d.mts +12 -3
  20. package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
  21. package/resources/auth/api-keys/api-keys.d.ts +12 -3
  22. package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
  23. package/resources/auth/api-keys/api-keys.js +9 -0
  24. package/resources/auth/api-keys/api-keys.js.map +1 -1
  25. package/resources/auth/api-keys/api-keys.mjs +9 -0
  26. package/resources/auth/api-keys/api-keys.mjs.map +1 -1
  27. package/resources/catalog/item-categories/item-categories.d.mts +17 -1
  28. package/resources/catalog/item-categories/item-categories.d.mts.map +1 -1
  29. package/resources/catalog/item-categories/item-categories.d.ts +17 -1
  30. package/resources/catalog/item-categories/item-categories.d.ts.map +1 -1
  31. package/resources/catalog/item-categories/item-categories.js +17 -1
  32. package/resources/catalog/item-categories/item-categories.js.map +1 -1
  33. package/resources/catalog/item-categories/item-categories.mjs +17 -1
  34. package/resources/catalog/item-categories/item-categories.mjs.map +1 -1
  35. package/resources/catalog/item-categories/properties.d.mts +4 -0
  36. package/resources/catalog/item-categories/properties.d.mts.map +1 -1
  37. package/resources/catalog/item-categories/properties.d.ts +4 -0
  38. package/resources/catalog/item-categories/properties.d.ts.map +1 -1
  39. package/resources/catalog/item-categories/properties.js +4 -0
  40. package/resources/catalog/item-categories/properties.js.map +1 -1
  41. package/resources/catalog/item-categories/properties.mjs +4 -0
  42. package/resources/catalog/item-categories/properties.mjs.map +1 -1
  43. package/resources/catalog/items/attributes.d.mts +4 -0
  44. package/resources/catalog/items/attributes.d.mts.map +1 -1
  45. package/resources/catalog/items/attributes.d.ts +4 -0
  46. package/resources/catalog/items/attributes.d.ts.map +1 -1
  47. package/resources/catalog/items/attributes.js +4 -0
  48. package/resources/catalog/items/attributes.js.map +1 -1
  49. package/resources/catalog/items/attributes.mjs +4 -0
  50. package/resources/catalog/items/attributes.mjs.map +1 -1
  51. package/resources/catalog/items/items.d.mts +8 -0
  52. package/resources/catalog/items/items.d.mts.map +1 -1
  53. package/resources/catalog/items/items.d.ts +8 -0
  54. package/resources/catalog/items/items.d.ts.map +1 -1
  55. package/resources/catalog/items/items.js +8 -0
  56. package/resources/catalog/items/items.js.map +1 -1
  57. package/resources/catalog/items/items.mjs +8 -0
  58. package/resources/catalog/items/items.mjs.map +1 -1
  59. package/resources/catalog/materials.d.mts +66 -10
  60. package/resources/catalog/materials.d.mts.map +1 -1
  61. package/resources/catalog/materials.d.ts +66 -10
  62. package/resources/catalog/materials.d.ts.map +1 -1
  63. package/resources/catalog/materials.js +57 -1
  64. package/resources/catalog/materials.js.map +1 -1
  65. package/resources/catalog/materials.mjs +57 -1
  66. package/resources/catalog/materials.mjs.map +1 -1
  67. package/resources/catalog/parts.d.mts +30 -0
  68. package/resources/catalog/parts.d.mts.map +1 -1
  69. package/resources/catalog/parts.d.ts +30 -0
  70. package/resources/catalog/parts.d.ts.map +1 -1
  71. package/resources/catalog/parts.js +30 -0
  72. package/resources/catalog/parts.js.map +1 -1
  73. package/resources/catalog/parts.mjs +30 -0
  74. package/resources/catalog/parts.mjs.map +1 -1
  75. package/resources/catalog/product-lines.d.mts +18 -1
  76. package/resources/catalog/product-lines.d.mts.map +1 -1
  77. package/resources/catalog/product-lines.d.ts +18 -1
  78. package/resources/catalog/product-lines.d.ts.map +1 -1
  79. package/resources/catalog/product-lines.js +18 -1
  80. package/resources/catalog/product-lines.js.map +1 -1
  81. package/resources/catalog/product-lines.mjs +18 -1
  82. package/resources/catalog/product-lines.mjs.map +1 -1
  83. package/resources/catalog/products.d.mts +52 -9
  84. package/resources/catalog/products.d.mts.map +1 -1
  85. package/resources/catalog/products.d.ts +52 -9
  86. package/resources/catalog/products.d.ts.map +1 -1
  87. package/resources/catalog/products.js +44 -1
  88. package/resources/catalog/products.js.map +1 -1
  89. package/resources/catalog/products.mjs +44 -1
  90. package/resources/catalog/products.mjs.map +1 -1
  91. package/resources/catalog/properties/attributes.d.mts +12 -0
  92. package/resources/catalog/properties/attributes.d.mts.map +1 -1
  93. package/resources/catalog/properties/attributes.d.ts +12 -0
  94. package/resources/catalog/properties/attributes.d.ts.map +1 -1
  95. package/resources/catalog/properties/attributes.js +12 -0
  96. package/resources/catalog/properties/attributes.js.map +1 -1
  97. package/resources/catalog/properties/attributes.mjs +12 -0
  98. package/resources/catalog/properties/attributes.mjs.map +1 -1
  99. package/resources/catalog/properties/properties.d.mts +10 -0
  100. package/resources/catalog/properties/properties.d.mts.map +1 -1
  101. package/resources/catalog/properties/properties.d.ts +10 -0
  102. package/resources/catalog/properties/properties.d.ts.map +1 -1
  103. package/resources/catalog/properties/properties.js +10 -0
  104. package/resources/catalog/properties/properties.js.map +1 -1
  105. package/resources/catalog/properties/properties.mjs +10 -0
  106. package/resources/catalog/properties/properties.mjs.map +1 -1
  107. package/resources/catalog/unit-groups/unit-groups.d.mts +29 -7
  108. package/resources/catalog/unit-groups/unit-groups.d.mts.map +1 -1
  109. package/resources/catalog/unit-groups/unit-groups.d.ts +29 -7
  110. package/resources/catalog/unit-groups/unit-groups.d.ts.map +1 -1
  111. package/resources/catalog/unit-groups/unit-groups.js +23 -2
  112. package/resources/catalog/unit-groups/unit-groups.js.map +1 -1
  113. package/resources/catalog/unit-groups/unit-groups.mjs +23 -2
  114. package/resources/catalog/unit-groups/unit-groups.mjs.map +1 -1
  115. package/resources/catalog/unit-groups/units.d.mts +12 -0
  116. package/resources/catalog/unit-groups/units.d.mts.map +1 -1
  117. package/resources/catalog/unit-groups/units.d.ts +12 -0
  118. package/resources/catalog/unit-groups/units.d.ts.map +1 -1
  119. package/resources/catalog/unit-groups/units.js +12 -0
  120. package/resources/catalog/unit-groups/units.js.map +1 -1
  121. package/resources/catalog/unit-groups/units.mjs +12 -0
  122. package/resources/catalog/unit-groups/units.mjs.map +1 -1
  123. package/resources/catalog/units.d.mts +56 -26
  124. package/resources/catalog/units.d.mts.map +1 -1
  125. package/resources/catalog/units.d.ts +56 -26
  126. package/resources/catalog/units.d.ts.map +1 -1
  127. package/resources/catalog/units.js +22 -3
  128. package/resources/catalog/units.js.map +1 -1
  129. package/resources/catalog/units.mjs +22 -3
  130. package/resources/catalog/units.mjs.map +1 -1
  131. package/resources/core/addresses/actions.d.mts +1 -0
  132. package/resources/core/addresses/actions.d.mts.map +1 -1
  133. package/resources/core/addresses/actions.d.ts +1 -0
  134. package/resources/core/addresses/actions.d.ts.map +1 -1
  135. package/resources/core/addresses/actions.js +1 -0
  136. package/resources/core/addresses/actions.js.map +1 -1
  137. package/resources/core/addresses/actions.mjs +1 -0
  138. package/resources/core/addresses/actions.mjs.map +1 -1
  139. package/resources/core/audit-events.d.mts +22 -7
  140. package/resources/core/audit-events.d.mts.map +1 -1
  141. package/resources/core/audit-events.d.ts +22 -7
  142. package/resources/core/audit-events.d.ts.map +1 -1
  143. package/resources/core/audit-events.js +6 -0
  144. package/resources/core/audit-events.js.map +1 -1
  145. package/resources/core/audit-events.mjs +6 -0
  146. package/resources/core/audit-events.mjs.map +1 -1
  147. package/resources/core/core.d.mts +103 -0
  148. package/resources/core/core.d.mts.map +1 -1
  149. package/resources/core/core.d.ts +103 -0
  150. package/resources/core/core.d.ts.map +1 -1
  151. package/resources/core/core.js +19 -0
  152. package/resources/core/core.js.map +1 -1
  153. package/resources/core/core.mjs +19 -0
  154. package/resources/core/core.mjs.map +1 -1
  155. package/resources/core/email-logs.d.mts +6 -1
  156. package/resources/core/email-logs.d.mts.map +1 -1
  157. package/resources/core/email-logs.d.ts +6 -1
  158. package/resources/core/email-logs.d.ts.map +1 -1
  159. package/resources/core/email-logs.js +4 -0
  160. package/resources/core/email-logs.js.map +1 -1
  161. package/resources/core/email-logs.mjs +4 -0
  162. package/resources/core/email-logs.mjs.map +1 -1
  163. package/resources/core/index.d.mts +1 -1
  164. package/resources/core/index.d.mts.map +1 -1
  165. package/resources/core/index.d.ts +1 -1
  166. package/resources/core/index.d.ts.map +1 -1
  167. package/resources/core/index.js.map +1 -1
  168. package/resources/core/index.mjs.map +1 -1
  169. package/resources/core/request-logs.d.mts +21 -7
  170. package/resources/core/request-logs.d.mts.map +1 -1
  171. package/resources/core/request-logs.d.ts +21 -7
  172. package/resources/core/request-logs.d.ts.map +1 -1
  173. package/resources/core/request-logs.js +4 -0
  174. package/resources/core/request-logs.js.map +1 -1
  175. package/resources/core/request-logs.mjs +4 -0
  176. package/resources/core/request-logs.mjs.map +1 -1
  177. package/resources/core/sandboxes.d.mts +11 -3
  178. package/resources/core/sandboxes.d.mts.map +1 -1
  179. package/resources/core/sandboxes.d.ts +11 -3
  180. package/resources/core/sandboxes.d.ts.map +1 -1
  181. package/resources/core/sandboxes.js +8 -0
  182. package/resources/core/sandboxes.js.map +1 -1
  183. package/resources/core/sandboxes.mjs +8 -0
  184. package/resources/core/sandboxes.mjs.map +1 -1
  185. package/resources/finance/payment-terms.d.mts +10 -0
  186. package/resources/finance/payment-terms.d.mts.map +1 -1
  187. package/resources/finance/payment-terms.d.ts +10 -0
  188. package/resources/finance/payment-terms.d.ts.map +1 -1
  189. package/resources/finance/payment-terms.js +10 -0
  190. package/resources/finance/payment-terms.js.map +1 -1
  191. package/resources/finance/payment-terms.mjs +10 -0
  192. package/resources/finance/payment-terms.mjs.map +1 -1
  193. package/resources/identity/account-users/account-users.d.mts +26 -5
  194. package/resources/identity/account-users/account-users.d.mts.map +1 -1
  195. package/resources/identity/account-users/account-users.d.ts +26 -5
  196. package/resources/identity/account-users/account-users.d.ts.map +1 -1
  197. package/resources/identity/account-users/account-users.js +21 -0
  198. package/resources/identity/account-users/account-users.js.map +1 -1
  199. package/resources/identity/account-users/account-users.mjs +21 -0
  200. package/resources/identity/account-users/account-users.mjs.map +1 -1
  201. package/resources/identity/account-users/actions.d.mts +9 -0
  202. package/resources/identity/account-users/actions.d.mts.map +1 -1
  203. package/resources/identity/account-users/actions.d.ts +9 -0
  204. package/resources/identity/account-users/actions.d.ts.map +1 -1
  205. package/resources/identity/account-users/actions.js +9 -0
  206. package/resources/identity/account-users/actions.js.map +1 -1
  207. package/resources/identity/account-users/actions.mjs +9 -0
  208. package/resources/identity/account-users/actions.mjs.map +1 -1
  209. package/resources/identity/roles.d.mts +33 -17
  210. package/resources/identity/roles.d.mts.map +1 -1
  211. package/resources/identity/roles.d.ts +33 -17
  212. package/resources/identity/roles.d.ts.map +1 -1
  213. package/resources/identity/roles.js +20 -6
  214. package/resources/identity/roles.js.map +1 -1
  215. package/resources/identity/roles.mjs +20 -6
  216. package/resources/identity/roles.mjs.map +1 -1
  217. package/resources/index.d.mts +2 -1
  218. package/resources/index.d.mts.map +1 -1
  219. package/resources/index.d.ts +2 -1
  220. package/resources/index.d.ts.map +1 -1
  221. package/resources/index.js +3 -1
  222. package/resources/index.js.map +1 -1
  223. package/resources/index.mjs +1 -0
  224. package/resources/index.mjs.map +1 -1
  225. package/resources/messaging/announcements/actions.d.mts +76 -0
  226. package/resources/messaging/announcements/actions.d.mts.map +1 -0
  227. package/resources/messaging/announcements/actions.d.ts +76 -0
  228. package/resources/messaging/announcements/actions.d.ts.map +1 -0
  229. package/resources/messaging/announcements/actions.js +73 -0
  230. package/resources/messaging/announcements/actions.js.map +1 -0
  231. package/resources/messaging/announcements/actions.mjs +69 -0
  232. package/resources/messaging/announcements/actions.mjs.map +1 -0
  233. package/resources/messaging/announcements/announcements.d.mts +173 -0
  234. package/resources/messaging/announcements/announcements.d.mts.map +1 -0
  235. package/resources/messaging/announcements/announcements.d.ts +173 -0
  236. package/resources/messaging/announcements/announcements.d.ts.map +1 -0
  237. package/resources/messaging/announcements/announcements.js +52 -0
  238. package/resources/messaging/announcements/announcements.js.map +1 -0
  239. package/resources/messaging/announcements/announcements.mjs +47 -0
  240. package/resources/messaging/announcements/announcements.mjs.map +1 -0
  241. package/resources/messaging/announcements/index.d.mts +3 -0
  242. package/resources/messaging/announcements/index.d.mts.map +1 -0
  243. package/resources/messaging/announcements/index.d.ts +3 -0
  244. package/resources/messaging/announcements/index.d.ts.map +1 -0
  245. package/resources/messaging/announcements/index.js +9 -0
  246. package/resources/messaging/announcements/index.js.map +1 -0
  247. package/resources/messaging/announcements/index.mjs +4 -0
  248. package/resources/messaging/announcements/index.mjs.map +1 -0
  249. package/resources/messaging/announcements.d.mts +2 -0
  250. package/resources/messaging/announcements.d.mts.map +1 -0
  251. package/resources/messaging/announcements.d.ts +2 -0
  252. package/resources/messaging/announcements.d.ts.map +1 -0
  253. package/resources/messaging/announcements.js +6 -0
  254. package/resources/messaging/announcements.js.map +1 -0
  255. package/resources/messaging/announcements.mjs +3 -0
  256. package/resources/messaging/announcements.mjs.map +1 -0
  257. package/resources/messaging/blocks.d.mts +674 -0
  258. package/resources/messaging/blocks.d.mts.map +1 -0
  259. package/resources/messaging/blocks.d.ts +674 -0
  260. package/resources/messaging/blocks.d.ts.map +1 -0
  261. package/resources/messaging/blocks.js +61 -0
  262. package/resources/messaging/blocks.js.map +1 -0
  263. package/resources/messaging/blocks.mjs +57 -0
  264. package/resources/messaging/blocks.mjs.map +1 -0
  265. package/resources/messaging/conversations/actions.d.mts +422 -0
  266. package/resources/messaging/conversations/actions.d.mts.map +1 -0
  267. package/resources/messaging/conversations/actions.d.ts +422 -0
  268. package/resources/messaging/conversations/actions.d.ts.map +1 -0
  269. package/resources/messaging/conversations/actions.js +299 -0
  270. package/resources/messaging/conversations/actions.js.map +1 -0
  271. package/resources/messaging/conversations/actions.mjs +295 -0
  272. package/resources/messaging/conversations/actions.mjs.map +1 -0
  273. package/resources/messaging/conversations/attachments/actions.d.mts +87 -0
  274. package/resources/messaging/conversations/attachments/actions.d.mts.map +1 -0
  275. package/resources/messaging/conversations/attachments/actions.d.ts +87 -0
  276. package/resources/messaging/conversations/attachments/actions.d.ts.map +1 -0
  277. package/resources/messaging/conversations/attachments/actions.js +36 -0
  278. package/resources/messaging/conversations/attachments/actions.js.map +1 -0
  279. package/resources/messaging/conversations/attachments/actions.mjs +32 -0
  280. package/resources/messaging/conversations/attachments/actions.mjs.map +1 -0
  281. package/resources/messaging/conversations/attachments/attachments.d.mts +10 -0
  282. package/resources/messaging/conversations/attachments/attachments.d.mts.map +1 -0
  283. package/resources/messaging/conversations/attachments/attachments.d.ts +10 -0
  284. package/resources/messaging/conversations/attachments/attachments.d.ts.map +1 -0
  285. package/resources/messaging/conversations/attachments/attachments.js +17 -0
  286. package/resources/messaging/conversations/attachments/attachments.js.map +1 -0
  287. package/resources/messaging/conversations/attachments/attachments.mjs +12 -0
  288. package/resources/messaging/conversations/attachments/attachments.mjs.map +1 -0
  289. package/resources/messaging/conversations/attachments/index.d.mts +3 -0
  290. package/resources/messaging/conversations/attachments/index.d.mts.map +1 -0
  291. package/resources/messaging/conversations/attachments/index.d.ts +3 -0
  292. package/resources/messaging/conversations/attachments/index.d.ts.map +1 -0
  293. package/resources/messaging/conversations/attachments/index.js +9 -0
  294. package/resources/messaging/conversations/attachments/index.js.map +1 -0
  295. package/resources/messaging/conversations/attachments/index.mjs +4 -0
  296. package/resources/messaging/conversations/attachments/index.mjs.map +1 -0
  297. package/resources/messaging/conversations/attachments.d.mts +2 -0
  298. package/resources/messaging/conversations/attachments.d.mts.map +1 -0
  299. package/resources/messaging/conversations/attachments.d.ts +2 -0
  300. package/resources/messaging/conversations/attachments.d.ts.map +1 -0
  301. package/resources/messaging/conversations/attachments.js +6 -0
  302. package/resources/messaging/conversations/attachments.js.map +1 -0
  303. package/resources/messaging/conversations/attachments.mjs +3 -0
  304. package/resources/messaging/conversations/attachments.mjs.map +1 -0
  305. package/resources/messaging/conversations/conversations.d.mts +1367 -0
  306. package/resources/messaging/conversations/conversations.d.mts.map +1 -0
  307. package/resources/messaging/conversations/conversations.d.ts +1367 -0
  308. package/resources/messaging/conversations/conversations.d.ts.map +1 -0
  309. package/resources/messaging/conversations/conversations.js +113 -0
  310. package/resources/messaging/conversations/conversations.js.map +1 -0
  311. package/resources/messaging/conversations/conversations.mjs +108 -0
  312. package/resources/messaging/conversations/conversations.mjs.map +1 -0
  313. package/resources/messaging/conversations/index.d.mts +7 -0
  314. package/resources/messaging/conversations/index.d.mts.map +1 -0
  315. package/resources/messaging/conversations/index.d.ts +7 -0
  316. package/resources/messaging/conversations/index.d.ts.map +1 -0
  317. package/resources/messaging/conversations/index.js +17 -0
  318. package/resources/messaging/conversations/index.js.map +1 -0
  319. package/resources/messaging/conversations/index.mjs +8 -0
  320. package/resources/messaging/conversations/index.mjs.map +1 -0
  321. package/resources/messaging/conversations/links.d.mts +149 -0
  322. package/resources/messaging/conversations/links.d.mts.map +1 -0
  323. package/resources/messaging/conversations/links.d.ts +149 -0
  324. package/resources/messaging/conversations/links.d.ts.map +1 -0
  325. package/resources/messaging/conversations/links.js +72 -0
  326. package/resources/messaging/conversations/links.js.map +1 -0
  327. package/resources/messaging/conversations/links.mjs +68 -0
  328. package/resources/messaging/conversations/links.mjs.map +1 -0
  329. package/resources/messaging/conversations/messages.d.mts +353 -0
  330. package/resources/messaging/conversations/messages.d.mts.map +1 -0
  331. package/resources/messaging/conversations/messages.d.ts +353 -0
  332. package/resources/messaging/conversations/messages.d.ts.map +1 -0
  333. package/resources/messaging/conversations/messages.js +81 -0
  334. package/resources/messaging/conversations/messages.js.map +1 -0
  335. package/resources/messaging/conversations/messages.mjs +77 -0
  336. package/resources/messaging/conversations/messages.mjs.map +1 -0
  337. package/resources/messaging/conversations/participants/actions.d.mts +62 -0
  338. package/resources/messaging/conversations/participants/actions.d.mts.map +1 -0
  339. package/resources/messaging/conversations/participants/actions.d.ts +62 -0
  340. package/resources/messaging/conversations/participants/actions.d.ts.map +1 -0
  341. package/resources/messaging/conversations/participants/actions.js +35 -0
  342. package/resources/messaging/conversations/participants/actions.js.map +1 -0
  343. package/resources/messaging/conversations/participants/actions.mjs +31 -0
  344. package/resources/messaging/conversations/participants/actions.mjs.map +1 -0
  345. package/resources/messaging/conversations/participants/index.d.mts +3 -0
  346. package/resources/messaging/conversations/participants/index.d.mts.map +1 -0
  347. package/resources/messaging/conversations/participants/index.d.ts +3 -0
  348. package/resources/messaging/conversations/participants/index.d.ts.map +1 -0
  349. package/resources/messaging/conversations/participants/index.js +9 -0
  350. package/resources/messaging/conversations/participants/index.js.map +1 -0
  351. package/resources/messaging/conversations/participants/index.mjs +4 -0
  352. package/resources/messaging/conversations/participants/index.mjs.map +1 -0
  353. package/resources/messaging/conversations/participants/participants.d.mts +100 -0
  354. package/resources/messaging/conversations/participants/participants.d.mts.map +1 -0
  355. package/resources/messaging/conversations/participants/participants.d.ts +100 -0
  356. package/resources/messaging/conversations/participants/participants.d.ts.map +1 -0
  357. package/resources/messaging/conversations/participants/participants.js +64 -0
  358. package/resources/messaging/conversations/participants/participants.js.map +1 -0
  359. package/resources/messaging/conversations/participants/participants.mjs +59 -0
  360. package/resources/messaging/conversations/participants/participants.mjs.map +1 -0
  361. package/resources/messaging/conversations/participants.d.mts +2 -0
  362. package/resources/messaging/conversations/participants.d.mts.map +1 -0
  363. package/resources/messaging/conversations/participants.d.ts +2 -0
  364. package/resources/messaging/conversations/participants.d.ts.map +1 -0
  365. package/resources/messaging/conversations/participants.js +6 -0
  366. package/resources/messaging/conversations/participants.js.map +1 -0
  367. package/resources/messaging/conversations/participants.mjs +3 -0
  368. package/resources/messaging/conversations/participants.mjs.map +1 -0
  369. package/resources/messaging/conversations.d.mts +2 -0
  370. package/resources/messaging/conversations.d.mts.map +1 -0
  371. package/resources/messaging/conversations.d.ts +2 -0
  372. package/resources/messaging/conversations.d.ts.map +1 -0
  373. package/resources/messaging/conversations.js +6 -0
  374. package/resources/messaging/conversations.js.map +1 -0
  375. package/resources/messaging/conversations.mjs +3 -0
  376. package/resources/messaging/conversations.mjs.map +1 -0
  377. package/resources/messaging/email-domains/actions.d.mts +27 -0
  378. package/resources/messaging/email-domains/actions.d.mts.map +1 -0
  379. package/resources/messaging/email-domains/actions.d.ts +27 -0
  380. package/resources/messaging/email-domains/actions.d.ts.map +1 -0
  381. package/resources/messaging/email-domains/actions.js +32 -0
  382. package/resources/messaging/email-domains/actions.js.map +1 -0
  383. package/resources/messaging/email-domains/actions.mjs +28 -0
  384. package/resources/messaging/email-domains/actions.mjs.map +1 -0
  385. package/resources/messaging/email-domains/email-domains.d.mts +136 -0
  386. package/resources/messaging/email-domains/email-domains.d.mts.map +1 -0
  387. package/resources/messaging/email-domains/email-domains.d.ts +136 -0
  388. package/resources/messaging/email-domains/email-domains.d.ts.map +1 -0
  389. package/resources/messaging/email-domains/email-domains.js +70 -0
  390. package/resources/messaging/email-domains/email-domains.js.map +1 -0
  391. package/resources/messaging/email-domains/email-domains.mjs +65 -0
  392. package/resources/messaging/email-domains/email-domains.mjs.map +1 -0
  393. package/resources/messaging/email-domains/index.d.mts +3 -0
  394. package/resources/messaging/email-domains/index.d.mts.map +1 -0
  395. package/resources/messaging/email-domains/index.d.ts +3 -0
  396. package/resources/messaging/email-domains/index.d.ts.map +1 -0
  397. package/resources/messaging/email-domains/index.js +9 -0
  398. package/resources/messaging/email-domains/index.js.map +1 -0
  399. package/resources/messaging/email-domains/index.mjs +4 -0
  400. package/resources/messaging/email-domains/index.mjs.map +1 -0
  401. package/resources/messaging/email-domains.d.mts +2 -0
  402. package/resources/messaging/email-domains.d.mts.map +1 -0
  403. package/resources/messaging/email-domains.d.ts +2 -0
  404. package/resources/messaging/email-domains.d.ts.map +1 -0
  405. package/resources/messaging/email-domains.js +6 -0
  406. package/resources/messaging/email-domains.js.map +1 -0
  407. package/resources/messaging/email-domains.mjs +3 -0
  408. package/resources/messaging/email-domains.mjs.map +1 -0
  409. package/resources/messaging/email-inboxes.d.mts +375 -0
  410. package/resources/messaging/email-inboxes.d.mts.map +1 -0
  411. package/resources/messaging/email-inboxes.d.ts +375 -0
  412. package/resources/messaging/email-inboxes.d.ts.map +1 -0
  413. package/resources/messaging/email-inboxes.js +111 -0
  414. package/resources/messaging/email-inboxes.js.map +1 -0
  415. package/resources/messaging/email-inboxes.mjs +107 -0
  416. package/resources/messaging/email-inboxes.mjs.map +1 -0
  417. package/resources/messaging/groups/groups.d.mts +162 -0
  418. package/resources/messaging/groups/groups.d.mts.map +1 -0
  419. package/resources/messaging/groups/groups.d.ts +162 -0
  420. package/resources/messaging/groups/groups.d.ts.map +1 -0
  421. package/resources/messaging/groups/groups.js +110 -0
  422. package/resources/messaging/groups/groups.js.map +1 -0
  423. package/resources/messaging/groups/groups.mjs +105 -0
  424. package/resources/messaging/groups/groups.mjs.map +1 -0
  425. package/resources/messaging/groups/index.d.mts +3 -0
  426. package/resources/messaging/groups/index.d.mts.map +1 -0
  427. package/resources/messaging/groups/index.d.ts +3 -0
  428. package/resources/messaging/groups/index.d.ts.map +1 -0
  429. package/resources/messaging/groups/index.js +9 -0
  430. package/resources/messaging/groups/index.js.map +1 -0
  431. package/resources/messaging/groups/index.mjs +4 -0
  432. package/resources/messaging/groups/index.mjs.map +1 -0
  433. package/resources/messaging/groups/members.d.mts +84 -0
  434. package/resources/messaging/groups/members.d.mts.map +1 -0
  435. package/resources/messaging/groups/members.d.ts +84 -0
  436. package/resources/messaging/groups/members.d.ts.map +1 -0
  437. package/resources/messaging/groups/members.js +52 -0
  438. package/resources/messaging/groups/members.js.map +1 -0
  439. package/resources/messaging/groups/members.mjs +48 -0
  440. package/resources/messaging/groups/members.mjs.map +1 -0
  441. package/resources/messaging/groups.d.mts +2 -0
  442. package/resources/messaging/groups.d.mts.map +1 -0
  443. package/resources/messaging/groups.d.ts +2 -0
  444. package/resources/messaging/groups.d.ts.map +1 -0
  445. package/resources/messaging/groups.js +6 -0
  446. package/resources/messaging/groups.js.map +1 -0
  447. package/resources/messaging/groups.mjs +3 -0
  448. package/resources/messaging/groups.mjs.map +1 -0
  449. package/resources/messaging/index.d.mts +11 -0
  450. package/resources/messaging/index.d.mts.map +1 -0
  451. package/resources/messaging/index.d.ts +11 -0
  452. package/resources/messaging/index.d.ts.map +1 -0
  453. package/resources/messaging/index.js +25 -0
  454. package/resources/messaging/index.js.map +1 -0
  455. package/resources/messaging/index.mjs +12 -0
  456. package/resources/messaging/index.mjs.map +1 -0
  457. package/resources/messaging/messages/actions.d.mts +95 -0
  458. package/resources/messaging/messages/actions.d.mts.map +1 -0
  459. package/resources/messaging/messages/actions.d.ts +95 -0
  460. package/resources/messaging/messages/actions.d.ts.map +1 -0
  461. package/resources/messaging/messages/actions.js +79 -0
  462. package/resources/messaging/messages/actions.js.map +1 -0
  463. package/resources/messaging/messages/actions.mjs +75 -0
  464. package/resources/messaging/messages/actions.mjs.map +1 -0
  465. package/resources/messaging/messages/index.d.mts +3 -0
  466. package/resources/messaging/messages/index.d.mts.map +1 -0
  467. package/resources/messaging/messages/index.d.ts +3 -0
  468. package/resources/messaging/messages/index.d.ts.map +1 -0
  469. package/resources/messaging/messages/index.js +9 -0
  470. package/resources/messaging/messages/index.js.map +1 -0
  471. package/resources/messaging/messages/index.mjs +4 -0
  472. package/resources/messaging/messages/index.mjs.map +1 -0
  473. package/resources/messaging/messages/messages.d.mts +62 -0
  474. package/resources/messaging/messages/messages.d.mts.map +1 -0
  475. package/resources/messaging/messages/messages.d.ts +62 -0
  476. package/resources/messaging/messages/messages.d.ts.map +1 -0
  477. package/resources/messaging/messages/messages.js +41 -0
  478. package/resources/messaging/messages/messages.js.map +1 -0
  479. package/resources/messaging/messages/messages.mjs +36 -0
  480. package/resources/messaging/messages/messages.mjs.map +1 -0
  481. package/resources/messaging/messages.d.mts +2 -0
  482. package/resources/messaging/messages.d.mts.map +1 -0
  483. package/resources/messaging/messages.d.ts +2 -0
  484. package/resources/messaging/messages.d.ts.map +1 -0
  485. package/resources/messaging/messages.js +6 -0
  486. package/resources/messaging/messages.js.map +1 -0
  487. package/resources/messaging/messages.mjs +3 -0
  488. package/resources/messaging/messages.mjs.map +1 -0
  489. package/resources/messaging/messaging.d.mts +103 -0
  490. package/resources/messaging/messaging.d.mts.map +1 -0
  491. package/resources/messaging/messaging.d.ts +103 -0
  492. package/resources/messaging/messaging.d.ts.map +1 -0
  493. package/resources/messaging/messaging.js +65 -0
  494. package/resources/messaging/messaging.js.map +1 -0
  495. package/resources/messaging/messaging.mjs +60 -0
  496. package/resources/messaging/messaging.mjs.map +1 -0
  497. package/resources/messaging/notifications/actions.d.mts +92 -0
  498. package/resources/messaging/notifications/actions.d.mts.map +1 -0
  499. package/resources/messaging/notifications/actions.d.ts +92 -0
  500. package/resources/messaging/notifications/actions.d.ts.map +1 -0
  501. package/resources/messaging/notifications/actions.js +89 -0
  502. package/resources/messaging/notifications/actions.js.map +1 -0
  503. package/resources/messaging/notifications/actions.mjs +85 -0
  504. package/resources/messaging/notifications/actions.mjs.map +1 -0
  505. package/resources/messaging/notifications/index.d.mts +3 -0
  506. package/resources/messaging/notifications/index.d.mts.map +1 -0
  507. package/resources/messaging/notifications/index.d.ts +3 -0
  508. package/resources/messaging/notifications/index.d.ts.map +1 -0
  509. package/resources/messaging/notifications/index.js +9 -0
  510. package/resources/messaging/notifications/index.js.map +1 -0
  511. package/resources/messaging/notifications/index.mjs +4 -0
  512. package/resources/messaging/notifications/index.mjs.map +1 -0
  513. package/resources/messaging/notifications/notifications.d.mts +444 -0
  514. package/resources/messaging/notifications/notifications.d.mts.map +1 -0
  515. package/resources/messaging/notifications/notifications.d.ts +444 -0
  516. package/resources/messaging/notifications/notifications.d.ts.map +1 -0
  517. package/resources/messaging/notifications/notifications.js +108 -0
  518. package/resources/messaging/notifications/notifications.js.map +1 -0
  519. package/resources/messaging/notifications/notifications.mjs +103 -0
  520. package/resources/messaging/notifications/notifications.mjs.map +1 -0
  521. package/resources/messaging/notifications.d.mts +2 -0
  522. package/resources/messaging/notifications.d.mts.map +1 -0
  523. package/resources/messaging/notifications.d.ts +2 -0
  524. package/resources/messaging/notifications.d.ts.map +1 -0
  525. package/resources/messaging/notifications.js +6 -0
  526. package/resources/messaging/notifications.js.map +1 -0
  527. package/resources/messaging/notifications.mjs +3 -0
  528. package/resources/messaging/notifications.mjs.map +1 -0
  529. package/resources/messaging/preferences.d.mts +180 -0
  530. package/resources/messaging/preferences.d.mts.map +1 -0
  531. package/resources/messaging/preferences.d.ts +180 -0
  532. package/resources/messaging/preferences.d.ts.map +1 -0
  533. package/resources/messaging/preferences.js +47 -0
  534. package/resources/messaging/preferences.js.map +1 -0
  535. package/resources/messaging/preferences.mjs +43 -0
  536. package/resources/messaging/preferences.mjs.map +1 -0
  537. package/resources/messaging.d.mts +2 -0
  538. package/resources/messaging.d.mts.map +1 -0
  539. package/resources/messaging.d.ts +2 -0
  540. package/resources/messaging.d.ts.map +1 -0
  541. package/resources/messaging.js +6 -0
  542. package/resources/messaging.js.map +1 -0
  543. package/resources/messaging.mjs +3 -0
  544. package/resources/messaging.mjs.map +1 -0
  545. package/resources/operations/carriers/carriers.d.mts +20 -7
  546. package/resources/operations/carriers/carriers.d.mts.map +1 -1
  547. package/resources/operations/carriers/carriers.d.ts +20 -7
  548. package/resources/operations/carriers/carriers.d.ts.map +1 -1
  549. package/resources/operations/carriers/carriers.js +16 -1
  550. package/resources/operations/carriers/carriers.js.map +1 -1
  551. package/resources/operations/carriers/carriers.mjs +16 -1
  552. package/resources/operations/carriers/carriers.mjs.map +1 -1
  553. package/resources/operations/carriers/service-levels.d.mts +15 -0
  554. package/resources/operations/carriers/service-levels.d.mts.map +1 -1
  555. package/resources/operations/carriers/service-levels.d.ts +15 -0
  556. package/resources/operations/carriers/service-levels.d.ts.map +1 -1
  557. package/resources/operations/carriers/service-levels.js +15 -0
  558. package/resources/operations/carriers/service-levels.js.map +1 -1
  559. package/resources/operations/carriers/service-levels.mjs +15 -0
  560. package/resources/operations/carriers/service-levels.mjs.map +1 -1
  561. package/resources/operations/location-types.d.mts +6 -2
  562. package/resources/operations/location-types.d.mts.map +1 -1
  563. package/resources/operations/location-types.d.ts +6 -2
  564. package/resources/operations/location-types.d.ts.map +1 -1
  565. package/resources/operations/location-types.js +4 -0
  566. package/resources/operations/location-types.js.map +1 -1
  567. package/resources/operations/location-types.mjs +4 -0
  568. package/resources/operations/location-types.mjs.map +1 -1
  569. package/resources/operations/locations.d.mts +27 -10
  570. package/resources/operations/locations.d.mts.map +1 -1
  571. package/resources/operations/locations.d.ts +27 -10
  572. package/resources/operations/locations.d.ts.map +1 -1
  573. package/resources/operations/locations.js +18 -1
  574. package/resources/operations/locations.js.map +1 -1
  575. package/resources/operations/locations.mjs +18 -1
  576. package/resources/operations/locations.mjs.map +1 -1
  577. package/resources/operations/scanning-stations.d.mts +23 -6
  578. package/resources/operations/scanning-stations.d.mts.map +1 -1
  579. package/resources/operations/scanning-stations.d.ts +23 -6
  580. package/resources/operations/scanning-stations.d.ts.map +1 -1
  581. package/resources/operations/scanning-stations.js +18 -1
  582. package/resources/operations/scanning-stations.js.map +1 -1
  583. package/resources/operations/scanning-stations.mjs +18 -1
  584. package/resources/operations/scanning-stations.mjs.map +1 -1
  585. package/resources/operations/shipping-terms.d.mts +37 -2
  586. package/resources/operations/shipping-terms.d.mts.map +1 -1
  587. package/resources/operations/shipping-terms.d.ts +37 -2
  588. package/resources/operations/shipping-terms.d.ts.map +1 -1
  589. package/resources/operations/shipping-terms.js +37 -2
  590. package/resources/operations/shipping-terms.js.map +1 -1
  591. package/resources/operations/shipping-terms.mjs +37 -2
  592. package/resources/operations/shipping-terms.mjs.map +1 -1
  593. package/resources/sales/account-groups.d.mts +21 -1
  594. package/resources/sales/account-groups.d.mts.map +1 -1
  595. package/resources/sales/account-groups.d.ts +21 -1
  596. package/resources/sales/account-groups.d.ts.map +1 -1
  597. package/resources/sales/account-groups.js +21 -1
  598. package/resources/sales/account-groups.js.map +1 -1
  599. package/resources/sales/account-groups.mjs +21 -1
  600. package/resources/sales/account-groups.mjs.map +1 -1
  601. package/resources/sales/account-statuses.d.mts +1 -1
  602. package/resources/sales/account-statuses.d.ts +1 -1
  603. package/resources/sales/addresses.d.mts +36 -6
  604. package/resources/sales/addresses.d.mts.map +1 -1
  605. package/resources/sales/addresses.d.ts +36 -6
  606. package/resources/sales/addresses.d.ts.map +1 -1
  607. package/resources/sales/addresses.js +31 -1
  608. package/resources/sales/addresses.js.map +1 -1
  609. package/resources/sales/addresses.mjs +31 -1
  610. package/resources/sales/addresses.mjs.map +1 -1
  611. package/resources/sales/contacts/actions.d.mts +120 -0
  612. package/resources/sales/contacts/actions.d.mts.map +1 -0
  613. package/resources/sales/contacts/actions.d.ts +120 -0
  614. package/resources/sales/contacts/actions.d.ts.map +1 -0
  615. package/resources/sales/contacts/actions.js +38 -0
  616. package/resources/sales/contacts/actions.js.map +1 -0
  617. package/resources/sales/contacts/actions.mjs +34 -0
  618. package/resources/sales/contacts/actions.mjs.map +1 -0
  619. package/resources/sales/contacts/contacts.d.mts +10 -0
  620. package/resources/sales/contacts/contacts.d.mts.map +1 -0
  621. package/resources/sales/contacts/contacts.d.ts +10 -0
  622. package/resources/sales/contacts/contacts.d.ts.map +1 -0
  623. package/resources/sales/contacts/contacts.js +17 -0
  624. package/resources/sales/contacts/contacts.js.map +1 -0
  625. package/resources/sales/contacts/contacts.mjs +12 -0
  626. package/resources/sales/contacts/contacts.mjs.map +1 -0
  627. package/resources/sales/contacts/index.d.mts +3 -0
  628. package/resources/sales/contacts/index.d.mts.map +1 -0
  629. package/resources/sales/contacts/index.d.ts +3 -0
  630. package/resources/sales/contacts/index.d.ts.map +1 -0
  631. package/resources/sales/contacts/index.js +9 -0
  632. package/resources/sales/contacts/index.js.map +1 -0
  633. package/resources/sales/contacts/index.mjs +4 -0
  634. package/resources/sales/contacts/index.mjs.map +1 -0
  635. package/resources/sales/contacts.d.mts +2 -0
  636. package/resources/sales/contacts.d.mts.map +1 -0
  637. package/resources/sales/contacts.d.ts +2 -0
  638. package/resources/sales/contacts.d.ts.map +1 -0
  639. package/resources/sales/contacts.js +6 -0
  640. package/resources/sales/contacts.js.map +1 -0
  641. package/resources/sales/contacts.mjs +3 -0
  642. package/resources/sales/contacts.mjs.map +1 -0
  643. package/resources/sales/customers/actions.d.mts +3 -1
  644. package/resources/sales/customers/actions.d.mts.map +1 -1
  645. package/resources/sales/customers/actions.d.ts +3 -1
  646. package/resources/sales/customers/actions.d.ts.map +1 -1
  647. package/resources/sales/customers/actions.js +2 -0
  648. package/resources/sales/customers/actions.js.map +1 -1
  649. package/resources/sales/customers/actions.mjs +2 -0
  650. package/resources/sales/customers/actions.mjs.map +1 -1
  651. package/resources/sales/customers/customers.d.mts +59 -566
  652. package/resources/sales/customers/customers.d.mts.map +1 -1
  653. package/resources/sales/customers/customers.d.ts +59 -566
  654. package/resources/sales/customers/customers.d.ts.map +1 -1
  655. package/resources/sales/customers/customers.js +52 -13
  656. package/resources/sales/customers/customers.js.map +1 -1
  657. package/resources/sales/customers/customers.mjs +52 -13
  658. package/resources/sales/customers/customers.mjs.map +1 -1
  659. package/resources/sales/customers/index.d.mts +1 -1
  660. package/resources/sales/customers/index.d.mts.map +1 -1
  661. package/resources/sales/customers/index.d.ts +1 -1
  662. package/resources/sales/customers/index.d.ts.map +1 -1
  663. package/resources/sales/customers/index.js.map +1 -1
  664. package/resources/sales/customers/index.mjs.map +1 -1
  665. package/resources/sales/index.d.mts +2 -1
  666. package/resources/sales/index.d.mts.map +1 -1
  667. package/resources/sales/index.d.ts +2 -1
  668. package/resources/sales/index.d.ts.map +1 -1
  669. package/resources/sales/index.js +5 -3
  670. package/resources/sales/index.js.map +1 -1
  671. package/resources/sales/index.mjs +1 -0
  672. package/resources/sales/index.mjs.map +1 -1
  673. package/resources/sales/priorities.d.mts +5 -1
  674. package/resources/sales/priorities.d.mts.map +1 -1
  675. package/resources/sales/priorities.d.ts +5 -1
  676. package/resources/sales/priorities.d.ts.map +1 -1
  677. package/resources/sales/priorities.js +4 -0
  678. package/resources/sales/priorities.js.map +1 -1
  679. package/resources/sales/priorities.mjs +4 -0
  680. package/resources/sales/priorities.mjs.map +1 -1
  681. package/resources/sales/sales-orders.d.mts +58 -46
  682. package/resources/sales/sales-orders.d.mts.map +1 -1
  683. package/resources/sales/sales-orders.d.ts +58 -46
  684. package/resources/sales/sales-orders.d.ts.map +1 -1
  685. package/resources/sales/sales-orders.js +18 -4
  686. package/resources/sales/sales-orders.js.map +1 -1
  687. package/resources/sales/sales-orders.mjs +18 -4
  688. package/resources/sales/sales-orders.mjs.map +1 -1
  689. package/resources/sales/sales.d.mts +6 -2
  690. package/resources/sales/sales.d.mts.map +1 -1
  691. package/resources/sales/sales.d.ts +6 -2
  692. package/resources/sales/sales.d.ts.map +1 -1
  693. package/resources/sales/sales.js +4 -0
  694. package/resources/sales/sales.js.map +1 -1
  695. package/resources/sales/sales.mjs +4 -0
  696. package/resources/sales/sales.mjs.map +1 -1
  697. package/resources/settings/integrations.d.mts +12 -1
  698. package/resources/settings/integrations.d.mts.map +1 -1
  699. package/resources/settings/integrations.d.ts +12 -1
  700. package/resources/settings/integrations.d.ts.map +1 -1
  701. package/resources/settings/integrations.js +12 -1
  702. package/resources/settings/integrations.js.map +1 -1
  703. package/resources/settings/integrations.mjs +12 -1
  704. package/resources/settings/integrations.mjs.map +1 -1
  705. package/src/client.ts +22 -2
  706. package/src/resources/auth/api-keys/actions.ts +2 -0
  707. package/src/resources/auth/api-keys/api-keys.ts +12 -3
  708. package/src/resources/catalog/item-categories/item-categories.ts +17 -1
  709. package/src/resources/catalog/item-categories/properties.ts +4 -0
  710. package/src/resources/catalog/items/attributes.ts +4 -0
  711. package/src/resources/catalog/items/items.ts +8 -0
  712. package/src/resources/catalog/materials.ts +66 -10
  713. package/src/resources/catalog/parts.ts +30 -0
  714. package/src/resources/catalog/product-lines.ts +18 -1
  715. package/src/resources/catalog/products.ts +52 -9
  716. package/src/resources/catalog/properties/attributes.ts +12 -0
  717. package/src/resources/catalog/properties/properties.ts +10 -0
  718. package/src/resources/catalog/unit-groups/unit-groups.ts +29 -7
  719. package/src/resources/catalog/unit-groups/units.ts +12 -0
  720. package/src/resources/catalog/units.ts +56 -26
  721. package/src/resources/core/addresses/actions.ts +1 -0
  722. package/src/resources/core/audit-events.ts +114 -11
  723. package/src/resources/core/core.ts +602 -0
  724. package/src/resources/core/email-logs.ts +6 -1
  725. package/src/resources/core/index.ts +1 -1
  726. package/src/resources/core/request-logs.ts +22 -7
  727. package/src/resources/core/sandboxes.ts +11 -3
  728. package/src/resources/finance/payment-terms.ts +10 -0
  729. package/src/resources/identity/account-users/account-users.ts +26 -5
  730. package/src/resources/identity/account-users/actions.ts +9 -0
  731. package/src/resources/identity/roles.ts +34 -18
  732. package/src/resources/index.ts +2 -1
  733. package/src/resources/messaging/announcements/actions.ts +119 -0
  734. package/src/resources/messaging/announcements/announcements.ts +234 -0
  735. package/src/resources/messaging/announcements/index.ts +10 -0
  736. package/src/resources/messaging/announcements.ts +3 -0
  737. package/src/resources/messaging/blocks.ts +826 -0
  738. package/src/resources/messaging/conversations/actions.ts +766 -0
  739. package/src/resources/messaging/conversations/attachments/actions.ts +116 -0
  740. package/src/resources/messaging/conversations/attachments/attachments.ts +25 -0
  741. package/src/resources/messaging/conversations/attachments/index.ts +9 -0
  742. package/src/resources/messaging/conversations/attachments.ts +3 -0
  743. package/src/resources/messaging/conversations/conversations.ts +2500 -0
  744. package/src/resources/messaging/conversations/index.ts +81 -0
  745. package/src/resources/messaging/conversations/links.ts +692 -0
  746. package/src/resources/messaging/conversations/messages.ts +929 -0
  747. package/src/resources/messaging/conversations/participants/actions.ts +92 -0
  748. package/src/resources/messaging/conversations/participants/index.ts +10 -0
  749. package/src/resources/messaging/conversations/participants/participants.ts +150 -0
  750. package/src/resources/messaging/conversations/participants.ts +3 -0
  751. package/src/resources/messaging/conversations.ts +3 -0
  752. package/src/resources/messaging/email-domains/actions.ts +32 -0
  753. package/src/resources/messaging/email-domains/email-domains.ts +170 -0
  754. package/src/resources/messaging/email-domains/index.ts +10 -0
  755. package/src/resources/messaging/email-domains.ts +3 -0
  756. package/src/resources/messaging/email-inboxes.ts +462 -0
  757. package/src/resources/messaging/groups/groups.ts +211 -0
  758. package/src/resources/messaging/groups/index.ts +17 -0
  759. package/src/resources/messaging/groups/members.ts +113 -0
  760. package/src/resources/messaging/groups.ts +3 -0
  761. package/src/resources/messaging/index.ts +116 -0
  762. package/src/resources/messaging/messages/actions.ts +184 -0
  763. package/src/resources/messaging/messages/index.ts +10 -0
  764. package/src/resources/messaging/messages/messages.ts +108 -0
  765. package/src/resources/messaging/messages.ts +3 -0
  766. package/src/resources/messaging/messaging.ts +353 -0
  767. package/src/resources/messaging/notifications/actions.ts +139 -0
  768. package/src/resources/messaging/notifications/index.ts +24 -0
  769. package/src/resources/messaging/notifications/notifications.ts +1057 -0
  770. package/src/resources/messaging/notifications.ts +3 -0
  771. package/src/resources/messaging/preferences.ts +215 -0
  772. package/src/resources/messaging.ts +3 -0
  773. package/src/resources/operations/carriers/carriers.ts +20 -7
  774. package/src/resources/operations/carriers/service-levels.ts +15 -0
  775. package/src/resources/operations/location-types.ts +6 -2
  776. package/src/resources/operations/locations.ts +27 -10
  777. package/src/resources/operations/scanning-stations.ts +23 -6
  778. package/src/resources/operations/shipping-terms.ts +37 -2
  779. package/src/resources/sales/account-groups.ts +21 -1
  780. package/src/resources/sales/account-statuses.ts +1 -1
  781. package/src/resources/sales/addresses.ts +36 -6
  782. package/src/resources/sales/contacts/actions.ts +150 -0
  783. package/src/resources/sales/contacts/contacts.ts +27 -0
  784. package/src/resources/sales/contacts/index.ts +10 -0
  785. package/src/resources/sales/contacts.ts +3 -0
  786. package/src/resources/sales/customers/actions.ts +4 -0
  787. package/src/resources/sales/customers/customers.ts +62 -679
  788. package/src/resources/sales/customers/index.ts +0 -15
  789. package/src/resources/sales/index.ts +1 -15
  790. package/src/resources/sales/priorities.ts +5 -1
  791. package/src/resources/sales/sales-orders.ts +58 -48
  792. package/src/resources/sales/sales.ts +6 -30
  793. package/src/resources/settings/integrations.ts +12 -1
  794. package/src/version.ts +1 -1
  795. package/version.d.mts +1 -1
  796. package/version.d.ts +1 -1
  797. package/version.js +1 -1
  798. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"account-users.d.mts","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,UAAU;OACf,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OAChF,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,WAAW,CAAC;IAIvC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CACJ,MAAM,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAAE,cAAc,GACvB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IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC,CAAC;IAEhD;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAEhD;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
1
+ {"version":3,"file":"account-users.d.mts","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,UAAU;OACf,KAAK,UAAU;OACf,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,OA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AwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -1,8 +1,8 @@
1
1
  import { APIResource } from "../../../core/resource.js";
2
+ import * as BlocksAPI from "../../messaging/blocks.js";
2
3
  import * as APIKeysAPI from "../../auth/api-keys/api-keys.js";
3
4
  import * as ActionsAPI from "./actions.js";
4
5
  import { ActionActivateResponse, ActionDisableResponse, ActionRemoveResponse, Actions } from "./actions.js";
5
- import * as CustomersAPI from "../../sales/customers/customers.js";
6
6
  import { APIPromise } from "../../../core/api-promise.js";
7
7
  import { RequestOptions } from "../../../internal/request-options.js";
8
8
  /**
@@ -13,6 +13,9 @@ export declare class AccountUsers extends APIResource {
13
13
  /**
14
14
  * Returns a paginated list of account users for the current account.
15
15
  *
16
+ * This endpoint requires the permissions: `team:read`, `customers:read`,
17
+ * `suppliers:read`.
18
+ *
16
19
  * @example
17
20
  * ```ts
18
21
  * const listAccountUser =
@@ -23,6 +26,9 @@ export declare class AccountUsers extends APIResource {
23
26
  /**
24
27
  * Returns an account user by ID.
25
28
  *
29
+ * This endpoint requires the permissions: `team:read`, `customers:read`,
30
+ * `suppliers:read`.
31
+ *
26
32
  * @example
27
33
  * ```ts
28
34
  * const accountUser =
@@ -31,7 +37,7 @@ export declare class AccountUsers extends APIResource {
31
37
  * );
32
38
  * ```
33
39
  */
34
- retrieve(id: string, query?: AccountUserRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<CustomersAPI.AccountUser>;
40
+ retrieve(id: string, query?: AccountUserRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<BlocksAPI.AccountUser>;
35
41
  /**
36
42
  * Adds a user to the target account.
37
43
  *
@@ -39,10 +45,14 @@ export declare class AccountUsers extends APIResource {
39
45
  * sent a welcome email containing a generated password. If a matching user already
40
46
  * exists, that user is added to the account instead.
41
47
  *
48
+ * This endpoint requires the permissions: `team:create`, `customers:update`,
49
+ * `suppliers:update`.
50
+ *
42
51
  * @example
43
52
  * ```ts
44
53
  * const accountUser =
45
54
  * await client.identity.accountUsers.create({
55
+ * department_id: 'dp_01791c25ab59da4704cba61874',
46
56
  * email: 'jdoe@augno.com',
47
57
  * name: 'John Doe',
48
58
  * password: 'QgS7Z8Hhj3&1',
@@ -57,7 +67,7 @@ export declare class AccountUsers extends APIResource {
57
67
  * });
58
68
  * ```
59
69
  */
60
- create(params?: AccountUserCreateParams | null | undefined, options?: RequestOptions): APIPromise<CustomersAPI.AccountUser>;
70
+ create(params?: AccountUserCreateParams | null | undefined, options?: RequestOptions): APIPromise<BlocksAPI.AccountUser>;
61
71
  /**
62
72
  * Partially updates an account user.
63
73
  *
@@ -65,6 +75,9 @@ export declare class AccountUsers extends APIResource {
65
75
  * update the underlying user, which is shared across every account the user
66
76
  * belongs to.
67
77
  *
78
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
79
+ * `suppliers:update`.
80
+ *
68
81
  * @example
69
82
  * ```ts
70
83
  * const accountUser =
@@ -72,13 +85,21 @@ export declare class AccountUsers extends APIResource {
72
85
  * 'acus_01ea9983ddb41dacc44ecf997c',
73
86
  * {
74
87
  * department_id: 'dp_01791c25ab59da4704cba61874',
88
+ * email: 'jdoe@augno.com',
75
89
  * name: 'John Doe',
90
+ * preferences: [
91
+ * {
92
+ * notification_type: 'order_acknowledgement',
93
+ * enabled: true,
94
+ * },
95
+ * ],
76
96
  * role_id: 'rl_01c16d2eb637c0d1f3a372937c',
97
+ * username: 'jdoe',
77
98
  * },
78
99
  * );
79
100
  * ```
80
101
  */
81
- update(id: string, params?: AccountUserUpdateParams | null | undefined, options?: RequestOptions): APIPromise<CustomersAPI.AccountUser>;
102
+ update(id: string, params?: AccountUserUpdateParams | null | undefined, options?: RequestOptions): APIPromise<BlocksAPI.AccountUser>;
82
103
  }
83
104
  /**
84
105
  * Request to create an account user.
@@ -137,7 +158,7 @@ export interface ListAccountUser {
137
158
  /**
138
159
  * Resources in this page.
139
160
  */
140
- data: Array<CustomersAPI.AccountUser>;
161
+ data: Array<BlocksAPI.AccountUser>;
141
162
  /**
142
163
  * Resource type identifier.
143
164
  */
@@ -1 +1 @@
1
- {"version":3,"file":"account-users.d.ts","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,KAAK,UAAU;OACf,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,OAAO,EAAE;OAChF,KAAK,YAAY;OACjB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;OAQG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,yBAAyB,GAAG,IAAI,GAAG,SAAc,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,YAAY,CAAC,WAAW,CAAC;IAIvC;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CACJ,MAAM,GAAE,uBAAuB,GAAG,IAAI,GAAG,SAAc,EACvD,OAAO,CAAC,EAA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;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC,CAAC;IAEhD;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,0BAA0B,CAAC,CAAC;IAEhD;;;;OAIG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAExB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
1
+ {"version":3,"file":"account-users.d.ts","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,SAAS;OACd,KAAK,UAAU;OACf,KAAK,UAAU;OACf,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,oBA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wB,IAAI,wBAAwB,EACzD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -18,6 +18,9 @@ class AccountUsers extends resource_1.APIResource {
18
18
  /**
19
19
  * Returns a paginated list of account users for the current account.
20
20
  *
21
+ * This endpoint requires the permissions: `team:read`, `customers:read`,
22
+ * `suppliers:read`.
23
+ *
21
24
  * @example
22
25
  * ```ts
23
26
  * const listAccountUser =
@@ -30,6 +33,9 @@ class AccountUsers extends resource_1.APIResource {
30
33
  /**
31
34
  * Returns an account user by ID.
32
35
  *
36
+ * This endpoint requires the permissions: `team:read`, `customers:read`,
37
+ * `suppliers:read`.
38
+ *
33
39
  * @example
34
40
  * ```ts
35
41
  * const accountUser =
@@ -48,10 +54,14 @@ class AccountUsers extends resource_1.APIResource {
48
54
  * sent a welcome email containing a generated password. If a matching user already
49
55
  * exists, that user is added to the account instead.
50
56
  *
57
+ * This endpoint requires the permissions: `team:create`, `customers:update`,
58
+ * `suppliers:update`.
59
+ *
51
60
  * @example
52
61
  * ```ts
53
62
  * const accountUser =
54
63
  * await client.identity.accountUsers.create({
64
+ * department_id: 'dp_01791c25ab59da4704cba61874',
55
65
  * email: 'jdoe@augno.com',
56
66
  * name: 'John Doe',
57
67
  * password: 'QgS7Z8Hhj3&1',
@@ -77,6 +87,9 @@ class AccountUsers extends resource_1.APIResource {
77
87
  * update the underlying user, which is shared across every account the user
78
88
  * belongs to.
79
89
  *
90
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
91
+ * `suppliers:update`.
92
+ *
80
93
  * @example
81
94
  * ```ts
82
95
  * const accountUser =
@@ -84,8 +97,16 @@ class AccountUsers extends resource_1.APIResource {
84
97
  * 'acus_01ea9983ddb41dacc44ecf997c',
85
98
  * {
86
99
  * department_id: 'dp_01791c25ab59da4704cba61874',
100
+ * email: 'jdoe@augno.com',
87
101
  * name: 'John Doe',
102
+ * preferences: [
103
+ * {
104
+ * notification_type: 'order_acknowledgement',
105
+ * enabled: true,
106
+ * },
107
+ * ],
88
108
  * role_id: 'rl_01c16d2eb637c0d1f3a372937c',
109
+ * username: 'jdoe',
89
110
  * },
90
111
  * );
91
112
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"account-users.js","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAErD,iEAAwC;AACxC,0CAAyG;AAIzG,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAsGrE,CAAC;IApGC;;;;;;;;OAQG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CACN,EAAU,EACV,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,MAAM,CACJ,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,MAAM,CACJ,EAAU,EACV,SAAqD,EAAE,EACvD,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,8BAA8B,EAAE,EAAE,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAvGD,oCAuGC;AAmTD,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
1
+ {"version":3,"file":"account-users.js","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAGrD,iEAAwC;AACxC,0CAAyG;AAGzG,0DAAoD;AAEpD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2HrE,CAAC;IAzHC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,EAAU,EACV,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CACJ,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CACJ,EAAU,EACV,SAAqD,EAAE,EACvD,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,8BAA8B,EAAE,EAAE,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA5HD,oCA4HC;AAmTD,YAAY,CAAC,OAAO,GAAG,iBAAO,CAAC"}
@@ -14,6 +14,9 @@ export class AccountUsers extends APIResource {
14
14
  /**
15
15
  * Returns a paginated list of account users for the current account.
16
16
  *
17
+ * This endpoint requires the permissions: `team:read`, `customers:read`,
18
+ * `suppliers:read`.
19
+ *
17
20
  * @example
18
21
  * ```ts
19
22
  * const listAccountUser =
@@ -26,6 +29,9 @@ export class AccountUsers extends APIResource {
26
29
  /**
27
30
  * Returns an account user by ID.
28
31
  *
32
+ * This endpoint requires the permissions: `team:read`, `customers:read`,
33
+ * `suppliers:read`.
34
+ *
29
35
  * @example
30
36
  * ```ts
31
37
  * const accountUser =
@@ -44,10 +50,14 @@ export class AccountUsers extends APIResource {
44
50
  * sent a welcome email containing a generated password. If a matching user already
45
51
  * exists, that user is added to the account instead.
46
52
  *
53
+ * This endpoint requires the permissions: `team:create`, `customers:update`,
54
+ * `suppliers:update`.
55
+ *
47
56
  * @example
48
57
  * ```ts
49
58
  * const accountUser =
50
59
  * await client.identity.accountUsers.create({
60
+ * department_id: 'dp_01791c25ab59da4704cba61874',
51
61
  * email: 'jdoe@augno.com',
52
62
  * name: 'John Doe',
53
63
  * password: 'QgS7Z8Hhj3&1',
@@ -73,6 +83,9 @@ export class AccountUsers extends APIResource {
73
83
  * update the underlying user, which is shared across every account the user
74
84
  * belongs to.
75
85
  *
86
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
87
+ * `suppliers:update`.
88
+ *
76
89
  * @example
77
90
  * ```ts
78
91
  * const accountUser =
@@ -80,8 +93,16 @@ export class AccountUsers extends APIResource {
80
93
  * 'acus_01ea9983ddb41dacc44ecf997c',
81
94
  * {
82
95
  * department_id: 'dp_01791c25ab59da4704cba61874',
96
+ * email: 'jdoe@augno.com',
83
97
  * name: 'John Doe',
98
+ * preferences: [
99
+ * {
100
+ * notification_type: 'order_acknowledgement',
101
+ * enabled: true,
102
+ * },
103
+ * ],
84
104
  * role_id: 'rl_01c16d2eb637c0d1f3a372937c',
105
+ * username: 'jdoe',
85
106
  * },
86
107
  * );
87
108
  * ```
@@ -1 +1 @@
1
- {"version":3,"file":"account-users.mjs","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,UAAU;OACf,EAAuE,OAAO,EAAE;OAIhF,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;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3,"file":"account-users.mjs","sourceRoot":"","sources":["../../../src/resources/identity/account-users/account-users.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,KAAK,UAAU;OACf,EAAuE,OAAO,EAAE;OAGhF,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IA2HrE,CAAC;IAzHC;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,QAAQ,CACN,EAAU,EACV,QAAsD,EAAE,EACxD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACzF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,MAAM,CACJ,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;IACH,MAAM,CACJ,EAAU,EACV,SAAqD,EAAE,EACvD,OAAwB;QAExB,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,IAAI,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,8BAA8B,EAAE,EAAE,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAmTD,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC"}
@@ -12,6 +12,9 @@ export declare class Actions extends APIResource {
12
12
  * Reactivation consumes a seat, so the request fails if the account is at its seat
13
13
  * limit. Activating an already-active user is a no-op.
14
14
  *
15
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
16
+ * `suppliers:update`.
17
+ *
15
18
  * @example
16
19
  * ```ts
17
20
  * const response =
@@ -28,6 +31,9 @@ export declare class Actions extends APIResource {
28
31
  * revoked. Admin users cannot be disabled, you cannot disable yourself, and
29
32
  * removed users must be activated before they can be disabled.
30
33
  *
34
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
35
+ * `suppliers:update`.
36
+ *
31
37
  * @example
32
38
  * ```ts
33
39
  * const response =
@@ -43,6 +49,9 @@ export declare class Actions extends APIResource {
43
49
  * Removal is a soft delete: removed users are excluded from listings unless
44
50
  * requested via `removed_scope`, and can be restored with the activate action.
45
51
  *
52
+ * This endpoint requires the permissions: `team:delete`, `customers:update`,
53
+ * `suppliers:update`.
54
+ *
46
55
  * @example
47
56
  * ```ts
48
57
  * const action =
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/identity/account-users/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;I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AExC,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -12,6 +12,9 @@ export declare class Actions extends APIResource {
12
12
  * Reactivation consumes a seat, so the request fails if the account is at its seat
13
13
  * limit. Activating an already-active user is a no-op.
14
14
  *
15
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
16
+ * `suppliers:update`.
17
+ *
15
18
  * @example
16
19
  * ```ts
17
20
  * const response =
@@ -28,6 +31,9 @@ export declare class Actions extends APIResource {
28
31
  * revoked. Admin users cannot be disabled, you cannot disable yourself, and
29
32
  * removed users must be activated before they can be disabled.
30
33
  *
34
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
35
+ * `suppliers:update`.
36
+ *
31
37
  * @example
32
38
  * ```ts
33
39
  * const response =
@@ -43,6 +49,9 @@ export declare class Actions extends APIResource {
43
49
  * Removal is a soft delete: removed users are excluded from listings unless
44
50
  * requested via `removed_scope`, and can be restored with the activate action.
45
51
  *
52
+ * This endpoint requires the permissions: `team:delete`, `customers:update`,
53
+ * `suppliers:update`.
54
+ *
46
55
  * @example
47
56
  * ```ts
48
57
  * const action =
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/identity/account-users/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,sBAAsB,CAAC;IAIlF;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CA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I,sBAAsB,EACrD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -15,6 +15,9 @@ class Actions extends resource_1.APIResource {
15
15
  * Reactivation consumes a seat, so the request fails if the account is at its seat
16
16
  * limit. Activating an already-active user is a no-op.
17
17
  *
18
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
19
+ * `suppliers:update`.
20
+ *
18
21
  * @example
19
22
  * ```ts
20
23
  * const response =
@@ -33,6 +36,9 @@ class Actions extends resource_1.APIResource {
33
36
  * revoked. Admin users cannot be disabled, you cannot disable yourself, and
34
37
  * removed users must be activated before they can be disabled.
35
38
  *
39
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
40
+ * `suppliers:update`.
41
+ *
36
42
  * @example
37
43
  * ```ts
38
44
  * const response =
@@ -50,6 +56,9 @@ class Actions extends resource_1.APIResource {
50
56
  * Removal is a soft delete: removed users are excluded from listings unless
51
57
  * requested via `removed_scope`, and can be restored with the activate action.
52
58
  *
59
+ * This endpoint requires the permissions: `team:delete`, `customers:update`,
60
+ * `suppliers:update`.
61
+ *
53
62
  * @example
54
63
  * ```ts
55
64
  * const action =
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/identity/account-users/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF;AAxDD,0BAwDC"}
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/identity/account-users/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAGrD,0DAAoD;AAEpD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,8BAA8B,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF;AAjED,0BAiEC"}
@@ -12,6 +12,9 @@ export class Actions extends APIResource {
12
12
  * Reactivation consumes a seat, so the request fails if the account is at its seat
13
13
  * limit. Activating an already-active user is a no-op.
14
14
  *
15
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
16
+ * `suppliers:update`.
17
+ *
15
18
  * @example
16
19
  * ```ts
17
20
  * const response =
@@ -30,6 +33,9 @@ export class Actions extends APIResource {
30
33
  * revoked. Admin users cannot be disabled, you cannot disable yourself, and
31
34
  * removed users must be activated before they can be disabled.
32
35
  *
36
+ * This endpoint requires the permissions: `team:update`, `customers:update`,
37
+ * `suppliers:update`.
38
+ *
33
39
  * @example
34
40
  * ```ts
35
41
  * const response =
@@ -47,6 +53,9 @@ export class Actions extends APIResource {
47
53
  * Removal is a soft delete: removed users are excluded from listings unless
48
54
  * requested via `removed_scope`, and can be restored with the activate action.
49
55
  *
56
+ * This endpoint requires the permissions: `team:delete`, `customers:update`,
57
+ * `suppliers:update`.
58
+ *
50
59
  * @example
51
60
  * ```ts
52
61
  * const action =
@@ -1 +1 @@
1
- {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/identity/account-users/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF"}
1
+ {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/identity/account-users/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAGf,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,mBAAmB,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,OAAO,CAAC,EAAU,EAAE,OAAwB;QAC1C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,kBAAkB,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,8BAA8B,EAAE,iBAAiB,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;CACF"}
@@ -10,6 +10,8 @@ export declare class Roles extends APIResource {
10
10
  * Returns a paginated list of roles for the target account, including global
11
11
  * roles.
12
12
  *
13
+ * This endpoint requires the permission: `roles:read`.
14
+ *
13
15
  * @example
14
16
  * ```ts
15
17
  * const listRole = await client.identity.roles.list();
@@ -19,6 +21,8 @@ export declare class Roles extends APIResource {
19
21
  /**
20
22
  * Returns a role by ID, including its permissions.
21
23
  *
24
+ * This endpoint requires the permission: `roles:read`.
25
+ *
22
26
  * @example
23
27
  * ```ts
24
28
  * const role = await client.identity.roles.retrieve(
@@ -28,8 +32,11 @@ export declare class Roles extends APIResource {
28
32
  */
29
33
  retrieve(id: string, query?: RoleRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<APIKeysAPI.Role>;
30
34
  /**
31
- * Creates a custom role with the specified permissions. Roles created through the
32
- * API always have type `user`.
35
+ * Creates a custom role with the specified permissions.
36
+ *
37
+ * Roles created through the API always have type `user`.
38
+ *
39
+ * This endpoint requires the permission: `roles:create`.
33
40
  *
34
41
  * @example
35
42
  * ```ts
@@ -46,8 +53,11 @@ export declare class Roles extends APIResource {
46
53
  */
47
54
  create(params: RoleCreateParams, options?: RequestOptions): APIPromise<APIKeysAPI.Role>;
48
55
  /**
49
- * Partially updates a custom role's name or permissions. Provided permissions
50
- * replace all existing ones; global roles cannot be modified.
56
+ * Partially updates a custom role's name or permissions.
57
+ *
58
+ * Provided permissions replace all existing ones; global roles cannot be modified.
59
+ *
60
+ * This endpoint requires the permission: `roles:update`.
51
61
  *
52
62
  * @example
53
63
  * ```ts
@@ -62,8 +72,12 @@ export declare class Roles extends APIResource {
62
72
  */
63
73
  update(id: string, params?: RoleUpdateParams | null | undefined, options?: RequestOptions): APIPromise<APIKeysAPI.Role>;
64
74
  /**
65
- * Deletes a role and its associated permissions. Global roles and roles currently
66
- * assigned to one or more users cannot be deleted.
75
+ * Deletes a role and its associated permissions.
76
+ *
77
+ * Global roles and roles currently assigned to one or more users cannot be
78
+ * deleted.
79
+ *
80
+ * This endpoint requires the permission: `roles:delete`.
67
81
  *
68
82
  * @example
69
83
  * ```ts
@@ -88,7 +102,7 @@ export interface CreateRoleRequest {
88
102
  * The action must be one of `create`, `read`, `update`, or `delete`. Omit to
89
103
  * create a role with no permissions.
90
104
  */
91
- permissions: Array<string>;
105
+ permissions?: Array<string>;
92
106
  }
93
107
  /**
94
108
  * List represents a paginated list of resources.
@@ -112,8 +126,9 @@ export interface ListRole {
112
126
  */
113
127
  export interface UpdateRoleRequest {
114
128
  /**
115
- * New display name for the role, unique within the account. Omit to leave
116
- * unchanged.
129
+ * New display name for the role, unique within the account.
130
+ *
131
+ * Omit to leave unchanged.
117
132
  */
118
133
  name?: string;
119
134
  /**
@@ -168,6 +183,11 @@ export interface RoleCreateParams {
168
183
  * Body param: Display name for the role, unique within the account.
169
184
  */
170
185
  name: string;
186
+ /**
187
+ * Query param: Sub-objects to expand in the response. When omitted, sub-objects
188
+ * are returned as `null`.
189
+ */
190
+ include?: Array<'owner' | 'owner.account' | 'permissions'>;
171
191
  /**
172
192
  * Body param: Permissions to grant, in `{domain}:{action}` format, such as
173
193
  * `customers:read`.
@@ -175,12 +195,7 @@ export interface RoleCreateParams {
175
195
  * The action must be one of `create`, `read`, `update`, or `delete`. Omit to
176
196
  * create a role with no permissions.
177
197
  */
178
- permissions: Array<string>;
179
- /**
180
- * Query param: Sub-objects to expand in the response. When omitted, sub-objects
181
- * are returned as `null`.
182
- */
183
- include?: Array<'owner' | 'owner.account' | 'permissions'>;
198
+ permissions?: Array<string>;
184
199
  }
185
200
  export interface RoleUpdateParams {
186
201
  /**
@@ -189,8 +204,9 @@ export interface RoleUpdateParams {
189
204
  */
190
205
  include?: Array<'owner' | 'owner.account' | 'permissions'>;
191
206
  /**
192
- * Body param: New display name for the role, unique within the account. Omit to
193
- * leave unchanged.
207
+ * Body param: New display name for the role, unique within the account.
208
+ *
209
+ * Omit to leave unchanged.
194
210
  */
195
211
  name?: string;
196
212
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"roles.d.mts","sourceRoot":"","sources":["../../src/resources/identity/roles.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,KAAM,SAAQ,WAAW;IACpC;;;;;;;;OAQG;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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