@commercelayer/cli-plugin-triggers 3.13.1 → 3.15.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.
- package/README.md +653 -5
- package/lib/base.d.ts +1 -0
- package/lib/base.js +5 -0
- package/lib/commands/adyen_payment/details.js +1 -2
- package/lib/commands/authorization/capture.js +1 -2
- package/lib/commands/authorization/capture_amount_cents.js +1 -2
- package/lib/commands/authorization/void.js +1 -2
- package/lib/commands/axerve_payment/update.js +1 -2
- package/lib/commands/bundle/compute_compare_at_amount.js +1 -2
- package/lib/commands/bundle/compute_price_amount.js +1 -2
- package/lib/commands/buy_x_pay_y_promotion/disable.d.ts +9 -0
- package/lib/commands/buy_x_pay_y_promotion/disable.js +20 -0
- package/lib/commands/buy_x_pay_y_promotion/enable.d.ts +9 -0
- package/lib/commands/buy_x_pay_y_promotion/enable.js +20 -0
- package/lib/commands/buy_x_pay_y_promotion/index.d.ts +9 -0
- package/lib/commands/buy_x_pay_y_promotion/index.js +38 -0
- package/lib/commands/capture/refund.js +1 -2
- package/lib/commands/capture/refund_amount_cents.js +1 -2
- package/lib/commands/checkout_com_payment/details.js +1 -2
- package/lib/commands/checkout_com_payment/refresh.js +1 -2
- package/lib/commands/customer_password_reset/reset_password_token.js +1 -2
- package/lib/commands/external_promotion/disable.d.ts +9 -0
- package/lib/commands/external_promotion/disable.js +20 -0
- package/lib/commands/external_promotion/enable.d.ts +9 -0
- package/lib/commands/external_promotion/enable.js +20 -0
- package/lib/commands/external_promotion/index.d.ts +9 -0
- package/lib/commands/external_promotion/index.js +38 -0
- package/lib/commands/fixed_amount_promotion/disable.d.ts +9 -0
- package/lib/commands/fixed_amount_promotion/disable.js +20 -0
- package/lib/commands/fixed_amount_promotion/enable.d.ts +9 -0
- package/lib/commands/fixed_amount_promotion/enable.js +20 -0
- package/lib/commands/fixed_amount_promotion/index.d.ts +9 -0
- package/lib/commands/fixed_amount_promotion/index.js +38 -0
- package/lib/commands/fixed_price_promotion/disable.d.ts +9 -0
- package/lib/commands/fixed_price_promotion/disable.js +20 -0
- package/lib/commands/fixed_price_promotion/enable.d.ts +9 -0
- package/lib/commands/fixed_price_promotion/enable.js +20 -0
- package/lib/commands/fixed_price_promotion/index.d.ts +9 -0
- package/lib/commands/fixed_price_promotion/index.js +38 -0
- package/lib/commands/free_gift_promotion/disable.d.ts +9 -0
- package/lib/commands/free_gift_promotion/disable.js +20 -0
- package/lib/commands/free_gift_promotion/enable.d.ts +9 -0
- package/lib/commands/free_gift_promotion/enable.js +20 -0
- package/lib/commands/free_gift_promotion/index.d.ts +9 -0
- package/lib/commands/free_gift_promotion/index.js +38 -0
- package/lib/commands/free_shipping_promotion/disable.d.ts +9 -0
- package/lib/commands/free_shipping_promotion/disable.js +20 -0
- package/lib/commands/free_shipping_promotion/enable.d.ts +9 -0
- package/lib/commands/free_shipping_promotion/enable.js +20 -0
- package/lib/commands/free_shipping_promotion/index.d.ts +9 -0
- package/lib/commands/free_shipping_promotion/index.js +38 -0
- package/lib/commands/gift_card/activate.js +1 -2
- package/lib/commands/gift_card/balance_change_cents.js +1 -2
- package/lib/commands/gift_card/deactivate.js +1 -2
- package/lib/commands/gift_card/purchase.js +1 -2
- package/lib/commands/in_stock_subscription/activate.js +1 -2
- package/lib/commands/in_stock_subscription/deactivate.js +1 -2
- package/lib/commands/klarna_payment/update.js +1 -2
- package/lib/commands/line_item/external_price.js +1 -2
- package/lib/commands/line_item/reserve_stock.js +1 -2
- package/lib/commands/market/disable.js +1 -2
- package/lib/commands/market/enable.js +1 -2
- package/lib/commands/order/approve.js +1 -2
- package/lib/commands/order/approve_and_capture.js +1 -2
- package/lib/commands/order/archive.js +1 -2
- package/lib/commands/order/authorization_amount_cents.js +1 -2
- package/lib/commands/order/authorize.js +1 -2
- package/lib/commands/order/billing_address_clone_id.js +1 -2
- package/lib/commands/order/billing_address_same_as_shipping.js +1 -2
- package/lib/commands/order/cancel.js +1 -2
- package/lib/commands/order/capture.js +1 -2
- package/lib/commands/order/commit_invoice.js +1 -2
- package/lib/commands/order/create_subscriptions.js +1 -2
- package/lib/commands/order/customer_payment_source_id.js +1 -2
- package/lib/commands/order/nullify_payment_source.js +1 -2
- package/lib/commands/order/place.js +1 -2
- package/lib/commands/order/refresh.js +1 -2
- package/lib/commands/order/refund.js +1 -2
- package/lib/commands/order/refund_invoice.js +1 -2
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +1 -2
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +1 -2
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +1 -2
- package/lib/commands/order/shipping_address_clone_id.js +1 -2
- package/lib/commands/order/shipping_address_same_as_billing.js +1 -2
- package/lib/commands/order/start_editing.js +1 -2
- package/lib/commands/order/stop_editing.js +1 -2
- package/lib/commands/order/unarchive.js +1 -2
- package/lib/commands/order/update_taxes.js +1 -2
- package/lib/commands/order/validate.js +1 -2
- package/lib/commands/order_subscription/activate.js +1 -2
- package/lib/commands/order_subscription/cancel.js +1 -2
- package/lib/commands/order_subscription/deactivate.js +1 -2
- package/lib/commands/payment_method/disable.js +1 -2
- package/lib/commands/payment_method/enable.js +1 -2
- package/lib/commands/percentage_discount_promotion/disable.d.ts +9 -0
- package/lib/commands/percentage_discount_promotion/disable.js +20 -0
- package/lib/commands/percentage_discount_promotion/enable.d.ts +9 -0
- package/lib/commands/percentage_discount_promotion/enable.js +20 -0
- package/lib/commands/percentage_discount_promotion/index.d.ts +9 -0
- package/lib/commands/percentage_discount_promotion/index.js +38 -0
- package/lib/commands/return/approve.js +1 -2
- package/lib/commands/return/archive.js +1 -2
- package/lib/commands/return/cancel.js +1 -2
- package/lib/commands/return/receive.js +1 -2
- package/lib/commands/return/reject.js +1 -2
- package/lib/commands/return/request.js +1 -2
- package/lib/commands/return/restock.js +1 -2
- package/lib/commands/return/ship.js +1 -2
- package/lib/commands/return/unarchive.js +1 -2
- package/lib/commands/return_line_item/restock.js +1 -2
- package/lib/commands/satispay_payment/refresh.js +1 -2
- package/lib/commands/shipment/decrement_stock.d.ts +9 -0
- package/lib/commands/shipment/decrement_stock.js +20 -0
- package/lib/commands/shipment/get_rates.js +1 -2
- package/lib/commands/shipment/on_hold.js +1 -2
- package/lib/commands/shipment/packing.js +1 -2
- package/lib/commands/shipment/picking.js +1 -2
- package/lib/commands/shipment/purchase.js +1 -2
- package/lib/commands/shipment/ready_to_ship.js +1 -2
- package/lib/commands/shipment/release_stock.d.ts +9 -0
- package/lib/commands/shipment/release_stock.js +20 -0
- package/lib/commands/shipment/reserve_stock.d.ts +9 -0
- package/lib/commands/shipment/reserve_stock.js +20 -0
- package/lib/commands/shipment/ship.js +1 -2
- package/lib/commands/shipment/upcoming.d.ts +9 -0
- package/lib/commands/shipment/upcoming.js +20 -0
- package/lib/commands/shipping_method/disable.js +1 -2
- package/lib/commands/shipping_method/enable.js +1 -2
- package/lib/commands/stock_reservation/index.d.ts +9 -0
- package/lib/commands/stock_reservation/index.js +38 -0
- package/lib/commands/stock_reservation/pending.d.ts +9 -0
- package/lib/commands/stock_reservation/pending.js +20 -0
- package/lib/commands/stock_transfer/cancel.js +1 -2
- package/lib/commands/stock_transfer/complete.js +1 -2
- package/lib/commands/stock_transfer/in_transit.js +1 -2
- package/lib/commands/stock_transfer/on_hold.d.ts +9 -0
- package/lib/commands/stock_transfer/on_hold.js +20 -0
- package/lib/commands/stock_transfer/picking.js +1 -2
- package/lib/commands/stock_transfer/upcoming.js +1 -2
- package/lib/commands/stripe_payment/refresh.js +1 -2
- package/lib/commands/stripe_payment/update.js +1 -2
- package/lib/commands/webhook/reset_circuit.js +1 -2
- package/lib/exec.d.ts +3 -2
- package/lib/exec.js +7 -4
- package/lib/triggers/buy_x_pay_y_promotions.d.ts +3 -0
- package/lib/triggers/buy_x_pay_y_promotions.js +15 -0
- package/lib/triggers/external_promotions.d.ts +3 -0
- package/lib/triggers/external_promotions.js +15 -0
- package/lib/triggers/fixed_amount_promotions.d.ts +3 -0
- package/lib/triggers/fixed_amount_promotions.js +15 -0
- package/lib/triggers/fixed_price_promotions.d.ts +3 -0
- package/lib/triggers/fixed_price_promotions.js +15 -0
- package/lib/triggers/free_gift_promotions.d.ts +3 -0
- package/lib/triggers/free_gift_promotions.js +15 -0
- package/lib/triggers/free_shipping_promotions.d.ts +3 -0
- package/lib/triggers/free_shipping_promotions.js +15 -0
- package/lib/triggers/line_items.js +1 -1
- package/lib/triggers/orders.js +1 -1
- package/lib/triggers/percentage_discount_promotions.d.ts +3 -0
- package/lib/triggers/percentage_discount_promotions.js +15 -0
- package/lib/triggers/shipments.d.ts +1 -1
- package/lib/triggers/shipments.js +20 -0
- package/lib/triggers/stock_reservations.d.ts +3 -0
- package/lib/triggers/stock_reservations.js +10 -0
- package/lib/triggers/stock_transfers.d.ts +1 -1
- package/lib/triggers/stock_transfers.js +5 -0
- package/oclif.manifest.json +7757 -3720
- package/package.json +17 -17
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercelayer/cli-plugin-triggers",
|
|
3
3
|
"description": "Commerce Layer CLI Triggers plugin",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.15.0",
|
|
5
5
|
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",
|
|
6
6
|
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-triggers/issues",
|
|
7
7
|
"engines": {
|
|
@@ -44,29 +44,29 @@
|
|
|
44
44
|
"types": "lib/index.d.ts",
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@commercelayer/cli-dev": "^2.0.5",
|
|
47
|
-
"@commercelayer/eslint-config-ts": "^1.0
|
|
48
|
-
"@oclif/plugin-help": "^5.2.
|
|
49
|
-
"@oclif/test": "^2.
|
|
50
|
-
"@types/chai": "^4.3.
|
|
51
|
-
"@types/inquirer": "^8.2.
|
|
52
|
-
"@types/lodash": "^4.14.
|
|
53
|
-
"@types/mocha": "^10.0.
|
|
54
|
-
"@types/node": "^20.
|
|
55
|
-
"chai": "^4.3.
|
|
56
|
-
"eslint": "^8.
|
|
47
|
+
"@commercelayer/eslint-config-ts": "^1.2.0",
|
|
48
|
+
"@oclif/plugin-help": "^5.2.20",
|
|
49
|
+
"@oclif/test": "^2.5.6",
|
|
50
|
+
"@types/chai": "^4.3.10",
|
|
51
|
+
"@types/inquirer": "^8.2.10",
|
|
52
|
+
"@types/lodash": "^4.14.201",
|
|
53
|
+
"@types/mocha": "^10.0.4",
|
|
54
|
+
"@types/node": "^20.9.2",
|
|
55
|
+
"chai": "^4.3.10",
|
|
56
|
+
"eslint": "^8.54.0",
|
|
57
57
|
"inflector-js": "^1.0.1",
|
|
58
58
|
"lodash": "^4.17.21",
|
|
59
59
|
"mocha": "^10.2.0",
|
|
60
60
|
"nyc": "^15.1.0",
|
|
61
61
|
"ts-node": "^10.9.1",
|
|
62
|
-
"typescript": "5.
|
|
62
|
+
"typescript": "5.2.2"
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@commercelayer/cli-core": "^3.
|
|
66
|
-
"@commercelayer/sdk": "^5.
|
|
67
|
-
"@oclif/core": "^2.
|
|
68
|
-
"inquirer": "^8.2.
|
|
69
|
-
"tslib": "^2.6.
|
|
65
|
+
"@commercelayer/cli-core": "^4.3.3",
|
|
66
|
+
"@commercelayer/sdk": "^5.22.1",
|
|
67
|
+
"@oclif/core": "^2.15.0",
|
|
68
|
+
"inquirer": "^8.2.6",
|
|
69
|
+
"tslib": "^2.6.2"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"access": "public"
|