@commercelayer/cli-plugin-triggers 1.2.0 → 2.0.3

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 CHANGED
@@ -28,6 +28,7 @@ Commerce Layer CLI Triggers plugin
28
28
  * [`commercelayer authorization:void ID`](#commercelayer-authorizationvoid-id)
29
29
  * [`commercelayer bundle ID`](#commercelayer-bundle-id)
30
30
  * [`commercelayer bundle:compute_compare_at_amount ID`](#commercelayer-bundlecompute_compare_at_amount-id)
31
+ * [`commercelayer bundle:compute_price_amount ID`](#commercelayer-bundlecompute_price_amount-id)
31
32
  * [`commercelayer capture ID`](#commercelayer-capture-id)
32
33
  * [`commercelayer capture:refund ID`](#commercelayer-capturerefund-id)
33
34
  * [`commercelayer capture:refund_amount_cents ID`](#commercelayer-capturerefund_amount_cents-id)
@@ -44,6 +45,8 @@ Commerce Layer CLI Triggers plugin
44
45
  * [`commercelayer in_stock_subscription ID`](#commercelayer-in_stock_subscription-id)
45
46
  * [`commercelayer in_stock_subscription:activate ID`](#commercelayer-in_stock_subscriptionactivate-id)
46
47
  * [`commercelayer in_stock_subscription:deactivate ID`](#commercelayer-in_stock_subscriptiondeactivate-id)
48
+ * [`commercelayer klarna_payment ID`](#commercelayer-klarna_payment-id)
49
+ * [`commercelayer klarna_payment:update ID`](#commercelayer-klarna_paymentupdate-id)
47
50
  * [`commercelayer order ID`](#commercelayer-order-id)
48
51
  * [`commercelayer order:approve ID`](#commercelayer-orderapprove-id)
49
52
  * [`commercelayer order:approve_and_capture ID`](#commercelayer-orderapprove_and_capture-id)
@@ -260,6 +263,26 @@ OPTIONS
260
263
 
261
264
  _See code: [src/commands/bundle/compute_compare_at_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_compare_at_amount.ts)_
262
265
 
266
+ ### `commercelayer bundle:compute_price_amount ID`
267
+
268
+ Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market..
269
+
270
+ ```
271
+ USAGE
272
+ $ commercelayer bundle:compute_price_amount ID
273
+
274
+ ARGUMENTS
275
+ ID the unique id of the resource
276
+
277
+ OPTIONS
278
+ -j, --json print result in JSON format
279
+ -o, --organization=organization (required) the slug of your organization
280
+ -p, --print print out the modified resource
281
+ -u, --unformatted print JSON output without indentation
282
+ ```
283
+
284
+ _See code: [src/commands/bundle/compute_price_amount.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/bundle/compute_price_amount.ts)_
285
+
263
286
  ### `commercelayer capture ID`
264
287
 
265
288
  Execute an action on a resource of type captures.
@@ -580,6 +603,46 @@ OPTIONS
580
603
 
581
604
  _See code: [src/commands/in_stock_subscription/deactivate.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/in_stock_subscription/deactivate.ts)_
582
605
 
606
+ ### `commercelayer klarna_payment ID`
607
+
608
+ Execute an action on a resource of type klarna_payments.
609
+
610
+ ```
611
+ USAGE
612
+ $ commercelayer klarna_payment ID
613
+
614
+ ARGUMENTS
615
+ ID the unique id of the resource
616
+
617
+ OPTIONS
618
+ -j, --json print result in JSON format
619
+ -o, --organization=organization (required) the slug of your organization
620
+ -p, --print print out the modified resource
621
+ -u, --unformatted print JSON output without indentation
622
+ ```
623
+
624
+ _See code: [src/commands/klarna_payment/index.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/klarna_payment/index.ts)_
625
+
626
+ ### `commercelayer klarna_payment:update ID`
627
+
628
+ Send this attribute if you want to update the payment session with fresh order data..
629
+
630
+ ```
631
+ USAGE
632
+ $ commercelayer klarna_payment:update ID
633
+
634
+ ARGUMENTS
635
+ ID the unique id of the resource
636
+
637
+ OPTIONS
638
+ -j, --json print result in JSON format
639
+ -o, --organization=organization (required) the slug of your organization
640
+ -p, --print print out the modified resource
641
+ -u, --unformatted print JSON output without indentation
642
+ ```
643
+
644
+ _See code: [src/commands/klarna_payment/update.ts](https://github.com/commercelayer/commercelayer-cli-plugin-triggers/blob/main/src/commands/klarna_payment/update.ts)_
645
+
583
646
  ### `commercelayer order ID`
584
647
 
585
648
  Execute an action on a resource of type orders.
package/bin/dev ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env node
2
+
3
+ const oclif = require('@oclif/core')
4
+
5
+ const path = require('path')
6
+ const project = path.join(__dirname, '..', 'tsconfig.json')
7
+
8
+ // In dev mode -> use ts-node and dev plugins
9
+ process.env.NODE_ENV = 'development'
10
+
11
+ // eslint-disable-next-line node/no-unpublished-require
12
+ require('ts-node').register({project})
13
+
14
+ // In dev mode, always show stack traces
15
+ oclif.settings.debug = true
16
+
17
+ // Start the CLI
18
+ oclif.run().then(oclif.flush).catch(oclif.Errors.handle)
package/bin/dev.cmd ADDED
@@ -0,0 +1,3 @@
1
+ @echo off
2
+
3
+ node "%~dp0\dev" %*
package/bin/run CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- require('@oclif/command').run()
4
- .then(require('@oclif/command/flush'))
5
- .catch(require('@oclif/errors/handle'))
3
+ const oclif = require('@oclif/core')
4
+
5
+ oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'))
package/lib/base.js CHANGED
@@ -11,7 +11,7 @@ const pkg = require('../package.json');
11
11
  class default_1 extends command_1.default {
12
12
  // INIT (override)
13
13
  async init() {
14
- cli_core_1.update.checkUpdate(pkg);
14
+ cli_core_1.clUpdate.checkUpdate(pkg);
15
15
  return super.init();
16
16
  }
17
17
  async catch(error) {
@@ -26,13 +26,13 @@ class default_1 extends command_1.default {
26
26
  this.error(chalk_1.default.bgRed(`${err.title}: ${err.detail}`), { suggestions: [`Execute login with sufficient privileges to get access to the organization's resources${res ? ` of type ${chalk_1.default.bold(res)}` : ''}`] });
27
27
  }
28
28
  else
29
- this.error(cli_core_1.output.formatError(error, flags));
29
+ this.error(cli_core_1.clOutput.formatError(error, flags));
30
30
  }
31
31
  else
32
32
  throw error;
33
33
  }
34
34
  printOutput(res, flags) {
35
- this.log(cli_core_1.output.formatOutput(res, flags));
35
+ this.log(cli_core_1.clOutput.formatOutput(res, flags));
36
36
  }
37
37
  successMessage(resource, action, id) {
38
38
  this.log(`\nAction ${chalk_1.default.italic.cyanBright(action)} executed without errors on ${resource.replace(/_/g, ' ')} ${chalk_1.default.yellowBright(id)}\n`);
@@ -0,0 +1,18 @@
1
+ import Command from '../../base';
2
+ export default class BundleComputePriceAmount extends Command {
3
+ static description: string;
4
+ static flags: {
5
+ organization: import("@oclif/command/lib/flags").IOptionFlag<string>;
6
+ domain: import("@oclif/command/lib/flags").IOptionFlag<string | undefined>;
7
+ accessToken: import("@oclif/command/lib/flags").IOptionFlag<string>;
8
+ print: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
+ json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
10
+ unformatted: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
11
+ };
12
+ static args: {
13
+ name: string;
14
+ description: string;
15
+ required: boolean;
16
+ }[];
17
+ run(): Promise<any>;
18
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const base_1 = (0, tslib_1.__importDefault)(require("../../base"));
5
+ const exec_1 = (0, tslib_1.__importDefault)(require("../../exec"));
6
+ const bundles_1 = require("../../triggers/bundles");
7
+ const TRIGGER = 'compute_price_amount';
8
+ class BundleComputePriceAmount extends base_1.default {
9
+ async run() {
10
+ const { args, flags } = this.parse(BundleComputePriceAmount);
11
+ const res = await (0, exec_1.default)('bundles', args.id, TRIGGER, flags);
12
+ if (flags.print)
13
+ this.printOutput(res, flags);
14
+ this.successMessage('bundle', TRIGGER, res.id);
15
+ return res;
16
+ }
17
+ }
18
+ exports.default = BundleComputePriceAmount;
19
+ BundleComputePriceAmount.description = bundles_1.triggers[TRIGGER].description;
20
+ BundleComputePriceAmount.flags = Object.assign({}, base_1.default.flags);
21
+ BundleComputePriceAmount.args = [
22
+ ...base_1.default.args,
23
+ ];
@@ -0,0 +1,18 @@
1
+ import Command from '../../base';
2
+ export default class KlarnaPaymentIndex extends Command {
3
+ static description: string;
4
+ static flags: {
5
+ organization: import("@oclif/command/lib/flags").IOptionFlag<string>;
6
+ domain: import("@oclif/command/lib/flags").IOptionFlag<string | undefined>;
7
+ accessToken: import("@oclif/command/lib/flags").IOptionFlag<string>;
8
+ print: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
+ json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
10
+ unformatted: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
11
+ };
12
+ static args: {
13
+ name: string;
14
+ description: string;
15
+ required: boolean;
16
+ }[];
17
+ run(): Promise<any>;
18
+ }
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const base_1 = (0, tslib_1.__importDefault)(require("../../base"));
5
+ const exec_1 = (0, tslib_1.__importDefault)(require("../../exec"));
6
+ const inquirer_1 = (0, tslib_1.__importDefault)(require("inquirer"));
7
+ const chalk_1 = (0, tslib_1.__importDefault)(require("chalk"));
8
+ const klarna_payments_1 = require("../../triggers/klarna_payments");
9
+ const promptAction = async (id) => {
10
+ const answers = await inquirer_1.default.prompt([{
11
+ type: 'list',
12
+ name: 'trigger',
13
+ message: `Select an action to execute on klarna payment ${chalk_1.default.yellowBright(id)}:`,
14
+ choices: Object.keys(klarna_payments_1.triggers).sort().map(a => {
15
+ return { name: a, value: a };
16
+ }),
17
+ loop: false,
18
+ pageSize: 10,
19
+ }]);
20
+ return answers.trigger;
21
+ };
22
+ class KlarnaPaymentIndex extends base_1.default {
23
+ async run() {
24
+ const { args, flags } = this.parse(KlarnaPaymentIndex);
25
+ const id = args.id;
26
+ const action = await promptAction(id);
27
+ const fields = [];
28
+ const res = await (0, exec_1.default)('klarna_payments', id, action, flags, fields);
29
+ this.log();
30
+ this.printOutput(res, flags);
31
+ this.successMessage('klarna payment', action, res.id);
32
+ return res;
33
+ }
34
+ }
35
+ exports.default = KlarnaPaymentIndex;
36
+ KlarnaPaymentIndex.description = 'execute an action on a resource of type klarna_payments';
37
+ KlarnaPaymentIndex.flags = Object.assign({}, base_1.default.flags);
38
+ KlarnaPaymentIndex.args = [
39
+ ...base_1.default.args,
40
+ ];
@@ -0,0 +1,18 @@
1
+ import Command from '../../base';
2
+ export default class KlarnaPaymentUpdate extends Command {
3
+ static description: string;
4
+ static flags: {
5
+ organization: import("@oclif/command/lib/flags").IOptionFlag<string>;
6
+ domain: import("@oclif/command/lib/flags").IOptionFlag<string | undefined>;
7
+ accessToken: import("@oclif/command/lib/flags").IOptionFlag<string>;
8
+ print: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
+ json: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
10
+ unformatted: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
11
+ };
12
+ static args: {
13
+ name: string;
14
+ description: string;
15
+ required: boolean;
16
+ }[];
17
+ run(): Promise<any>;
18
+ }
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ const base_1 = (0, tslib_1.__importDefault)(require("../../base"));
5
+ const exec_1 = (0, tslib_1.__importDefault)(require("../../exec"));
6
+ const klarna_payments_1 = require("../../triggers/klarna_payments");
7
+ const TRIGGER = 'update';
8
+ class KlarnaPaymentUpdate extends base_1.default {
9
+ async run() {
10
+ const { args, flags } = this.parse(KlarnaPaymentUpdate);
11
+ const res = await (0, exec_1.default)('klarna_payments', args.id, TRIGGER, flags);
12
+ if (flags.print)
13
+ this.printOutput(res, flags);
14
+ this.successMessage('klarna_payment', TRIGGER, res.id);
15
+ return res;
16
+ }
17
+ }
18
+ exports.default = KlarnaPaymentUpdate;
19
+ KlarnaPaymentUpdate.description = klarna_payments_1.triggers[TRIGGER].description;
20
+ KlarnaPaymentUpdate.flags = Object.assign({}, base_1.default.flags);
21
+ KlarnaPaymentUpdate.args = [
22
+ ...base_1.default.args,
23
+ ];
@@ -2,4 +2,4 @@ import type { Trigger } from '../common';
2
2
  export declare const triggers: {
3
3
  [key: string]: Trigger;
4
4
  };
5
- export declare type ActionType = 'compute_compare_at_amount';
5
+ export declare type ActionType = 'compute_price_amount' | 'compute_compare_at_amount';
@@ -2,6 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.triggers = void 0;
4
4
  exports.triggers = {
5
+ compute_price_amount: {
6
+ action: 'compute_price_amount',
7
+ trigger: '_compute_price_amount',
8
+ description: 'Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.',
9
+ },
5
10
  compute_compare_at_amount: {
6
11
  action: 'compute_compare_at_amount',
7
12
  trigger: '_compute_compare_at_amount',
@@ -0,0 +1,5 @@
1
+ import type { Trigger } from '../common';
2
+ export declare const triggers: {
3
+ [key: string]: Trigger;
4
+ };
5
+ export declare type ActionType = 'update';
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.triggers = void 0;
4
+ exports.triggers = {
5
+ update: {
6
+ action: 'update',
7
+ trigger: '_update',
8
+ description: 'Send this attribute if you want to update the payment session with fresh order data.',
9
+ },
10
+ };
@@ -1 +1 @@
1
- {"version":"1.2.0","commands":{"noc":{"id":"noc","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"adyen_payment:details":{"id":"adyen_payment:details","description":"Send this attribute if you want to send additional details the payment request.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"adyen_payment":{"id":"adyen_payment","description":"execute an action on a resource of type adyen_payments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization:capture":{"id":"authorization:capture","description":"Send this attribute if you want to create a capture for this authorization.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization:capture_amount_cents":{"id":"authorization:capture_amount_cents","description":"The associated capture amount, in cents.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization":{"id":"authorization","description":"execute an action on a resource of type authorizations","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization:void":{"id":"authorization:void","description":"Send this attribute if you want to create a void for this authorization.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"bundle:compute_compare_at_amount":{"id":"bundle:compute_compare_at_amount","description":"Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"bundle":{"id":"bundle","description":"execute an action on a resource of type bundles","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"capture":{"id":"capture","description":"execute an action on a resource of type captures","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"capture:refund":{"id":"capture:refund","description":"Send this attribute if you want to create a refund for this capture.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"capture:refund_amount_cents":{"id":"capture:refund_amount_cents","description":"The associated refund amount, in cents.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"checkout_com_payment:details":{"id":"checkout_com_payment:details","description":"Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"checkout_com_payment":{"id":"checkout_com_payment","description":"execute an action on a resource of type checkout_com_payments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"checkout_com_payment:refresh":{"id":"checkout_com_payment:refresh","description":"Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"customer_password_reset":{"id":"customer_password_reset","description":"execute an action on a resource of type customer_password_resets","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"customer_password_reset:reset_password_token":{"id":"customer_password_reset:reset_password_token","description":"Send the 'reset_password_token' that you got on create when updating the customer password.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:activate":{"id":"gift_card:activate","description":"Send this attribute if you want to activate a gift card.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:balance_change_cents":{"id":"gift_card:balance_change_cents","description":"The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:deactivate":{"id":"gift_card:deactivate","description":"Send this attribute if you want to deactivate a gift card.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card":{"id":"gift_card","description":"execute an action on a resource of type gift_cards","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:purchase":{"id":"gift_card:purchase","description":"Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"in_stock_subscription:activate":{"id":"in_stock_subscription:activate","description":"Send this attribute if you want to activate an inactive subscription.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"in_stock_subscription:deactivate":{"id":"in_stock_subscription:deactivate","description":"Send this attribute if you want to dactivate an active subscription.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"in_stock_subscription":{"id":"in_stock_subscription","description":"execute an action on a resource of type in_stock_subscriptions","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:approve":{"id":"order:approve","description":"Send this attribute if you want to approve a placed order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:approve_and_capture":{"id":"order:approve_and_capture","description":"Send this attribute if you want to approve and capture a placed order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:archive":{"id":"order:archive","description":"Send this attribute if you want to archive the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:authorization_amount_cents":{"id":"order:authorization_amount_cents","description":"The authorization amount, in cents.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:authorize":{"id":"order:authorize","description":"Send this attribute if you want to authorize the order's payment source.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:billing_address_clone_id":{"id":"order:billing_address_clone_id","description":"The id of the address that you want to clone to create the order's billing address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:billing_address_same_as_shipping":{"id":"order:billing_address_same_as_shipping","description":"Send this attribute if you want the billing address to be cloned from the order's shipping address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:cancel":{"id":"order:cancel","description":"Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:capture":{"id":"order:capture","description":"Send this attribute if you want to capture an approved order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:customer_payment_source_id":{"id":"order:customer_payment_source_id","description":"The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order":{"id":"order","description":"execute an action on a resource of type orders","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:place":{"id":"order:place","description":"Send this attribute if you want to place the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:refresh":{"id":"order:refresh","description":"Send this attribute if you want to manually refresh the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:refund":{"id":"order:refund","description":"Send this attribute if you want to refund a captured order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:save_billing_address_to_customer_address_book":{"id":"order:save_billing_address_to_customer_address_book","description":"Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:save_payment_source_to_customer_wallet":{"id":"order:save_payment_source_to_customer_wallet","description":"Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:save_shipping_address_to_customer_address_book":{"id":"order:save_shipping_address_to_customer_address_book","description":"Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:shipping_address_clone_id":{"id":"order:shipping_address_clone_id","description":"The id of the address that you want to clone to create the order's shipping address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:shipping_address_same_as_billing":{"id":"order:shipping_address_same_as_billing","description":"Send this attribute if you want the shipping address to be cloned from the order's billing address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:unarchive":{"id":"order:unarchive","description":"Send this attribute if you want to unarchive the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:update_taxes":{"id":"order:update_taxes","description":"Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription:activate":{"id":"order_subscription:activate","description":"Send this attribute if you want to mark this subscription as active.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription:cancel":{"id":"order_subscription:cancel","description":"Send this attribute if you want to mark this subscription as cancelled.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription:deactivate":{"id":"order_subscription:deactivate","description":"Send this attribute if you want to mark this subscription as inactive.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription":{"id":"order_subscription","description":"execute an action on a resource of type order_subscriptions","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:approve":{"id":"return:approve","description":"Send this attribute if you want to mark this return as approved.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:archive":{"id":"return:archive","description":"Send this attribute if you want to archive the return.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:cancel":{"id":"return:cancel","description":"Send this attribute if you want to mark this return as cancelled.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return":{"id":"return","description":"execute an action on a resource of type returns","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:receive":{"id":"return:receive","description":"Send this attribute if you want to mark this return as received.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:reject":{"id":"return:reject","description":"Send this attribute if you want to mark this return as rejected.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:request":{"id":"return:request","description":"Send this attribute if you want to activate this return.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:restock":{"id":"return:restock","description":"Send this attribute if you want to restock all of the return line items.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:ship":{"id":"return:ship","description":"Send this attribute if you want to mark this return as shipped.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:unarchive":{"id":"return:unarchive","description":"Send this attribute if you want to unarchive the return.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return_line_item":{"id":"return_line_item","description":"execute an action on a resource of type return_line_items","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return_line_item:restock":{"id":"return_line_item:restock","description":"Send this attribute if you want to restock the line item.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:get_rates":{"id":"shipment:get_rates","description":"Send this attribute if you want get the shipping rates from the associated carrier accounts.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment":{"id":"shipment","description":"execute an action on a resource of type shipments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:on_hold":{"id":"shipment:on_hold","description":"Send this attribute if you want to put this shipment on hold.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:packing":{"id":"shipment:packing","description":"Send this attribute if you want to start packing this shipment.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:picking":{"id":"shipment:picking","description":"Send this attribute if you want to start picking this shipment.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:purchase":{"id":"shipment:purchase","description":"Send this attribute if you want to purchase this shipment with the selected rate.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:ready_to_ship":{"id":"shipment:ready_to_ship","description":"Send this attribute if you want to mark this shipment as ready to ship.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:ship":{"id":"shipment:ship","description":"Send this attribute if you want to mark this shipment as shipped.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:cancel":{"id":"stock_transfer:cancel","description":"Send this attribute if you want to cancel this stock transfer.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:complete":{"id":"stock_transfer:complete","description":"Send this attribute if you want to complete this stock transfer.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:in_transit":{"id":"stock_transfer:in_transit","description":"Send this attribute if you want to mark this stock transfer as in transit.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer":{"id":"stock_transfer","description":"execute an action on a resource of type stock_transfers","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:picking":{"id":"stock_transfer:picking","description":"Send this attribute if you want to start picking this stock transfer.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:upcoming":{"id":"stock_transfer:upcoming","description":"Send this attribute if you want to mark this stock transfer as upcoming.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stripe_payment":{"id":"stripe_payment","description":"execute an action on a resource of type stripe_payments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stripe_payment:refresh":{"id":"stripe_payment:refresh","description":"Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"webhook":{"id":"webhook","description":"execute an action on a resource of type webhooks","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"webhook:reset_circuit":{"id":"webhook:reset_circuit","description":"Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]}}}
1
+ {"version":"2.0.3","commands":{"noc":{"id":"noc","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","hidden":true,"aliases":[],"flags":{},"args":[]},"adyen_payment:details":{"id":"adyen_payment:details","description":"Send this attribute if you want to send additional details the payment request.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"adyen_payment":{"id":"adyen_payment","description":"execute an action on a resource of type adyen_payments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization:capture":{"id":"authorization:capture","description":"Send this attribute if you want to create a capture for this authorization.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization:capture_amount_cents":{"id":"authorization:capture_amount_cents","description":"The associated capture amount, in cents.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization":{"id":"authorization","description":"execute an action on a resource of type authorizations","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"authorization:void":{"id":"authorization:void","description":"Send this attribute if you want to create a void for this authorization.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"bundle:compute_compare_at_amount":{"id":"bundle:compute_compare_at_amount","description":"Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"bundle:compute_price_amount":{"id":"bundle:compute_price_amount","description":"Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"bundle":{"id":"bundle","description":"execute an action on a resource of type bundles","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"capture":{"id":"capture","description":"execute an action on a resource of type captures","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"capture:refund":{"id":"capture:refund","description":"Send this attribute if you want to create a refund for this capture.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"capture:refund_amount_cents":{"id":"capture:refund_amount_cents","description":"The associated refund amount, in cents.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"checkout_com_payment:details":{"id":"checkout_com_payment:details","description":"Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"checkout_com_payment":{"id":"checkout_com_payment","description":"execute an action on a resource of type checkout_com_payments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"checkout_com_payment:refresh":{"id":"checkout_com_payment:refresh","description":"Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"customer_password_reset":{"id":"customer_password_reset","description":"execute an action on a resource of type customer_password_resets","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"customer_password_reset:reset_password_token":{"id":"customer_password_reset:reset_password_token","description":"Send the 'reset_password_token' that you got on create when updating the customer password.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:activate":{"id":"gift_card:activate","description":"Send this attribute if you want to activate a gift card.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:balance_change_cents":{"id":"gift_card:balance_change_cents","description":"The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:deactivate":{"id":"gift_card:deactivate","description":"Send this attribute if you want to deactivate a gift card.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card":{"id":"gift_card","description":"execute an action on a resource of type gift_cards","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"gift_card:purchase":{"id":"gift_card:purchase","description":"Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"in_stock_subscription:activate":{"id":"in_stock_subscription:activate","description":"Send this attribute if you want to activate an inactive subscription.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"in_stock_subscription:deactivate":{"id":"in_stock_subscription:deactivate","description":"Send this attribute if you want to dactivate an active subscription.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"in_stock_subscription":{"id":"in_stock_subscription","description":"execute an action on a resource of type in_stock_subscriptions","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"klarna_payment":{"id":"klarna_payment","description":"execute an action on a resource of type klarna_payments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"klarna_payment:update":{"id":"klarna_payment:update","description":"Send this attribute if you want to update the payment session with fresh order data.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:approve":{"id":"order:approve","description":"Send this attribute if you want to approve a placed order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:approve_and_capture":{"id":"order:approve_and_capture","description":"Send this attribute if you want to approve and capture a placed order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:archive":{"id":"order:archive","description":"Send this attribute if you want to archive the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:authorization_amount_cents":{"id":"order:authorization_amount_cents","description":"The authorization amount, in cents.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:authorize":{"id":"order:authorize","description":"Send this attribute if you want to authorize the order's payment source.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:billing_address_clone_id":{"id":"order:billing_address_clone_id","description":"The id of the address that you want to clone to create the order's billing address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:billing_address_same_as_shipping":{"id":"order:billing_address_same_as_shipping","description":"Send this attribute if you want the billing address to be cloned from the order's shipping address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:cancel":{"id":"order:cancel","description":"Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:capture":{"id":"order:capture","description":"Send this attribute if you want to capture an approved order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:customer_payment_source_id":{"id":"order:customer_payment_source_id","description":"The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order":{"id":"order","description":"execute an action on a resource of type orders","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:place":{"id":"order:place","description":"Send this attribute if you want to place the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:refresh":{"id":"order:refresh","description":"Send this attribute if you want to manually refresh the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:refund":{"id":"order:refund","description":"Send this attribute if you want to refund a captured order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:save_billing_address_to_customer_address_book":{"id":"order:save_billing_address_to_customer_address_book","description":"Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:save_payment_source_to_customer_wallet":{"id":"order:save_payment_source_to_customer_wallet","description":"Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:save_shipping_address_to_customer_address_book":{"id":"order:save_shipping_address_to_customer_address_book","description":"Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:shipping_address_clone_id":{"id":"order:shipping_address_clone_id","description":"The id of the address that you want to clone to create the order's shipping address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false},"value":{"name":"value","type":"option","char":"v","description":"the trigger attribute value","required":true}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:shipping_address_same_as_billing":{"id":"order:shipping_address_same_as_billing","description":"Send this attribute if you want the shipping address to be cloned from the order's billing address.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:unarchive":{"id":"order:unarchive","description":"Send this attribute if you want to unarchive the order.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order:update_taxes":{"id":"order:update_taxes","description":"Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription:activate":{"id":"order_subscription:activate","description":"Send this attribute if you want to mark this subscription as active.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription:cancel":{"id":"order_subscription:cancel","description":"Send this attribute if you want to mark this subscription as cancelled.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription:deactivate":{"id":"order_subscription:deactivate","description":"Send this attribute if you want to mark this subscription as inactive.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"order_subscription":{"id":"order_subscription","description":"execute an action on a resource of type order_subscriptions","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:approve":{"id":"return:approve","description":"Send this attribute if you want to mark this return as approved.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:archive":{"id":"return:archive","description":"Send this attribute if you want to archive the return.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:cancel":{"id":"return:cancel","description":"Send this attribute if you want to mark this return as cancelled.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return":{"id":"return","description":"execute an action on a resource of type returns","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:receive":{"id":"return:receive","description":"Send this attribute if you want to mark this return as received.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:reject":{"id":"return:reject","description":"Send this attribute if you want to mark this return as rejected.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:request":{"id":"return:request","description":"Send this attribute if you want to activate this return.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:restock":{"id":"return:restock","description":"Send this attribute if you want to restock all of the return line items.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:ship":{"id":"return:ship","description":"Send this attribute if you want to mark this return as shipped.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return:unarchive":{"id":"return:unarchive","description":"Send this attribute if you want to unarchive the return.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return_line_item":{"id":"return_line_item","description":"execute an action on a resource of type return_line_items","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"return_line_item:restock":{"id":"return_line_item:restock","description":"Send this attribute if you want to restock the line item.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:get_rates":{"id":"shipment:get_rates","description":"Send this attribute if you want get the shipping rates from the associated carrier accounts.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment":{"id":"shipment","description":"execute an action on a resource of type shipments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:on_hold":{"id":"shipment:on_hold","description":"Send this attribute if you want to put this shipment on hold.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:packing":{"id":"shipment:packing","description":"Send this attribute if you want to start packing this shipment.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:picking":{"id":"shipment:picking","description":"Send this attribute if you want to start picking this shipment.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:purchase":{"id":"shipment:purchase","description":"Send this attribute if you want to purchase this shipment with the selected rate.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:ready_to_ship":{"id":"shipment:ready_to_ship","description":"Send this attribute if you want to mark this shipment as ready to ship.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"shipment:ship":{"id":"shipment:ship","description":"Send this attribute if you want to mark this shipment as shipped.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:cancel":{"id":"stock_transfer:cancel","description":"Send this attribute if you want to cancel this stock transfer.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:complete":{"id":"stock_transfer:complete","description":"Send this attribute if you want to complete this stock transfer.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:in_transit":{"id":"stock_transfer:in_transit","description":"Send this attribute if you want to mark this stock transfer as in transit.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer":{"id":"stock_transfer","description":"execute an action on a resource of type stock_transfers","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:picking":{"id":"stock_transfer:picking","description":"Send this attribute if you want to start picking this stock transfer.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stock_transfer:upcoming":{"id":"stock_transfer:upcoming","description":"Send this attribute if you want to mark this stock transfer as upcoming.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stripe_payment":{"id":"stripe_payment","description":"execute an action on a resource of type stripe_payments","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"stripe_payment:refresh":{"id":"stripe_payment:refresh","description":"Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"webhook":{"id":"webhook","description":"execute an action on a resource of type webhooks","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]},"webhook:reset_circuit":{"id":"webhook:reset_circuit","description":"Send this attribute if you want to reset the circuit breaker associated to this webhook to 'closed' state and zero failures count.","pluginName":"@commercelayer/cli-plugin-triggers","pluginType":"core","aliases":[],"flags":{"organization":{"name":"organization","type":"option","char":"o","description":"the slug of your organization","required":true},"domain":{"name":"domain","type":"option","char":"d","hidden":true,"required":false},"accessToken":{"name":"accessToken","type":"option","hidden":true,"required":true},"print":{"name":"print","type":"boolean","char":"p","description":"print out the modified resource","allowNo":false},"json":{"name":"json","type":"boolean","char":"j","description":"print result in JSON format","allowNo":false},"unformatted":{"name":"unformatted","type":"boolean","char":"u","description":"print JSON output without indentation","allowNo":false}},"args":[{"name":"id","description":"the unique id of the resource","required":true}]}}}
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": "1.2.0",
4
+ "version": "2.0.3",
5
5
  "author": "Pierluigi Viti <pierluigi@commercelayer.io>",
6
6
  "bin": {
7
7
  "cl-triggers": "./bin/run"
@@ -9,25 +9,19 @@
9
9
  "bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-triggers/issues",
10
10
  "devDependencies": {
11
11
  "@oclif/dev-cli": "git+https://github.com/pviti/dev-cli.git",
12
- "@oclif/plugin-help": "^3.2.10",
13
- "@oclif/test": "^1.2.8",
12
+ "@oclif/test": "^2.0.3",
14
13
  "@types/chai": "^4.2.22",
15
14
  "@types/inquirer": "^8.1.3",
15
+ "@types/lodash": "^4.14.178",
16
16
  "@types/mocha": "^5.2.7",
17
- "@types/node": "^14.x",
17
+ "@types/node": "^16.11.0",
18
+ "axios": "^0.25.0",
18
19
  "chai": "^4.3.4",
19
20
  "eslint": "^5.16.0",
20
21
  "eslint-config-oclif": "^3.1.0",
21
22
  "eslint-config-oclif-typescript": "^0.2.0",
22
- "@typescript-eslint/eslint-plugin": "^2.6.1",
23
- "@typescript-eslint/parser": "^2.6.1",
24
- "eslint-config-xo-space": "^0.20.0",
25
- "eslint-plugin-mocha": "^5.2.0",
26
- "eslint-plugin-node": "^7.0.1",
27
- "eslint-plugin-unicorn": "^6.0.1",
28
23
  "globby": "^10.0.2",
29
24
  "inflector-js": "^1.0.1",
30
- "jsonapi-typescript": "^0.1.3",
31
25
  "lodash": "^4.17.21",
32
26
  "mocha": "^5.2.0",
33
27
  "nyc": "^14.1.1",
@@ -35,7 +29,7 @@
35
29
  "typescript": "^4.4.4"
36
30
  },
37
31
  "engines": {
38
- "node": ">=10.0.0"
32
+ "node": ">=12.20"
39
33
  },
40
34
  "files": [
41
35
  "/bin",
@@ -65,24 +59,27 @@
65
59
  "hidden": true
66
60
  }
67
61
  },
68
- "repositoryPrefix": "<%- repo %>/blob/main/<%- commandPath %>"
62
+ "repositoryPrefix": "<%- repo %>/blob/main/<%- commandPath %>",
63
+ "additionalHelpFlags": [
64
+ "-h"
65
+ ],
66
+ "topicSeparator": " "
69
67
  },
70
68
  "repository": "commercelayer/commercelayer-cli-plugin-triggers",
71
69
  "scripts": {
72
70
  "postpack": "rm -f oclif.manifest.json",
73
71
  "posttest": "eslint . --ext .ts --config .eslintrc",
74
- "prepack": "rm -rf lib && tsc -b && oclif-dev manifest && npm run readme",
72
+ "prepack": "ts-node gen/generator.ts && rm -rf lib && tsc -b && oclif-dev manifest && npm run readme",
75
73
  "test": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
76
74
  "readme": "oclif-dev readme --plugin --bin=commercelayer && git add README.md",
77
75
  "generate": "ts-node gen/generator.ts"
78
76
  },
79
77
  "types": "lib/index.d.ts",
80
78
  "dependencies": {
81
- "@commercelayer/cli-core": "^0.1.2",
79
+ "@commercelayer/cli-core": "^1.0.0",
82
80
  "@commercelayer/js-auth": "^2.2.4",
83
- "@commercelayer/sdk": "^2.3.10",
84
- "@oclif/command": "^1.8.4",
85
- "@oclif/config": "^1.17.1",
81
+ "@commercelayer/sdk": "4.3.0-beta.6",
82
+ "@oclif/core": "^1.1.2",
86
83
  "chalk": "^4.1.2",
87
84
  "cli-ux": "^5.6.3",
88
85
  "inquirer": "^8.2.0",