@augno/sdk 0.16.1 → 0.18.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 (350) hide show
  1. package/CHANGELOG.md +7 -2
  2. package/README.md +1 -1
  3. package/client.js +1 -1
  4. package/client.mjs +1 -1
  5. package/package.json +1 -1
  6. package/resources/catalog/item-categories/actions.d.mts +8 -2
  7. package/resources/catalog/item-categories/actions.d.mts.map +1 -1
  8. package/resources/catalog/item-categories/actions.d.ts +8 -2
  9. package/resources/catalog/item-categories/actions.d.ts.map +1 -1
  10. package/resources/catalog/item-categories/actions.js +7 -2
  11. package/resources/catalog/item-categories/actions.js.map +1 -1
  12. package/resources/catalog/item-categories/actions.mjs +7 -2
  13. package/resources/catalog/item-categories/actions.mjs.map +1 -1
  14. package/resources/catalog/materials/actions.d.mts +7 -2
  15. package/resources/catalog/materials/actions.d.mts.map +1 -1
  16. package/resources/catalog/materials/actions.d.ts +7 -2
  17. package/resources/catalog/materials/actions.d.ts.map +1 -1
  18. package/resources/catalog/materials/actions.js +7 -2
  19. package/resources/catalog/materials/actions.js.map +1 -1
  20. package/resources/catalog/materials/actions.mjs +7 -2
  21. package/resources/catalog/materials/actions.mjs.map +1 -1
  22. package/resources/catalog/parts/actions.d.mts +7 -2
  23. package/resources/catalog/parts/actions.d.mts.map +1 -1
  24. package/resources/catalog/parts/actions.d.ts +7 -2
  25. package/resources/catalog/parts/actions.d.ts.map +1 -1
  26. package/resources/catalog/parts/actions.js +7 -2
  27. package/resources/catalog/parts/actions.js.map +1 -1
  28. package/resources/catalog/parts/actions.mjs +7 -2
  29. package/resources/catalog/parts/actions.mjs.map +1 -1
  30. package/resources/catalog/product-lines/actions.d.mts +8 -2
  31. package/resources/catalog/product-lines/actions.d.mts.map +1 -1
  32. package/resources/catalog/product-lines/actions.d.ts +8 -2
  33. package/resources/catalog/product-lines/actions.d.ts.map +1 -1
  34. package/resources/catalog/product-lines/actions.js +7 -2
  35. package/resources/catalog/product-lines/actions.js.map +1 -1
  36. package/resources/catalog/product-lines/actions.mjs +7 -2
  37. package/resources/catalog/product-lines/actions.mjs.map +1 -1
  38. package/resources/catalog/products/actions.d.mts +7 -2
  39. package/resources/catalog/products/actions.d.mts.map +1 -1
  40. package/resources/catalog/products/actions.d.ts +7 -2
  41. package/resources/catalog/products/actions.d.ts.map +1 -1
  42. package/resources/catalog/products/actions.js +7 -2
  43. package/resources/catalog/products/actions.js.map +1 -1
  44. package/resources/catalog/products/actions.mjs +7 -2
  45. package/resources/catalog/products/actions.mjs.map +1 -1
  46. package/resources/catalog/properties/actions.d.mts +8 -3
  47. package/resources/catalog/properties/actions.d.mts.map +1 -1
  48. package/resources/catalog/properties/actions.d.ts +8 -3
  49. package/resources/catalog/properties/actions.d.ts.map +1 -1
  50. package/resources/catalog/properties/actions.js +7 -2
  51. package/resources/catalog/properties/actions.js.map +1 -1
  52. package/resources/catalog/properties/actions.mjs +7 -2
  53. package/resources/catalog/properties/actions.mjs.map +1 -1
  54. package/resources/catalog/unit-groups/actions.d.mts +7 -2
  55. package/resources/catalog/unit-groups/actions.d.mts.map +1 -1
  56. package/resources/catalog/unit-groups/actions.d.ts +7 -2
  57. package/resources/catalog/unit-groups/actions.d.ts.map +1 -1
  58. package/resources/catalog/unit-groups/actions.js +7 -2
  59. package/resources/catalog/unit-groups/actions.js.map +1 -1
  60. package/resources/catalog/unit-groups/actions.mjs +7 -2
  61. package/resources/catalog/unit-groups/actions.mjs.map +1 -1
  62. package/resources/catalog/units/actions.d.mts +8 -2
  63. package/resources/catalog/units/actions.d.mts.map +1 -1
  64. package/resources/catalog/units/actions.d.ts +8 -2
  65. package/resources/catalog/units/actions.d.ts.map +1 -1
  66. package/resources/catalog/units/actions.js +7 -2
  67. package/resources/catalog/units/actions.js.map +1 -1
  68. package/resources/catalog/units/actions.mjs +7 -2
  69. package/resources/catalog/units/actions.mjs.map +1 -1
  70. package/resources/core/analytics.d.mts +195 -1
  71. package/resources/core/analytics.d.mts.map +1 -1
  72. package/resources/core/analytics.d.ts +195 -1
  73. package/resources/core/analytics.d.ts.map +1 -1
  74. package/resources/core/analytics.js +11 -0
  75. package/resources/core/analytics.js.map +1 -1
  76. package/resources/core/analytics.mjs +11 -0
  77. package/resources/core/analytics.mjs.map +1 -1
  78. package/resources/core/audit-events.d.mts +4 -4
  79. package/resources/core/audit-events.d.mts.map +1 -1
  80. package/resources/core/audit-events.d.ts +4 -4
  81. package/resources/core/audit-events.d.ts.map +1 -1
  82. package/resources/core/core.d.mts +6 -6
  83. package/resources/core/core.d.mts.map +1 -1
  84. package/resources/core/core.d.ts +6 -6
  85. package/resources/core/core.d.ts.map +1 -1
  86. package/resources/core/core.js.map +1 -1
  87. package/resources/core/core.mjs +1 -1
  88. package/resources/core/core.mjs.map +1 -1
  89. package/resources/core/index.d.mts +2 -2
  90. package/resources/core/index.d.mts.map +1 -1
  91. package/resources/core/index.d.ts +2 -2
  92. package/resources/core/index.d.ts.map +1 -1
  93. package/resources/core/index.js.map +1 -1
  94. package/resources/core/index.mjs.map +1 -1
  95. package/resources/core/jobs.d.mts +102 -60
  96. package/resources/core/jobs.d.mts.map +1 -1
  97. package/resources/core/jobs.d.ts +102 -60
  98. package/resources/core/jobs.d.ts.map +1 -1
  99. package/resources/core/jobs.js +12 -6
  100. package/resources/core/jobs.js.map +1 -1
  101. package/resources/core/jobs.mjs +12 -6
  102. package/resources/core/jobs.mjs.map +1 -1
  103. package/resources/finance/payment-terms.d.mts +5 -5
  104. package/resources/finance/payment-terms.d.mts.map +1 -1
  105. package/resources/finance/payment-terms.d.ts +5 -5
  106. package/resources/finance/payment-terms.d.ts.map +1 -1
  107. package/resources/finance/payment-terms.js.map +1 -1
  108. package/resources/finance/payment-terms.mjs.map +1 -1
  109. package/resources/identity/account-users/account-users.d.mts +39 -0
  110. package/resources/identity/account-users/account-users.d.mts.map +1 -1
  111. package/resources/identity/account-users/account-users.d.ts +39 -0
  112. package/resources/identity/account-users/account-users.d.ts.map +1 -1
  113. package/resources/identity/account-users/account-users.js.map +1 -1
  114. package/resources/identity/account-users/account-users.mjs.map +1 -1
  115. package/resources/messaging/blocks.d.mts +8 -0
  116. package/resources/messaging/blocks.d.mts.map +1 -1
  117. package/resources/messaging/blocks.d.ts +8 -0
  118. package/resources/messaging/blocks.d.ts.map +1 -1
  119. package/resources/messaging/conversations/conversations.d.mts +3 -3
  120. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  121. package/resources/messaging/conversations/conversations.d.ts +3 -3
  122. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  123. package/resources/messaging/conversations/conversations.js.map +1 -1
  124. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  125. package/resources/messaging/conversations/links.d.mts +2 -2
  126. package/resources/messaging/conversations/links.d.mts.map +1 -1
  127. package/resources/messaging/conversations/links.d.ts +2 -2
  128. package/resources/messaging/conversations/links.d.ts.map +1 -1
  129. package/resources/messaging/conversations/messages.d.mts +2 -2
  130. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  131. package/resources/messaging/conversations/messages.d.ts +2 -2
  132. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  133. package/resources/messaging/notifications/notifications.d.mts +2 -2
  134. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  135. package/resources/messaging/notifications/notifications.d.ts +2 -2
  136. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  137. package/resources/messaging/notifications/notifications.js.map +1 -1
  138. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  139. package/resources/operations/carriers/carriers.d.mts +5 -5
  140. package/resources/operations/carriers/carriers.d.mts.map +1 -1
  141. package/resources/operations/carriers/carriers.d.ts +5 -5
  142. package/resources/operations/carriers/carriers.d.ts.map +1 -1
  143. package/resources/operations/carriers/service-levels.d.mts +5 -5
  144. package/resources/operations/carriers/service-levels.d.mts.map +1 -1
  145. package/resources/operations/carriers/service-levels.d.ts +5 -5
  146. package/resources/operations/carriers/service-levels.d.ts.map +1 -1
  147. package/resources/operations/locations/actions.d.mts +7 -2
  148. package/resources/operations/locations/actions.d.mts.map +1 -1
  149. package/resources/operations/locations/actions.d.ts +7 -2
  150. package/resources/operations/locations/actions.d.ts.map +1 -1
  151. package/resources/operations/locations/actions.js +7 -2
  152. package/resources/operations/locations/actions.js.map +1 -1
  153. package/resources/operations/locations/actions.mjs +7 -2
  154. package/resources/operations/locations/actions.mjs.map +1 -1
  155. package/resources/operations/production-schedules/production-schedules.d.mts +5 -3
  156. package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
  157. package/resources/operations/production-schedules/production-schedules.d.ts +5 -3
  158. package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
  159. package/resources/operations/production-schedules/production-schedules.js +5 -3
  160. package/resources/operations/production-schedules/production-schedules.js.map +1 -1
  161. package/resources/operations/production-schedules/production-schedules.mjs +5 -3
  162. package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
  163. package/resources/operations/shipments/actions.d.mts +3 -3
  164. package/resources/operations/shipments/actions.d.mts.map +1 -1
  165. package/resources/operations/shipments/actions.d.ts +3 -3
  166. package/resources/operations/shipments/actions.d.ts.map +1 -1
  167. package/resources/operations/shipping-terms.d.mts +5 -5
  168. package/resources/operations/shipping-terms.d.mts.map +1 -1
  169. package/resources/operations/shipping-terms.d.ts +5 -5
  170. package/resources/operations/shipping-terms.d.ts.map +1 -1
  171. package/resources/operations/shipping-terms.js.map +1 -1
  172. package/resources/operations/shipping-terms.mjs.map +1 -1
  173. package/resources/sales/account-prices/account-prices.d.mts +999 -0
  174. package/resources/sales/account-prices/account-prices.d.mts.map +1 -0
  175. package/resources/sales/account-prices/account-prices.d.ts +999 -0
  176. package/resources/sales/account-prices/account-prices.d.ts.map +1 -0
  177. package/resources/sales/account-prices/account-prices.js +143 -0
  178. package/resources/sales/account-prices/account-prices.js.map +1 -0
  179. package/resources/sales/account-prices/account-prices.mjs +138 -0
  180. package/resources/sales/account-prices/account-prices.mjs.map +1 -0
  181. package/resources/sales/account-prices/actions.d.mts +58 -0
  182. package/resources/sales/account-prices/actions.d.mts.map +1 -0
  183. package/resources/sales/account-prices/actions.d.ts +58 -0
  184. package/resources/sales/account-prices/actions.d.ts.map +1 -0
  185. package/resources/sales/account-prices/actions.js +44 -0
  186. package/resources/sales/account-prices/actions.js.map +1 -0
  187. package/resources/sales/account-prices/actions.mjs +40 -0
  188. package/resources/sales/account-prices/actions.mjs.map +1 -0
  189. package/resources/sales/account-prices/index.d.mts +3 -0
  190. package/resources/sales/account-prices/index.d.mts.map +1 -0
  191. package/resources/sales/account-prices/index.d.ts +3 -0
  192. package/resources/sales/account-prices/index.d.ts.map +1 -0
  193. package/resources/sales/account-prices/index.js +9 -0
  194. package/resources/sales/account-prices/index.js.map +1 -0
  195. package/resources/sales/account-prices/index.mjs +4 -0
  196. package/resources/sales/account-prices/index.mjs.map +1 -0
  197. package/resources/sales/account-prices.d.mts +2 -0
  198. package/resources/sales/account-prices.d.mts.map +1 -0
  199. package/resources/sales/account-prices.d.ts +2 -0
  200. package/resources/sales/account-prices.d.ts.map +1 -0
  201. package/resources/sales/account-prices.js +6 -0
  202. package/resources/sales/account-prices.js.map +1 -0
  203. package/resources/sales/account-prices.mjs +3 -0
  204. package/resources/sales/account-prices.mjs.map +1 -0
  205. package/resources/sales/customers/actions.d.mts +2 -2
  206. package/resources/sales/customers/actions.d.mts.map +1 -1
  207. package/resources/sales/customers/actions.d.ts +2 -2
  208. package/resources/sales/customers/actions.d.ts.map +1 -1
  209. package/resources/sales/customers/actions.js.map +1 -1
  210. package/resources/sales/customers/actions.mjs.map +1 -1
  211. package/resources/sales/customers/customers.d.mts +6 -564
  212. package/resources/sales/customers/customers.d.mts.map +1 -1
  213. package/resources/sales/customers/customers.d.ts +6 -564
  214. package/resources/sales/customers/customers.d.ts.map +1 -1
  215. package/resources/sales/customers/customers.js.map +1 -1
  216. package/resources/sales/customers/customers.mjs.map +1 -1
  217. package/resources/sales/customers/index.d.mts +1 -1
  218. package/resources/sales/customers/index.d.mts.map +1 -1
  219. package/resources/sales/customers/index.d.ts +1 -1
  220. package/resources/sales/customers/index.d.ts.map +1 -1
  221. package/resources/sales/customers/index.js.map +1 -1
  222. package/resources/sales/customers/index.mjs.map +1 -1
  223. package/resources/sales/index.d.mts +6 -3
  224. package/resources/sales/index.d.mts.map +1 -1
  225. package/resources/sales/index.d.ts +6 -3
  226. package/resources/sales/index.d.ts.map +1 -1
  227. package/resources/sales/index.js +15 -9
  228. package/resources/sales/index.js.map +1 -1
  229. package/resources/sales/index.mjs +3 -0
  230. package/resources/sales/index.mjs.map +1 -1
  231. package/resources/sales/order-discounts/actions.d.mts +85 -0
  232. package/resources/sales/order-discounts/actions.d.mts.map +1 -0
  233. package/resources/sales/order-discounts/actions.d.ts +85 -0
  234. package/resources/sales/order-discounts/actions.d.ts.map +1 -0
  235. package/resources/sales/order-discounts/actions.js +35 -0
  236. package/resources/sales/order-discounts/actions.js.map +1 -0
  237. package/resources/sales/order-discounts/actions.mjs +31 -0
  238. package/resources/sales/order-discounts/actions.mjs.map +1 -0
  239. package/resources/sales/order-discounts/index.d.mts +3 -0
  240. package/resources/sales/order-discounts/index.d.mts.map +1 -0
  241. package/resources/sales/order-discounts/index.d.ts +3 -0
  242. package/resources/sales/order-discounts/index.d.ts.map +1 -0
  243. package/resources/sales/order-discounts/index.js +9 -0
  244. package/resources/sales/order-discounts/index.js.map +1 -0
  245. package/resources/sales/order-discounts/index.mjs +4 -0
  246. package/resources/sales/order-discounts/index.mjs.map +1 -0
  247. package/resources/sales/order-discounts/order-discounts.d.mts +365 -0
  248. package/resources/sales/order-discounts/order-discounts.d.mts.map +1 -0
  249. package/resources/sales/order-discounts/order-discounts.d.ts +365 -0
  250. package/resources/sales/order-discounts/order-discounts.d.ts.map +1 -0
  251. package/resources/sales/order-discounts/order-discounts.js +125 -0
  252. package/resources/sales/order-discounts/order-discounts.js.map +1 -0
  253. package/resources/sales/order-discounts/order-discounts.mjs +120 -0
  254. package/resources/sales/order-discounts/order-discounts.mjs.map +1 -0
  255. package/resources/sales/order-discounts.d.mts +2 -0
  256. package/resources/sales/order-discounts.d.mts.map +1 -0
  257. package/resources/sales/order-discounts.d.ts +2 -0
  258. package/resources/sales/order-discounts.d.ts.map +1 -0
  259. package/resources/sales/order-discounts.js +6 -0
  260. package/resources/sales/order-discounts.js.map +1 -0
  261. package/resources/sales/order-discounts.mjs +3 -0
  262. package/resources/sales/order-discounts.mjs.map +1 -0
  263. package/resources/sales/priorities.d.mts +4 -44
  264. package/resources/sales/priorities.d.mts.map +1 -1
  265. package/resources/sales/priorities.d.ts +4 -44
  266. package/resources/sales/priorities.d.ts.map +1 -1
  267. package/resources/sales/priorities.js.map +1 -1
  268. package/resources/sales/priorities.mjs.map +1 -1
  269. package/resources/sales/sales-orders/index.d.mts +1 -1
  270. package/resources/sales/sales-orders/index.d.mts.map +1 -1
  271. package/resources/sales/sales-orders/index.d.ts +1 -1
  272. package/resources/sales/sales-orders/index.d.ts.map +1 -1
  273. package/resources/sales/sales-orders/index.js.map +1 -1
  274. package/resources/sales/sales-orders/index.mjs.map +1 -1
  275. package/resources/sales/sales-orders/lines/lines.d.mts +2 -2
  276. package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
  277. package/resources/sales/sales-orders/lines/lines.d.ts +2 -2
  278. package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
  279. package/resources/sales/sales-orders/sales-orders.d.mts +10 -69
  280. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
  281. package/resources/sales/sales-orders/sales-orders.d.ts +10 -69
  282. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
  283. package/resources/sales/sales-orders/sales-orders.js.map +1 -1
  284. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
  285. package/resources/sales/sales.d.mts +18 -6
  286. package/resources/sales/sales.d.mts.map +1 -1
  287. package/resources/sales/sales.d.ts +18 -6
  288. package/resources/sales/sales.d.ts.map +1 -1
  289. package/resources/sales/sales.js +12 -0
  290. package/resources/sales/sales.js.map +1 -1
  291. package/resources/sales/sales.mjs +12 -0
  292. package/resources/sales/sales.mjs.map +1 -1
  293. package/resources/sales/volume-discounts.d.mts +684 -0
  294. package/resources/sales/volume-discounts.d.mts.map +1 -0
  295. package/resources/sales/volume-discounts.d.ts +684 -0
  296. package/resources/sales/volume-discounts.d.ts.map +1 -0
  297. package/resources/sales/volume-discounts.js +152 -0
  298. package/resources/sales/volume-discounts.js.map +1 -0
  299. package/resources/sales/volume-discounts.mjs +148 -0
  300. package/resources/sales/volume-discounts.mjs.map +1 -0
  301. package/src/client.ts +1 -1
  302. package/src/resources/catalog/item-categories/actions.ts +15 -3
  303. package/src/resources/catalog/materials/actions.ts +14 -3
  304. package/src/resources/catalog/parts/actions.ts +14 -3
  305. package/src/resources/catalog/product-lines/actions.ts +15 -3
  306. package/src/resources/catalog/products/actions.ts +14 -3
  307. package/src/resources/catalog/properties/actions.ts +15 -4
  308. package/src/resources/catalog/unit-groups/actions.ts +14 -3
  309. package/src/resources/catalog/units/actions.ts +15 -3
  310. package/src/resources/core/analytics.ts +231 -0
  311. package/src/resources/core/audit-events.ts +16 -0
  312. package/src/resources/core/core.ts +30 -2
  313. package/src/resources/core/index.ts +7 -1
  314. package/src/resources/core/jobs.ts +422 -67
  315. package/src/resources/finance/payment-terms.ts +8 -5
  316. package/src/resources/identity/account-users/account-users.ts +44 -0
  317. package/src/resources/messaging/blocks.ts +9 -0
  318. package/src/resources/messaging/conversations/conversations.ts +12 -0
  319. package/src/resources/messaging/conversations/links.ts +8 -0
  320. package/src/resources/messaging/conversations/messages.ts +8 -0
  321. package/src/resources/messaging/notifications/notifications.ts +8 -0
  322. package/src/resources/operations/carriers/carriers.ts +5 -5
  323. package/src/resources/operations/carriers/service-levels.ts +5 -5
  324. package/src/resources/operations/locations/actions.ts +14 -3
  325. package/src/resources/operations/production-schedules/production-schedules.ts +5 -3
  326. package/src/resources/operations/shipments/actions.ts +3 -3
  327. package/src/resources/operations/shipping-terms.ts +8 -5
  328. package/src/resources/sales/account-prices/account-prices.ts +1191 -0
  329. package/src/resources/sales/account-prices/actions.ts +74 -0
  330. package/src/resources/sales/account-prices/index.ts +27 -0
  331. package/src/resources/sales/account-prices.ts +3 -0
  332. package/src/resources/sales/customers/actions.ts +6 -2
  333. package/src/resources/sales/customers/customers.ts +5 -658
  334. package/src/resources/sales/customers/index.ts +0 -11
  335. package/src/resources/sales/index.ts +50 -13
  336. package/src/resources/sales/order-discounts/actions.ts +102 -0
  337. package/src/resources/sales/order-discounts/index.ts +13 -0
  338. package/src/resources/sales/order-discounts/order-discounts.ts +442 -0
  339. package/src/resources/sales/order-discounts.ts +3 -0
  340. package/src/resources/sales/priorities.ts +3 -51
  341. package/src/resources/sales/sales-orders/index.ts +0 -1
  342. package/src/resources/sales/sales-orders/lines/lines.ts +2 -2
  343. package/src/resources/sales/sales-orders/sales-orders.ts +9 -79
  344. package/src/resources/sales/sales.ts +113 -26
  345. package/src/resources/sales/volume-discounts.ts +813 -0
  346. package/src/version.ts +1 -1
  347. package/version.d.mts +1 -1
  348. package/version.d.ts +1 -1
  349. package/version.js +1 -1
  350. package/version.mjs +1 -1
@@ -25,8 +25,13 @@ class Actions extends resource_1.APIResource {
25
25
  * });
26
26
  * ```
27
27
  */
28
- bulkUpsert(body, options) {
29
- return this._client.post('/v1/catalog/products/actions/bulk-upsert', { body, ...options });
28
+ bulkUpsert(params, options) {
29
+ const { include, ...body } = params;
30
+ return this._client.post('/v1/catalog/products/actions/bulk-upsert', {
31
+ query: { include },
32
+ body,
33
+ ...options,
34
+ });
30
35
  }
31
36
  }
32
37
  exports.Actions = Actions;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/products/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF;AAtBD,0BAsBC"}
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/products/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAOrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE;YACnE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3BD,0BA2BC"}
@@ -22,8 +22,13 @@ export class Actions extends APIResource {
22
22
  * });
23
23
  * ```
24
24
  */
25
- bulkUpsert(body, options) {
26
- return this._client.post('/v1/catalog/products/actions/bulk-upsert', { body, ...options });
25
+ bulkUpsert(params, options) {
26
+ const { include, ...body } = params;
27
+ return this._client.post('/v1/catalog/products/actions/bulk-upsert', {
28
+ query: { include },
29
+ body,
30
+ ...options,
31
+ });
27
32
  }
28
33
  }
29
34
  //# sourceMappingURL=actions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/products/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;CACF"}
1
+ {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/products/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAOtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE;YACnE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -24,7 +24,7 @@ export declare class Actions extends APIResource {
24
24
  * });
25
25
  * ```
26
26
  */
27
- bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
27
+ bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
28
28
  }
29
29
  /**
30
30
  * carries the properties to bulk upsert
@@ -75,10 +75,15 @@ export interface UpsertPropertyInput {
75
75
  }
76
76
  export interface ActionBulkUpsertParams {
77
77
  /**
78
- * Properties to create or update, matched by name (case-insensitive) within the
79
- * account.
78
+ * Body param: Properties to create or update, matched by name (case-insensitive)
79
+ * within the account.
80
80
  */
81
81
  properties: Array<UpsertPropertyInput>;
82
+ /**
83
+ * Query param: Sub-objects to expand in the response. When omitted, sub-objects
84
+ * are returned as `null`.
85
+ */
86
+ include?: Array<'created_by' | 'created_by.role'>;
82
87
  }
83
88
  export declare namespace Actions {
84
89
  export { type BulkUpsertPropertiesRequest as BulkUpsertPropertiesRequest, type UpsertPropertyAttributeInput as UpsertPropertyAttributeInput, type UpsertPropertyInput as UpsertPropertyInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/properties/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;CAC3G;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,UAAU,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAEhD;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;CACxC;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IA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AAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -24,7 +24,7 @@ export declare class Actions extends APIResource {
24
24
  * });
25
25
  * ```
26
26
  */
27
- bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
27
+ bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
28
28
  }
29
29
  /**
30
30
  * carries the properties to bulk upsert
@@ -75,10 +75,15 @@ export interface UpsertPropertyInput {
75
75
  }
76
76
  export interface ActionBulkUpsertParams {
77
77
  /**
78
- * Properties to create or update, matched by name (case-insensitive) within the
79
- * account.
78
+ * Body param: Properties to create or update, matched by name (case-insensitive)
79
+ * within the account.
80
80
  */
81
81
  properties: Array<UpsertPropertyInput>;
82
+ /**
83
+ * Query param: Sub-objects to expand in the response. When omitted, sub-objects
84
+ * are returned as `null`.
85
+ */
86
+ include?: Array<'created_by' | 'created_by.role'>;
82
87
  }
83
88
  export declare namespace Actions {
84
89
  export { type BulkUpsertPropertiesRequest as BulkUpsertPropertiesRequest, type UpsertPropertyAttributeInput as UpsertPropertyAttributeInput, type UpsertPropertyInput as UpsertPropertyInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/properties/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;;OAG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,CAAC,CAAC;CACxC;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;;OAKG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,KAAK,GAAG,QAAQ,CAAC;CAC3G;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;;;;;OAMG;IACH,UAAU,EAAE,KAAK,CAAC,4BAA4B,CAAC,CAAC;IAEhD;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,UAAU,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IAEvC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -25,8 +25,13 @@ class Actions extends resource_1.APIResource {
25
25
  * });
26
26
  * ```
27
27
  */
28
- bulkUpsert(body, options) {
29
- return this._client.post('/v1/catalog/properties/actions/bulk-upsert', { body, ...options });
28
+ bulkUpsert(params, options) {
29
+ const { include, ...body } = params;
30
+ return this._client.post('/v1/catalog/properties/actions/bulk-upsert', {
31
+ query: { include },
32
+ body,
33
+ ...options,
34
+ });
30
35
  }
31
36
  }
32
37
  exports.Actions = Actions;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/properties/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF;AAtBD,0BAsBC"}
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/properties/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE;YACrE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3BD,0BA2BC"}
@@ -22,8 +22,13 @@ export class Actions extends APIResource {
22
22
  * });
23
23
  * ```
24
24
  */
25
- bulkUpsert(body, options) {
26
- return this._client.post('/v1/catalog/properties/actions/bulk-upsert', { body, ...options });
25
+ bulkUpsert(params, options) {
26
+ const { include, ...body } = params;
27
+ return this._client.post('/v1/catalog/properties/actions/bulk-upsert', {
28
+ query: { include },
29
+ body,
30
+ ...options,
31
+ });
27
32
  }
28
33
  }
29
34
  //# sourceMappingURL=actions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/properties/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC/F,CAAC;CACF"}
1
+ {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/properties/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;OAiBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4CAA4C,EAAE;YACrE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -30,7 +30,7 @@ export declare class Actions extends APIResource {
30
30
  * });
31
31
  * ```
32
32
  */
33
- bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
33
+ bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
34
34
  }
35
35
  /**
36
36
  * BulkUpsertUnitGroupsRequest is the request to bulk upsert unit groups.
@@ -106,9 +106,14 @@ export interface UpsertUnitGroupInput {
106
106
  }
107
107
  export interface ActionBulkUpsertParams {
108
108
  /**
109
- * Unit groups to create or update, matched by name within the account.
109
+ * Body param: Unit groups to create or update, matched by name within the account.
110
110
  */
111
111
  unit_groups: Array<UpsertUnitGroupInput>;
112
+ /**
113
+ * Query param: Sub-objects to expand in the response. When omitted, sub-objects
114
+ * are returned as `null`.
115
+ */
116
+ include?: Array<'created_by' | 'created_by.role'>;
112
117
  }
113
118
  export declare namespace Actions {
114
119
  export { type BulkUpsertUnitGroupsRequest as BulkUpsertUnitGroupsRequest, type UnitIdentifier as UnitIdentifier, type UpsertUnitGroupConversionInput as UpsertUnitGroupConversionInput, type UpsertUnitGroupInput as UpsertUnitGroupInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/unit-groups/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CAC1C;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,IAAI,EAAE,cAAc,CAAC;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,SAAS,EAAE,cAAc,CAAC;IAE1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAA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cAAc,CAAC;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,SAAS,EAAE,cAAc,CAAC;IAE1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;IAE/F;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CAC1D;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -30,7 +30,7 @@ export declare class Actions extends APIResource {
30
30
  * });
31
31
  * ```
32
32
  */
33
- bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
33
+ bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
34
34
  }
35
35
  /**
36
36
  * BulkUpsertUnitGroupsRequest is the request to bulk upsert unit groups.
@@ -106,9 +106,14 @@ export interface UpsertUnitGroupInput {
106
106
  }
107
107
  export interface ActionBulkUpsertParams {
108
108
  /**
109
- * Unit groups to create or update, matched by name within the account.
109
+ * Body param: Unit groups to create or update, matched by name within the account.
110
110
  */
111
111
  unit_groups: Array<UpsertUnitGroupInput>;
112
+ /**
113
+ * Query param: Sub-objects to expand in the response. When omitted, sub-objects
114
+ * are returned as `null`.
115
+ */
116
+ include?: Array<'created_by' | 'created_by.role'>;
112
117
  }
113
118
  export declare namespace Actions {
114
119
  export { type BulkUpsertUnitGroupsRequest as BulkUpsertUnitGroupsRequest, type UnitIdentifier as UnitIdentifier, type UpsertUnitGroupConversionInput as UpsertUnitGroupConversionInput, type UpsertUnitGroupInput as UpsertUnitGroupInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/unit-groups/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;CAC1C;AAED;;;GAGG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,IAAI,EAAE,cAAc,CAAC;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AAC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C7B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,IAAI,EAAE,cAAc,CAAC;IAErB;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;;GAGG;AACH,MAAM,WAAW,oBAAoB;IACnC;;;OAGG;IACH,SAAS,EAAE,cAAc,CAAC;IAE1B;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;IAE/F;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IACH,gBAAgB,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,CAAC;CAC1D;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,WAAW,EAAE,KAAK,CAAC,oBAAoB,CAAC,CAAC;IAEzC;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -31,8 +31,13 @@ class Actions extends resource_1.APIResource {
31
31
  * });
32
32
  * ```
33
33
  */
34
- bulkUpsert(body, options) {
35
- return this._client.post('/v1/catalog/unit-groups/actions/bulk-upsert', { body, ...options });
34
+ bulkUpsert(params, options) {
35
+ const { include, ...body } = params;
36
+ return this._client.post('/v1/catalog/unit-groups/actions/bulk-upsert', {
37
+ query: { include },
38
+ body,
39
+ ...options,
40
+ });
36
41
  }
37
42
  }
38
43
  exports.Actions = Actions;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/unit-groups/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF;AA5BD,0BA4BC"}
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/unit-groups/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE;YACtE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAjCD,0BAiCC"}
@@ -28,8 +28,13 @@ export class Actions extends APIResource {
28
28
  * });
29
29
  * ```
30
30
  */
31
- bulkUpsert(body, options) {
32
- return this._client.post('/v1/catalog/unit-groups/actions/bulk-upsert', { body, ...options });
31
+ bulkUpsert(params, options) {
32
+ const { include, ...body } = params;
33
+ return this._client.post('/v1/catalog/unit-groups/actions/bulk-upsert', {
34
+ query: { include },
35
+ body,
36
+ ...options,
37
+ });
33
38
  }
34
39
  }
35
40
  //# sourceMappingURL=actions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/unit-groups/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChG,CAAC;CACF"}
1
+ {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/unit-groups/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE;YACtE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -28,7 +28,7 @@ export declare class Actions extends APIResource {
28
28
  * });
29
29
  * ```
30
30
  */
31
- bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
31
+ bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
32
32
  }
33
33
  /**
34
34
  * BulkUpsertUnitsRequest is the request to bulk upsert units.
@@ -81,9 +81,15 @@ export interface UpsertUnitInput {
81
81
  }
82
82
  export interface ActionBulkUpsertParams {
83
83
  /**
84
- * Units to create or update, matched by name or abbreviation within the account.
84
+ * Body param: Units to create or update, matched by name or abbreviation within
85
+ * the account.
85
86
  */
86
87
  units: Array<UpsertUnitInput>;
88
+ /**
89
+ * Query param: Sub-objects to expand in the response. When omitted, sub-objects
90
+ * are returned as `null`.
91
+ */
92
+ include?: Array<'created_by' | 'created_by.role'>;
87
93
  }
88
94
  export declare namespace Actions {
89
95
  export { type BulkUpsertUnitsRequest as BulkUpsertUnitsRequest, type UpsertUnitInput as UpsertUnitInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.mts","sourceRoot":"","sources":["../../../src/resources/catalog/units/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B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H,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;CAChG;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;IAE9B;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,YAAY,GAAG,iBAAiB,CAAC,CAAC;CACnD;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -28,7 +28,7 @@ export declare class Actions extends APIResource {
28
28
  * });
29
29
  * ```
30
30
  */
31
- bulkUpsert(body: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
31
+ bulkUpsert(params: ActionBulkUpsertParams, options?: RequestOptions): APIPromise<JobsAPI.Job>;
32
32
  }
33
33
  /**
34
34
  * BulkUpsertUnitsRequest is the request to bulk upsert units.
@@ -81,9 +81,15 @@ export interface UpsertUnitInput {
81
81
  }
82
82
  export interface ActionBulkUpsertParams {
83
83
  /**
84
- * Units to create or update, matched by name or abbreviation within the account.
84
+ * Body param: Units to create or update, matched by name or abbreviation within
85
+ * the account.
85
86
  */
86
87
  units: Array<UpsertUnitInput>;
88
+ /**
89
+ * Query param: Sub-objects to expand in the response. When omitted, sub-objects
90
+ * are returned as `null`.
91
+ */
92
+ include?: Array<'created_by' | 'created_by.role'>;
87
93
  }
88
94
  export declare namespace Actions {
89
95
  export { type BulkUpsertUnitsRequest as BulkUpsertUnitsRequest, type UpsertUnitInput as UpsertUnitInput, type ActionBulkUpsertParams as ActionBulkUpsertParams, };
@@ -1 +1 @@
1
- {"version":3,"file":"actions.d.ts","sourceRoot":"","sources":["../../../src/resources/catalog/units/actions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC,GAAG,CAAC;CAG5F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC/B;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,YAAY,EAAE,OAAO,CAAC;IAEtB;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,IAAI,EAAE,UAAU,GAAG,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,aAAa,GAAG,MAAM,CAAC;CAChG;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,KAAK,EAAE,KAAK,CAAC,eAAe,CAAC,CAAC;CAC/B;AAED,MAAM,CAAC,OAAO,WAAW,OAAO,CAAC;IAC/B,OAAO,EACL,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,sBAAsB,IAAI,sBAAsB,GACtD,CAAC;CACH"}
1
+ {"version":3,"file":"actions.d.ts","sourceRoot":"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B,IAAI,sBAAsB,GACtD,CAAC;CACH"}
@@ -29,8 +29,13 @@ class Actions extends resource_1.APIResource {
29
29
  * });
30
30
  * ```
31
31
  */
32
- bulkUpsert(body, options) {
33
- return this._client.post('/v1/catalog/units/actions/bulk-upsert', { body, ...options });
32
+ bulkUpsert(params, options) {
33
+ const { include, ...body } = params;
34
+ return this._client.post('/v1/catalog/units/actions/bulk-upsert', {
35
+ query: { include },
36
+ body,
37
+ ...options,
38
+ });
34
39
  }
35
40
  }
36
41
  exports.Actions = Actions;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/units/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF;AA1BD,0BA0BC"}
1
+ {"version":3,"file":"actions.js","sourceRoot":"","sources":["../../../src/resources/catalog/units/actions.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAKrD;;GAEG;AACH,MAAa,OAAQ,SAAQ,sBAAW;IACtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA/BD,0BA+BC"}
@@ -26,8 +26,13 @@ export class Actions extends APIResource {
26
26
  * });
27
27
  * ```
28
28
  */
29
- bulkUpsert(body, options) {
30
- return this._client.post('/v1/catalog/units/actions/bulk-upsert', { body, ...options });
29
+ bulkUpsert(params, options) {
30
+ const { include, ...body } = params;
31
+ return this._client.post('/v1/catalog/units/actions/bulk-upsert', {
32
+ query: { include },
33
+ body,
34
+ ...options,
35
+ });
31
36
  }
32
37
  }
33
38
  //# sourceMappingURL=actions.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/units/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,IAA4B,EAAE,OAAwB;QAC/D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;CACF"}
1
+ {"version":3,"file":"actions.mjs","sourceRoot":"","sources":["../../../src/resources/catalog/units/actions.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAKtB;;GAEG;AACH,MAAM,OAAO,OAAQ,SAAQ,WAAW;IACtC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,UAAU,CAAC,MAA8B,EAAE,OAAwB;QACjE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,EAAE,GAAG,MAAM,CAAC;QACpC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uCAAuC,EAAE;YAChE,KAAK,EAAE,EAAE,OAAO,EAAE;YAClB,IAAI;YACJ,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF"}