@commercelayer/cli-plugin-triggers 2.0.3 → 2.1.2
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/lib/base.d.ts +8 -8
- package/lib/base.js +10 -10
- package/lib/commands/adyen_payment/details.d.ts +6 -6
- package/lib/commands/adyen_payment/details.js +1 -1
- package/lib/commands/adyen_payment/index.d.ts +6 -6
- package/lib/commands/adyen_payment/index.js +1 -1
- package/lib/commands/authorization/capture.d.ts +6 -6
- package/lib/commands/authorization/capture.js +1 -1
- package/lib/commands/authorization/capture_amount_cents.d.ts +6 -6
- package/lib/commands/authorization/capture_amount_cents.js +1 -1
- package/lib/commands/authorization/index.d.ts +6 -6
- package/lib/commands/authorization/index.js +1 -1
- package/lib/commands/authorization/void.d.ts +6 -6
- package/lib/commands/authorization/void.js +1 -1
- package/lib/commands/bundle/compute_compare_at_amount.d.ts +6 -6
- package/lib/commands/bundle/compute_compare_at_amount.js +1 -1
- package/lib/commands/bundle/compute_price_amount.d.ts +6 -6
- package/lib/commands/bundle/compute_price_amount.js +1 -1
- package/lib/commands/bundle/index.d.ts +6 -6
- package/lib/commands/bundle/index.js +1 -1
- package/lib/commands/capture/index.d.ts +6 -6
- package/lib/commands/capture/index.js +1 -1
- package/lib/commands/capture/refund.d.ts +6 -6
- package/lib/commands/capture/refund.js +1 -1
- package/lib/commands/capture/refund_amount_cents.d.ts +6 -6
- package/lib/commands/capture/refund_amount_cents.js +1 -1
- package/lib/commands/checkout_com_payment/details.d.ts +6 -6
- package/lib/commands/checkout_com_payment/details.js +1 -1
- package/lib/commands/checkout_com_payment/index.d.ts +6 -6
- package/lib/commands/checkout_com_payment/index.js +1 -1
- package/lib/commands/checkout_com_payment/refresh.d.ts +6 -6
- package/lib/commands/checkout_com_payment/refresh.js +1 -1
- package/lib/commands/customer_password_reset/index.d.ts +6 -6
- package/lib/commands/customer_password_reset/index.js +1 -1
- package/lib/commands/customer_password_reset/reset_password_token.d.ts +6 -6
- package/lib/commands/customer_password_reset/reset_password_token.js +1 -1
- package/lib/commands/gift_card/activate.d.ts +6 -6
- package/lib/commands/gift_card/activate.js +1 -1
- package/lib/commands/gift_card/balance_change_cents.d.ts +6 -6
- package/lib/commands/gift_card/balance_change_cents.js +1 -1
- package/lib/commands/gift_card/deactivate.d.ts +6 -6
- package/lib/commands/gift_card/deactivate.js +1 -1
- package/lib/commands/gift_card/index.d.ts +6 -6
- package/lib/commands/gift_card/index.js +1 -1
- package/lib/commands/gift_card/purchase.d.ts +6 -6
- package/lib/commands/gift_card/purchase.js +1 -1
- package/lib/commands/in_stock_subscription/activate.d.ts +6 -6
- package/lib/commands/in_stock_subscription/activate.js +1 -1
- package/lib/commands/in_stock_subscription/deactivate.d.ts +6 -6
- package/lib/commands/in_stock_subscription/deactivate.js +1 -1
- package/lib/commands/in_stock_subscription/index.d.ts +6 -6
- package/lib/commands/in_stock_subscription/index.js +1 -1
- package/lib/commands/klarna_payment/index.d.ts +6 -6
- package/lib/commands/klarna_payment/index.js +1 -1
- package/lib/commands/klarna_payment/update.d.ts +6 -6
- package/lib/commands/klarna_payment/update.js +1 -1
- package/lib/commands/noc.d.ts +1 -1
- package/lib/commands/noc.js +2 -2
- package/lib/commands/order/approve.d.ts +6 -6
- package/lib/commands/order/approve.js +1 -1
- package/lib/commands/order/approve_and_capture.d.ts +6 -6
- package/lib/commands/order/approve_and_capture.js +1 -1
- package/lib/commands/order/archive.d.ts +6 -6
- package/lib/commands/order/archive.js +1 -1
- package/lib/commands/order/authorization_amount_cents.d.ts +6 -6
- package/lib/commands/order/authorization_amount_cents.js +1 -1
- package/lib/commands/order/authorize.d.ts +6 -6
- package/lib/commands/order/authorize.js +1 -1
- package/lib/commands/order/billing_address_clone_id.d.ts +8 -8
- package/lib/commands/order/billing_address_clone_id.js +2 -2
- package/lib/commands/order/billing_address_same_as_shipping.d.ts +6 -6
- package/lib/commands/order/billing_address_same_as_shipping.js +1 -1
- package/lib/commands/order/cancel.d.ts +6 -6
- package/lib/commands/order/cancel.js +1 -1
- package/lib/commands/order/capture.d.ts +6 -6
- package/lib/commands/order/capture.js +1 -1
- package/lib/commands/order/customer_payment_source_id.d.ts +8 -8
- package/lib/commands/order/customer_payment_source_id.js +2 -2
- package/lib/commands/order/index.d.ts +6 -6
- package/lib/commands/order/index.js +1 -1
- package/lib/commands/order/place.d.ts +6 -6
- package/lib/commands/order/place.js +1 -1
- package/lib/commands/order/refresh.d.ts +6 -6
- package/lib/commands/order/refresh.js +1 -1
- package/lib/commands/order/refund.d.ts +6 -6
- package/lib/commands/order/refund.js +1 -1
- package/lib/commands/order/save_billing_address_to_customer_address_book.d.ts +6 -6
- package/lib/commands/order/save_billing_address_to_customer_address_book.js +1 -1
- package/lib/commands/order/save_payment_source_to_customer_wallet.d.ts +6 -6
- package/lib/commands/order/save_payment_source_to_customer_wallet.js +1 -1
- package/lib/commands/order/save_shipping_address_to_customer_address_book.d.ts +6 -6
- package/lib/commands/order/save_shipping_address_to_customer_address_book.js +1 -1
- package/lib/commands/order/shipping_address_clone_id.d.ts +8 -8
- package/lib/commands/order/shipping_address_clone_id.js +2 -2
- package/lib/commands/order/shipping_address_same_as_billing.d.ts +6 -6
- package/lib/commands/order/shipping_address_same_as_billing.js +1 -1
- package/lib/commands/order/unarchive.d.ts +6 -6
- package/lib/commands/order/unarchive.js +1 -1
- package/lib/commands/order/update_taxes.d.ts +6 -6
- package/lib/commands/order/update_taxes.js +1 -1
- package/lib/commands/order_subscription/activate.d.ts +6 -6
- package/lib/commands/order_subscription/activate.js +1 -1
- package/lib/commands/order_subscription/cancel.d.ts +6 -6
- package/lib/commands/order_subscription/cancel.js +1 -1
- package/lib/commands/order_subscription/deactivate.d.ts +6 -6
- package/lib/commands/order_subscription/deactivate.js +1 -1
- package/lib/commands/order_subscription/index.d.ts +6 -6
- package/lib/commands/order_subscription/index.js +1 -1
- package/lib/commands/return/approve.d.ts +6 -6
- package/lib/commands/return/approve.js +1 -1
- package/lib/commands/return/archive.d.ts +6 -6
- package/lib/commands/return/archive.js +1 -1
- package/lib/commands/return/cancel.d.ts +6 -6
- package/lib/commands/return/cancel.js +1 -1
- package/lib/commands/return/index.d.ts +6 -6
- package/lib/commands/return/index.js +1 -1
- package/lib/commands/return/receive.d.ts +6 -6
- package/lib/commands/return/receive.js +1 -1
- package/lib/commands/return/reject.d.ts +6 -6
- package/lib/commands/return/reject.js +1 -1
- package/lib/commands/return/request.d.ts +6 -6
- package/lib/commands/return/request.js +1 -1
- package/lib/commands/return/restock.d.ts +6 -6
- package/lib/commands/return/restock.js +1 -1
- package/lib/commands/return/ship.d.ts +6 -6
- package/lib/commands/return/ship.js +1 -1
- package/lib/commands/return/unarchive.d.ts +6 -6
- package/lib/commands/return/unarchive.js +1 -1
- package/lib/commands/return_line_item/index.d.ts +6 -6
- package/lib/commands/return_line_item/index.js +1 -1
- package/lib/commands/return_line_item/restock.d.ts +6 -6
- package/lib/commands/return_line_item/restock.js +1 -1
- package/lib/commands/shipment/get_rates.d.ts +6 -6
- package/lib/commands/shipment/get_rates.js +1 -1
- package/lib/commands/shipment/index.d.ts +6 -6
- package/lib/commands/shipment/index.js +1 -1
- package/lib/commands/shipment/on_hold.d.ts +6 -6
- package/lib/commands/shipment/on_hold.js +1 -1
- package/lib/commands/shipment/packing.d.ts +6 -6
- package/lib/commands/shipment/packing.js +1 -1
- package/lib/commands/shipment/picking.d.ts +6 -6
- package/lib/commands/shipment/picking.js +1 -1
- package/lib/commands/shipment/purchase.d.ts +6 -6
- package/lib/commands/shipment/purchase.js +1 -1
- package/lib/commands/shipment/ready_to_ship.d.ts +6 -6
- package/lib/commands/shipment/ready_to_ship.js +1 -1
- package/lib/commands/shipment/ship.d.ts +6 -6
- package/lib/commands/shipment/ship.js +1 -1
- package/lib/commands/stock_transfer/cancel.d.ts +6 -6
- package/lib/commands/stock_transfer/cancel.js +1 -1
- package/lib/commands/stock_transfer/complete.d.ts +6 -6
- package/lib/commands/stock_transfer/complete.js +1 -1
- package/lib/commands/stock_transfer/in_transit.d.ts +6 -6
- package/lib/commands/stock_transfer/in_transit.js +1 -1
- package/lib/commands/stock_transfer/index.d.ts +6 -6
- package/lib/commands/stock_transfer/index.js +1 -1
- package/lib/commands/stock_transfer/picking.d.ts +6 -6
- package/lib/commands/stock_transfer/picking.js +1 -1
- package/lib/commands/stock_transfer/upcoming.d.ts +6 -6
- package/lib/commands/stock_transfer/upcoming.js +1 -1
- package/lib/commands/stripe_payment/index.d.ts +6 -6
- package/lib/commands/stripe_payment/index.js +1 -1
- package/lib/commands/stripe_payment/refresh.d.ts +6 -6
- package/lib/commands/stripe_payment/refresh.js +1 -1
- package/lib/commands/webhook/index.d.ts +6 -6
- package/lib/commands/webhook/index.js +1 -1
- package/lib/commands/webhook/reset_circuit.d.ts +6 -6
- package/lib/commands/webhook/reset_circuit.js +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +6 -8
package/package.json
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercelayer/cli-plugin-triggers",
|
|
3
3
|
"description": "Commerce Layer CLI Triggers plugin",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.2",
|
|
5
5
|
"author": "Pierluigi Viti <pierluigi@commercelayer.io>",
|
|
6
|
-
"bin": {
|
|
7
|
-
"cl-triggers": "./bin/run"
|
|
8
|
-
},
|
|
9
6
|
"bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-triggers/issues",
|
|
10
7
|
"devDependencies": {
|
|
11
8
|
"@oclif/dev-cli": "git+https://github.com/pviti/dev-cli.git",
|
|
12
9
|
"@oclif/test": "^2.0.3",
|
|
10
|
+
"@oclif/plugin-help": "^5.1.10",
|
|
13
11
|
"@types/chai": "^4.2.22",
|
|
14
12
|
"@types/inquirer": "^8.1.3",
|
|
15
13
|
"@types/lodash": "^4.14.178",
|
|
@@ -29,7 +27,7 @@
|
|
|
29
27
|
"typescript": "^4.4.4"
|
|
30
28
|
},
|
|
31
29
|
"engines": {
|
|
32
|
-
"node": ">=
|
|
30
|
+
"node": ">=14"
|
|
33
31
|
},
|
|
34
32
|
"files": [
|
|
35
33
|
"/bin",
|
|
@@ -56,7 +54,7 @@
|
|
|
56
54
|
"topics": {
|
|
57
55
|
"triggers": {
|
|
58
56
|
"description": "Execute resource triggers",
|
|
59
|
-
"hidden":
|
|
57
|
+
"hidden": false
|
|
60
58
|
}
|
|
61
59
|
},
|
|
62
60
|
"repositoryPrefix": "<%- repo %>/blob/main/<%- commandPath %>",
|
|
@@ -76,9 +74,9 @@
|
|
|
76
74
|
},
|
|
77
75
|
"types": "lib/index.d.ts",
|
|
78
76
|
"dependencies": {
|
|
79
|
-
"@commercelayer/cli-core": "^1.0.
|
|
77
|
+
"@commercelayer/cli-core": "^1.0.1",
|
|
80
78
|
"@commercelayer/js-auth": "^2.2.4",
|
|
81
|
-
"@commercelayer/sdk": "4.3.0
|
|
79
|
+
"@commercelayer/sdk": "^4.3.0",
|
|
82
80
|
"@oclif/core": "^1.1.2",
|
|
83
81
|
"chalk": "^4.1.2",
|
|
84
82
|
"cli-ux": "^5.6.3",
|