@commercelayer/cli-plugin-triggers 4.7.1 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +263 -50
- package/lib/commands/authorization/cancel.d.ts +9 -0
- package/lib/commands/authorization/cancel.js +22 -0
- package/lib/commands/capture/cancel.d.ts +9 -0
- package/lib/commands/capture/cancel.js +22 -0
- package/lib/commands/flex_promotion/disable.d.ts +9 -0
- package/lib/commands/flex_promotion/disable.js +22 -0
- package/lib/commands/flex_promotion/enable.d.ts +9 -0
- package/lib/commands/flex_promotion/enable.js +22 -0
- package/lib/commands/flex_promotion/index.d.ts +9 -0
- package/lib/commands/flex_promotion/index.js +40 -0
- package/lib/commands/refund/forward.d.ts +9 -0
- package/lib/commands/refund/forward.js +22 -0
- package/lib/commands/refund/index.d.ts +9 -0
- package/lib/commands/refund/index.js +40 -0
- package/lib/commands/void/forward.d.ts +9 -0
- package/lib/commands/void/forward.js +22 -0
- package/lib/commands/void/index.d.ts +9 -0
- package/lib/commands/void/index.js +40 -0
- package/lib/index.js +0 -1
- package/lib/triggers/authorizations.d.ts +1 -1
- package/lib/triggers/authorizations.js +5 -0
- package/lib/triggers/captures.d.ts +1 -1
- package/lib/triggers/captures.js +5 -0
- package/lib/triggers/events.js +1 -1
- package/lib/triggers/external_gateways.js +1 -1
- package/lib/triggers/external_promotions.js +1 -1
- package/lib/triggers/external_tax_calculators.js +1 -1
- package/lib/triggers/flex_promotions.d.ts +3 -0
- package/lib/triggers/flex_promotions.js +15 -0
- package/lib/triggers/line_items.js +2 -2
- package/lib/triggers/orders.js +9 -9
- package/lib/triggers/refunds.d.ts +3 -0
- package/lib/triggers/refunds.js +10 -0
- package/lib/triggers/shipments.js +5 -5
- package/lib/triggers/shipping_methods.js +1 -1
- package/lib/triggers/stock_items.js +1 -1
- package/lib/triggers/stock_line_items.js +3 -3
- package/lib/triggers/voids.d.ts +3 -0
- package/lib/triggers/voids.js +10 -0
- package/lib/triggers/webhooks.js +1 -1
- package/oclif.manifest.json +941 -149
- package/package.json +14 -14
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.triggers = void 0;
|
|
4
|
+
exports.triggers = {
|
|
5
|
+
forward: {
|
|
6
|
+
action: 'forward',
|
|
7
|
+
trigger: '_forward',
|
|
8
|
+
description: 'Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.',
|
|
9
|
+
},
|
|
10
|
+
};
|
package/lib/triggers/webhooks.js
CHANGED
|
@@ -15,6 +15,6 @@ exports.triggers = {
|
|
|
15
15
|
reset_circuit: {
|
|
16
16
|
action: 'reset_circuit',
|
|
17
17
|
trigger: '_reset_circuit',
|
|
18
|
-
description: 'Send this attribute if you want to reset the circuit breaker associated to this resource to \'closed\' state and zero failures count.',
|
|
18
|
+
description: 'Send this attribute if you want to reset the circuit breaker associated to this resource to \'closed\' state and zero failures count. Cannot be passed by sales channels.',
|
|
19
19
|
},
|
|
20
20
|
};
|