@commercelayer/cli-plugin-triggers 3.15.0 → 4.0.0-oclif3.10

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 (341) hide show
  1. package/README.md +446 -45
  2. package/bin/run.js +6 -0
  3. package/lib/base.d.ts +5 -5
  4. package/lib/base.js +41 -41
  5. package/lib/commands/adyen_payment/details.d.ts +1 -1
  6. package/lib/commands/adyen_payment/details.js +5 -3
  7. package/lib/commands/adyen_payment/index.d.ts +1 -1
  8. package/lib/commands/adyen_payment/index.js +5 -3
  9. package/lib/commands/authorization/capture.d.ts +1 -1
  10. package/lib/commands/authorization/capture.js +5 -3
  11. package/lib/commands/authorization/capture_amount_cents.d.ts +1 -1
  12. package/lib/commands/authorization/capture_amount_cents.js +5 -3
  13. package/lib/commands/authorization/index.d.ts +1 -1
  14. package/lib/commands/authorization/index.js +5 -3
  15. package/lib/commands/authorization/void.d.ts +1 -1
  16. package/lib/commands/authorization/void.js +5 -3
  17. package/lib/commands/axerve_payment/index.d.ts +1 -1
  18. package/lib/commands/axerve_payment/index.js +5 -3
  19. package/lib/commands/axerve_payment/update.d.ts +1 -1
  20. package/lib/commands/axerve_payment/update.js +5 -3
  21. package/lib/commands/bundle/compute_compare_at_amount.d.ts +1 -1
  22. package/lib/commands/bundle/compute_compare_at_amount.js +5 -3
  23. package/lib/commands/bundle/compute_price_amount.d.ts +1 -1
  24. package/lib/commands/bundle/compute_price_amount.js +5 -3
  25. package/lib/commands/bundle/index.d.ts +1 -1
  26. package/lib/commands/bundle/index.js +5 -3
  27. package/lib/commands/buy_x_pay_y_promotion/disable.d.ts +1 -1
  28. package/lib/commands/buy_x_pay_y_promotion/disable.js +5 -3
  29. package/lib/commands/buy_x_pay_y_promotion/enable.d.ts +1 -1
  30. package/lib/commands/buy_x_pay_y_promotion/enable.js +5 -3
  31. package/lib/commands/buy_x_pay_y_promotion/index.d.ts +1 -1
  32. package/lib/commands/buy_x_pay_y_promotion/index.js +5 -3
  33. package/lib/commands/capture/index.d.ts +1 -1
  34. package/lib/commands/capture/index.js +5 -3
  35. package/lib/commands/capture/refund.d.ts +1 -1
  36. package/lib/commands/capture/refund.js +5 -3
  37. package/lib/commands/capture/refund_amount_cents.d.ts +1 -1
  38. package/lib/commands/capture/refund_amount_cents.js +5 -3
  39. package/lib/commands/checkout_com_payment/details.d.ts +1 -1
  40. package/lib/commands/checkout_com_payment/details.js +5 -3
  41. package/lib/commands/checkout_com_payment/index.d.ts +1 -1
  42. package/lib/commands/checkout_com_payment/index.js +5 -3
  43. package/lib/commands/checkout_com_payment/refresh.d.ts +1 -1
  44. package/lib/commands/checkout_com_payment/refresh.js +5 -3
  45. package/lib/commands/customer_password_reset/index.d.ts +1 -1
  46. package/lib/commands/customer_password_reset/index.js +5 -3
  47. package/lib/commands/customer_password_reset/reset_password_token.d.ts +1 -1
  48. package/lib/commands/customer_password_reset/reset_password_token.js +5 -3
  49. package/lib/commands/external_gateway/index.d.ts +9 -0
  50. package/lib/commands/external_gateway/index.js +40 -0
  51. package/lib/commands/external_gateway/reset_circuit.d.ts +9 -0
  52. package/lib/commands/external_gateway/reset_circuit.js +22 -0
  53. package/lib/commands/external_promotion/disable.d.ts +1 -1
  54. package/lib/commands/external_promotion/disable.js +5 -3
  55. package/lib/commands/external_promotion/enable.d.ts +1 -1
  56. package/lib/commands/external_promotion/enable.js +5 -3
  57. package/lib/commands/external_promotion/index.d.ts +1 -1
  58. package/lib/commands/external_promotion/index.js +5 -3
  59. package/lib/commands/external_promotion/reset_circuit.d.ts +9 -0
  60. package/lib/commands/external_promotion/reset_circuit.js +22 -0
  61. package/lib/commands/external_tax_calculator/index.d.ts +9 -0
  62. package/lib/commands/external_tax_calculator/index.js +40 -0
  63. package/lib/commands/external_tax_calculator/reset_circuit.d.ts +9 -0
  64. package/lib/commands/external_tax_calculator/reset_circuit.js +22 -0
  65. package/lib/commands/fixed_amount_promotion/disable.d.ts +1 -1
  66. package/lib/commands/fixed_amount_promotion/disable.js +5 -3
  67. package/lib/commands/fixed_amount_promotion/enable.d.ts +1 -1
  68. package/lib/commands/fixed_amount_promotion/enable.js +5 -3
  69. package/lib/commands/fixed_amount_promotion/index.d.ts +1 -1
  70. package/lib/commands/fixed_amount_promotion/index.js +5 -3
  71. package/lib/commands/fixed_price_promotion/disable.d.ts +1 -1
  72. package/lib/commands/fixed_price_promotion/disable.js +5 -3
  73. package/lib/commands/fixed_price_promotion/enable.d.ts +1 -1
  74. package/lib/commands/fixed_price_promotion/enable.js +5 -3
  75. package/lib/commands/fixed_price_promotion/index.d.ts +1 -1
  76. package/lib/commands/fixed_price_promotion/index.js +5 -3
  77. package/lib/commands/free_gift_promotion/disable.d.ts +1 -1
  78. package/lib/commands/free_gift_promotion/disable.js +5 -3
  79. package/lib/commands/free_gift_promotion/enable.d.ts +1 -1
  80. package/lib/commands/free_gift_promotion/enable.js +5 -3
  81. package/lib/commands/free_gift_promotion/index.d.ts +1 -1
  82. package/lib/commands/free_gift_promotion/index.js +5 -3
  83. package/lib/commands/free_shipping_promotion/disable.d.ts +1 -1
  84. package/lib/commands/free_shipping_promotion/disable.js +5 -3
  85. package/lib/commands/free_shipping_promotion/enable.d.ts +1 -1
  86. package/lib/commands/free_shipping_promotion/enable.js +5 -3
  87. package/lib/commands/free_shipping_promotion/index.d.ts +1 -1
  88. package/lib/commands/free_shipping_promotion/index.js +5 -3
  89. package/lib/commands/gift_card/activate.d.ts +1 -1
  90. package/lib/commands/gift_card/activate.js +5 -3
  91. package/lib/commands/gift_card/balance_change_cents.d.ts +1 -1
  92. package/lib/commands/gift_card/balance_change_cents.js +5 -3
  93. package/lib/commands/gift_card/deactivate.d.ts +1 -1
  94. package/lib/commands/gift_card/deactivate.js +5 -3
  95. package/lib/commands/gift_card/index.d.ts +1 -1
  96. package/lib/commands/gift_card/index.js +5 -3
  97. package/lib/commands/gift_card/purchase.d.ts +1 -1
  98. package/lib/commands/gift_card/purchase.js +5 -3
  99. package/lib/commands/in_stock_subscription/activate.d.ts +1 -1
  100. package/lib/commands/in_stock_subscription/activate.js +5 -3
  101. package/lib/commands/in_stock_subscription/deactivate.d.ts +1 -1
  102. package/lib/commands/in_stock_subscription/deactivate.js +5 -3
  103. package/lib/commands/in_stock_subscription/index.d.ts +1 -1
  104. package/lib/commands/in_stock_subscription/index.js +5 -3
  105. package/lib/commands/klarna_payment/index.d.ts +1 -1
  106. package/lib/commands/klarna_payment/index.js +5 -3
  107. package/lib/commands/klarna_payment/update.d.ts +1 -1
  108. package/lib/commands/klarna_payment/update.js +5 -3
  109. package/lib/commands/line_item/external_price.d.ts +1 -1
  110. package/lib/commands/line_item/external_price.js +5 -3
  111. package/lib/commands/line_item/index.d.ts +1 -1
  112. package/lib/commands/line_item/index.js +5 -3
  113. package/lib/commands/line_item/reserve_stock.d.ts +1 -1
  114. package/lib/commands/line_item/reserve_stock.js +5 -3
  115. package/lib/commands/line_item/reset_circuit.d.ts +9 -0
  116. package/lib/commands/line_item/reset_circuit.js +22 -0
  117. package/lib/commands/market/disable.d.ts +1 -1
  118. package/lib/commands/market/disable.js +5 -3
  119. package/lib/commands/market/enable.d.ts +1 -1
  120. package/lib/commands/market/enable.js +5 -3
  121. package/lib/commands/market/index.d.ts +1 -1
  122. package/lib/commands/market/index.js +5 -3
  123. package/lib/commands/noc.js +2 -2
  124. package/lib/commands/order/approve.d.ts +1 -1
  125. package/lib/commands/order/approve.js +5 -3
  126. package/lib/commands/order/approve_and_capture.d.ts +1 -1
  127. package/lib/commands/order/approve_and_capture.js +5 -3
  128. package/lib/commands/order/archive.d.ts +1 -1
  129. package/lib/commands/order/archive.js +5 -3
  130. package/lib/commands/order/authorization_amount_cents.d.ts +1 -1
  131. package/lib/commands/order/authorization_amount_cents.js +5 -3
  132. package/lib/commands/order/authorize.d.ts +1 -1
  133. package/lib/commands/order/authorize.js +5 -3
  134. package/lib/commands/order/billing_address_clone_id.d.ts +2 -2
  135. package/lib/commands/order/billing_address_clone_id.js +12 -10
  136. package/lib/commands/order/billing_address_same_as_shipping.d.ts +1 -1
  137. package/lib/commands/order/billing_address_same_as_shipping.js +5 -3
  138. package/lib/commands/order/cancel.d.ts +1 -1
  139. package/lib/commands/order/cancel.js +5 -3
  140. package/lib/commands/order/capture.d.ts +1 -1
  141. package/lib/commands/order/capture.js +5 -3
  142. package/lib/commands/order/commit_invoice.d.ts +1 -1
  143. package/lib/commands/order/commit_invoice.js +5 -3
  144. package/lib/commands/order/create_subscriptions.d.ts +1 -1
  145. package/lib/commands/order/create_subscriptions.js +5 -3
  146. package/lib/commands/order/customer_payment_source_id.d.ts +2 -2
  147. package/lib/commands/order/customer_payment_source_id.js +12 -10
  148. package/lib/commands/order/index.d.ts +1 -1
  149. package/lib/commands/order/index.js +5 -3
  150. package/lib/commands/order/nullify_payment_source.d.ts +1 -1
  151. package/lib/commands/order/nullify_payment_source.js +5 -3
  152. package/lib/commands/order/pending.d.ts +9 -0
  153. package/lib/commands/order/pending.js +22 -0
  154. package/lib/commands/order/place.d.ts +1 -1
  155. package/lib/commands/order/place.js +5 -3
  156. package/lib/commands/order/refresh.d.ts +1 -1
  157. package/lib/commands/order/refresh.js +5 -3
  158. package/lib/commands/order/refund.d.ts +1 -1
  159. package/lib/commands/order/refund.js +5 -3
  160. package/lib/commands/order/refund_invoice.d.ts +1 -1
  161. package/lib/commands/order/refund_invoice.js +5 -3
  162. package/lib/commands/order/reset_circuit.d.ts +9 -0
  163. package/lib/commands/order/reset_circuit.js +22 -0
  164. package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +1 -1
  165. package/lib/commands/order/save_billing_address_to_customer_address_book.js +5 -3
  166. package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +1 -1
  167. package/lib/commands/order/save_payment_source_to_customer_wallet.js +5 -3
  168. package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +1 -1
  169. package/lib/commands/order/save_shipping_address_to_customer_address_book.js +5 -3
  170. package/lib/commands/order/shipping_address_clone_id.d.ts +2 -2
  171. package/lib/commands/order/shipping_address_clone_id.js +12 -10
  172. package/lib/commands/order/shipping_address_same_as_billing.d.ts +1 -1
  173. package/lib/commands/order/shipping_address_same_as_billing.js +5 -3
  174. package/lib/commands/order/start_editing.d.ts +1 -1
  175. package/lib/commands/order/start_editing.js +5 -3
  176. package/lib/commands/order/stop_editing.d.ts +1 -1
  177. package/lib/commands/order/stop_editing.js +5 -3
  178. package/lib/commands/order/unarchive.d.ts +1 -1
  179. package/lib/commands/order/unarchive.js +5 -3
  180. package/lib/commands/order/update_taxes.d.ts +1 -1
  181. package/lib/commands/order/update_taxes.js +5 -3
  182. package/lib/commands/order/validate.d.ts +1 -1
  183. package/lib/commands/order/validate.js +5 -3
  184. package/lib/commands/order_subscription/activate.d.ts +1 -1
  185. package/lib/commands/order_subscription/activate.js +5 -3
  186. package/lib/commands/order_subscription/cancel.d.ts +1 -1
  187. package/lib/commands/order_subscription/cancel.js +5 -3
  188. package/lib/commands/order_subscription/deactivate.d.ts +1 -1
  189. package/lib/commands/order_subscription/deactivate.js +5 -3
  190. package/lib/commands/order_subscription/index.d.ts +1 -1
  191. package/lib/commands/order_subscription/index.js +5 -3
  192. package/lib/commands/payment_method/disable.d.ts +1 -1
  193. package/lib/commands/payment_method/disable.js +5 -3
  194. package/lib/commands/payment_method/enable.d.ts +1 -1
  195. package/lib/commands/payment_method/enable.js +5 -3
  196. package/lib/commands/payment_method/index.d.ts +1 -1
  197. package/lib/commands/payment_method/index.js +5 -3
  198. package/lib/commands/percentage_discount_promotion/disable.d.ts +1 -1
  199. package/lib/commands/percentage_discount_promotion/disable.js +5 -3
  200. package/lib/commands/percentage_discount_promotion/enable.d.ts +1 -1
  201. package/lib/commands/percentage_discount_promotion/enable.js +5 -3
  202. package/lib/commands/percentage_discount_promotion/index.d.ts +1 -1
  203. package/lib/commands/percentage_discount_promotion/index.js +5 -3
  204. package/lib/commands/return/approve.d.ts +1 -1
  205. package/lib/commands/return/approve.js +5 -3
  206. package/lib/commands/return/archive.d.ts +1 -1
  207. package/lib/commands/return/archive.js +5 -3
  208. package/lib/commands/return/cancel.d.ts +1 -1
  209. package/lib/commands/return/cancel.js +5 -3
  210. package/lib/commands/return/index.d.ts +1 -1
  211. package/lib/commands/return/index.js +5 -3
  212. package/lib/commands/return/receive.d.ts +1 -1
  213. package/lib/commands/return/receive.js +5 -3
  214. package/lib/commands/return/reject.d.ts +1 -1
  215. package/lib/commands/return/reject.js +5 -3
  216. package/lib/commands/return/request.d.ts +1 -1
  217. package/lib/commands/return/request.js +5 -3
  218. package/lib/commands/return/restock.d.ts +1 -1
  219. package/lib/commands/return/restock.js +5 -3
  220. package/lib/commands/return/ship.d.ts +1 -1
  221. package/lib/commands/return/ship.js +5 -3
  222. package/lib/commands/return/unarchive.d.ts +1 -1
  223. package/lib/commands/return/unarchive.js +5 -3
  224. package/lib/commands/return_line_item/index.d.ts +1 -1
  225. package/lib/commands/return_line_item/index.js +5 -3
  226. package/lib/commands/return_line_item/restock.d.ts +1 -1
  227. package/lib/commands/return_line_item/restock.js +5 -3
  228. package/lib/commands/satispay_payment/index.d.ts +1 -1
  229. package/lib/commands/satispay_payment/index.js +5 -3
  230. package/lib/commands/satispay_payment/refresh.d.ts +1 -1
  231. package/lib/commands/satispay_payment/refresh.js +5 -3
  232. package/lib/commands/shipment/decrement_stock.d.ts +1 -1
  233. package/lib/commands/shipment/decrement_stock.js +5 -3
  234. package/lib/commands/shipment/get_rates.d.ts +1 -1
  235. package/lib/commands/shipment/get_rates.js +5 -3
  236. package/lib/commands/shipment/index.d.ts +1 -1
  237. package/lib/commands/shipment/index.js +5 -3
  238. package/lib/commands/shipment/on_hold.d.ts +1 -1
  239. package/lib/commands/shipment/on_hold.js +5 -3
  240. package/lib/commands/shipment/packing.d.ts +1 -1
  241. package/lib/commands/shipment/packing.js +5 -3
  242. package/lib/commands/shipment/picking.d.ts +1 -1
  243. package/lib/commands/shipment/picking.js +5 -3
  244. package/lib/commands/shipment/purchase.d.ts +1 -1
  245. package/lib/commands/shipment/purchase.js +5 -3
  246. package/lib/commands/shipment/ready_to_ship.d.ts +1 -1
  247. package/lib/commands/shipment/ready_to_ship.js +5 -3
  248. package/lib/commands/shipment/release_stock.d.ts +1 -1
  249. package/lib/commands/shipment/release_stock.js +5 -3
  250. package/lib/commands/shipment/reserve_stock.d.ts +1 -1
  251. package/lib/commands/shipment/reserve_stock.js +5 -3
  252. package/lib/commands/shipment/ship.d.ts +1 -1
  253. package/lib/commands/shipment/ship.js +5 -3
  254. package/lib/commands/shipment/upcoming.d.ts +1 -1
  255. package/lib/commands/shipment/upcoming.js +5 -3
  256. package/lib/commands/shipping_method/disable.d.ts +1 -1
  257. package/lib/commands/shipping_method/disable.js +5 -3
  258. package/lib/commands/shipping_method/enable.d.ts +1 -1
  259. package/lib/commands/shipping_method/enable.js +5 -3
  260. package/lib/commands/shipping_method/index.d.ts +1 -1
  261. package/lib/commands/shipping_method/index.js +5 -3
  262. package/lib/commands/shipping_method/reset_circuit.d.ts +9 -0
  263. package/lib/commands/shipping_method/reset_circuit.js +22 -0
  264. package/lib/commands/stock_item/index.d.ts +9 -0
  265. package/lib/commands/stock_item/index.js +40 -0
  266. package/lib/commands/stock_item/validate.d.ts +9 -0
  267. package/lib/commands/stock_item/validate.js +22 -0
  268. package/lib/commands/stock_line_item/decrement_stock.d.ts +9 -0
  269. package/lib/commands/stock_line_item/decrement_stock.js +22 -0
  270. package/lib/commands/stock_line_item/index.d.ts +9 -0
  271. package/lib/commands/stock_line_item/index.js +40 -0
  272. package/lib/commands/stock_line_item/release_stock.d.ts +9 -0
  273. package/lib/commands/stock_line_item/release_stock.js +22 -0
  274. package/lib/commands/stock_line_item/reserve_stock.d.ts +9 -0
  275. package/lib/commands/stock_line_item/reserve_stock.js +22 -0
  276. package/lib/commands/stock_reservation/index.d.ts +1 -1
  277. package/lib/commands/stock_reservation/index.js +5 -3
  278. package/lib/commands/stock_reservation/pending.d.ts +1 -1
  279. package/lib/commands/stock_reservation/pending.js +5 -3
  280. package/lib/commands/stock_transfer/cancel.d.ts +1 -1
  281. package/lib/commands/stock_transfer/cancel.js +5 -3
  282. package/lib/commands/stock_transfer/complete.d.ts +1 -1
  283. package/lib/commands/stock_transfer/complete.js +5 -3
  284. package/lib/commands/stock_transfer/in_transit.d.ts +1 -1
  285. package/lib/commands/stock_transfer/in_transit.js +5 -3
  286. package/lib/commands/stock_transfer/index.d.ts +1 -1
  287. package/lib/commands/stock_transfer/index.js +5 -3
  288. package/lib/commands/stock_transfer/on_hold.d.ts +1 -1
  289. package/lib/commands/stock_transfer/on_hold.js +5 -3
  290. package/lib/commands/stock_transfer/picking.d.ts +1 -1
  291. package/lib/commands/stock_transfer/picking.js +5 -3
  292. package/lib/commands/stock_transfer/upcoming.d.ts +1 -1
  293. package/lib/commands/stock_transfer/upcoming.js +5 -3
  294. package/lib/commands/stripe_payment/index.d.ts +1 -1
  295. package/lib/commands/stripe_payment/index.js +5 -3
  296. package/lib/commands/stripe_payment/refresh.d.ts +1 -1
  297. package/lib/commands/stripe_payment/refresh.js +5 -3
  298. package/lib/commands/stripe_payment/update.d.ts +1 -1
  299. package/lib/commands/stripe_payment/update.js +5 -3
  300. package/lib/commands/webhook/disable.d.ts +9 -0
  301. package/lib/commands/webhook/disable.js +22 -0
  302. package/lib/commands/webhook/enable.d.ts +9 -0
  303. package/lib/commands/webhook/enable.js +22 -0
  304. package/lib/commands/webhook/index.d.ts +1 -1
  305. package/lib/commands/webhook/index.js +5 -3
  306. package/lib/commands/webhook/reset_circuit.d.ts +1 -1
  307. package/lib/commands/webhook/reset_circuit.js +5 -3
  308. package/lib/exec.d.ts +2 -1
  309. package/lib/exec.js +0 -1
  310. package/lib/triggers/buy_x_pay_y_promotions.js +2 -2
  311. package/lib/triggers/external_gateways.d.ts +3 -0
  312. package/lib/triggers/external_gateways.js +10 -0
  313. package/lib/triggers/external_promotions.d.ts +1 -1
  314. package/lib/triggers/external_promotions.js +7 -2
  315. package/lib/triggers/external_tax_calculators.d.ts +3 -0
  316. package/lib/triggers/external_tax_calculators.js +10 -0
  317. package/lib/triggers/fixed_amount_promotions.js +2 -2
  318. package/lib/triggers/fixed_price_promotions.js +2 -2
  319. package/lib/triggers/free_gift_promotions.js +2 -2
  320. package/lib/triggers/free_shipping_promotions.js +2 -2
  321. package/lib/triggers/line_items.d.ts +1 -1
  322. package/lib/triggers/line_items.js +5 -0
  323. package/lib/triggers/markets.js +2 -2
  324. package/lib/triggers/orders.d.ts +1 -1
  325. package/lib/triggers/orders.js +10 -0
  326. package/lib/triggers/payment_methods.js +2 -2
  327. package/lib/triggers/percentage_discount_promotions.js +2 -2
  328. package/lib/triggers/shipments.js +1 -1
  329. package/lib/triggers/shipping_methods.d.ts +1 -1
  330. package/lib/triggers/shipping_methods.js +7 -2
  331. package/lib/triggers/stock_items.d.ts +3 -0
  332. package/lib/triggers/stock_items.js +10 -0
  333. package/lib/triggers/stock_line_items.d.ts +3 -0
  334. package/lib/triggers/stock_line_items.js +20 -0
  335. package/lib/triggers/webhooks.d.ts +1 -1
  336. package/lib/triggers/webhooks.js +11 -1
  337. package/oclif.manifest.json +2203 -572
  338. package/package.json +38 -32
  339. package/bin/dev +0 -18
  340. package/bin/dev.cmd +0 -3
  341. package/bin/run +0 -5
package/README.md CHANGED
@@ -52,9 +52,14 @@ $ commercelayer plugins:install triggers
52
52
  * [`commercelayer checkout_com_payment:refresh ID`](#commercelayer-checkout_com_paymentrefresh-id)
53
53
  * [`commercelayer customer_password_reset ID`](#commercelayer-customer_password_reset-id)
54
54
  * [`commercelayer customer_password_reset:reset_password_token ID`](#commercelayer-customer_password_resetreset_password_token-id)
55
+ * [`commercelayer external_gateway ID`](#commercelayer-external_gateway-id)
56
+ * [`commercelayer external_gateway:reset_circuit ID`](#commercelayer-external_gatewayreset_circuit-id)
55
57
  * [`commercelayer external_promotion ID`](#commercelayer-external_promotion-id)
56
58
  * [`commercelayer external_promotion:disable ID`](#commercelayer-external_promotiondisable-id)
57
59
  * [`commercelayer external_promotion:enable ID`](#commercelayer-external_promotionenable-id)
60
+ * [`commercelayer external_promotion:reset_circuit ID`](#commercelayer-external_promotionreset_circuit-id)
61
+ * [`commercelayer external_tax_calculator ID`](#commercelayer-external_tax_calculator-id)
62
+ * [`commercelayer external_tax_calculator:reset_circuit ID`](#commercelayer-external_tax_calculatorreset_circuit-id)
58
63
  * [`commercelayer fixed_amount_promotion ID`](#commercelayer-fixed_amount_promotion-id)
59
64
  * [`commercelayer fixed_amount_promotion:disable ID`](#commercelayer-fixed_amount_promotiondisable-id)
60
65
  * [`commercelayer fixed_amount_promotion:enable ID`](#commercelayer-fixed_amount_promotionenable-id)
@@ -80,6 +85,7 @@ $ commercelayer plugins:install triggers
80
85
  * [`commercelayer line_item ID`](#commercelayer-line_item-id)
81
86
  * [`commercelayer line_item:external_price ID`](#commercelayer-line_itemexternal_price-id)
82
87
  * [`commercelayer line_item:reserve_stock ID`](#commercelayer-line_itemreserve_stock-id)
88
+ * [`commercelayer line_item:reset_circuit ID`](#commercelayer-line_itemreset_circuit-id)
83
89
  * [`commercelayer market ID`](#commercelayer-market-id)
84
90
  * [`commercelayer market:disable ID`](#commercelayer-marketdisable-id)
85
91
  * [`commercelayer market:enable ID`](#commercelayer-marketenable-id)
@@ -97,10 +103,12 @@ $ commercelayer plugins:install triggers
97
103
  * [`commercelayer order:create_subscriptions ID`](#commercelayer-ordercreate_subscriptions-id)
98
104
  * [`commercelayer order:customer_payment_source_id ID`](#commercelayer-ordercustomer_payment_source_id-id)
99
105
  * [`commercelayer order:nullify_payment_source ID`](#commercelayer-ordernullify_payment_source-id)
106
+ * [`commercelayer order:pending ID`](#commercelayer-orderpending-id)
100
107
  * [`commercelayer order:place ID`](#commercelayer-orderplace-id)
101
108
  * [`commercelayer order:refresh ID`](#commercelayer-orderrefresh-id)
102
109
  * [`commercelayer order:refund ID`](#commercelayer-orderrefund-id)
103
110
  * [`commercelayer order:refund_invoice ID`](#commercelayer-orderrefund_invoice-id)
111
+ * [`commercelayer order:reset_circuit ID`](#commercelayer-orderreset_circuit-id)
104
112
  * [`commercelayer order:save_billing_address_to_customer_address_book ID`](#commercelayer-ordersave_billing_address_to_customer_address_book-id)
105
113
  * [`commercelayer order:save_payment_source_to_customer_wallet ID`](#commercelayer-ordersave_payment_source_to_customer_wallet-id)
106
114
  * [`commercelayer order:save_shipping_address_to_customer_address_book ID`](#commercelayer-ordersave_shipping_address_to_customer_address_book-id)
@@ -150,6 +158,13 @@ $ commercelayer plugins:install triggers
150
158
  * [`commercelayer shipping_method ID`](#commercelayer-shipping_method-id)
151
159
  * [`commercelayer shipping_method:disable ID`](#commercelayer-shipping_methoddisable-id)
152
160
  * [`commercelayer shipping_method:enable ID`](#commercelayer-shipping_methodenable-id)
161
+ * [`commercelayer shipping_method:reset_circuit ID`](#commercelayer-shipping_methodreset_circuit-id)
162
+ * [`commercelayer stock_item ID`](#commercelayer-stock_item-id)
163
+ * [`commercelayer stock_item:validate ID`](#commercelayer-stock_itemvalidate-id)
164
+ * [`commercelayer stock_line_item ID`](#commercelayer-stock_line_item-id)
165
+ * [`commercelayer stock_line_item:decrement_stock ID`](#commercelayer-stock_line_itemdecrement_stock-id)
166
+ * [`commercelayer stock_line_item:release_stock ID`](#commercelayer-stock_line_itemrelease_stock-id)
167
+ * [`commercelayer stock_line_item:reserve_stock ID`](#commercelayer-stock_line_itemreserve_stock-id)
153
168
  * [`commercelayer stock_reservation ID`](#commercelayer-stock_reservation-id)
154
169
  * [`commercelayer stock_reservation:pending ID`](#commercelayer-stock_reservationpending-id)
155
170
  * [`commercelayer stock_transfer ID`](#commercelayer-stock_transfer-id)
@@ -163,6 +178,8 @@ $ commercelayer plugins:install triggers
163
178
  * [`commercelayer stripe_payment:refresh ID`](#commercelayer-stripe_paymentrefresh-id)
164
179
  * [`commercelayer stripe_payment:update ID`](#commercelayer-stripe_paymentupdate-id)
165
180
  * [`commercelayer webhook ID`](#commercelayer-webhook-id)
181
+ * [`commercelayer webhook:disable ID`](#commercelayer-webhookdisable-id)
182
+ * [`commercelayer webhook:enable ID`](#commercelayer-webhookenable-id)
166
183
  * [`commercelayer webhook:reset_circuit ID`](#commercelayer-webhookreset_circuit-id)
167
184
 
168
185
  ### `commercelayer adyen_payment ID`
@@ -433,7 +450,7 @@ _See code: [src/commands/buy_x_pay_y_promotion/index.ts](https://github.com/comm
433
450
 
434
451
  ### `commercelayer buy_x_pay_y_promotion:disable ID`
435
452
 
436
- Send this attribute if you want to mark the promotion as disabled.
453
+ Send this attribute if you want to mark this resource as disabled.
437
454
 
438
455
  ```sh-session
439
456
  USAGE
@@ -448,14 +465,14 @@ FLAGS
448
465
  -u, --unformatted print JSON output without indentation
449
466
 
450
467
  DESCRIPTION
451
- Send this attribute if you want to mark the promotion as disabled.
468
+ Send this attribute if you want to mark this resource as disabled.
452
469
  ```
453
470
 
454
471
  _See code: [src/commands/buy_x_pay_y_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/buy_x_pay_y_promotion/disable.ts)_
455
472
 
456
473
  ### `commercelayer buy_x_pay_y_promotion:enable ID`
457
474
 
458
- Send this attribute if you want to mark the promotion as enabled.
475
+ Send this attribute if you want to mark this resource as enabled.
459
476
 
460
477
  ```sh-session
461
478
  USAGE
@@ -470,7 +487,7 @@ FLAGS
470
487
  -u, --unformatted print JSON output without indentation
471
488
 
472
489
  DESCRIPTION
473
- Send this attribute if you want to mark the promotion as enabled.
490
+ Send this attribute if you want to mark this resource as enabled.
474
491
  ```
475
492
 
476
493
  _See code: [src/commands/buy_x_pay_y_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/buy_x_pay_y_promotion/enable.ts)_
@@ -651,6 +668,51 @@ DESCRIPTION
651
668
 
652
669
  _See code: [src/commands/customer_password_reset/reset_password_token.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/customer_password_reset/reset_password_token.ts)_
653
670
 
671
+ ### `commercelayer external_gateway ID`
672
+
673
+ Execute an action on a resource of type external_gateways.
674
+
675
+ ```sh-session
676
+ USAGE
677
+ $ commercelayer external_gateway ID [-u [-j -p]]
678
+
679
+ ARGUMENTS
680
+ ID the unique id of the resource
681
+
682
+ FLAGS
683
+ -j, --json print result in JSON format
684
+ -p, --print print out the modified resource
685
+ -u, --unformatted print JSON output without indentation
686
+
687
+ DESCRIPTION
688
+ execute an action on a resource of type external_gateways
689
+ ```
690
+
691
+ _See code: [src/commands/external_gateway/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_gateway/index.ts)_
692
+
693
+ ### `commercelayer external_gateway:reset_circuit ID`
694
+
695
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
696
+
697
+ ```sh-session
698
+ USAGE
699
+ $ commercelayer external_gateway:reset_circuit ID [-u [-j -p]]
700
+
701
+ ARGUMENTS
702
+ ID the unique id of the resource
703
+
704
+ FLAGS
705
+ -j, --json print result in JSON format
706
+ -p, --print print out the modified resource
707
+ -u, --unformatted print JSON output without indentation
708
+
709
+ DESCRIPTION
710
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
711
+ failures count.
712
+ ```
713
+
714
+ _See code: [src/commands/external_gateway/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_gateway/reset_circuit.ts)_
715
+
654
716
  ### `commercelayer external_promotion ID`
655
717
 
656
718
  Execute an action on a resource of type external_promotions.
@@ -675,7 +737,7 @@ _See code: [src/commands/external_promotion/index.ts](https://github.com/commerc
675
737
 
676
738
  ### `commercelayer external_promotion:disable ID`
677
739
 
678
- Send this attribute if you want to mark the promotion as disabled.
740
+ Send this attribute if you want to mark this resource as disabled.
679
741
 
680
742
  ```sh-session
681
743
  USAGE
@@ -690,14 +752,14 @@ FLAGS
690
752
  -u, --unformatted print JSON output without indentation
691
753
 
692
754
  DESCRIPTION
693
- Send this attribute if you want to mark the promotion as disabled.
755
+ Send this attribute if you want to mark this resource as disabled.
694
756
  ```
695
757
 
696
758
  _See code: [src/commands/external_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_promotion/disable.ts)_
697
759
 
698
760
  ### `commercelayer external_promotion:enable ID`
699
761
 
700
- Send this attribute if you want to mark the promotion as enabled.
762
+ Send this attribute if you want to mark this resource as enabled.
701
763
 
702
764
  ```sh-session
703
765
  USAGE
@@ -712,11 +774,79 @@ FLAGS
712
774
  -u, --unformatted print JSON output without indentation
713
775
 
714
776
  DESCRIPTION
715
- Send this attribute if you want to mark the promotion as enabled.
777
+ Send this attribute if you want to mark this resource as enabled.
716
778
  ```
717
779
 
718
780
  _See code: [src/commands/external_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_promotion/enable.ts)_
719
781
 
782
+ ### `commercelayer external_promotion:reset_circuit ID`
783
+
784
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
785
+
786
+ ```sh-session
787
+ USAGE
788
+ $ commercelayer external_promotion:reset_circuit ID [-u [-j -p]]
789
+
790
+ ARGUMENTS
791
+ ID the unique id of the resource
792
+
793
+ FLAGS
794
+ -j, --json print result in JSON format
795
+ -p, --print print out the modified resource
796
+ -u, --unformatted print JSON output without indentation
797
+
798
+ DESCRIPTION
799
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
800
+ failures count.
801
+ ```
802
+
803
+ _See code: [src/commands/external_promotion/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_promotion/reset_circuit.ts)_
804
+
805
+ ### `commercelayer external_tax_calculator ID`
806
+
807
+ Execute an action on a resource of type external_tax_calculators.
808
+
809
+ ```sh-session
810
+ USAGE
811
+ $ commercelayer external_tax_calculator ID [-u [-j -p]]
812
+
813
+ ARGUMENTS
814
+ ID the unique id of the resource
815
+
816
+ FLAGS
817
+ -j, --json print result in JSON format
818
+ -p, --print print out the modified resource
819
+ -u, --unformatted print JSON output without indentation
820
+
821
+ DESCRIPTION
822
+ execute an action on a resource of type external_tax_calculators
823
+ ```
824
+
825
+ _See code: [src/commands/external_tax_calculator/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_tax_calculator/index.ts)_
826
+
827
+ ### `commercelayer external_tax_calculator:reset_circuit ID`
828
+
829
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
830
+
831
+ ```sh-session
832
+ USAGE
833
+ $ commercelayer external_tax_calculator:reset_circuit ID [-u [-j -p]]
834
+
835
+ ARGUMENTS
836
+ ID the unique id of the resource
837
+
838
+ FLAGS
839
+ -j, --json print result in JSON format
840
+ -p, --print print out the modified resource
841
+ -u, --unformatted print JSON output without indentation
842
+
843
+ DESCRIPTION
844
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
845
+ failures count.
846
+ ```
847
+
848
+ _See code: [src/commands/external_tax_calculator/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/external_tax_calculator/reset_circuit.ts)_
849
+
720
850
  ### `commercelayer fixed_amount_promotion ID`
721
851
 
722
852
  Execute an action on a resource of type fixed_amount_promotions.
@@ -741,7 +871,7 @@ _See code: [src/commands/fixed_amount_promotion/index.ts](https://github.com/com
741
871
 
742
872
  ### `commercelayer fixed_amount_promotion:disable ID`
743
873
 
744
- Send this attribute if you want to mark the promotion as disabled.
874
+ Send this attribute if you want to mark this resource as disabled.
745
875
 
746
876
  ```sh-session
747
877
  USAGE
@@ -756,14 +886,14 @@ FLAGS
756
886
  -u, --unformatted print JSON output without indentation
757
887
 
758
888
  DESCRIPTION
759
- Send this attribute if you want to mark the promotion as disabled.
889
+ Send this attribute if you want to mark this resource as disabled.
760
890
  ```
761
891
 
762
892
  _See code: [src/commands/fixed_amount_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_amount_promotion/disable.ts)_
763
893
 
764
894
  ### `commercelayer fixed_amount_promotion:enable ID`
765
895
 
766
- Send this attribute if you want to mark the promotion as enabled.
896
+ Send this attribute if you want to mark this resource as enabled.
767
897
 
768
898
  ```sh-session
769
899
  USAGE
@@ -778,7 +908,7 @@ FLAGS
778
908
  -u, --unformatted print JSON output without indentation
779
909
 
780
910
  DESCRIPTION
781
- Send this attribute if you want to mark the promotion as enabled.
911
+ Send this attribute if you want to mark this resource as enabled.
782
912
  ```
783
913
 
784
914
  _See code: [src/commands/fixed_amount_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_amount_promotion/enable.ts)_
@@ -807,7 +937,7 @@ _See code: [src/commands/fixed_price_promotion/index.ts](https://github.com/comm
807
937
 
808
938
  ### `commercelayer fixed_price_promotion:disable ID`
809
939
 
810
- Send this attribute if you want to mark the promotion as disabled.
940
+ Send this attribute if you want to mark this resource as disabled.
811
941
 
812
942
  ```sh-session
813
943
  USAGE
@@ -822,14 +952,14 @@ FLAGS
822
952
  -u, --unformatted print JSON output without indentation
823
953
 
824
954
  DESCRIPTION
825
- Send this attribute if you want to mark the promotion as disabled.
955
+ Send this attribute if you want to mark this resource as disabled.
826
956
  ```
827
957
 
828
958
  _See code: [src/commands/fixed_price_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_price_promotion/disable.ts)_
829
959
 
830
960
  ### `commercelayer fixed_price_promotion:enable ID`
831
961
 
832
- Send this attribute if you want to mark the promotion as enabled.
962
+ Send this attribute if you want to mark this resource as enabled.
833
963
 
834
964
  ```sh-session
835
965
  USAGE
@@ -844,7 +974,7 @@ FLAGS
844
974
  -u, --unformatted print JSON output without indentation
845
975
 
846
976
  DESCRIPTION
847
- Send this attribute if you want to mark the promotion as enabled.
977
+ Send this attribute if you want to mark this resource as enabled.
848
978
  ```
849
979
 
850
980
  _See code: [src/commands/fixed_price_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/fixed_price_promotion/enable.ts)_
@@ -873,7 +1003,7 @@ _See code: [src/commands/free_gift_promotion/index.ts](https://github.com/commer
873
1003
 
874
1004
  ### `commercelayer free_gift_promotion:disable ID`
875
1005
 
876
- Send this attribute if you want to mark the promotion as disabled.
1006
+ Send this attribute if you want to mark this resource as disabled.
877
1007
 
878
1008
  ```sh-session
879
1009
  USAGE
@@ -888,14 +1018,14 @@ FLAGS
888
1018
  -u, --unformatted print JSON output without indentation
889
1019
 
890
1020
  DESCRIPTION
891
- Send this attribute if you want to mark the promotion as disabled.
1021
+ Send this attribute if you want to mark this resource as disabled.
892
1022
  ```
893
1023
 
894
1024
  _See code: [src/commands/free_gift_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_gift_promotion/disable.ts)_
895
1025
 
896
1026
  ### `commercelayer free_gift_promotion:enable ID`
897
1027
 
898
- Send this attribute if you want to mark the promotion as enabled.
1028
+ Send this attribute if you want to mark this resource as enabled.
899
1029
 
900
1030
  ```sh-session
901
1031
  USAGE
@@ -910,7 +1040,7 @@ FLAGS
910
1040
  -u, --unformatted print JSON output without indentation
911
1041
 
912
1042
  DESCRIPTION
913
- Send this attribute if you want to mark the promotion as enabled.
1043
+ Send this attribute if you want to mark this resource as enabled.
914
1044
  ```
915
1045
 
916
1046
  _See code: [src/commands/free_gift_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_gift_promotion/enable.ts)_
@@ -939,7 +1069,7 @@ _See code: [src/commands/free_shipping_promotion/index.ts](https://github.com/co
939
1069
 
940
1070
  ### `commercelayer free_shipping_promotion:disable ID`
941
1071
 
942
- Send this attribute if you want to mark the promotion as disabled.
1072
+ Send this attribute if you want to mark this resource as disabled.
943
1073
 
944
1074
  ```sh-session
945
1075
  USAGE
@@ -954,14 +1084,14 @@ FLAGS
954
1084
  -u, --unformatted print JSON output without indentation
955
1085
 
956
1086
  DESCRIPTION
957
- Send this attribute if you want to mark the promotion as disabled.
1087
+ Send this attribute if you want to mark this resource as disabled.
958
1088
  ```
959
1089
 
960
1090
  _See code: [src/commands/free_shipping_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_shipping_promotion/disable.ts)_
961
1091
 
962
1092
  ### `commercelayer free_shipping_promotion:enable ID`
963
1093
 
964
- Send this attribute if you want to mark the promotion as enabled.
1094
+ Send this attribute if you want to mark this resource as enabled.
965
1095
 
966
1096
  ```sh-session
967
1097
  USAGE
@@ -976,7 +1106,7 @@ FLAGS
976
1106
  -u, --unformatted print JSON output without indentation
977
1107
 
978
1108
  DESCRIPTION
979
- Send this attribute if you want to mark the promotion as enabled.
1109
+ Send this attribute if you want to mark this resource as enabled.
980
1110
  ```
981
1111
 
982
1112
  _See code: [src/commands/free_shipping_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/free_shipping_promotion/enable.ts)_
@@ -1272,6 +1402,29 @@ DESCRIPTION
1272
1402
 
1273
1403
  _See code: [src/commands/line_item/reserve_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/line_item/reserve_stock.ts)_
1274
1404
 
1405
+ ### `commercelayer line_item:reset_circuit ID`
1406
+
1407
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
1408
+
1409
+ ```sh-session
1410
+ USAGE
1411
+ $ commercelayer line_item:reset_circuit ID [-u [-j -p]]
1412
+
1413
+ ARGUMENTS
1414
+ ID the unique id of the resource
1415
+
1416
+ FLAGS
1417
+ -j, --json print result in JSON format
1418
+ -p, --print print out the modified resource
1419
+ -u, --unformatted print JSON output without indentation
1420
+
1421
+ DESCRIPTION
1422
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
1423
+ failures count.
1424
+ ```
1425
+
1426
+ _See code: [src/commands/line_item/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/line_item/reset_circuit.ts)_
1427
+
1275
1428
  ### `commercelayer market ID`
1276
1429
 
1277
1430
  Execute an action on a resource of type markets.
@@ -1296,7 +1449,7 @@ _See code: [src/commands/market/index.ts](https://github.com/commercelayer/comme
1296
1449
 
1297
1450
  ### `commercelayer market:disable ID`
1298
1451
 
1299
- Send this attribute if you want to mark the market as disabled.
1452
+ Send this attribute if you want to mark this resource as disabled.
1300
1453
 
1301
1454
  ```sh-session
1302
1455
  USAGE
@@ -1311,14 +1464,14 @@ FLAGS
1311
1464
  -u, --unformatted print JSON output without indentation
1312
1465
 
1313
1466
  DESCRIPTION
1314
- Send this attribute if you want to mark the market as disabled.
1467
+ Send this attribute if you want to mark this resource as disabled.
1315
1468
  ```
1316
1469
 
1317
1470
  _See code: [src/commands/market/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/market/disable.ts)_
1318
1471
 
1319
1472
  ### `commercelayer market:enable ID`
1320
1473
 
1321
- Send this attribute if you want to mark the market as enabled.
1474
+ Send this attribute if you want to mark this resource as enabled.
1322
1475
 
1323
1476
  ```sh-session
1324
1477
  USAGE
@@ -1333,7 +1486,7 @@ FLAGS
1333
1486
  -u, --unformatted print JSON output without indentation
1334
1487
 
1335
1488
  DESCRIPTION
1336
- Send this attribute if you want to mark the market as enabled.
1489
+ Send this attribute if you want to mark this resource as enabled.
1337
1490
  ```
1338
1491
 
1339
1492
  _See code: [src/commands/market/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/market/enable.ts)_
@@ -1650,6 +1803,28 @@ DESCRIPTION
1650
1803
 
1651
1804
  _See code: [src/commands/order/nullify_payment_source.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/nullify_payment_source.ts)_
1652
1805
 
1806
+ ### `commercelayer order:pending ID`
1807
+
1808
+ Send this attribute if you want to move a draft or placing order to pending.
1809
+
1810
+ ```sh-session
1811
+ USAGE
1812
+ $ commercelayer order:pending ID [-u [-j -p]]
1813
+
1814
+ ARGUMENTS
1815
+ ID the unique id of the resource
1816
+
1817
+ FLAGS
1818
+ -j, --json print result in JSON format
1819
+ -p, --print print out the modified resource
1820
+ -u, --unformatted print JSON output without indentation
1821
+
1822
+ DESCRIPTION
1823
+ Send this attribute if you want to move a draft or placing order to pending.
1824
+ ```
1825
+
1826
+ _See code: [src/commands/order/pending.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/pending.ts)_
1827
+
1653
1828
  ### `commercelayer order:place ID`
1654
1829
 
1655
1830
  Send this attribute if you want to place the order.
@@ -1739,6 +1914,29 @@ DESCRIPTION
1739
1914
 
1740
1915
  _See code: [src/commands/order/refund_invoice.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/refund_invoice.ts)_
1741
1916
 
1917
+ ### `commercelayer order:reset_circuit ID`
1918
+
1919
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
1920
+
1921
+ ```sh-session
1922
+ USAGE
1923
+ $ commercelayer order:reset_circuit ID [-u [-j -p]]
1924
+
1925
+ ARGUMENTS
1926
+ ID the unique id of the resource
1927
+
1928
+ FLAGS
1929
+ -j, --json print result in JSON format
1930
+ -p, --print print out the modified resource
1931
+ -u, --unformatted print JSON output without indentation
1932
+
1933
+ DESCRIPTION
1934
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
1935
+ failures count.
1936
+ ```
1937
+
1938
+ _See code: [src/commands/order/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/order/reset_circuit.ts)_
1939
+
1742
1940
  ### `commercelayer order:save_billing_address_to_customer_address_book ID`
1743
1941
 
1744
1942
  Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.
@@ -2077,7 +2275,7 @@ _See code: [src/commands/payment_method/index.ts](https://github.com/commercelay
2077
2275
 
2078
2276
  ### `commercelayer payment_method:disable ID`
2079
2277
 
2080
- Send this attribute if you want to mark the payment method as disabled.
2278
+ Send this attribute if you want to mark this resource as disabled.
2081
2279
 
2082
2280
  ```sh-session
2083
2281
  USAGE
@@ -2092,14 +2290,14 @@ FLAGS
2092
2290
  -u, --unformatted print JSON output without indentation
2093
2291
 
2094
2292
  DESCRIPTION
2095
- Send this attribute if you want to mark the payment method as disabled.
2293
+ Send this attribute if you want to mark this resource as disabled.
2096
2294
  ```
2097
2295
 
2098
2296
  _See code: [src/commands/payment_method/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/payment_method/disable.ts)_
2099
2297
 
2100
2298
  ### `commercelayer payment_method:enable ID`
2101
2299
 
2102
- Send this attribute if you want to mark the payment method as enabled.
2300
+ Send this attribute if you want to mark this resource as enabled.
2103
2301
 
2104
2302
  ```sh-session
2105
2303
  USAGE
@@ -2114,7 +2312,7 @@ FLAGS
2114
2312
  -u, --unformatted print JSON output without indentation
2115
2313
 
2116
2314
  DESCRIPTION
2117
- Send this attribute if you want to mark the payment method as enabled.
2315
+ Send this attribute if you want to mark this resource as enabled.
2118
2316
  ```
2119
2317
 
2120
2318
  _See code: [src/commands/payment_method/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/payment_method/enable.ts)_
@@ -2143,7 +2341,7 @@ _See code: [src/commands/percentage_discount_promotion/index.ts](https://github.
2143
2341
 
2144
2342
  ### `commercelayer percentage_discount_promotion:disable ID`
2145
2343
 
2146
- Send this attribute if you want to mark the promotion as disabled.
2344
+ Send this attribute if you want to mark this resource as disabled.
2147
2345
 
2148
2346
  ```sh-session
2149
2347
  USAGE
@@ -2158,14 +2356,14 @@ FLAGS
2158
2356
  -u, --unformatted print JSON output without indentation
2159
2357
 
2160
2358
  DESCRIPTION
2161
- Send this attribute if you want to mark the promotion as disabled.
2359
+ Send this attribute if you want to mark this resource as disabled.
2162
2360
  ```
2163
2361
 
2164
2362
  _See code: [src/commands/percentage_discount_promotion/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/percentage_discount_promotion/disable.ts)_
2165
2363
 
2166
2364
  ### `commercelayer percentage_discount_promotion:enable ID`
2167
2365
 
2168
- Send this attribute if you want to mark the promotion as enabled.
2366
+ Send this attribute if you want to mark this resource as enabled.
2169
2367
 
2170
2368
  ```sh-session
2171
2369
  USAGE
@@ -2180,7 +2378,7 @@ FLAGS
2180
2378
  -u, --unformatted print JSON output without indentation
2181
2379
 
2182
2380
  DESCRIPTION
2183
- Send this attribute if you want to mark the promotion as enabled.
2381
+ Send this attribute if you want to mark this resource as enabled.
2184
2382
  ```
2185
2383
 
2186
2384
  _See code: [src/commands/percentage_discount_promotion/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/percentage_discount_promotion/enable.ts)_
@@ -2672,7 +2870,7 @@ _See code: [src/commands/shipment/ready_to_ship.ts](https://github.com/commercel
2672
2870
 
2673
2871
  ### `commercelayer shipment:release_stock ID`
2674
2872
 
2675
- Send this attribute if you want to automatically release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress.
2873
+ Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress.
2676
2874
 
2677
2875
  ```sh-session
2678
2876
  USAGE
@@ -2687,8 +2885,8 @@ FLAGS
2687
2885
  -u, --unformatted print JSON output without indentation
2688
2886
 
2689
2887
  DESCRIPTION
2690
- Send this attribute if you want to automatically release the stock for each of the associated stock line item. Can be
2691
- done only when fulfillment is in progress.
2888
+ Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line
2889
+ item. Can be done only when fulfillment is in progress.
2692
2890
  ```
2693
2891
 
2694
2892
  _See code: [src/commands/shipment/release_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipment/release_stock.ts)_
@@ -2784,7 +2982,7 @@ _See code: [src/commands/shipping_method/index.ts](https://github.com/commercela
2784
2982
 
2785
2983
  ### `commercelayer shipping_method:disable ID`
2786
2984
 
2787
- Send this attribute if you want to mark the shipping method as disabled.
2985
+ Send this attribute if you want to mark this resource as disabled.
2788
2986
 
2789
2987
  ```sh-session
2790
2988
  USAGE
@@ -2799,14 +2997,14 @@ FLAGS
2799
2997
  -u, --unformatted print JSON output without indentation
2800
2998
 
2801
2999
  DESCRIPTION
2802
- Send this attribute if you want to mark the shipping method as disabled.
3000
+ Send this attribute if you want to mark this resource as disabled.
2803
3001
  ```
2804
3002
 
2805
3003
  _See code: [src/commands/shipping_method/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipping_method/disable.ts)_
2806
3004
 
2807
3005
  ### `commercelayer shipping_method:enable ID`
2808
3006
 
2809
- Send this attribute if you want to mark the shipping method as enabled.
3007
+ Send this attribute if you want to mark this resource as enabled.
2810
3008
 
2811
3009
  ```sh-session
2812
3010
  USAGE
@@ -2821,11 +3019,170 @@ FLAGS
2821
3019
  -u, --unformatted print JSON output without indentation
2822
3020
 
2823
3021
  DESCRIPTION
2824
- Send this attribute if you want to mark the shipping method as enabled.
3022
+ Send this attribute if you want to mark this resource as enabled.
2825
3023
  ```
2826
3024
 
2827
3025
  _See code: [src/commands/shipping_method/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipping_method/enable.ts)_
2828
3026
 
3027
+ ### `commercelayer shipping_method:reset_circuit ID`
3028
+
3029
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
3030
+
3031
+ ```sh-session
3032
+ USAGE
3033
+ $ commercelayer shipping_method:reset_circuit ID [-u [-j -p]]
3034
+
3035
+ ARGUMENTS
3036
+ ID the unique id of the resource
3037
+
3038
+ FLAGS
3039
+ -j, --json print result in JSON format
3040
+ -p, --print print out the modified resource
3041
+ -u, --unformatted print JSON output without indentation
3042
+
3043
+ DESCRIPTION
3044
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
3045
+ failures count.
3046
+ ```
3047
+
3048
+ _See code: [src/commands/shipping_method/reset_circuit.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/shipping_method/reset_circuit.ts)_
3049
+
3050
+ ### `commercelayer stock_item ID`
3051
+
3052
+ Execute an action on a resource of type stock_items.
3053
+
3054
+ ```sh-session
3055
+ USAGE
3056
+ $ commercelayer stock_item ID [-u [-j -p]]
3057
+
3058
+ ARGUMENTS
3059
+ ID the unique id of the resource
3060
+
3061
+ FLAGS
3062
+ -j, --json print result in JSON format
3063
+ -p, --print print out the modified resource
3064
+ -u, --unformatted print JSON output without indentation
3065
+
3066
+ DESCRIPTION
3067
+ execute an action on a resource of type stock_items
3068
+ ```
3069
+
3070
+ _See code: [src/commands/stock_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_item/index.ts)_
3071
+
3072
+ ### `commercelayer stock_item:validate ID`
3073
+
3074
+ Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller.
3075
+
3076
+ ```sh-session
3077
+ USAGE
3078
+ $ commercelayer stock_item:validate ID [-u [-j -p]]
3079
+
3080
+ ARGUMENTS
3081
+ ID the unique id of the resource
3082
+
3083
+ FLAGS
3084
+ -j, --json print result in JSON format
3085
+ -p, --print print out the modified resource
3086
+ -u, --unformatted print JSON output without indentation
3087
+
3088
+ DESCRIPTION
3089
+ Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns
3090
+ an error in case the former is smaller.
3091
+ ```
3092
+
3093
+ _See code: [src/commands/stock_item/validate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_item/validate.ts)_
3094
+
3095
+ ### `commercelayer stock_line_item ID`
3096
+
3097
+ Execute an action on a resource of type stock_line_items.
3098
+
3099
+ ```sh-session
3100
+ USAGE
3101
+ $ commercelayer stock_line_item ID [-u [-j -p]]
3102
+
3103
+ ARGUMENTS
3104
+ ID the unique id of the resource
3105
+
3106
+ FLAGS
3107
+ -j, --json print result in JSON format
3108
+ -p, --print print out the modified resource
3109
+ -u, --unformatted print JSON output without indentation
3110
+
3111
+ DESCRIPTION
3112
+ execute an action on a resource of type stock_line_items
3113
+ ```
3114
+
3115
+ _See code: [src/commands/stock_line_item/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/index.ts)_
3116
+
3117
+ ### `commercelayer stock_line_item:decrement_stock ID`
3118
+
3119
+ Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress.
3120
+
3121
+ ```sh-session
3122
+ USAGE
3123
+ $ commercelayer stock_line_item:decrement_stock ID [-u [-j -p]]
3124
+
3125
+ ARGUMENTS
3126
+ ID the unique id of the resource
3127
+
3128
+ FLAGS
3129
+ -j, --json print result in JSON format
3130
+ -p, --print print out the modified resource
3131
+ -u, --unformatted print JSON output without indentation
3132
+
3133
+ DESCRIPTION
3134
+ Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done
3135
+ only when fulfillment is in progress.
3136
+ ```
3137
+
3138
+ _See code: [src/commands/stock_line_item/decrement_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/decrement_stock.ts)_
3139
+
3140
+ ### `commercelayer stock_line_item:release_stock ID`
3141
+
3142
+ Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress.
3143
+
3144
+ ```sh-session
3145
+ USAGE
3146
+ $ commercelayer stock_line_item:release_stock ID [-u [-j -p]]
3147
+
3148
+ ARGUMENTS
3149
+ ID the unique id of the resource
3150
+
3151
+ FLAGS
3152
+ -j, --json print result in JSON format
3153
+ -p, --print print out the modified resource
3154
+ -u, --unformatted print JSON output without indentation
3155
+
3156
+ DESCRIPTION
3157
+ Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done
3158
+ only when fulfillment is in progress.
3159
+ ```
3160
+
3161
+ _See code: [src/commands/stock_line_item/release_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/release_stock.ts)_
3162
+
3163
+ ### `commercelayer stock_line_item:reserve_stock ID`
3164
+
3165
+ Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress.
3166
+
3167
+ ```sh-session
3168
+ USAGE
3169
+ $ commercelayer stock_line_item:reserve_stock ID [-u [-j -p]]
3170
+
3171
+ ARGUMENTS
3172
+ ID the unique id of the resource
3173
+
3174
+ FLAGS
3175
+ -j, --json print result in JSON format
3176
+ -p, --print print out the modified resource
3177
+ -u, --unformatted print JSON output without indentation
3178
+
3179
+ DESCRIPTION
3180
+ Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when
3181
+ fulfillment is in progress.
3182
+ ```
3183
+
3184
+ _See code: [src/commands/stock_line_item/reserve_stock.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/stock_line_item/reserve_stock.ts)_
3185
+
2829
3186
  ### `commercelayer stock_reservation ID`
2830
3187
 
2831
3188
  Execute an action on a resource of type stock_reservations.
@@ -3112,9 +3469,53 @@ DESCRIPTION
3112
3469
 
3113
3470
  _See code: [src/commands/webhook/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/index.ts)_
3114
3471
 
3472
+ ### `commercelayer webhook:disable ID`
3473
+
3474
+ Send this attribute if you want to mark this resource as disabled.
3475
+
3476
+ ```sh-session
3477
+ USAGE
3478
+ $ commercelayer webhook:disable ID [-u [-j -p]]
3479
+
3480
+ ARGUMENTS
3481
+ ID the unique id of the resource
3482
+
3483
+ FLAGS
3484
+ -j, --json print result in JSON format
3485
+ -p, --print print out the modified resource
3486
+ -u, --unformatted print JSON output without indentation
3487
+
3488
+ DESCRIPTION
3489
+ Send this attribute if you want to mark this resource as disabled.
3490
+ ```
3491
+
3492
+ _See code: [src/commands/webhook/disable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/disable.ts)_
3493
+
3494
+ ### `commercelayer webhook:enable ID`
3495
+
3496
+ Send this attribute if you want to mark this resource as enabled.
3497
+
3498
+ ```sh-session
3499
+ USAGE
3500
+ $ commercelayer webhook:enable ID [-u [-j -p]]
3501
+
3502
+ ARGUMENTS
3503
+ ID the unique id of the resource
3504
+
3505
+ FLAGS
3506
+ -j, --json print result in JSON format
3507
+ -p, --print print out the modified resource
3508
+ -u, --unformatted print JSON output without indentation
3509
+
3510
+ DESCRIPTION
3511
+ Send this attribute if you want to mark this resource as enabled.
3512
+ ```
3513
+
3514
+ _See code: [src/commands/webhook/enable.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/webhook/enable.ts)_
3515
+
3115
3516
  ### `commercelayer webhook:reset_circuit ID`
3116
3517
 
3117
- Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count.
3518
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.
3118
3519
 
3119
3520
  ```sh-session
3120
3521
  USAGE
@@ -3129,7 +3530,7 @@ FLAGS
3129
3530
  -u, --unformatted print JSON output without indentation
3130
3531
 
3131
3532
  DESCRIPTION
3132
- Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero
3533
+ Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero
3133
3534
  failures count.
3134
3535
  ```
3135
3536