@commercelayer/cli-plugin-triggers 4.16.1 → 4.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4860,7 +4860,7 @@
4860
4860
  "request_anonymization.js"
4861
4861
  ]
4862
4862
  },
4863
- "easypost_pickup": {
4863
+ "customer_password_reset": {
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 easypost_pickups",
4872
+ "description": "execute an action on a resource of type customer_password_resets",
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": "easypost_pickup",
4937
+ "id": "customer_password_reset",
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
- "easypost_pickup",
4947
+ "customer_password_reset",
4948
4948
  "index.js"
4949
4949
  ]
4950
4950
  },
4951
- "easypost_pickup:purchase": {
4951
+ "customer_password_reset:reset_password_token": {
4952
4952
  "aliases": [],
4953
4953
  "args": {
4954
4954
  "id": {
@@ -4957,7 +4957,7 @@
4957
4957
  "required": true
4958
4958
  }
4959
4959
  },
4960
- "description": "Send this attribute if you want to purchase this pick up with the selected rate.",
4960
+ "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
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": "easypost_pickup:purchase",
5025
+ "id": "customer_password_reset:reset_password_token",
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
- "easypost_pickup",
5036
- "purchase.js"
5035
+ "customer_password_reset",
5036
+ "reset_password_token.js"
5037
5037
  ]
5038
5038
  },
5039
- "event": {
5039
+ "easypost_pickup": {
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 events",
5048
+ "description": "execute an action on a resource of type easypost_pickups",
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": "event",
5113
+ "id": "easypost_pickup",
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
- "event",
5123
+ "easypost_pickup",
5124
5124
  "index.js"
5125
5125
  ]
5126
5126
  },
5127
- "event:trigger": {
5127
+ "easypost_pickup:purchase": {
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 force webhooks execution for this event. Cannot be passed by sales channels.",
5136
+ "description": "Send this attribute if you want to purchase this pick up with the selected rate.",
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": "event:trigger",
5201
+ "id": "easypost_pickup:purchase",
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
- "event",
5212
- "trigger.js"
5211
+ "easypost_pickup",
5212
+ "purchase.js"
5213
5213
  ]
5214
5214
  },
5215
- "export": {
5215
+ "event": {
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 exports",
5224
+ "description": "execute an action on a resource of type events",
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": "export",
5289
+ "id": "event",
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
- "export",
5299
+ "event",
5300
5300
  "index.js"
5301
5301
  ]
5302
5302
  },
5303
- "export:interrupt": {
5303
+ "event:trigger": {
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 mark status as 'interrupted'.",
5312
+ "description": "Send this attribute if you want to force webhooks execution for this event. Cannot be passed by sales channels.",
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": "export:interrupt",
5377
+ "id": "event:trigger",
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
- "export",
5388
- "interrupt.js"
5387
+ "event",
5388
+ "trigger.js"
5389
5389
  ]
5390
5390
  },
5391
- "customer_password_reset": {
5391
+ "export": {
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 customer_password_resets",
5400
+ "description": "execute an action on a resource of type exports",
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": "customer_password_reset",
5465
+ "id": "export",
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
- "customer_password_reset",
5475
+ "export",
5476
5476
  "index.js"
5477
5477
  ]
5478
5478
  },
5479
- "customer_password_reset:reset_password_token": {
5479
+ "export:interrupt": {
5480
5480
  "aliases": [],
5481
5481
  "args": {
5482
5482
  "id": {
@@ -5485,7 +5485,7 @@
5485
5485
  "required": true
5486
5486
  }
5487
5487
  },
5488
- "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
5488
+ "description": "Send this attribute if you want to mark status as 'interrupted'.",
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": "customer_password_reset:reset_password_token",
5553
+ "id": "export:interrupt",
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
- "customer_password_reset",
5564
- "reset_password_token.js"
5563
+ "export",
5564
+ "interrupt.js"
5565
5565
  ]
5566
5566
  },
5567
5567
  "external_gateway:disable": {
@@ -11988,7 +11988,7 @@
11988
11988
  "index.js"
11989
11989
  ]
11990
11990
  },
11991
- "order_subscription:activate": {
11991
+ "order:add_tags": {
11992
11992
  "aliases": [],
11993
11993
  "args": {
11994
11994
  "id": {
@@ -11997,7 +11997,7 @@
11997
11997
  "required": true
11998
11998
  }
11999
11999
  },
12000
- "description": "Send this attribute if you want to mark this subscription as active.",
12000
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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_subscription:activate",
12065
+ "id": "order:add_tags",
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_subscription",
12076
- "activate.js"
12075
+ "order",
12076
+ "add_tags.js"
12077
12077
  ]
12078
12078
  },
12079
- "order_subscription:add_tags": {
12079
+ "order:approve": {
12080
12080
  "aliases": [],
12081
12081
  "args": {
12082
12082
  "id": {
@@ -12085,7 +12085,7 @@
12085
12085
  "required": true
12086
12086
  }
12087
12087
  },
12088
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12088
+ "description": "Send this attribute if you want to approve a placed order. 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_subscription:add_tags",
12153
+ "id": "order:approve",
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_subscription",
12164
- "add_tags.js"
12163
+ "order",
12164
+ "approve.js"
12165
12165
  ]
12166
12166
  },
12167
- "order_subscription:cancel": {
12167
+ "order:approve_and_capture": {
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 mark this subscription as cancelled.",
12176
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
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_subscription:cancel",
12241
+ "id": "order:approve_and_capture",
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_subscription",
12252
- "cancel.js"
12251
+ "order",
12252
+ "approve_and_capture.js"
12253
12253
  ]
12254
12254
  },
12255
- "order_subscription:convert": {
12255
+ "order:archive": {
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 convert a manual subscription to an automatic one. A subscription model is required before conversion.",
12264
+ "description": "Send this attribute if you want to archive the order.",
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_subscription:convert",
12329
+ "id": "order:archive",
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_subscription",
12340
- "convert.js"
12339
+ "order",
12340
+ "archive.js"
12341
12341
  ]
12342
12342
  },
12343
- "order_subscription:deactivate": {
12343
+ "order:authorization_amount_cents": {
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 if you want to mark this subscription as inactive.",
12352
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
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_subscription:deactivate",
12417
+ "id": "order:authorization_amount_cents",
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_subscription",
12428
- "deactivate.js"
12427
+ "order",
12428
+ "authorization_amount_cents.js"
12429
12429
  ]
12430
12430
  },
12431
- "order_subscription": {
12431
+ "order:authorize": {
12432
12432
  "aliases": [],
12433
12433
  "args": {
12434
12434
  "id": {
@@ -12437,7 +12437,7 @@
12437
12437
  "required": true
12438
12438
  }
12439
12439
  },
12440
- "description": "execute an action on a resource of type order_subscriptions",
12440
+ "description": "Send this attribute if you want to authorize the order's payment source.",
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_subscription",
12505
+ "id": "order:authorize",
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_subscription",
12516
- "index.js"
12515
+ "order",
12516
+ "authorize.js"
12517
12517
  ]
12518
12518
  },
12519
- "order_subscription:remove_tags": {
12519
+ "order:billing_address_clone_id": {
12520
12520
  "aliases": [],
12521
12521
  "args": {
12522
12522
  "id": {
@@ -12525,7 +12525,7 @@
12525
12525
  "required": true
12526
12526
  }
12527
12527
  },
12528
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12528
+ "description": "The id of the address that you want to clone to create the order's billing address.",
12529
12529
  "flags": {
12530
12530
  "organization": {
12531
12531
  "char": "o",
@@ -12586,11 +12586,20 @@
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"
12589
12598
  }
12590
12599
  },
12591
12600
  "hasDynamicHelp": false,
12592
12601
  "hiddenAliases": [],
12593
- "id": "order_subscription:remove_tags",
12602
+ "id": "order:billing_address_clone_id",
12594
12603
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12595
12604
  "pluginName": "@commercelayer/cli-plugin-triggers",
12596
12605
  "pluginType": "core",
@@ -12600,11 +12609,11 @@
12600
12609
  "relativePath": [
12601
12610
  "lib",
12602
12611
  "commands",
12603
- "order_subscription",
12604
- "remove_tags.js"
12612
+ "order",
12613
+ "billing_address_clone_id.js"
12605
12614
  ]
12606
12615
  },
12607
- "order:add_tags": {
12616
+ "order:billing_address_same_as_shipping": {
12608
12617
  "aliases": [],
12609
12618
  "args": {
12610
12619
  "id": {
@@ -12613,7 +12622,7 @@
12613
12622
  "required": true
12614
12623
  }
12615
12624
  },
12616
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12625
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
12617
12626
  "flags": {
12618
12627
  "organization": {
12619
12628
  "char": "o",
@@ -12678,7 +12687,7 @@
12678
12687
  },
12679
12688
  "hasDynamicHelp": false,
12680
12689
  "hiddenAliases": [],
12681
- "id": "order:add_tags",
12690
+ "id": "order:billing_address_same_as_shipping",
12682
12691
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12683
12692
  "pluginName": "@commercelayer/cli-plugin-triggers",
12684
12693
  "pluginType": "core",
@@ -12689,10 +12698,10 @@
12689
12698
  "lib",
12690
12699
  "commands",
12691
12700
  "order",
12692
- "add_tags.js"
12701
+ "billing_address_same_as_shipping.js"
12693
12702
  ]
12694
12703
  },
12695
- "order:approve": {
12704
+ "order:cancel": {
12696
12705
  "aliases": [],
12697
12706
  "args": {
12698
12707
  "id": {
@@ -12701,7 +12710,7 @@
12701
12710
  "required": true
12702
12711
  }
12703
12712
  },
12704
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
12713
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
12705
12714
  "flags": {
12706
12715
  "organization": {
12707
12716
  "char": "o",
@@ -12766,7 +12775,7 @@
12766
12775
  },
12767
12776
  "hasDynamicHelp": false,
12768
12777
  "hiddenAliases": [],
12769
- "id": "order:approve",
12778
+ "id": "order:cancel",
12770
12779
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12771
12780
  "pluginName": "@commercelayer/cli-plugin-triggers",
12772
12781
  "pluginType": "core",
@@ -12777,10 +12786,10 @@
12777
12786
  "lib",
12778
12787
  "commands",
12779
12788
  "order",
12780
- "approve.js"
12789
+ "cancel.js"
12781
12790
  ]
12782
12791
  },
12783
- "order:approve_and_capture": {
12792
+ "order:capture": {
12784
12793
  "aliases": [],
12785
12794
  "args": {
12786
12795
  "id": {
@@ -12789,7 +12798,7 @@
12789
12798
  "required": true
12790
12799
  }
12791
12800
  },
12792
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
12801
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
12793
12802
  "flags": {
12794
12803
  "organization": {
12795
12804
  "char": "o",
@@ -12854,7 +12863,7 @@
12854
12863
  },
12855
12864
  "hasDynamicHelp": false,
12856
12865
  "hiddenAliases": [],
12857
- "id": "order:approve_and_capture",
12866
+ "id": "order:capture",
12858
12867
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12859
12868
  "pluginName": "@commercelayer/cli-plugin-triggers",
12860
12869
  "pluginType": "core",
@@ -12865,10 +12874,10 @@
12865
12874
  "lib",
12866
12875
  "commands",
12867
12876
  "order",
12868
- "approve_and_capture.js"
12877
+ "capture.js"
12869
12878
  ]
12870
12879
  },
12871
- "order:archive": {
12880
+ "order:commit_invoice": {
12872
12881
  "aliases": [],
12873
12882
  "args": {
12874
12883
  "id": {
@@ -12877,7 +12886,7 @@
12877
12886
  "required": true
12878
12887
  }
12879
12888
  },
12880
- "description": "Send this attribute if you want to archive the order.",
12889
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12881
12890
  "flags": {
12882
12891
  "organization": {
12883
12892
  "char": "o",
@@ -12942,7 +12951,7 @@
12942
12951
  },
12943
12952
  "hasDynamicHelp": false,
12944
12953
  "hiddenAliases": [],
12945
- "id": "order:archive",
12954
+ "id": "order:commit_invoice",
12946
12955
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12947
12956
  "pluginName": "@commercelayer/cli-plugin-triggers",
12948
12957
  "pluginType": "core",
@@ -12953,10 +12962,10 @@
12953
12962
  "lib",
12954
12963
  "commands",
12955
12964
  "order",
12956
- "archive.js"
12965
+ "commit_invoice.js"
12957
12966
  ]
12958
12967
  },
12959
- "order:authorization_amount_cents": {
12968
+ "order:create_subscriptions": {
12960
12969
  "aliases": [],
12961
12970
  "args": {
12962
12971
  "id": {
@@ -12965,7 +12974,7 @@
12965
12974
  "required": true
12966
12975
  }
12967
12976
  },
12968
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
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.",
12969
12978
  "flags": {
12970
12979
  "organization": {
12971
12980
  "char": "o",
@@ -13030,7 +13039,7 @@
13030
13039
  },
13031
13040
  "hasDynamicHelp": false,
13032
13041
  "hiddenAliases": [],
13033
- "id": "order:authorization_amount_cents",
13042
+ "id": "order:create_subscriptions",
13034
13043
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13035
13044
  "pluginName": "@commercelayer/cli-plugin-triggers",
13036
13045
  "pluginType": "core",
@@ -13041,10 +13050,10 @@
13041
13050
  "lib",
13042
13051
  "commands",
13043
13052
  "order",
13044
- "authorization_amount_cents.js"
13053
+ "create_subscriptions.js"
13045
13054
  ]
13046
13055
  },
13047
- "order:authorize": {
13056
+ "order:customer_payment_source_id": {
13048
13057
  "aliases": [],
13049
13058
  "args": {
13050
13059
  "id": {
@@ -13053,7 +13062,7 @@
13053
13062
  "required": true
13054
13063
  }
13055
13064
  },
13056
- "description": "Send this attribute if you want to authorize the order's payment source.",
13065
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
13057
13066
  "flags": {
13058
13067
  "organization": {
13059
13068
  "char": "o",
@@ -13114,11 +13123,20 @@
13114
13123
  "name": "unformatted",
13115
13124
  "allowNo": false,
13116
13125
  "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"
13117
13135
  }
13118
13136
  },
13119
13137
  "hasDynamicHelp": false,
13120
13138
  "hiddenAliases": [],
13121
- "id": "order:authorize",
13139
+ "id": "order:customer_payment_source_id",
13122
13140
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13123
13141
  "pluginName": "@commercelayer/cli-plugin-triggers",
13124
13142
  "pluginType": "core",
@@ -13129,10 +13147,10 @@
13129
13147
  "lib",
13130
13148
  "commands",
13131
13149
  "order",
13132
- "authorize.js"
13150
+ "customer_payment_source_id.js"
13133
13151
  ]
13134
13152
  },
13135
- "order:billing_address_clone_id": {
13153
+ "order:fix_payment_source": {
13136
13154
  "aliases": [],
13137
13155
  "args": {
13138
13156
  "id": {
@@ -13141,7 +13159,7 @@
13141
13159
  "required": true
13142
13160
  }
13143
13161
  },
13144
- "description": "The id of the address that you want to clone to create the order's billing address.",
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.",
13145
13163
  "flags": {
13146
13164
  "organization": {
13147
13165
  "char": "o",
@@ -13202,20 +13220,11 @@
13202
13220
  "name": "unformatted",
13203
13221
  "allowNo": false,
13204
13222
  "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"
13214
13223
  }
13215
13224
  },
13216
13225
  "hasDynamicHelp": false,
13217
13226
  "hiddenAliases": [],
13218
- "id": "order:billing_address_clone_id",
13227
+ "id": "order:fix_payment_source",
13219
13228
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13220
13229
  "pluginName": "@commercelayer/cli-plugin-triggers",
13221
13230
  "pluginType": "core",
@@ -13226,10 +13235,10 @@
13226
13235
  "lib",
13227
13236
  "commands",
13228
13237
  "order",
13229
- "billing_address_clone_id.js"
13238
+ "fix_payment_source.js"
13230
13239
  ]
13231
13240
  },
13232
- "order:billing_address_same_as_shipping": {
13241
+ "order:fulfill": {
13233
13242
  "aliases": [],
13234
13243
  "args": {
13235
13244
  "id": {
@@ -13238,7 +13247,7 @@
13238
13247
  "required": true
13239
13248
  }
13240
13249
  },
13241
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
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.",
13242
13251
  "flags": {
13243
13252
  "organization": {
13244
13253
  "char": "o",
@@ -13303,7 +13312,7 @@
13303
13312
  },
13304
13313
  "hasDynamicHelp": false,
13305
13314
  "hiddenAliases": [],
13306
- "id": "order:billing_address_same_as_shipping",
13315
+ "id": "order:fulfill",
13307
13316
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13308
13317
  "pluginName": "@commercelayer/cli-plugin-triggers",
13309
13318
  "pluginType": "core",
@@ -13314,10 +13323,10 @@
13314
13323
  "lib",
13315
13324
  "commands",
13316
13325
  "order",
13317
- "billing_address_same_as_shipping.js"
13326
+ "fulfill.js"
13318
13327
  ]
13319
13328
  },
13320
- "order:cancel": {
13329
+ "order": {
13321
13330
  "aliases": [],
13322
13331
  "args": {
13323
13332
  "id": {
@@ -13326,7 +13335,7 @@
13326
13335
  "required": true
13327
13336
  }
13328
13337
  },
13329
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
13338
+ "description": "execute an action on a resource of type orders",
13330
13339
  "flags": {
13331
13340
  "organization": {
13332
13341
  "char": "o",
@@ -13391,7 +13400,7 @@
13391
13400
  },
13392
13401
  "hasDynamicHelp": false,
13393
13402
  "hiddenAliases": [],
13394
- "id": "order:cancel",
13403
+ "id": "order",
13395
13404
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13396
13405
  "pluginName": "@commercelayer/cli-plugin-triggers",
13397
13406
  "pluginType": "core",
@@ -13402,10 +13411,10 @@
13402
13411
  "lib",
13403
13412
  "commands",
13404
13413
  "order",
13405
- "cancel.js"
13414
+ "index.js"
13406
13415
  ]
13407
13416
  },
13408
- "order:capture": {
13417
+ "order:nullify_payment_source": {
13409
13418
  "aliases": [],
13410
13419
  "args": {
13411
13420
  "id": {
@@ -13414,7 +13423,7 @@
13414
13423
  "required": true
13415
13424
  }
13416
13425
  },
13417
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
13426
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
13418
13427
  "flags": {
13419
13428
  "organization": {
13420
13429
  "char": "o",
@@ -13479,7 +13488,7 @@
13479
13488
  },
13480
13489
  "hasDynamicHelp": false,
13481
13490
  "hiddenAliases": [],
13482
- "id": "order:capture",
13491
+ "id": "order:nullify_payment_source",
13483
13492
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13484
13493
  "pluginName": "@commercelayer/cli-plugin-triggers",
13485
13494
  "pluginType": "core",
@@ -13490,10 +13499,10 @@
13490
13499
  "lib",
13491
13500
  "commands",
13492
13501
  "order",
13493
- "capture.js"
13502
+ "nullify_payment_source.js"
13494
13503
  ]
13495
13504
  },
13496
- "order:commit_invoice": {
13505
+ "order:pending": {
13497
13506
  "aliases": [],
13498
13507
  "args": {
13499
13508
  "id": {
@@ -13502,7 +13511,7 @@
13502
13511
  "required": true
13503
13512
  }
13504
13513
  },
13505
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
13514
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
13506
13515
  "flags": {
13507
13516
  "organization": {
13508
13517
  "char": "o",
@@ -13567,7 +13576,7 @@
13567
13576
  },
13568
13577
  "hasDynamicHelp": false,
13569
13578
  "hiddenAliases": [],
13570
- "id": "order:commit_invoice",
13579
+ "id": "order:pending",
13571
13580
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13572
13581
  "pluginName": "@commercelayer/cli-plugin-triggers",
13573
13582
  "pluginType": "core",
@@ -13578,10 +13587,10 @@
13578
13587
  "lib",
13579
13588
  "commands",
13580
13589
  "order",
13581
- "commit_invoice.js"
13590
+ "pending.js"
13582
13591
  ]
13583
13592
  },
13584
- "order:create_subscriptions": {
13593
+ "order:place": {
13585
13594
  "aliases": [],
13586
13595
  "args": {
13587
13596
  "id": {
@@ -13590,7 +13599,7 @@
13590
13599
  "required": true
13591
13600
  }
13592
13601
  },
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.",
13602
+ "description": "Send this attribute if you want to place the order.",
13594
13603
  "flags": {
13595
13604
  "organization": {
13596
13605
  "char": "o",
@@ -13655,7 +13664,7 @@
13655
13664
  },
13656
13665
  "hasDynamicHelp": false,
13657
13666
  "hiddenAliases": [],
13658
- "id": "order:create_subscriptions",
13667
+ "id": "order:place",
13659
13668
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13660
13669
  "pluginName": "@commercelayer/cli-plugin-triggers",
13661
13670
  "pluginType": "core",
@@ -13666,10 +13675,10 @@
13666
13675
  "lib",
13667
13676
  "commands",
13668
13677
  "order",
13669
- "create_subscriptions.js"
13678
+ "place.js"
13670
13679
  ]
13671
13680
  },
13672
- "order:customer_payment_source_id": {
13681
+ "order:refresh": {
13673
13682
  "aliases": [],
13674
13683
  "args": {
13675
13684
  "id": {
@@ -13678,7 +13687,7 @@
13678
13687
  "required": true
13679
13688
  }
13680
13689
  },
13681
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
13690
+ "description": "Send this attribute if you want to manually refresh the order.",
13682
13691
  "flags": {
13683
13692
  "organization": {
13684
13693
  "char": "o",
@@ -13739,20 +13748,11 @@
13739
13748
  "name": "unformatted",
13740
13749
  "allowNo": false,
13741
13750
  "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:customer_payment_source_id",
13755
+ "id": "order:refresh",
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
- "customer_payment_source_id.js"
13766
+ "refresh.js"
13767
13767
  ]
13768
13768
  },
13769
- "order:fix_payment_source": {
13769
+ "order:refund": {
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 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.",
13778
+ "description": "Send this attribute if you want to refund a captured order. 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:fix_payment_source",
13843
+ "id": "order:refund",
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
- "fix_payment_source.js"
13854
+ "refund.js"
13855
13855
  ]
13856
13856
  },
13857
- "order:fulfill": {
13857
+ "order:refund_invoice": {
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 to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.",
13866
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
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:fulfill",
13931
+ "id": "order:refund_invoice",
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
- "fulfill.js"
13942
+ "refund_invoice.js"
13943
13943
  ]
13944
13944
  },
13945
- "order": {
13945
+ "order:remove_tags": {
13946
13946
  "aliases": [],
13947
13947
  "args": {
13948
13948
  "id": {
@@ -13951,7 +13951,7 @@
13951
13951
  "required": true
13952
13952
  }
13953
13953
  },
13954
- "description": "execute an action on a resource of type orders",
13954
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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",
14019
+ "id": "order:remove_tags",
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
- "index.js"
14030
+ "remove_tags.js"
14031
14031
  ]
14032
14032
  },
14033
- "order:nullify_payment_source": {
14033
+ "order:reset_circuit": {
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 nullify the payment source for this order.",
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.",
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:nullify_payment_source",
14107
+ "id": "order:reset_circuit",
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
- "nullify_payment_source.js"
14118
+ "reset_circuit.js"
14119
14119
  ]
14120
14120
  },
14121
- "order:pending": {
14121
+ "order:save_billing_address_to_customer_address_book": {
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 to move a draft or placing order to pending. Cannot be passed by sales channels.",
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.",
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:pending",
14195
+ "id": "order:save_billing_address_to_customer_address_book",
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
- "pending.js"
14206
+ "save_billing_address_to_customer_address_book.js"
14207
14207
  ]
14208
14208
  },
14209
- "order:place": {
14209
+ "order:save_payment_source_to_customer_wallet": {
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 to place the order.",
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.",
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:place",
14283
+ "id": "order:save_payment_source_to_customer_wallet",
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
- "place.js"
14294
+ "save_payment_source_to_customer_wallet.js"
14295
14295
  ]
14296
14296
  },
14297
- "order:refresh": {
14297
+ "order:save_shipping_address_to_customer_address_book": {
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 to manually refresh the order.",
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.",
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:refresh",
14371
+ "id": "order:save_shipping_address_to_customer_address_book",
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
- "refresh.js"
14382
+ "save_shipping_address_to_customer_address_book.js"
14383
14383
  ]
14384
14384
  },
14385
- "order:refund": {
14385
+ "order:shipping_address_clone_id": {
14386
14386
  "aliases": [],
14387
14387
  "args": {
14388
14388
  "id": {
@@ -14391,7 +14391,7 @@
14391
14391
  "required": true
14392
14392
  }
14393
14393
  },
14394
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
14394
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
14395
14395
  "flags": {
14396
14396
  "organization": {
14397
14397
  "char": "o",
@@ -14452,11 +14452,20 @@
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"
14455
14464
  }
14456
14465
  },
14457
14466
  "hasDynamicHelp": false,
14458
14467
  "hiddenAliases": [],
14459
- "id": "order:refund",
14468
+ "id": "order:shipping_address_clone_id",
14460
14469
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14461
14470
  "pluginName": "@commercelayer/cli-plugin-triggers",
14462
14471
  "pluginType": "core",
@@ -14467,10 +14476,10 @@
14467
14476
  "lib",
14468
14477
  "commands",
14469
14478
  "order",
14470
- "refund.js"
14479
+ "shipping_address_clone_id.js"
14471
14480
  ]
14472
14481
  },
14473
- "order:refund_invoice": {
14482
+ "order:shipping_address_same_as_billing": {
14474
14483
  "aliases": [],
14475
14484
  "args": {
14476
14485
  "id": {
@@ -14479,7 +14488,7 @@
14479
14488
  "required": true
14480
14489
  }
14481
14490
  },
14482
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
14491
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
14483
14492
  "flags": {
14484
14493
  "organization": {
14485
14494
  "char": "o",
@@ -14544,7 +14553,7 @@
14544
14553
  },
14545
14554
  "hasDynamicHelp": false,
14546
14555
  "hiddenAliases": [],
14547
- "id": "order:refund_invoice",
14556
+ "id": "order:shipping_address_same_as_billing",
14548
14557
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14549
14558
  "pluginName": "@commercelayer/cli-plugin-triggers",
14550
14559
  "pluginType": "core",
@@ -14555,10 +14564,10 @@
14555
14564
  "lib",
14556
14565
  "commands",
14557
14566
  "order",
14558
- "refund_invoice.js"
14567
+ "shipping_address_same_as_billing.js"
14559
14568
  ]
14560
14569
  },
14561
- "order:remove_tags": {
14570
+ "order:start_editing": {
14562
14571
  "aliases": [],
14563
14572
  "args": {
14564
14573
  "id": {
@@ -14567,7 +14576,7 @@
14567
14576
  "required": true
14568
14577
  }
14569
14578
  },
14570
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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.",
14571
14580
  "flags": {
14572
14581
  "organization": {
14573
14582
  "char": "o",
@@ -14632,7 +14641,7 @@
14632
14641
  },
14633
14642
  "hasDynamicHelp": false,
14634
14643
  "hiddenAliases": [],
14635
- "id": "order:remove_tags",
14644
+ "id": "order:start_editing",
14636
14645
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14637
14646
  "pluginName": "@commercelayer/cli-plugin-triggers",
14638
14647
  "pluginType": "core",
@@ -14643,10 +14652,10 @@
14643
14652
  "lib",
14644
14653
  "commands",
14645
14654
  "order",
14646
- "remove_tags.js"
14655
+ "start_editing.js"
14647
14656
  ]
14648
14657
  },
14649
- "order:reset_circuit": {
14658
+ "order:stop_editing": {
14650
14659
  "aliases": [],
14651
14660
  "args": {
14652
14661
  "id": {
@@ -14655,7 +14664,7 @@
14655
14664
  "required": true
14656
14665
  }
14657
14666
  },
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.",
14667
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
14659
14668
  "flags": {
14660
14669
  "organization": {
14661
14670
  "char": "o",
@@ -14720,7 +14729,7 @@
14720
14729
  },
14721
14730
  "hasDynamicHelp": false,
14722
14731
  "hiddenAliases": [],
14723
- "id": "order:reset_circuit",
14732
+ "id": "order:stop_editing",
14724
14733
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14725
14734
  "pluginName": "@commercelayer/cli-plugin-triggers",
14726
14735
  "pluginType": "core",
@@ -14731,10 +14740,10 @@
14731
14740
  "lib",
14732
14741
  "commands",
14733
14742
  "order",
14734
- "reset_circuit.js"
14743
+ "stop_editing.js"
14735
14744
  ]
14736
14745
  },
14737
- "order:save_billing_address_to_customer_address_book": {
14746
+ "order:unarchive": {
14738
14747
  "aliases": [],
14739
14748
  "args": {
14740
14749
  "id": {
@@ -14743,7 +14752,7 @@
14743
14752
  "required": true
14744
14753
  }
14745
14754
  },
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.",
14755
+ "description": "Send this attribute if you want to unarchive the order.",
14747
14756
  "flags": {
14748
14757
  "organization": {
14749
14758
  "char": "o",
@@ -14808,7 +14817,7 @@
14808
14817
  },
14809
14818
  "hasDynamicHelp": false,
14810
14819
  "hiddenAliases": [],
14811
- "id": "order:save_billing_address_to_customer_address_book",
14820
+ "id": "order:unarchive",
14812
14821
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14813
14822
  "pluginName": "@commercelayer/cli-plugin-triggers",
14814
14823
  "pluginType": "core",
@@ -14819,10 +14828,10 @@
14819
14828
  "lib",
14820
14829
  "commands",
14821
14830
  "order",
14822
- "save_billing_address_to_customer_address_book.js"
14831
+ "unarchive.js"
14823
14832
  ]
14824
14833
  },
14825
- "order:save_payment_source_to_customer_wallet": {
14834
+ "order:update_taxes": {
14826
14835
  "aliases": [],
14827
14836
  "args": {
14828
14837
  "id": {
@@ -14831,7 +14840,7 @@
14831
14840
  "required": true
14832
14841
  }
14833
14842
  },
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.",
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).",
14835
14844
  "flags": {
14836
14845
  "organization": {
14837
14846
  "char": "o",
@@ -14896,7 +14905,7 @@
14896
14905
  },
14897
14906
  "hasDynamicHelp": false,
14898
14907
  "hiddenAliases": [],
14899
- "id": "order:save_payment_source_to_customer_wallet",
14908
+ "id": "order:update_taxes",
14900
14909
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14901
14910
  "pluginName": "@commercelayer/cli-plugin-triggers",
14902
14911
  "pluginType": "core",
@@ -14907,10 +14916,10 @@
14907
14916
  "lib",
14908
14917
  "commands",
14909
14918
  "order",
14910
- "save_payment_source_to_customer_wallet.js"
14919
+ "update_taxes.js"
14911
14920
  ]
14912
14921
  },
14913
- "order:save_shipping_address_to_customer_address_book": {
14922
+ "order:validate": {
14914
14923
  "aliases": [],
14915
14924
  "args": {
14916
14925
  "id": {
@@ -14919,7 +14928,7 @@
14919
14928
  "required": true
14920
14929
  }
14921
14930
  },
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.",
14931
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
14923
14932
  "flags": {
14924
14933
  "organization": {
14925
14934
  "char": "o",
@@ -14984,7 +14993,7 @@
14984
14993
  },
14985
14994
  "hasDynamicHelp": false,
14986
14995
  "hiddenAliases": [],
14987
- "id": "order:save_shipping_address_to_customer_address_book",
14996
+ "id": "order:validate",
14988
14997
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14989
14998
  "pluginName": "@commercelayer/cli-plugin-triggers",
14990
14999
  "pluginType": "core",
@@ -14995,10 +15004,10 @@
14995
15004
  "lib",
14996
15005
  "commands",
14997
15006
  "order",
14998
- "save_shipping_address_to_customer_address_book.js"
15007
+ "validate.js"
14999
15008
  ]
15000
15009
  },
15001
- "order:shipping_address_clone_id": {
15010
+ "order_subscription:activate": {
15002
15011
  "aliases": [],
15003
15012
  "args": {
15004
15013
  "id": {
@@ -15007,7 +15016,7 @@
15007
15016
  "required": true
15008
15017
  }
15009
15018
  },
15010
- "description": "The id of the address that you want to clone to create the order's shipping address.",
15019
+ "description": "Send this attribute if you want to mark this subscription as active.",
15011
15020
  "flags": {
15012
15021
  "organization": {
15013
15022
  "char": "o",
@@ -15068,20 +15077,11 @@
15068
15077
  "name": "unformatted",
15069
15078
  "allowNo": false,
15070
15079
  "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:shipping_address_clone_id",
15084
+ "id": "order_subscription:activate",
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",
15095
- "shipping_address_clone_id.js"
15094
+ "order_subscription",
15095
+ "activate.js"
15096
15096
  ]
15097
15097
  },
15098
- "order:shipping_address_same_as_billing": {
15098
+ "order_subscription:add_tags": {
15099
15099
  "aliases": [],
15100
15100
  "args": {
15101
15101
  "id": {
@@ -15104,7 +15104,7 @@
15104
15104
  "required": true
15105
15105
  }
15106
15106
  },
15107
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
15107
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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:shipping_address_same_as_billing",
15172
+ "id": "order_subscription:add_tags",
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",
15183
- "shipping_address_same_as_billing.js"
15182
+ "order_subscription",
15183
+ "add_tags.js"
15184
15184
  ]
15185
15185
  },
15186
- "order:start_editing": {
15186
+ "order_subscription:cancel": {
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 edit the order after it is placed. Remember you cannot exceed the original total amount. Cannot be passed by sales channels.",
15195
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
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:start_editing",
15260
+ "id": "order_subscription:cancel",
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",
15271
- "start_editing.js"
15270
+ "order_subscription",
15271
+ "cancel.js"
15272
15272
  ]
15273
15273
  },
15274
- "order:stop_editing": {
15274
+ "order_subscription:convert": {
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 to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
15283
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
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:stop_editing",
15348
+ "id": "order_subscription:convert",
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",
15359
- "stop_editing.js"
15358
+ "order_subscription",
15359
+ "convert.js"
15360
15360
  ]
15361
15361
  },
15362
- "order:unarchive": {
15362
+ "order_subscription:deactivate": {
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 unarchive the order.",
15371
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
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:unarchive",
15436
+ "id": "order_subscription:deactivate",
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",
15447
- "unarchive.js"
15446
+ "order_subscription",
15447
+ "deactivate.js"
15448
15448
  ]
15449
15449
  },
15450
- "order:update_taxes": {
15450
+ "order_subscription": {
15451
15451
  "aliases": [],
15452
15452
  "args": {
15453
15453
  "id": {
@@ -15456,7 +15456,7 @@
15456
15456
  "required": true
15457
15457
  }
15458
15458
  },
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).",
15459
+ "description": "execute an action on a resource of type order_subscriptions",
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:update_taxes",
15524
+ "id": "order_subscription",
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",
15535
- "update_taxes.js"
15534
+ "order_subscription",
15535
+ "index.js"
15536
15536
  ]
15537
15537
  },
15538
- "order:validate": {
15538
+ "order_subscription:remove_tags": {
15539
15539
  "aliases": [],
15540
15540
  "args": {
15541
15541
  "id": {
@@ -15544,7 +15544,7 @@
15544
15544
  "required": true
15545
15545
  }
15546
15546
  },
15547
- "description": "Send this attribute if you want to trigger the external validation for the order.",
15547
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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:validate",
15612
+ "id": "order_subscription:remove_tags",
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",
15623
- "validate.js"
15622
+ "order_subscription",
15623
+ "remove_tags.js"
15624
15624
  ]
15625
15625
  },
15626
15626
  "payment_method:disable": {
@@ -17031,7 +17031,7 @@
17031
17031
  "index.js"
17032
17032
  ]
17033
17033
  },
17034
- "return_line_item": {
17034
+ "return:add_tags": {
17035
17035
  "aliases": [],
17036
17036
  "args": {
17037
17037
  "id": {
@@ -17040,7 +17040,7 @@
17040
17040
  "required": true
17041
17041
  }
17042
17042
  },
17043
- "description": "execute an action on a resource of type return_line_items",
17043
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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_line_item",
17108
+ "id": "return:add_tags",
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_line_item",
17119
- "index.js"
17118
+ "return",
17119
+ "add_tags.js"
17120
17120
  ]
17121
17121
  },
17122
- "return_line_item:restock": {
17122
+ "return:approve": {
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 restock the line item.",
17131
+ "description": "Send this attribute if you want to mark this return as approved.",
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_line_item:restock",
17196
+ "id": "return:approve",
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_line_item",
17207
- "restock.js"
17206
+ "return",
17207
+ "approve.js"
17208
17208
  ]
17209
17209
  },
17210
- "return:add_tags": {
17210
+ "return:archive": {
17211
17211
  "aliases": [],
17212
17212
  "args": {
17213
17213
  "id": {
@@ -17216,7 +17216,7 @@
17216
17216
  "required": true
17217
17217
  }
17218
17218
  },
17219
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17219
+ "description": "Send this attribute if you want to archive the return.",
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:add_tags",
17284
+ "id": "return:archive",
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
- "add_tags.js"
17295
+ "archive.js"
17296
17296
  ]
17297
17297
  },
17298
- "return:approve": {
17298
+ "return:cancel": {
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 approved.",
17307
+ "description": "Send this attribute if you want to mark this return as cancelled.",
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:approve",
17372
+ "id": "return:cancel",
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
- "approve.js"
17383
+ "cancel.js"
17384
17384
  ]
17385
17385
  },
17386
- "return:archive": {
17386
+ "return": {
17387
17387
  "aliases": [],
17388
17388
  "args": {
17389
17389
  "id": {
@@ -17392,7 +17392,7 @@
17392
17392
  "required": true
17393
17393
  }
17394
17394
  },
17395
- "description": "Send this attribute if you want to archive the return.",
17395
+ "description": "execute an action on a resource of type returns",
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:archive",
17460
+ "id": "return",
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
- "archive.js"
17471
+ "index.js"
17472
17472
  ]
17473
17473
  },
17474
- "return:cancel": {
17474
+ "return:receive": {
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 cancelled.",
17483
+ "description": "Send this attribute if you want to mark this return as received.",
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:cancel",
17548
+ "id": "return:receive",
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
- "cancel.js"
17559
+ "receive.js"
17560
17560
  ]
17561
17561
  },
17562
- "return": {
17562
+ "return:refund": {
17563
17563
  "aliases": [],
17564
17564
  "args": {
17565
17565
  "id": {
@@ -17568,7 +17568,7 @@
17568
17568
  "required": true
17569
17569
  }
17570
17570
  },
17571
- "description": "execute an action on a resource of type returns",
17571
+ "description": "Send this attribute if you want to create a refund for this return.",
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",
17636
+ "id": "return:refund",
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
- "index.js"
17647
+ "refund.js"
17648
17648
  ]
17649
17649
  },
17650
- "return:receive": {
17650
+ "return:refund_amount_cents": {
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 if you want to mark this return as received.",
17659
+ "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
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:receive",
17724
+ "id": "return:refund_amount_cents",
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
- "receive.js"
17735
+ "refund_amount_cents.js"
17736
17736
  ]
17737
17737
  },
17738
- "return:refund": {
17738
+ "return:reject": {
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 create a refund for this return.",
17747
+ "description": "Send this attribute if you want to mark this return as rejected.",
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:refund",
17812
+ "id": "return:reject",
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
- "refund.js"
17823
+ "reject.js"
17824
17824
  ]
17825
17825
  },
17826
- "return:refund_amount_cents": {
17826
+ "return:remove_tags": {
17827
17827
  "aliases": [],
17828
17828
  "args": {
17829
17829
  "id": {
@@ -17832,7 +17832,7 @@
17832
17832
  "required": true
17833
17833
  }
17834
17834
  },
17835
- "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
17835
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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:refund_amount_cents",
17900
+ "id": "return:remove_tags",
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
- "refund_amount_cents.js"
17911
+ "remove_tags.js"
17912
17912
  ]
17913
17913
  },
17914
- "return:reject": {
17914
+ "return:request": {
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 mark this return as rejected.",
17923
+ "description": "Send this attribute if you want to activate this return.",
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:reject",
17988
+ "id": "return:request",
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
- "reject.js"
17999
+ "request.js"
18000
18000
  ]
18001
18001
  },
18002
- "return:remove_tags": {
18002
+ "return:restock": {
18003
18003
  "aliases": [],
18004
18004
  "args": {
18005
18005
  "id": {
@@ -18008,7 +18008,7 @@
18008
18008
  "required": true
18009
18009
  }
18010
18010
  },
18011
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18011
+ "description": "Send this attribute if you want to restock all of the return line items.",
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:remove_tags",
18076
+ "id": "return:restock",
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
- "remove_tags.js"
18087
+ "restock.js"
18088
18088
  ]
18089
18089
  },
18090
- "return:request": {
18090
+ "return:ship": {
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 activate this return.",
18099
+ "description": "Send this attribute if you want to mark this return as shipped.",
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:request",
18164
+ "id": "return:ship",
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
- "request.js"
18175
+ "ship.js"
18176
18176
  ]
18177
18177
  },
18178
- "return:restock": {
18178
+ "return:unarchive": {
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 restock all of the return line items.",
18187
+ "description": "Send this attribute if you want to unarchive the return.",
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:restock",
18252
+ "id": "return:unarchive",
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
- "restock.js"
18263
+ "unarchive.js"
18264
18264
  ]
18265
18265
  },
18266
- "return:ship": {
18266
+ "return_line_item": {
18267
18267
  "aliases": [],
18268
18268
  "args": {
18269
18269
  "id": {
@@ -18272,7 +18272,7 @@
18272
18272
  "required": true
18273
18273
  }
18274
18274
  },
18275
- "description": "Send this attribute if you want to mark this return as shipped.",
18275
+ "description": "execute an action on a resource of type return_line_items",
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:ship",
18340
+ "id": "return_line_item",
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",
18351
- "ship.js"
18350
+ "return_line_item",
18351
+ "index.js"
18352
18352
  ]
18353
18353
  },
18354
- "return:unarchive": {
18354
+ "return_line_item:restock": {
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 unarchive the return.",
18363
+ "description": "Send this attribute if you want to restock the line item.",
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:unarchive",
18428
+ "id": "return_line_item:restock",
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",
18439
- "unarchive.js"
18438
+ "return_line_item",
18439
+ "restock.js"
18440
18440
  ]
18441
18441
  },
18442
18442
  "satispay_gateway:disable": {
@@ -18879,7 +18879,7 @@
18879
18879
  "refresh.js"
18880
18880
  ]
18881
18881
  },
18882
- "shipping_method:disable": {
18882
+ "shipment:add_tags": {
18883
18883
  "aliases": [],
18884
18884
  "args": {
18885
18885
  "id": {
@@ -18888,7 +18888,7 @@
18888
18888
  "required": true
18889
18889
  }
18890
18890
  },
18891
- "description": "Send this attribute if you want to mark this resource as disabled.",
18891
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18892
18892
  "flags": {
18893
18893
  "organization": {
18894
18894
  "char": "o",
@@ -18953,7 +18953,7 @@
18953
18953
  },
18954
18954
  "hasDynamicHelp": false,
18955
18955
  "hiddenAliases": [],
18956
- "id": "shipping_method:disable",
18956
+ "id": "shipment:add_tags",
18957
18957
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18958
18958
  "pluginName": "@commercelayer/cli-plugin-triggers",
18959
18959
  "pluginType": "core",
@@ -18963,11 +18963,11 @@
18963
18963
  "relativePath": [
18964
18964
  "lib",
18965
18965
  "commands",
18966
- "shipping_method",
18967
- "disable.js"
18966
+ "shipment",
18967
+ "add_tags.js"
18968
18968
  ]
18969
18969
  },
18970
- "shipping_method:enable": {
18970
+ "shipment:cancel": {
18971
18971
  "aliases": [],
18972
18972
  "args": {
18973
18973
  "id": {
@@ -18976,7 +18976,7 @@
18976
18976
  "required": true
18977
18977
  }
18978
18978
  },
18979
- "description": "Send this attribute if you want to mark this resource as enabled.",
18979
+ "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
18980
18980
  "flags": {
18981
18981
  "organization": {
18982
18982
  "char": "o",
@@ -19041,7 +19041,7 @@
19041
19041
  },
19042
19042
  "hasDynamicHelp": false,
19043
19043
  "hiddenAliases": [],
19044
- "id": "shipping_method:enable",
19044
+ "id": "shipment:cancel",
19045
19045
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19046
19046
  "pluginName": "@commercelayer/cli-plugin-triggers",
19047
19047
  "pluginType": "core",
@@ -19051,11 +19051,11 @@
19051
19051
  "relativePath": [
19052
19052
  "lib",
19053
19053
  "commands",
19054
- "shipping_method",
19055
- "enable.js"
19054
+ "shipment",
19055
+ "cancel.js"
19056
19056
  ]
19057
19057
  },
19058
- "shipping_method": {
19058
+ "shipment:decrement_stock": {
19059
19059
  "aliases": [],
19060
19060
  "args": {
19061
19061
  "id": {
@@ -19064,7 +19064,7 @@
19064
19064
  "required": true
19065
19065
  }
19066
19066
  },
19067
- "description": "execute an action on a resource of type shipping_methods",
19067
+ "description": "Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19068
19068
  "flags": {
19069
19069
  "organization": {
19070
19070
  "char": "o",
@@ -19129,7 +19129,7 @@
19129
19129
  },
19130
19130
  "hasDynamicHelp": false,
19131
19131
  "hiddenAliases": [],
19132
- "id": "shipping_method",
19132
+ "id": "shipment:decrement_stock",
19133
19133
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19134
19134
  "pluginName": "@commercelayer/cli-plugin-triggers",
19135
19135
  "pluginType": "core",
@@ -19139,11 +19139,11 @@
19139
19139
  "relativePath": [
19140
19140
  "lib",
19141
19141
  "commands",
19142
- "shipping_method",
19143
- "index.js"
19142
+ "shipment",
19143
+ "decrement_stock.js"
19144
19144
  ]
19145
19145
  },
19146
- "shipping_method:reset_circuit": {
19146
+ "shipment:deliver": {
19147
19147
  "aliases": [],
19148
19148
  "args": {
19149
19149
  "id": {
@@ -19152,7 +19152,7 @@
19152
19152
  "required": true
19153
19153
  }
19154
19154
  },
19155
- "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.",
19155
+ "description": "Send this attribute if you want to mark this shipment as delivered.",
19156
19156
  "flags": {
19157
19157
  "organization": {
19158
19158
  "char": "o",
@@ -19217,7 +19217,7 @@
19217
19217
  },
19218
19218
  "hasDynamicHelp": false,
19219
19219
  "hiddenAliases": [],
19220
- "id": "shipping_method:reset_circuit",
19220
+ "id": "shipment:deliver",
19221
19221
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19222
19222
  "pluginName": "@commercelayer/cli-plugin-triggers",
19223
19223
  "pluginType": "core",
@@ -19227,11 +19227,11 @@
19227
19227
  "relativePath": [
19228
19228
  "lib",
19229
19229
  "commands",
19230
- "shipping_method",
19231
- "reset_circuit.js"
19230
+ "shipment",
19231
+ "deliver.js"
19232
19232
  ]
19233
19233
  },
19234
- "shipment:add_tags": {
19234
+ "shipment:get_rates": {
19235
19235
  "aliases": [],
19236
19236
  "args": {
19237
19237
  "id": {
@@ -19240,7 +19240,7 @@
19240
19240
  "required": true
19241
19241
  }
19242
19242
  },
19243
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
19243
+ "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
19244
19244
  "flags": {
19245
19245
  "organization": {
19246
19246
  "char": "o",
@@ -19305,7 +19305,7 @@
19305
19305
  },
19306
19306
  "hasDynamicHelp": false,
19307
19307
  "hiddenAliases": [],
19308
- "id": "shipment:add_tags",
19308
+ "id": "shipment:get_rates",
19309
19309
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19310
19310
  "pluginName": "@commercelayer/cli-plugin-triggers",
19311
19311
  "pluginType": "core",
@@ -19316,10 +19316,10 @@
19316
19316
  "lib",
19317
19317
  "commands",
19318
19318
  "shipment",
19319
- "add_tags.js"
19319
+ "get_rates.js"
19320
19320
  ]
19321
19321
  },
19322
- "shipment:cancel": {
19322
+ "shipment": {
19323
19323
  "aliases": [],
19324
19324
  "args": {
19325
19325
  "id": {
@@ -19328,7 +19328,7 @@
19328
19328
  "required": true
19329
19329
  }
19330
19330
  },
19331
- "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
19331
+ "description": "execute an action on a resource of type shipments",
19332
19332
  "flags": {
19333
19333
  "organization": {
19334
19334
  "char": "o",
@@ -19393,7 +19393,7 @@
19393
19393
  },
19394
19394
  "hasDynamicHelp": false,
19395
19395
  "hiddenAliases": [],
19396
- "id": "shipment:cancel",
19396
+ "id": "shipment",
19397
19397
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19398
19398
  "pluginName": "@commercelayer/cli-plugin-triggers",
19399
19399
  "pluginType": "core",
@@ -19404,10 +19404,10 @@
19404
19404
  "lib",
19405
19405
  "commands",
19406
19406
  "shipment",
19407
- "cancel.js"
19407
+ "index.js"
19408
19408
  ]
19409
19409
  },
19410
- "shipment:decrement_stock": {
19410
+ "shipment:on_hold": {
19411
19411
  "aliases": [],
19412
19412
  "args": {
19413
19413
  "id": {
@@ -19416,7 +19416,7 @@
19416
19416
  "required": true
19417
19417
  }
19418
19418
  },
19419
- "description": "Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19419
+ "description": "Send this attribute if you want to put this shipment on hold.",
19420
19420
  "flags": {
19421
19421
  "organization": {
19422
19422
  "char": "o",
@@ -19481,7 +19481,7 @@
19481
19481
  },
19482
19482
  "hasDynamicHelp": false,
19483
19483
  "hiddenAliases": [],
19484
- "id": "shipment:decrement_stock",
19484
+ "id": "shipment:on_hold",
19485
19485
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19486
19486
  "pluginName": "@commercelayer/cli-plugin-triggers",
19487
19487
  "pluginType": "core",
@@ -19492,10 +19492,10 @@
19492
19492
  "lib",
19493
19493
  "commands",
19494
19494
  "shipment",
19495
- "decrement_stock.js"
19495
+ "on_hold.js"
19496
19496
  ]
19497
19497
  },
19498
- "shipment:deliver": {
19498
+ "shipment:packing": {
19499
19499
  "aliases": [],
19500
19500
  "args": {
19501
19501
  "id": {
@@ -19504,7 +19504,7 @@
19504
19504
  "required": true
19505
19505
  }
19506
19506
  },
19507
- "description": "Send this attribute if you want to mark this shipment as delivered.",
19507
+ "description": "Send this attribute if you want to start packing this shipment.",
19508
19508
  "flags": {
19509
19509
  "organization": {
19510
19510
  "char": "o",
@@ -19569,7 +19569,7 @@
19569
19569
  },
19570
19570
  "hasDynamicHelp": false,
19571
19571
  "hiddenAliases": [],
19572
- "id": "shipment:deliver",
19572
+ "id": "shipment:packing",
19573
19573
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19574
19574
  "pluginName": "@commercelayer/cli-plugin-triggers",
19575
19575
  "pluginType": "core",
@@ -19580,10 +19580,10 @@
19580
19580
  "lib",
19581
19581
  "commands",
19582
19582
  "shipment",
19583
- "deliver.js"
19583
+ "packing.js"
19584
19584
  ]
19585
19585
  },
19586
- "shipment:get_rates": {
19586
+ "shipment:picking": {
19587
19587
  "aliases": [],
19588
19588
  "args": {
19589
19589
  "id": {
@@ -19592,7 +19592,7 @@
19592
19592
  "required": true
19593
19593
  }
19594
19594
  },
19595
- "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
19595
+ "description": "Send this attribute if you want to start picking this shipment.",
19596
19596
  "flags": {
19597
19597
  "organization": {
19598
19598
  "char": "o",
@@ -19657,7 +19657,7 @@
19657
19657
  },
19658
19658
  "hasDynamicHelp": false,
19659
19659
  "hiddenAliases": [],
19660
- "id": "shipment:get_rates",
19660
+ "id": "shipment:picking",
19661
19661
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19662
19662
  "pluginName": "@commercelayer/cli-plugin-triggers",
19663
19663
  "pluginType": "core",
@@ -19668,10 +19668,10 @@
19668
19668
  "lib",
19669
19669
  "commands",
19670
19670
  "shipment",
19671
- "get_rates.js"
19671
+ "picking.js"
19672
19672
  ]
19673
19673
  },
19674
- "shipment": {
19674
+ "shipment:purchase": {
19675
19675
  "aliases": [],
19676
19676
  "args": {
19677
19677
  "id": {
@@ -19680,7 +19680,7 @@
19680
19680
  "required": true
19681
19681
  }
19682
19682
  },
19683
- "description": "execute an action on a resource of type shipments",
19683
+ "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
19684
19684
  "flags": {
19685
19685
  "organization": {
19686
19686
  "char": "o",
@@ -19745,7 +19745,7 @@
19745
19745
  },
19746
19746
  "hasDynamicHelp": false,
19747
19747
  "hiddenAliases": [],
19748
- "id": "shipment",
19748
+ "id": "shipment:purchase",
19749
19749
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19750
19750
  "pluginName": "@commercelayer/cli-plugin-triggers",
19751
19751
  "pluginType": "core",
@@ -19756,10 +19756,10 @@
19756
19756
  "lib",
19757
19757
  "commands",
19758
19758
  "shipment",
19759
- "index.js"
19759
+ "purchase.js"
19760
19760
  ]
19761
19761
  },
19762
- "shipment:on_hold": {
19762
+ "shipment:ready_to_ship": {
19763
19763
  "aliases": [],
19764
19764
  "args": {
19765
19765
  "id": {
@@ -19768,7 +19768,7 @@
19768
19768
  "required": true
19769
19769
  }
19770
19770
  },
19771
- "description": "Send this attribute if you want to put this shipment on hold.",
19771
+ "description": "Send this attribute if you want to mark this shipment as ready to ship.",
19772
19772
  "flags": {
19773
19773
  "organization": {
19774
19774
  "char": "o",
@@ -19833,7 +19833,7 @@
19833
19833
  },
19834
19834
  "hasDynamicHelp": false,
19835
19835
  "hiddenAliases": [],
19836
- "id": "shipment:on_hold",
19836
+ "id": "shipment:ready_to_ship",
19837
19837
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19838
19838
  "pluginName": "@commercelayer/cli-plugin-triggers",
19839
19839
  "pluginType": "core",
@@ -19844,10 +19844,10 @@
19844
19844
  "lib",
19845
19845
  "commands",
19846
19846
  "shipment",
19847
- "on_hold.js"
19847
+ "ready_to_ship.js"
19848
19848
  ]
19849
19849
  },
19850
- "shipment:packing": {
19850
+ "shipment:release_stock": {
19851
19851
  "aliases": [],
19852
19852
  "args": {
19853
19853
  "id": {
@@ -19856,7 +19856,7 @@
19856
19856
  "required": true
19857
19857
  }
19858
19858
  },
19859
- "description": "Send this attribute if you want to start packing this shipment.",
19859
+ "description": "Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19860
19860
  "flags": {
19861
19861
  "organization": {
19862
19862
  "char": "o",
@@ -19921,7 +19921,7 @@
19921
19921
  },
19922
19922
  "hasDynamicHelp": false,
19923
19923
  "hiddenAliases": [],
19924
- "id": "shipment:packing",
19924
+ "id": "shipment:release_stock",
19925
19925
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19926
19926
  "pluginName": "@commercelayer/cli-plugin-triggers",
19927
19927
  "pluginType": "core",
@@ -19932,10 +19932,10 @@
19932
19932
  "lib",
19933
19933
  "commands",
19934
19934
  "shipment",
19935
- "packing.js"
19935
+ "release_stock.js"
19936
19936
  ]
19937
19937
  },
19938
- "shipment:picking": {
19938
+ "shipment:remove_tags": {
19939
19939
  "aliases": [],
19940
19940
  "args": {
19941
19941
  "id": {
@@ -19944,7 +19944,7 @@
19944
19944
  "required": true
19945
19945
  }
19946
19946
  },
19947
- "description": "Send this attribute if you want to start picking this shipment.",
19947
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
19948
19948
  "flags": {
19949
19949
  "organization": {
19950
19950
  "char": "o",
@@ -20009,7 +20009,7 @@
20009
20009
  },
20010
20010
  "hasDynamicHelp": false,
20011
20011
  "hiddenAliases": [],
20012
- "id": "shipment:picking",
20012
+ "id": "shipment:remove_tags",
20013
20013
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20014
20014
  "pluginName": "@commercelayer/cli-plugin-triggers",
20015
20015
  "pluginType": "core",
@@ -20020,10 +20020,10 @@
20020
20020
  "lib",
20021
20021
  "commands",
20022
20022
  "shipment",
20023
- "picking.js"
20023
+ "remove_tags.js"
20024
20024
  ]
20025
20025
  },
20026
- "shipment:purchase": {
20026
+ "shipment:reserve_stock": {
20027
20027
  "aliases": [],
20028
20028
  "args": {
20029
20029
  "id": {
@@ -20032,7 +20032,7 @@
20032
20032
  "required": true
20033
20033
  }
20034
20034
  },
20035
- "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
20035
+ "description": "Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
20036
20036
  "flags": {
20037
20037
  "organization": {
20038
20038
  "char": "o",
@@ -20097,7 +20097,7 @@
20097
20097
  },
20098
20098
  "hasDynamicHelp": false,
20099
20099
  "hiddenAliases": [],
20100
- "id": "shipment:purchase",
20100
+ "id": "shipment:reserve_stock",
20101
20101
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20102
20102
  "pluginName": "@commercelayer/cli-plugin-triggers",
20103
20103
  "pluginType": "core",
@@ -20108,10 +20108,10 @@
20108
20108
  "lib",
20109
20109
  "commands",
20110
20110
  "shipment",
20111
- "purchase.js"
20111
+ "reserve_stock.js"
20112
20112
  ]
20113
20113
  },
20114
- "shipment:ready_to_ship": {
20114
+ "shipment:ship": {
20115
20115
  "aliases": [],
20116
20116
  "args": {
20117
20117
  "id": {
@@ -20120,7 +20120,7 @@
20120
20120
  "required": true
20121
20121
  }
20122
20122
  },
20123
- "description": "Send this attribute if you want to mark this shipment as ready to ship.",
20123
+ "description": "Send this attribute if you want to mark this shipment as shipped.",
20124
20124
  "flags": {
20125
20125
  "organization": {
20126
20126
  "char": "o",
@@ -20185,7 +20185,7 @@
20185
20185
  },
20186
20186
  "hasDynamicHelp": false,
20187
20187
  "hiddenAliases": [],
20188
- "id": "shipment:ready_to_ship",
20188
+ "id": "shipment:ship",
20189
20189
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20190
20190
  "pluginName": "@commercelayer/cli-plugin-triggers",
20191
20191
  "pluginType": "core",
@@ -20196,10 +20196,10 @@
20196
20196
  "lib",
20197
20197
  "commands",
20198
20198
  "shipment",
20199
- "ready_to_ship.js"
20199
+ "ship.js"
20200
20200
  ]
20201
20201
  },
20202
- "shipment:release_stock": {
20202
+ "shipment:upcoming": {
20203
20203
  "aliases": [],
20204
20204
  "args": {
20205
20205
  "id": {
@@ -20208,7 +20208,7 @@
20208
20208
  "required": true
20209
20209
  }
20210
20210
  },
20211
- "description": "Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
20211
+ "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
20212
20212
  "flags": {
20213
20213
  "organization": {
20214
20214
  "char": "o",
@@ -20273,7 +20273,7 @@
20273
20273
  },
20274
20274
  "hasDynamicHelp": false,
20275
20275
  "hiddenAliases": [],
20276
- "id": "shipment:release_stock",
20276
+ "id": "shipment:upcoming",
20277
20277
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20278
20278
  "pluginName": "@commercelayer/cli-plugin-triggers",
20279
20279
  "pluginType": "core",
@@ -20284,10 +20284,10 @@
20284
20284
  "lib",
20285
20285
  "commands",
20286
20286
  "shipment",
20287
- "release_stock.js"
20287
+ "upcoming.js"
20288
20288
  ]
20289
20289
  },
20290
- "shipment:remove_tags": {
20290
+ "shipping_method:add_tags": {
20291
20291
  "aliases": [],
20292
20292
  "args": {
20293
20293
  "id": {
@@ -20296,7 +20296,7 @@
20296
20296
  "required": true
20297
20297
  }
20298
20298
  },
20299
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20299
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20300
20300
  "flags": {
20301
20301
  "organization": {
20302
20302
  "char": "o",
@@ -20361,7 +20361,7 @@
20361
20361
  },
20362
20362
  "hasDynamicHelp": false,
20363
20363
  "hiddenAliases": [],
20364
- "id": "shipment:remove_tags",
20364
+ "id": "shipping_method:add_tags",
20365
20365
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20366
20366
  "pluginName": "@commercelayer/cli-plugin-triggers",
20367
20367
  "pluginType": "core",
@@ -20371,11 +20371,11 @@
20371
20371
  "relativePath": [
20372
20372
  "lib",
20373
20373
  "commands",
20374
- "shipment",
20375
- "remove_tags.js"
20374
+ "shipping_method",
20375
+ "add_tags.js"
20376
20376
  ]
20377
20377
  },
20378
- "shipment:reserve_stock": {
20378
+ "shipping_method:disable": {
20379
20379
  "aliases": [],
20380
20380
  "args": {
20381
20381
  "id": {
@@ -20384,7 +20384,7 @@
20384
20384
  "required": true
20385
20385
  }
20386
20386
  },
20387
- "description": "Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
20387
+ "description": "Send this attribute if you want to mark this resource as disabled.",
20388
20388
  "flags": {
20389
20389
  "organization": {
20390
20390
  "char": "o",
@@ -20449,7 +20449,7 @@
20449
20449
  },
20450
20450
  "hasDynamicHelp": false,
20451
20451
  "hiddenAliases": [],
20452
- "id": "shipment:reserve_stock",
20452
+ "id": "shipping_method:disable",
20453
20453
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20454
20454
  "pluginName": "@commercelayer/cli-plugin-triggers",
20455
20455
  "pluginType": "core",
@@ -20459,11 +20459,11 @@
20459
20459
  "relativePath": [
20460
20460
  "lib",
20461
20461
  "commands",
20462
- "shipment",
20463
- "reserve_stock.js"
20462
+ "shipping_method",
20463
+ "disable.js"
20464
20464
  ]
20465
20465
  },
20466
- "shipment:ship": {
20466
+ "shipping_method:enable": {
20467
20467
  "aliases": [],
20468
20468
  "args": {
20469
20469
  "id": {
@@ -20472,7 +20472,7 @@
20472
20472
  "required": true
20473
20473
  }
20474
20474
  },
20475
- "description": "Send this attribute if you want to mark this shipment as shipped.",
20475
+ "description": "Send this attribute if you want to mark this resource as enabled.",
20476
20476
  "flags": {
20477
20477
  "organization": {
20478
20478
  "char": "o",
@@ -20537,7 +20537,7 @@
20537
20537
  },
20538
20538
  "hasDynamicHelp": false,
20539
20539
  "hiddenAliases": [],
20540
- "id": "shipment:ship",
20540
+ "id": "shipping_method:enable",
20541
20541
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20542
20542
  "pluginName": "@commercelayer/cli-plugin-triggers",
20543
20543
  "pluginType": "core",
@@ -20547,11 +20547,11 @@
20547
20547
  "relativePath": [
20548
20548
  "lib",
20549
20549
  "commands",
20550
- "shipment",
20551
- "ship.js"
20550
+ "shipping_method",
20551
+ "enable.js"
20552
20552
  ]
20553
20553
  },
20554
- "shipment:upcoming": {
20554
+ "shipping_method": {
20555
20555
  "aliases": [],
20556
20556
  "args": {
20557
20557
  "id": {
@@ -20560,7 +20560,7 @@
20560
20560
  "required": true
20561
20561
  }
20562
20562
  },
20563
- "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
20563
+ "description": "execute an action on a resource of type shipping_methods",
20564
20564
  "flags": {
20565
20565
  "organization": {
20566
20566
  "char": "o",
@@ -20625,7 +20625,7 @@
20625
20625
  },
20626
20626
  "hasDynamicHelp": false,
20627
20627
  "hiddenAliases": [],
20628
- "id": "shipment:upcoming",
20628
+ "id": "shipping_method",
20629
20629
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20630
20630
  "pluginName": "@commercelayer/cli-plugin-triggers",
20631
20631
  "pluginType": "core",
@@ -20635,11 +20635,11 @@
20635
20635
  "relativePath": [
20636
20636
  "lib",
20637
20637
  "commands",
20638
- "shipment",
20639
- "upcoming.js"
20638
+ "shipping_method",
20639
+ "index.js"
20640
20640
  ]
20641
20641
  },
20642
- "sku:add_tags": {
20642
+ "shipping_method:remove_tags": {
20643
20643
  "aliases": [],
20644
20644
  "args": {
20645
20645
  "id": {
@@ -20648,7 +20648,7 @@
20648
20648
  "required": true
20649
20649
  }
20650
20650
  },
20651
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20651
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20652
20652
  "flags": {
20653
20653
  "organization": {
20654
20654
  "char": "o",
@@ -20713,7 +20713,7 @@
20713
20713
  },
20714
20714
  "hasDynamicHelp": false,
20715
20715
  "hiddenAliases": [],
20716
- "id": "sku:add_tags",
20716
+ "id": "shipping_method:remove_tags",
20717
20717
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20718
20718
  "pluginName": "@commercelayer/cli-plugin-triggers",
20719
20719
  "pluginType": "core",
@@ -20723,11 +20723,11 @@
20723
20723
  "relativePath": [
20724
20724
  "lib",
20725
20725
  "commands",
20726
- "sku",
20727
- "add_tags.js"
20726
+ "shipping_method",
20727
+ "remove_tags.js"
20728
20728
  ]
20729
20729
  },
20730
- "sku": {
20730
+ "shipping_method:reset_circuit": {
20731
20731
  "aliases": [],
20732
20732
  "args": {
20733
20733
  "id": {
@@ -20736,7 +20736,7 @@
20736
20736
  "required": true
20737
20737
  }
20738
20738
  },
20739
- "description": "execute an action on a resource of type skus",
20739
+ "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.",
20740
20740
  "flags": {
20741
20741
  "organization": {
20742
20742
  "char": "o",
@@ -20801,7 +20801,7 @@
20801
20801
  },
20802
20802
  "hasDynamicHelp": false,
20803
20803
  "hiddenAliases": [],
20804
- "id": "sku",
20804
+ "id": "shipping_method:reset_circuit",
20805
20805
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20806
20806
  "pluginName": "@commercelayer/cli-plugin-triggers",
20807
20807
  "pluginType": "core",
@@ -20811,11 +20811,11 @@
20811
20811
  "relativePath": [
20812
20812
  "lib",
20813
20813
  "commands",
20814
- "sku",
20815
- "index.js"
20814
+ "shipping_method",
20815
+ "reset_circuit.js"
20816
20816
  ]
20817
20817
  },
20818
- "sku:remove_tags": {
20818
+ "sku:add_tags": {
20819
20819
  "aliases": [],
20820
20820
  "args": {
20821
20821
  "id": {
@@ -20824,7 +20824,7 @@
20824
20824
  "required": true
20825
20825
  }
20826
20826
  },
20827
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20827
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20828
20828
  "flags": {
20829
20829
  "organization": {
20830
20830
  "char": "o",
@@ -20889,7 +20889,7 @@
20889
20889
  },
20890
20890
  "hasDynamicHelp": false,
20891
20891
  "hiddenAliases": [],
20892
- "id": "sku:remove_tags",
20892
+ "id": "sku:add_tags",
20893
20893
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20894
20894
  "pluginName": "@commercelayer/cli-plugin-triggers",
20895
20895
  "pluginType": "core",
@@ -20900,10 +20900,10 @@
20900
20900
  "lib",
20901
20901
  "commands",
20902
20902
  "sku",
20903
- "remove_tags.js"
20903
+ "add_tags.js"
20904
20904
  ]
20905
20905
  },
20906
- "stock_item": {
20906
+ "sku": {
20907
20907
  "aliases": [],
20908
20908
  "args": {
20909
20909
  "id": {
@@ -20912,7 +20912,7 @@
20912
20912
  "required": true
20913
20913
  }
20914
20914
  },
20915
- "description": "execute an action on a resource of type stock_items",
20915
+ "description": "execute an action on a resource of type skus",
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": "stock_item",
20980
+ "id": "sku",
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
- "stock_item",
20990
+ "sku",
20991
20991
  "index.js"
20992
20992
  ]
20993
20993
  },
20994
- "stock_item:validate": {
20994
+ "sku:remove_tags": {
20995
20995
  "aliases": [],
20996
20996
  "args": {
20997
20997
  "id": {
@@ -21000,7 +21000,7 @@
21000
21000
  "required": true
21001
21001
  }
21002
21002
  },
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.",
21003
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. 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": "stock_item:validate",
21068
+ "id": "sku:remove_tags",
21069
21069
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21070
21070
  "pluginName": "@commercelayer/cli-plugin-triggers",
21071
21071
  "pluginType": "core",
@@ -21075,8 +21075,8 @@
21075
21075
  "relativePath": [
21076
21076
  "lib",
21077
21077
  "commands",
21078
- "stock_item",
21079
- "validate.js"
21078
+ "sku",
21079
+ "remove_tags.js"
21080
21080
  ]
21081
21081
  },
21082
21082
  "sku_option:add_tags": {
@@ -21343,7 +21343,7 @@
21343
21343
  "remove_tags.js"
21344
21344
  ]
21345
21345
  },
21346
- "stock_reservation": {
21346
+ "stock_item": {
21347
21347
  "aliases": [],
21348
21348
  "args": {
21349
21349
  "id": {
@@ -21352,7 +21352,7 @@
21352
21352
  "required": true
21353
21353
  }
21354
21354
  },
21355
- "description": "execute an action on a resource of type stock_reservations",
21355
+ "description": "execute an action on a resource of type stock_items",
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_reservation",
21420
+ "id": "stock_item",
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_reservation",
21430
+ "stock_item",
21431
21431
  "index.js"
21432
21432
  ]
21433
21433
  },
21434
- "stock_reservation:pending": {
21434
+ "stock_item:validate": {
21435
21435
  "aliases": [],
21436
21436
  "args": {
21437
21437
  "id": {
@@ -21440,7 +21440,7 @@
21440
21440
  "required": true
21441
21441
  }
21442
21442
  },
21443
- "description": "Send this attribute if you want to mark this stock reservation as pending.",
21443
+ "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.",
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_reservation:pending",
21508
+ "id": "stock_item:validate",
21509
21509
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21510
21510
  "pluginName": "@commercelayer/cli-plugin-triggers",
21511
21511
  "pluginType": "core",
@@ -21515,8 +21515,8 @@
21515
21515
  "relativePath": [
21516
21516
  "lib",
21517
21517
  "commands",
21518
- "stock_reservation",
21519
- "pending.js"
21518
+ "stock_item",
21519
+ "validate.js"
21520
21520
  ]
21521
21521
  },
21522
21522
  "stock_line_item:decrement_stock": {
@@ -21871,7 +21871,7 @@
21871
21871
  "reserve_stock.js"
21872
21872
  ]
21873
21873
  },
21874
- "stripe_gateway:disable": {
21874
+ "stock_reservation": {
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 mark this resource as disabled.",
21883
+ "description": "execute an action on a resource of type stock_reservations",
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": "stripe_gateway:disable",
21948
+ "id": "stock_reservation",
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
- "stripe_gateway",
21959
- "disable.js"
21958
+ "stock_reservation",
21959
+ "index.js"
21960
21960
  ]
21961
21961
  },
21962
- "stripe_gateway:enable": {
21962
+ "stock_reservation:pending": {
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 mark this resource as enabled.",
21971
+ "description": "Send this attribute if you want to mark this stock reservation as pending.",
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": "stripe_gateway:enable",
22036
+ "id": "stock_reservation:pending",
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
- "stripe_gateway",
22047
- "enable.js"
22046
+ "stock_reservation",
22047
+ "pending.js"
22048
22048
  ]
22049
22049
  },
22050
- "stripe_gateway": {
22050
+ "stock_transfer:cancel": {
22051
22051
  "aliases": [],
22052
22052
  "args": {
22053
22053
  "id": {
@@ -22056,7 +22056,7 @@
22056
22056
  "required": true
22057
22057
  }
22058
22058
  },
22059
- "description": "execute an action on a resource of type stripe_gateways",
22059
+ "description": "Send this attribute if you want to cancel this stock transfer.",
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": "stripe_gateway",
22124
+ "id": "stock_transfer:cancel",
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
- "stripe_gateway",
22135
- "index.js"
22134
+ "stock_transfer",
22135
+ "cancel.js"
22136
22136
  ]
22137
22137
  },
22138
- "stock_transfer:cancel": {
22138
+ "stock_transfer:complete": {
22139
22139
  "aliases": [],
22140
22140
  "args": {
22141
22141
  "id": {
@@ -22144,7 +22144,7 @@
22144
22144
  "required": true
22145
22145
  }
22146
22146
  },
22147
- "description": "Send this attribute if you want to cancel this stock transfer.",
22147
+ "description": "Send this attribute if you want to complete 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:cancel",
22212
+ "id": "stock_transfer:complete",
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
- "cancel.js"
22223
+ "complete.js"
22224
22224
  ]
22225
22225
  },
22226
- "stock_transfer:complete": {
22226
+ "stock_transfer:in_transit": {
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 complete this stock transfer.",
22235
+ "description": "Send this attribute if you want to mark this stock transfer as in transit.",
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:complete",
22300
+ "id": "stock_transfer:in_transit",
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
- "complete.js"
22311
+ "in_transit.js"
22312
22312
  ]
22313
22313
  },
22314
- "stock_transfer:in_transit": {
22314
+ "stock_transfer": {
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 mark this stock transfer as in transit.",
22323
+ "description": "execute an action on a resource of type stock_transfers",
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:in_transit",
22388
+ "id": "stock_transfer",
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
- "in_transit.js"
22399
+ "index.js"
22400
22400
  ]
22401
22401
  },
22402
- "stock_transfer": {
22402
+ "stock_transfer:on_hold": {
22403
22403
  "aliases": [],
22404
22404
  "args": {
22405
22405
  "id": {
@@ -22408,7 +22408,7 @@
22408
22408
  "required": true
22409
22409
  }
22410
22410
  },
22411
- "description": "execute an action on a resource of type stock_transfers",
22411
+ "description": "Send this attribute if you want to put this stock transfer on hold.",
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",
22476
+ "id": "stock_transfer:on_hold",
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
- "index.js"
22487
+ "on_hold.js"
22488
22488
  ]
22489
22489
  },
22490
- "stock_transfer:on_hold": {
22490
+ "stock_transfer:picking": {
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 put this stock transfer on hold.",
22499
+ "description": "Send this attribute if you want to start picking this stock transfer.",
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": "stock_transfer:on_hold",
22564
+ "id": "stock_transfer:picking",
22565
22565
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22566
22566
  "pluginName": "@commercelayer/cli-plugin-triggers",
22567
22567
  "pluginType": "core",
@@ -22572,10 +22572,10 @@
22572
22572
  "lib",
22573
22573
  "commands",
22574
22574
  "stock_transfer",
22575
- "on_hold.js"
22575
+ "picking.js"
22576
22576
  ]
22577
22577
  },
22578
- "stock_transfer:picking": {
22578
+ "stock_transfer:upcoming": {
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 start picking this stock transfer.",
22587
+ "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
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": "stock_transfer:picking",
22652
+ "id": "stock_transfer:upcoming",
22653
22653
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22654
22654
  "pluginName": "@commercelayer/cli-plugin-triggers",
22655
22655
  "pluginType": "core",
@@ -22660,10 +22660,10 @@
22660
22660
  "lib",
22661
22661
  "commands",
22662
22662
  "stock_transfer",
22663
- "picking.js"
22663
+ "upcoming.js"
22664
22664
  ]
22665
22665
  },
22666
- "stock_transfer:upcoming": {
22666
+ "stripe_gateway:disable": {
22667
22667
  "aliases": [],
22668
22668
  "args": {
22669
22669
  "id": {
@@ -22672,7 +22672,7 @@
22672
22672
  "required": true
22673
22673
  }
22674
22674
  },
22675
- "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
22675
+ "description": "Send this attribute if you want to mark this resource as disabled.",
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": "stock_transfer:upcoming",
22740
+ "id": "stripe_gateway:disable",
22741
22741
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22742
22742
  "pluginName": "@commercelayer/cli-plugin-triggers",
22743
22743
  "pluginType": "core",
@@ -22747,8 +22747,184 @@
22747
22747
  "relativePath": [
22748
22748
  "lib",
22749
22749
  "commands",
22750
- "stock_transfer",
22751
- "upcoming.js"
22750
+ "stripe_gateway",
22751
+ "disable.js"
22752
+ ]
22753
+ },
22754
+ "stripe_gateway:enable": {
22755
+ "aliases": [],
22756
+ "args": {
22757
+ "id": {
22758
+ "description": "the unique id of the resource",
22759
+ "name": "id",
22760
+ "required": true
22761
+ }
22762
+ },
22763
+ "description": "Send this attribute if you want to mark this resource as enabled.",
22764
+ "flags": {
22765
+ "organization": {
22766
+ "char": "o",
22767
+ "description": "the slug of your organization",
22768
+ "env": "CL_CLI_ORGANIZATION",
22769
+ "hidden": true,
22770
+ "name": "organization",
22771
+ "required": true,
22772
+ "hasDynamicHelp": false,
22773
+ "multiple": false,
22774
+ "type": "option"
22775
+ },
22776
+ "domain": {
22777
+ "char": "d",
22778
+ "dependsOn": [
22779
+ "organization"
22780
+ ],
22781
+ "env": "CL_CLI_DOMAIN",
22782
+ "hidden": true,
22783
+ "name": "domain",
22784
+ "required": false,
22785
+ "hasDynamicHelp": false,
22786
+ "multiple": false,
22787
+ "type": "option"
22788
+ },
22789
+ "accessToken": {
22790
+ "env": "CL_CLI_ACCESS_TOKEN",
22791
+ "hidden": true,
22792
+ "name": "accessToken",
22793
+ "required": true,
22794
+ "hasDynamicHelp": false,
22795
+ "multiple": false,
22796
+ "type": "option"
22797
+ },
22798
+ "print": {
22799
+ "char": "p",
22800
+ "description": "print out the modified resource",
22801
+ "name": "print",
22802
+ "allowNo": false,
22803
+ "type": "boolean"
22804
+ },
22805
+ "json": {
22806
+ "char": "j",
22807
+ "dependsOn": [
22808
+ "print"
22809
+ ],
22810
+ "description": "print result in JSON format",
22811
+ "name": "json",
22812
+ "allowNo": false,
22813
+ "type": "boolean"
22814
+ },
22815
+ "unformatted": {
22816
+ "char": "u",
22817
+ "dependsOn": [
22818
+ "json"
22819
+ ],
22820
+ "description": "print JSON output without indentation",
22821
+ "name": "unformatted",
22822
+ "allowNo": false,
22823
+ "type": "boolean"
22824
+ }
22825
+ },
22826
+ "hasDynamicHelp": false,
22827
+ "hiddenAliases": [],
22828
+ "id": "stripe_gateway:enable",
22829
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
22830
+ "pluginName": "@commercelayer/cli-plugin-triggers",
22831
+ "pluginType": "core",
22832
+ "strict": true,
22833
+ "enableJsonFlag": false,
22834
+ "isESM": false,
22835
+ "relativePath": [
22836
+ "lib",
22837
+ "commands",
22838
+ "stripe_gateway",
22839
+ "enable.js"
22840
+ ]
22841
+ },
22842
+ "stripe_gateway": {
22843
+ "aliases": [],
22844
+ "args": {
22845
+ "id": {
22846
+ "description": "the unique id of the resource",
22847
+ "name": "id",
22848
+ "required": true
22849
+ }
22850
+ },
22851
+ "description": "execute an action on a resource of type stripe_gateways",
22852
+ "flags": {
22853
+ "organization": {
22854
+ "char": "o",
22855
+ "description": "the slug of your organization",
22856
+ "env": "CL_CLI_ORGANIZATION",
22857
+ "hidden": true,
22858
+ "name": "organization",
22859
+ "required": true,
22860
+ "hasDynamicHelp": false,
22861
+ "multiple": false,
22862
+ "type": "option"
22863
+ },
22864
+ "domain": {
22865
+ "char": "d",
22866
+ "dependsOn": [
22867
+ "organization"
22868
+ ],
22869
+ "env": "CL_CLI_DOMAIN",
22870
+ "hidden": true,
22871
+ "name": "domain",
22872
+ "required": false,
22873
+ "hasDynamicHelp": false,
22874
+ "multiple": false,
22875
+ "type": "option"
22876
+ },
22877
+ "accessToken": {
22878
+ "env": "CL_CLI_ACCESS_TOKEN",
22879
+ "hidden": true,
22880
+ "name": "accessToken",
22881
+ "required": true,
22882
+ "hasDynamicHelp": false,
22883
+ "multiple": false,
22884
+ "type": "option"
22885
+ },
22886
+ "print": {
22887
+ "char": "p",
22888
+ "description": "print out the modified resource",
22889
+ "name": "print",
22890
+ "allowNo": false,
22891
+ "type": "boolean"
22892
+ },
22893
+ "json": {
22894
+ "char": "j",
22895
+ "dependsOn": [
22896
+ "print"
22897
+ ],
22898
+ "description": "print result in JSON format",
22899
+ "name": "json",
22900
+ "allowNo": false,
22901
+ "type": "boolean"
22902
+ },
22903
+ "unformatted": {
22904
+ "char": "u",
22905
+ "dependsOn": [
22906
+ "json"
22907
+ ],
22908
+ "description": "print JSON output without indentation",
22909
+ "name": "unformatted",
22910
+ "allowNo": false,
22911
+ "type": "boolean"
22912
+ }
22913
+ },
22914
+ "hasDynamicHelp": false,
22915
+ "hiddenAliases": [],
22916
+ "id": "stripe_gateway",
22917
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
22918
+ "pluginName": "@commercelayer/cli-plugin-triggers",
22919
+ "pluginType": "core",
22920
+ "strict": true,
22921
+ "enableJsonFlag": false,
22922
+ "isESM": false,
22923
+ "relativePath": [
22924
+ "lib",
22925
+ "commands",
22926
+ "stripe_gateway",
22927
+ "index.js"
22752
22928
  ]
22753
22929
  },
22754
22930
  "stripe_payment": {
@@ -23720,5 +23896,5 @@
23720
23896
  ]
23721
23897
  }
23722
23898
  },
23723
- "version": "4.16.1"
23899
+ "version": "4.17.0"
23724
23900
  }