@commercelayer/cli-plugin-triggers 4.16.0 → 4.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +503 -503
  2. package/package.json +4 -4
@@ -2132,7 +2132,7 @@
2132
2132
  "index.js"
2133
2133
  ]
2134
2134
  },
2135
- "buy_x_pay_y_promotion:add_tags": {
2135
+ "bundle:add_tags": {
2136
2136
  "aliases": [],
2137
2137
  "args": {
2138
2138
  "id": {
@@ -2206,7 +2206,7 @@
2206
2206
  },
2207
2207
  "hasDynamicHelp": false,
2208
2208
  "hiddenAliases": [],
2209
- "id": "buy_x_pay_y_promotion:add_tags",
2209
+ "id": "bundle:add_tags",
2210
2210
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2211
2211
  "pluginName": "@commercelayer/cli-plugin-triggers",
2212
2212
  "pluginType": "core",
@@ -2216,11 +2216,11 @@
2216
2216
  "relativePath": [
2217
2217
  "lib",
2218
2218
  "commands",
2219
- "buy_x_pay_y_promotion",
2219
+ "bundle",
2220
2220
  "add_tags.js"
2221
2221
  ]
2222
2222
  },
2223
- "buy_x_pay_y_promotion:disable": {
2223
+ "bundle:compute_compare_at_amount": {
2224
2224
  "aliases": [],
2225
2225
  "args": {
2226
2226
  "id": {
@@ -2229,7 +2229,7 @@
2229
2229
  "required": true
2230
2230
  }
2231
2231
  },
2232
- "description": "Send this attribute if you want to mark this resource as disabled.",
2232
+ "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.",
2233
2233
  "flags": {
2234
2234
  "organization": {
2235
2235
  "char": "o",
@@ -2294,7 +2294,7 @@
2294
2294
  },
2295
2295
  "hasDynamicHelp": false,
2296
2296
  "hiddenAliases": [],
2297
- "id": "buy_x_pay_y_promotion:disable",
2297
+ "id": "bundle:compute_compare_at_amount",
2298
2298
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2299
2299
  "pluginName": "@commercelayer/cli-plugin-triggers",
2300
2300
  "pluginType": "core",
@@ -2304,11 +2304,11 @@
2304
2304
  "relativePath": [
2305
2305
  "lib",
2306
2306
  "commands",
2307
- "buy_x_pay_y_promotion",
2308
- "disable.js"
2307
+ "bundle",
2308
+ "compute_compare_at_amount.js"
2309
2309
  ]
2310
2310
  },
2311
- "buy_x_pay_y_promotion:enable": {
2311
+ "bundle:compute_price_amount": {
2312
2312
  "aliases": [],
2313
2313
  "args": {
2314
2314
  "id": {
@@ -2317,7 +2317,7 @@
2317
2317
  "required": true
2318
2318
  }
2319
2319
  },
2320
- "description": "Send this attribute if you want to mark this resource as enabled.",
2320
+ "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.",
2321
2321
  "flags": {
2322
2322
  "organization": {
2323
2323
  "char": "o",
@@ -2382,7 +2382,7 @@
2382
2382
  },
2383
2383
  "hasDynamicHelp": false,
2384
2384
  "hiddenAliases": [],
2385
- "id": "buy_x_pay_y_promotion:enable",
2385
+ "id": "bundle:compute_price_amount",
2386
2386
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2387
2387
  "pluginName": "@commercelayer/cli-plugin-triggers",
2388
2388
  "pluginType": "core",
@@ -2392,11 +2392,11 @@
2392
2392
  "relativePath": [
2393
2393
  "lib",
2394
2394
  "commands",
2395
- "buy_x_pay_y_promotion",
2396
- "enable.js"
2395
+ "bundle",
2396
+ "compute_price_amount.js"
2397
2397
  ]
2398
2398
  },
2399
- "buy_x_pay_y_promotion": {
2399
+ "bundle": {
2400
2400
  "aliases": [],
2401
2401
  "args": {
2402
2402
  "id": {
@@ -2405,7 +2405,7 @@
2405
2405
  "required": true
2406
2406
  }
2407
2407
  },
2408
- "description": "execute an action on a resource of type buy_x_pay_y_promotions",
2408
+ "description": "execute an action on a resource of type bundles",
2409
2409
  "flags": {
2410
2410
  "organization": {
2411
2411
  "char": "o",
@@ -2470,7 +2470,7 @@
2470
2470
  },
2471
2471
  "hasDynamicHelp": false,
2472
2472
  "hiddenAliases": [],
2473
- "id": "buy_x_pay_y_promotion",
2473
+ "id": "bundle",
2474
2474
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2475
2475
  "pluginName": "@commercelayer/cli-plugin-triggers",
2476
2476
  "pluginType": "core",
@@ -2480,11 +2480,11 @@
2480
2480
  "relativePath": [
2481
2481
  "lib",
2482
2482
  "commands",
2483
- "buy_x_pay_y_promotion",
2483
+ "bundle",
2484
2484
  "index.js"
2485
2485
  ]
2486
2486
  },
2487
- "buy_x_pay_y_promotion:remove_tags": {
2487
+ "bundle:remove_tags": {
2488
2488
  "aliases": [],
2489
2489
  "args": {
2490
2490
  "id": {
@@ -2558,7 +2558,7 @@
2558
2558
  },
2559
2559
  "hasDynamicHelp": false,
2560
2560
  "hiddenAliases": [],
2561
- "id": "buy_x_pay_y_promotion:remove_tags",
2561
+ "id": "bundle:remove_tags",
2562
2562
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2563
2563
  "pluginName": "@commercelayer/cli-plugin-triggers",
2564
2564
  "pluginType": "core",
@@ -2568,11 +2568,11 @@
2568
2568
  "relativePath": [
2569
2569
  "lib",
2570
2570
  "commands",
2571
- "buy_x_pay_y_promotion",
2571
+ "bundle",
2572
2572
  "remove_tags.js"
2573
2573
  ]
2574
2574
  },
2575
- "bundle:add_tags": {
2575
+ "buy_x_pay_y_promotion:add_tags": {
2576
2576
  "aliases": [],
2577
2577
  "args": {
2578
2578
  "id": {
@@ -2646,7 +2646,7 @@
2646
2646
  },
2647
2647
  "hasDynamicHelp": false,
2648
2648
  "hiddenAliases": [],
2649
- "id": "bundle:add_tags",
2649
+ "id": "buy_x_pay_y_promotion:add_tags",
2650
2650
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2651
2651
  "pluginName": "@commercelayer/cli-plugin-triggers",
2652
2652
  "pluginType": "core",
@@ -2656,11 +2656,11 @@
2656
2656
  "relativePath": [
2657
2657
  "lib",
2658
2658
  "commands",
2659
- "bundle",
2659
+ "buy_x_pay_y_promotion",
2660
2660
  "add_tags.js"
2661
2661
  ]
2662
2662
  },
2663
- "bundle:compute_compare_at_amount": {
2663
+ "buy_x_pay_y_promotion:disable": {
2664
2664
  "aliases": [],
2665
2665
  "args": {
2666
2666
  "id": {
@@ -2669,7 +2669,7 @@
2669
2669
  "required": true
2670
2670
  }
2671
2671
  },
2672
- "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.",
2672
+ "description": "Send this attribute if you want to mark this resource as disabled.",
2673
2673
  "flags": {
2674
2674
  "organization": {
2675
2675
  "char": "o",
@@ -2734,7 +2734,7 @@
2734
2734
  },
2735
2735
  "hasDynamicHelp": false,
2736
2736
  "hiddenAliases": [],
2737
- "id": "bundle:compute_compare_at_amount",
2737
+ "id": "buy_x_pay_y_promotion:disable",
2738
2738
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2739
2739
  "pluginName": "@commercelayer/cli-plugin-triggers",
2740
2740
  "pluginType": "core",
@@ -2744,11 +2744,11 @@
2744
2744
  "relativePath": [
2745
2745
  "lib",
2746
2746
  "commands",
2747
- "bundle",
2748
- "compute_compare_at_amount.js"
2747
+ "buy_x_pay_y_promotion",
2748
+ "disable.js"
2749
2749
  ]
2750
2750
  },
2751
- "bundle:compute_price_amount": {
2751
+ "buy_x_pay_y_promotion:enable": {
2752
2752
  "aliases": [],
2753
2753
  "args": {
2754
2754
  "id": {
@@ -2757,7 +2757,7 @@
2757
2757
  "required": true
2758
2758
  }
2759
2759
  },
2760
- "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.",
2760
+ "description": "Send this attribute if you want to mark this resource as enabled.",
2761
2761
  "flags": {
2762
2762
  "organization": {
2763
2763
  "char": "o",
@@ -2822,7 +2822,7 @@
2822
2822
  },
2823
2823
  "hasDynamicHelp": false,
2824
2824
  "hiddenAliases": [],
2825
- "id": "bundle:compute_price_amount",
2825
+ "id": "buy_x_pay_y_promotion:enable",
2826
2826
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2827
2827
  "pluginName": "@commercelayer/cli-plugin-triggers",
2828
2828
  "pluginType": "core",
@@ -2832,11 +2832,11 @@
2832
2832
  "relativePath": [
2833
2833
  "lib",
2834
2834
  "commands",
2835
- "bundle",
2836
- "compute_price_amount.js"
2835
+ "buy_x_pay_y_promotion",
2836
+ "enable.js"
2837
2837
  ]
2838
2838
  },
2839
- "bundle": {
2839
+ "buy_x_pay_y_promotion": {
2840
2840
  "aliases": [],
2841
2841
  "args": {
2842
2842
  "id": {
@@ -2845,7 +2845,7 @@
2845
2845
  "required": true
2846
2846
  }
2847
2847
  },
2848
- "description": "execute an action on a resource of type bundles",
2848
+ "description": "execute an action on a resource of type buy_x_pay_y_promotions",
2849
2849
  "flags": {
2850
2850
  "organization": {
2851
2851
  "char": "o",
@@ -2910,7 +2910,7 @@
2910
2910
  },
2911
2911
  "hasDynamicHelp": false,
2912
2912
  "hiddenAliases": [],
2913
- "id": "bundle",
2913
+ "id": "buy_x_pay_y_promotion",
2914
2914
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2915
2915
  "pluginName": "@commercelayer/cli-plugin-triggers",
2916
2916
  "pluginType": "core",
@@ -2920,11 +2920,11 @@
2920
2920
  "relativePath": [
2921
2921
  "lib",
2922
2922
  "commands",
2923
- "bundle",
2923
+ "buy_x_pay_y_promotion",
2924
2924
  "index.js"
2925
2925
  ]
2926
2926
  },
2927
- "bundle:remove_tags": {
2927
+ "buy_x_pay_y_promotion:remove_tags": {
2928
2928
  "aliases": [],
2929
2929
  "args": {
2930
2930
  "id": {
@@ -2998,7 +2998,7 @@
2998
2998
  },
2999
2999
  "hasDynamicHelp": false,
3000
3000
  "hiddenAliases": [],
3001
- "id": "bundle:remove_tags",
3001
+ "id": "buy_x_pay_y_promotion:remove_tags",
3002
3002
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3003
3003
  "pluginName": "@commercelayer/cli-plugin-triggers",
3004
3004
  "pluginType": "core",
@@ -3008,7 +3008,7 @@
3008
3008
  "relativePath": [
3009
3009
  "lib",
3010
3010
  "commands",
3011
- "bundle",
3011
+ "buy_x_pay_y_promotion",
3012
3012
  "remove_tags.js"
3013
3013
  ]
3014
3014
  },
@@ -4860,7 +4860,7 @@
4860
4860
  "request_anonymization.js"
4861
4861
  ]
4862
4862
  },
4863
- "customer_password_reset": {
4863
+ "easypost_pickup": {
4864
4864
  "aliases": [],
4865
4865
  "args": {
4866
4866
  "id": {
@@ -4869,7 +4869,7 @@
4869
4869
  "required": true
4870
4870
  }
4871
4871
  },
4872
- "description": "execute an action on a resource of type customer_password_resets",
4872
+ "description": "execute an action on a resource of type easypost_pickups",
4873
4873
  "flags": {
4874
4874
  "organization": {
4875
4875
  "char": "o",
@@ -4934,7 +4934,7 @@
4934
4934
  },
4935
4935
  "hasDynamicHelp": false,
4936
4936
  "hiddenAliases": [],
4937
- "id": "customer_password_reset",
4937
+ "id": "easypost_pickup",
4938
4938
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4939
4939
  "pluginName": "@commercelayer/cli-plugin-triggers",
4940
4940
  "pluginType": "core",
@@ -4944,11 +4944,11 @@
4944
4944
  "relativePath": [
4945
4945
  "lib",
4946
4946
  "commands",
4947
- "customer_password_reset",
4947
+ "easypost_pickup",
4948
4948
  "index.js"
4949
4949
  ]
4950
4950
  },
4951
- "customer_password_reset:reset_password_token": {
4951
+ "easypost_pickup:purchase": {
4952
4952
  "aliases": [],
4953
4953
  "args": {
4954
4954
  "id": {
@@ -4957,7 +4957,7 @@
4957
4957
  "required": true
4958
4958
  }
4959
4959
  },
4960
- "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
4960
+ "description": "Send this attribute if you want to purchase this pick up with the selected rate.",
4961
4961
  "flags": {
4962
4962
  "organization": {
4963
4963
  "char": "o",
@@ -5022,7 +5022,7 @@
5022
5022
  },
5023
5023
  "hasDynamicHelp": false,
5024
5024
  "hiddenAliases": [],
5025
- "id": "customer_password_reset:reset_password_token",
5025
+ "id": "easypost_pickup:purchase",
5026
5026
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5027
5027
  "pluginName": "@commercelayer/cli-plugin-triggers",
5028
5028
  "pluginType": "core",
@@ -5032,11 +5032,11 @@
5032
5032
  "relativePath": [
5033
5033
  "lib",
5034
5034
  "commands",
5035
- "customer_password_reset",
5036
- "reset_password_token.js"
5035
+ "easypost_pickup",
5036
+ "purchase.js"
5037
5037
  ]
5038
5038
  },
5039
- "easypost_pickup": {
5039
+ "event": {
5040
5040
  "aliases": [],
5041
5041
  "args": {
5042
5042
  "id": {
@@ -5045,7 +5045,7 @@
5045
5045
  "required": true
5046
5046
  }
5047
5047
  },
5048
- "description": "execute an action on a resource of type easypost_pickups",
5048
+ "description": "execute an action on a resource of type events",
5049
5049
  "flags": {
5050
5050
  "organization": {
5051
5051
  "char": "o",
@@ -5110,7 +5110,7 @@
5110
5110
  },
5111
5111
  "hasDynamicHelp": false,
5112
5112
  "hiddenAliases": [],
5113
- "id": "easypost_pickup",
5113
+ "id": "event",
5114
5114
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5115
5115
  "pluginName": "@commercelayer/cli-plugin-triggers",
5116
5116
  "pluginType": "core",
@@ -5120,11 +5120,11 @@
5120
5120
  "relativePath": [
5121
5121
  "lib",
5122
5122
  "commands",
5123
- "easypost_pickup",
5123
+ "event",
5124
5124
  "index.js"
5125
5125
  ]
5126
5126
  },
5127
- "easypost_pickup:purchase": {
5127
+ "event:trigger": {
5128
5128
  "aliases": [],
5129
5129
  "args": {
5130
5130
  "id": {
@@ -5133,7 +5133,7 @@
5133
5133
  "required": true
5134
5134
  }
5135
5135
  },
5136
- "description": "Send this attribute if you want to purchase this pick up with the selected rate.",
5136
+ "description": "Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.",
5137
5137
  "flags": {
5138
5138
  "organization": {
5139
5139
  "char": "o",
@@ -5198,7 +5198,7 @@
5198
5198
  },
5199
5199
  "hasDynamicHelp": false,
5200
5200
  "hiddenAliases": [],
5201
- "id": "easypost_pickup:purchase",
5201
+ "id": "event:trigger",
5202
5202
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5203
5203
  "pluginName": "@commercelayer/cli-plugin-triggers",
5204
5204
  "pluginType": "core",
@@ -5208,11 +5208,11 @@
5208
5208
  "relativePath": [
5209
5209
  "lib",
5210
5210
  "commands",
5211
- "easypost_pickup",
5212
- "purchase.js"
5211
+ "event",
5212
+ "trigger.js"
5213
5213
  ]
5214
5214
  },
5215
- "event": {
5215
+ "export": {
5216
5216
  "aliases": [],
5217
5217
  "args": {
5218
5218
  "id": {
@@ -5221,7 +5221,7 @@
5221
5221
  "required": true
5222
5222
  }
5223
5223
  },
5224
- "description": "execute an action on a resource of type events",
5224
+ "description": "execute an action on a resource of type exports",
5225
5225
  "flags": {
5226
5226
  "organization": {
5227
5227
  "char": "o",
@@ -5286,7 +5286,7 @@
5286
5286
  },
5287
5287
  "hasDynamicHelp": false,
5288
5288
  "hiddenAliases": [],
5289
- "id": "event",
5289
+ "id": "export",
5290
5290
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5291
5291
  "pluginName": "@commercelayer/cli-plugin-triggers",
5292
5292
  "pluginType": "core",
@@ -5296,11 +5296,11 @@
5296
5296
  "relativePath": [
5297
5297
  "lib",
5298
5298
  "commands",
5299
- "event",
5299
+ "export",
5300
5300
  "index.js"
5301
5301
  ]
5302
5302
  },
5303
- "event:trigger": {
5303
+ "export:interrupt": {
5304
5304
  "aliases": [],
5305
5305
  "args": {
5306
5306
  "id": {
@@ -5309,7 +5309,7 @@
5309
5309
  "required": true
5310
5310
  }
5311
5311
  },
5312
- "description": "Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.",
5312
+ "description": "Send this attribute if you want to mark status as 'interrupted'.",
5313
5313
  "flags": {
5314
5314
  "organization": {
5315
5315
  "char": "o",
@@ -5374,7 +5374,7 @@
5374
5374
  },
5375
5375
  "hasDynamicHelp": false,
5376
5376
  "hiddenAliases": [],
5377
- "id": "event:trigger",
5377
+ "id": "export:interrupt",
5378
5378
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5379
5379
  "pluginName": "@commercelayer/cli-plugin-triggers",
5380
5380
  "pluginType": "core",
@@ -5384,11 +5384,11 @@
5384
5384
  "relativePath": [
5385
5385
  "lib",
5386
5386
  "commands",
5387
- "event",
5388
- "trigger.js"
5387
+ "export",
5388
+ "interrupt.js"
5389
5389
  ]
5390
5390
  },
5391
- "export": {
5391
+ "customer_password_reset": {
5392
5392
  "aliases": [],
5393
5393
  "args": {
5394
5394
  "id": {
@@ -5397,7 +5397,7 @@
5397
5397
  "required": true
5398
5398
  }
5399
5399
  },
5400
- "description": "execute an action on a resource of type exports",
5400
+ "description": "execute an action on a resource of type customer_password_resets",
5401
5401
  "flags": {
5402
5402
  "organization": {
5403
5403
  "char": "o",
@@ -5462,7 +5462,7 @@
5462
5462
  },
5463
5463
  "hasDynamicHelp": false,
5464
5464
  "hiddenAliases": [],
5465
- "id": "export",
5465
+ "id": "customer_password_reset",
5466
5466
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5467
5467
  "pluginName": "@commercelayer/cli-plugin-triggers",
5468
5468
  "pluginType": "core",
@@ -5472,11 +5472,11 @@
5472
5472
  "relativePath": [
5473
5473
  "lib",
5474
5474
  "commands",
5475
- "export",
5475
+ "customer_password_reset",
5476
5476
  "index.js"
5477
5477
  ]
5478
5478
  },
5479
- "export:interrupt": {
5479
+ "customer_password_reset:reset_password_token": {
5480
5480
  "aliases": [],
5481
5481
  "args": {
5482
5482
  "id": {
@@ -5485,7 +5485,7 @@
5485
5485
  "required": true
5486
5486
  }
5487
5487
  },
5488
- "description": "Send this attribute if you want to mark status as 'interrupted'.",
5488
+ "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
5489
5489
  "flags": {
5490
5490
  "organization": {
5491
5491
  "char": "o",
@@ -5550,7 +5550,7 @@
5550
5550
  },
5551
5551
  "hasDynamicHelp": false,
5552
5552
  "hiddenAliases": [],
5553
- "id": "export:interrupt",
5553
+ "id": "customer_password_reset:reset_password_token",
5554
5554
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5555
5555
  "pluginName": "@commercelayer/cli-plugin-triggers",
5556
5556
  "pluginType": "core",
@@ -5560,8 +5560,8 @@
5560
5560
  "relativePath": [
5561
5561
  "lib",
5562
5562
  "commands",
5563
- "export",
5564
- "interrupt.js"
5563
+ "customer_password_reset",
5564
+ "reset_password_token.js"
5565
5565
  ]
5566
5566
  },
5567
5567
  "external_gateway:disable": {
@@ -6620,7 +6620,7 @@
6620
6620
  "reset_circuit.js"
6621
6621
  ]
6622
6622
  },
6623
- "fixed_price_promotion:add_tags": {
6623
+ "fixed_amount_promotion:add_tags": {
6624
6624
  "aliases": [],
6625
6625
  "args": {
6626
6626
  "id": {
@@ -6694,7 +6694,7 @@
6694
6694
  },
6695
6695
  "hasDynamicHelp": false,
6696
6696
  "hiddenAliases": [],
6697
- "id": "fixed_price_promotion:add_tags",
6697
+ "id": "fixed_amount_promotion:add_tags",
6698
6698
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6699
6699
  "pluginName": "@commercelayer/cli-plugin-triggers",
6700
6700
  "pluginType": "core",
@@ -6704,11 +6704,11 @@
6704
6704
  "relativePath": [
6705
6705
  "lib",
6706
6706
  "commands",
6707
- "fixed_price_promotion",
6707
+ "fixed_amount_promotion",
6708
6708
  "add_tags.js"
6709
6709
  ]
6710
6710
  },
6711
- "fixed_price_promotion:disable": {
6711
+ "fixed_amount_promotion:disable": {
6712
6712
  "aliases": [],
6713
6713
  "args": {
6714
6714
  "id": {
@@ -6782,7 +6782,7 @@
6782
6782
  },
6783
6783
  "hasDynamicHelp": false,
6784
6784
  "hiddenAliases": [],
6785
- "id": "fixed_price_promotion:disable",
6785
+ "id": "fixed_amount_promotion:disable",
6786
6786
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6787
6787
  "pluginName": "@commercelayer/cli-plugin-triggers",
6788
6788
  "pluginType": "core",
@@ -6792,11 +6792,11 @@
6792
6792
  "relativePath": [
6793
6793
  "lib",
6794
6794
  "commands",
6795
- "fixed_price_promotion",
6795
+ "fixed_amount_promotion",
6796
6796
  "disable.js"
6797
6797
  ]
6798
6798
  },
6799
- "fixed_price_promotion:enable": {
6799
+ "fixed_amount_promotion:enable": {
6800
6800
  "aliases": [],
6801
6801
  "args": {
6802
6802
  "id": {
@@ -6870,7 +6870,7 @@
6870
6870
  },
6871
6871
  "hasDynamicHelp": false,
6872
6872
  "hiddenAliases": [],
6873
- "id": "fixed_price_promotion:enable",
6873
+ "id": "fixed_amount_promotion:enable",
6874
6874
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6875
6875
  "pluginName": "@commercelayer/cli-plugin-triggers",
6876
6876
  "pluginType": "core",
@@ -6880,11 +6880,11 @@
6880
6880
  "relativePath": [
6881
6881
  "lib",
6882
6882
  "commands",
6883
- "fixed_price_promotion",
6883
+ "fixed_amount_promotion",
6884
6884
  "enable.js"
6885
6885
  ]
6886
6886
  },
6887
- "fixed_price_promotion": {
6887
+ "fixed_amount_promotion": {
6888
6888
  "aliases": [],
6889
6889
  "args": {
6890
6890
  "id": {
@@ -6893,7 +6893,7 @@
6893
6893
  "required": true
6894
6894
  }
6895
6895
  },
6896
- "description": "execute an action on a resource of type fixed_price_promotions",
6896
+ "description": "execute an action on a resource of type fixed_amount_promotions",
6897
6897
  "flags": {
6898
6898
  "organization": {
6899
6899
  "char": "o",
@@ -6958,7 +6958,7 @@
6958
6958
  },
6959
6959
  "hasDynamicHelp": false,
6960
6960
  "hiddenAliases": [],
6961
- "id": "fixed_price_promotion",
6961
+ "id": "fixed_amount_promotion",
6962
6962
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6963
6963
  "pluginName": "@commercelayer/cli-plugin-triggers",
6964
6964
  "pluginType": "core",
@@ -6968,11 +6968,11 @@
6968
6968
  "relativePath": [
6969
6969
  "lib",
6970
6970
  "commands",
6971
- "fixed_price_promotion",
6971
+ "fixed_amount_promotion",
6972
6972
  "index.js"
6973
6973
  ]
6974
6974
  },
6975
- "fixed_price_promotion:remove_tags": {
6975
+ "fixed_amount_promotion:remove_tags": {
6976
6976
  "aliases": [],
6977
6977
  "args": {
6978
6978
  "id": {
@@ -7046,7 +7046,7 @@
7046
7046
  },
7047
7047
  "hasDynamicHelp": false,
7048
7048
  "hiddenAliases": [],
7049
- "id": "fixed_price_promotion:remove_tags",
7049
+ "id": "fixed_amount_promotion:remove_tags",
7050
7050
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7051
7051
  "pluginName": "@commercelayer/cli-plugin-triggers",
7052
7052
  "pluginType": "core",
@@ -7056,11 +7056,11 @@
7056
7056
  "relativePath": [
7057
7057
  "lib",
7058
7058
  "commands",
7059
- "fixed_price_promotion",
7059
+ "fixed_amount_promotion",
7060
7060
  "remove_tags.js"
7061
7061
  ]
7062
7062
  },
7063
- "fixed_amount_promotion:add_tags": {
7063
+ "fixed_price_promotion:add_tags": {
7064
7064
  "aliases": [],
7065
7065
  "args": {
7066
7066
  "id": {
@@ -7134,7 +7134,7 @@
7134
7134
  },
7135
7135
  "hasDynamicHelp": false,
7136
7136
  "hiddenAliases": [],
7137
- "id": "fixed_amount_promotion:add_tags",
7137
+ "id": "fixed_price_promotion:add_tags",
7138
7138
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7139
7139
  "pluginName": "@commercelayer/cli-plugin-triggers",
7140
7140
  "pluginType": "core",
@@ -7144,11 +7144,11 @@
7144
7144
  "relativePath": [
7145
7145
  "lib",
7146
7146
  "commands",
7147
- "fixed_amount_promotion",
7147
+ "fixed_price_promotion",
7148
7148
  "add_tags.js"
7149
7149
  ]
7150
7150
  },
7151
- "fixed_amount_promotion:disable": {
7151
+ "fixed_price_promotion:disable": {
7152
7152
  "aliases": [],
7153
7153
  "args": {
7154
7154
  "id": {
@@ -7222,7 +7222,7 @@
7222
7222
  },
7223
7223
  "hasDynamicHelp": false,
7224
7224
  "hiddenAliases": [],
7225
- "id": "fixed_amount_promotion:disable",
7225
+ "id": "fixed_price_promotion:disable",
7226
7226
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7227
7227
  "pluginName": "@commercelayer/cli-plugin-triggers",
7228
7228
  "pluginType": "core",
@@ -7232,11 +7232,11 @@
7232
7232
  "relativePath": [
7233
7233
  "lib",
7234
7234
  "commands",
7235
- "fixed_amount_promotion",
7235
+ "fixed_price_promotion",
7236
7236
  "disable.js"
7237
7237
  ]
7238
7238
  },
7239
- "fixed_amount_promotion:enable": {
7239
+ "fixed_price_promotion:enable": {
7240
7240
  "aliases": [],
7241
7241
  "args": {
7242
7242
  "id": {
@@ -7310,7 +7310,7 @@
7310
7310
  },
7311
7311
  "hasDynamicHelp": false,
7312
7312
  "hiddenAliases": [],
7313
- "id": "fixed_amount_promotion:enable",
7313
+ "id": "fixed_price_promotion:enable",
7314
7314
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7315
7315
  "pluginName": "@commercelayer/cli-plugin-triggers",
7316
7316
  "pluginType": "core",
@@ -7320,11 +7320,11 @@
7320
7320
  "relativePath": [
7321
7321
  "lib",
7322
7322
  "commands",
7323
- "fixed_amount_promotion",
7323
+ "fixed_price_promotion",
7324
7324
  "enable.js"
7325
7325
  ]
7326
7326
  },
7327
- "fixed_amount_promotion": {
7327
+ "fixed_price_promotion": {
7328
7328
  "aliases": [],
7329
7329
  "args": {
7330
7330
  "id": {
@@ -7333,7 +7333,7 @@
7333
7333
  "required": true
7334
7334
  }
7335
7335
  },
7336
- "description": "execute an action on a resource of type fixed_amount_promotions",
7336
+ "description": "execute an action on a resource of type fixed_price_promotions",
7337
7337
  "flags": {
7338
7338
  "organization": {
7339
7339
  "char": "o",
@@ -7398,7 +7398,7 @@
7398
7398
  },
7399
7399
  "hasDynamicHelp": false,
7400
7400
  "hiddenAliases": [],
7401
- "id": "fixed_amount_promotion",
7401
+ "id": "fixed_price_promotion",
7402
7402
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7403
7403
  "pluginName": "@commercelayer/cli-plugin-triggers",
7404
7404
  "pluginType": "core",
@@ -7408,11 +7408,11 @@
7408
7408
  "relativePath": [
7409
7409
  "lib",
7410
7410
  "commands",
7411
- "fixed_amount_promotion",
7411
+ "fixed_price_promotion",
7412
7412
  "index.js"
7413
7413
  ]
7414
7414
  },
7415
- "fixed_amount_promotion:remove_tags": {
7415
+ "fixed_price_promotion:remove_tags": {
7416
7416
  "aliases": [],
7417
7417
  "args": {
7418
7418
  "id": {
@@ -7486,7 +7486,7 @@
7486
7486
  },
7487
7487
  "hasDynamicHelp": false,
7488
7488
  "hiddenAliases": [],
7489
- "id": "fixed_amount_promotion:remove_tags",
7489
+ "id": "fixed_price_promotion:remove_tags",
7490
7490
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7491
7491
  "pluginName": "@commercelayer/cli-plugin-triggers",
7492
7492
  "pluginType": "core",
@@ -7496,7 +7496,7 @@
7496
7496
  "relativePath": [
7497
7497
  "lib",
7498
7498
  "commands",
7499
- "fixed_amount_promotion",
7499
+ "fixed_price_promotion",
7500
7500
  "remove_tags.js"
7501
7501
  ]
7502
7502
  },
@@ -9876,7 +9876,7 @@
9876
9876
  "index.js"
9877
9877
  ]
9878
9878
  },
9879
- "klarna_payment": {
9879
+ "klarna_gateway:disable": {
9880
9880
  "aliases": [],
9881
9881
  "args": {
9882
9882
  "id": {
@@ -9885,7 +9885,7 @@
9885
9885
  "required": true
9886
9886
  }
9887
9887
  },
9888
- "description": "execute an action on a resource of type klarna_payments",
9888
+ "description": "Send this attribute if you want to mark this resource as disabled.",
9889
9889
  "flags": {
9890
9890
  "organization": {
9891
9891
  "char": "o",
@@ -9950,7 +9950,7 @@
9950
9950
  },
9951
9951
  "hasDynamicHelp": false,
9952
9952
  "hiddenAliases": [],
9953
- "id": "klarna_payment",
9953
+ "id": "klarna_gateway:disable",
9954
9954
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9955
9955
  "pluginName": "@commercelayer/cli-plugin-triggers",
9956
9956
  "pluginType": "core",
@@ -9960,11 +9960,11 @@
9960
9960
  "relativePath": [
9961
9961
  "lib",
9962
9962
  "commands",
9963
- "klarna_payment",
9964
- "index.js"
9963
+ "klarna_gateway",
9964
+ "disable.js"
9965
9965
  ]
9966
9966
  },
9967
- "klarna_payment:update": {
9967
+ "klarna_gateway:enable": {
9968
9968
  "aliases": [],
9969
9969
  "args": {
9970
9970
  "id": {
@@ -9973,7 +9973,7 @@
9973
9973
  "required": true
9974
9974
  }
9975
9975
  },
9976
- "description": "Send this attribute if you want to update the payment session with fresh order data.",
9976
+ "description": "Send this attribute if you want to mark this resource as enabled.",
9977
9977
  "flags": {
9978
9978
  "organization": {
9979
9979
  "char": "o",
@@ -10038,7 +10038,7 @@
10038
10038
  },
10039
10039
  "hasDynamicHelp": false,
10040
10040
  "hiddenAliases": [],
10041
- "id": "klarna_payment:update",
10041
+ "id": "klarna_gateway:enable",
10042
10042
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10043
10043
  "pluginName": "@commercelayer/cli-plugin-triggers",
10044
10044
  "pluginType": "core",
@@ -10048,11 +10048,11 @@
10048
10048
  "relativePath": [
10049
10049
  "lib",
10050
10050
  "commands",
10051
- "klarna_payment",
10052
- "update.js"
10051
+ "klarna_gateway",
10052
+ "enable.js"
10053
10053
  ]
10054
10054
  },
10055
- "klarna_gateway:disable": {
10055
+ "klarna_gateway": {
10056
10056
  "aliases": [],
10057
10057
  "args": {
10058
10058
  "id": {
@@ -10061,7 +10061,7 @@
10061
10061
  "required": true
10062
10062
  }
10063
10063
  },
10064
- "description": "Send this attribute if you want to mark this resource as disabled.",
10064
+ "description": "execute an action on a resource of type klarna_gateways",
10065
10065
  "flags": {
10066
10066
  "organization": {
10067
10067
  "char": "o",
@@ -10126,7 +10126,7 @@
10126
10126
  },
10127
10127
  "hasDynamicHelp": false,
10128
10128
  "hiddenAliases": [],
10129
- "id": "klarna_gateway:disable",
10129
+ "id": "klarna_gateway",
10130
10130
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10131
10131
  "pluginName": "@commercelayer/cli-plugin-triggers",
10132
10132
  "pluginType": "core",
@@ -10137,10 +10137,10 @@
10137
10137
  "lib",
10138
10138
  "commands",
10139
10139
  "klarna_gateway",
10140
- "disable.js"
10140
+ "index.js"
10141
10141
  ]
10142
10142
  },
10143
- "klarna_gateway:enable": {
10143
+ "klarna_payment": {
10144
10144
  "aliases": [],
10145
10145
  "args": {
10146
10146
  "id": {
@@ -10149,7 +10149,7 @@
10149
10149
  "required": true
10150
10150
  }
10151
10151
  },
10152
- "description": "Send this attribute if you want to mark this resource as enabled.",
10152
+ "description": "execute an action on a resource of type klarna_payments",
10153
10153
  "flags": {
10154
10154
  "organization": {
10155
10155
  "char": "o",
@@ -10214,7 +10214,7 @@
10214
10214
  },
10215
10215
  "hasDynamicHelp": false,
10216
10216
  "hiddenAliases": [],
10217
- "id": "klarna_gateway:enable",
10217
+ "id": "klarna_payment",
10218
10218
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10219
10219
  "pluginName": "@commercelayer/cli-plugin-triggers",
10220
10220
  "pluginType": "core",
@@ -10224,11 +10224,11 @@
10224
10224
  "relativePath": [
10225
10225
  "lib",
10226
10226
  "commands",
10227
- "klarna_gateway",
10228
- "enable.js"
10227
+ "klarna_payment",
10228
+ "index.js"
10229
10229
  ]
10230
10230
  },
10231
- "klarna_gateway": {
10231
+ "klarna_payment:update": {
10232
10232
  "aliases": [],
10233
10233
  "args": {
10234
10234
  "id": {
@@ -10237,7 +10237,7 @@
10237
10237
  "required": true
10238
10238
  }
10239
10239
  },
10240
- "description": "execute an action on a resource of type klarna_gateways",
10240
+ "description": "Send this attribute if you want to update the payment session with fresh order data.",
10241
10241
  "flags": {
10242
10242
  "organization": {
10243
10243
  "char": "o",
@@ -10302,7 +10302,7 @@
10302
10302
  },
10303
10303
  "hasDynamicHelp": false,
10304
10304
  "hiddenAliases": [],
10305
- "id": "klarna_gateway",
10305
+ "id": "klarna_payment:update",
10306
10306
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10307
10307
  "pluginName": "@commercelayer/cli-plugin-triggers",
10308
10308
  "pluginType": "core",
@@ -10312,8 +10312,8 @@
10312
10312
  "relativePath": [
10313
10313
  "lib",
10314
10314
  "commands",
10315
- "klarna_gateway",
10316
- "index.js"
10315
+ "klarna_payment",
10316
+ "update.js"
10317
10317
  ]
10318
10318
  },
10319
10319
  "line_item:add_tags": {
@@ -11988,7 +11988,7 @@
11988
11988
  "index.js"
11989
11989
  ]
11990
11990
  },
11991
- "order:add_tags": {
11991
+ "order_subscription:activate": {
11992
11992
  "aliases": [],
11993
11993
  "args": {
11994
11994
  "id": {
@@ -11997,7 +11997,7 @@
11997
11997
  "required": true
11998
11998
  }
11999
11999
  },
12000
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12000
+ "description": "Send this attribute if you want to mark this subscription as active.",
12001
12001
  "flags": {
12002
12002
  "organization": {
12003
12003
  "char": "o",
@@ -12062,7 +12062,7 @@
12062
12062
  },
12063
12063
  "hasDynamicHelp": false,
12064
12064
  "hiddenAliases": [],
12065
- "id": "order:add_tags",
12065
+ "id": "order_subscription:activate",
12066
12066
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12067
12067
  "pluginName": "@commercelayer/cli-plugin-triggers",
12068
12068
  "pluginType": "core",
@@ -12072,11 +12072,11 @@
12072
12072
  "relativePath": [
12073
12073
  "lib",
12074
12074
  "commands",
12075
- "order",
12076
- "add_tags.js"
12075
+ "order_subscription",
12076
+ "activate.js"
12077
12077
  ]
12078
12078
  },
12079
- "order:approve": {
12079
+ "order_subscription:add_tags": {
12080
12080
  "aliases": [],
12081
12081
  "args": {
12082
12082
  "id": {
@@ -12085,7 +12085,7 @@
12085
12085
  "required": true
12086
12086
  }
12087
12087
  },
12088
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
12088
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12089
12089
  "flags": {
12090
12090
  "organization": {
12091
12091
  "char": "o",
@@ -12150,7 +12150,7 @@
12150
12150
  },
12151
12151
  "hasDynamicHelp": false,
12152
12152
  "hiddenAliases": [],
12153
- "id": "order:approve",
12153
+ "id": "order_subscription:add_tags",
12154
12154
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12155
12155
  "pluginName": "@commercelayer/cli-plugin-triggers",
12156
12156
  "pluginType": "core",
@@ -12160,11 +12160,11 @@
12160
12160
  "relativePath": [
12161
12161
  "lib",
12162
12162
  "commands",
12163
- "order",
12164
- "approve.js"
12163
+ "order_subscription",
12164
+ "add_tags.js"
12165
12165
  ]
12166
12166
  },
12167
- "order:approve_and_capture": {
12167
+ "order_subscription:cancel": {
12168
12168
  "aliases": [],
12169
12169
  "args": {
12170
12170
  "id": {
@@ -12173,7 +12173,7 @@
12173
12173
  "required": true
12174
12174
  }
12175
12175
  },
12176
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
12176
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
12177
12177
  "flags": {
12178
12178
  "organization": {
12179
12179
  "char": "o",
@@ -12238,7 +12238,7 @@
12238
12238
  },
12239
12239
  "hasDynamicHelp": false,
12240
12240
  "hiddenAliases": [],
12241
- "id": "order:approve_and_capture",
12241
+ "id": "order_subscription:cancel",
12242
12242
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12243
12243
  "pluginName": "@commercelayer/cli-plugin-triggers",
12244
12244
  "pluginType": "core",
@@ -12248,11 +12248,11 @@
12248
12248
  "relativePath": [
12249
12249
  "lib",
12250
12250
  "commands",
12251
- "order",
12252
- "approve_and_capture.js"
12251
+ "order_subscription",
12252
+ "cancel.js"
12253
12253
  ]
12254
12254
  },
12255
- "order:archive": {
12255
+ "order_subscription:convert": {
12256
12256
  "aliases": [],
12257
12257
  "args": {
12258
12258
  "id": {
@@ -12261,7 +12261,7 @@
12261
12261
  "required": true
12262
12262
  }
12263
12263
  },
12264
- "description": "Send this attribute if you want to archive the order.",
12264
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
12265
12265
  "flags": {
12266
12266
  "organization": {
12267
12267
  "char": "o",
@@ -12326,7 +12326,7 @@
12326
12326
  },
12327
12327
  "hasDynamicHelp": false,
12328
12328
  "hiddenAliases": [],
12329
- "id": "order:archive",
12329
+ "id": "order_subscription:convert",
12330
12330
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12331
12331
  "pluginName": "@commercelayer/cli-plugin-triggers",
12332
12332
  "pluginType": "core",
@@ -12336,11 +12336,11 @@
12336
12336
  "relativePath": [
12337
12337
  "lib",
12338
12338
  "commands",
12339
- "order",
12340
- "archive.js"
12339
+ "order_subscription",
12340
+ "convert.js"
12341
12341
  ]
12342
12342
  },
12343
- "order:authorization_amount_cents": {
12343
+ "order_subscription:deactivate": {
12344
12344
  "aliases": [],
12345
12345
  "args": {
12346
12346
  "id": {
@@ -12349,7 +12349,7 @@
12349
12349
  "required": true
12350
12350
  }
12351
12351
  },
12352
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
12352
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
12353
12353
  "flags": {
12354
12354
  "organization": {
12355
12355
  "char": "o",
@@ -12414,7 +12414,7 @@
12414
12414
  },
12415
12415
  "hasDynamicHelp": false,
12416
12416
  "hiddenAliases": [],
12417
- "id": "order:authorization_amount_cents",
12417
+ "id": "order_subscription:deactivate",
12418
12418
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12419
12419
  "pluginName": "@commercelayer/cli-plugin-triggers",
12420
12420
  "pluginType": "core",
@@ -12424,11 +12424,11 @@
12424
12424
  "relativePath": [
12425
12425
  "lib",
12426
12426
  "commands",
12427
- "order",
12428
- "authorization_amount_cents.js"
12427
+ "order_subscription",
12428
+ "deactivate.js"
12429
12429
  ]
12430
12430
  },
12431
- "order:authorize": {
12431
+ "order_subscription": {
12432
12432
  "aliases": [],
12433
12433
  "args": {
12434
12434
  "id": {
@@ -12437,7 +12437,7 @@
12437
12437
  "required": true
12438
12438
  }
12439
12439
  },
12440
- "description": "Send this attribute if you want to authorize the order's payment source.",
12440
+ "description": "execute an action on a resource of type order_subscriptions",
12441
12441
  "flags": {
12442
12442
  "organization": {
12443
12443
  "char": "o",
@@ -12502,7 +12502,7 @@
12502
12502
  },
12503
12503
  "hasDynamicHelp": false,
12504
12504
  "hiddenAliases": [],
12505
- "id": "order:authorize",
12505
+ "id": "order_subscription",
12506
12506
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12507
12507
  "pluginName": "@commercelayer/cli-plugin-triggers",
12508
12508
  "pluginType": "core",
@@ -12512,11 +12512,11 @@
12512
12512
  "relativePath": [
12513
12513
  "lib",
12514
12514
  "commands",
12515
- "order",
12516
- "authorize.js"
12515
+ "order_subscription",
12516
+ "index.js"
12517
12517
  ]
12518
12518
  },
12519
- "order:billing_address_clone_id": {
12519
+ "order_subscription:remove_tags": {
12520
12520
  "aliases": [],
12521
12521
  "args": {
12522
12522
  "id": {
@@ -12525,7 +12525,7 @@
12525
12525
  "required": true
12526
12526
  }
12527
12527
  },
12528
- "description": "The id of the address that you want to clone to create the order's billing address.",
12528
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12529
12529
  "flags": {
12530
12530
  "organization": {
12531
12531
  "char": "o",
@@ -12586,20 +12586,11 @@
12586
12586
  "name": "unformatted",
12587
12587
  "allowNo": false,
12588
12588
  "type": "boolean"
12589
- },
12590
- "value": {
12591
- "char": "v",
12592
- "description": "the trigger attribute value",
12593
- "name": "value",
12594
- "required": true,
12595
- "hasDynamicHelp": false,
12596
- "multiple": false,
12597
- "type": "option"
12598
12589
  }
12599
12590
  },
12600
12591
  "hasDynamicHelp": false,
12601
12592
  "hiddenAliases": [],
12602
- "id": "order:billing_address_clone_id",
12593
+ "id": "order_subscription:remove_tags",
12603
12594
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12604
12595
  "pluginName": "@commercelayer/cli-plugin-triggers",
12605
12596
  "pluginType": "core",
@@ -12609,11 +12600,11 @@
12609
12600
  "relativePath": [
12610
12601
  "lib",
12611
12602
  "commands",
12612
- "order",
12613
- "billing_address_clone_id.js"
12603
+ "order_subscription",
12604
+ "remove_tags.js"
12614
12605
  ]
12615
12606
  },
12616
- "order:billing_address_same_as_shipping": {
12607
+ "order:add_tags": {
12617
12608
  "aliases": [],
12618
12609
  "args": {
12619
12610
  "id": {
@@ -12622,7 +12613,7 @@
12622
12613
  "required": true
12623
12614
  }
12624
12615
  },
12625
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
12616
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12626
12617
  "flags": {
12627
12618
  "organization": {
12628
12619
  "char": "o",
@@ -12687,7 +12678,7 @@
12687
12678
  },
12688
12679
  "hasDynamicHelp": false,
12689
12680
  "hiddenAliases": [],
12690
- "id": "order:billing_address_same_as_shipping",
12681
+ "id": "order:add_tags",
12691
12682
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12692
12683
  "pluginName": "@commercelayer/cli-plugin-triggers",
12693
12684
  "pluginType": "core",
@@ -12698,10 +12689,10 @@
12698
12689
  "lib",
12699
12690
  "commands",
12700
12691
  "order",
12701
- "billing_address_same_as_shipping.js"
12692
+ "add_tags.js"
12702
12693
  ]
12703
12694
  },
12704
- "order:cancel": {
12695
+ "order:approve": {
12705
12696
  "aliases": [],
12706
12697
  "args": {
12707
12698
  "id": {
@@ -12710,7 +12701,7 @@
12710
12701
  "required": true
12711
12702
  }
12712
12703
  },
12713
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
12704
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
12714
12705
  "flags": {
12715
12706
  "organization": {
12716
12707
  "char": "o",
@@ -12775,7 +12766,7 @@
12775
12766
  },
12776
12767
  "hasDynamicHelp": false,
12777
12768
  "hiddenAliases": [],
12778
- "id": "order:cancel",
12769
+ "id": "order:approve",
12779
12770
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12780
12771
  "pluginName": "@commercelayer/cli-plugin-triggers",
12781
12772
  "pluginType": "core",
@@ -12786,10 +12777,10 @@
12786
12777
  "lib",
12787
12778
  "commands",
12788
12779
  "order",
12789
- "cancel.js"
12780
+ "approve.js"
12790
12781
  ]
12791
12782
  },
12792
- "order:capture": {
12783
+ "order:approve_and_capture": {
12793
12784
  "aliases": [],
12794
12785
  "args": {
12795
12786
  "id": {
@@ -12798,7 +12789,7 @@
12798
12789
  "required": true
12799
12790
  }
12800
12791
  },
12801
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
12792
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
12802
12793
  "flags": {
12803
12794
  "organization": {
12804
12795
  "char": "o",
@@ -12863,7 +12854,7 @@
12863
12854
  },
12864
12855
  "hasDynamicHelp": false,
12865
12856
  "hiddenAliases": [],
12866
- "id": "order:capture",
12857
+ "id": "order:approve_and_capture",
12867
12858
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12868
12859
  "pluginName": "@commercelayer/cli-plugin-triggers",
12869
12860
  "pluginType": "core",
@@ -12874,10 +12865,10 @@
12874
12865
  "lib",
12875
12866
  "commands",
12876
12867
  "order",
12877
- "capture.js"
12868
+ "approve_and_capture.js"
12878
12869
  ]
12879
12870
  },
12880
- "order:commit_invoice": {
12871
+ "order:archive": {
12881
12872
  "aliases": [],
12882
12873
  "args": {
12883
12874
  "id": {
@@ -12886,7 +12877,7 @@
12886
12877
  "required": true
12887
12878
  }
12888
12879
  },
12889
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12880
+ "description": "Send this attribute if you want to archive the order.",
12890
12881
  "flags": {
12891
12882
  "organization": {
12892
12883
  "char": "o",
@@ -12951,7 +12942,7 @@
12951
12942
  },
12952
12943
  "hasDynamicHelp": false,
12953
12944
  "hiddenAliases": [],
12954
- "id": "order:commit_invoice",
12945
+ "id": "order:archive",
12955
12946
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12956
12947
  "pluginName": "@commercelayer/cli-plugin-triggers",
12957
12948
  "pluginType": "core",
@@ -12962,10 +12953,10 @@
12962
12953
  "lib",
12963
12954
  "commands",
12964
12955
  "order",
12965
- "commit_invoice.js"
12956
+ "archive.js"
12966
12957
  ]
12967
12958
  },
12968
- "order:create_subscriptions": {
12959
+ "order:authorization_amount_cents": {
12969
12960
  "aliases": [],
12970
12961
  "args": {
12971
12962
  "id": {
@@ -12974,7 +12965,7 @@
12974
12965
  "required": true
12975
12966
  }
12976
12967
  },
12977
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
12968
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
12978
12969
  "flags": {
12979
12970
  "organization": {
12980
12971
  "char": "o",
@@ -13039,7 +13030,7 @@
13039
13030
  },
13040
13031
  "hasDynamicHelp": false,
13041
13032
  "hiddenAliases": [],
13042
- "id": "order:create_subscriptions",
13033
+ "id": "order:authorization_amount_cents",
13043
13034
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13044
13035
  "pluginName": "@commercelayer/cli-plugin-triggers",
13045
13036
  "pluginType": "core",
@@ -13050,10 +13041,10 @@
13050
13041
  "lib",
13051
13042
  "commands",
13052
13043
  "order",
13053
- "create_subscriptions.js"
13044
+ "authorization_amount_cents.js"
13054
13045
  ]
13055
13046
  },
13056
- "order:customer_payment_source_id": {
13047
+ "order:authorize": {
13057
13048
  "aliases": [],
13058
13049
  "args": {
13059
13050
  "id": {
@@ -13062,7 +13053,7 @@
13062
13053
  "required": true
13063
13054
  }
13064
13055
  },
13065
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
13056
+ "description": "Send this attribute if you want to authorize the order's payment source.",
13066
13057
  "flags": {
13067
13058
  "organization": {
13068
13059
  "char": "o",
@@ -13123,20 +13114,11 @@
13123
13114
  "name": "unformatted",
13124
13115
  "allowNo": false,
13125
13116
  "type": "boolean"
13126
- },
13127
- "value": {
13128
- "char": "v",
13129
- "description": "the trigger attribute value",
13130
- "name": "value",
13131
- "required": true,
13132
- "hasDynamicHelp": false,
13133
- "multiple": false,
13134
- "type": "option"
13135
13117
  }
13136
13118
  },
13137
13119
  "hasDynamicHelp": false,
13138
13120
  "hiddenAliases": [],
13139
- "id": "order:customer_payment_source_id",
13121
+ "id": "order:authorize",
13140
13122
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13141
13123
  "pluginName": "@commercelayer/cli-plugin-triggers",
13142
13124
  "pluginType": "core",
@@ -13147,10 +13129,10 @@
13147
13129
  "lib",
13148
13130
  "commands",
13149
13131
  "order",
13150
- "customer_payment_source_id.js"
13132
+ "authorize.js"
13151
13133
  ]
13152
13134
  },
13153
- "order:fix_payment_source": {
13135
+ "order:billing_address_clone_id": {
13154
13136
  "aliases": [],
13155
13137
  "args": {
13156
13138
  "id": {
@@ -13159,7 +13141,7 @@
13159
13141
  "required": true
13160
13142
  }
13161
13143
  },
13162
- "description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready to be approved. A tentative to fix the payment source is done before approval automatically. Cannot be passed by sales channels.",
13144
+ "description": "The id of the address that you want to clone to create the order's billing address.",
13163
13145
  "flags": {
13164
13146
  "organization": {
13165
13147
  "char": "o",
@@ -13220,11 +13202,20 @@
13220
13202
  "name": "unformatted",
13221
13203
  "allowNo": false,
13222
13204
  "type": "boolean"
13205
+ },
13206
+ "value": {
13207
+ "char": "v",
13208
+ "description": "the trigger attribute value",
13209
+ "name": "value",
13210
+ "required": true,
13211
+ "hasDynamicHelp": false,
13212
+ "multiple": false,
13213
+ "type": "option"
13223
13214
  }
13224
13215
  },
13225
13216
  "hasDynamicHelp": false,
13226
13217
  "hiddenAliases": [],
13227
- "id": "order:fix_payment_source",
13218
+ "id": "order:billing_address_clone_id",
13228
13219
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13229
13220
  "pluginName": "@commercelayer/cli-plugin-triggers",
13230
13221
  "pluginType": "core",
@@ -13235,10 +13226,10 @@
13235
13226
  "lib",
13236
13227
  "commands",
13237
13228
  "order",
13238
- "fix_payment_source.js"
13229
+ "billing_address_clone_id.js"
13239
13230
  ]
13240
13231
  },
13241
- "order:fulfill": {
13232
+ "order:billing_address_same_as_shipping": {
13242
13233
  "aliases": [],
13243
13234
  "args": {
13244
13235
  "id": {
@@ -13247,7 +13238,7 @@
13247
13238
  "required": true
13248
13239
  }
13249
13240
  },
13250
- "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.",
13241
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
13251
13242
  "flags": {
13252
13243
  "organization": {
13253
13244
  "char": "o",
@@ -13312,7 +13303,7 @@
13312
13303
  },
13313
13304
  "hasDynamicHelp": false,
13314
13305
  "hiddenAliases": [],
13315
- "id": "order:fulfill",
13306
+ "id": "order:billing_address_same_as_shipping",
13316
13307
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13317
13308
  "pluginName": "@commercelayer/cli-plugin-triggers",
13318
13309
  "pluginType": "core",
@@ -13323,10 +13314,10 @@
13323
13314
  "lib",
13324
13315
  "commands",
13325
13316
  "order",
13326
- "fulfill.js"
13317
+ "billing_address_same_as_shipping.js"
13327
13318
  ]
13328
13319
  },
13329
- "order": {
13320
+ "order:cancel": {
13330
13321
  "aliases": [],
13331
13322
  "args": {
13332
13323
  "id": {
@@ -13335,7 +13326,7 @@
13335
13326
  "required": true
13336
13327
  }
13337
13328
  },
13338
- "description": "execute an action on a resource of type orders",
13329
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
13339
13330
  "flags": {
13340
13331
  "organization": {
13341
13332
  "char": "o",
@@ -13400,7 +13391,7 @@
13400
13391
  },
13401
13392
  "hasDynamicHelp": false,
13402
13393
  "hiddenAliases": [],
13403
- "id": "order",
13394
+ "id": "order:cancel",
13404
13395
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13405
13396
  "pluginName": "@commercelayer/cli-plugin-triggers",
13406
13397
  "pluginType": "core",
@@ -13411,10 +13402,10 @@
13411
13402
  "lib",
13412
13403
  "commands",
13413
13404
  "order",
13414
- "index.js"
13405
+ "cancel.js"
13415
13406
  ]
13416
13407
  },
13417
- "order:nullify_payment_source": {
13408
+ "order:capture": {
13418
13409
  "aliases": [],
13419
13410
  "args": {
13420
13411
  "id": {
@@ -13423,7 +13414,7 @@
13423
13414
  "required": true
13424
13415
  }
13425
13416
  },
13426
- "description": "Send this attribute if you want to nullify the payment source for this order.",
13417
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
13427
13418
  "flags": {
13428
13419
  "organization": {
13429
13420
  "char": "o",
@@ -13488,7 +13479,7 @@
13488
13479
  },
13489
13480
  "hasDynamicHelp": false,
13490
13481
  "hiddenAliases": [],
13491
- "id": "order:nullify_payment_source",
13482
+ "id": "order:capture",
13492
13483
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13493
13484
  "pluginName": "@commercelayer/cli-plugin-triggers",
13494
13485
  "pluginType": "core",
@@ -13499,10 +13490,10 @@
13499
13490
  "lib",
13500
13491
  "commands",
13501
13492
  "order",
13502
- "nullify_payment_source.js"
13493
+ "capture.js"
13503
13494
  ]
13504
13495
  },
13505
- "order:pending": {
13496
+ "order:commit_invoice": {
13506
13497
  "aliases": [],
13507
13498
  "args": {
13508
13499
  "id": {
@@ -13511,7 +13502,7 @@
13511
13502
  "required": true
13512
13503
  }
13513
13504
  },
13514
- "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
13505
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
13515
13506
  "flags": {
13516
13507
  "organization": {
13517
13508
  "char": "o",
@@ -13576,7 +13567,7 @@
13576
13567
  },
13577
13568
  "hasDynamicHelp": false,
13578
13569
  "hiddenAliases": [],
13579
- "id": "order:pending",
13570
+ "id": "order:commit_invoice",
13580
13571
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13581
13572
  "pluginName": "@commercelayer/cli-plugin-triggers",
13582
13573
  "pluginType": "core",
@@ -13587,10 +13578,10 @@
13587
13578
  "lib",
13588
13579
  "commands",
13589
13580
  "order",
13590
- "pending.js"
13581
+ "commit_invoice.js"
13591
13582
  ]
13592
13583
  },
13593
- "order:place": {
13584
+ "order:create_subscriptions": {
13594
13585
  "aliases": [],
13595
13586
  "args": {
13596
13587
  "id": {
@@ -13599,7 +13590,7 @@
13599
13590
  "required": true
13600
13591
  }
13601
13592
  },
13602
- "description": "Send this attribute if you want to place the order.",
13593
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
13603
13594
  "flags": {
13604
13595
  "organization": {
13605
13596
  "char": "o",
@@ -13664,7 +13655,7 @@
13664
13655
  },
13665
13656
  "hasDynamicHelp": false,
13666
13657
  "hiddenAliases": [],
13667
- "id": "order:place",
13658
+ "id": "order:create_subscriptions",
13668
13659
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13669
13660
  "pluginName": "@commercelayer/cli-plugin-triggers",
13670
13661
  "pluginType": "core",
@@ -13675,10 +13666,10 @@
13675
13666
  "lib",
13676
13667
  "commands",
13677
13668
  "order",
13678
- "place.js"
13669
+ "create_subscriptions.js"
13679
13670
  ]
13680
13671
  },
13681
- "order:refresh": {
13672
+ "order:customer_payment_source_id": {
13682
13673
  "aliases": [],
13683
13674
  "args": {
13684
13675
  "id": {
@@ -13687,7 +13678,7 @@
13687
13678
  "required": true
13688
13679
  }
13689
13680
  },
13690
- "description": "Send this attribute if you want to manually refresh the order.",
13681
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
13691
13682
  "flags": {
13692
13683
  "organization": {
13693
13684
  "char": "o",
@@ -13748,11 +13739,20 @@
13748
13739
  "name": "unformatted",
13749
13740
  "allowNo": false,
13750
13741
  "type": "boolean"
13742
+ },
13743
+ "value": {
13744
+ "char": "v",
13745
+ "description": "the trigger attribute value",
13746
+ "name": "value",
13747
+ "required": true,
13748
+ "hasDynamicHelp": false,
13749
+ "multiple": false,
13750
+ "type": "option"
13751
13751
  }
13752
13752
  },
13753
13753
  "hasDynamicHelp": false,
13754
13754
  "hiddenAliases": [],
13755
- "id": "order:refresh",
13755
+ "id": "order:customer_payment_source_id",
13756
13756
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13757
13757
  "pluginName": "@commercelayer/cli-plugin-triggers",
13758
13758
  "pluginType": "core",
@@ -13763,10 +13763,10 @@
13763
13763
  "lib",
13764
13764
  "commands",
13765
13765
  "order",
13766
- "refresh.js"
13766
+ "customer_payment_source_id.js"
13767
13767
  ]
13768
13768
  },
13769
- "order:refund": {
13769
+ "order:fix_payment_source": {
13770
13770
  "aliases": [],
13771
13771
  "args": {
13772
13772
  "id": {
@@ -13775,7 +13775,7 @@
13775
13775
  "required": true
13776
13776
  }
13777
13777
  },
13778
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
13778
+ "description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready to be approved. A tentative to fix the payment source is done before approval automatically. Cannot be passed by sales channels.",
13779
13779
  "flags": {
13780
13780
  "organization": {
13781
13781
  "char": "o",
@@ -13840,7 +13840,7 @@
13840
13840
  },
13841
13841
  "hasDynamicHelp": false,
13842
13842
  "hiddenAliases": [],
13843
- "id": "order:refund",
13843
+ "id": "order:fix_payment_source",
13844
13844
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13845
13845
  "pluginName": "@commercelayer/cli-plugin-triggers",
13846
13846
  "pluginType": "core",
@@ -13851,10 +13851,10 @@
13851
13851
  "lib",
13852
13852
  "commands",
13853
13853
  "order",
13854
- "refund.js"
13854
+ "fix_payment_source.js"
13855
13855
  ]
13856
13856
  },
13857
- "order:refund_invoice": {
13857
+ "order:fulfill": {
13858
13858
  "aliases": [],
13859
13859
  "args": {
13860
13860
  "id": {
@@ -13863,7 +13863,7 @@
13863
13863
  "required": true
13864
13864
  }
13865
13865
  },
13866
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
13866
+ "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.",
13867
13867
  "flags": {
13868
13868
  "organization": {
13869
13869
  "char": "o",
@@ -13928,7 +13928,7 @@
13928
13928
  },
13929
13929
  "hasDynamicHelp": false,
13930
13930
  "hiddenAliases": [],
13931
- "id": "order:refund_invoice",
13931
+ "id": "order:fulfill",
13932
13932
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13933
13933
  "pluginName": "@commercelayer/cli-plugin-triggers",
13934
13934
  "pluginType": "core",
@@ -13939,10 +13939,10 @@
13939
13939
  "lib",
13940
13940
  "commands",
13941
13941
  "order",
13942
- "refund_invoice.js"
13942
+ "fulfill.js"
13943
13943
  ]
13944
13944
  },
13945
- "order:remove_tags": {
13945
+ "order": {
13946
13946
  "aliases": [],
13947
13947
  "args": {
13948
13948
  "id": {
@@ -13951,7 +13951,7 @@
13951
13951
  "required": true
13952
13952
  }
13953
13953
  },
13954
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13954
+ "description": "execute an action on a resource of type orders",
13955
13955
  "flags": {
13956
13956
  "organization": {
13957
13957
  "char": "o",
@@ -14016,7 +14016,7 @@
14016
14016
  },
14017
14017
  "hasDynamicHelp": false,
14018
14018
  "hiddenAliases": [],
14019
- "id": "order:remove_tags",
14019
+ "id": "order",
14020
14020
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14021
14021
  "pluginName": "@commercelayer/cli-plugin-triggers",
14022
14022
  "pluginType": "core",
@@ -14027,10 +14027,10 @@
14027
14027
  "lib",
14028
14028
  "commands",
14029
14029
  "order",
14030
- "remove_tags.js"
14030
+ "index.js"
14031
14031
  ]
14032
14032
  },
14033
- "order:reset_circuit": {
14033
+ "order:nullify_payment_source": {
14034
14034
  "aliases": [],
14035
14035
  "args": {
14036
14036
  "id": {
@@ -14039,7 +14039,7 @@
14039
14039
  "required": true
14040
14040
  }
14041
14041
  },
14042
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
14042
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
14043
14043
  "flags": {
14044
14044
  "organization": {
14045
14045
  "char": "o",
@@ -14104,7 +14104,7 @@
14104
14104
  },
14105
14105
  "hasDynamicHelp": false,
14106
14106
  "hiddenAliases": [],
14107
- "id": "order:reset_circuit",
14107
+ "id": "order:nullify_payment_source",
14108
14108
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14109
14109
  "pluginName": "@commercelayer/cli-plugin-triggers",
14110
14110
  "pluginType": "core",
@@ -14115,10 +14115,10 @@
14115
14115
  "lib",
14116
14116
  "commands",
14117
14117
  "order",
14118
- "reset_circuit.js"
14118
+ "nullify_payment_source.js"
14119
14119
  ]
14120
14120
  },
14121
- "order:save_billing_address_to_customer_address_book": {
14121
+ "order:pending": {
14122
14122
  "aliases": [],
14123
14123
  "args": {
14124
14124
  "id": {
@@ -14127,7 +14127,7 @@
14127
14127
  "required": true
14128
14128
  }
14129
14129
  },
14130
- "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.",
14130
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
14131
14131
  "flags": {
14132
14132
  "organization": {
14133
14133
  "char": "o",
@@ -14192,7 +14192,7 @@
14192
14192
  },
14193
14193
  "hasDynamicHelp": false,
14194
14194
  "hiddenAliases": [],
14195
- "id": "order:save_billing_address_to_customer_address_book",
14195
+ "id": "order:pending",
14196
14196
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14197
14197
  "pluginName": "@commercelayer/cli-plugin-triggers",
14198
14198
  "pluginType": "core",
@@ -14203,10 +14203,10 @@
14203
14203
  "lib",
14204
14204
  "commands",
14205
14205
  "order",
14206
- "save_billing_address_to_customer_address_book.js"
14206
+ "pending.js"
14207
14207
  ]
14208
14208
  },
14209
- "order:save_payment_source_to_customer_wallet": {
14209
+ "order:place": {
14210
14210
  "aliases": [],
14211
14211
  "args": {
14212
14212
  "id": {
@@ -14215,7 +14215,7 @@
14215
14215
  "required": true
14216
14216
  }
14217
14217
  },
14218
- "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.",
14218
+ "description": "Send this attribute if you want to place the order.",
14219
14219
  "flags": {
14220
14220
  "organization": {
14221
14221
  "char": "o",
@@ -14280,7 +14280,7 @@
14280
14280
  },
14281
14281
  "hasDynamicHelp": false,
14282
14282
  "hiddenAliases": [],
14283
- "id": "order:save_payment_source_to_customer_wallet",
14283
+ "id": "order:place",
14284
14284
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14285
14285
  "pluginName": "@commercelayer/cli-plugin-triggers",
14286
14286
  "pluginType": "core",
@@ -14291,10 +14291,10 @@
14291
14291
  "lib",
14292
14292
  "commands",
14293
14293
  "order",
14294
- "save_payment_source_to_customer_wallet.js"
14294
+ "place.js"
14295
14295
  ]
14296
14296
  },
14297
- "order:save_shipping_address_to_customer_address_book": {
14297
+ "order:refresh": {
14298
14298
  "aliases": [],
14299
14299
  "args": {
14300
14300
  "id": {
@@ -14303,7 +14303,7 @@
14303
14303
  "required": true
14304
14304
  }
14305
14305
  },
14306
- "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.",
14306
+ "description": "Send this attribute if you want to manually refresh the order.",
14307
14307
  "flags": {
14308
14308
  "organization": {
14309
14309
  "char": "o",
@@ -14368,7 +14368,7 @@
14368
14368
  },
14369
14369
  "hasDynamicHelp": false,
14370
14370
  "hiddenAliases": [],
14371
- "id": "order:save_shipping_address_to_customer_address_book",
14371
+ "id": "order:refresh",
14372
14372
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14373
14373
  "pluginName": "@commercelayer/cli-plugin-triggers",
14374
14374
  "pluginType": "core",
@@ -14379,10 +14379,10 @@
14379
14379
  "lib",
14380
14380
  "commands",
14381
14381
  "order",
14382
- "save_shipping_address_to_customer_address_book.js"
14382
+ "refresh.js"
14383
14383
  ]
14384
14384
  },
14385
- "order:shipping_address_clone_id": {
14385
+ "order:refund": {
14386
14386
  "aliases": [],
14387
14387
  "args": {
14388
14388
  "id": {
@@ -14391,7 +14391,7 @@
14391
14391
  "required": true
14392
14392
  }
14393
14393
  },
14394
- "description": "The id of the address that you want to clone to create the order's shipping address.",
14394
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
14395
14395
  "flags": {
14396
14396
  "organization": {
14397
14397
  "char": "o",
@@ -14452,20 +14452,11 @@
14452
14452
  "name": "unformatted",
14453
14453
  "allowNo": false,
14454
14454
  "type": "boolean"
14455
- },
14456
- "value": {
14457
- "char": "v",
14458
- "description": "the trigger attribute value",
14459
- "name": "value",
14460
- "required": true,
14461
- "hasDynamicHelp": false,
14462
- "multiple": false,
14463
- "type": "option"
14464
14455
  }
14465
14456
  },
14466
14457
  "hasDynamicHelp": false,
14467
14458
  "hiddenAliases": [],
14468
- "id": "order:shipping_address_clone_id",
14459
+ "id": "order:refund",
14469
14460
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14470
14461
  "pluginName": "@commercelayer/cli-plugin-triggers",
14471
14462
  "pluginType": "core",
@@ -14476,10 +14467,10 @@
14476
14467
  "lib",
14477
14468
  "commands",
14478
14469
  "order",
14479
- "shipping_address_clone_id.js"
14470
+ "refund.js"
14480
14471
  ]
14481
14472
  },
14482
- "order:shipping_address_same_as_billing": {
14473
+ "order:refund_invoice": {
14483
14474
  "aliases": [],
14484
14475
  "args": {
14485
14476
  "id": {
@@ -14488,7 +14479,7 @@
14488
14479
  "required": true
14489
14480
  }
14490
14481
  },
14491
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
14482
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
14492
14483
  "flags": {
14493
14484
  "organization": {
14494
14485
  "char": "o",
@@ -14553,7 +14544,7 @@
14553
14544
  },
14554
14545
  "hasDynamicHelp": false,
14555
14546
  "hiddenAliases": [],
14556
- "id": "order:shipping_address_same_as_billing",
14547
+ "id": "order:refund_invoice",
14557
14548
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14558
14549
  "pluginName": "@commercelayer/cli-plugin-triggers",
14559
14550
  "pluginType": "core",
@@ -14564,10 +14555,10 @@
14564
14555
  "lib",
14565
14556
  "commands",
14566
14557
  "order",
14567
- "shipping_address_same_as_billing.js"
14558
+ "refund_invoice.js"
14568
14559
  ]
14569
14560
  },
14570
- "order:start_editing": {
14561
+ "order:remove_tags": {
14571
14562
  "aliases": [],
14572
14563
  "args": {
14573
14564
  "id": {
@@ -14576,7 +14567,7 @@
14576
14567
  "required": true
14577
14568
  }
14578
14569
  },
14579
- "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount. Cannot be passed by sales channels.",
14570
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14580
14571
  "flags": {
14581
14572
  "organization": {
14582
14573
  "char": "o",
@@ -14641,7 +14632,7 @@
14641
14632
  },
14642
14633
  "hasDynamicHelp": false,
14643
14634
  "hiddenAliases": [],
14644
- "id": "order:start_editing",
14635
+ "id": "order:remove_tags",
14645
14636
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14646
14637
  "pluginName": "@commercelayer/cli-plugin-triggers",
14647
14638
  "pluginType": "core",
@@ -14652,10 +14643,10 @@
14652
14643
  "lib",
14653
14644
  "commands",
14654
14645
  "order",
14655
- "start_editing.js"
14646
+ "remove_tags.js"
14656
14647
  ]
14657
14648
  },
14658
- "order:stop_editing": {
14649
+ "order:reset_circuit": {
14659
14650
  "aliases": [],
14660
14651
  "args": {
14661
14652
  "id": {
@@ -14664,7 +14655,7 @@
14664
14655
  "required": true
14665
14656
  }
14666
14657
  },
14667
- "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
14658
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
14668
14659
  "flags": {
14669
14660
  "organization": {
14670
14661
  "char": "o",
@@ -14729,7 +14720,7 @@
14729
14720
  },
14730
14721
  "hasDynamicHelp": false,
14731
14722
  "hiddenAliases": [],
14732
- "id": "order:stop_editing",
14723
+ "id": "order:reset_circuit",
14733
14724
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14734
14725
  "pluginName": "@commercelayer/cli-plugin-triggers",
14735
14726
  "pluginType": "core",
@@ -14740,10 +14731,10 @@
14740
14731
  "lib",
14741
14732
  "commands",
14742
14733
  "order",
14743
- "stop_editing.js"
14734
+ "reset_circuit.js"
14744
14735
  ]
14745
14736
  },
14746
- "order:unarchive": {
14737
+ "order:save_billing_address_to_customer_address_book": {
14747
14738
  "aliases": [],
14748
14739
  "args": {
14749
14740
  "id": {
@@ -14752,7 +14743,7 @@
14752
14743
  "required": true
14753
14744
  }
14754
14745
  },
14755
- "description": "Send this attribute if you want to unarchive the order.",
14746
+ "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.",
14756
14747
  "flags": {
14757
14748
  "organization": {
14758
14749
  "char": "o",
@@ -14817,7 +14808,7 @@
14817
14808
  },
14818
14809
  "hasDynamicHelp": false,
14819
14810
  "hiddenAliases": [],
14820
- "id": "order:unarchive",
14811
+ "id": "order:save_billing_address_to_customer_address_book",
14821
14812
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14822
14813
  "pluginName": "@commercelayer/cli-plugin-triggers",
14823
14814
  "pluginType": "core",
@@ -14828,10 +14819,10 @@
14828
14819
  "lib",
14829
14820
  "commands",
14830
14821
  "order",
14831
- "unarchive.js"
14822
+ "save_billing_address_to_customer_address_book.js"
14832
14823
  ]
14833
14824
  },
14834
- "order:update_taxes": {
14825
+ "order:save_payment_source_to_customer_wallet": {
14835
14826
  "aliases": [],
14836
14827
  "args": {
14837
14828
  "id": {
@@ -14840,7 +14831,7 @@
14840
14831
  "required": true
14841
14832
  }
14842
14833
  },
14843
- "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).",
14834
+ "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.",
14844
14835
  "flags": {
14845
14836
  "organization": {
14846
14837
  "char": "o",
@@ -14905,7 +14896,7 @@
14905
14896
  },
14906
14897
  "hasDynamicHelp": false,
14907
14898
  "hiddenAliases": [],
14908
- "id": "order:update_taxes",
14899
+ "id": "order:save_payment_source_to_customer_wallet",
14909
14900
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14910
14901
  "pluginName": "@commercelayer/cli-plugin-triggers",
14911
14902
  "pluginType": "core",
@@ -14916,10 +14907,10 @@
14916
14907
  "lib",
14917
14908
  "commands",
14918
14909
  "order",
14919
- "update_taxes.js"
14910
+ "save_payment_source_to_customer_wallet.js"
14920
14911
  ]
14921
14912
  },
14922
- "order:validate": {
14913
+ "order:save_shipping_address_to_customer_address_book": {
14923
14914
  "aliases": [],
14924
14915
  "args": {
14925
14916
  "id": {
@@ -14928,7 +14919,7 @@
14928
14919
  "required": true
14929
14920
  }
14930
14921
  },
14931
- "description": "Send this attribute if you want to trigger the external validation for the order.",
14922
+ "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.",
14932
14923
  "flags": {
14933
14924
  "organization": {
14934
14925
  "char": "o",
@@ -14993,7 +14984,7 @@
14993
14984
  },
14994
14985
  "hasDynamicHelp": false,
14995
14986
  "hiddenAliases": [],
14996
- "id": "order:validate",
14987
+ "id": "order:save_shipping_address_to_customer_address_book",
14997
14988
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14998
14989
  "pluginName": "@commercelayer/cli-plugin-triggers",
14999
14990
  "pluginType": "core",
@@ -15004,10 +14995,10 @@
15004
14995
  "lib",
15005
14996
  "commands",
15006
14997
  "order",
15007
- "validate.js"
14998
+ "save_shipping_address_to_customer_address_book.js"
15008
14999
  ]
15009
15000
  },
15010
- "order_subscription:activate": {
15001
+ "order:shipping_address_clone_id": {
15011
15002
  "aliases": [],
15012
15003
  "args": {
15013
15004
  "id": {
@@ -15016,7 +15007,7 @@
15016
15007
  "required": true
15017
15008
  }
15018
15009
  },
15019
- "description": "Send this attribute if you want to mark this subscription as active.",
15010
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
15020
15011
  "flags": {
15021
15012
  "organization": {
15022
15013
  "char": "o",
@@ -15077,11 +15068,20 @@
15077
15068
  "name": "unformatted",
15078
15069
  "allowNo": false,
15079
15070
  "type": "boolean"
15071
+ },
15072
+ "value": {
15073
+ "char": "v",
15074
+ "description": "the trigger attribute value",
15075
+ "name": "value",
15076
+ "required": true,
15077
+ "hasDynamicHelp": false,
15078
+ "multiple": false,
15079
+ "type": "option"
15080
15080
  }
15081
15081
  },
15082
15082
  "hasDynamicHelp": false,
15083
15083
  "hiddenAliases": [],
15084
- "id": "order_subscription:activate",
15084
+ "id": "order:shipping_address_clone_id",
15085
15085
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15086
15086
  "pluginName": "@commercelayer/cli-plugin-triggers",
15087
15087
  "pluginType": "core",
@@ -15091,11 +15091,11 @@
15091
15091
  "relativePath": [
15092
15092
  "lib",
15093
15093
  "commands",
15094
- "order_subscription",
15095
- "activate.js"
15094
+ "order",
15095
+ "shipping_address_clone_id.js"
15096
15096
  ]
15097
15097
  },
15098
- "order_subscription:add_tags": {
15098
+ "order:shipping_address_same_as_billing": {
15099
15099
  "aliases": [],
15100
15100
  "args": {
15101
15101
  "id": {
@@ -15104,7 +15104,7 @@
15104
15104
  "required": true
15105
15105
  }
15106
15106
  },
15107
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15107
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
15108
15108
  "flags": {
15109
15109
  "organization": {
15110
15110
  "char": "o",
@@ -15169,7 +15169,7 @@
15169
15169
  },
15170
15170
  "hasDynamicHelp": false,
15171
15171
  "hiddenAliases": [],
15172
- "id": "order_subscription:add_tags",
15172
+ "id": "order:shipping_address_same_as_billing",
15173
15173
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15174
15174
  "pluginName": "@commercelayer/cli-plugin-triggers",
15175
15175
  "pluginType": "core",
@@ -15179,11 +15179,11 @@
15179
15179
  "relativePath": [
15180
15180
  "lib",
15181
15181
  "commands",
15182
- "order_subscription",
15183
- "add_tags.js"
15182
+ "order",
15183
+ "shipping_address_same_as_billing.js"
15184
15184
  ]
15185
15185
  },
15186
- "order_subscription:cancel": {
15186
+ "order:start_editing": {
15187
15187
  "aliases": [],
15188
15188
  "args": {
15189
15189
  "id": {
@@ -15192,7 +15192,7 @@
15192
15192
  "required": true
15193
15193
  }
15194
15194
  },
15195
- "description": "Send this attribute if you want to mark this subscription as cancelled.",
15195
+ "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount. Cannot be passed by sales channels.",
15196
15196
  "flags": {
15197
15197
  "organization": {
15198
15198
  "char": "o",
@@ -15257,7 +15257,7 @@
15257
15257
  },
15258
15258
  "hasDynamicHelp": false,
15259
15259
  "hiddenAliases": [],
15260
- "id": "order_subscription:cancel",
15260
+ "id": "order:start_editing",
15261
15261
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15262
15262
  "pluginName": "@commercelayer/cli-plugin-triggers",
15263
15263
  "pluginType": "core",
@@ -15267,11 +15267,11 @@
15267
15267
  "relativePath": [
15268
15268
  "lib",
15269
15269
  "commands",
15270
- "order_subscription",
15271
- "cancel.js"
15270
+ "order",
15271
+ "start_editing.js"
15272
15272
  ]
15273
15273
  },
15274
- "order_subscription:convert": {
15274
+ "order:stop_editing": {
15275
15275
  "aliases": [],
15276
15276
  "args": {
15277
15277
  "id": {
@@ -15280,7 +15280,7 @@
15280
15280
  "required": true
15281
15281
  }
15282
15282
  },
15283
- "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
15283
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
15284
15284
  "flags": {
15285
15285
  "organization": {
15286
15286
  "char": "o",
@@ -15345,7 +15345,7 @@
15345
15345
  },
15346
15346
  "hasDynamicHelp": false,
15347
15347
  "hiddenAliases": [],
15348
- "id": "order_subscription:convert",
15348
+ "id": "order:stop_editing",
15349
15349
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15350
15350
  "pluginName": "@commercelayer/cli-plugin-triggers",
15351
15351
  "pluginType": "core",
@@ -15355,11 +15355,11 @@
15355
15355
  "relativePath": [
15356
15356
  "lib",
15357
15357
  "commands",
15358
- "order_subscription",
15359
- "convert.js"
15358
+ "order",
15359
+ "stop_editing.js"
15360
15360
  ]
15361
15361
  },
15362
- "order_subscription:deactivate": {
15362
+ "order:unarchive": {
15363
15363
  "aliases": [],
15364
15364
  "args": {
15365
15365
  "id": {
@@ -15368,7 +15368,7 @@
15368
15368
  "required": true
15369
15369
  }
15370
15370
  },
15371
- "description": "Send this attribute if you want to mark this subscription as inactive.",
15371
+ "description": "Send this attribute if you want to unarchive the order.",
15372
15372
  "flags": {
15373
15373
  "organization": {
15374
15374
  "char": "o",
@@ -15433,7 +15433,7 @@
15433
15433
  },
15434
15434
  "hasDynamicHelp": false,
15435
15435
  "hiddenAliases": [],
15436
- "id": "order_subscription:deactivate",
15436
+ "id": "order:unarchive",
15437
15437
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15438
15438
  "pluginName": "@commercelayer/cli-plugin-triggers",
15439
15439
  "pluginType": "core",
@@ -15443,11 +15443,11 @@
15443
15443
  "relativePath": [
15444
15444
  "lib",
15445
15445
  "commands",
15446
- "order_subscription",
15447
- "deactivate.js"
15446
+ "order",
15447
+ "unarchive.js"
15448
15448
  ]
15449
15449
  },
15450
- "order_subscription": {
15450
+ "order:update_taxes": {
15451
15451
  "aliases": [],
15452
15452
  "args": {
15453
15453
  "id": {
@@ -15456,7 +15456,7 @@
15456
15456
  "required": true
15457
15457
  }
15458
15458
  },
15459
- "description": "execute an action on a resource of type order_subscriptions",
15459
+ "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).",
15460
15460
  "flags": {
15461
15461
  "organization": {
15462
15462
  "char": "o",
@@ -15521,7 +15521,7 @@
15521
15521
  },
15522
15522
  "hasDynamicHelp": false,
15523
15523
  "hiddenAliases": [],
15524
- "id": "order_subscription",
15524
+ "id": "order:update_taxes",
15525
15525
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15526
15526
  "pluginName": "@commercelayer/cli-plugin-triggers",
15527
15527
  "pluginType": "core",
@@ -15531,11 +15531,11 @@
15531
15531
  "relativePath": [
15532
15532
  "lib",
15533
15533
  "commands",
15534
- "order_subscription",
15535
- "index.js"
15534
+ "order",
15535
+ "update_taxes.js"
15536
15536
  ]
15537
15537
  },
15538
- "order_subscription:remove_tags": {
15538
+ "order:validate": {
15539
15539
  "aliases": [],
15540
15540
  "args": {
15541
15541
  "id": {
@@ -15544,7 +15544,7 @@
15544
15544
  "required": true
15545
15545
  }
15546
15546
  },
15547
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15547
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
15548
15548
  "flags": {
15549
15549
  "organization": {
15550
15550
  "char": "o",
@@ -15609,7 +15609,7 @@
15609
15609
  },
15610
15610
  "hasDynamicHelp": false,
15611
15611
  "hiddenAliases": [],
15612
- "id": "order_subscription:remove_tags",
15612
+ "id": "order:validate",
15613
15613
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15614
15614
  "pluginName": "@commercelayer/cli-plugin-triggers",
15615
15615
  "pluginType": "core",
@@ -15619,8 +15619,8 @@
15619
15619
  "relativePath": [
15620
15620
  "lib",
15621
15621
  "commands",
15622
- "order_subscription",
15623
- "remove_tags.js"
15622
+ "order",
15623
+ "validate.js"
15624
15624
  ]
15625
15625
  },
15626
15626
  "payment_method:disable": {
@@ -17031,7 +17031,7 @@
17031
17031
  "index.js"
17032
17032
  ]
17033
17033
  },
17034
- "return:add_tags": {
17034
+ "return_line_item": {
17035
17035
  "aliases": [],
17036
17036
  "args": {
17037
17037
  "id": {
@@ -17040,7 +17040,7 @@
17040
17040
  "required": true
17041
17041
  }
17042
17042
  },
17043
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17043
+ "description": "execute an action on a resource of type return_line_items",
17044
17044
  "flags": {
17045
17045
  "organization": {
17046
17046
  "char": "o",
@@ -17105,7 +17105,7 @@
17105
17105
  },
17106
17106
  "hasDynamicHelp": false,
17107
17107
  "hiddenAliases": [],
17108
- "id": "return:add_tags",
17108
+ "id": "return_line_item",
17109
17109
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17110
17110
  "pluginName": "@commercelayer/cli-plugin-triggers",
17111
17111
  "pluginType": "core",
@@ -17115,11 +17115,11 @@
17115
17115
  "relativePath": [
17116
17116
  "lib",
17117
17117
  "commands",
17118
- "return",
17119
- "add_tags.js"
17118
+ "return_line_item",
17119
+ "index.js"
17120
17120
  ]
17121
17121
  },
17122
- "return:approve": {
17122
+ "return_line_item:restock": {
17123
17123
  "aliases": [],
17124
17124
  "args": {
17125
17125
  "id": {
@@ -17128,7 +17128,7 @@
17128
17128
  "required": true
17129
17129
  }
17130
17130
  },
17131
- "description": "Send this attribute if you want to mark this return as approved.",
17131
+ "description": "Send this attribute if you want to restock the line item.",
17132
17132
  "flags": {
17133
17133
  "organization": {
17134
17134
  "char": "o",
@@ -17193,7 +17193,7 @@
17193
17193
  },
17194
17194
  "hasDynamicHelp": false,
17195
17195
  "hiddenAliases": [],
17196
- "id": "return:approve",
17196
+ "id": "return_line_item:restock",
17197
17197
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17198
17198
  "pluginName": "@commercelayer/cli-plugin-triggers",
17199
17199
  "pluginType": "core",
@@ -17203,11 +17203,11 @@
17203
17203
  "relativePath": [
17204
17204
  "lib",
17205
17205
  "commands",
17206
- "return",
17207
- "approve.js"
17206
+ "return_line_item",
17207
+ "restock.js"
17208
17208
  ]
17209
17209
  },
17210
- "return:archive": {
17210
+ "return:add_tags": {
17211
17211
  "aliases": [],
17212
17212
  "args": {
17213
17213
  "id": {
@@ -17216,7 +17216,7 @@
17216
17216
  "required": true
17217
17217
  }
17218
17218
  },
17219
- "description": "Send this attribute if you want to archive the return.",
17219
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17220
17220
  "flags": {
17221
17221
  "organization": {
17222
17222
  "char": "o",
@@ -17281,7 +17281,7 @@
17281
17281
  },
17282
17282
  "hasDynamicHelp": false,
17283
17283
  "hiddenAliases": [],
17284
- "id": "return:archive",
17284
+ "id": "return:add_tags",
17285
17285
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17286
17286
  "pluginName": "@commercelayer/cli-plugin-triggers",
17287
17287
  "pluginType": "core",
@@ -17292,10 +17292,10 @@
17292
17292
  "lib",
17293
17293
  "commands",
17294
17294
  "return",
17295
- "archive.js"
17295
+ "add_tags.js"
17296
17296
  ]
17297
17297
  },
17298
- "return:cancel": {
17298
+ "return:approve": {
17299
17299
  "aliases": [],
17300
17300
  "args": {
17301
17301
  "id": {
@@ -17304,7 +17304,7 @@
17304
17304
  "required": true
17305
17305
  }
17306
17306
  },
17307
- "description": "Send this attribute if you want to mark this return as cancelled.",
17307
+ "description": "Send this attribute if you want to mark this return as approved.",
17308
17308
  "flags": {
17309
17309
  "organization": {
17310
17310
  "char": "o",
@@ -17369,7 +17369,7 @@
17369
17369
  },
17370
17370
  "hasDynamicHelp": false,
17371
17371
  "hiddenAliases": [],
17372
- "id": "return:cancel",
17372
+ "id": "return:approve",
17373
17373
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17374
17374
  "pluginName": "@commercelayer/cli-plugin-triggers",
17375
17375
  "pluginType": "core",
@@ -17380,10 +17380,10 @@
17380
17380
  "lib",
17381
17381
  "commands",
17382
17382
  "return",
17383
- "cancel.js"
17383
+ "approve.js"
17384
17384
  ]
17385
17385
  },
17386
- "return": {
17386
+ "return:archive": {
17387
17387
  "aliases": [],
17388
17388
  "args": {
17389
17389
  "id": {
@@ -17392,7 +17392,7 @@
17392
17392
  "required": true
17393
17393
  }
17394
17394
  },
17395
- "description": "execute an action on a resource of type returns",
17395
+ "description": "Send this attribute if you want to archive the return.",
17396
17396
  "flags": {
17397
17397
  "organization": {
17398
17398
  "char": "o",
@@ -17457,7 +17457,7 @@
17457
17457
  },
17458
17458
  "hasDynamicHelp": false,
17459
17459
  "hiddenAliases": [],
17460
- "id": "return",
17460
+ "id": "return:archive",
17461
17461
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17462
17462
  "pluginName": "@commercelayer/cli-plugin-triggers",
17463
17463
  "pluginType": "core",
@@ -17468,10 +17468,10 @@
17468
17468
  "lib",
17469
17469
  "commands",
17470
17470
  "return",
17471
- "index.js"
17471
+ "archive.js"
17472
17472
  ]
17473
17473
  },
17474
- "return:receive": {
17474
+ "return:cancel": {
17475
17475
  "aliases": [],
17476
17476
  "args": {
17477
17477
  "id": {
@@ -17480,7 +17480,7 @@
17480
17480
  "required": true
17481
17481
  }
17482
17482
  },
17483
- "description": "Send this attribute if you want to mark this return as received.",
17483
+ "description": "Send this attribute if you want to mark this return as cancelled.",
17484
17484
  "flags": {
17485
17485
  "organization": {
17486
17486
  "char": "o",
@@ -17545,7 +17545,7 @@
17545
17545
  },
17546
17546
  "hasDynamicHelp": false,
17547
17547
  "hiddenAliases": [],
17548
- "id": "return:receive",
17548
+ "id": "return:cancel",
17549
17549
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17550
17550
  "pluginName": "@commercelayer/cli-plugin-triggers",
17551
17551
  "pluginType": "core",
@@ -17556,10 +17556,10 @@
17556
17556
  "lib",
17557
17557
  "commands",
17558
17558
  "return",
17559
- "receive.js"
17559
+ "cancel.js"
17560
17560
  ]
17561
17561
  },
17562
- "return:refund": {
17562
+ "return": {
17563
17563
  "aliases": [],
17564
17564
  "args": {
17565
17565
  "id": {
@@ -17568,7 +17568,7 @@
17568
17568
  "required": true
17569
17569
  }
17570
17570
  },
17571
- "description": "Send this attribute if you want to create a refund for this return.",
17571
+ "description": "execute an action on a resource of type returns",
17572
17572
  "flags": {
17573
17573
  "organization": {
17574
17574
  "char": "o",
@@ -17633,7 +17633,7 @@
17633
17633
  },
17634
17634
  "hasDynamicHelp": false,
17635
17635
  "hiddenAliases": [],
17636
- "id": "return:refund",
17636
+ "id": "return",
17637
17637
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17638
17638
  "pluginName": "@commercelayer/cli-plugin-triggers",
17639
17639
  "pluginType": "core",
@@ -17644,10 +17644,10 @@
17644
17644
  "lib",
17645
17645
  "commands",
17646
17646
  "return",
17647
- "refund.js"
17647
+ "index.js"
17648
17648
  ]
17649
17649
  },
17650
- "return:refund_amount_cents": {
17650
+ "return:receive": {
17651
17651
  "aliases": [],
17652
17652
  "args": {
17653
17653
  "id": {
@@ -17656,7 +17656,7 @@
17656
17656
  "required": true
17657
17657
  }
17658
17658
  },
17659
- "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
17659
+ "description": "Send this attribute if you want to mark this return as received.",
17660
17660
  "flags": {
17661
17661
  "organization": {
17662
17662
  "char": "o",
@@ -17721,7 +17721,7 @@
17721
17721
  },
17722
17722
  "hasDynamicHelp": false,
17723
17723
  "hiddenAliases": [],
17724
- "id": "return:refund_amount_cents",
17724
+ "id": "return:receive",
17725
17725
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17726
17726
  "pluginName": "@commercelayer/cli-plugin-triggers",
17727
17727
  "pluginType": "core",
@@ -17732,10 +17732,10 @@
17732
17732
  "lib",
17733
17733
  "commands",
17734
17734
  "return",
17735
- "refund_amount_cents.js"
17735
+ "receive.js"
17736
17736
  ]
17737
17737
  },
17738
- "return:reject": {
17738
+ "return:refund": {
17739
17739
  "aliases": [],
17740
17740
  "args": {
17741
17741
  "id": {
@@ -17744,7 +17744,7 @@
17744
17744
  "required": true
17745
17745
  }
17746
17746
  },
17747
- "description": "Send this attribute if you want to mark this return as rejected.",
17747
+ "description": "Send this attribute if you want to create a refund for this return.",
17748
17748
  "flags": {
17749
17749
  "organization": {
17750
17750
  "char": "o",
@@ -17809,7 +17809,7 @@
17809
17809
  },
17810
17810
  "hasDynamicHelp": false,
17811
17811
  "hiddenAliases": [],
17812
- "id": "return:reject",
17812
+ "id": "return:refund",
17813
17813
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17814
17814
  "pluginName": "@commercelayer/cli-plugin-triggers",
17815
17815
  "pluginType": "core",
@@ -17820,10 +17820,10 @@
17820
17820
  "lib",
17821
17821
  "commands",
17822
17822
  "return",
17823
- "reject.js"
17823
+ "refund.js"
17824
17824
  ]
17825
17825
  },
17826
- "return:remove_tags": {
17826
+ "return:refund_amount_cents": {
17827
17827
  "aliases": [],
17828
17828
  "args": {
17829
17829
  "id": {
@@ -17832,7 +17832,7 @@
17832
17832
  "required": true
17833
17833
  }
17834
17834
  },
17835
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17835
+ "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
17836
17836
  "flags": {
17837
17837
  "organization": {
17838
17838
  "char": "o",
@@ -17897,7 +17897,7 @@
17897
17897
  },
17898
17898
  "hasDynamicHelp": false,
17899
17899
  "hiddenAliases": [],
17900
- "id": "return:remove_tags",
17900
+ "id": "return:refund_amount_cents",
17901
17901
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17902
17902
  "pluginName": "@commercelayer/cli-plugin-triggers",
17903
17903
  "pluginType": "core",
@@ -17908,10 +17908,10 @@
17908
17908
  "lib",
17909
17909
  "commands",
17910
17910
  "return",
17911
- "remove_tags.js"
17911
+ "refund_amount_cents.js"
17912
17912
  ]
17913
17913
  },
17914
- "return:request": {
17914
+ "return:reject": {
17915
17915
  "aliases": [],
17916
17916
  "args": {
17917
17917
  "id": {
@@ -17920,7 +17920,7 @@
17920
17920
  "required": true
17921
17921
  }
17922
17922
  },
17923
- "description": "Send this attribute if you want to activate this return.",
17923
+ "description": "Send this attribute if you want to mark this return as rejected.",
17924
17924
  "flags": {
17925
17925
  "organization": {
17926
17926
  "char": "o",
@@ -17985,7 +17985,7 @@
17985
17985
  },
17986
17986
  "hasDynamicHelp": false,
17987
17987
  "hiddenAliases": [],
17988
- "id": "return:request",
17988
+ "id": "return:reject",
17989
17989
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17990
17990
  "pluginName": "@commercelayer/cli-plugin-triggers",
17991
17991
  "pluginType": "core",
@@ -17996,10 +17996,10 @@
17996
17996
  "lib",
17997
17997
  "commands",
17998
17998
  "return",
17999
- "request.js"
17999
+ "reject.js"
18000
18000
  ]
18001
18001
  },
18002
- "return:restock": {
18002
+ "return:remove_tags": {
18003
18003
  "aliases": [],
18004
18004
  "args": {
18005
18005
  "id": {
@@ -18008,7 +18008,7 @@
18008
18008
  "required": true
18009
18009
  }
18010
18010
  },
18011
- "description": "Send this attribute if you want to restock all of the return line items.",
18011
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18012
18012
  "flags": {
18013
18013
  "organization": {
18014
18014
  "char": "o",
@@ -18073,7 +18073,7 @@
18073
18073
  },
18074
18074
  "hasDynamicHelp": false,
18075
18075
  "hiddenAliases": [],
18076
- "id": "return:restock",
18076
+ "id": "return:remove_tags",
18077
18077
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18078
18078
  "pluginName": "@commercelayer/cli-plugin-triggers",
18079
18079
  "pluginType": "core",
@@ -18084,10 +18084,10 @@
18084
18084
  "lib",
18085
18085
  "commands",
18086
18086
  "return",
18087
- "restock.js"
18087
+ "remove_tags.js"
18088
18088
  ]
18089
18089
  },
18090
- "return:ship": {
18090
+ "return:request": {
18091
18091
  "aliases": [],
18092
18092
  "args": {
18093
18093
  "id": {
@@ -18096,7 +18096,7 @@
18096
18096
  "required": true
18097
18097
  }
18098
18098
  },
18099
- "description": "Send this attribute if you want to mark this return as shipped.",
18099
+ "description": "Send this attribute if you want to activate this return.",
18100
18100
  "flags": {
18101
18101
  "organization": {
18102
18102
  "char": "o",
@@ -18161,7 +18161,7 @@
18161
18161
  },
18162
18162
  "hasDynamicHelp": false,
18163
18163
  "hiddenAliases": [],
18164
- "id": "return:ship",
18164
+ "id": "return:request",
18165
18165
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18166
18166
  "pluginName": "@commercelayer/cli-plugin-triggers",
18167
18167
  "pluginType": "core",
@@ -18172,10 +18172,10 @@
18172
18172
  "lib",
18173
18173
  "commands",
18174
18174
  "return",
18175
- "ship.js"
18175
+ "request.js"
18176
18176
  ]
18177
18177
  },
18178
- "return:unarchive": {
18178
+ "return:restock": {
18179
18179
  "aliases": [],
18180
18180
  "args": {
18181
18181
  "id": {
@@ -18184,7 +18184,7 @@
18184
18184
  "required": true
18185
18185
  }
18186
18186
  },
18187
- "description": "Send this attribute if you want to unarchive the return.",
18187
+ "description": "Send this attribute if you want to restock all of the return line items.",
18188
18188
  "flags": {
18189
18189
  "organization": {
18190
18190
  "char": "o",
@@ -18249,7 +18249,7 @@
18249
18249
  },
18250
18250
  "hasDynamicHelp": false,
18251
18251
  "hiddenAliases": [],
18252
- "id": "return:unarchive",
18252
+ "id": "return:restock",
18253
18253
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18254
18254
  "pluginName": "@commercelayer/cli-plugin-triggers",
18255
18255
  "pluginType": "core",
@@ -18260,10 +18260,10 @@
18260
18260
  "lib",
18261
18261
  "commands",
18262
18262
  "return",
18263
- "unarchive.js"
18263
+ "restock.js"
18264
18264
  ]
18265
18265
  },
18266
- "return_line_item": {
18266
+ "return:ship": {
18267
18267
  "aliases": [],
18268
18268
  "args": {
18269
18269
  "id": {
@@ -18272,7 +18272,7 @@
18272
18272
  "required": true
18273
18273
  }
18274
18274
  },
18275
- "description": "execute an action on a resource of type return_line_items",
18275
+ "description": "Send this attribute if you want to mark this return as shipped.",
18276
18276
  "flags": {
18277
18277
  "organization": {
18278
18278
  "char": "o",
@@ -18337,7 +18337,7 @@
18337
18337
  },
18338
18338
  "hasDynamicHelp": false,
18339
18339
  "hiddenAliases": [],
18340
- "id": "return_line_item",
18340
+ "id": "return:ship",
18341
18341
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18342
18342
  "pluginName": "@commercelayer/cli-plugin-triggers",
18343
18343
  "pluginType": "core",
@@ -18347,11 +18347,11 @@
18347
18347
  "relativePath": [
18348
18348
  "lib",
18349
18349
  "commands",
18350
- "return_line_item",
18351
- "index.js"
18350
+ "return",
18351
+ "ship.js"
18352
18352
  ]
18353
18353
  },
18354
- "return_line_item:restock": {
18354
+ "return:unarchive": {
18355
18355
  "aliases": [],
18356
18356
  "args": {
18357
18357
  "id": {
@@ -18360,7 +18360,7 @@
18360
18360
  "required": true
18361
18361
  }
18362
18362
  },
18363
- "description": "Send this attribute if you want to restock the line item.",
18363
+ "description": "Send this attribute if you want to unarchive the return.",
18364
18364
  "flags": {
18365
18365
  "organization": {
18366
18366
  "char": "o",
@@ -18425,7 +18425,7 @@
18425
18425
  },
18426
18426
  "hasDynamicHelp": false,
18427
18427
  "hiddenAliases": [],
18428
- "id": "return_line_item:restock",
18428
+ "id": "return:unarchive",
18429
18429
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18430
18430
  "pluginName": "@commercelayer/cli-plugin-triggers",
18431
18431
  "pluginType": "core",
@@ -18435,8 +18435,8 @@
18435
18435
  "relativePath": [
18436
18436
  "lib",
18437
18437
  "commands",
18438
- "return_line_item",
18439
- "restock.js"
18438
+ "return",
18439
+ "unarchive.js"
18440
18440
  ]
18441
18441
  },
18442
18442
  "satispay_gateway:disable": {
@@ -20903,7 +20903,7 @@
20903
20903
  "remove_tags.js"
20904
20904
  ]
20905
20905
  },
20906
- "sku_option:add_tags": {
20906
+ "stock_item": {
20907
20907
  "aliases": [],
20908
20908
  "args": {
20909
20909
  "id": {
@@ -20912,7 +20912,7 @@
20912
20912
  "required": true
20913
20913
  }
20914
20914
  },
20915
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20915
+ "description": "execute an action on a resource of type stock_items",
20916
20916
  "flags": {
20917
20917
  "organization": {
20918
20918
  "char": "o",
@@ -20977,7 +20977,7 @@
20977
20977
  },
20978
20978
  "hasDynamicHelp": false,
20979
20979
  "hiddenAliases": [],
20980
- "id": "sku_option:add_tags",
20980
+ "id": "stock_item",
20981
20981
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20982
20982
  "pluginName": "@commercelayer/cli-plugin-triggers",
20983
20983
  "pluginType": "core",
@@ -20987,11 +20987,11 @@
20987
20987
  "relativePath": [
20988
20988
  "lib",
20989
20989
  "commands",
20990
- "sku_option",
20991
- "add_tags.js"
20990
+ "stock_item",
20991
+ "index.js"
20992
20992
  ]
20993
20993
  },
20994
- "sku_option": {
20994
+ "stock_item:validate": {
20995
20995
  "aliases": [],
20996
20996
  "args": {
20997
20997
  "id": {
@@ -21000,7 +21000,7 @@
21000
21000
  "required": true
21001
21001
  }
21002
21002
  },
21003
- "description": "execute an action on a resource of type sku_options",
21003
+ "description": "Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller. Cannot be passed by sales channels.",
21004
21004
  "flags": {
21005
21005
  "organization": {
21006
21006
  "char": "o",
@@ -21065,7 +21065,7 @@
21065
21065
  },
21066
21066
  "hasDynamicHelp": false,
21067
21067
  "hiddenAliases": [],
21068
- "id": "sku_option",
21068
+ "id": "stock_item:validate",
21069
21069
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21070
21070
  "pluginName": "@commercelayer/cli-plugin-triggers",
21071
21071
  "pluginType": "core",
@@ -21075,11 +21075,11 @@
21075
21075
  "relativePath": [
21076
21076
  "lib",
21077
21077
  "commands",
21078
- "sku_option",
21079
- "index.js"
21078
+ "stock_item",
21079
+ "validate.js"
21080
21080
  ]
21081
21081
  },
21082
- "sku_option:remove_tags": {
21082
+ "sku_option:add_tags": {
21083
21083
  "aliases": [],
21084
21084
  "args": {
21085
21085
  "id": {
@@ -21088,7 +21088,7 @@
21088
21088
  "required": true
21089
21089
  }
21090
21090
  },
21091
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
21091
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
21092
21092
  "flags": {
21093
21093
  "organization": {
21094
21094
  "char": "o",
@@ -21153,7 +21153,7 @@
21153
21153
  },
21154
21154
  "hasDynamicHelp": false,
21155
21155
  "hiddenAliases": [],
21156
- "id": "sku_option:remove_tags",
21156
+ "id": "sku_option:add_tags",
21157
21157
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21158
21158
  "pluginName": "@commercelayer/cli-plugin-triggers",
21159
21159
  "pluginType": "core",
@@ -21164,10 +21164,10 @@
21164
21164
  "lib",
21165
21165
  "commands",
21166
21166
  "sku_option",
21167
- "remove_tags.js"
21167
+ "add_tags.js"
21168
21168
  ]
21169
21169
  },
21170
- "stock_item": {
21170
+ "sku_option": {
21171
21171
  "aliases": [],
21172
21172
  "args": {
21173
21173
  "id": {
@@ -21176,7 +21176,7 @@
21176
21176
  "required": true
21177
21177
  }
21178
21178
  },
21179
- "description": "execute an action on a resource of type stock_items",
21179
+ "description": "execute an action on a resource of type sku_options",
21180
21180
  "flags": {
21181
21181
  "organization": {
21182
21182
  "char": "o",
@@ -21241,7 +21241,7 @@
21241
21241
  },
21242
21242
  "hasDynamicHelp": false,
21243
21243
  "hiddenAliases": [],
21244
- "id": "stock_item",
21244
+ "id": "sku_option",
21245
21245
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21246
21246
  "pluginName": "@commercelayer/cli-plugin-triggers",
21247
21247
  "pluginType": "core",
@@ -21251,11 +21251,11 @@
21251
21251
  "relativePath": [
21252
21252
  "lib",
21253
21253
  "commands",
21254
- "stock_item",
21254
+ "sku_option",
21255
21255
  "index.js"
21256
21256
  ]
21257
21257
  },
21258
- "stock_item:validate": {
21258
+ "sku_option:remove_tags": {
21259
21259
  "aliases": [],
21260
21260
  "args": {
21261
21261
  "id": {
@@ -21264,7 +21264,7 @@
21264
21264
  "required": true
21265
21265
  }
21266
21266
  },
21267
- "description": "Send this attribute if you want to validate the stock item quantity against the existing reserved stock one, returns an error in case the former is smaller. Cannot be passed by sales channels.",
21267
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
21268
21268
  "flags": {
21269
21269
  "organization": {
21270
21270
  "char": "o",
@@ -21329,7 +21329,7 @@
21329
21329
  },
21330
21330
  "hasDynamicHelp": false,
21331
21331
  "hiddenAliases": [],
21332
- "id": "stock_item:validate",
21332
+ "id": "sku_option:remove_tags",
21333
21333
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21334
21334
  "pluginName": "@commercelayer/cli-plugin-triggers",
21335
21335
  "pluginType": "core",
@@ -21339,11 +21339,11 @@
21339
21339
  "relativePath": [
21340
21340
  "lib",
21341
21341
  "commands",
21342
- "stock_item",
21343
- "validate.js"
21342
+ "sku_option",
21343
+ "remove_tags.js"
21344
21344
  ]
21345
21345
  },
21346
- "stock_line_item:decrement_stock": {
21346
+ "stock_reservation": {
21347
21347
  "aliases": [],
21348
21348
  "args": {
21349
21349
  "id": {
@@ -21352,7 +21352,7 @@
21352
21352
  "required": true
21353
21353
  }
21354
21354
  },
21355
- "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21355
+ "description": "execute an action on a resource of type stock_reservations",
21356
21356
  "flags": {
21357
21357
  "organization": {
21358
21358
  "char": "o",
@@ -21417,7 +21417,7 @@
21417
21417
  },
21418
21418
  "hasDynamicHelp": false,
21419
21419
  "hiddenAliases": [],
21420
- "id": "stock_line_item:decrement_stock",
21420
+ "id": "stock_reservation",
21421
21421
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21422
21422
  "pluginName": "@commercelayer/cli-plugin-triggers",
21423
21423
  "pluginType": "core",
@@ -21427,11 +21427,11 @@
21427
21427
  "relativePath": [
21428
21428
  "lib",
21429
21429
  "commands",
21430
- "stock_line_item",
21431
- "decrement_stock.js"
21430
+ "stock_reservation",
21431
+ "index.js"
21432
21432
  ]
21433
21433
  },
21434
- "stock_line_item": {
21434
+ "stock_reservation:pending": {
21435
21435
  "aliases": [],
21436
21436
  "args": {
21437
21437
  "id": {
@@ -21440,7 +21440,7 @@
21440
21440
  "required": true
21441
21441
  }
21442
21442
  },
21443
- "description": "execute an action on a resource of type stock_line_items",
21443
+ "description": "Send this attribute if you want to mark this stock reservation as pending.",
21444
21444
  "flags": {
21445
21445
  "organization": {
21446
21446
  "char": "o",
@@ -21505,7 +21505,7 @@
21505
21505
  },
21506
21506
  "hasDynamicHelp": false,
21507
21507
  "hiddenAliases": [],
21508
- "id": "stock_line_item",
21508
+ "id": "stock_reservation:pending",
21509
21509
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21510
21510
  "pluginName": "@commercelayer/cli-plugin-triggers",
21511
21511
  "pluginType": "core",
@@ -21515,11 +21515,11 @@
21515
21515
  "relativePath": [
21516
21516
  "lib",
21517
21517
  "commands",
21518
- "stock_line_item",
21519
- "index.js"
21518
+ "stock_reservation",
21519
+ "pending.js"
21520
21520
  ]
21521
21521
  },
21522
- "stock_line_item:release_stock": {
21522
+ "stock_line_item:decrement_stock": {
21523
21523
  "aliases": [],
21524
21524
  "args": {
21525
21525
  "id": {
@@ -21528,7 +21528,7 @@
21528
21528
  "required": true
21529
21529
  }
21530
21530
  },
21531
- "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21531
+ "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21532
21532
  "flags": {
21533
21533
  "organization": {
21534
21534
  "char": "o",
@@ -21593,7 +21593,7 @@
21593
21593
  },
21594
21594
  "hasDynamicHelp": false,
21595
21595
  "hiddenAliases": [],
21596
- "id": "stock_line_item:release_stock",
21596
+ "id": "stock_line_item:decrement_stock",
21597
21597
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21598
21598
  "pluginName": "@commercelayer/cli-plugin-triggers",
21599
21599
  "pluginType": "core",
@@ -21604,10 +21604,10 @@
21604
21604
  "lib",
21605
21605
  "commands",
21606
21606
  "stock_line_item",
21607
- "release_stock.js"
21607
+ "decrement_stock.js"
21608
21608
  ]
21609
21609
  },
21610
- "stock_line_item:reserve_stock": {
21610
+ "stock_line_item": {
21611
21611
  "aliases": [],
21612
21612
  "args": {
21613
21613
  "id": {
@@ -21616,7 +21616,7 @@
21616
21616
  "required": true
21617
21617
  }
21618
21618
  },
21619
- "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21619
+ "description": "execute an action on a resource of type stock_line_items",
21620
21620
  "flags": {
21621
21621
  "organization": {
21622
21622
  "char": "o",
@@ -21681,7 +21681,7 @@
21681
21681
  },
21682
21682
  "hasDynamicHelp": false,
21683
21683
  "hiddenAliases": [],
21684
- "id": "stock_line_item:reserve_stock",
21684
+ "id": "stock_line_item",
21685
21685
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21686
21686
  "pluginName": "@commercelayer/cli-plugin-triggers",
21687
21687
  "pluginType": "core",
@@ -21692,10 +21692,10 @@
21692
21692
  "lib",
21693
21693
  "commands",
21694
21694
  "stock_line_item",
21695
- "reserve_stock.js"
21695
+ "index.js"
21696
21696
  ]
21697
21697
  },
21698
- "stock_reservation": {
21698
+ "stock_line_item:release_stock": {
21699
21699
  "aliases": [],
21700
21700
  "args": {
21701
21701
  "id": {
@@ -21704,7 +21704,7 @@
21704
21704
  "required": true
21705
21705
  }
21706
21706
  },
21707
- "description": "execute an action on a resource of type stock_reservations",
21707
+ "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21708
21708
  "flags": {
21709
21709
  "organization": {
21710
21710
  "char": "o",
@@ -21769,7 +21769,7 @@
21769
21769
  },
21770
21770
  "hasDynamicHelp": false,
21771
21771
  "hiddenAliases": [],
21772
- "id": "stock_reservation",
21772
+ "id": "stock_line_item:release_stock",
21773
21773
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21774
21774
  "pluginName": "@commercelayer/cli-plugin-triggers",
21775
21775
  "pluginType": "core",
@@ -21779,11 +21779,11 @@
21779
21779
  "relativePath": [
21780
21780
  "lib",
21781
21781
  "commands",
21782
- "stock_reservation",
21783
- "index.js"
21782
+ "stock_line_item",
21783
+ "release_stock.js"
21784
21784
  ]
21785
21785
  },
21786
- "stock_reservation:pending": {
21786
+ "stock_line_item:reserve_stock": {
21787
21787
  "aliases": [],
21788
21788
  "args": {
21789
21789
  "id": {
@@ -21792,7 +21792,7 @@
21792
21792
  "required": true
21793
21793
  }
21794
21794
  },
21795
- "description": "Send this attribute if you want to mark this stock reservation as pending.",
21795
+ "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21796
21796
  "flags": {
21797
21797
  "organization": {
21798
21798
  "char": "o",
@@ -21857,7 +21857,7 @@
21857
21857
  },
21858
21858
  "hasDynamicHelp": false,
21859
21859
  "hiddenAliases": [],
21860
- "id": "stock_reservation:pending",
21860
+ "id": "stock_line_item:reserve_stock",
21861
21861
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21862
21862
  "pluginName": "@commercelayer/cli-plugin-triggers",
21863
21863
  "pluginType": "core",
@@ -21867,11 +21867,11 @@
21867
21867
  "relativePath": [
21868
21868
  "lib",
21869
21869
  "commands",
21870
- "stock_reservation",
21871
- "pending.js"
21870
+ "stock_line_item",
21871
+ "reserve_stock.js"
21872
21872
  ]
21873
21873
  },
21874
- "stock_transfer:cancel": {
21874
+ "stripe_gateway:disable": {
21875
21875
  "aliases": [],
21876
21876
  "args": {
21877
21877
  "id": {
@@ -21880,7 +21880,7 @@
21880
21880
  "required": true
21881
21881
  }
21882
21882
  },
21883
- "description": "Send this attribute if you want to cancel this stock transfer.",
21883
+ "description": "Send this attribute if you want to mark this resource as disabled.",
21884
21884
  "flags": {
21885
21885
  "organization": {
21886
21886
  "char": "o",
@@ -21945,7 +21945,7 @@
21945
21945
  },
21946
21946
  "hasDynamicHelp": false,
21947
21947
  "hiddenAliases": [],
21948
- "id": "stock_transfer:cancel",
21948
+ "id": "stripe_gateway:disable",
21949
21949
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21950
21950
  "pluginName": "@commercelayer/cli-plugin-triggers",
21951
21951
  "pluginType": "core",
@@ -21955,11 +21955,11 @@
21955
21955
  "relativePath": [
21956
21956
  "lib",
21957
21957
  "commands",
21958
- "stock_transfer",
21959
- "cancel.js"
21958
+ "stripe_gateway",
21959
+ "disable.js"
21960
21960
  ]
21961
21961
  },
21962
- "stock_transfer:complete": {
21962
+ "stripe_gateway:enable": {
21963
21963
  "aliases": [],
21964
21964
  "args": {
21965
21965
  "id": {
@@ -21968,7 +21968,7 @@
21968
21968
  "required": true
21969
21969
  }
21970
21970
  },
21971
- "description": "Send this attribute if you want to complete this stock transfer.",
21971
+ "description": "Send this attribute if you want to mark this resource as enabled.",
21972
21972
  "flags": {
21973
21973
  "organization": {
21974
21974
  "char": "o",
@@ -22033,7 +22033,7 @@
22033
22033
  },
22034
22034
  "hasDynamicHelp": false,
22035
22035
  "hiddenAliases": [],
22036
- "id": "stock_transfer:complete",
22036
+ "id": "stripe_gateway:enable",
22037
22037
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22038
22038
  "pluginName": "@commercelayer/cli-plugin-triggers",
22039
22039
  "pluginType": "core",
@@ -22043,11 +22043,11 @@
22043
22043
  "relativePath": [
22044
22044
  "lib",
22045
22045
  "commands",
22046
- "stock_transfer",
22047
- "complete.js"
22046
+ "stripe_gateway",
22047
+ "enable.js"
22048
22048
  ]
22049
22049
  },
22050
- "stock_transfer:in_transit": {
22050
+ "stripe_gateway": {
22051
22051
  "aliases": [],
22052
22052
  "args": {
22053
22053
  "id": {
@@ -22056,7 +22056,7 @@
22056
22056
  "required": true
22057
22057
  }
22058
22058
  },
22059
- "description": "Send this attribute if you want to mark this stock transfer as in transit.",
22059
+ "description": "execute an action on a resource of type stripe_gateways",
22060
22060
  "flags": {
22061
22061
  "organization": {
22062
22062
  "char": "o",
@@ -22121,7 +22121,7 @@
22121
22121
  },
22122
22122
  "hasDynamicHelp": false,
22123
22123
  "hiddenAliases": [],
22124
- "id": "stock_transfer:in_transit",
22124
+ "id": "stripe_gateway",
22125
22125
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22126
22126
  "pluginName": "@commercelayer/cli-plugin-triggers",
22127
22127
  "pluginType": "core",
@@ -22131,11 +22131,11 @@
22131
22131
  "relativePath": [
22132
22132
  "lib",
22133
22133
  "commands",
22134
- "stock_transfer",
22135
- "in_transit.js"
22134
+ "stripe_gateway",
22135
+ "index.js"
22136
22136
  ]
22137
22137
  },
22138
- "stock_transfer": {
22138
+ "stock_transfer:cancel": {
22139
22139
  "aliases": [],
22140
22140
  "args": {
22141
22141
  "id": {
@@ -22144,7 +22144,7 @@
22144
22144
  "required": true
22145
22145
  }
22146
22146
  },
22147
- "description": "execute an action on a resource of type stock_transfers",
22147
+ "description": "Send this attribute if you want to cancel this stock transfer.",
22148
22148
  "flags": {
22149
22149
  "organization": {
22150
22150
  "char": "o",
@@ -22209,7 +22209,7 @@
22209
22209
  },
22210
22210
  "hasDynamicHelp": false,
22211
22211
  "hiddenAliases": [],
22212
- "id": "stock_transfer",
22212
+ "id": "stock_transfer:cancel",
22213
22213
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22214
22214
  "pluginName": "@commercelayer/cli-plugin-triggers",
22215
22215
  "pluginType": "core",
@@ -22220,10 +22220,10 @@
22220
22220
  "lib",
22221
22221
  "commands",
22222
22222
  "stock_transfer",
22223
- "index.js"
22223
+ "cancel.js"
22224
22224
  ]
22225
22225
  },
22226
- "stock_transfer:on_hold": {
22226
+ "stock_transfer:complete": {
22227
22227
  "aliases": [],
22228
22228
  "args": {
22229
22229
  "id": {
@@ -22232,7 +22232,7 @@
22232
22232
  "required": true
22233
22233
  }
22234
22234
  },
22235
- "description": "Send this attribute if you want to put this stock transfer on hold.",
22235
+ "description": "Send this attribute if you want to complete this stock transfer.",
22236
22236
  "flags": {
22237
22237
  "organization": {
22238
22238
  "char": "o",
@@ -22297,7 +22297,7 @@
22297
22297
  },
22298
22298
  "hasDynamicHelp": false,
22299
22299
  "hiddenAliases": [],
22300
- "id": "stock_transfer:on_hold",
22300
+ "id": "stock_transfer:complete",
22301
22301
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22302
22302
  "pluginName": "@commercelayer/cli-plugin-triggers",
22303
22303
  "pluginType": "core",
@@ -22308,10 +22308,10 @@
22308
22308
  "lib",
22309
22309
  "commands",
22310
22310
  "stock_transfer",
22311
- "on_hold.js"
22311
+ "complete.js"
22312
22312
  ]
22313
22313
  },
22314
- "stock_transfer:picking": {
22314
+ "stock_transfer:in_transit": {
22315
22315
  "aliases": [],
22316
22316
  "args": {
22317
22317
  "id": {
@@ -22320,7 +22320,7 @@
22320
22320
  "required": true
22321
22321
  }
22322
22322
  },
22323
- "description": "Send this attribute if you want to start picking this stock transfer.",
22323
+ "description": "Send this attribute if you want to mark this stock transfer as in transit.",
22324
22324
  "flags": {
22325
22325
  "organization": {
22326
22326
  "char": "o",
@@ -22385,7 +22385,7 @@
22385
22385
  },
22386
22386
  "hasDynamicHelp": false,
22387
22387
  "hiddenAliases": [],
22388
- "id": "stock_transfer:picking",
22388
+ "id": "stock_transfer:in_transit",
22389
22389
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22390
22390
  "pluginName": "@commercelayer/cli-plugin-triggers",
22391
22391
  "pluginType": "core",
@@ -22396,10 +22396,10 @@
22396
22396
  "lib",
22397
22397
  "commands",
22398
22398
  "stock_transfer",
22399
- "picking.js"
22399
+ "in_transit.js"
22400
22400
  ]
22401
22401
  },
22402
- "stock_transfer:upcoming": {
22402
+ "stock_transfer": {
22403
22403
  "aliases": [],
22404
22404
  "args": {
22405
22405
  "id": {
@@ -22408,7 +22408,7 @@
22408
22408
  "required": true
22409
22409
  }
22410
22410
  },
22411
- "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
22411
+ "description": "execute an action on a resource of type stock_transfers",
22412
22412
  "flags": {
22413
22413
  "organization": {
22414
22414
  "char": "o",
@@ -22473,7 +22473,7 @@
22473
22473
  },
22474
22474
  "hasDynamicHelp": false,
22475
22475
  "hiddenAliases": [],
22476
- "id": "stock_transfer:upcoming",
22476
+ "id": "stock_transfer",
22477
22477
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22478
22478
  "pluginName": "@commercelayer/cli-plugin-triggers",
22479
22479
  "pluginType": "core",
@@ -22484,10 +22484,10 @@
22484
22484
  "lib",
22485
22485
  "commands",
22486
22486
  "stock_transfer",
22487
- "upcoming.js"
22487
+ "index.js"
22488
22488
  ]
22489
22489
  },
22490
- "stripe_gateway:disable": {
22490
+ "stock_transfer:on_hold": {
22491
22491
  "aliases": [],
22492
22492
  "args": {
22493
22493
  "id": {
@@ -22496,7 +22496,7 @@
22496
22496
  "required": true
22497
22497
  }
22498
22498
  },
22499
- "description": "Send this attribute if you want to mark this resource as disabled.",
22499
+ "description": "Send this attribute if you want to put this stock transfer on hold.",
22500
22500
  "flags": {
22501
22501
  "organization": {
22502
22502
  "char": "o",
@@ -22561,7 +22561,7 @@
22561
22561
  },
22562
22562
  "hasDynamicHelp": false,
22563
22563
  "hiddenAliases": [],
22564
- "id": "stripe_gateway:disable",
22564
+ "id": "stock_transfer:on_hold",
22565
22565
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22566
22566
  "pluginName": "@commercelayer/cli-plugin-triggers",
22567
22567
  "pluginType": "core",
@@ -22571,11 +22571,11 @@
22571
22571
  "relativePath": [
22572
22572
  "lib",
22573
22573
  "commands",
22574
- "stripe_gateway",
22575
- "disable.js"
22574
+ "stock_transfer",
22575
+ "on_hold.js"
22576
22576
  ]
22577
22577
  },
22578
- "stripe_gateway:enable": {
22578
+ "stock_transfer:picking": {
22579
22579
  "aliases": [],
22580
22580
  "args": {
22581
22581
  "id": {
@@ -22584,7 +22584,7 @@
22584
22584
  "required": true
22585
22585
  }
22586
22586
  },
22587
- "description": "Send this attribute if you want to mark this resource as enabled.",
22587
+ "description": "Send this attribute if you want to start picking this stock transfer.",
22588
22588
  "flags": {
22589
22589
  "organization": {
22590
22590
  "char": "o",
@@ -22649,7 +22649,7 @@
22649
22649
  },
22650
22650
  "hasDynamicHelp": false,
22651
22651
  "hiddenAliases": [],
22652
- "id": "stripe_gateway:enable",
22652
+ "id": "stock_transfer:picking",
22653
22653
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22654
22654
  "pluginName": "@commercelayer/cli-plugin-triggers",
22655
22655
  "pluginType": "core",
@@ -22659,11 +22659,11 @@
22659
22659
  "relativePath": [
22660
22660
  "lib",
22661
22661
  "commands",
22662
- "stripe_gateway",
22663
- "enable.js"
22662
+ "stock_transfer",
22663
+ "picking.js"
22664
22664
  ]
22665
22665
  },
22666
- "stripe_gateway": {
22666
+ "stock_transfer:upcoming": {
22667
22667
  "aliases": [],
22668
22668
  "args": {
22669
22669
  "id": {
@@ -22672,7 +22672,7 @@
22672
22672
  "required": true
22673
22673
  }
22674
22674
  },
22675
- "description": "execute an action on a resource of type stripe_gateways",
22675
+ "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
22676
22676
  "flags": {
22677
22677
  "organization": {
22678
22678
  "char": "o",
@@ -22737,7 +22737,7 @@
22737
22737
  },
22738
22738
  "hasDynamicHelp": false,
22739
22739
  "hiddenAliases": [],
22740
- "id": "stripe_gateway",
22740
+ "id": "stock_transfer:upcoming",
22741
22741
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22742
22742
  "pluginName": "@commercelayer/cli-plugin-triggers",
22743
22743
  "pluginType": "core",
@@ -22747,8 +22747,8 @@
22747
22747
  "relativePath": [
22748
22748
  "lib",
22749
22749
  "commands",
22750
- "stripe_gateway",
22751
- "index.js"
22750
+ "stock_transfer",
22751
+ "upcoming.js"
22752
22752
  ]
22753
22753
  },
22754
22754
  "stripe_payment": {
@@ -23720,5 +23720,5 @@
23720
23720
  ]
23721
23721
  }
23722
23722
  },
23723
- "version": "4.16.0"
23723
+ "version": "4.16.1"
23724
23724
  }