@commercelayer/cli-plugin-triggers 4.17.0 → 4.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +748 -748
  2. package/package.json +2 -2
@@ -10316,7 +10316,7 @@
10316
10316
  "update.js"
10317
10317
  ]
10318
10318
  },
10319
- "line_item:add_tags": {
10319
+ "line_item_option:add_tags": {
10320
10320
  "aliases": [],
10321
10321
  "args": {
10322
10322
  "id": {
@@ -10390,7 +10390,7 @@
10390
10390
  },
10391
10391
  "hasDynamicHelp": false,
10392
10392
  "hiddenAliases": [],
10393
- "id": "line_item:add_tags",
10393
+ "id": "line_item_option:add_tags",
10394
10394
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10395
10395
  "pluginName": "@commercelayer/cli-plugin-triggers",
10396
10396
  "pluginType": "core",
@@ -10400,11 +10400,11 @@
10400
10400
  "relativePath": [
10401
10401
  "lib",
10402
10402
  "commands",
10403
- "line_item",
10403
+ "line_item_option",
10404
10404
  "add_tags.js"
10405
10405
  ]
10406
10406
  },
10407
- "line_item:external_price": {
10407
+ "line_item_option": {
10408
10408
  "aliases": [],
10409
10409
  "args": {
10410
10410
  "id": {
@@ -10413,7 +10413,7 @@
10413
10413
  "required": true
10414
10414
  }
10415
10415
  },
10416
- "description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
10416
+ "description": "execute an action on a resource of type line_item_options",
10417
10417
  "flags": {
10418
10418
  "organization": {
10419
10419
  "char": "o",
@@ -10478,7 +10478,7 @@
10478
10478
  },
10479
10479
  "hasDynamicHelp": false,
10480
10480
  "hiddenAliases": [],
10481
- "id": "line_item:external_price",
10481
+ "id": "line_item_option",
10482
10482
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10483
10483
  "pluginName": "@commercelayer/cli-plugin-triggers",
10484
10484
  "pluginType": "core",
@@ -10488,11 +10488,11 @@
10488
10488
  "relativePath": [
10489
10489
  "lib",
10490
10490
  "commands",
10491
- "line_item",
10492
- "external_price.js"
10491
+ "line_item_option",
10492
+ "index.js"
10493
10493
  ]
10494
10494
  },
10495
- "line_item": {
10495
+ "line_item_option:remove_tags": {
10496
10496
  "aliases": [],
10497
10497
  "args": {
10498
10498
  "id": {
@@ -10501,7 +10501,7 @@
10501
10501
  "required": true
10502
10502
  }
10503
10503
  },
10504
- "description": "execute an action on a resource of type line_items",
10504
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10505
10505
  "flags": {
10506
10506
  "organization": {
10507
10507
  "char": "o",
@@ -10566,7 +10566,7 @@
10566
10566
  },
10567
10567
  "hasDynamicHelp": false,
10568
10568
  "hiddenAliases": [],
10569
- "id": "line_item",
10569
+ "id": "line_item_option:remove_tags",
10570
10570
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10571
10571
  "pluginName": "@commercelayer/cli-plugin-triggers",
10572
10572
  "pluginType": "core",
@@ -10576,11 +10576,11 @@
10576
10576
  "relativePath": [
10577
10577
  "lib",
10578
10578
  "commands",
10579
- "line_item",
10580
- "index.js"
10579
+ "line_item_option",
10580
+ "remove_tags.js"
10581
10581
  ]
10582
10582
  },
10583
- "line_item:remove_tags": {
10583
+ "line_item:add_tags": {
10584
10584
  "aliases": [],
10585
10585
  "args": {
10586
10586
  "id": {
@@ -10589,7 +10589,7 @@
10589
10589
  "required": true
10590
10590
  }
10591
10591
  },
10592
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10592
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10593
10593
  "flags": {
10594
10594
  "organization": {
10595
10595
  "char": "o",
@@ -10654,7 +10654,7 @@
10654
10654
  },
10655
10655
  "hasDynamicHelp": false,
10656
10656
  "hiddenAliases": [],
10657
- "id": "line_item:remove_tags",
10657
+ "id": "line_item:add_tags",
10658
10658
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10659
10659
  "pluginName": "@commercelayer/cli-plugin-triggers",
10660
10660
  "pluginType": "core",
@@ -10665,10 +10665,10 @@
10665
10665
  "lib",
10666
10666
  "commands",
10667
10667
  "line_item",
10668
- "remove_tags.js"
10668
+ "add_tags.js"
10669
10669
  ]
10670
10670
  },
10671
- "line_item:reserve_stock": {
10671
+ "line_item:external_price": {
10672
10672
  "aliases": [],
10673
10673
  "args": {
10674
10674
  "id": {
@@ -10677,7 +10677,7 @@
10677
10677
  "required": true
10678
10678
  }
10679
10679
  },
10680
- "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.",
10680
+ "description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
10681
10681
  "flags": {
10682
10682
  "organization": {
10683
10683
  "char": "o",
@@ -10742,7 +10742,7 @@
10742
10742
  },
10743
10743
  "hasDynamicHelp": false,
10744
10744
  "hiddenAliases": [],
10745
- "id": "line_item:reserve_stock",
10745
+ "id": "line_item:external_price",
10746
10746
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10747
10747
  "pluginName": "@commercelayer/cli-plugin-triggers",
10748
10748
  "pluginType": "core",
@@ -10753,10 +10753,10 @@
10753
10753
  "lib",
10754
10754
  "commands",
10755
10755
  "line_item",
10756
- "reserve_stock.js"
10756
+ "external_price.js"
10757
10757
  ]
10758
10758
  },
10759
- "line_item:reset_circuit": {
10759
+ "line_item": {
10760
10760
  "aliases": [],
10761
10761
  "args": {
10762
10762
  "id": {
@@ -10765,7 +10765,7 @@
10765
10765
  "required": true
10766
10766
  }
10767
10767
  },
10768
- "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.",
10768
+ "description": "execute an action on a resource of type line_items",
10769
10769
  "flags": {
10770
10770
  "organization": {
10771
10771
  "char": "o",
@@ -10830,7 +10830,7 @@
10830
10830
  },
10831
10831
  "hasDynamicHelp": false,
10832
10832
  "hiddenAliases": [],
10833
- "id": "line_item:reset_circuit",
10833
+ "id": "line_item",
10834
10834
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10835
10835
  "pluginName": "@commercelayer/cli-plugin-triggers",
10836
10836
  "pluginType": "core",
@@ -10841,10 +10841,10 @@
10841
10841
  "lib",
10842
10842
  "commands",
10843
10843
  "line_item",
10844
- "reset_circuit.js"
10844
+ "index.js"
10845
10845
  ]
10846
10846
  },
10847
- "line_item:reset_restocked_quantity": {
10847
+ "line_item:remove_tags": {
10848
10848
  "aliases": [],
10849
10849
  "args": {
10850
10850
  "id": {
@@ -10853,7 +10853,7 @@
10853
10853
  "required": true
10854
10854
  }
10855
10855
  },
10856
- "description": "Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.",
10856
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10857
10857
  "flags": {
10858
10858
  "organization": {
10859
10859
  "char": "o",
@@ -10918,7 +10918,7 @@
10918
10918
  },
10919
10919
  "hasDynamicHelp": false,
10920
10920
  "hiddenAliases": [],
10921
- "id": "line_item:reset_restocked_quantity",
10921
+ "id": "line_item:remove_tags",
10922
10922
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10923
10923
  "pluginName": "@commercelayer/cli-plugin-triggers",
10924
10924
  "pluginType": "core",
@@ -10929,10 +10929,10 @@
10929
10929
  "lib",
10930
10930
  "commands",
10931
10931
  "line_item",
10932
- "reset_restocked_quantity.js"
10932
+ "remove_tags.js"
10933
10933
  ]
10934
10934
  },
10935
- "line_item_option:add_tags": {
10935
+ "line_item:reserve_stock": {
10936
10936
  "aliases": [],
10937
10937
  "args": {
10938
10938
  "id": {
@@ -10941,7 +10941,7 @@
10941
10941
  "required": true
10942
10942
  }
10943
10943
  },
10944
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10944
+ "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed. Cannot be passed by sales channels.",
10945
10945
  "flags": {
10946
10946
  "organization": {
10947
10947
  "char": "o",
@@ -11006,7 +11006,7 @@
11006
11006
  },
11007
11007
  "hasDynamicHelp": false,
11008
11008
  "hiddenAliases": [],
11009
- "id": "line_item_option:add_tags",
11009
+ "id": "line_item:reserve_stock",
11010
11010
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11011
11011
  "pluginName": "@commercelayer/cli-plugin-triggers",
11012
11012
  "pluginType": "core",
@@ -11016,11 +11016,11 @@
11016
11016
  "relativePath": [
11017
11017
  "lib",
11018
11018
  "commands",
11019
- "line_item_option",
11020
- "add_tags.js"
11019
+ "line_item",
11020
+ "reserve_stock.js"
11021
11021
  ]
11022
11022
  },
11023
- "line_item_option": {
11023
+ "line_item:reset_circuit": {
11024
11024
  "aliases": [],
11025
11025
  "args": {
11026
11026
  "id": {
@@ -11029,7 +11029,7 @@
11029
11029
  "required": true
11030
11030
  }
11031
11031
  },
11032
- "description": "execute an action on a resource of type line_item_options",
11032
+ "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.",
11033
11033
  "flags": {
11034
11034
  "organization": {
11035
11035
  "char": "o",
@@ -11094,7 +11094,7 @@
11094
11094
  },
11095
11095
  "hasDynamicHelp": false,
11096
11096
  "hiddenAliases": [],
11097
- "id": "line_item_option",
11097
+ "id": "line_item:reset_circuit",
11098
11098
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11099
11099
  "pluginName": "@commercelayer/cli-plugin-triggers",
11100
11100
  "pluginType": "core",
@@ -11104,11 +11104,11 @@
11104
11104
  "relativePath": [
11105
11105
  "lib",
11106
11106
  "commands",
11107
- "line_item_option",
11108
- "index.js"
11107
+ "line_item",
11108
+ "reset_circuit.js"
11109
11109
  ]
11110
11110
  },
11111
- "line_item_option:remove_tags": {
11111
+ "line_item:reset_restocked_quantity": {
11112
11112
  "aliases": [],
11113
11113
  "args": {
11114
11114
  "id": {
@@ -11117,7 +11117,7 @@
11117
11117
  "required": true
11118
11118
  }
11119
11119
  },
11120
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
11120
+ "description": "Send this attribute if you want to reset the quantity restocked by a return or by an order/shipment cancel. This will allow for multiple returns, albeit you need to adjust the stock manually. Cannot be passed by sales channels.",
11121
11121
  "flags": {
11122
11122
  "organization": {
11123
11123
  "char": "o",
@@ -11182,7 +11182,7 @@
11182
11182
  },
11183
11183
  "hasDynamicHelp": false,
11184
11184
  "hiddenAliases": [],
11185
- "id": "line_item_option:remove_tags",
11185
+ "id": "line_item:reset_restocked_quantity",
11186
11186
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11187
11187
  "pluginName": "@commercelayer/cli-plugin-triggers",
11188
11188
  "pluginType": "core",
@@ -11192,8 +11192,8 @@
11192
11192
  "relativePath": [
11193
11193
  "lib",
11194
11194
  "commands",
11195
- "line_item_option",
11196
- "remove_tags.js"
11195
+ "line_item",
11196
+ "reset_restocked_quantity.js"
11197
11197
  ]
11198
11198
  },
11199
11199
  "link:disable": {
@@ -11988,7 +11988,7 @@
11988
11988
  "index.js"
11989
11989
  ]
11990
11990
  },
11991
- "order:add_tags": {
11991
+ "order_subscription:activate": {
11992
11992
  "aliases": [],
11993
11993
  "args": {
11994
11994
  "id": {
@@ -11997,7 +11997,7 @@
11997
11997
  "required": true
11998
11998
  }
11999
11999
  },
12000
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12000
+ "description": "Send this attribute if you want to mark this subscription as active.",
12001
12001
  "flags": {
12002
12002
  "organization": {
12003
12003
  "char": "o",
@@ -12062,7 +12062,7 @@
12062
12062
  },
12063
12063
  "hasDynamicHelp": false,
12064
12064
  "hiddenAliases": [],
12065
- "id": "order:add_tags",
12065
+ "id": "order_subscription:activate",
12066
12066
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12067
12067
  "pluginName": "@commercelayer/cli-plugin-triggers",
12068
12068
  "pluginType": "core",
@@ -12072,11 +12072,11 @@
12072
12072
  "relativePath": [
12073
12073
  "lib",
12074
12074
  "commands",
12075
- "order",
12076
- "add_tags.js"
12075
+ "order_subscription",
12076
+ "activate.js"
12077
12077
  ]
12078
12078
  },
12079
- "order:approve": {
12079
+ "order_subscription:add_tags": {
12080
12080
  "aliases": [],
12081
12081
  "args": {
12082
12082
  "id": {
@@ -12085,7 +12085,7 @@
12085
12085
  "required": true
12086
12086
  }
12087
12087
  },
12088
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
12088
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12089
12089
  "flags": {
12090
12090
  "organization": {
12091
12091
  "char": "o",
@@ -12150,7 +12150,7 @@
12150
12150
  },
12151
12151
  "hasDynamicHelp": false,
12152
12152
  "hiddenAliases": [],
12153
- "id": "order:approve",
12153
+ "id": "order_subscription:add_tags",
12154
12154
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12155
12155
  "pluginName": "@commercelayer/cli-plugin-triggers",
12156
12156
  "pluginType": "core",
@@ -12160,11 +12160,11 @@
12160
12160
  "relativePath": [
12161
12161
  "lib",
12162
12162
  "commands",
12163
- "order",
12164
- "approve.js"
12163
+ "order_subscription",
12164
+ "add_tags.js"
12165
12165
  ]
12166
12166
  },
12167
- "order:approve_and_capture": {
12167
+ "order_subscription:cancel": {
12168
12168
  "aliases": [],
12169
12169
  "args": {
12170
12170
  "id": {
@@ -12173,7 +12173,7 @@
12173
12173
  "required": true
12174
12174
  }
12175
12175
  },
12176
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
12176
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
12177
12177
  "flags": {
12178
12178
  "organization": {
12179
12179
  "char": "o",
@@ -12238,7 +12238,7 @@
12238
12238
  },
12239
12239
  "hasDynamicHelp": false,
12240
12240
  "hiddenAliases": [],
12241
- "id": "order:approve_and_capture",
12241
+ "id": "order_subscription:cancel",
12242
12242
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12243
12243
  "pluginName": "@commercelayer/cli-plugin-triggers",
12244
12244
  "pluginType": "core",
@@ -12248,11 +12248,11 @@
12248
12248
  "relativePath": [
12249
12249
  "lib",
12250
12250
  "commands",
12251
- "order",
12252
- "approve_and_capture.js"
12251
+ "order_subscription",
12252
+ "cancel.js"
12253
12253
  ]
12254
12254
  },
12255
- "order:archive": {
12255
+ "order_subscription:convert": {
12256
12256
  "aliases": [],
12257
12257
  "args": {
12258
12258
  "id": {
@@ -12261,7 +12261,7 @@
12261
12261
  "required": true
12262
12262
  }
12263
12263
  },
12264
- "description": "Send this attribute if you want to archive the order.",
12264
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
12265
12265
  "flags": {
12266
12266
  "organization": {
12267
12267
  "char": "o",
@@ -12326,7 +12326,7 @@
12326
12326
  },
12327
12327
  "hasDynamicHelp": false,
12328
12328
  "hiddenAliases": [],
12329
- "id": "order:archive",
12329
+ "id": "order_subscription:convert",
12330
12330
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12331
12331
  "pluginName": "@commercelayer/cli-plugin-triggers",
12332
12332
  "pluginType": "core",
@@ -12336,11 +12336,11 @@
12336
12336
  "relativePath": [
12337
12337
  "lib",
12338
12338
  "commands",
12339
- "order",
12340
- "archive.js"
12339
+ "order_subscription",
12340
+ "convert.js"
12341
12341
  ]
12342
12342
  },
12343
- "order:authorization_amount_cents": {
12343
+ "order_subscription:deactivate": {
12344
12344
  "aliases": [],
12345
12345
  "args": {
12346
12346
  "id": {
@@ -12349,7 +12349,7 @@
12349
12349
  "required": true
12350
12350
  }
12351
12351
  },
12352
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
12352
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
12353
12353
  "flags": {
12354
12354
  "organization": {
12355
12355
  "char": "o",
@@ -12414,7 +12414,7 @@
12414
12414
  },
12415
12415
  "hasDynamicHelp": false,
12416
12416
  "hiddenAliases": [],
12417
- "id": "order:authorization_amount_cents",
12417
+ "id": "order_subscription:deactivate",
12418
12418
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12419
12419
  "pluginName": "@commercelayer/cli-plugin-triggers",
12420
12420
  "pluginType": "core",
@@ -12424,11 +12424,11 @@
12424
12424
  "relativePath": [
12425
12425
  "lib",
12426
12426
  "commands",
12427
- "order",
12428
- "authorization_amount_cents.js"
12427
+ "order_subscription",
12428
+ "deactivate.js"
12429
12429
  ]
12430
12430
  },
12431
- "order:authorize": {
12431
+ "order_subscription": {
12432
12432
  "aliases": [],
12433
12433
  "args": {
12434
12434
  "id": {
@@ -12437,7 +12437,7 @@
12437
12437
  "required": true
12438
12438
  }
12439
12439
  },
12440
- "description": "Send this attribute if you want to authorize the order's payment source.",
12440
+ "description": "execute an action on a resource of type order_subscriptions",
12441
12441
  "flags": {
12442
12442
  "organization": {
12443
12443
  "char": "o",
@@ -12502,7 +12502,7 @@
12502
12502
  },
12503
12503
  "hasDynamicHelp": false,
12504
12504
  "hiddenAliases": [],
12505
- "id": "order:authorize",
12505
+ "id": "order_subscription",
12506
12506
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12507
12507
  "pluginName": "@commercelayer/cli-plugin-triggers",
12508
12508
  "pluginType": "core",
@@ -12512,11 +12512,11 @@
12512
12512
  "relativePath": [
12513
12513
  "lib",
12514
12514
  "commands",
12515
- "order",
12516
- "authorize.js"
12515
+ "order_subscription",
12516
+ "index.js"
12517
12517
  ]
12518
12518
  },
12519
- "order:billing_address_clone_id": {
12519
+ "order_subscription:remove_tags": {
12520
12520
  "aliases": [],
12521
12521
  "args": {
12522
12522
  "id": {
@@ -12525,7 +12525,7 @@
12525
12525
  "required": true
12526
12526
  }
12527
12527
  },
12528
- "description": "The id of the address that you want to clone to create the order's billing address.",
12528
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12529
12529
  "flags": {
12530
12530
  "organization": {
12531
12531
  "char": "o",
@@ -12586,20 +12586,11 @@
12586
12586
  "name": "unformatted",
12587
12587
  "allowNo": false,
12588
12588
  "type": "boolean"
12589
- },
12590
- "value": {
12591
- "char": "v",
12592
- "description": "the trigger attribute value",
12593
- "name": "value",
12594
- "required": true,
12595
- "hasDynamicHelp": false,
12596
- "multiple": false,
12597
- "type": "option"
12598
12589
  }
12599
12590
  },
12600
12591
  "hasDynamicHelp": false,
12601
12592
  "hiddenAliases": [],
12602
- "id": "order:billing_address_clone_id",
12593
+ "id": "order_subscription:remove_tags",
12603
12594
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12604
12595
  "pluginName": "@commercelayer/cli-plugin-triggers",
12605
12596
  "pluginType": "core",
@@ -12609,11 +12600,11 @@
12609
12600
  "relativePath": [
12610
12601
  "lib",
12611
12602
  "commands",
12612
- "order",
12613
- "billing_address_clone_id.js"
12603
+ "order_subscription",
12604
+ "remove_tags.js"
12614
12605
  ]
12615
12606
  },
12616
- "order:billing_address_same_as_shipping": {
12607
+ "paypal_gateway:disable": {
12617
12608
  "aliases": [],
12618
12609
  "args": {
12619
12610
  "id": {
@@ -12622,7 +12613,7 @@
12622
12613
  "required": true
12623
12614
  }
12624
12615
  },
12625
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
12616
+ "description": "Send this attribute if you want to mark this resource as disabled.",
12626
12617
  "flags": {
12627
12618
  "organization": {
12628
12619
  "char": "o",
@@ -12687,7 +12678,7 @@
12687
12678
  },
12688
12679
  "hasDynamicHelp": false,
12689
12680
  "hiddenAliases": [],
12690
- "id": "order:billing_address_same_as_shipping",
12681
+ "id": "paypal_gateway:disable",
12691
12682
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12692
12683
  "pluginName": "@commercelayer/cli-plugin-triggers",
12693
12684
  "pluginType": "core",
@@ -12697,11 +12688,11 @@
12697
12688
  "relativePath": [
12698
12689
  "lib",
12699
12690
  "commands",
12700
- "order",
12701
- "billing_address_same_as_shipping.js"
12691
+ "paypal_gateway",
12692
+ "disable.js"
12702
12693
  ]
12703
12694
  },
12704
- "order:cancel": {
12695
+ "paypal_gateway:enable": {
12705
12696
  "aliases": [],
12706
12697
  "args": {
12707
12698
  "id": {
@@ -12710,7 +12701,7 @@
12710
12701
  "required": true
12711
12702
  }
12712
12703
  },
12713
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
12704
+ "description": "Send this attribute if you want to mark this resource as enabled.",
12714
12705
  "flags": {
12715
12706
  "organization": {
12716
12707
  "char": "o",
@@ -12775,7 +12766,7 @@
12775
12766
  },
12776
12767
  "hasDynamicHelp": false,
12777
12768
  "hiddenAliases": [],
12778
- "id": "order:cancel",
12769
+ "id": "paypal_gateway:enable",
12779
12770
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12780
12771
  "pluginName": "@commercelayer/cli-plugin-triggers",
12781
12772
  "pluginType": "core",
@@ -12785,11 +12776,11 @@
12785
12776
  "relativePath": [
12786
12777
  "lib",
12787
12778
  "commands",
12788
- "order",
12789
- "cancel.js"
12779
+ "paypal_gateway",
12780
+ "enable.js"
12790
12781
  ]
12791
12782
  },
12792
- "order:capture": {
12783
+ "paypal_gateway": {
12793
12784
  "aliases": [],
12794
12785
  "args": {
12795
12786
  "id": {
@@ -12798,7 +12789,7 @@
12798
12789
  "required": true
12799
12790
  }
12800
12791
  },
12801
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
12792
+ "description": "execute an action on a resource of type paypal_gateways",
12802
12793
  "flags": {
12803
12794
  "organization": {
12804
12795
  "char": "o",
@@ -12863,7 +12854,7 @@
12863
12854
  },
12864
12855
  "hasDynamicHelp": false,
12865
12856
  "hiddenAliases": [],
12866
- "id": "order:capture",
12857
+ "id": "paypal_gateway",
12867
12858
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12868
12859
  "pluginName": "@commercelayer/cli-plugin-triggers",
12869
12860
  "pluginType": "core",
@@ -12873,11 +12864,11 @@
12873
12864
  "relativePath": [
12874
12865
  "lib",
12875
12866
  "commands",
12876
- "order",
12877
- "capture.js"
12867
+ "paypal_gateway",
12868
+ "index.js"
12878
12869
  ]
12879
12870
  },
12880
- "order:commit_invoice": {
12871
+ "payment_method:disable": {
12881
12872
  "aliases": [],
12882
12873
  "args": {
12883
12874
  "id": {
@@ -12886,7 +12877,7 @@
12886
12877
  "required": true
12887
12878
  }
12888
12879
  },
12889
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12880
+ "description": "Send this attribute if you want to mark this resource as disabled.",
12890
12881
  "flags": {
12891
12882
  "organization": {
12892
12883
  "char": "o",
@@ -12951,7 +12942,7 @@
12951
12942
  },
12952
12943
  "hasDynamicHelp": false,
12953
12944
  "hiddenAliases": [],
12954
- "id": "order:commit_invoice",
12945
+ "id": "payment_method:disable",
12955
12946
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12956
12947
  "pluginName": "@commercelayer/cli-plugin-triggers",
12957
12948
  "pluginType": "core",
@@ -12961,11 +12952,11 @@
12961
12952
  "relativePath": [
12962
12953
  "lib",
12963
12954
  "commands",
12964
- "order",
12965
- "commit_invoice.js"
12955
+ "payment_method",
12956
+ "disable.js"
12966
12957
  ]
12967
12958
  },
12968
- "order:create_subscriptions": {
12959
+ "payment_method:enable": {
12969
12960
  "aliases": [],
12970
12961
  "args": {
12971
12962
  "id": {
@@ -12974,7 +12965,7 @@
12974
12965
  "required": true
12975
12966
  }
12976
12967
  },
12977
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
12968
+ "description": "Send this attribute if you want to mark this resource as enabled.",
12978
12969
  "flags": {
12979
12970
  "organization": {
12980
12971
  "char": "o",
@@ -13039,7 +13030,7 @@
13039
13030
  },
13040
13031
  "hasDynamicHelp": false,
13041
13032
  "hiddenAliases": [],
13042
- "id": "order:create_subscriptions",
13033
+ "id": "payment_method:enable",
13043
13034
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13044
13035
  "pluginName": "@commercelayer/cli-plugin-triggers",
13045
13036
  "pluginType": "core",
@@ -13049,11 +13040,11 @@
13049
13040
  "relativePath": [
13050
13041
  "lib",
13051
13042
  "commands",
13052
- "order",
13053
- "create_subscriptions.js"
13043
+ "payment_method",
13044
+ "enable.js"
13054
13045
  ]
13055
13046
  },
13056
- "order:customer_payment_source_id": {
13047
+ "payment_method": {
13057
13048
  "aliases": [],
13058
13049
  "args": {
13059
13050
  "id": {
@@ -13062,7 +13053,7 @@
13062
13053
  "required": true
13063
13054
  }
13064
13055
  },
13065
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
13056
+ "description": "execute an action on a resource of type payment_methods",
13066
13057
  "flags": {
13067
13058
  "organization": {
13068
13059
  "char": "o",
@@ -13123,20 +13114,11 @@
13123
13114
  "name": "unformatted",
13124
13115
  "allowNo": false,
13125
13116
  "type": "boolean"
13126
- },
13127
- "value": {
13128
- "char": "v",
13129
- "description": "the trigger attribute value",
13130
- "name": "value",
13131
- "required": true,
13132
- "hasDynamicHelp": false,
13133
- "multiple": false,
13134
- "type": "option"
13135
13117
  }
13136
13118
  },
13137
13119
  "hasDynamicHelp": false,
13138
13120
  "hiddenAliases": [],
13139
- "id": "order:customer_payment_source_id",
13121
+ "id": "payment_method",
13140
13122
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13141
13123
  "pluginName": "@commercelayer/cli-plugin-triggers",
13142
13124
  "pluginType": "core",
@@ -13146,11 +13128,11 @@
13146
13128
  "relativePath": [
13147
13129
  "lib",
13148
13130
  "commands",
13149
- "order",
13150
- "customer_payment_source_id.js"
13131
+ "payment_method",
13132
+ "index.js"
13151
13133
  ]
13152
13134
  },
13153
- "order:fix_payment_source": {
13135
+ "percentage_discount_promotion:add_tags": {
13154
13136
  "aliases": [],
13155
13137
  "args": {
13156
13138
  "id": {
@@ -13159,7 +13141,7 @@
13159
13141
  "required": true
13160
13142
  }
13161
13143
  },
13162
- "description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready to be approved. A tentative to fix the payment source is done before approval automatically. Cannot be passed by sales channels.",
13144
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13163
13145
  "flags": {
13164
13146
  "organization": {
13165
13147
  "char": "o",
@@ -13224,7 +13206,7 @@
13224
13206
  },
13225
13207
  "hasDynamicHelp": false,
13226
13208
  "hiddenAliases": [],
13227
- "id": "order:fix_payment_source",
13209
+ "id": "percentage_discount_promotion:add_tags",
13228
13210
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13229
13211
  "pluginName": "@commercelayer/cli-plugin-triggers",
13230
13212
  "pluginType": "core",
@@ -13234,11 +13216,11 @@
13234
13216
  "relativePath": [
13235
13217
  "lib",
13236
13218
  "commands",
13237
- "order",
13238
- "fix_payment_source.js"
13219
+ "percentage_discount_promotion",
13220
+ "add_tags.js"
13239
13221
  ]
13240
13222
  },
13241
- "order:fulfill": {
13223
+ "percentage_discount_promotion:disable": {
13242
13224
  "aliases": [],
13243
13225
  "args": {
13244
13226
  "id": {
@@ -13247,7 +13229,7 @@
13247
13229
  "required": true
13248
13230
  }
13249
13231
  },
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.",
13232
+ "description": "Send this attribute if you want to mark this resource as disabled.",
13251
13233
  "flags": {
13252
13234
  "organization": {
13253
13235
  "char": "o",
@@ -13312,7 +13294,7 @@
13312
13294
  },
13313
13295
  "hasDynamicHelp": false,
13314
13296
  "hiddenAliases": [],
13315
- "id": "order:fulfill",
13297
+ "id": "percentage_discount_promotion:disable",
13316
13298
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13317
13299
  "pluginName": "@commercelayer/cli-plugin-triggers",
13318
13300
  "pluginType": "core",
@@ -13322,11 +13304,11 @@
13322
13304
  "relativePath": [
13323
13305
  "lib",
13324
13306
  "commands",
13325
- "order",
13326
- "fulfill.js"
13307
+ "percentage_discount_promotion",
13308
+ "disable.js"
13327
13309
  ]
13328
13310
  },
13329
- "order": {
13311
+ "percentage_discount_promotion:enable": {
13330
13312
  "aliases": [],
13331
13313
  "args": {
13332
13314
  "id": {
@@ -13335,7 +13317,7 @@
13335
13317
  "required": true
13336
13318
  }
13337
13319
  },
13338
- "description": "execute an action on a resource of type orders",
13320
+ "description": "Send this attribute if you want to mark this resource as enabled.",
13339
13321
  "flags": {
13340
13322
  "organization": {
13341
13323
  "char": "o",
@@ -13400,7 +13382,7 @@
13400
13382
  },
13401
13383
  "hasDynamicHelp": false,
13402
13384
  "hiddenAliases": [],
13403
- "id": "order",
13385
+ "id": "percentage_discount_promotion:enable",
13404
13386
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13405
13387
  "pluginName": "@commercelayer/cli-plugin-triggers",
13406
13388
  "pluginType": "core",
@@ -13410,11 +13392,11 @@
13410
13392
  "relativePath": [
13411
13393
  "lib",
13412
13394
  "commands",
13413
- "order",
13414
- "index.js"
13395
+ "percentage_discount_promotion",
13396
+ "enable.js"
13415
13397
  ]
13416
13398
  },
13417
- "order:nullify_payment_source": {
13399
+ "percentage_discount_promotion": {
13418
13400
  "aliases": [],
13419
13401
  "args": {
13420
13402
  "id": {
@@ -13423,7 +13405,7 @@
13423
13405
  "required": true
13424
13406
  }
13425
13407
  },
13426
- "description": "Send this attribute if you want to nullify the payment source for this order.",
13408
+ "description": "execute an action on a resource of type percentage_discount_promotions",
13427
13409
  "flags": {
13428
13410
  "organization": {
13429
13411
  "char": "o",
@@ -13488,7 +13470,7 @@
13488
13470
  },
13489
13471
  "hasDynamicHelp": false,
13490
13472
  "hiddenAliases": [],
13491
- "id": "order:nullify_payment_source",
13473
+ "id": "percentage_discount_promotion",
13492
13474
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13493
13475
  "pluginName": "@commercelayer/cli-plugin-triggers",
13494
13476
  "pluginType": "core",
@@ -13498,11 +13480,11 @@
13498
13480
  "relativePath": [
13499
13481
  "lib",
13500
13482
  "commands",
13501
- "order",
13502
- "nullify_payment_source.js"
13483
+ "percentage_discount_promotion",
13484
+ "index.js"
13503
13485
  ]
13504
13486
  },
13505
- "order:pending": {
13487
+ "percentage_discount_promotion:remove_tags": {
13506
13488
  "aliases": [],
13507
13489
  "args": {
13508
13490
  "id": {
@@ -13511,7 +13493,7 @@
13511
13493
  "required": true
13512
13494
  }
13513
13495
  },
13514
- "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
13496
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13515
13497
  "flags": {
13516
13498
  "organization": {
13517
13499
  "char": "o",
@@ -13576,7 +13558,7 @@
13576
13558
  },
13577
13559
  "hasDynamicHelp": false,
13578
13560
  "hiddenAliases": [],
13579
- "id": "order:pending",
13561
+ "id": "percentage_discount_promotion:remove_tags",
13580
13562
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13581
13563
  "pluginName": "@commercelayer/cli-plugin-triggers",
13582
13564
  "pluginType": "core",
@@ -13586,11 +13568,11 @@
13586
13568
  "relativePath": [
13587
13569
  "lib",
13588
13570
  "commands",
13589
- "order",
13590
- "pending.js"
13571
+ "percentage_discount_promotion",
13572
+ "remove_tags.js"
13591
13573
  ]
13592
13574
  },
13593
- "order:place": {
13575
+ "price_list_scheduler:disable": {
13594
13576
  "aliases": [],
13595
13577
  "args": {
13596
13578
  "id": {
@@ -13599,7 +13581,7 @@
13599
13581
  "required": true
13600
13582
  }
13601
13583
  },
13602
- "description": "Send this attribute if you want to place the order.",
13584
+ "description": "Send this attribute if you want to mark this resource as disabled.",
13603
13585
  "flags": {
13604
13586
  "organization": {
13605
13587
  "char": "o",
@@ -13664,7 +13646,7 @@
13664
13646
  },
13665
13647
  "hasDynamicHelp": false,
13666
13648
  "hiddenAliases": [],
13667
- "id": "order:place",
13649
+ "id": "price_list_scheduler:disable",
13668
13650
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13669
13651
  "pluginName": "@commercelayer/cli-plugin-triggers",
13670
13652
  "pluginType": "core",
@@ -13674,11 +13656,11 @@
13674
13656
  "relativePath": [
13675
13657
  "lib",
13676
13658
  "commands",
13677
- "order",
13678
- "place.js"
13659
+ "price_list_scheduler",
13660
+ "disable.js"
13679
13661
  ]
13680
13662
  },
13681
- "order:refresh": {
13663
+ "price_list_scheduler:enable": {
13682
13664
  "aliases": [],
13683
13665
  "args": {
13684
13666
  "id": {
@@ -13687,7 +13669,7 @@
13687
13669
  "required": true
13688
13670
  }
13689
13671
  },
13690
- "description": "Send this attribute if you want to manually refresh the order.",
13672
+ "description": "Send this attribute if you want to mark this resource as enabled.",
13691
13673
  "flags": {
13692
13674
  "organization": {
13693
13675
  "char": "o",
@@ -13752,7 +13734,7 @@
13752
13734
  },
13753
13735
  "hasDynamicHelp": false,
13754
13736
  "hiddenAliases": [],
13755
- "id": "order:refresh",
13737
+ "id": "price_list_scheduler:enable",
13756
13738
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13757
13739
  "pluginName": "@commercelayer/cli-plugin-triggers",
13758
13740
  "pluginType": "core",
@@ -13762,11 +13744,11 @@
13762
13744
  "relativePath": [
13763
13745
  "lib",
13764
13746
  "commands",
13765
- "order",
13766
- "refresh.js"
13747
+ "price_list_scheduler",
13748
+ "enable.js"
13767
13749
  ]
13768
13750
  },
13769
- "order:refund": {
13751
+ "price_list_scheduler": {
13770
13752
  "aliases": [],
13771
13753
  "args": {
13772
13754
  "id": {
@@ -13775,7 +13757,7 @@
13775
13757
  "required": true
13776
13758
  }
13777
13759
  },
13778
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
13760
+ "description": "execute an action on a resource of type price_list_schedulers",
13779
13761
  "flags": {
13780
13762
  "organization": {
13781
13763
  "char": "o",
@@ -13840,7 +13822,7 @@
13840
13822
  },
13841
13823
  "hasDynamicHelp": false,
13842
13824
  "hiddenAliases": [],
13843
- "id": "order:refund",
13825
+ "id": "price_list_scheduler",
13844
13826
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13845
13827
  "pluginName": "@commercelayer/cli-plugin-triggers",
13846
13828
  "pluginType": "core",
@@ -13850,11 +13832,11 @@
13850
13832
  "relativePath": [
13851
13833
  "lib",
13852
13834
  "commands",
13853
- "order",
13854
- "refund.js"
13835
+ "price_list_scheduler",
13836
+ "index.js"
13855
13837
  ]
13856
13838
  },
13857
- "order:refund_invoice": {
13839
+ "refund:forward": {
13858
13840
  "aliases": [],
13859
13841
  "args": {
13860
13842
  "id": {
@@ -13863,7 +13845,7 @@
13863
13845
  "required": true
13864
13846
  }
13865
13847
  },
13866
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
13848
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
13867
13849
  "flags": {
13868
13850
  "organization": {
13869
13851
  "char": "o",
@@ -13928,7 +13910,7 @@
13928
13910
  },
13929
13911
  "hasDynamicHelp": false,
13930
13912
  "hiddenAliases": [],
13931
- "id": "order:refund_invoice",
13913
+ "id": "refund:forward",
13932
13914
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13933
13915
  "pluginName": "@commercelayer/cli-plugin-triggers",
13934
13916
  "pluginType": "core",
@@ -13938,11 +13920,11 @@
13938
13920
  "relativePath": [
13939
13921
  "lib",
13940
13922
  "commands",
13941
- "order",
13942
- "refund_invoice.js"
13923
+ "refund",
13924
+ "forward.js"
13943
13925
  ]
13944
13926
  },
13945
- "order:remove_tags": {
13927
+ "refund": {
13946
13928
  "aliases": [],
13947
13929
  "args": {
13948
13930
  "id": {
@@ -13951,7 +13933,7 @@
13951
13933
  "required": true
13952
13934
  }
13953
13935
  },
13954
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13936
+ "description": "execute an action on a resource of type refunds",
13955
13937
  "flags": {
13956
13938
  "organization": {
13957
13939
  "char": "o",
@@ -14016,7 +13998,7 @@
14016
13998
  },
14017
13999
  "hasDynamicHelp": false,
14018
14000
  "hiddenAliases": [],
14019
- "id": "order:remove_tags",
14001
+ "id": "refund",
14020
14002
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14021
14003
  "pluginName": "@commercelayer/cli-plugin-triggers",
14022
14004
  "pluginType": "core",
@@ -14026,11 +14008,11 @@
14026
14008
  "relativePath": [
14027
14009
  "lib",
14028
14010
  "commands",
14029
- "order",
14030
- "remove_tags.js"
14011
+ "refund",
14012
+ "index.js"
14031
14013
  ]
14032
14014
  },
14033
- "order:reset_circuit": {
14015
+ "return:add_tags": {
14034
14016
  "aliases": [],
14035
14017
  "args": {
14036
14018
  "id": {
@@ -14039,7 +14021,7 @@
14039
14021
  "required": true
14040
14022
  }
14041
14023
  },
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.",
14024
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14043
14025
  "flags": {
14044
14026
  "organization": {
14045
14027
  "char": "o",
@@ -14104,7 +14086,7 @@
14104
14086
  },
14105
14087
  "hasDynamicHelp": false,
14106
14088
  "hiddenAliases": [],
14107
- "id": "order:reset_circuit",
14089
+ "id": "return:add_tags",
14108
14090
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14109
14091
  "pluginName": "@commercelayer/cli-plugin-triggers",
14110
14092
  "pluginType": "core",
@@ -14114,11 +14096,11 @@
14114
14096
  "relativePath": [
14115
14097
  "lib",
14116
14098
  "commands",
14117
- "order",
14118
- "reset_circuit.js"
14099
+ "return",
14100
+ "add_tags.js"
14119
14101
  ]
14120
14102
  },
14121
- "order:save_billing_address_to_customer_address_book": {
14103
+ "return:approve": {
14122
14104
  "aliases": [],
14123
14105
  "args": {
14124
14106
  "id": {
@@ -14127,7 +14109,7 @@
14127
14109
  "required": true
14128
14110
  }
14129
14111
  },
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.",
14112
+ "description": "Send this attribute if you want to mark this return as approved.",
14131
14113
  "flags": {
14132
14114
  "organization": {
14133
14115
  "char": "o",
@@ -14192,7 +14174,7 @@
14192
14174
  },
14193
14175
  "hasDynamicHelp": false,
14194
14176
  "hiddenAliases": [],
14195
- "id": "order:save_billing_address_to_customer_address_book",
14177
+ "id": "return:approve",
14196
14178
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14197
14179
  "pluginName": "@commercelayer/cli-plugin-triggers",
14198
14180
  "pluginType": "core",
@@ -14202,11 +14184,11 @@
14202
14184
  "relativePath": [
14203
14185
  "lib",
14204
14186
  "commands",
14205
- "order",
14206
- "save_billing_address_to_customer_address_book.js"
14187
+ "return",
14188
+ "approve.js"
14207
14189
  ]
14208
14190
  },
14209
- "order:save_payment_source_to_customer_wallet": {
14191
+ "return:archive": {
14210
14192
  "aliases": [],
14211
14193
  "args": {
14212
14194
  "id": {
@@ -14215,7 +14197,7 @@
14215
14197
  "required": true
14216
14198
  }
14217
14199
  },
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.",
14200
+ "description": "Send this attribute if you want to archive the return.",
14219
14201
  "flags": {
14220
14202
  "organization": {
14221
14203
  "char": "o",
@@ -14280,7 +14262,7 @@
14280
14262
  },
14281
14263
  "hasDynamicHelp": false,
14282
14264
  "hiddenAliases": [],
14283
- "id": "order:save_payment_source_to_customer_wallet",
14265
+ "id": "return:archive",
14284
14266
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14285
14267
  "pluginName": "@commercelayer/cli-plugin-triggers",
14286
14268
  "pluginType": "core",
@@ -14290,11 +14272,11 @@
14290
14272
  "relativePath": [
14291
14273
  "lib",
14292
14274
  "commands",
14293
- "order",
14294
- "save_payment_source_to_customer_wallet.js"
14275
+ "return",
14276
+ "archive.js"
14295
14277
  ]
14296
14278
  },
14297
- "order:save_shipping_address_to_customer_address_book": {
14279
+ "return:cancel": {
14298
14280
  "aliases": [],
14299
14281
  "args": {
14300
14282
  "id": {
@@ -14303,7 +14285,7 @@
14303
14285
  "required": true
14304
14286
  }
14305
14287
  },
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.",
14288
+ "description": "Send this attribute if you want to mark this return as cancelled.",
14307
14289
  "flags": {
14308
14290
  "organization": {
14309
14291
  "char": "o",
@@ -14368,7 +14350,7 @@
14368
14350
  },
14369
14351
  "hasDynamicHelp": false,
14370
14352
  "hiddenAliases": [],
14371
- "id": "order:save_shipping_address_to_customer_address_book",
14353
+ "id": "return:cancel",
14372
14354
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14373
14355
  "pluginName": "@commercelayer/cli-plugin-triggers",
14374
14356
  "pluginType": "core",
@@ -14378,11 +14360,11 @@
14378
14360
  "relativePath": [
14379
14361
  "lib",
14380
14362
  "commands",
14381
- "order",
14382
- "save_shipping_address_to_customer_address_book.js"
14363
+ "return",
14364
+ "cancel.js"
14383
14365
  ]
14384
14366
  },
14385
- "order:shipping_address_clone_id": {
14367
+ "return": {
14386
14368
  "aliases": [],
14387
14369
  "args": {
14388
14370
  "id": {
@@ -14391,7 +14373,7 @@
14391
14373
  "required": true
14392
14374
  }
14393
14375
  },
14394
- "description": "The id of the address that you want to clone to create the order's shipping address.",
14376
+ "description": "execute an action on a resource of type returns",
14395
14377
  "flags": {
14396
14378
  "organization": {
14397
14379
  "char": "o",
@@ -14452,20 +14434,11 @@
14452
14434
  "name": "unformatted",
14453
14435
  "allowNo": false,
14454
14436
  "type": "boolean"
14455
- },
14456
- "value": {
14457
- "char": "v",
14458
- "description": "the trigger attribute value",
14459
- "name": "value",
14460
- "required": true,
14461
- "hasDynamicHelp": false,
14462
- "multiple": false,
14463
- "type": "option"
14464
14437
  }
14465
14438
  },
14466
14439
  "hasDynamicHelp": false,
14467
14440
  "hiddenAliases": [],
14468
- "id": "order:shipping_address_clone_id",
14441
+ "id": "return",
14469
14442
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14470
14443
  "pluginName": "@commercelayer/cli-plugin-triggers",
14471
14444
  "pluginType": "core",
@@ -14475,11 +14448,11 @@
14475
14448
  "relativePath": [
14476
14449
  "lib",
14477
14450
  "commands",
14478
- "order",
14479
- "shipping_address_clone_id.js"
14451
+ "return",
14452
+ "index.js"
14480
14453
  ]
14481
14454
  },
14482
- "order:shipping_address_same_as_billing": {
14455
+ "return:receive": {
14483
14456
  "aliases": [],
14484
14457
  "args": {
14485
14458
  "id": {
@@ -14488,7 +14461,7 @@
14488
14461
  "required": true
14489
14462
  }
14490
14463
  },
14491
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
14464
+ "description": "Send this attribute if you want to mark this return as received.",
14492
14465
  "flags": {
14493
14466
  "organization": {
14494
14467
  "char": "o",
@@ -14553,7 +14526,7 @@
14553
14526
  },
14554
14527
  "hasDynamicHelp": false,
14555
14528
  "hiddenAliases": [],
14556
- "id": "order:shipping_address_same_as_billing",
14529
+ "id": "return:receive",
14557
14530
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14558
14531
  "pluginName": "@commercelayer/cli-plugin-triggers",
14559
14532
  "pluginType": "core",
@@ -14563,11 +14536,11 @@
14563
14536
  "relativePath": [
14564
14537
  "lib",
14565
14538
  "commands",
14566
- "order",
14567
- "shipping_address_same_as_billing.js"
14539
+ "return",
14540
+ "receive.js"
14568
14541
  ]
14569
14542
  },
14570
- "order:start_editing": {
14543
+ "return:refund": {
14571
14544
  "aliases": [],
14572
14545
  "args": {
14573
14546
  "id": {
@@ -14576,7 +14549,7 @@
14576
14549
  "required": true
14577
14550
  }
14578
14551
  },
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.",
14552
+ "description": "Send this attribute if you want to create a refund for this return.",
14580
14553
  "flags": {
14581
14554
  "organization": {
14582
14555
  "char": "o",
@@ -14641,7 +14614,7 @@
14641
14614
  },
14642
14615
  "hasDynamicHelp": false,
14643
14616
  "hiddenAliases": [],
14644
- "id": "order:start_editing",
14617
+ "id": "return:refund",
14645
14618
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14646
14619
  "pluginName": "@commercelayer/cli-plugin-triggers",
14647
14620
  "pluginType": "core",
@@ -14651,11 +14624,11 @@
14651
14624
  "relativePath": [
14652
14625
  "lib",
14653
14626
  "commands",
14654
- "order",
14655
- "start_editing.js"
14627
+ "return",
14628
+ "refund.js"
14656
14629
  ]
14657
14630
  },
14658
- "order:stop_editing": {
14631
+ "return:refund_amount_cents": {
14659
14632
  "aliases": [],
14660
14633
  "args": {
14661
14634
  "id": {
@@ -14664,7 +14637,7 @@
14664
14637
  "required": true
14665
14638
  }
14666
14639
  },
14667
- "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
14640
+ "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
14668
14641
  "flags": {
14669
14642
  "organization": {
14670
14643
  "char": "o",
@@ -14729,7 +14702,7 @@
14729
14702
  },
14730
14703
  "hasDynamicHelp": false,
14731
14704
  "hiddenAliases": [],
14732
- "id": "order:stop_editing",
14705
+ "id": "return:refund_amount_cents",
14733
14706
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14734
14707
  "pluginName": "@commercelayer/cli-plugin-triggers",
14735
14708
  "pluginType": "core",
@@ -14739,11 +14712,11 @@
14739
14712
  "relativePath": [
14740
14713
  "lib",
14741
14714
  "commands",
14742
- "order",
14743
- "stop_editing.js"
14715
+ "return",
14716
+ "refund_amount_cents.js"
14744
14717
  ]
14745
14718
  },
14746
- "order:unarchive": {
14719
+ "return:reject": {
14747
14720
  "aliases": [],
14748
14721
  "args": {
14749
14722
  "id": {
@@ -14752,7 +14725,7 @@
14752
14725
  "required": true
14753
14726
  }
14754
14727
  },
14755
- "description": "Send this attribute if you want to unarchive the order.",
14728
+ "description": "Send this attribute if you want to mark this return as rejected.",
14756
14729
  "flags": {
14757
14730
  "organization": {
14758
14731
  "char": "o",
@@ -14817,7 +14790,7 @@
14817
14790
  },
14818
14791
  "hasDynamicHelp": false,
14819
14792
  "hiddenAliases": [],
14820
- "id": "order:unarchive",
14793
+ "id": "return:reject",
14821
14794
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14822
14795
  "pluginName": "@commercelayer/cli-plugin-triggers",
14823
14796
  "pluginType": "core",
@@ -14827,11 +14800,11 @@
14827
14800
  "relativePath": [
14828
14801
  "lib",
14829
14802
  "commands",
14830
- "order",
14831
- "unarchive.js"
14803
+ "return",
14804
+ "reject.js"
14832
14805
  ]
14833
14806
  },
14834
- "order:update_taxes": {
14807
+ "return:remove_tags": {
14835
14808
  "aliases": [],
14836
14809
  "args": {
14837
14810
  "id": {
@@ -14840,7 +14813,7 @@
14840
14813
  "required": true
14841
14814
  }
14842
14815
  },
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).",
14816
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14844
14817
  "flags": {
14845
14818
  "organization": {
14846
14819
  "char": "o",
@@ -14905,7 +14878,7 @@
14905
14878
  },
14906
14879
  "hasDynamicHelp": false,
14907
14880
  "hiddenAliases": [],
14908
- "id": "order:update_taxes",
14881
+ "id": "return:remove_tags",
14909
14882
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14910
14883
  "pluginName": "@commercelayer/cli-plugin-triggers",
14911
14884
  "pluginType": "core",
@@ -14915,11 +14888,11 @@
14915
14888
  "relativePath": [
14916
14889
  "lib",
14917
14890
  "commands",
14918
- "order",
14919
- "update_taxes.js"
14891
+ "return",
14892
+ "remove_tags.js"
14920
14893
  ]
14921
14894
  },
14922
- "order:validate": {
14895
+ "return:request": {
14923
14896
  "aliases": [],
14924
14897
  "args": {
14925
14898
  "id": {
@@ -14928,7 +14901,7 @@
14928
14901
  "required": true
14929
14902
  }
14930
14903
  },
14931
- "description": "Send this attribute if you want to trigger the external validation for the order.",
14904
+ "description": "Send this attribute if you want to activate this return.",
14932
14905
  "flags": {
14933
14906
  "organization": {
14934
14907
  "char": "o",
@@ -14993,7 +14966,7 @@
14993
14966
  },
14994
14967
  "hasDynamicHelp": false,
14995
14968
  "hiddenAliases": [],
14996
- "id": "order:validate",
14969
+ "id": "return:request",
14997
14970
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14998
14971
  "pluginName": "@commercelayer/cli-plugin-triggers",
14999
14972
  "pluginType": "core",
@@ -15003,11 +14976,11 @@
15003
14976
  "relativePath": [
15004
14977
  "lib",
15005
14978
  "commands",
15006
- "order",
15007
- "validate.js"
14979
+ "return",
14980
+ "request.js"
15008
14981
  ]
15009
14982
  },
15010
- "order_subscription:activate": {
14983
+ "return:restock": {
15011
14984
  "aliases": [],
15012
14985
  "args": {
15013
14986
  "id": {
@@ -15016,7 +14989,7 @@
15016
14989
  "required": true
15017
14990
  }
15018
14991
  },
15019
- "description": "Send this attribute if you want to mark this subscription as active.",
14992
+ "description": "Send this attribute if you want to restock all of the return line items.",
15020
14993
  "flags": {
15021
14994
  "organization": {
15022
14995
  "char": "o",
@@ -15081,7 +15054,7 @@
15081
15054
  },
15082
15055
  "hasDynamicHelp": false,
15083
15056
  "hiddenAliases": [],
15084
- "id": "order_subscription:activate",
15057
+ "id": "return:restock",
15085
15058
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15086
15059
  "pluginName": "@commercelayer/cli-plugin-triggers",
15087
15060
  "pluginType": "core",
@@ -15091,11 +15064,11 @@
15091
15064
  "relativePath": [
15092
15065
  "lib",
15093
15066
  "commands",
15094
- "order_subscription",
15095
- "activate.js"
15067
+ "return",
15068
+ "restock.js"
15096
15069
  ]
15097
15070
  },
15098
- "order_subscription:add_tags": {
15071
+ "return:ship": {
15099
15072
  "aliases": [],
15100
15073
  "args": {
15101
15074
  "id": {
@@ -15104,7 +15077,7 @@
15104
15077
  "required": true
15105
15078
  }
15106
15079
  },
15107
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15080
+ "description": "Send this attribute if you want to mark this return as shipped.",
15108
15081
  "flags": {
15109
15082
  "organization": {
15110
15083
  "char": "o",
@@ -15169,7 +15142,7 @@
15169
15142
  },
15170
15143
  "hasDynamicHelp": false,
15171
15144
  "hiddenAliases": [],
15172
- "id": "order_subscription:add_tags",
15145
+ "id": "return:ship",
15173
15146
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15174
15147
  "pluginName": "@commercelayer/cli-plugin-triggers",
15175
15148
  "pluginType": "core",
@@ -15179,11 +15152,11 @@
15179
15152
  "relativePath": [
15180
15153
  "lib",
15181
15154
  "commands",
15182
- "order_subscription",
15183
- "add_tags.js"
15155
+ "return",
15156
+ "ship.js"
15184
15157
  ]
15185
15158
  },
15186
- "order_subscription:cancel": {
15159
+ "return:unarchive": {
15187
15160
  "aliases": [],
15188
15161
  "args": {
15189
15162
  "id": {
@@ -15192,7 +15165,7 @@
15192
15165
  "required": true
15193
15166
  }
15194
15167
  },
15195
- "description": "Send this attribute if you want to mark this subscription as cancelled.",
15168
+ "description": "Send this attribute if you want to unarchive the return.",
15196
15169
  "flags": {
15197
15170
  "organization": {
15198
15171
  "char": "o",
@@ -15257,7 +15230,7 @@
15257
15230
  },
15258
15231
  "hasDynamicHelp": false,
15259
15232
  "hiddenAliases": [],
15260
- "id": "order_subscription:cancel",
15233
+ "id": "return:unarchive",
15261
15234
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15262
15235
  "pluginName": "@commercelayer/cli-plugin-triggers",
15263
15236
  "pluginType": "core",
@@ -15267,11 +15240,11 @@
15267
15240
  "relativePath": [
15268
15241
  "lib",
15269
15242
  "commands",
15270
- "order_subscription",
15271
- "cancel.js"
15243
+ "return",
15244
+ "unarchive.js"
15272
15245
  ]
15273
15246
  },
15274
- "order_subscription:convert": {
15247
+ "return_line_item": {
15275
15248
  "aliases": [],
15276
15249
  "args": {
15277
15250
  "id": {
@@ -15280,7 +15253,7 @@
15280
15253
  "required": true
15281
15254
  }
15282
15255
  },
15283
- "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
15256
+ "description": "execute an action on a resource of type return_line_items",
15284
15257
  "flags": {
15285
15258
  "organization": {
15286
15259
  "char": "o",
@@ -15345,7 +15318,7 @@
15345
15318
  },
15346
15319
  "hasDynamicHelp": false,
15347
15320
  "hiddenAliases": [],
15348
- "id": "order_subscription:convert",
15321
+ "id": "return_line_item",
15349
15322
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15350
15323
  "pluginName": "@commercelayer/cli-plugin-triggers",
15351
15324
  "pluginType": "core",
@@ -15355,11 +15328,11 @@
15355
15328
  "relativePath": [
15356
15329
  "lib",
15357
15330
  "commands",
15358
- "order_subscription",
15359
- "convert.js"
15331
+ "return_line_item",
15332
+ "index.js"
15360
15333
  ]
15361
15334
  },
15362
- "order_subscription:deactivate": {
15335
+ "return_line_item:restock": {
15363
15336
  "aliases": [],
15364
15337
  "args": {
15365
15338
  "id": {
@@ -15368,7 +15341,7 @@
15368
15341
  "required": true
15369
15342
  }
15370
15343
  },
15371
- "description": "Send this attribute if you want to mark this subscription as inactive.",
15344
+ "description": "Send this attribute if you want to restock the line item.",
15372
15345
  "flags": {
15373
15346
  "organization": {
15374
15347
  "char": "o",
@@ -15433,7 +15406,7 @@
15433
15406
  },
15434
15407
  "hasDynamicHelp": false,
15435
15408
  "hiddenAliases": [],
15436
- "id": "order_subscription:deactivate",
15409
+ "id": "return_line_item:restock",
15437
15410
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15438
15411
  "pluginName": "@commercelayer/cli-plugin-triggers",
15439
15412
  "pluginType": "core",
@@ -15443,11 +15416,11 @@
15443
15416
  "relativePath": [
15444
15417
  "lib",
15445
15418
  "commands",
15446
- "order_subscription",
15447
- "deactivate.js"
15419
+ "return_line_item",
15420
+ "restock.js"
15448
15421
  ]
15449
15422
  },
15450
- "order_subscription": {
15423
+ "satispay_gateway:disable": {
15451
15424
  "aliases": [],
15452
15425
  "args": {
15453
15426
  "id": {
@@ -15456,7 +15429,7 @@
15456
15429
  "required": true
15457
15430
  }
15458
15431
  },
15459
- "description": "execute an action on a resource of type order_subscriptions",
15432
+ "description": "Send this attribute if you want to mark this resource as disabled.",
15460
15433
  "flags": {
15461
15434
  "organization": {
15462
15435
  "char": "o",
@@ -15521,7 +15494,7 @@
15521
15494
  },
15522
15495
  "hasDynamicHelp": false,
15523
15496
  "hiddenAliases": [],
15524
- "id": "order_subscription",
15497
+ "id": "satispay_gateway:disable",
15525
15498
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15526
15499
  "pluginName": "@commercelayer/cli-plugin-triggers",
15527
15500
  "pluginType": "core",
@@ -15531,11 +15504,11 @@
15531
15504
  "relativePath": [
15532
15505
  "lib",
15533
15506
  "commands",
15534
- "order_subscription",
15535
- "index.js"
15507
+ "satispay_gateway",
15508
+ "disable.js"
15536
15509
  ]
15537
15510
  },
15538
- "order_subscription:remove_tags": {
15511
+ "satispay_gateway:enable": {
15539
15512
  "aliases": [],
15540
15513
  "args": {
15541
15514
  "id": {
@@ -15544,7 +15517,7 @@
15544
15517
  "required": true
15545
15518
  }
15546
15519
  },
15547
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15520
+ "description": "Send this attribute if you want to mark this resource as enabled.",
15548
15521
  "flags": {
15549
15522
  "organization": {
15550
15523
  "char": "o",
@@ -15609,7 +15582,7 @@
15609
15582
  },
15610
15583
  "hasDynamicHelp": false,
15611
15584
  "hiddenAliases": [],
15612
- "id": "order_subscription:remove_tags",
15585
+ "id": "satispay_gateway:enable",
15613
15586
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15614
15587
  "pluginName": "@commercelayer/cli-plugin-triggers",
15615
15588
  "pluginType": "core",
@@ -15619,11 +15592,11 @@
15619
15592
  "relativePath": [
15620
15593
  "lib",
15621
15594
  "commands",
15622
- "order_subscription",
15623
- "remove_tags.js"
15595
+ "satispay_gateway",
15596
+ "enable.js"
15624
15597
  ]
15625
15598
  },
15626
- "payment_method:disable": {
15599
+ "satispay_gateway": {
15627
15600
  "aliases": [],
15628
15601
  "args": {
15629
15602
  "id": {
@@ -15632,7 +15605,7 @@
15632
15605
  "required": true
15633
15606
  }
15634
15607
  },
15635
- "description": "Send this attribute if you want to mark this resource as disabled.",
15608
+ "description": "execute an action on a resource of type satispay_gateways",
15636
15609
  "flags": {
15637
15610
  "organization": {
15638
15611
  "char": "o",
@@ -15697,7 +15670,7 @@
15697
15670
  },
15698
15671
  "hasDynamicHelp": false,
15699
15672
  "hiddenAliases": [],
15700
- "id": "payment_method:disable",
15673
+ "id": "satispay_gateway",
15701
15674
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15702
15675
  "pluginName": "@commercelayer/cli-plugin-triggers",
15703
15676
  "pluginType": "core",
@@ -15707,11 +15680,11 @@
15707
15680
  "relativePath": [
15708
15681
  "lib",
15709
15682
  "commands",
15710
- "payment_method",
15711
- "disable.js"
15683
+ "satispay_gateway",
15684
+ "index.js"
15712
15685
  ]
15713
15686
  },
15714
- "payment_method:enable": {
15687
+ "satispay_payment": {
15715
15688
  "aliases": [],
15716
15689
  "args": {
15717
15690
  "id": {
@@ -15720,7 +15693,7 @@
15720
15693
  "required": true
15721
15694
  }
15722
15695
  },
15723
- "description": "Send this attribute if you want to mark this resource as enabled.",
15696
+ "description": "execute an action on a resource of type satispay_payments",
15724
15697
  "flags": {
15725
15698
  "organization": {
15726
15699
  "char": "o",
@@ -15785,7 +15758,7 @@
15785
15758
  },
15786
15759
  "hasDynamicHelp": false,
15787
15760
  "hiddenAliases": [],
15788
- "id": "payment_method:enable",
15761
+ "id": "satispay_payment",
15789
15762
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15790
15763
  "pluginName": "@commercelayer/cli-plugin-triggers",
15791
15764
  "pluginType": "core",
@@ -15795,11 +15768,11 @@
15795
15768
  "relativePath": [
15796
15769
  "lib",
15797
15770
  "commands",
15798
- "payment_method",
15799
- "enable.js"
15771
+ "satispay_payment",
15772
+ "index.js"
15800
15773
  ]
15801
15774
  },
15802
- "payment_method": {
15775
+ "satispay_payment:refresh": {
15803
15776
  "aliases": [],
15804
15777
  "args": {
15805
15778
  "id": {
@@ -15808,7 +15781,7 @@
15808
15781
  "required": true
15809
15782
  }
15810
15783
  },
15811
- "description": "execute an action on a resource of type payment_methods",
15784
+ "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
15812
15785
  "flags": {
15813
15786
  "organization": {
15814
15787
  "char": "o",
@@ -15873,7 +15846,7 @@
15873
15846
  },
15874
15847
  "hasDynamicHelp": false,
15875
15848
  "hiddenAliases": [],
15876
- "id": "payment_method",
15849
+ "id": "satispay_payment:refresh",
15877
15850
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15878
15851
  "pluginName": "@commercelayer/cli-plugin-triggers",
15879
15852
  "pluginType": "core",
@@ -15883,11 +15856,11 @@
15883
15856
  "relativePath": [
15884
15857
  "lib",
15885
15858
  "commands",
15886
- "payment_method",
15887
- "index.js"
15859
+ "satispay_payment",
15860
+ "refresh.js"
15888
15861
  ]
15889
15862
  },
15890
- "paypal_gateway:disable": {
15863
+ "shipping_method:add_tags": {
15891
15864
  "aliases": [],
15892
15865
  "args": {
15893
15866
  "id": {
@@ -15896,7 +15869,7 @@
15896
15869
  "required": true
15897
15870
  }
15898
15871
  },
15899
- "description": "Send this attribute if you want to mark this resource as disabled.",
15872
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15900
15873
  "flags": {
15901
15874
  "organization": {
15902
15875
  "char": "o",
@@ -15961,7 +15934,7 @@
15961
15934
  },
15962
15935
  "hasDynamicHelp": false,
15963
15936
  "hiddenAliases": [],
15964
- "id": "paypal_gateway:disable",
15937
+ "id": "shipping_method:add_tags",
15965
15938
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15966
15939
  "pluginName": "@commercelayer/cli-plugin-triggers",
15967
15940
  "pluginType": "core",
@@ -15971,11 +15944,11 @@
15971
15944
  "relativePath": [
15972
15945
  "lib",
15973
15946
  "commands",
15974
- "paypal_gateway",
15975
- "disable.js"
15947
+ "shipping_method",
15948
+ "add_tags.js"
15976
15949
  ]
15977
15950
  },
15978
- "paypal_gateway:enable": {
15951
+ "shipping_method:disable": {
15979
15952
  "aliases": [],
15980
15953
  "args": {
15981
15954
  "id": {
@@ -15984,7 +15957,7 @@
15984
15957
  "required": true
15985
15958
  }
15986
15959
  },
15987
- "description": "Send this attribute if you want to mark this resource as enabled.",
15960
+ "description": "Send this attribute if you want to mark this resource as disabled.",
15988
15961
  "flags": {
15989
15962
  "organization": {
15990
15963
  "char": "o",
@@ -16049,7 +16022,7 @@
16049
16022
  },
16050
16023
  "hasDynamicHelp": false,
16051
16024
  "hiddenAliases": [],
16052
- "id": "paypal_gateway:enable",
16025
+ "id": "shipping_method:disable",
16053
16026
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16054
16027
  "pluginName": "@commercelayer/cli-plugin-triggers",
16055
16028
  "pluginType": "core",
@@ -16059,11 +16032,11 @@
16059
16032
  "relativePath": [
16060
16033
  "lib",
16061
16034
  "commands",
16062
- "paypal_gateway",
16063
- "enable.js"
16035
+ "shipping_method",
16036
+ "disable.js"
16064
16037
  ]
16065
16038
  },
16066
- "paypal_gateway": {
16039
+ "shipping_method:enable": {
16067
16040
  "aliases": [],
16068
16041
  "args": {
16069
16042
  "id": {
@@ -16072,7 +16045,7 @@
16072
16045
  "required": true
16073
16046
  }
16074
16047
  },
16075
- "description": "execute an action on a resource of type paypal_gateways",
16048
+ "description": "Send this attribute if you want to mark this resource as enabled.",
16076
16049
  "flags": {
16077
16050
  "organization": {
16078
16051
  "char": "o",
@@ -16137,7 +16110,7 @@
16137
16110
  },
16138
16111
  "hasDynamicHelp": false,
16139
16112
  "hiddenAliases": [],
16140
- "id": "paypal_gateway",
16113
+ "id": "shipping_method:enable",
16141
16114
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16142
16115
  "pluginName": "@commercelayer/cli-plugin-triggers",
16143
16116
  "pluginType": "core",
@@ -16147,11 +16120,11 @@
16147
16120
  "relativePath": [
16148
16121
  "lib",
16149
16122
  "commands",
16150
- "paypal_gateway",
16151
- "index.js"
16123
+ "shipping_method",
16124
+ "enable.js"
16152
16125
  ]
16153
16126
  },
16154
- "percentage_discount_promotion:add_tags": {
16127
+ "shipping_method": {
16155
16128
  "aliases": [],
16156
16129
  "args": {
16157
16130
  "id": {
@@ -16160,7 +16133,7 @@
16160
16133
  "required": true
16161
16134
  }
16162
16135
  },
16163
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16136
+ "description": "execute an action on a resource of type shipping_methods",
16164
16137
  "flags": {
16165
16138
  "organization": {
16166
16139
  "char": "o",
@@ -16225,7 +16198,7 @@
16225
16198
  },
16226
16199
  "hasDynamicHelp": false,
16227
16200
  "hiddenAliases": [],
16228
- "id": "percentage_discount_promotion:add_tags",
16201
+ "id": "shipping_method",
16229
16202
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16230
16203
  "pluginName": "@commercelayer/cli-plugin-triggers",
16231
16204
  "pluginType": "core",
@@ -16235,11 +16208,11 @@
16235
16208
  "relativePath": [
16236
16209
  "lib",
16237
16210
  "commands",
16238
- "percentage_discount_promotion",
16239
- "add_tags.js"
16211
+ "shipping_method",
16212
+ "index.js"
16240
16213
  ]
16241
16214
  },
16242
- "percentage_discount_promotion:disable": {
16215
+ "shipping_method:remove_tags": {
16243
16216
  "aliases": [],
16244
16217
  "args": {
16245
16218
  "id": {
@@ -16248,7 +16221,7 @@
16248
16221
  "required": true
16249
16222
  }
16250
16223
  },
16251
- "description": "Send this attribute if you want to mark this resource as disabled.",
16224
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16252
16225
  "flags": {
16253
16226
  "organization": {
16254
16227
  "char": "o",
@@ -16313,7 +16286,7 @@
16313
16286
  },
16314
16287
  "hasDynamicHelp": false,
16315
16288
  "hiddenAliases": [],
16316
- "id": "percentage_discount_promotion:disable",
16289
+ "id": "shipping_method:remove_tags",
16317
16290
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16318
16291
  "pluginName": "@commercelayer/cli-plugin-triggers",
16319
16292
  "pluginType": "core",
@@ -16323,11 +16296,11 @@
16323
16296
  "relativePath": [
16324
16297
  "lib",
16325
16298
  "commands",
16326
- "percentage_discount_promotion",
16327
- "disable.js"
16299
+ "shipping_method",
16300
+ "remove_tags.js"
16328
16301
  ]
16329
16302
  },
16330
- "percentage_discount_promotion:enable": {
16303
+ "shipping_method:reset_circuit": {
16331
16304
  "aliases": [],
16332
16305
  "args": {
16333
16306
  "id": {
@@ -16336,7 +16309,7 @@
16336
16309
  "required": true
16337
16310
  }
16338
16311
  },
16339
- "description": "Send this attribute if you want to mark this resource as enabled.",
16312
+ "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.",
16340
16313
  "flags": {
16341
16314
  "organization": {
16342
16315
  "char": "o",
@@ -16401,7 +16374,7 @@
16401
16374
  },
16402
16375
  "hasDynamicHelp": false,
16403
16376
  "hiddenAliases": [],
16404
- "id": "percentage_discount_promotion:enable",
16377
+ "id": "shipping_method:reset_circuit",
16405
16378
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16406
16379
  "pluginName": "@commercelayer/cli-plugin-triggers",
16407
16380
  "pluginType": "core",
@@ -16411,11 +16384,11 @@
16411
16384
  "relativePath": [
16412
16385
  "lib",
16413
16386
  "commands",
16414
- "percentage_discount_promotion",
16415
- "enable.js"
16387
+ "shipping_method",
16388
+ "reset_circuit.js"
16416
16389
  ]
16417
16390
  },
16418
- "percentage_discount_promotion": {
16391
+ "shipment:add_tags": {
16419
16392
  "aliases": [],
16420
16393
  "args": {
16421
16394
  "id": {
@@ -16424,7 +16397,7 @@
16424
16397
  "required": true
16425
16398
  }
16426
16399
  },
16427
- "description": "execute an action on a resource of type percentage_discount_promotions",
16400
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16428
16401
  "flags": {
16429
16402
  "organization": {
16430
16403
  "char": "o",
@@ -16489,7 +16462,7 @@
16489
16462
  },
16490
16463
  "hasDynamicHelp": false,
16491
16464
  "hiddenAliases": [],
16492
- "id": "percentage_discount_promotion",
16465
+ "id": "shipment:add_tags",
16493
16466
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16494
16467
  "pluginName": "@commercelayer/cli-plugin-triggers",
16495
16468
  "pluginType": "core",
@@ -16499,11 +16472,11 @@
16499
16472
  "relativePath": [
16500
16473
  "lib",
16501
16474
  "commands",
16502
- "percentage_discount_promotion",
16503
- "index.js"
16475
+ "shipment",
16476
+ "add_tags.js"
16504
16477
  ]
16505
16478
  },
16506
- "percentage_discount_promotion:remove_tags": {
16479
+ "shipment:cancel": {
16507
16480
  "aliases": [],
16508
16481
  "args": {
16509
16482
  "id": {
@@ -16512,7 +16485,7 @@
16512
16485
  "required": true
16513
16486
  }
16514
16487
  },
16515
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16488
+ "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
16516
16489
  "flags": {
16517
16490
  "organization": {
16518
16491
  "char": "o",
@@ -16577,7 +16550,7 @@
16577
16550
  },
16578
16551
  "hasDynamicHelp": false,
16579
16552
  "hiddenAliases": [],
16580
- "id": "percentage_discount_promotion:remove_tags",
16553
+ "id": "shipment:cancel",
16581
16554
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16582
16555
  "pluginName": "@commercelayer/cli-plugin-triggers",
16583
16556
  "pluginType": "core",
@@ -16587,11 +16560,11 @@
16587
16560
  "relativePath": [
16588
16561
  "lib",
16589
16562
  "commands",
16590
- "percentage_discount_promotion",
16591
- "remove_tags.js"
16563
+ "shipment",
16564
+ "cancel.js"
16592
16565
  ]
16593
16566
  },
16594
- "price_list_scheduler:disable": {
16567
+ "shipment:decrement_stock": {
16595
16568
  "aliases": [],
16596
16569
  "args": {
16597
16570
  "id": {
@@ -16600,7 +16573,7 @@
16600
16573
  "required": true
16601
16574
  }
16602
16575
  },
16603
- "description": "Send this attribute if you want to mark this resource as disabled.",
16576
+ "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.",
16604
16577
  "flags": {
16605
16578
  "organization": {
16606
16579
  "char": "o",
@@ -16665,7 +16638,7 @@
16665
16638
  },
16666
16639
  "hasDynamicHelp": false,
16667
16640
  "hiddenAliases": [],
16668
- "id": "price_list_scheduler:disable",
16641
+ "id": "shipment:decrement_stock",
16669
16642
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16670
16643
  "pluginName": "@commercelayer/cli-plugin-triggers",
16671
16644
  "pluginType": "core",
@@ -16675,11 +16648,11 @@
16675
16648
  "relativePath": [
16676
16649
  "lib",
16677
16650
  "commands",
16678
- "price_list_scheduler",
16679
- "disable.js"
16651
+ "shipment",
16652
+ "decrement_stock.js"
16680
16653
  ]
16681
16654
  },
16682
- "price_list_scheduler:enable": {
16655
+ "shipment:deliver": {
16683
16656
  "aliases": [],
16684
16657
  "args": {
16685
16658
  "id": {
@@ -16688,7 +16661,7 @@
16688
16661
  "required": true
16689
16662
  }
16690
16663
  },
16691
- "description": "Send this attribute if you want to mark this resource as enabled.",
16664
+ "description": "Send this attribute if you want to mark this shipment as delivered.",
16692
16665
  "flags": {
16693
16666
  "organization": {
16694
16667
  "char": "o",
@@ -16753,7 +16726,7 @@
16753
16726
  },
16754
16727
  "hasDynamicHelp": false,
16755
16728
  "hiddenAliases": [],
16756
- "id": "price_list_scheduler:enable",
16729
+ "id": "shipment:deliver",
16757
16730
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16758
16731
  "pluginName": "@commercelayer/cli-plugin-triggers",
16759
16732
  "pluginType": "core",
@@ -16763,11 +16736,11 @@
16763
16736
  "relativePath": [
16764
16737
  "lib",
16765
16738
  "commands",
16766
- "price_list_scheduler",
16767
- "enable.js"
16739
+ "shipment",
16740
+ "deliver.js"
16768
16741
  ]
16769
16742
  },
16770
- "price_list_scheduler": {
16743
+ "shipment:get_rates": {
16771
16744
  "aliases": [],
16772
16745
  "args": {
16773
16746
  "id": {
@@ -16776,7 +16749,7 @@
16776
16749
  "required": true
16777
16750
  }
16778
16751
  },
16779
- "description": "execute an action on a resource of type price_list_schedulers",
16752
+ "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
16780
16753
  "flags": {
16781
16754
  "organization": {
16782
16755
  "char": "o",
@@ -16841,7 +16814,7 @@
16841
16814
  },
16842
16815
  "hasDynamicHelp": false,
16843
16816
  "hiddenAliases": [],
16844
- "id": "price_list_scheduler",
16817
+ "id": "shipment:get_rates",
16845
16818
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16846
16819
  "pluginName": "@commercelayer/cli-plugin-triggers",
16847
16820
  "pluginType": "core",
@@ -16851,11 +16824,11 @@
16851
16824
  "relativePath": [
16852
16825
  "lib",
16853
16826
  "commands",
16854
- "price_list_scheduler",
16855
- "index.js"
16827
+ "shipment",
16828
+ "get_rates.js"
16856
16829
  ]
16857
16830
  },
16858
- "refund:forward": {
16831
+ "shipment": {
16859
16832
  "aliases": [],
16860
16833
  "args": {
16861
16834
  "id": {
@@ -16864,7 +16837,7 @@
16864
16837
  "required": true
16865
16838
  }
16866
16839
  },
16867
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
16840
+ "description": "execute an action on a resource of type shipments",
16868
16841
  "flags": {
16869
16842
  "organization": {
16870
16843
  "char": "o",
@@ -16929,7 +16902,7 @@
16929
16902
  },
16930
16903
  "hasDynamicHelp": false,
16931
16904
  "hiddenAliases": [],
16932
- "id": "refund:forward",
16905
+ "id": "shipment",
16933
16906
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16934
16907
  "pluginName": "@commercelayer/cli-plugin-triggers",
16935
16908
  "pluginType": "core",
@@ -16939,11 +16912,11 @@
16939
16912
  "relativePath": [
16940
16913
  "lib",
16941
16914
  "commands",
16942
- "refund",
16943
- "forward.js"
16915
+ "shipment",
16916
+ "index.js"
16944
16917
  ]
16945
16918
  },
16946
- "refund": {
16919
+ "shipment:on_hold": {
16947
16920
  "aliases": [],
16948
16921
  "args": {
16949
16922
  "id": {
@@ -16952,7 +16925,7 @@
16952
16925
  "required": true
16953
16926
  }
16954
16927
  },
16955
- "description": "execute an action on a resource of type refunds",
16928
+ "description": "Send this attribute if you want to put this shipment on hold.",
16956
16929
  "flags": {
16957
16930
  "organization": {
16958
16931
  "char": "o",
@@ -17017,7 +16990,7 @@
17017
16990
  },
17018
16991
  "hasDynamicHelp": false,
17019
16992
  "hiddenAliases": [],
17020
- "id": "refund",
16993
+ "id": "shipment:on_hold",
17021
16994
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17022
16995
  "pluginName": "@commercelayer/cli-plugin-triggers",
17023
16996
  "pluginType": "core",
@@ -17027,11 +17000,11 @@
17027
17000
  "relativePath": [
17028
17001
  "lib",
17029
17002
  "commands",
17030
- "refund",
17031
- "index.js"
17003
+ "shipment",
17004
+ "on_hold.js"
17032
17005
  ]
17033
17006
  },
17034
- "return:add_tags": {
17007
+ "shipment:packing": {
17035
17008
  "aliases": [],
17036
17009
  "args": {
17037
17010
  "id": {
@@ -17040,7 +17013,7 @@
17040
17013
  "required": true
17041
17014
  }
17042
17015
  },
17043
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17016
+ "description": "Send this attribute if you want to start packing this shipment.",
17044
17017
  "flags": {
17045
17018
  "organization": {
17046
17019
  "char": "o",
@@ -17105,7 +17078,7 @@
17105
17078
  },
17106
17079
  "hasDynamicHelp": false,
17107
17080
  "hiddenAliases": [],
17108
- "id": "return:add_tags",
17081
+ "id": "shipment:packing",
17109
17082
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17110
17083
  "pluginName": "@commercelayer/cli-plugin-triggers",
17111
17084
  "pluginType": "core",
@@ -17115,11 +17088,11 @@
17115
17088
  "relativePath": [
17116
17089
  "lib",
17117
17090
  "commands",
17118
- "return",
17119
- "add_tags.js"
17091
+ "shipment",
17092
+ "packing.js"
17120
17093
  ]
17121
17094
  },
17122
- "return:approve": {
17095
+ "shipment:picking": {
17123
17096
  "aliases": [],
17124
17097
  "args": {
17125
17098
  "id": {
@@ -17128,7 +17101,7 @@
17128
17101
  "required": true
17129
17102
  }
17130
17103
  },
17131
- "description": "Send this attribute if you want to mark this return as approved.",
17104
+ "description": "Send this attribute if you want to start picking this shipment.",
17132
17105
  "flags": {
17133
17106
  "organization": {
17134
17107
  "char": "o",
@@ -17193,7 +17166,7 @@
17193
17166
  },
17194
17167
  "hasDynamicHelp": false,
17195
17168
  "hiddenAliases": [],
17196
- "id": "return:approve",
17169
+ "id": "shipment:picking",
17197
17170
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17198
17171
  "pluginName": "@commercelayer/cli-plugin-triggers",
17199
17172
  "pluginType": "core",
@@ -17203,11 +17176,11 @@
17203
17176
  "relativePath": [
17204
17177
  "lib",
17205
17178
  "commands",
17206
- "return",
17207
- "approve.js"
17179
+ "shipment",
17180
+ "picking.js"
17208
17181
  ]
17209
17182
  },
17210
- "return:archive": {
17183
+ "shipment:purchase": {
17211
17184
  "aliases": [],
17212
17185
  "args": {
17213
17186
  "id": {
@@ -17216,7 +17189,7 @@
17216
17189
  "required": true
17217
17190
  }
17218
17191
  },
17219
- "description": "Send this attribute if you want to archive the return.",
17192
+ "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
17220
17193
  "flags": {
17221
17194
  "organization": {
17222
17195
  "char": "o",
@@ -17281,7 +17254,7 @@
17281
17254
  },
17282
17255
  "hasDynamicHelp": false,
17283
17256
  "hiddenAliases": [],
17284
- "id": "return:archive",
17257
+ "id": "shipment:purchase",
17285
17258
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17286
17259
  "pluginName": "@commercelayer/cli-plugin-triggers",
17287
17260
  "pluginType": "core",
@@ -17291,11 +17264,11 @@
17291
17264
  "relativePath": [
17292
17265
  "lib",
17293
17266
  "commands",
17294
- "return",
17295
- "archive.js"
17267
+ "shipment",
17268
+ "purchase.js"
17296
17269
  ]
17297
17270
  },
17298
- "return:cancel": {
17271
+ "shipment:ready_to_ship": {
17299
17272
  "aliases": [],
17300
17273
  "args": {
17301
17274
  "id": {
@@ -17304,7 +17277,7 @@
17304
17277
  "required": true
17305
17278
  }
17306
17279
  },
17307
- "description": "Send this attribute if you want to mark this return as cancelled.",
17280
+ "description": "Send this attribute if you want to mark this shipment as ready to ship.",
17308
17281
  "flags": {
17309
17282
  "organization": {
17310
17283
  "char": "o",
@@ -17369,7 +17342,7 @@
17369
17342
  },
17370
17343
  "hasDynamicHelp": false,
17371
17344
  "hiddenAliases": [],
17372
- "id": "return:cancel",
17345
+ "id": "shipment:ready_to_ship",
17373
17346
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17374
17347
  "pluginName": "@commercelayer/cli-plugin-triggers",
17375
17348
  "pluginType": "core",
@@ -17379,11 +17352,11 @@
17379
17352
  "relativePath": [
17380
17353
  "lib",
17381
17354
  "commands",
17382
- "return",
17383
- "cancel.js"
17355
+ "shipment",
17356
+ "ready_to_ship.js"
17384
17357
  ]
17385
17358
  },
17386
- "return": {
17359
+ "shipment:release_stock": {
17387
17360
  "aliases": [],
17388
17361
  "args": {
17389
17362
  "id": {
@@ -17392,7 +17365,7 @@
17392
17365
  "required": true
17393
17366
  }
17394
17367
  },
17395
- "description": "execute an action on a resource of type returns",
17368
+ "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.",
17396
17369
  "flags": {
17397
17370
  "organization": {
17398
17371
  "char": "o",
@@ -17457,7 +17430,7 @@
17457
17430
  },
17458
17431
  "hasDynamicHelp": false,
17459
17432
  "hiddenAliases": [],
17460
- "id": "return",
17433
+ "id": "shipment:release_stock",
17461
17434
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17462
17435
  "pluginName": "@commercelayer/cli-plugin-triggers",
17463
17436
  "pluginType": "core",
@@ -17467,11 +17440,11 @@
17467
17440
  "relativePath": [
17468
17441
  "lib",
17469
17442
  "commands",
17470
- "return",
17471
- "index.js"
17443
+ "shipment",
17444
+ "release_stock.js"
17472
17445
  ]
17473
17446
  },
17474
- "return:receive": {
17447
+ "shipment:remove_tags": {
17475
17448
  "aliases": [],
17476
17449
  "args": {
17477
17450
  "id": {
@@ -17480,7 +17453,7 @@
17480
17453
  "required": true
17481
17454
  }
17482
17455
  },
17483
- "description": "Send this attribute if you want to mark this return as received.",
17456
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17484
17457
  "flags": {
17485
17458
  "organization": {
17486
17459
  "char": "o",
@@ -17545,7 +17518,7 @@
17545
17518
  },
17546
17519
  "hasDynamicHelp": false,
17547
17520
  "hiddenAliases": [],
17548
- "id": "return:receive",
17521
+ "id": "shipment:remove_tags",
17549
17522
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17550
17523
  "pluginName": "@commercelayer/cli-plugin-triggers",
17551
17524
  "pluginType": "core",
@@ -17555,11 +17528,11 @@
17555
17528
  "relativePath": [
17556
17529
  "lib",
17557
17530
  "commands",
17558
- "return",
17559
- "receive.js"
17531
+ "shipment",
17532
+ "remove_tags.js"
17560
17533
  ]
17561
17534
  },
17562
- "return:refund": {
17535
+ "shipment:reserve_stock": {
17563
17536
  "aliases": [],
17564
17537
  "args": {
17565
17538
  "id": {
@@ -17568,7 +17541,7 @@
17568
17541
  "required": true
17569
17542
  }
17570
17543
  },
17571
- "description": "Send this attribute if you want to create a refund for this return.",
17544
+ "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.",
17572
17545
  "flags": {
17573
17546
  "organization": {
17574
17547
  "char": "o",
@@ -17633,7 +17606,7 @@
17633
17606
  },
17634
17607
  "hasDynamicHelp": false,
17635
17608
  "hiddenAliases": [],
17636
- "id": "return:refund",
17609
+ "id": "shipment:reserve_stock",
17637
17610
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17638
17611
  "pluginName": "@commercelayer/cli-plugin-triggers",
17639
17612
  "pluginType": "core",
@@ -17643,11 +17616,11 @@
17643
17616
  "relativePath": [
17644
17617
  "lib",
17645
17618
  "commands",
17646
- "return",
17647
- "refund.js"
17619
+ "shipment",
17620
+ "reserve_stock.js"
17648
17621
  ]
17649
17622
  },
17650
- "return:refund_amount_cents": {
17623
+ "shipment:ship": {
17651
17624
  "aliases": [],
17652
17625
  "args": {
17653
17626
  "id": {
@@ -17656,7 +17629,7 @@
17656
17629
  "required": true
17657
17630
  }
17658
17631
  },
17659
- "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
17632
+ "description": "Send this attribute if you want to mark this shipment as shipped.",
17660
17633
  "flags": {
17661
17634
  "organization": {
17662
17635
  "char": "o",
@@ -17721,7 +17694,7 @@
17721
17694
  },
17722
17695
  "hasDynamicHelp": false,
17723
17696
  "hiddenAliases": [],
17724
- "id": "return:refund_amount_cents",
17697
+ "id": "shipment:ship",
17725
17698
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17726
17699
  "pluginName": "@commercelayer/cli-plugin-triggers",
17727
17700
  "pluginType": "core",
@@ -17731,11 +17704,11 @@
17731
17704
  "relativePath": [
17732
17705
  "lib",
17733
17706
  "commands",
17734
- "return",
17735
- "refund_amount_cents.js"
17707
+ "shipment",
17708
+ "ship.js"
17736
17709
  ]
17737
17710
  },
17738
- "return:reject": {
17711
+ "shipment:upcoming": {
17739
17712
  "aliases": [],
17740
17713
  "args": {
17741
17714
  "id": {
@@ -17744,7 +17717,7 @@
17744
17717
  "required": true
17745
17718
  }
17746
17719
  },
17747
- "description": "Send this attribute if you want to mark this return as rejected.",
17720
+ "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
17748
17721
  "flags": {
17749
17722
  "organization": {
17750
17723
  "char": "o",
@@ -17809,7 +17782,7 @@
17809
17782
  },
17810
17783
  "hasDynamicHelp": false,
17811
17784
  "hiddenAliases": [],
17812
- "id": "return:reject",
17785
+ "id": "shipment:upcoming",
17813
17786
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17814
17787
  "pluginName": "@commercelayer/cli-plugin-triggers",
17815
17788
  "pluginType": "core",
@@ -17819,11 +17792,11 @@
17819
17792
  "relativePath": [
17820
17793
  "lib",
17821
17794
  "commands",
17822
- "return",
17823
- "reject.js"
17795
+ "shipment",
17796
+ "upcoming.js"
17824
17797
  ]
17825
17798
  },
17826
- "return:remove_tags": {
17799
+ "sku:add_tags": {
17827
17800
  "aliases": [],
17828
17801
  "args": {
17829
17802
  "id": {
@@ -17832,7 +17805,7 @@
17832
17805
  "required": true
17833
17806
  }
17834
17807
  },
17835
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17808
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17836
17809
  "flags": {
17837
17810
  "organization": {
17838
17811
  "char": "o",
@@ -17897,7 +17870,7 @@
17897
17870
  },
17898
17871
  "hasDynamicHelp": false,
17899
17872
  "hiddenAliases": [],
17900
- "id": "return:remove_tags",
17873
+ "id": "sku:add_tags",
17901
17874
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17902
17875
  "pluginName": "@commercelayer/cli-plugin-triggers",
17903
17876
  "pluginType": "core",
@@ -17907,11 +17880,11 @@
17907
17880
  "relativePath": [
17908
17881
  "lib",
17909
17882
  "commands",
17910
- "return",
17911
- "remove_tags.js"
17883
+ "sku",
17884
+ "add_tags.js"
17912
17885
  ]
17913
17886
  },
17914
- "return:request": {
17887
+ "sku": {
17915
17888
  "aliases": [],
17916
17889
  "args": {
17917
17890
  "id": {
@@ -17920,7 +17893,7 @@
17920
17893
  "required": true
17921
17894
  }
17922
17895
  },
17923
- "description": "Send this attribute if you want to activate this return.",
17896
+ "description": "execute an action on a resource of type skus",
17924
17897
  "flags": {
17925
17898
  "organization": {
17926
17899
  "char": "o",
@@ -17985,7 +17958,7 @@
17985
17958
  },
17986
17959
  "hasDynamicHelp": false,
17987
17960
  "hiddenAliases": [],
17988
- "id": "return:request",
17961
+ "id": "sku",
17989
17962
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17990
17963
  "pluginName": "@commercelayer/cli-plugin-triggers",
17991
17964
  "pluginType": "core",
@@ -17995,11 +17968,11 @@
17995
17968
  "relativePath": [
17996
17969
  "lib",
17997
17970
  "commands",
17998
- "return",
17999
- "request.js"
17971
+ "sku",
17972
+ "index.js"
18000
17973
  ]
18001
17974
  },
18002
- "return:restock": {
17975
+ "sku:remove_tags": {
18003
17976
  "aliases": [],
18004
17977
  "args": {
18005
17978
  "id": {
@@ -18008,7 +17981,7 @@
18008
17981
  "required": true
18009
17982
  }
18010
17983
  },
18011
- "description": "Send this attribute if you want to restock all of the return line items.",
17984
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18012
17985
  "flags": {
18013
17986
  "organization": {
18014
17987
  "char": "o",
@@ -18073,7 +18046,7 @@
18073
18046
  },
18074
18047
  "hasDynamicHelp": false,
18075
18048
  "hiddenAliases": [],
18076
- "id": "return:restock",
18049
+ "id": "sku:remove_tags",
18077
18050
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18078
18051
  "pluginName": "@commercelayer/cli-plugin-triggers",
18079
18052
  "pluginType": "core",
@@ -18083,11 +18056,11 @@
18083
18056
  "relativePath": [
18084
18057
  "lib",
18085
18058
  "commands",
18086
- "return",
18087
- "restock.js"
18059
+ "sku",
18060
+ "remove_tags.js"
18088
18061
  ]
18089
18062
  },
18090
- "return:ship": {
18063
+ "sku_option:add_tags": {
18091
18064
  "aliases": [],
18092
18065
  "args": {
18093
18066
  "id": {
@@ -18096,7 +18069,7 @@
18096
18069
  "required": true
18097
18070
  }
18098
18071
  },
18099
- "description": "Send this attribute if you want to mark this return as shipped.",
18072
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18100
18073
  "flags": {
18101
18074
  "organization": {
18102
18075
  "char": "o",
@@ -18161,7 +18134,7 @@
18161
18134
  },
18162
18135
  "hasDynamicHelp": false,
18163
18136
  "hiddenAliases": [],
18164
- "id": "return:ship",
18137
+ "id": "sku_option:add_tags",
18165
18138
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18166
18139
  "pluginName": "@commercelayer/cli-plugin-triggers",
18167
18140
  "pluginType": "core",
@@ -18171,11 +18144,11 @@
18171
18144
  "relativePath": [
18172
18145
  "lib",
18173
18146
  "commands",
18174
- "return",
18175
- "ship.js"
18147
+ "sku_option",
18148
+ "add_tags.js"
18176
18149
  ]
18177
18150
  },
18178
- "return:unarchive": {
18151
+ "sku_option": {
18179
18152
  "aliases": [],
18180
18153
  "args": {
18181
18154
  "id": {
@@ -18184,7 +18157,7 @@
18184
18157
  "required": true
18185
18158
  }
18186
18159
  },
18187
- "description": "Send this attribute if you want to unarchive the return.",
18160
+ "description": "execute an action on a resource of type sku_options",
18188
18161
  "flags": {
18189
18162
  "organization": {
18190
18163
  "char": "o",
@@ -18249,7 +18222,7 @@
18249
18222
  },
18250
18223
  "hasDynamicHelp": false,
18251
18224
  "hiddenAliases": [],
18252
- "id": "return:unarchive",
18225
+ "id": "sku_option",
18253
18226
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18254
18227
  "pluginName": "@commercelayer/cli-plugin-triggers",
18255
18228
  "pluginType": "core",
@@ -18259,11 +18232,11 @@
18259
18232
  "relativePath": [
18260
18233
  "lib",
18261
18234
  "commands",
18262
- "return",
18263
- "unarchive.js"
18235
+ "sku_option",
18236
+ "index.js"
18264
18237
  ]
18265
18238
  },
18266
- "return_line_item": {
18239
+ "sku_option:remove_tags": {
18267
18240
  "aliases": [],
18268
18241
  "args": {
18269
18242
  "id": {
@@ -18272,7 +18245,7 @@
18272
18245
  "required": true
18273
18246
  }
18274
18247
  },
18275
- "description": "execute an action on a resource of type return_line_items",
18248
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18276
18249
  "flags": {
18277
18250
  "organization": {
18278
18251
  "char": "o",
@@ -18337,7 +18310,7 @@
18337
18310
  },
18338
18311
  "hasDynamicHelp": false,
18339
18312
  "hiddenAliases": [],
18340
- "id": "return_line_item",
18313
+ "id": "sku_option:remove_tags",
18341
18314
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18342
18315
  "pluginName": "@commercelayer/cli-plugin-triggers",
18343
18316
  "pluginType": "core",
@@ -18347,11 +18320,11 @@
18347
18320
  "relativePath": [
18348
18321
  "lib",
18349
18322
  "commands",
18350
- "return_line_item",
18351
- "index.js"
18323
+ "sku_option",
18324
+ "remove_tags.js"
18352
18325
  ]
18353
18326
  },
18354
- "return_line_item:restock": {
18327
+ "stock_item": {
18355
18328
  "aliases": [],
18356
18329
  "args": {
18357
18330
  "id": {
@@ -18360,7 +18333,7 @@
18360
18333
  "required": true
18361
18334
  }
18362
18335
  },
18363
- "description": "Send this attribute if you want to restock the line item.",
18336
+ "description": "execute an action on a resource of type stock_items",
18364
18337
  "flags": {
18365
18338
  "organization": {
18366
18339
  "char": "o",
@@ -18425,7 +18398,7 @@
18425
18398
  },
18426
18399
  "hasDynamicHelp": false,
18427
18400
  "hiddenAliases": [],
18428
- "id": "return_line_item:restock",
18401
+ "id": "stock_item",
18429
18402
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18430
18403
  "pluginName": "@commercelayer/cli-plugin-triggers",
18431
18404
  "pluginType": "core",
@@ -18435,11 +18408,11 @@
18435
18408
  "relativePath": [
18436
18409
  "lib",
18437
18410
  "commands",
18438
- "return_line_item",
18439
- "restock.js"
18411
+ "stock_item",
18412
+ "index.js"
18440
18413
  ]
18441
18414
  },
18442
- "satispay_gateway:disable": {
18415
+ "stock_item:validate": {
18443
18416
  "aliases": [],
18444
18417
  "args": {
18445
18418
  "id": {
@@ -18448,7 +18421,7 @@
18448
18421
  "required": true
18449
18422
  }
18450
18423
  },
18451
- "description": "Send this attribute if you want to mark this resource as disabled.",
18424
+ "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.",
18452
18425
  "flags": {
18453
18426
  "organization": {
18454
18427
  "char": "o",
@@ -18513,7 +18486,7 @@
18513
18486
  },
18514
18487
  "hasDynamicHelp": false,
18515
18488
  "hiddenAliases": [],
18516
- "id": "satispay_gateway:disable",
18489
+ "id": "stock_item:validate",
18517
18490
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18518
18491
  "pluginName": "@commercelayer/cli-plugin-triggers",
18519
18492
  "pluginType": "core",
@@ -18523,11 +18496,11 @@
18523
18496
  "relativePath": [
18524
18497
  "lib",
18525
18498
  "commands",
18526
- "satispay_gateway",
18527
- "disable.js"
18499
+ "stock_item",
18500
+ "validate.js"
18528
18501
  ]
18529
18502
  },
18530
- "satispay_gateway:enable": {
18503
+ "stock_reservation": {
18531
18504
  "aliases": [],
18532
18505
  "args": {
18533
18506
  "id": {
@@ -18536,7 +18509,7 @@
18536
18509
  "required": true
18537
18510
  }
18538
18511
  },
18539
- "description": "Send this attribute if you want to mark this resource as enabled.",
18512
+ "description": "execute an action on a resource of type stock_reservations",
18540
18513
  "flags": {
18541
18514
  "organization": {
18542
18515
  "char": "o",
@@ -18601,7 +18574,7 @@
18601
18574
  },
18602
18575
  "hasDynamicHelp": false,
18603
18576
  "hiddenAliases": [],
18604
- "id": "satispay_gateway:enable",
18577
+ "id": "stock_reservation",
18605
18578
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18606
18579
  "pluginName": "@commercelayer/cli-plugin-triggers",
18607
18580
  "pluginType": "core",
@@ -18611,11 +18584,11 @@
18611
18584
  "relativePath": [
18612
18585
  "lib",
18613
18586
  "commands",
18614
- "satispay_gateway",
18615
- "enable.js"
18587
+ "stock_reservation",
18588
+ "index.js"
18616
18589
  ]
18617
18590
  },
18618
- "satispay_gateway": {
18591
+ "stock_reservation:pending": {
18619
18592
  "aliases": [],
18620
18593
  "args": {
18621
18594
  "id": {
@@ -18624,7 +18597,7 @@
18624
18597
  "required": true
18625
18598
  }
18626
18599
  },
18627
- "description": "execute an action on a resource of type satispay_gateways",
18600
+ "description": "Send this attribute if you want to mark this stock reservation as pending.",
18628
18601
  "flags": {
18629
18602
  "organization": {
18630
18603
  "char": "o",
@@ -18689,7 +18662,7 @@
18689
18662
  },
18690
18663
  "hasDynamicHelp": false,
18691
18664
  "hiddenAliases": [],
18692
- "id": "satispay_gateway",
18665
+ "id": "stock_reservation:pending",
18693
18666
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18694
18667
  "pluginName": "@commercelayer/cli-plugin-triggers",
18695
18668
  "pluginType": "core",
@@ -18699,11 +18672,11 @@
18699
18672
  "relativePath": [
18700
18673
  "lib",
18701
18674
  "commands",
18702
- "satispay_gateway",
18703
- "index.js"
18675
+ "stock_reservation",
18676
+ "pending.js"
18704
18677
  ]
18705
18678
  },
18706
- "satispay_payment": {
18679
+ "stock_line_item:decrement_stock": {
18707
18680
  "aliases": [],
18708
18681
  "args": {
18709
18682
  "id": {
@@ -18712,7 +18685,7 @@
18712
18685
  "required": true
18713
18686
  }
18714
18687
  },
18715
- "description": "execute an action on a resource of type satispay_payments",
18688
+ "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
18716
18689
  "flags": {
18717
18690
  "organization": {
18718
18691
  "char": "o",
@@ -18777,7 +18750,7 @@
18777
18750
  },
18778
18751
  "hasDynamicHelp": false,
18779
18752
  "hiddenAliases": [],
18780
- "id": "satispay_payment",
18753
+ "id": "stock_line_item:decrement_stock",
18781
18754
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18782
18755
  "pluginName": "@commercelayer/cli-plugin-triggers",
18783
18756
  "pluginType": "core",
@@ -18787,11 +18760,11 @@
18787
18760
  "relativePath": [
18788
18761
  "lib",
18789
18762
  "commands",
18790
- "satispay_payment",
18791
- "index.js"
18763
+ "stock_line_item",
18764
+ "decrement_stock.js"
18792
18765
  ]
18793
18766
  },
18794
- "satispay_payment:refresh": {
18767
+ "stock_line_item": {
18795
18768
  "aliases": [],
18796
18769
  "args": {
18797
18770
  "id": {
@@ -18800,7 +18773,7 @@
18800
18773
  "required": true
18801
18774
  }
18802
18775
  },
18803
- "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
18776
+ "description": "execute an action on a resource of type stock_line_items",
18804
18777
  "flags": {
18805
18778
  "organization": {
18806
18779
  "char": "o",
@@ -18865,7 +18838,7 @@
18865
18838
  },
18866
18839
  "hasDynamicHelp": false,
18867
18840
  "hiddenAliases": [],
18868
- "id": "satispay_payment:refresh",
18841
+ "id": "stock_line_item",
18869
18842
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18870
18843
  "pluginName": "@commercelayer/cli-plugin-triggers",
18871
18844
  "pluginType": "core",
@@ -18875,11 +18848,11 @@
18875
18848
  "relativePath": [
18876
18849
  "lib",
18877
18850
  "commands",
18878
- "satispay_payment",
18879
- "refresh.js"
18851
+ "stock_line_item",
18852
+ "index.js"
18880
18853
  ]
18881
18854
  },
18882
- "shipment:add_tags": {
18855
+ "stock_line_item:release_stock": {
18883
18856
  "aliases": [],
18884
18857
  "args": {
18885
18858
  "id": {
@@ -18888,7 +18861,7 @@
18888
18861
  "required": true
18889
18862
  }
18890
18863
  },
18891
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18864
+ "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
18892
18865
  "flags": {
18893
18866
  "organization": {
18894
18867
  "char": "o",
@@ -18953,7 +18926,7 @@
18953
18926
  },
18954
18927
  "hasDynamicHelp": false,
18955
18928
  "hiddenAliases": [],
18956
- "id": "shipment:add_tags",
18929
+ "id": "stock_line_item:release_stock",
18957
18930
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18958
18931
  "pluginName": "@commercelayer/cli-plugin-triggers",
18959
18932
  "pluginType": "core",
@@ -18963,11 +18936,11 @@
18963
18936
  "relativePath": [
18964
18937
  "lib",
18965
18938
  "commands",
18966
- "shipment",
18967
- "add_tags.js"
18939
+ "stock_line_item",
18940
+ "release_stock.js"
18968
18941
  ]
18969
18942
  },
18970
- "shipment:cancel": {
18943
+ "stock_line_item:reserve_stock": {
18971
18944
  "aliases": [],
18972
18945
  "args": {
18973
18946
  "id": {
@@ -18976,7 +18949,7 @@
18976
18949
  "required": true
18977
18950
  }
18978
18951
  },
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.",
18952
+ "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
18980
18953
  "flags": {
18981
18954
  "organization": {
18982
18955
  "char": "o",
@@ -19041,7 +19014,7 @@
19041
19014
  },
19042
19015
  "hasDynamicHelp": false,
19043
19016
  "hiddenAliases": [],
19044
- "id": "shipment:cancel",
19017
+ "id": "stock_line_item:reserve_stock",
19045
19018
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19046
19019
  "pluginName": "@commercelayer/cli-plugin-triggers",
19047
19020
  "pluginType": "core",
@@ -19051,11 +19024,11 @@
19051
19024
  "relativePath": [
19052
19025
  "lib",
19053
19026
  "commands",
19054
- "shipment",
19055
- "cancel.js"
19027
+ "stock_line_item",
19028
+ "reserve_stock.js"
19056
19029
  ]
19057
19030
  },
19058
- "shipment:decrement_stock": {
19031
+ "stripe_gateway:disable": {
19059
19032
  "aliases": [],
19060
19033
  "args": {
19061
19034
  "id": {
@@ -19064,7 +19037,7 @@
19064
19037
  "required": true
19065
19038
  }
19066
19039
  },
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.",
19040
+ "description": "Send this attribute if you want to mark this resource as disabled.",
19068
19041
  "flags": {
19069
19042
  "organization": {
19070
19043
  "char": "o",
@@ -19129,7 +19102,7 @@
19129
19102
  },
19130
19103
  "hasDynamicHelp": false,
19131
19104
  "hiddenAliases": [],
19132
- "id": "shipment:decrement_stock",
19105
+ "id": "stripe_gateway:disable",
19133
19106
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19134
19107
  "pluginName": "@commercelayer/cli-plugin-triggers",
19135
19108
  "pluginType": "core",
@@ -19139,11 +19112,11 @@
19139
19112
  "relativePath": [
19140
19113
  "lib",
19141
19114
  "commands",
19142
- "shipment",
19143
- "decrement_stock.js"
19115
+ "stripe_gateway",
19116
+ "disable.js"
19144
19117
  ]
19145
19118
  },
19146
- "shipment:deliver": {
19119
+ "stripe_gateway:enable": {
19147
19120
  "aliases": [],
19148
19121
  "args": {
19149
19122
  "id": {
@@ -19152,7 +19125,7 @@
19152
19125
  "required": true
19153
19126
  }
19154
19127
  },
19155
- "description": "Send this attribute if you want to mark this shipment as delivered.",
19128
+ "description": "Send this attribute if you want to mark this resource as enabled.",
19156
19129
  "flags": {
19157
19130
  "organization": {
19158
19131
  "char": "o",
@@ -19217,7 +19190,7 @@
19217
19190
  },
19218
19191
  "hasDynamicHelp": false,
19219
19192
  "hiddenAliases": [],
19220
- "id": "shipment:deliver",
19193
+ "id": "stripe_gateway:enable",
19221
19194
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19222
19195
  "pluginName": "@commercelayer/cli-plugin-triggers",
19223
19196
  "pluginType": "core",
@@ -19227,11 +19200,11 @@
19227
19200
  "relativePath": [
19228
19201
  "lib",
19229
19202
  "commands",
19230
- "shipment",
19231
- "deliver.js"
19203
+ "stripe_gateway",
19204
+ "enable.js"
19232
19205
  ]
19233
19206
  },
19234
- "shipment:get_rates": {
19207
+ "stripe_gateway": {
19235
19208
  "aliases": [],
19236
19209
  "args": {
19237
19210
  "id": {
@@ -19240,7 +19213,7 @@
19240
19213
  "required": true
19241
19214
  }
19242
19215
  },
19243
- "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
19216
+ "description": "execute an action on a resource of type stripe_gateways",
19244
19217
  "flags": {
19245
19218
  "organization": {
19246
19219
  "char": "o",
@@ -19305,7 +19278,7 @@
19305
19278
  },
19306
19279
  "hasDynamicHelp": false,
19307
19280
  "hiddenAliases": [],
19308
- "id": "shipment:get_rates",
19281
+ "id": "stripe_gateway",
19309
19282
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19310
19283
  "pluginName": "@commercelayer/cli-plugin-triggers",
19311
19284
  "pluginType": "core",
@@ -19315,11 +19288,11 @@
19315
19288
  "relativePath": [
19316
19289
  "lib",
19317
19290
  "commands",
19318
- "shipment",
19319
- "get_rates.js"
19291
+ "stripe_gateway",
19292
+ "index.js"
19320
19293
  ]
19321
19294
  },
19322
- "shipment": {
19295
+ "stock_transfer:cancel": {
19323
19296
  "aliases": [],
19324
19297
  "args": {
19325
19298
  "id": {
@@ -19328,7 +19301,7 @@
19328
19301
  "required": true
19329
19302
  }
19330
19303
  },
19331
- "description": "execute an action on a resource of type shipments",
19304
+ "description": "Send this attribute if you want to cancel this stock transfer.",
19332
19305
  "flags": {
19333
19306
  "organization": {
19334
19307
  "char": "o",
@@ -19393,7 +19366,7 @@
19393
19366
  },
19394
19367
  "hasDynamicHelp": false,
19395
19368
  "hiddenAliases": [],
19396
- "id": "shipment",
19369
+ "id": "stock_transfer:cancel",
19397
19370
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19398
19371
  "pluginName": "@commercelayer/cli-plugin-triggers",
19399
19372
  "pluginType": "core",
@@ -19403,11 +19376,11 @@
19403
19376
  "relativePath": [
19404
19377
  "lib",
19405
19378
  "commands",
19406
- "shipment",
19407
- "index.js"
19379
+ "stock_transfer",
19380
+ "cancel.js"
19408
19381
  ]
19409
19382
  },
19410
- "shipment:on_hold": {
19383
+ "stock_transfer:complete": {
19411
19384
  "aliases": [],
19412
19385
  "args": {
19413
19386
  "id": {
@@ -19416,7 +19389,7 @@
19416
19389
  "required": true
19417
19390
  }
19418
19391
  },
19419
- "description": "Send this attribute if you want to put this shipment on hold.",
19392
+ "description": "Send this attribute if you want to complete this stock transfer.",
19420
19393
  "flags": {
19421
19394
  "organization": {
19422
19395
  "char": "o",
@@ -19481,7 +19454,7 @@
19481
19454
  },
19482
19455
  "hasDynamicHelp": false,
19483
19456
  "hiddenAliases": [],
19484
- "id": "shipment:on_hold",
19457
+ "id": "stock_transfer:complete",
19485
19458
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19486
19459
  "pluginName": "@commercelayer/cli-plugin-triggers",
19487
19460
  "pluginType": "core",
@@ -19491,11 +19464,11 @@
19491
19464
  "relativePath": [
19492
19465
  "lib",
19493
19466
  "commands",
19494
- "shipment",
19495
- "on_hold.js"
19467
+ "stock_transfer",
19468
+ "complete.js"
19496
19469
  ]
19497
19470
  },
19498
- "shipment:packing": {
19471
+ "stock_transfer:in_transit": {
19499
19472
  "aliases": [],
19500
19473
  "args": {
19501
19474
  "id": {
@@ -19504,7 +19477,7 @@
19504
19477
  "required": true
19505
19478
  }
19506
19479
  },
19507
- "description": "Send this attribute if you want to start packing this shipment.",
19480
+ "description": "Send this attribute if you want to mark this stock transfer as in transit.",
19508
19481
  "flags": {
19509
19482
  "organization": {
19510
19483
  "char": "o",
@@ -19569,7 +19542,7 @@
19569
19542
  },
19570
19543
  "hasDynamicHelp": false,
19571
19544
  "hiddenAliases": [],
19572
- "id": "shipment:packing",
19545
+ "id": "stock_transfer:in_transit",
19573
19546
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19574
19547
  "pluginName": "@commercelayer/cli-plugin-triggers",
19575
19548
  "pluginType": "core",
@@ -19579,11 +19552,11 @@
19579
19552
  "relativePath": [
19580
19553
  "lib",
19581
19554
  "commands",
19582
- "shipment",
19583
- "packing.js"
19555
+ "stock_transfer",
19556
+ "in_transit.js"
19584
19557
  ]
19585
19558
  },
19586
- "shipment:picking": {
19559
+ "stock_transfer": {
19587
19560
  "aliases": [],
19588
19561
  "args": {
19589
19562
  "id": {
@@ -19592,7 +19565,7 @@
19592
19565
  "required": true
19593
19566
  }
19594
19567
  },
19595
- "description": "Send this attribute if you want to start picking this shipment.",
19568
+ "description": "execute an action on a resource of type stock_transfers",
19596
19569
  "flags": {
19597
19570
  "organization": {
19598
19571
  "char": "o",
@@ -19657,7 +19630,7 @@
19657
19630
  },
19658
19631
  "hasDynamicHelp": false,
19659
19632
  "hiddenAliases": [],
19660
- "id": "shipment:picking",
19633
+ "id": "stock_transfer",
19661
19634
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19662
19635
  "pluginName": "@commercelayer/cli-plugin-triggers",
19663
19636
  "pluginType": "core",
@@ -19667,11 +19640,11 @@
19667
19640
  "relativePath": [
19668
19641
  "lib",
19669
19642
  "commands",
19670
- "shipment",
19671
- "picking.js"
19643
+ "stock_transfer",
19644
+ "index.js"
19672
19645
  ]
19673
19646
  },
19674
- "shipment:purchase": {
19647
+ "stock_transfer:on_hold": {
19675
19648
  "aliases": [],
19676
19649
  "args": {
19677
19650
  "id": {
@@ -19680,7 +19653,7 @@
19680
19653
  "required": true
19681
19654
  }
19682
19655
  },
19683
- "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
19656
+ "description": "Send this attribute if you want to put this stock transfer on hold.",
19684
19657
  "flags": {
19685
19658
  "organization": {
19686
19659
  "char": "o",
@@ -19745,7 +19718,7 @@
19745
19718
  },
19746
19719
  "hasDynamicHelp": false,
19747
19720
  "hiddenAliases": [],
19748
- "id": "shipment:purchase",
19721
+ "id": "stock_transfer:on_hold",
19749
19722
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19750
19723
  "pluginName": "@commercelayer/cli-plugin-triggers",
19751
19724
  "pluginType": "core",
@@ -19755,11 +19728,11 @@
19755
19728
  "relativePath": [
19756
19729
  "lib",
19757
19730
  "commands",
19758
- "shipment",
19759
- "purchase.js"
19731
+ "stock_transfer",
19732
+ "on_hold.js"
19760
19733
  ]
19761
19734
  },
19762
- "shipment:ready_to_ship": {
19735
+ "stock_transfer:picking": {
19763
19736
  "aliases": [],
19764
19737
  "args": {
19765
19738
  "id": {
@@ -19768,7 +19741,7 @@
19768
19741
  "required": true
19769
19742
  }
19770
19743
  },
19771
- "description": "Send this attribute if you want to mark this shipment as ready to ship.",
19744
+ "description": "Send this attribute if you want to start picking this stock transfer.",
19772
19745
  "flags": {
19773
19746
  "organization": {
19774
19747
  "char": "o",
@@ -19833,7 +19806,7 @@
19833
19806
  },
19834
19807
  "hasDynamicHelp": false,
19835
19808
  "hiddenAliases": [],
19836
- "id": "shipment:ready_to_ship",
19809
+ "id": "stock_transfer:picking",
19837
19810
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19838
19811
  "pluginName": "@commercelayer/cli-plugin-triggers",
19839
19812
  "pluginType": "core",
@@ -19843,11 +19816,11 @@
19843
19816
  "relativePath": [
19844
19817
  "lib",
19845
19818
  "commands",
19846
- "shipment",
19847
- "ready_to_ship.js"
19819
+ "stock_transfer",
19820
+ "picking.js"
19848
19821
  ]
19849
19822
  },
19850
- "shipment:release_stock": {
19823
+ "stock_transfer:upcoming": {
19851
19824
  "aliases": [],
19852
19825
  "args": {
19853
19826
  "id": {
@@ -19856,7 +19829,7 @@
19856
19829
  "required": true
19857
19830
  }
19858
19831
  },
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.",
19832
+ "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
19860
19833
  "flags": {
19861
19834
  "organization": {
19862
19835
  "char": "o",
@@ -19921,7 +19894,7 @@
19921
19894
  },
19922
19895
  "hasDynamicHelp": false,
19923
19896
  "hiddenAliases": [],
19924
- "id": "shipment:release_stock",
19897
+ "id": "stock_transfer:upcoming",
19925
19898
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19926
19899
  "pluginName": "@commercelayer/cli-plugin-triggers",
19927
19900
  "pluginType": "core",
@@ -19931,11 +19904,11 @@
19931
19904
  "relativePath": [
19932
19905
  "lib",
19933
19906
  "commands",
19934
- "shipment",
19935
- "release_stock.js"
19907
+ "stock_transfer",
19908
+ "upcoming.js"
19936
19909
  ]
19937
19910
  },
19938
- "shipment:remove_tags": {
19911
+ "stripe_payment": {
19939
19912
  "aliases": [],
19940
19913
  "args": {
19941
19914
  "id": {
@@ -19944,7 +19917,7 @@
19944
19917
  "required": true
19945
19918
  }
19946
19919
  },
19947
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
19920
+ "description": "execute an action on a resource of type stripe_payments",
19948
19921
  "flags": {
19949
19922
  "organization": {
19950
19923
  "char": "o",
@@ -20009,7 +19982,7 @@
20009
19982
  },
20010
19983
  "hasDynamicHelp": false,
20011
19984
  "hiddenAliases": [],
20012
- "id": "shipment:remove_tags",
19985
+ "id": "stripe_payment",
20013
19986
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20014
19987
  "pluginName": "@commercelayer/cli-plugin-triggers",
20015
19988
  "pluginType": "core",
@@ -20019,11 +19992,11 @@
20019
19992
  "relativePath": [
20020
19993
  "lib",
20021
19994
  "commands",
20022
- "shipment",
20023
- "remove_tags.js"
20024
- ]
19995
+ "stripe_payment",
19996
+ "index.js"
19997
+ ]
20025
19998
  },
20026
- "shipment:reserve_stock": {
19999
+ "stripe_payment:refresh": {
20027
20000
  "aliases": [],
20028
20001
  "args": {
20029
20002
  "id": {
@@ -20032,7 +20005,7 @@
20032
20005
  "required": true
20033
20006
  }
20034
20007
  },
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.",
20008
+ "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
20036
20009
  "flags": {
20037
20010
  "organization": {
20038
20011
  "char": "o",
@@ -20097,7 +20070,7 @@
20097
20070
  },
20098
20071
  "hasDynamicHelp": false,
20099
20072
  "hiddenAliases": [],
20100
- "id": "shipment:reserve_stock",
20073
+ "id": "stripe_payment:refresh",
20101
20074
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20102
20075
  "pluginName": "@commercelayer/cli-plugin-triggers",
20103
20076
  "pluginType": "core",
@@ -20107,11 +20080,11 @@
20107
20080
  "relativePath": [
20108
20081
  "lib",
20109
20082
  "commands",
20110
- "shipment",
20111
- "reserve_stock.js"
20083
+ "stripe_payment",
20084
+ "refresh.js"
20112
20085
  ]
20113
20086
  },
20114
- "shipment:ship": {
20087
+ "stripe_payment:update": {
20115
20088
  "aliases": [],
20116
20089
  "args": {
20117
20090
  "id": {
@@ -20120,7 +20093,7 @@
20120
20093
  "required": true
20121
20094
  }
20122
20095
  },
20123
- "description": "Send this attribute if you want to mark this shipment as shipped.",
20096
+ "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
20124
20097
  "flags": {
20125
20098
  "organization": {
20126
20099
  "char": "o",
@@ -20185,7 +20158,7 @@
20185
20158
  },
20186
20159
  "hasDynamicHelp": false,
20187
20160
  "hiddenAliases": [],
20188
- "id": "shipment:ship",
20161
+ "id": "stripe_payment:update",
20189
20162
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20190
20163
  "pluginName": "@commercelayer/cli-plugin-triggers",
20191
20164
  "pluginType": "core",
@@ -20195,11 +20168,11 @@
20195
20168
  "relativePath": [
20196
20169
  "lib",
20197
20170
  "commands",
20198
- "shipment",
20199
- "ship.js"
20171
+ "stripe_payment",
20172
+ "update.js"
20200
20173
  ]
20201
20174
  },
20202
- "shipment:upcoming": {
20175
+ "vertex_account": {
20203
20176
  "aliases": [],
20204
20177
  "args": {
20205
20178
  "id": {
@@ -20208,7 +20181,7 @@
20208
20181
  "required": true
20209
20182
  }
20210
20183
  },
20211
- "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
20184
+ "description": "execute an action on a resource of type vertex_accounts",
20212
20185
  "flags": {
20213
20186
  "organization": {
20214
20187
  "char": "o",
@@ -20273,7 +20246,7 @@
20273
20246
  },
20274
20247
  "hasDynamicHelp": false,
20275
20248
  "hiddenAliases": [],
20276
- "id": "shipment:upcoming",
20249
+ "id": "vertex_account",
20277
20250
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20278
20251
  "pluginName": "@commercelayer/cli-plugin-triggers",
20279
20252
  "pluginType": "core",
@@ -20283,11 +20256,11 @@
20283
20256
  "relativePath": [
20284
20257
  "lib",
20285
20258
  "commands",
20286
- "shipment",
20287
- "upcoming.js"
20259
+ "vertex_account",
20260
+ "index.js"
20288
20261
  ]
20289
20262
  },
20290
- "shipping_method:add_tags": {
20263
+ "vertex_account:refresh_token": {
20291
20264
  "aliases": [],
20292
20265
  "args": {
20293
20266
  "id": {
@@ -20296,7 +20269,7 @@
20296
20269
  "required": true
20297
20270
  }
20298
20271
  },
20299
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20272
+ "description": "Send this attribute if you want to manually refresh the access token.",
20300
20273
  "flags": {
20301
20274
  "organization": {
20302
20275
  "char": "o",
@@ -20361,7 +20334,7 @@
20361
20334
  },
20362
20335
  "hasDynamicHelp": false,
20363
20336
  "hiddenAliases": [],
20364
- "id": "shipping_method:add_tags",
20337
+ "id": "vertex_account:refresh_token",
20365
20338
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20366
20339
  "pluginName": "@commercelayer/cli-plugin-triggers",
20367
20340
  "pluginType": "core",
@@ -20371,11 +20344,11 @@
20371
20344
  "relativePath": [
20372
20345
  "lib",
20373
20346
  "commands",
20374
- "shipping_method",
20375
- "add_tags.js"
20347
+ "vertex_account",
20348
+ "refresh_token.js"
20376
20349
  ]
20377
20350
  },
20378
- "shipping_method:disable": {
20351
+ "void:forward": {
20379
20352
  "aliases": [],
20380
20353
  "args": {
20381
20354
  "id": {
@@ -20384,7 +20357,7 @@
20384
20357
  "required": true
20385
20358
  }
20386
20359
  },
20387
- "description": "Send this attribute if you want to mark this resource as disabled.",
20360
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
20388
20361
  "flags": {
20389
20362
  "organization": {
20390
20363
  "char": "o",
@@ -20449,7 +20422,7 @@
20449
20422
  },
20450
20423
  "hasDynamicHelp": false,
20451
20424
  "hiddenAliases": [],
20452
- "id": "shipping_method:disable",
20425
+ "id": "void:forward",
20453
20426
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20454
20427
  "pluginName": "@commercelayer/cli-plugin-triggers",
20455
20428
  "pluginType": "core",
@@ -20459,11 +20432,11 @@
20459
20432
  "relativePath": [
20460
20433
  "lib",
20461
20434
  "commands",
20462
- "shipping_method",
20463
- "disable.js"
20435
+ "void",
20436
+ "forward.js"
20464
20437
  ]
20465
20438
  },
20466
- "shipping_method:enable": {
20439
+ "void": {
20467
20440
  "aliases": [],
20468
20441
  "args": {
20469
20442
  "id": {
@@ -20472,7 +20445,7 @@
20472
20445
  "required": true
20473
20446
  }
20474
20447
  },
20475
- "description": "Send this attribute if you want to mark this resource as enabled.",
20448
+ "description": "execute an action on a resource of type voids",
20476
20449
  "flags": {
20477
20450
  "organization": {
20478
20451
  "char": "o",
@@ -20537,7 +20510,7 @@
20537
20510
  },
20538
20511
  "hasDynamicHelp": false,
20539
20512
  "hiddenAliases": [],
20540
- "id": "shipping_method:enable",
20513
+ "id": "void",
20541
20514
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20542
20515
  "pluginName": "@commercelayer/cli-plugin-triggers",
20543
20516
  "pluginType": "core",
@@ -20547,11 +20520,11 @@
20547
20520
  "relativePath": [
20548
20521
  "lib",
20549
20522
  "commands",
20550
- "shipping_method",
20551
- "enable.js"
20523
+ "void",
20524
+ "index.js"
20552
20525
  ]
20553
20526
  },
20554
- "shipping_method": {
20527
+ "webhook:disable": {
20555
20528
  "aliases": [],
20556
20529
  "args": {
20557
20530
  "id": {
@@ -20560,7 +20533,7 @@
20560
20533
  "required": true
20561
20534
  }
20562
20535
  },
20563
- "description": "execute an action on a resource of type shipping_methods",
20536
+ "description": "Send this attribute if you want to mark this resource as disabled.",
20564
20537
  "flags": {
20565
20538
  "organization": {
20566
20539
  "char": "o",
@@ -20625,7 +20598,7 @@
20625
20598
  },
20626
20599
  "hasDynamicHelp": false,
20627
20600
  "hiddenAliases": [],
20628
- "id": "shipping_method",
20601
+ "id": "webhook:disable",
20629
20602
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20630
20603
  "pluginName": "@commercelayer/cli-plugin-triggers",
20631
20604
  "pluginType": "core",
@@ -20635,11 +20608,11 @@
20635
20608
  "relativePath": [
20636
20609
  "lib",
20637
20610
  "commands",
20638
- "shipping_method",
20639
- "index.js"
20611
+ "webhook",
20612
+ "disable.js"
20640
20613
  ]
20641
20614
  },
20642
- "shipping_method:remove_tags": {
20615
+ "webhook:enable": {
20643
20616
  "aliases": [],
20644
20617
  "args": {
20645
20618
  "id": {
@@ -20648,7 +20621,7 @@
20648
20621
  "required": true
20649
20622
  }
20650
20623
  },
20651
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20624
+ "description": "Send this attribute if you want to mark this resource as enabled.",
20652
20625
  "flags": {
20653
20626
  "organization": {
20654
20627
  "char": "o",
@@ -20713,7 +20686,7 @@
20713
20686
  },
20714
20687
  "hasDynamicHelp": false,
20715
20688
  "hiddenAliases": [],
20716
- "id": "shipping_method:remove_tags",
20689
+ "id": "webhook:enable",
20717
20690
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20718
20691
  "pluginName": "@commercelayer/cli-plugin-triggers",
20719
20692
  "pluginType": "core",
@@ -20723,11 +20696,11 @@
20723
20696
  "relativePath": [
20724
20697
  "lib",
20725
20698
  "commands",
20726
- "shipping_method",
20727
- "remove_tags.js"
20699
+ "webhook",
20700
+ "enable.js"
20728
20701
  ]
20729
20702
  },
20730
- "shipping_method:reset_circuit": {
20703
+ "webhook": {
20731
20704
  "aliases": [],
20732
20705
  "args": {
20733
20706
  "id": {
@@ -20736,7 +20709,7 @@
20736
20709
  "required": true
20737
20710
  }
20738
20711
  },
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.",
20712
+ "description": "execute an action on a resource of type webhooks",
20740
20713
  "flags": {
20741
20714
  "organization": {
20742
20715
  "char": "o",
@@ -20801,7 +20774,7 @@
20801
20774
  },
20802
20775
  "hasDynamicHelp": false,
20803
20776
  "hiddenAliases": [],
20804
- "id": "shipping_method:reset_circuit",
20777
+ "id": "webhook",
20805
20778
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20806
20779
  "pluginName": "@commercelayer/cli-plugin-triggers",
20807
20780
  "pluginType": "core",
@@ -20811,11 +20784,11 @@
20811
20784
  "relativePath": [
20812
20785
  "lib",
20813
20786
  "commands",
20814
- "shipping_method",
20815
- "reset_circuit.js"
20787
+ "webhook",
20788
+ "index.js"
20816
20789
  ]
20817
20790
  },
20818
- "sku:add_tags": {
20791
+ "webhook:reset_circuit": {
20819
20792
  "aliases": [],
20820
20793
  "args": {
20821
20794
  "id": {
@@ -20824,7 +20797,7 @@
20824
20797
  "required": true
20825
20798
  }
20826
20799
  },
20827
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20800
+ "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.",
20828
20801
  "flags": {
20829
20802
  "organization": {
20830
20803
  "char": "o",
@@ -20889,7 +20862,7 @@
20889
20862
  },
20890
20863
  "hasDynamicHelp": false,
20891
20864
  "hiddenAliases": [],
20892
- "id": "sku:add_tags",
20865
+ "id": "webhook:reset_circuit",
20893
20866
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20894
20867
  "pluginName": "@commercelayer/cli-plugin-triggers",
20895
20868
  "pluginType": "core",
@@ -20899,11 +20872,11 @@
20899
20872
  "relativePath": [
20900
20873
  "lib",
20901
20874
  "commands",
20902
- "sku",
20903
- "add_tags.js"
20875
+ "webhook",
20876
+ "reset_circuit.js"
20904
20877
  ]
20905
20878
  },
20906
- "sku": {
20879
+ "order:add_tags": {
20907
20880
  "aliases": [],
20908
20881
  "args": {
20909
20882
  "id": {
@@ -20912,7 +20885,7 @@
20912
20885
  "required": true
20913
20886
  }
20914
20887
  },
20915
- "description": "execute an action on a resource of type skus",
20888
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20916
20889
  "flags": {
20917
20890
  "organization": {
20918
20891
  "char": "o",
@@ -20977,7 +20950,7 @@
20977
20950
  },
20978
20951
  "hasDynamicHelp": false,
20979
20952
  "hiddenAliases": [],
20980
- "id": "sku",
20953
+ "id": "order:add_tags",
20981
20954
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20982
20955
  "pluginName": "@commercelayer/cli-plugin-triggers",
20983
20956
  "pluginType": "core",
@@ -20987,11 +20960,11 @@
20987
20960
  "relativePath": [
20988
20961
  "lib",
20989
20962
  "commands",
20990
- "sku",
20991
- "index.js"
20963
+ "order",
20964
+ "add_tags.js"
20992
20965
  ]
20993
20966
  },
20994
- "sku:remove_tags": {
20967
+ "order:approve": {
20995
20968
  "aliases": [],
20996
20969
  "args": {
20997
20970
  "id": {
@@ -21000,7 +20973,7 @@
21000
20973
  "required": true
21001
20974
  }
21002
20975
  },
21003
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20976
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
21004
20977
  "flags": {
21005
20978
  "organization": {
21006
20979
  "char": "o",
@@ -21065,7 +21038,7 @@
21065
21038
  },
21066
21039
  "hasDynamicHelp": false,
21067
21040
  "hiddenAliases": [],
21068
- "id": "sku:remove_tags",
21041
+ "id": "order:approve",
21069
21042
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21070
21043
  "pluginName": "@commercelayer/cli-plugin-triggers",
21071
21044
  "pluginType": "core",
@@ -21075,11 +21048,11 @@
21075
21048
  "relativePath": [
21076
21049
  "lib",
21077
21050
  "commands",
21078
- "sku",
21079
- "remove_tags.js"
21051
+ "order",
21052
+ "approve.js"
21080
21053
  ]
21081
21054
  },
21082
- "sku_option:add_tags": {
21055
+ "order:approve_and_capture": {
21083
21056
  "aliases": [],
21084
21057
  "args": {
21085
21058
  "id": {
@@ -21088,7 +21061,7 @@
21088
21061
  "required": true
21089
21062
  }
21090
21063
  },
21091
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
21064
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
21092
21065
  "flags": {
21093
21066
  "organization": {
21094
21067
  "char": "o",
@@ -21153,7 +21126,7 @@
21153
21126
  },
21154
21127
  "hasDynamicHelp": false,
21155
21128
  "hiddenAliases": [],
21156
- "id": "sku_option:add_tags",
21129
+ "id": "order:approve_and_capture",
21157
21130
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21158
21131
  "pluginName": "@commercelayer/cli-plugin-triggers",
21159
21132
  "pluginType": "core",
@@ -21163,11 +21136,11 @@
21163
21136
  "relativePath": [
21164
21137
  "lib",
21165
21138
  "commands",
21166
- "sku_option",
21167
- "add_tags.js"
21139
+ "order",
21140
+ "approve_and_capture.js"
21168
21141
  ]
21169
21142
  },
21170
- "sku_option": {
21143
+ "order:archive": {
21171
21144
  "aliases": [],
21172
21145
  "args": {
21173
21146
  "id": {
@@ -21176,7 +21149,7 @@
21176
21149
  "required": true
21177
21150
  }
21178
21151
  },
21179
- "description": "execute an action on a resource of type sku_options",
21152
+ "description": "Send this attribute if you want to archive the order.",
21180
21153
  "flags": {
21181
21154
  "organization": {
21182
21155
  "char": "o",
@@ -21241,7 +21214,7 @@
21241
21214
  },
21242
21215
  "hasDynamicHelp": false,
21243
21216
  "hiddenAliases": [],
21244
- "id": "sku_option",
21217
+ "id": "order:archive",
21245
21218
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21246
21219
  "pluginName": "@commercelayer/cli-plugin-triggers",
21247
21220
  "pluginType": "core",
@@ -21251,11 +21224,11 @@
21251
21224
  "relativePath": [
21252
21225
  "lib",
21253
21226
  "commands",
21254
- "sku_option",
21255
- "index.js"
21227
+ "order",
21228
+ "archive.js"
21256
21229
  ]
21257
21230
  },
21258
- "sku_option:remove_tags": {
21231
+ "order:authorization_amount_cents": {
21259
21232
  "aliases": [],
21260
21233
  "args": {
21261
21234
  "id": {
@@ -21264,7 +21237,7 @@
21264
21237
  "required": true
21265
21238
  }
21266
21239
  },
21267
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
21240
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
21268
21241
  "flags": {
21269
21242
  "organization": {
21270
21243
  "char": "o",
@@ -21329,7 +21302,7 @@
21329
21302
  },
21330
21303
  "hasDynamicHelp": false,
21331
21304
  "hiddenAliases": [],
21332
- "id": "sku_option:remove_tags",
21305
+ "id": "order:authorization_amount_cents",
21333
21306
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21334
21307
  "pluginName": "@commercelayer/cli-plugin-triggers",
21335
21308
  "pluginType": "core",
@@ -21339,11 +21312,11 @@
21339
21312
  "relativePath": [
21340
21313
  "lib",
21341
21314
  "commands",
21342
- "sku_option",
21343
- "remove_tags.js"
21315
+ "order",
21316
+ "authorization_amount_cents.js"
21344
21317
  ]
21345
21318
  },
21346
- "stock_item": {
21319
+ "order:authorize": {
21347
21320
  "aliases": [],
21348
21321
  "args": {
21349
21322
  "id": {
@@ -21352,7 +21325,7 @@
21352
21325
  "required": true
21353
21326
  }
21354
21327
  },
21355
- "description": "execute an action on a resource of type stock_items",
21328
+ "description": "Send this attribute if you want to authorize the order's payment source.",
21356
21329
  "flags": {
21357
21330
  "organization": {
21358
21331
  "char": "o",
@@ -21417,7 +21390,7 @@
21417
21390
  },
21418
21391
  "hasDynamicHelp": false,
21419
21392
  "hiddenAliases": [],
21420
- "id": "stock_item",
21393
+ "id": "order:authorize",
21421
21394
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21422
21395
  "pluginName": "@commercelayer/cli-plugin-triggers",
21423
21396
  "pluginType": "core",
@@ -21427,11 +21400,11 @@
21427
21400
  "relativePath": [
21428
21401
  "lib",
21429
21402
  "commands",
21430
- "stock_item",
21431
- "index.js"
21403
+ "order",
21404
+ "authorize.js"
21432
21405
  ]
21433
21406
  },
21434
- "stock_item:validate": {
21407
+ "order:billing_address_clone_id": {
21435
21408
  "aliases": [],
21436
21409
  "args": {
21437
21410
  "id": {
@@ -21440,7 +21413,7 @@
21440
21413
  "required": true
21441
21414
  }
21442
21415
  },
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.",
21416
+ "description": "The id of the address that you want to clone to create the order's billing address.",
21444
21417
  "flags": {
21445
21418
  "organization": {
21446
21419
  "char": "o",
@@ -21501,11 +21474,20 @@
21501
21474
  "name": "unformatted",
21502
21475
  "allowNo": false,
21503
21476
  "type": "boolean"
21477
+ },
21478
+ "value": {
21479
+ "char": "v",
21480
+ "description": "the trigger attribute value",
21481
+ "name": "value",
21482
+ "required": true,
21483
+ "hasDynamicHelp": false,
21484
+ "multiple": false,
21485
+ "type": "option"
21504
21486
  }
21505
21487
  },
21506
21488
  "hasDynamicHelp": false,
21507
21489
  "hiddenAliases": [],
21508
- "id": "stock_item:validate",
21490
+ "id": "order:billing_address_clone_id",
21509
21491
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21510
21492
  "pluginName": "@commercelayer/cli-plugin-triggers",
21511
21493
  "pluginType": "core",
@@ -21515,11 +21497,11 @@
21515
21497
  "relativePath": [
21516
21498
  "lib",
21517
21499
  "commands",
21518
- "stock_item",
21519
- "validate.js"
21500
+ "order",
21501
+ "billing_address_clone_id.js"
21520
21502
  ]
21521
21503
  },
21522
- "stock_line_item:decrement_stock": {
21504
+ "order:billing_address_same_as_shipping": {
21523
21505
  "aliases": [],
21524
21506
  "args": {
21525
21507
  "id": {
@@ -21528,7 +21510,7 @@
21528
21510
  "required": true
21529
21511
  }
21530
21512
  },
21531
- "description": "Send this attribute if you want to automatically decrement and release the stock this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21513
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
21532
21514
  "flags": {
21533
21515
  "organization": {
21534
21516
  "char": "o",
@@ -21593,7 +21575,7 @@
21593
21575
  },
21594
21576
  "hasDynamicHelp": false,
21595
21577
  "hiddenAliases": [],
21596
- "id": "stock_line_item:decrement_stock",
21578
+ "id": "order:billing_address_same_as_shipping",
21597
21579
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21598
21580
  "pluginName": "@commercelayer/cli-plugin-triggers",
21599
21581
  "pluginType": "core",
@@ -21603,11 +21585,11 @@
21603
21585
  "relativePath": [
21604
21586
  "lib",
21605
21587
  "commands",
21606
- "stock_line_item",
21607
- "decrement_stock.js"
21588
+ "order",
21589
+ "billing_address_same_as_shipping.js"
21608
21590
  ]
21609
21591
  },
21610
- "stock_line_item": {
21592
+ "order:cancel": {
21611
21593
  "aliases": [],
21612
21594
  "args": {
21613
21595
  "id": {
@@ -21616,7 +21598,7 @@
21616
21598
  "required": true
21617
21599
  }
21618
21600
  },
21619
- "description": "execute an action on a resource of type stock_line_items",
21601
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
21620
21602
  "flags": {
21621
21603
  "organization": {
21622
21604
  "char": "o",
@@ -21681,7 +21663,7 @@
21681
21663
  },
21682
21664
  "hasDynamicHelp": false,
21683
21665
  "hiddenAliases": [],
21684
- "id": "stock_line_item",
21666
+ "id": "order:cancel",
21685
21667
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21686
21668
  "pluginName": "@commercelayer/cli-plugin-triggers",
21687
21669
  "pluginType": "core",
@@ -21691,11 +21673,11 @@
21691
21673
  "relativePath": [
21692
21674
  "lib",
21693
21675
  "commands",
21694
- "stock_line_item",
21695
- "index.js"
21676
+ "order",
21677
+ "cancel.js"
21696
21678
  ]
21697
21679
  },
21698
- "stock_line_item:release_stock": {
21680
+ "order:capture": {
21699
21681
  "aliases": [],
21700
21682
  "args": {
21701
21683
  "id": {
@@ -21704,7 +21686,7 @@
21704
21686
  "required": true
21705
21687
  }
21706
21688
  },
21707
- "description": "Send this attribute if you want to automatically destroy the stock reservation for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21689
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
21708
21690
  "flags": {
21709
21691
  "organization": {
21710
21692
  "char": "o",
@@ -21769,7 +21751,7 @@
21769
21751
  },
21770
21752
  "hasDynamicHelp": false,
21771
21753
  "hiddenAliases": [],
21772
- "id": "stock_line_item:release_stock",
21754
+ "id": "order:capture",
21773
21755
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21774
21756
  "pluginName": "@commercelayer/cli-plugin-triggers",
21775
21757
  "pluginType": "core",
@@ -21779,11 +21761,11 @@
21779
21761
  "relativePath": [
21780
21762
  "lib",
21781
21763
  "commands",
21782
- "stock_line_item",
21783
- "release_stock.js"
21764
+ "order",
21765
+ "capture.js"
21784
21766
  ]
21785
21767
  },
21786
- "stock_line_item:reserve_stock": {
21768
+ "order:commit_invoice": {
21787
21769
  "aliases": [],
21788
21770
  "args": {
21789
21771
  "id": {
@@ -21792,7 +21774,7 @@
21792
21774
  "required": true
21793
21775
  }
21794
21776
  },
21795
- "description": "Send this attribute if you want to automatically reserve the stock for this stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
21777
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
21796
21778
  "flags": {
21797
21779
  "organization": {
21798
21780
  "char": "o",
@@ -21857,7 +21839,7 @@
21857
21839
  },
21858
21840
  "hasDynamicHelp": false,
21859
21841
  "hiddenAliases": [],
21860
- "id": "stock_line_item:reserve_stock",
21842
+ "id": "order:commit_invoice",
21861
21843
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21862
21844
  "pluginName": "@commercelayer/cli-plugin-triggers",
21863
21845
  "pluginType": "core",
@@ -21867,11 +21849,11 @@
21867
21849
  "relativePath": [
21868
21850
  "lib",
21869
21851
  "commands",
21870
- "stock_line_item",
21871
- "reserve_stock.js"
21852
+ "order",
21853
+ "commit_invoice.js"
21872
21854
  ]
21873
21855
  },
21874
- "stock_reservation": {
21856
+ "order:create_subscriptions": {
21875
21857
  "aliases": [],
21876
21858
  "args": {
21877
21859
  "id": {
@@ -21880,7 +21862,7 @@
21880
21862
  "required": true
21881
21863
  }
21882
21864
  },
21883
- "description": "execute an action on a resource of type stock_reservations",
21865
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
21884
21866
  "flags": {
21885
21867
  "organization": {
21886
21868
  "char": "o",
@@ -21945,7 +21927,7 @@
21945
21927
  },
21946
21928
  "hasDynamicHelp": false,
21947
21929
  "hiddenAliases": [],
21948
- "id": "stock_reservation",
21930
+ "id": "order:create_subscriptions",
21949
21931
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21950
21932
  "pluginName": "@commercelayer/cli-plugin-triggers",
21951
21933
  "pluginType": "core",
@@ -21955,11 +21937,11 @@
21955
21937
  "relativePath": [
21956
21938
  "lib",
21957
21939
  "commands",
21958
- "stock_reservation",
21959
- "index.js"
21940
+ "order",
21941
+ "create_subscriptions.js"
21960
21942
  ]
21961
21943
  },
21962
- "stock_reservation:pending": {
21944
+ "order:customer_payment_source_id": {
21963
21945
  "aliases": [],
21964
21946
  "args": {
21965
21947
  "id": {
@@ -21968,7 +21950,7 @@
21968
21950
  "required": true
21969
21951
  }
21970
21952
  },
21971
- "description": "Send this attribute if you want to mark this stock reservation as pending.",
21953
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
21972
21954
  "flags": {
21973
21955
  "organization": {
21974
21956
  "char": "o",
@@ -22029,11 +22011,20 @@
22029
22011
  "name": "unformatted",
22030
22012
  "allowNo": false,
22031
22013
  "type": "boolean"
22014
+ },
22015
+ "value": {
22016
+ "char": "v",
22017
+ "description": "the trigger attribute value",
22018
+ "name": "value",
22019
+ "required": true,
22020
+ "hasDynamicHelp": false,
22021
+ "multiple": false,
22022
+ "type": "option"
22032
22023
  }
22033
22024
  },
22034
22025
  "hasDynamicHelp": false,
22035
22026
  "hiddenAliases": [],
22036
- "id": "stock_reservation:pending",
22027
+ "id": "order:customer_payment_source_id",
22037
22028
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22038
22029
  "pluginName": "@commercelayer/cli-plugin-triggers",
22039
22030
  "pluginType": "core",
@@ -22043,11 +22034,11 @@
22043
22034
  "relativePath": [
22044
22035
  "lib",
22045
22036
  "commands",
22046
- "stock_reservation",
22047
- "pending.js"
22037
+ "order",
22038
+ "customer_payment_source_id.js"
22048
22039
  ]
22049
22040
  },
22050
- "stock_transfer:cancel": {
22041
+ "order:fix_payment_source": {
22051
22042
  "aliases": [],
22052
22043
  "args": {
22053
22044
  "id": {
@@ -22056,7 +22047,7 @@
22056
22047
  "required": true
22057
22048
  }
22058
22049
  },
22059
- "description": "Send this attribute if you want to cancel this stock transfer.",
22050
+ "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.",
22060
22051
  "flags": {
22061
22052
  "organization": {
22062
22053
  "char": "o",
@@ -22121,7 +22112,7 @@
22121
22112
  },
22122
22113
  "hasDynamicHelp": false,
22123
22114
  "hiddenAliases": [],
22124
- "id": "stock_transfer:cancel",
22115
+ "id": "order:fix_payment_source",
22125
22116
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22126
22117
  "pluginName": "@commercelayer/cli-plugin-triggers",
22127
22118
  "pluginType": "core",
@@ -22131,11 +22122,11 @@
22131
22122
  "relativePath": [
22132
22123
  "lib",
22133
22124
  "commands",
22134
- "stock_transfer",
22135
- "cancel.js"
22125
+ "order",
22126
+ "fix_payment_source.js"
22136
22127
  ]
22137
22128
  },
22138
- "stock_transfer:complete": {
22129
+ "order:fulfill": {
22139
22130
  "aliases": [],
22140
22131
  "args": {
22141
22132
  "id": {
@@ -22144,7 +22135,7 @@
22144
22135
  "required": true
22145
22136
  }
22146
22137
  },
22147
- "description": "Send this attribute if you want to complete this stock transfer.",
22138
+ "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.",
22148
22139
  "flags": {
22149
22140
  "organization": {
22150
22141
  "char": "o",
@@ -22209,7 +22200,7 @@
22209
22200
  },
22210
22201
  "hasDynamicHelp": false,
22211
22202
  "hiddenAliases": [],
22212
- "id": "stock_transfer:complete",
22203
+ "id": "order:fulfill",
22213
22204
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22214
22205
  "pluginName": "@commercelayer/cli-plugin-triggers",
22215
22206
  "pluginType": "core",
@@ -22219,11 +22210,11 @@
22219
22210
  "relativePath": [
22220
22211
  "lib",
22221
22212
  "commands",
22222
- "stock_transfer",
22223
- "complete.js"
22213
+ "order",
22214
+ "fulfill.js"
22224
22215
  ]
22225
22216
  },
22226
- "stock_transfer:in_transit": {
22217
+ "order": {
22227
22218
  "aliases": [],
22228
22219
  "args": {
22229
22220
  "id": {
@@ -22232,7 +22223,7 @@
22232
22223
  "required": true
22233
22224
  }
22234
22225
  },
22235
- "description": "Send this attribute if you want to mark this stock transfer as in transit.",
22226
+ "description": "execute an action on a resource of type orders",
22236
22227
  "flags": {
22237
22228
  "organization": {
22238
22229
  "char": "o",
@@ -22297,7 +22288,7 @@
22297
22288
  },
22298
22289
  "hasDynamicHelp": false,
22299
22290
  "hiddenAliases": [],
22300
- "id": "stock_transfer:in_transit",
22291
+ "id": "order",
22301
22292
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22302
22293
  "pluginName": "@commercelayer/cli-plugin-triggers",
22303
22294
  "pluginType": "core",
@@ -22307,11 +22298,11 @@
22307
22298
  "relativePath": [
22308
22299
  "lib",
22309
22300
  "commands",
22310
- "stock_transfer",
22311
- "in_transit.js"
22301
+ "order",
22302
+ "index.js"
22312
22303
  ]
22313
22304
  },
22314
- "stock_transfer": {
22305
+ "order:nullify_payment_source": {
22315
22306
  "aliases": [],
22316
22307
  "args": {
22317
22308
  "id": {
@@ -22320,7 +22311,7 @@
22320
22311
  "required": true
22321
22312
  }
22322
22313
  },
22323
- "description": "execute an action on a resource of type stock_transfers",
22314
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
22324
22315
  "flags": {
22325
22316
  "organization": {
22326
22317
  "char": "o",
@@ -22385,7 +22376,7 @@
22385
22376
  },
22386
22377
  "hasDynamicHelp": false,
22387
22378
  "hiddenAliases": [],
22388
- "id": "stock_transfer",
22379
+ "id": "order:nullify_payment_source",
22389
22380
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22390
22381
  "pluginName": "@commercelayer/cli-plugin-triggers",
22391
22382
  "pluginType": "core",
@@ -22395,11 +22386,11 @@
22395
22386
  "relativePath": [
22396
22387
  "lib",
22397
22388
  "commands",
22398
- "stock_transfer",
22399
- "index.js"
22389
+ "order",
22390
+ "nullify_payment_source.js"
22400
22391
  ]
22401
22392
  },
22402
- "stock_transfer:on_hold": {
22393
+ "order:pending": {
22403
22394
  "aliases": [],
22404
22395
  "args": {
22405
22396
  "id": {
@@ -22408,7 +22399,7 @@
22408
22399
  "required": true
22409
22400
  }
22410
22401
  },
22411
- "description": "Send this attribute if you want to put this stock transfer on hold.",
22402
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
22412
22403
  "flags": {
22413
22404
  "organization": {
22414
22405
  "char": "o",
@@ -22473,7 +22464,7 @@
22473
22464
  },
22474
22465
  "hasDynamicHelp": false,
22475
22466
  "hiddenAliases": [],
22476
- "id": "stock_transfer:on_hold",
22467
+ "id": "order:pending",
22477
22468
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22478
22469
  "pluginName": "@commercelayer/cli-plugin-triggers",
22479
22470
  "pluginType": "core",
@@ -22483,11 +22474,11 @@
22483
22474
  "relativePath": [
22484
22475
  "lib",
22485
22476
  "commands",
22486
- "stock_transfer",
22487
- "on_hold.js"
22477
+ "order",
22478
+ "pending.js"
22488
22479
  ]
22489
22480
  },
22490
- "stock_transfer:picking": {
22481
+ "order:place": {
22491
22482
  "aliases": [],
22492
22483
  "args": {
22493
22484
  "id": {
@@ -22496,7 +22487,7 @@
22496
22487
  "required": true
22497
22488
  }
22498
22489
  },
22499
- "description": "Send this attribute if you want to start picking this stock transfer.",
22490
+ "description": "Send this attribute if you want to place the order.",
22500
22491
  "flags": {
22501
22492
  "organization": {
22502
22493
  "char": "o",
@@ -22561,7 +22552,7 @@
22561
22552
  },
22562
22553
  "hasDynamicHelp": false,
22563
22554
  "hiddenAliases": [],
22564
- "id": "stock_transfer:picking",
22555
+ "id": "order:place",
22565
22556
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22566
22557
  "pluginName": "@commercelayer/cli-plugin-triggers",
22567
22558
  "pluginType": "core",
@@ -22571,11 +22562,11 @@
22571
22562
  "relativePath": [
22572
22563
  "lib",
22573
22564
  "commands",
22574
- "stock_transfer",
22575
- "picking.js"
22565
+ "order",
22566
+ "place.js"
22576
22567
  ]
22577
22568
  },
22578
- "stock_transfer:upcoming": {
22569
+ "order:refresh": {
22579
22570
  "aliases": [],
22580
22571
  "args": {
22581
22572
  "id": {
@@ -22584,7 +22575,7 @@
22584
22575
  "required": true
22585
22576
  }
22586
22577
  },
22587
- "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
22578
+ "description": "Send this attribute if you want to manually refresh the order.",
22588
22579
  "flags": {
22589
22580
  "organization": {
22590
22581
  "char": "o",
@@ -22649,7 +22640,7 @@
22649
22640
  },
22650
22641
  "hasDynamicHelp": false,
22651
22642
  "hiddenAliases": [],
22652
- "id": "stock_transfer:upcoming",
22643
+ "id": "order:refresh",
22653
22644
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22654
22645
  "pluginName": "@commercelayer/cli-plugin-triggers",
22655
22646
  "pluginType": "core",
@@ -22659,11 +22650,11 @@
22659
22650
  "relativePath": [
22660
22651
  "lib",
22661
22652
  "commands",
22662
- "stock_transfer",
22663
- "upcoming.js"
22653
+ "order",
22654
+ "refresh.js"
22664
22655
  ]
22665
22656
  },
22666
- "stripe_gateway:disable": {
22657
+ "order:refund": {
22667
22658
  "aliases": [],
22668
22659
  "args": {
22669
22660
  "id": {
@@ -22672,7 +22663,7 @@
22672
22663
  "required": true
22673
22664
  }
22674
22665
  },
22675
- "description": "Send this attribute if you want to mark this resource as disabled.",
22666
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
22676
22667
  "flags": {
22677
22668
  "organization": {
22678
22669
  "char": "o",
@@ -22737,7 +22728,7 @@
22737
22728
  },
22738
22729
  "hasDynamicHelp": false,
22739
22730
  "hiddenAliases": [],
22740
- "id": "stripe_gateway:disable",
22731
+ "id": "order:refund",
22741
22732
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22742
22733
  "pluginName": "@commercelayer/cli-plugin-triggers",
22743
22734
  "pluginType": "core",
@@ -22747,11 +22738,11 @@
22747
22738
  "relativePath": [
22748
22739
  "lib",
22749
22740
  "commands",
22750
- "stripe_gateway",
22751
- "disable.js"
22741
+ "order",
22742
+ "refund.js"
22752
22743
  ]
22753
22744
  },
22754
- "stripe_gateway:enable": {
22745
+ "order:refund_invoice": {
22755
22746
  "aliases": [],
22756
22747
  "args": {
22757
22748
  "id": {
@@ -22760,7 +22751,7 @@
22760
22751
  "required": true
22761
22752
  }
22762
22753
  },
22763
- "description": "Send this attribute if you want to mark this resource as enabled.",
22754
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
22764
22755
  "flags": {
22765
22756
  "organization": {
22766
22757
  "char": "o",
@@ -22825,7 +22816,7 @@
22825
22816
  },
22826
22817
  "hasDynamicHelp": false,
22827
22818
  "hiddenAliases": [],
22828
- "id": "stripe_gateway:enable",
22819
+ "id": "order:refund_invoice",
22829
22820
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22830
22821
  "pluginName": "@commercelayer/cli-plugin-triggers",
22831
22822
  "pluginType": "core",
@@ -22835,11 +22826,11 @@
22835
22826
  "relativePath": [
22836
22827
  "lib",
22837
22828
  "commands",
22838
- "stripe_gateway",
22839
- "enable.js"
22829
+ "order",
22830
+ "refund_invoice.js"
22840
22831
  ]
22841
22832
  },
22842
- "stripe_gateway": {
22833
+ "order:remove_tags": {
22843
22834
  "aliases": [],
22844
22835
  "args": {
22845
22836
  "id": {
@@ -22848,7 +22839,7 @@
22848
22839
  "required": true
22849
22840
  }
22850
22841
  },
22851
- "description": "execute an action on a resource of type stripe_gateways",
22842
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
22852
22843
  "flags": {
22853
22844
  "organization": {
22854
22845
  "char": "o",
@@ -22913,7 +22904,7 @@
22913
22904
  },
22914
22905
  "hasDynamicHelp": false,
22915
22906
  "hiddenAliases": [],
22916
- "id": "stripe_gateway",
22907
+ "id": "order:remove_tags",
22917
22908
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
22918
22909
  "pluginName": "@commercelayer/cli-plugin-triggers",
22919
22910
  "pluginType": "core",
@@ -22923,11 +22914,11 @@
22923
22914
  "relativePath": [
22924
22915
  "lib",
22925
22916
  "commands",
22926
- "stripe_gateway",
22927
- "index.js"
22917
+ "order",
22918
+ "remove_tags.js"
22928
22919
  ]
22929
22920
  },
22930
- "stripe_payment": {
22921
+ "order:reset_circuit": {
22931
22922
  "aliases": [],
22932
22923
  "args": {
22933
22924
  "id": {
@@ -22936,7 +22927,7 @@
22936
22927
  "required": true
22937
22928
  }
22938
22929
  },
22939
- "description": "execute an action on a resource of type stripe_payments",
22930
+ "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.",
22940
22931
  "flags": {
22941
22932
  "organization": {
22942
22933
  "char": "o",
@@ -23001,7 +22992,7 @@
23001
22992
  },
23002
22993
  "hasDynamicHelp": false,
23003
22994
  "hiddenAliases": [],
23004
- "id": "stripe_payment",
22995
+ "id": "order:reset_circuit",
23005
22996
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23006
22997
  "pluginName": "@commercelayer/cli-plugin-triggers",
23007
22998
  "pluginType": "core",
@@ -23011,11 +23002,11 @@
23011
23002
  "relativePath": [
23012
23003
  "lib",
23013
23004
  "commands",
23014
- "stripe_payment",
23015
- "index.js"
23005
+ "order",
23006
+ "reset_circuit.js"
23016
23007
  ]
23017
23008
  },
23018
- "stripe_payment:refresh": {
23009
+ "order:save_billing_address_to_customer_address_book": {
23019
23010
  "aliases": [],
23020
23011
  "args": {
23021
23012
  "id": {
@@ -23024,7 +23015,7 @@
23024
23015
  "required": true
23025
23016
  }
23026
23017
  },
23027
- "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
23018
+ "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.",
23028
23019
  "flags": {
23029
23020
  "organization": {
23030
23021
  "char": "o",
@@ -23089,7 +23080,7 @@
23089
23080
  },
23090
23081
  "hasDynamicHelp": false,
23091
23082
  "hiddenAliases": [],
23092
- "id": "stripe_payment:refresh",
23083
+ "id": "order:save_billing_address_to_customer_address_book",
23093
23084
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23094
23085
  "pluginName": "@commercelayer/cli-plugin-triggers",
23095
23086
  "pluginType": "core",
@@ -23099,11 +23090,11 @@
23099
23090
  "relativePath": [
23100
23091
  "lib",
23101
23092
  "commands",
23102
- "stripe_payment",
23103
- "refresh.js"
23093
+ "order",
23094
+ "save_billing_address_to_customer_address_book.js"
23104
23095
  ]
23105
23096
  },
23106
- "stripe_payment:update": {
23097
+ "order:save_payment_source_to_customer_wallet": {
23107
23098
  "aliases": [],
23108
23099
  "args": {
23109
23100
  "id": {
@@ -23112,7 +23103,7 @@
23112
23103
  "required": true
23113
23104
  }
23114
23105
  },
23115
- "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
23106
+ "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.",
23116
23107
  "flags": {
23117
23108
  "organization": {
23118
23109
  "char": "o",
@@ -23177,7 +23168,7 @@
23177
23168
  },
23178
23169
  "hasDynamicHelp": false,
23179
23170
  "hiddenAliases": [],
23180
- "id": "stripe_payment:update",
23171
+ "id": "order:save_payment_source_to_customer_wallet",
23181
23172
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23182
23173
  "pluginName": "@commercelayer/cli-plugin-triggers",
23183
23174
  "pluginType": "core",
@@ -23187,11 +23178,11 @@
23187
23178
  "relativePath": [
23188
23179
  "lib",
23189
23180
  "commands",
23190
- "stripe_payment",
23191
- "update.js"
23181
+ "order",
23182
+ "save_payment_source_to_customer_wallet.js"
23192
23183
  ]
23193
23184
  },
23194
- "vertex_account": {
23185
+ "order:save_shipping_address_to_customer_address_book": {
23195
23186
  "aliases": [],
23196
23187
  "args": {
23197
23188
  "id": {
@@ -23200,7 +23191,7 @@
23200
23191
  "required": true
23201
23192
  }
23202
23193
  },
23203
- "description": "execute an action on a resource of type vertex_accounts",
23194
+ "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.",
23204
23195
  "flags": {
23205
23196
  "organization": {
23206
23197
  "char": "o",
@@ -23265,7 +23256,7 @@
23265
23256
  },
23266
23257
  "hasDynamicHelp": false,
23267
23258
  "hiddenAliases": [],
23268
- "id": "vertex_account",
23259
+ "id": "order:save_shipping_address_to_customer_address_book",
23269
23260
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23270
23261
  "pluginName": "@commercelayer/cli-plugin-triggers",
23271
23262
  "pluginType": "core",
@@ -23275,11 +23266,11 @@
23275
23266
  "relativePath": [
23276
23267
  "lib",
23277
23268
  "commands",
23278
- "vertex_account",
23279
- "index.js"
23269
+ "order",
23270
+ "save_shipping_address_to_customer_address_book.js"
23280
23271
  ]
23281
23272
  },
23282
- "vertex_account:refresh_token": {
23273
+ "order:shipping_address_clone_id": {
23283
23274
  "aliases": [],
23284
23275
  "args": {
23285
23276
  "id": {
@@ -23288,7 +23279,7 @@
23288
23279
  "required": true
23289
23280
  }
23290
23281
  },
23291
- "description": "Send this attribute if you want to manually refresh the access token.",
23282
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
23292
23283
  "flags": {
23293
23284
  "organization": {
23294
23285
  "char": "o",
@@ -23349,11 +23340,20 @@
23349
23340
  "name": "unformatted",
23350
23341
  "allowNo": false,
23351
23342
  "type": "boolean"
23343
+ },
23344
+ "value": {
23345
+ "char": "v",
23346
+ "description": "the trigger attribute value",
23347
+ "name": "value",
23348
+ "required": true,
23349
+ "hasDynamicHelp": false,
23350
+ "multiple": false,
23351
+ "type": "option"
23352
23352
  }
23353
23353
  },
23354
23354
  "hasDynamicHelp": false,
23355
23355
  "hiddenAliases": [],
23356
- "id": "vertex_account:refresh_token",
23356
+ "id": "order:shipping_address_clone_id",
23357
23357
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23358
23358
  "pluginName": "@commercelayer/cli-plugin-triggers",
23359
23359
  "pluginType": "core",
@@ -23363,11 +23363,11 @@
23363
23363
  "relativePath": [
23364
23364
  "lib",
23365
23365
  "commands",
23366
- "vertex_account",
23367
- "refresh_token.js"
23366
+ "order",
23367
+ "shipping_address_clone_id.js"
23368
23368
  ]
23369
23369
  },
23370
- "void:forward": {
23370
+ "order:shipping_address_same_as_billing": {
23371
23371
  "aliases": [],
23372
23372
  "args": {
23373
23373
  "id": {
@@ -23376,7 +23376,7 @@
23376
23376
  "required": true
23377
23377
  }
23378
23378
  },
23379
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
23379
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
23380
23380
  "flags": {
23381
23381
  "organization": {
23382
23382
  "char": "o",
@@ -23441,7 +23441,7 @@
23441
23441
  },
23442
23442
  "hasDynamicHelp": false,
23443
23443
  "hiddenAliases": [],
23444
- "id": "void:forward",
23444
+ "id": "order:shipping_address_same_as_billing",
23445
23445
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23446
23446
  "pluginName": "@commercelayer/cli-plugin-triggers",
23447
23447
  "pluginType": "core",
@@ -23451,11 +23451,11 @@
23451
23451
  "relativePath": [
23452
23452
  "lib",
23453
23453
  "commands",
23454
- "void",
23455
- "forward.js"
23454
+ "order",
23455
+ "shipping_address_same_as_billing.js"
23456
23456
  ]
23457
23457
  },
23458
- "void": {
23458
+ "order:start_editing": {
23459
23459
  "aliases": [],
23460
23460
  "args": {
23461
23461
  "id": {
@@ -23464,7 +23464,7 @@
23464
23464
  "required": true
23465
23465
  }
23466
23466
  },
23467
- "description": "execute an action on a resource of type voids",
23467
+ "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.",
23468
23468
  "flags": {
23469
23469
  "organization": {
23470
23470
  "char": "o",
@@ -23529,7 +23529,7 @@
23529
23529
  },
23530
23530
  "hasDynamicHelp": false,
23531
23531
  "hiddenAliases": [],
23532
- "id": "void",
23532
+ "id": "order:start_editing",
23533
23533
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23534
23534
  "pluginName": "@commercelayer/cli-plugin-triggers",
23535
23535
  "pluginType": "core",
@@ -23539,11 +23539,11 @@
23539
23539
  "relativePath": [
23540
23540
  "lib",
23541
23541
  "commands",
23542
- "void",
23543
- "index.js"
23542
+ "order",
23543
+ "start_editing.js"
23544
23544
  ]
23545
23545
  },
23546
- "webhook:disable": {
23546
+ "order:stop_editing": {
23547
23547
  "aliases": [],
23548
23548
  "args": {
23549
23549
  "id": {
@@ -23552,7 +23552,7 @@
23552
23552
  "required": true
23553
23553
  }
23554
23554
  },
23555
- "description": "Send this attribute if you want to mark this resource as disabled.",
23555
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
23556
23556
  "flags": {
23557
23557
  "organization": {
23558
23558
  "char": "o",
@@ -23617,7 +23617,7 @@
23617
23617
  },
23618
23618
  "hasDynamicHelp": false,
23619
23619
  "hiddenAliases": [],
23620
- "id": "webhook:disable",
23620
+ "id": "order:stop_editing",
23621
23621
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23622
23622
  "pluginName": "@commercelayer/cli-plugin-triggers",
23623
23623
  "pluginType": "core",
@@ -23627,11 +23627,11 @@
23627
23627
  "relativePath": [
23628
23628
  "lib",
23629
23629
  "commands",
23630
- "webhook",
23631
- "disable.js"
23630
+ "order",
23631
+ "stop_editing.js"
23632
23632
  ]
23633
23633
  },
23634
- "webhook:enable": {
23634
+ "order:unarchive": {
23635
23635
  "aliases": [],
23636
23636
  "args": {
23637
23637
  "id": {
@@ -23640,7 +23640,7 @@
23640
23640
  "required": true
23641
23641
  }
23642
23642
  },
23643
- "description": "Send this attribute if you want to mark this resource as enabled.",
23643
+ "description": "Send this attribute if you want to unarchive the order.",
23644
23644
  "flags": {
23645
23645
  "organization": {
23646
23646
  "char": "o",
@@ -23705,7 +23705,7 @@
23705
23705
  },
23706
23706
  "hasDynamicHelp": false,
23707
23707
  "hiddenAliases": [],
23708
- "id": "webhook:enable",
23708
+ "id": "order:unarchive",
23709
23709
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23710
23710
  "pluginName": "@commercelayer/cli-plugin-triggers",
23711
23711
  "pluginType": "core",
@@ -23715,11 +23715,11 @@
23715
23715
  "relativePath": [
23716
23716
  "lib",
23717
23717
  "commands",
23718
- "webhook",
23719
- "enable.js"
23718
+ "order",
23719
+ "unarchive.js"
23720
23720
  ]
23721
23721
  },
23722
- "webhook": {
23722
+ "order:update_taxes": {
23723
23723
  "aliases": [],
23724
23724
  "args": {
23725
23725
  "id": {
@@ -23728,7 +23728,7 @@
23728
23728
  "required": true
23729
23729
  }
23730
23730
  },
23731
- "description": "execute an action on a resource of type webhooks",
23731
+ "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).",
23732
23732
  "flags": {
23733
23733
  "organization": {
23734
23734
  "char": "o",
@@ -23793,7 +23793,7 @@
23793
23793
  },
23794
23794
  "hasDynamicHelp": false,
23795
23795
  "hiddenAliases": [],
23796
- "id": "webhook",
23796
+ "id": "order:update_taxes",
23797
23797
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23798
23798
  "pluginName": "@commercelayer/cli-plugin-triggers",
23799
23799
  "pluginType": "core",
@@ -23803,11 +23803,11 @@
23803
23803
  "relativePath": [
23804
23804
  "lib",
23805
23805
  "commands",
23806
- "webhook",
23807
- "index.js"
23806
+ "order",
23807
+ "update_taxes.js"
23808
23808
  ]
23809
23809
  },
23810
- "webhook:reset_circuit": {
23810
+ "order:validate": {
23811
23811
  "aliases": [],
23812
23812
  "args": {
23813
23813
  "id": {
@@ -23816,7 +23816,7 @@
23816
23816
  "required": true
23817
23817
  }
23818
23818
  },
23819
- "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.",
23819
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
23820
23820
  "flags": {
23821
23821
  "organization": {
23822
23822
  "char": "o",
@@ -23881,7 +23881,7 @@
23881
23881
  },
23882
23882
  "hasDynamicHelp": false,
23883
23883
  "hiddenAliases": [],
23884
- "id": "webhook:reset_circuit",
23884
+ "id": "order:validate",
23885
23885
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23886
23886
  "pluginName": "@commercelayer/cli-plugin-triggers",
23887
23887
  "pluginType": "core",
@@ -23891,10 +23891,10 @@
23891
23891
  "relativePath": [
23892
23892
  "lib",
23893
23893
  "commands",
23894
- "webhook",
23895
- "reset_circuit.js"
23894
+ "order",
23895
+ "validate.js"
23896
23896
  ]
23897
23897
  }
23898
23898
  },
23899
- "version": "4.17.0"
23899
+ "version": "4.17.1"
23900
23900
  }