@commercelayer/cli-plugin-triggers 4.14.2 → 4.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -284,7 +284,7 @@
284
284
  "remove_tags.js"
285
285
  ]
286
286
  },
287
- "authorization:cancel": {
287
+ "adyen_payment:authorize": {
288
288
  "aliases": [],
289
289
  "args": {
290
290
  "id": {
@@ -293,7 +293,7 @@
293
293
  "required": true
294
294
  }
295
295
  },
296
- "description": "Send this attribute if you want to void a succeeded authorization of a pending order (which is left unpaid).",
296
+ "description": "Send this attribute if you want to authorize the payment.",
297
297
  "flags": {
298
298
  "organization": {
299
299
  "char": "o",
@@ -358,7 +358,7 @@
358
358
  },
359
359
  "hasDynamicHelp": false,
360
360
  "hiddenAliases": [],
361
- "id": "authorization:cancel",
361
+ "id": "adyen_payment:authorize",
362
362
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
363
363
  "pluginName": "@commercelayer/cli-plugin-triggers",
364
364
  "pluginType": "core",
@@ -368,11 +368,11 @@
368
368
  "relativePath": [
369
369
  "lib",
370
370
  "commands",
371
- "authorization",
372
- "cancel.js"
371
+ "adyen_payment",
372
+ "authorize.js"
373
373
  ]
374
374
  },
375
- "authorization:capture": {
375
+ "adyen_payment:balance": {
376
376
  "aliases": [],
377
377
  "args": {
378
378
  "id": {
@@ -381,7 +381,7 @@
381
381
  "required": true
382
382
  }
383
383
  },
384
- "description": "Send this attribute if you want to create a capture for this authorization.",
384
+ "description": "Send this attribute if you want retrieve the balance remaining on a shopper's gift card.",
385
385
  "flags": {
386
386
  "organization": {
387
387
  "char": "o",
@@ -446,7 +446,7 @@
446
446
  },
447
447
  "hasDynamicHelp": false,
448
448
  "hiddenAliases": [],
449
- "id": "authorization:capture",
449
+ "id": "adyen_payment:balance",
450
450
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
451
451
  "pluginName": "@commercelayer/cli-plugin-triggers",
452
452
  "pluginType": "core",
@@ -456,11 +456,11 @@
456
456
  "relativePath": [
457
457
  "lib",
458
458
  "commands",
459
- "authorization",
460
- "capture.js"
459
+ "adyen_payment",
460
+ "balance.js"
461
461
  ]
462
462
  },
463
- "authorization:capture_amount_cents": {
463
+ "adyen_payment:details": {
464
464
  "aliases": [],
465
465
  "args": {
466
466
  "id": {
@@ -469,7 +469,7 @@
469
469
  "required": true
470
470
  }
471
471
  },
472
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
472
+ "description": "Send this attribute if you want to send additional details the payment request.",
473
473
  "flags": {
474
474
  "organization": {
475
475
  "char": "o",
@@ -534,7 +534,7 @@
534
534
  },
535
535
  "hasDynamicHelp": false,
536
536
  "hiddenAliases": [],
537
- "id": "authorization:capture_amount_cents",
537
+ "id": "adyen_payment:details",
538
538
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
539
539
  "pluginName": "@commercelayer/cli-plugin-triggers",
540
540
  "pluginType": "core",
@@ -544,11 +544,11 @@
544
544
  "relativePath": [
545
545
  "lib",
546
546
  "commands",
547
- "authorization",
548
- "capture_amount_cents.js"
547
+ "adyen_payment",
548
+ "details.js"
549
549
  ]
550
550
  },
551
- "authorization:forward": {
551
+ "adyen_payment": {
552
552
  "aliases": [],
553
553
  "args": {
554
554
  "id": {
@@ -557,7 +557,7 @@
557
557
  "required": true
558
558
  }
559
559
  },
560
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
560
+ "description": "execute an action on a resource of type adyen_payments",
561
561
  "flags": {
562
562
  "organization": {
563
563
  "char": "o",
@@ -622,7 +622,7 @@
622
622
  },
623
623
  "hasDynamicHelp": false,
624
624
  "hiddenAliases": [],
625
- "id": "authorization:forward",
625
+ "id": "adyen_payment",
626
626
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
627
627
  "pluginName": "@commercelayer/cli-plugin-triggers",
628
628
  "pluginType": "core",
@@ -632,11 +632,11 @@
632
632
  "relativePath": [
633
633
  "lib",
634
634
  "commands",
635
- "authorization",
636
- "forward.js"
635
+ "adyen_payment",
636
+ "index.js"
637
637
  ]
638
638
  },
639
- "authorization": {
639
+ "authorization:cancel": {
640
640
  "aliases": [],
641
641
  "args": {
642
642
  "id": {
@@ -645,7 +645,7 @@
645
645
  "required": true
646
646
  }
647
647
  },
648
- "description": "execute an action on a resource of type authorizations",
648
+ "description": "Send this attribute if you want to void a succeeded authorization of a pending order (which is left unpaid).",
649
649
  "flags": {
650
650
  "organization": {
651
651
  "char": "o",
@@ -710,7 +710,7 @@
710
710
  },
711
711
  "hasDynamicHelp": false,
712
712
  "hiddenAliases": [],
713
- "id": "authorization",
713
+ "id": "authorization:cancel",
714
714
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
715
715
  "pluginName": "@commercelayer/cli-plugin-triggers",
716
716
  "pluginType": "core",
@@ -721,10 +721,10 @@
721
721
  "lib",
722
722
  "commands",
723
723
  "authorization",
724
- "index.js"
724
+ "cancel.js"
725
725
  ]
726
726
  },
727
- "authorization:void": {
727
+ "authorization:capture": {
728
728
  "aliases": [],
729
729
  "args": {
730
730
  "id": {
@@ -733,7 +733,7 @@
733
733
  "required": true
734
734
  }
735
735
  },
736
- "description": "Send this attribute if you want to create a void for this authorization.",
736
+ "description": "Send this attribute if you want to create a capture for this authorization.",
737
737
  "flags": {
738
738
  "organization": {
739
739
  "char": "o",
@@ -798,7 +798,7 @@
798
798
  },
799
799
  "hasDynamicHelp": false,
800
800
  "hiddenAliases": [],
801
- "id": "authorization:void",
801
+ "id": "authorization:capture",
802
802
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
803
803
  "pluginName": "@commercelayer/cli-plugin-triggers",
804
804
  "pluginType": "core",
@@ -809,10 +809,10 @@
809
809
  "lib",
810
810
  "commands",
811
811
  "authorization",
812
- "void.js"
812
+ "capture.js"
813
813
  ]
814
814
  },
815
- "axerve_payment": {
815
+ "authorization:capture_amount_cents": {
816
816
  "aliases": [],
817
817
  "args": {
818
818
  "id": {
@@ -821,7 +821,7 @@
821
821
  "required": true
822
822
  }
823
823
  },
824
- "description": "execute an action on a resource of type axerve_payments",
824
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
825
825
  "flags": {
826
826
  "organization": {
827
827
  "char": "o",
@@ -886,7 +886,7 @@
886
886
  },
887
887
  "hasDynamicHelp": false,
888
888
  "hiddenAliases": [],
889
- "id": "axerve_payment",
889
+ "id": "authorization:capture_amount_cents",
890
890
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
891
891
  "pluginName": "@commercelayer/cli-plugin-triggers",
892
892
  "pluginType": "core",
@@ -896,11 +896,11 @@
896
896
  "relativePath": [
897
897
  "lib",
898
898
  "commands",
899
- "axerve_payment",
900
- "index.js"
899
+ "authorization",
900
+ "capture_amount_cents.js"
901
901
  ]
902
902
  },
903
- "axerve_payment:update": {
903
+ "authorization:forward": {
904
904
  "aliases": [],
905
905
  "args": {
906
906
  "id": {
@@ -909,7 +909,7 @@
909
909
  "required": true
910
910
  }
911
911
  },
912
- "description": "Send this attribute if you want to update the payment with fresh order data.",
912
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
913
913
  "flags": {
914
914
  "organization": {
915
915
  "char": "o",
@@ -974,7 +974,7 @@
974
974
  },
975
975
  "hasDynamicHelp": false,
976
976
  "hiddenAliases": [],
977
- "id": "axerve_payment:update",
977
+ "id": "authorization:forward",
978
978
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
979
979
  "pluginName": "@commercelayer/cli-plugin-triggers",
980
980
  "pluginType": "core",
@@ -984,11 +984,11 @@
984
984
  "relativePath": [
985
985
  "lib",
986
986
  "commands",
987
- "axerve_payment",
988
- "update.js"
987
+ "authorization",
988
+ "forward.js"
989
989
  ]
990
990
  },
991
- "bundle:add_tags": {
991
+ "authorization": {
992
992
  "aliases": [],
993
993
  "args": {
994
994
  "id": {
@@ -997,7 +997,7 @@
997
997
  "required": true
998
998
  }
999
999
  },
1000
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
1000
+ "description": "execute an action on a resource of type authorizations",
1001
1001
  "flags": {
1002
1002
  "organization": {
1003
1003
  "char": "o",
@@ -1062,7 +1062,7 @@
1062
1062
  },
1063
1063
  "hasDynamicHelp": false,
1064
1064
  "hiddenAliases": [],
1065
- "id": "bundle:add_tags",
1065
+ "id": "authorization",
1066
1066
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1067
1067
  "pluginName": "@commercelayer/cli-plugin-triggers",
1068
1068
  "pluginType": "core",
@@ -1072,11 +1072,11 @@
1072
1072
  "relativePath": [
1073
1073
  "lib",
1074
1074
  "commands",
1075
- "bundle",
1076
- "add_tags.js"
1075
+ "authorization",
1076
+ "index.js"
1077
1077
  ]
1078
1078
  },
1079
- "bundle:compute_compare_at_amount": {
1079
+ "authorization:void": {
1080
1080
  "aliases": [],
1081
1081
  "args": {
1082
1082
  "id": {
@@ -1085,7 +1085,7 @@
1085
1085
  "required": true
1086
1086
  }
1087
1087
  },
1088
- "description": "Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.",
1088
+ "description": "Send this attribute if you want to create a void for this authorization.",
1089
1089
  "flags": {
1090
1090
  "organization": {
1091
1091
  "char": "o",
@@ -1150,7 +1150,7 @@
1150
1150
  },
1151
1151
  "hasDynamicHelp": false,
1152
1152
  "hiddenAliases": [],
1153
- "id": "bundle:compute_compare_at_amount",
1153
+ "id": "authorization:void",
1154
1154
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1155
1155
  "pluginName": "@commercelayer/cli-plugin-triggers",
1156
1156
  "pluginType": "core",
@@ -1160,11 +1160,11 @@
1160
1160
  "relativePath": [
1161
1161
  "lib",
1162
1162
  "commands",
1163
- "bundle",
1164
- "compute_compare_at_amount.js"
1163
+ "authorization",
1164
+ "void.js"
1165
1165
  ]
1166
1166
  },
1167
- "bundle:compute_price_amount": {
1167
+ "axerve_payment": {
1168
1168
  "aliases": [],
1169
1169
  "args": {
1170
1170
  "id": {
@@ -1173,7 +1173,7 @@
1173
1173
  "required": true
1174
1174
  }
1175
1175
  },
1176
- "description": "Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.",
1176
+ "description": "execute an action on a resource of type axerve_payments",
1177
1177
  "flags": {
1178
1178
  "organization": {
1179
1179
  "char": "o",
@@ -1238,7 +1238,7 @@
1238
1238
  },
1239
1239
  "hasDynamicHelp": false,
1240
1240
  "hiddenAliases": [],
1241
- "id": "bundle:compute_price_amount",
1241
+ "id": "axerve_payment",
1242
1242
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1243
1243
  "pluginName": "@commercelayer/cli-plugin-triggers",
1244
1244
  "pluginType": "core",
@@ -1248,11 +1248,11 @@
1248
1248
  "relativePath": [
1249
1249
  "lib",
1250
1250
  "commands",
1251
- "bundle",
1252
- "compute_price_amount.js"
1251
+ "axerve_payment",
1252
+ "index.js"
1253
1253
  ]
1254
1254
  },
1255
- "bundle": {
1255
+ "axerve_payment:update": {
1256
1256
  "aliases": [],
1257
1257
  "args": {
1258
1258
  "id": {
@@ -1261,7 +1261,7 @@
1261
1261
  "required": true
1262
1262
  }
1263
1263
  },
1264
- "description": "execute an action on a resource of type bundles",
1264
+ "description": "Send this attribute if you want to update the payment with fresh order data.",
1265
1265
  "flags": {
1266
1266
  "organization": {
1267
1267
  "char": "o",
@@ -1326,7 +1326,7 @@
1326
1326
  },
1327
1327
  "hasDynamicHelp": false,
1328
1328
  "hiddenAliases": [],
1329
- "id": "bundle",
1329
+ "id": "axerve_payment:update",
1330
1330
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1331
1331
  "pluginName": "@commercelayer/cli-plugin-triggers",
1332
1332
  "pluginType": "core",
@@ -1336,11 +1336,11 @@
1336
1336
  "relativePath": [
1337
1337
  "lib",
1338
1338
  "commands",
1339
- "bundle",
1340
- "index.js"
1339
+ "axerve_payment",
1340
+ "update.js"
1341
1341
  ]
1342
1342
  },
1343
- "bundle:remove_tags": {
1343
+ "bundle:add_tags": {
1344
1344
  "aliases": [],
1345
1345
  "args": {
1346
1346
  "id": {
@@ -1349,7 +1349,7 @@
1349
1349
  "required": true
1350
1350
  }
1351
1351
  },
1352
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
1352
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
1353
1353
  "flags": {
1354
1354
  "organization": {
1355
1355
  "char": "o",
@@ -1414,7 +1414,7 @@
1414
1414
  },
1415
1415
  "hasDynamicHelp": false,
1416
1416
  "hiddenAliases": [],
1417
- "id": "bundle:remove_tags",
1417
+ "id": "bundle:add_tags",
1418
1418
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1419
1419
  "pluginName": "@commercelayer/cli-plugin-triggers",
1420
1420
  "pluginType": "core",
@@ -1425,10 +1425,10 @@
1425
1425
  "lib",
1426
1426
  "commands",
1427
1427
  "bundle",
1428
- "remove_tags.js"
1428
+ "add_tags.js"
1429
1429
  ]
1430
1430
  },
1431
- "adyen_payment:authorize": {
1431
+ "bundle:compute_compare_at_amount": {
1432
1432
  "aliases": [],
1433
1433
  "args": {
1434
1434
  "id": {
@@ -1437,7 +1437,7 @@
1437
1437
  "required": true
1438
1438
  }
1439
1439
  },
1440
- "description": "Send this attribute if you want to authorize the payment.",
1440
+ "description": "Send this attribute if you want to compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.",
1441
1441
  "flags": {
1442
1442
  "organization": {
1443
1443
  "char": "o",
@@ -1502,7 +1502,7 @@
1502
1502
  },
1503
1503
  "hasDynamicHelp": false,
1504
1504
  "hiddenAliases": [],
1505
- "id": "adyen_payment:authorize",
1505
+ "id": "bundle:compute_compare_at_amount",
1506
1506
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1507
1507
  "pluginName": "@commercelayer/cli-plugin-triggers",
1508
1508
  "pluginType": "core",
@@ -1512,11 +1512,11 @@
1512
1512
  "relativePath": [
1513
1513
  "lib",
1514
1514
  "commands",
1515
- "adyen_payment",
1516
- "authorize.js"
1515
+ "bundle",
1516
+ "compute_compare_at_amount.js"
1517
1517
  ]
1518
1518
  },
1519
- "adyen_payment:balance": {
1519
+ "bundle:compute_price_amount": {
1520
1520
  "aliases": [],
1521
1521
  "args": {
1522
1522
  "id": {
@@ -1525,7 +1525,7 @@
1525
1525
  "required": true
1526
1526
  }
1527
1527
  },
1528
- "description": "Send this attribute if you want retrieve the balance remaining on a shopper's gift card.",
1528
+ "description": "Send this attribute if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.",
1529
1529
  "flags": {
1530
1530
  "organization": {
1531
1531
  "char": "o",
@@ -1590,7 +1590,7 @@
1590
1590
  },
1591
1591
  "hasDynamicHelp": false,
1592
1592
  "hiddenAliases": [],
1593
- "id": "adyen_payment:balance",
1593
+ "id": "bundle:compute_price_amount",
1594
1594
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1595
1595
  "pluginName": "@commercelayer/cli-plugin-triggers",
1596
1596
  "pluginType": "core",
@@ -1600,11 +1600,11 @@
1600
1600
  "relativePath": [
1601
1601
  "lib",
1602
1602
  "commands",
1603
- "adyen_payment",
1604
- "balance.js"
1603
+ "bundle",
1604
+ "compute_price_amount.js"
1605
1605
  ]
1606
1606
  },
1607
- "adyen_payment:details": {
1607
+ "bundle": {
1608
1608
  "aliases": [],
1609
1609
  "args": {
1610
1610
  "id": {
@@ -1613,7 +1613,7 @@
1613
1613
  "required": true
1614
1614
  }
1615
1615
  },
1616
- "description": "Send this attribute if you want to send additional details the payment request.",
1616
+ "description": "execute an action on a resource of type bundles",
1617
1617
  "flags": {
1618
1618
  "organization": {
1619
1619
  "char": "o",
@@ -1678,7 +1678,7 @@
1678
1678
  },
1679
1679
  "hasDynamicHelp": false,
1680
1680
  "hiddenAliases": [],
1681
- "id": "adyen_payment:details",
1681
+ "id": "bundle",
1682
1682
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1683
1683
  "pluginName": "@commercelayer/cli-plugin-triggers",
1684
1684
  "pluginType": "core",
@@ -1688,11 +1688,11 @@
1688
1688
  "relativePath": [
1689
1689
  "lib",
1690
1690
  "commands",
1691
- "adyen_payment",
1692
- "details.js"
1691
+ "bundle",
1692
+ "index.js"
1693
1693
  ]
1694
1694
  },
1695
- "adyen_payment": {
1695
+ "bundle:remove_tags": {
1696
1696
  "aliases": [],
1697
1697
  "args": {
1698
1698
  "id": {
@@ -1701,7 +1701,7 @@
1701
1701
  "required": true
1702
1702
  }
1703
1703
  },
1704
- "description": "execute an action on a resource of type adyen_payments",
1704
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
1705
1705
  "flags": {
1706
1706
  "organization": {
1707
1707
  "char": "o",
@@ -1766,7 +1766,7 @@
1766
1766
  },
1767
1767
  "hasDynamicHelp": false,
1768
1768
  "hiddenAliases": [],
1769
- "id": "adyen_payment",
1769
+ "id": "bundle:remove_tags",
1770
1770
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1771
1771
  "pluginName": "@commercelayer/cli-plugin-triggers",
1772
1772
  "pluginType": "core",
@@ -1776,8 +1776,8 @@
1776
1776
  "relativePath": [
1777
1777
  "lib",
1778
1778
  "commands",
1779
- "adyen_payment",
1780
- "index.js"
1779
+ "bundle",
1780
+ "remove_tags.js"
1781
1781
  ]
1782
1782
  },
1783
1783
  "buy_x_pay_y_promotion:add_tags": {
@@ -6708,7 +6708,7 @@
6708
6708
  "remove_tags.js"
6709
6709
  ]
6710
6710
  },
6711
- "free_gift_promotion:add_tags": {
6711
+ "free_shipping_promotion:add_tags": {
6712
6712
  "aliases": [],
6713
6713
  "args": {
6714
6714
  "id": {
@@ -6782,7 +6782,7 @@
6782
6782
  },
6783
6783
  "hasDynamicHelp": false,
6784
6784
  "hiddenAliases": [],
6785
- "id": "free_gift_promotion:add_tags",
6785
+ "id": "free_shipping_promotion:add_tags",
6786
6786
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6787
6787
  "pluginName": "@commercelayer/cli-plugin-triggers",
6788
6788
  "pluginType": "core",
@@ -6792,11 +6792,11 @@
6792
6792
  "relativePath": [
6793
6793
  "lib",
6794
6794
  "commands",
6795
- "free_gift_promotion",
6795
+ "free_shipping_promotion",
6796
6796
  "add_tags.js"
6797
6797
  ]
6798
6798
  },
6799
- "free_gift_promotion:disable": {
6799
+ "free_shipping_promotion:disable": {
6800
6800
  "aliases": [],
6801
6801
  "args": {
6802
6802
  "id": {
@@ -6870,7 +6870,7 @@
6870
6870
  },
6871
6871
  "hasDynamicHelp": false,
6872
6872
  "hiddenAliases": [],
6873
- "id": "free_gift_promotion:disable",
6873
+ "id": "free_shipping_promotion:disable",
6874
6874
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6875
6875
  "pluginName": "@commercelayer/cli-plugin-triggers",
6876
6876
  "pluginType": "core",
@@ -6880,11 +6880,11 @@
6880
6880
  "relativePath": [
6881
6881
  "lib",
6882
6882
  "commands",
6883
- "free_gift_promotion",
6883
+ "free_shipping_promotion",
6884
6884
  "disable.js"
6885
6885
  ]
6886
6886
  },
6887
- "free_gift_promotion:enable": {
6887
+ "free_shipping_promotion:enable": {
6888
6888
  "aliases": [],
6889
6889
  "args": {
6890
6890
  "id": {
@@ -6958,7 +6958,7 @@
6958
6958
  },
6959
6959
  "hasDynamicHelp": false,
6960
6960
  "hiddenAliases": [],
6961
- "id": "free_gift_promotion:enable",
6961
+ "id": "free_shipping_promotion:enable",
6962
6962
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
6963
6963
  "pluginName": "@commercelayer/cli-plugin-triggers",
6964
6964
  "pluginType": "core",
@@ -6968,11 +6968,11 @@
6968
6968
  "relativePath": [
6969
6969
  "lib",
6970
6970
  "commands",
6971
- "free_gift_promotion",
6971
+ "free_shipping_promotion",
6972
6972
  "enable.js"
6973
6973
  ]
6974
6974
  },
6975
- "free_gift_promotion": {
6975
+ "free_shipping_promotion": {
6976
6976
  "aliases": [],
6977
6977
  "args": {
6978
6978
  "id": {
@@ -6981,7 +6981,7 @@
6981
6981
  "required": true
6982
6982
  }
6983
6983
  },
6984
- "description": "execute an action on a resource of type free_gift_promotions",
6984
+ "description": "execute an action on a resource of type free_shipping_promotions",
6985
6985
  "flags": {
6986
6986
  "organization": {
6987
6987
  "char": "o",
@@ -7046,7 +7046,7 @@
7046
7046
  },
7047
7047
  "hasDynamicHelp": false,
7048
7048
  "hiddenAliases": [],
7049
- "id": "free_gift_promotion",
7049
+ "id": "free_shipping_promotion",
7050
7050
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7051
7051
  "pluginName": "@commercelayer/cli-plugin-triggers",
7052
7052
  "pluginType": "core",
@@ -7056,11 +7056,11 @@
7056
7056
  "relativePath": [
7057
7057
  "lib",
7058
7058
  "commands",
7059
- "free_gift_promotion",
7059
+ "free_shipping_promotion",
7060
7060
  "index.js"
7061
7061
  ]
7062
7062
  },
7063
- "free_gift_promotion:remove_tags": {
7063
+ "free_shipping_promotion:remove_tags": {
7064
7064
  "aliases": [],
7065
7065
  "args": {
7066
7066
  "id": {
@@ -7134,7 +7134,7 @@
7134
7134
  },
7135
7135
  "hasDynamicHelp": false,
7136
7136
  "hiddenAliases": [],
7137
- "id": "free_gift_promotion:remove_tags",
7137
+ "id": "free_shipping_promotion:remove_tags",
7138
7138
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7139
7139
  "pluginName": "@commercelayer/cli-plugin-triggers",
7140
7140
  "pluginType": "core",
@@ -7144,11 +7144,11 @@
7144
7144
  "relativePath": [
7145
7145
  "lib",
7146
7146
  "commands",
7147
- "free_gift_promotion",
7147
+ "free_shipping_promotion",
7148
7148
  "remove_tags.js"
7149
7149
  ]
7150
7150
  },
7151
- "free_shipping_promotion:add_tags": {
7151
+ "free_gift_promotion:add_tags": {
7152
7152
  "aliases": [],
7153
7153
  "args": {
7154
7154
  "id": {
@@ -7222,7 +7222,7 @@
7222
7222
  },
7223
7223
  "hasDynamicHelp": false,
7224
7224
  "hiddenAliases": [],
7225
- "id": "free_shipping_promotion:add_tags",
7225
+ "id": "free_gift_promotion:add_tags",
7226
7226
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7227
7227
  "pluginName": "@commercelayer/cli-plugin-triggers",
7228
7228
  "pluginType": "core",
@@ -7232,11 +7232,11 @@
7232
7232
  "relativePath": [
7233
7233
  "lib",
7234
7234
  "commands",
7235
- "free_shipping_promotion",
7235
+ "free_gift_promotion",
7236
7236
  "add_tags.js"
7237
7237
  ]
7238
7238
  },
7239
- "free_shipping_promotion:disable": {
7239
+ "free_gift_promotion:disable": {
7240
7240
  "aliases": [],
7241
7241
  "args": {
7242
7242
  "id": {
@@ -7310,7 +7310,7 @@
7310
7310
  },
7311
7311
  "hasDynamicHelp": false,
7312
7312
  "hiddenAliases": [],
7313
- "id": "free_shipping_promotion:disable",
7313
+ "id": "free_gift_promotion:disable",
7314
7314
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7315
7315
  "pluginName": "@commercelayer/cli-plugin-triggers",
7316
7316
  "pluginType": "core",
@@ -7320,11 +7320,11 @@
7320
7320
  "relativePath": [
7321
7321
  "lib",
7322
7322
  "commands",
7323
- "free_shipping_promotion",
7323
+ "free_gift_promotion",
7324
7324
  "disable.js"
7325
7325
  ]
7326
7326
  },
7327
- "free_shipping_promotion:enable": {
7327
+ "free_gift_promotion:enable": {
7328
7328
  "aliases": [],
7329
7329
  "args": {
7330
7330
  "id": {
@@ -7398,7 +7398,7 @@
7398
7398
  },
7399
7399
  "hasDynamicHelp": false,
7400
7400
  "hiddenAliases": [],
7401
- "id": "free_shipping_promotion:enable",
7401
+ "id": "free_gift_promotion:enable",
7402
7402
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7403
7403
  "pluginName": "@commercelayer/cli-plugin-triggers",
7404
7404
  "pluginType": "core",
@@ -7408,11 +7408,11 @@
7408
7408
  "relativePath": [
7409
7409
  "lib",
7410
7410
  "commands",
7411
- "free_shipping_promotion",
7411
+ "free_gift_promotion",
7412
7412
  "enable.js"
7413
7413
  ]
7414
7414
  },
7415
- "free_shipping_promotion": {
7415
+ "free_gift_promotion": {
7416
7416
  "aliases": [],
7417
7417
  "args": {
7418
7418
  "id": {
@@ -7421,7 +7421,7 @@
7421
7421
  "required": true
7422
7422
  }
7423
7423
  },
7424
- "description": "execute an action on a resource of type free_shipping_promotions",
7424
+ "description": "execute an action on a resource of type free_gift_promotions",
7425
7425
  "flags": {
7426
7426
  "organization": {
7427
7427
  "char": "o",
@@ -7486,7 +7486,7 @@
7486
7486
  },
7487
7487
  "hasDynamicHelp": false,
7488
7488
  "hiddenAliases": [],
7489
- "id": "free_shipping_promotion",
7489
+ "id": "free_gift_promotion",
7490
7490
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7491
7491
  "pluginName": "@commercelayer/cli-plugin-triggers",
7492
7492
  "pluginType": "core",
@@ -7496,11 +7496,11 @@
7496
7496
  "relativePath": [
7497
7497
  "lib",
7498
7498
  "commands",
7499
- "free_shipping_promotion",
7499
+ "free_gift_promotion",
7500
7500
  "index.js"
7501
7501
  ]
7502
7502
  },
7503
- "free_shipping_promotion:remove_tags": {
7503
+ "free_gift_promotion:remove_tags": {
7504
7504
  "aliases": [],
7505
7505
  "args": {
7506
7506
  "id": {
@@ -7574,7 +7574,7 @@
7574
7574
  },
7575
7575
  "hasDynamicHelp": false,
7576
7576
  "hiddenAliases": [],
7577
- "id": "free_shipping_promotion:remove_tags",
7577
+ "id": "free_gift_promotion:remove_tags",
7578
7578
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7579
7579
  "pluginName": "@commercelayer/cli-plugin-triggers",
7580
7580
  "pluginType": "core",
@@ -7584,7 +7584,7 @@
7584
7584
  "relativePath": [
7585
7585
  "lib",
7586
7586
  "commands",
7587
- "free_shipping_promotion",
7587
+ "free_gift_promotion",
7588
7588
  "remove_tags.js"
7589
7589
  ]
7590
7590
  },
@@ -9348,7 +9348,7 @@
9348
9348
  "reset_circuit.js"
9349
9349
  ]
9350
9350
  },
9351
- "line_item_option:add_tags": {
9351
+ "line_item:reset_restocked_quantity": {
9352
9352
  "aliases": [],
9353
9353
  "args": {
9354
9354
  "id": {
@@ -9357,7 +9357,7 @@
9357
9357
  "required": true
9358
9358
  }
9359
9359
  },
9360
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9360
+ "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.",
9361
9361
  "flags": {
9362
9362
  "organization": {
9363
9363
  "char": "o",
@@ -9422,7 +9422,7 @@
9422
9422
  },
9423
9423
  "hasDynamicHelp": false,
9424
9424
  "hiddenAliases": [],
9425
- "id": "line_item_option:add_tags",
9425
+ "id": "line_item:reset_restocked_quantity",
9426
9426
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9427
9427
  "pluginName": "@commercelayer/cli-plugin-triggers",
9428
9428
  "pluginType": "core",
@@ -9432,11 +9432,11 @@
9432
9432
  "relativePath": [
9433
9433
  "lib",
9434
9434
  "commands",
9435
- "line_item_option",
9436
- "add_tags.js"
9435
+ "line_item",
9436
+ "reset_restocked_quantity.js"
9437
9437
  ]
9438
9438
  },
9439
- "line_item_option": {
9439
+ "line_item_option:add_tags": {
9440
9440
  "aliases": [],
9441
9441
  "args": {
9442
9442
  "id": {
@@ -9445,7 +9445,7 @@
9445
9445
  "required": true
9446
9446
  }
9447
9447
  },
9448
- "description": "execute an action on a resource of type line_item_options",
9448
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9449
9449
  "flags": {
9450
9450
  "organization": {
9451
9451
  "char": "o",
@@ -9510,7 +9510,7 @@
9510
9510
  },
9511
9511
  "hasDynamicHelp": false,
9512
9512
  "hiddenAliases": [],
9513
- "id": "line_item_option",
9513
+ "id": "line_item_option:add_tags",
9514
9514
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9515
9515
  "pluginName": "@commercelayer/cli-plugin-triggers",
9516
9516
  "pluginType": "core",
@@ -9521,10 +9521,10 @@
9521
9521
  "lib",
9522
9522
  "commands",
9523
9523
  "line_item_option",
9524
- "index.js"
9524
+ "add_tags.js"
9525
9525
  ]
9526
9526
  },
9527
- "line_item_option:remove_tags": {
9527
+ "line_item_option": {
9528
9528
  "aliases": [],
9529
9529
  "args": {
9530
9530
  "id": {
@@ -9533,7 +9533,7 @@
9533
9533
  "required": true
9534
9534
  }
9535
9535
  },
9536
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9536
+ "description": "execute an action on a resource of type line_item_options",
9537
9537
  "flags": {
9538
9538
  "organization": {
9539
9539
  "char": "o",
@@ -9598,7 +9598,7 @@
9598
9598
  },
9599
9599
  "hasDynamicHelp": false,
9600
9600
  "hiddenAliases": [],
9601
- "id": "line_item_option:remove_tags",
9601
+ "id": "line_item_option",
9602
9602
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9603
9603
  "pluginName": "@commercelayer/cli-plugin-triggers",
9604
9604
  "pluginType": "core",
@@ -9609,10 +9609,10 @@
9609
9609
  "lib",
9610
9610
  "commands",
9611
9611
  "line_item_option",
9612
- "remove_tags.js"
9612
+ "index.js"
9613
9613
  ]
9614
9614
  },
9615
- "link:disable": {
9615
+ "line_item_option:remove_tags": {
9616
9616
  "aliases": [],
9617
9617
  "args": {
9618
9618
  "id": {
@@ -9621,7 +9621,7 @@
9621
9621
  "required": true
9622
9622
  }
9623
9623
  },
9624
- "description": "Send this attribute if you want to mark this resource as disabled.",
9624
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9625
9625
  "flags": {
9626
9626
  "organization": {
9627
9627
  "char": "o",
@@ -9686,7 +9686,95 @@
9686
9686
  },
9687
9687
  "hasDynamicHelp": false,
9688
9688
  "hiddenAliases": [],
9689
- "id": "link:disable",
9689
+ "id": "line_item_option:remove_tags",
9690
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
9691
+ "pluginName": "@commercelayer/cli-plugin-triggers",
9692
+ "pluginType": "core",
9693
+ "strict": true,
9694
+ "enableJsonFlag": false,
9695
+ "isESM": false,
9696
+ "relativePath": [
9697
+ "lib",
9698
+ "commands",
9699
+ "line_item_option",
9700
+ "remove_tags.js"
9701
+ ]
9702
+ },
9703
+ "link:disable": {
9704
+ "aliases": [],
9705
+ "args": {
9706
+ "id": {
9707
+ "description": "the unique id of the resource",
9708
+ "name": "id",
9709
+ "required": true
9710
+ }
9711
+ },
9712
+ "description": "Send this attribute if you want to mark this resource as disabled.",
9713
+ "flags": {
9714
+ "organization": {
9715
+ "char": "o",
9716
+ "description": "the slug of your organization",
9717
+ "env": "CL_CLI_ORGANIZATION",
9718
+ "hidden": true,
9719
+ "name": "organization",
9720
+ "required": true,
9721
+ "hasDynamicHelp": false,
9722
+ "multiple": false,
9723
+ "type": "option"
9724
+ },
9725
+ "domain": {
9726
+ "char": "d",
9727
+ "dependsOn": [
9728
+ "organization"
9729
+ ],
9730
+ "env": "CL_CLI_DOMAIN",
9731
+ "hidden": true,
9732
+ "name": "domain",
9733
+ "required": false,
9734
+ "hasDynamicHelp": false,
9735
+ "multiple": false,
9736
+ "type": "option"
9737
+ },
9738
+ "accessToken": {
9739
+ "env": "CL_CLI_ACCESS_TOKEN",
9740
+ "hidden": true,
9741
+ "name": "accessToken",
9742
+ "required": true,
9743
+ "hasDynamicHelp": false,
9744
+ "multiple": false,
9745
+ "type": "option"
9746
+ },
9747
+ "print": {
9748
+ "char": "p",
9749
+ "description": "print out the modified resource",
9750
+ "name": "print",
9751
+ "allowNo": false,
9752
+ "type": "boolean"
9753
+ },
9754
+ "json": {
9755
+ "char": "j",
9756
+ "dependsOn": [
9757
+ "print"
9758
+ ],
9759
+ "description": "print result in JSON format",
9760
+ "name": "json",
9761
+ "allowNo": false,
9762
+ "type": "boolean"
9763
+ },
9764
+ "unformatted": {
9765
+ "char": "u",
9766
+ "dependsOn": [
9767
+ "json"
9768
+ ],
9769
+ "description": "print JSON output without indentation",
9770
+ "name": "unformatted",
9771
+ "allowNo": false,
9772
+ "type": "boolean"
9773
+ }
9774
+ },
9775
+ "hasDynamicHelp": false,
9776
+ "hiddenAliases": [],
9777
+ "id": "link:disable",
9690
9778
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9691
9779
  "pluginName": "@commercelayer/cli-plugin-triggers",
9692
9780
  "pluginType": "core",
@@ -11020,7 +11108,7 @@
11020
11108
  "index.js"
11021
11109
  ]
11022
11110
  },
11023
- "percentage_discount_promotion:add_tags": {
11111
+ "order:add_tags": {
11024
11112
  "aliases": [],
11025
11113
  "args": {
11026
11114
  "id": {
@@ -11094,7 +11182,7 @@
11094
11182
  },
11095
11183
  "hasDynamicHelp": false,
11096
11184
  "hiddenAliases": [],
11097
- "id": "percentage_discount_promotion:add_tags",
11185
+ "id": "order:add_tags",
11098
11186
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11099
11187
  "pluginName": "@commercelayer/cli-plugin-triggers",
11100
11188
  "pluginType": "core",
@@ -11104,11 +11192,11 @@
11104
11192
  "relativePath": [
11105
11193
  "lib",
11106
11194
  "commands",
11107
- "percentage_discount_promotion",
11195
+ "order",
11108
11196
  "add_tags.js"
11109
11197
  ]
11110
11198
  },
11111
- "percentage_discount_promotion:disable": {
11199
+ "order:approve": {
11112
11200
  "aliases": [],
11113
11201
  "args": {
11114
11202
  "id": {
@@ -11117,7 +11205,7 @@
11117
11205
  "required": true
11118
11206
  }
11119
11207
  },
11120
- "description": "Send this attribute if you want to mark this resource as disabled.",
11208
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
11121
11209
  "flags": {
11122
11210
  "organization": {
11123
11211
  "char": "o",
@@ -11182,7 +11270,7 @@
11182
11270
  },
11183
11271
  "hasDynamicHelp": false,
11184
11272
  "hiddenAliases": [],
11185
- "id": "percentage_discount_promotion:disable",
11273
+ "id": "order:approve",
11186
11274
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11187
11275
  "pluginName": "@commercelayer/cli-plugin-triggers",
11188
11276
  "pluginType": "core",
@@ -11192,11 +11280,11 @@
11192
11280
  "relativePath": [
11193
11281
  "lib",
11194
11282
  "commands",
11195
- "percentage_discount_promotion",
11196
- "disable.js"
11283
+ "order",
11284
+ "approve.js"
11197
11285
  ]
11198
11286
  },
11199
- "percentage_discount_promotion:enable": {
11287
+ "order:approve_and_capture": {
11200
11288
  "aliases": [],
11201
11289
  "args": {
11202
11290
  "id": {
@@ -11205,7 +11293,7 @@
11205
11293
  "required": true
11206
11294
  }
11207
11295
  },
11208
- "description": "Send this attribute if you want to mark this resource as enabled.",
11296
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
11209
11297
  "flags": {
11210
11298
  "organization": {
11211
11299
  "char": "o",
@@ -11270,7 +11358,7 @@
11270
11358
  },
11271
11359
  "hasDynamicHelp": false,
11272
11360
  "hiddenAliases": [],
11273
- "id": "percentage_discount_promotion:enable",
11361
+ "id": "order:approve_and_capture",
11274
11362
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11275
11363
  "pluginName": "@commercelayer/cli-plugin-triggers",
11276
11364
  "pluginType": "core",
@@ -11280,11 +11368,11 @@
11280
11368
  "relativePath": [
11281
11369
  "lib",
11282
11370
  "commands",
11283
- "percentage_discount_promotion",
11284
- "enable.js"
11371
+ "order",
11372
+ "approve_and_capture.js"
11285
11373
  ]
11286
11374
  },
11287
- "percentage_discount_promotion": {
11375
+ "order:archive": {
11288
11376
  "aliases": [],
11289
11377
  "args": {
11290
11378
  "id": {
@@ -11293,7 +11381,7 @@
11293
11381
  "required": true
11294
11382
  }
11295
11383
  },
11296
- "description": "execute an action on a resource of type percentage_discount_promotions",
11384
+ "description": "Send this attribute if you want to archive the order.",
11297
11385
  "flags": {
11298
11386
  "organization": {
11299
11387
  "char": "o",
@@ -11358,7 +11446,7 @@
11358
11446
  },
11359
11447
  "hasDynamicHelp": false,
11360
11448
  "hiddenAliases": [],
11361
- "id": "percentage_discount_promotion",
11449
+ "id": "order:archive",
11362
11450
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11363
11451
  "pluginName": "@commercelayer/cli-plugin-triggers",
11364
11452
  "pluginType": "core",
@@ -11368,11 +11456,11 @@
11368
11456
  "relativePath": [
11369
11457
  "lib",
11370
11458
  "commands",
11371
- "percentage_discount_promotion",
11372
- "index.js"
11459
+ "order",
11460
+ "archive.js"
11373
11461
  ]
11374
11462
  },
11375
- "percentage_discount_promotion:remove_tags": {
11463
+ "order:authorization_amount_cents": {
11376
11464
  "aliases": [],
11377
11465
  "args": {
11378
11466
  "id": {
@@ -11381,7 +11469,7 @@
11381
11469
  "required": true
11382
11470
  }
11383
11471
  },
11384
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
11472
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
11385
11473
  "flags": {
11386
11474
  "organization": {
11387
11475
  "char": "o",
@@ -11446,7 +11534,7 @@
11446
11534
  },
11447
11535
  "hasDynamicHelp": false,
11448
11536
  "hiddenAliases": [],
11449
- "id": "percentage_discount_promotion:remove_tags",
11537
+ "id": "order:authorization_amount_cents",
11450
11538
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11451
11539
  "pluginName": "@commercelayer/cli-plugin-triggers",
11452
11540
  "pluginType": "core",
@@ -11456,11 +11544,11 @@
11456
11544
  "relativePath": [
11457
11545
  "lib",
11458
11546
  "commands",
11459
- "percentage_discount_promotion",
11460
- "remove_tags.js"
11547
+ "order",
11548
+ "authorization_amount_cents.js"
11461
11549
  ]
11462
11550
  },
11463
- "price_list_scheduler:disable": {
11551
+ "order:authorize": {
11464
11552
  "aliases": [],
11465
11553
  "args": {
11466
11554
  "id": {
@@ -11469,7 +11557,7 @@
11469
11557
  "required": true
11470
11558
  }
11471
11559
  },
11472
- "description": "Send this attribute if you want to mark this resource as disabled.",
11560
+ "description": "Send this attribute if you want to authorize the order's payment source.",
11473
11561
  "flags": {
11474
11562
  "organization": {
11475
11563
  "char": "o",
@@ -11534,7 +11622,7 @@
11534
11622
  },
11535
11623
  "hasDynamicHelp": false,
11536
11624
  "hiddenAliases": [],
11537
- "id": "price_list_scheduler:disable",
11625
+ "id": "order:authorize",
11538
11626
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11539
11627
  "pluginName": "@commercelayer/cli-plugin-triggers",
11540
11628
  "pluginType": "core",
@@ -11544,11 +11632,11 @@
11544
11632
  "relativePath": [
11545
11633
  "lib",
11546
11634
  "commands",
11547
- "price_list_scheduler",
11548
- "disable.js"
11635
+ "order",
11636
+ "authorize.js"
11549
11637
  ]
11550
11638
  },
11551
- "price_list_scheduler:enable": {
11639
+ "order:billing_address_clone_id": {
11552
11640
  "aliases": [],
11553
11641
  "args": {
11554
11642
  "id": {
@@ -11557,7 +11645,7 @@
11557
11645
  "required": true
11558
11646
  }
11559
11647
  },
11560
- "description": "Send this attribute if you want to mark this resource as enabled.",
11648
+ "description": "The id of the address that you want to clone to create the order's billing address.",
11561
11649
  "flags": {
11562
11650
  "organization": {
11563
11651
  "char": "o",
@@ -11618,11 +11706,20 @@
11618
11706
  "name": "unformatted",
11619
11707
  "allowNo": false,
11620
11708
  "type": "boolean"
11709
+ },
11710
+ "value": {
11711
+ "char": "v",
11712
+ "description": "the trigger attribute value",
11713
+ "name": "value",
11714
+ "required": true,
11715
+ "hasDynamicHelp": false,
11716
+ "multiple": false,
11717
+ "type": "option"
11621
11718
  }
11622
11719
  },
11623
11720
  "hasDynamicHelp": false,
11624
11721
  "hiddenAliases": [],
11625
- "id": "price_list_scheduler:enable",
11722
+ "id": "order:billing_address_clone_id",
11626
11723
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11627
11724
  "pluginName": "@commercelayer/cli-plugin-triggers",
11628
11725
  "pluginType": "core",
@@ -11632,11 +11729,11 @@
11632
11729
  "relativePath": [
11633
11730
  "lib",
11634
11731
  "commands",
11635
- "price_list_scheduler",
11636
- "enable.js"
11732
+ "order",
11733
+ "billing_address_clone_id.js"
11637
11734
  ]
11638
11735
  },
11639
- "price_list_scheduler": {
11736
+ "order:billing_address_same_as_shipping": {
11640
11737
  "aliases": [],
11641
11738
  "args": {
11642
11739
  "id": {
@@ -11645,7 +11742,7 @@
11645
11742
  "required": true
11646
11743
  }
11647
11744
  },
11648
- "description": "execute an action on a resource of type price_list_schedulers",
11745
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
11649
11746
  "flags": {
11650
11747
  "organization": {
11651
11748
  "char": "o",
@@ -11710,7 +11807,7 @@
11710
11807
  },
11711
11808
  "hasDynamicHelp": false,
11712
11809
  "hiddenAliases": [],
11713
- "id": "price_list_scheduler",
11810
+ "id": "order:billing_address_same_as_shipping",
11714
11811
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11715
11812
  "pluginName": "@commercelayer/cli-plugin-triggers",
11716
11813
  "pluginType": "core",
@@ -11720,11 +11817,11 @@
11720
11817
  "relativePath": [
11721
11818
  "lib",
11722
11819
  "commands",
11723
- "price_list_scheduler",
11724
- "index.js"
11820
+ "order",
11821
+ "billing_address_same_as_shipping.js"
11725
11822
  ]
11726
11823
  },
11727
- "refund:forward": {
11824
+ "order:cancel": {
11728
11825
  "aliases": [],
11729
11826
  "args": {
11730
11827
  "id": {
@@ -11733,7 +11830,7 @@
11733
11830
  "required": true
11734
11831
  }
11735
11832
  },
11736
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
11833
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
11737
11834
  "flags": {
11738
11835
  "organization": {
11739
11836
  "char": "o",
@@ -11798,7 +11895,7 @@
11798
11895
  },
11799
11896
  "hasDynamicHelp": false,
11800
11897
  "hiddenAliases": [],
11801
- "id": "refund:forward",
11898
+ "id": "order:cancel",
11802
11899
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11803
11900
  "pluginName": "@commercelayer/cli-plugin-triggers",
11804
11901
  "pluginType": "core",
@@ -11808,11 +11905,11 @@
11808
11905
  "relativePath": [
11809
11906
  "lib",
11810
11907
  "commands",
11811
- "refund",
11812
- "forward.js"
11908
+ "order",
11909
+ "cancel.js"
11813
11910
  ]
11814
11911
  },
11815
- "refund": {
11912
+ "order:capture": {
11816
11913
  "aliases": [],
11817
11914
  "args": {
11818
11915
  "id": {
@@ -11821,7 +11918,7 @@
11821
11918
  "required": true
11822
11919
  }
11823
11920
  },
11824
- "description": "execute an action on a resource of type refunds",
11921
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
11825
11922
  "flags": {
11826
11923
  "organization": {
11827
11924
  "char": "o",
@@ -11886,7 +11983,7 @@
11886
11983
  },
11887
11984
  "hasDynamicHelp": false,
11888
11985
  "hiddenAliases": [],
11889
- "id": "refund",
11986
+ "id": "order:capture",
11890
11987
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11891
11988
  "pluginName": "@commercelayer/cli-plugin-triggers",
11892
11989
  "pluginType": "core",
@@ -11896,11 +11993,11 @@
11896
11993
  "relativePath": [
11897
11994
  "lib",
11898
11995
  "commands",
11899
- "refund",
11900
- "index.js"
11996
+ "order",
11997
+ "capture.js"
11901
11998
  ]
11902
11999
  },
11903
- "return:add_tags": {
12000
+ "order:commit_invoice": {
11904
12001
  "aliases": [],
11905
12002
  "args": {
11906
12003
  "id": {
@@ -11909,7 +12006,7 @@
11909
12006
  "required": true
11910
12007
  }
11911
12008
  },
11912
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12009
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
11913
12010
  "flags": {
11914
12011
  "organization": {
11915
12012
  "char": "o",
@@ -11974,7 +12071,7 @@
11974
12071
  },
11975
12072
  "hasDynamicHelp": false,
11976
12073
  "hiddenAliases": [],
11977
- "id": "return:add_tags",
12074
+ "id": "order:commit_invoice",
11978
12075
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11979
12076
  "pluginName": "@commercelayer/cli-plugin-triggers",
11980
12077
  "pluginType": "core",
@@ -11984,11 +12081,11 @@
11984
12081
  "relativePath": [
11985
12082
  "lib",
11986
12083
  "commands",
11987
- "return",
11988
- "add_tags.js"
12084
+ "order",
12085
+ "commit_invoice.js"
11989
12086
  ]
11990
12087
  },
11991
- "return:approve": {
12088
+ "order:create_subscriptions": {
11992
12089
  "aliases": [],
11993
12090
  "args": {
11994
12091
  "id": {
@@ -11997,7 +12094,7 @@
11997
12094
  "required": true
11998
12095
  }
11999
12096
  },
12000
- "description": "Send this attribute if you want to mark this return as approved.",
12097
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
12001
12098
  "flags": {
12002
12099
  "organization": {
12003
12100
  "char": "o",
@@ -12062,7 +12159,7 @@
12062
12159
  },
12063
12160
  "hasDynamicHelp": false,
12064
12161
  "hiddenAliases": [],
12065
- "id": "return:approve",
12162
+ "id": "order:create_subscriptions",
12066
12163
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12067
12164
  "pluginName": "@commercelayer/cli-plugin-triggers",
12068
12165
  "pluginType": "core",
@@ -12072,11 +12169,11 @@
12072
12169
  "relativePath": [
12073
12170
  "lib",
12074
12171
  "commands",
12075
- "return",
12076
- "approve.js"
12172
+ "order",
12173
+ "create_subscriptions.js"
12077
12174
  ]
12078
12175
  },
12079
- "return:archive": {
12176
+ "order:customer_payment_source_id": {
12080
12177
  "aliases": [],
12081
12178
  "args": {
12082
12179
  "id": {
@@ -12085,7 +12182,7 @@
12085
12182
  "required": true
12086
12183
  }
12087
12184
  },
12088
- "description": "Send this attribute if you want to archive the return.",
12185
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
12089
12186
  "flags": {
12090
12187
  "organization": {
12091
12188
  "char": "o",
@@ -12146,11 +12243,20 @@
12146
12243
  "name": "unformatted",
12147
12244
  "allowNo": false,
12148
12245
  "type": "boolean"
12246
+ },
12247
+ "value": {
12248
+ "char": "v",
12249
+ "description": "the trigger attribute value",
12250
+ "name": "value",
12251
+ "required": true,
12252
+ "hasDynamicHelp": false,
12253
+ "multiple": false,
12254
+ "type": "option"
12149
12255
  }
12150
12256
  },
12151
12257
  "hasDynamicHelp": false,
12152
12258
  "hiddenAliases": [],
12153
- "id": "return:archive",
12259
+ "id": "order:customer_payment_source_id",
12154
12260
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12155
12261
  "pluginName": "@commercelayer/cli-plugin-triggers",
12156
12262
  "pluginType": "core",
@@ -12160,11 +12266,11 @@
12160
12266
  "relativePath": [
12161
12267
  "lib",
12162
12268
  "commands",
12163
- "return",
12164
- "archive.js"
12269
+ "order",
12270
+ "customer_payment_source_id.js"
12165
12271
  ]
12166
12272
  },
12167
- "return:cancel": {
12273
+ "order:fix_payment_source": {
12168
12274
  "aliases": [],
12169
12275
  "args": {
12170
12276
  "id": {
@@ -12173,7 +12279,7 @@
12173
12279
  "required": true
12174
12280
  }
12175
12281
  },
12176
- "description": "Send this attribute if you want to mark this return as cancelled.",
12282
+ "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.",
12177
12283
  "flags": {
12178
12284
  "organization": {
12179
12285
  "char": "o",
@@ -12238,7 +12344,7 @@
12238
12344
  },
12239
12345
  "hasDynamicHelp": false,
12240
12346
  "hiddenAliases": [],
12241
- "id": "return:cancel",
12347
+ "id": "order:fix_payment_source",
12242
12348
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12243
12349
  "pluginName": "@commercelayer/cli-plugin-triggers",
12244
12350
  "pluginType": "core",
@@ -12248,11 +12354,11 @@
12248
12354
  "relativePath": [
12249
12355
  "lib",
12250
12356
  "commands",
12251
- "return",
12252
- "cancel.js"
12357
+ "order",
12358
+ "fix_payment_source.js"
12253
12359
  ]
12254
12360
  },
12255
- "return": {
12361
+ "order:fulfill": {
12256
12362
  "aliases": [],
12257
12363
  "args": {
12258
12364
  "id": {
@@ -12261,7 +12367,7 @@
12261
12367
  "required": true
12262
12368
  }
12263
12369
  },
12264
- "description": "execute an action on a resource of type returns",
12370
+ "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.",
12265
12371
  "flags": {
12266
12372
  "organization": {
12267
12373
  "char": "o",
@@ -12326,7 +12432,7 @@
12326
12432
  },
12327
12433
  "hasDynamicHelp": false,
12328
12434
  "hiddenAliases": [],
12329
- "id": "return",
12435
+ "id": "order:fulfill",
12330
12436
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12331
12437
  "pluginName": "@commercelayer/cli-plugin-triggers",
12332
12438
  "pluginType": "core",
@@ -12336,11 +12442,11 @@
12336
12442
  "relativePath": [
12337
12443
  "lib",
12338
12444
  "commands",
12339
- "return",
12340
- "index.js"
12445
+ "order",
12446
+ "fulfill.js"
12341
12447
  ]
12342
12448
  },
12343
- "return:receive": {
12449
+ "order": {
12344
12450
  "aliases": [],
12345
12451
  "args": {
12346
12452
  "id": {
@@ -12349,7 +12455,7 @@
12349
12455
  "required": true
12350
12456
  }
12351
12457
  },
12352
- "description": "Send this attribute if you want to mark this return as received.",
12458
+ "description": "execute an action on a resource of type orders",
12353
12459
  "flags": {
12354
12460
  "organization": {
12355
12461
  "char": "o",
@@ -12414,7 +12520,7 @@
12414
12520
  },
12415
12521
  "hasDynamicHelp": false,
12416
12522
  "hiddenAliases": [],
12417
- "id": "return:receive",
12523
+ "id": "order",
12418
12524
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12419
12525
  "pluginName": "@commercelayer/cli-plugin-triggers",
12420
12526
  "pluginType": "core",
@@ -12424,11 +12530,11 @@
12424
12530
  "relativePath": [
12425
12531
  "lib",
12426
12532
  "commands",
12427
- "return",
12428
- "receive.js"
12533
+ "order",
12534
+ "index.js"
12429
12535
  ]
12430
12536
  },
12431
- "return:refund": {
12537
+ "order:nullify_payment_source": {
12432
12538
  "aliases": [],
12433
12539
  "args": {
12434
12540
  "id": {
@@ -12437,7 +12543,7 @@
12437
12543
  "required": true
12438
12544
  }
12439
12545
  },
12440
- "description": "Send this attribute if you want to create a refund for this return.",
12546
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
12441
12547
  "flags": {
12442
12548
  "organization": {
12443
12549
  "char": "o",
@@ -12502,7 +12608,7 @@
12502
12608
  },
12503
12609
  "hasDynamicHelp": false,
12504
12610
  "hiddenAliases": [],
12505
- "id": "return:refund",
12611
+ "id": "order:nullify_payment_source",
12506
12612
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12507
12613
  "pluginName": "@commercelayer/cli-plugin-triggers",
12508
12614
  "pluginType": "core",
@@ -12512,11 +12618,11 @@
12512
12618
  "relativePath": [
12513
12619
  "lib",
12514
12620
  "commands",
12515
- "return",
12516
- "refund.js"
12621
+ "order",
12622
+ "nullify_payment_source.js"
12517
12623
  ]
12518
12624
  },
12519
- "return:refund_amount_cents": {
12625
+ "order:pending": {
12520
12626
  "aliases": [],
12521
12627
  "args": {
12522
12628
  "id": {
@@ -12525,7 +12631,7 @@
12525
12631
  "required": true
12526
12632
  }
12527
12633
  },
12528
- "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
12634
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
12529
12635
  "flags": {
12530
12636
  "organization": {
12531
12637
  "char": "o",
@@ -12590,7 +12696,7 @@
12590
12696
  },
12591
12697
  "hasDynamicHelp": false,
12592
12698
  "hiddenAliases": [],
12593
- "id": "return:refund_amount_cents",
12699
+ "id": "order:pending",
12594
12700
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12595
12701
  "pluginName": "@commercelayer/cli-plugin-triggers",
12596
12702
  "pluginType": "core",
@@ -12600,11 +12706,11 @@
12600
12706
  "relativePath": [
12601
12707
  "lib",
12602
12708
  "commands",
12603
- "return",
12604
- "refund_amount_cents.js"
12709
+ "order",
12710
+ "pending.js"
12605
12711
  ]
12606
12712
  },
12607
- "return:reject": {
12713
+ "order:place": {
12608
12714
  "aliases": [],
12609
12715
  "args": {
12610
12716
  "id": {
@@ -12613,7 +12719,7 @@
12613
12719
  "required": true
12614
12720
  }
12615
12721
  },
12616
- "description": "Send this attribute if you want to mark this return as rejected.",
12722
+ "description": "Send this attribute if you want to place the order.",
12617
12723
  "flags": {
12618
12724
  "organization": {
12619
12725
  "char": "o",
@@ -12678,7 +12784,7 @@
12678
12784
  },
12679
12785
  "hasDynamicHelp": false,
12680
12786
  "hiddenAliases": [],
12681
- "id": "return:reject",
12787
+ "id": "order:place",
12682
12788
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12683
12789
  "pluginName": "@commercelayer/cli-plugin-triggers",
12684
12790
  "pluginType": "core",
@@ -12688,11 +12794,11 @@
12688
12794
  "relativePath": [
12689
12795
  "lib",
12690
12796
  "commands",
12691
- "return",
12692
- "reject.js"
12797
+ "order",
12798
+ "place.js"
12693
12799
  ]
12694
12800
  },
12695
- "return:remove_tags": {
12801
+ "order:refresh": {
12696
12802
  "aliases": [],
12697
12803
  "args": {
12698
12804
  "id": {
@@ -12701,7 +12807,7 @@
12701
12807
  "required": true
12702
12808
  }
12703
12809
  },
12704
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12810
+ "description": "Send this attribute if you want to manually refresh the order.",
12705
12811
  "flags": {
12706
12812
  "organization": {
12707
12813
  "char": "o",
@@ -12766,7 +12872,7 @@
12766
12872
  },
12767
12873
  "hasDynamicHelp": false,
12768
12874
  "hiddenAliases": [],
12769
- "id": "return:remove_tags",
12875
+ "id": "order:refresh",
12770
12876
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12771
12877
  "pluginName": "@commercelayer/cli-plugin-triggers",
12772
12878
  "pluginType": "core",
@@ -12776,11 +12882,11 @@
12776
12882
  "relativePath": [
12777
12883
  "lib",
12778
12884
  "commands",
12779
- "return",
12780
- "remove_tags.js"
12885
+ "order",
12886
+ "refresh.js"
12781
12887
  ]
12782
12888
  },
12783
- "return:request": {
12889
+ "order:refund": {
12784
12890
  "aliases": [],
12785
12891
  "args": {
12786
12892
  "id": {
@@ -12789,7 +12895,7 @@
12789
12895
  "required": true
12790
12896
  }
12791
12897
  },
12792
- "description": "Send this attribute if you want to activate this return.",
12898
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
12793
12899
  "flags": {
12794
12900
  "organization": {
12795
12901
  "char": "o",
@@ -12854,7 +12960,7 @@
12854
12960
  },
12855
12961
  "hasDynamicHelp": false,
12856
12962
  "hiddenAliases": [],
12857
- "id": "return:request",
12963
+ "id": "order:refund",
12858
12964
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12859
12965
  "pluginName": "@commercelayer/cli-plugin-triggers",
12860
12966
  "pluginType": "core",
@@ -12864,11 +12970,11 @@
12864
12970
  "relativePath": [
12865
12971
  "lib",
12866
12972
  "commands",
12867
- "return",
12868
- "request.js"
12973
+ "order",
12974
+ "refund.js"
12869
12975
  ]
12870
12976
  },
12871
- "return:restock": {
12977
+ "order:refund_invoice": {
12872
12978
  "aliases": [],
12873
12979
  "args": {
12874
12980
  "id": {
@@ -12877,7 +12983,7 @@
12877
12983
  "required": true
12878
12984
  }
12879
12985
  },
12880
- "description": "Send this attribute if you want to restock all of the return line items.",
12986
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12881
12987
  "flags": {
12882
12988
  "organization": {
12883
12989
  "char": "o",
@@ -12942,7 +13048,7 @@
12942
13048
  },
12943
13049
  "hasDynamicHelp": false,
12944
13050
  "hiddenAliases": [],
12945
- "id": "return:restock",
13051
+ "id": "order:refund_invoice",
12946
13052
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12947
13053
  "pluginName": "@commercelayer/cli-plugin-triggers",
12948
13054
  "pluginType": "core",
@@ -12952,11 +13058,11 @@
12952
13058
  "relativePath": [
12953
13059
  "lib",
12954
13060
  "commands",
12955
- "return",
12956
- "restock.js"
13061
+ "order",
13062
+ "refund_invoice.js"
12957
13063
  ]
12958
13064
  },
12959
- "return:ship": {
13065
+ "order:remove_tags": {
12960
13066
  "aliases": [],
12961
13067
  "args": {
12962
13068
  "id": {
@@ -12965,7 +13071,7 @@
12965
13071
  "required": true
12966
13072
  }
12967
13073
  },
12968
- "description": "Send this attribute if you want to mark this return as shipped.",
13074
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12969
13075
  "flags": {
12970
13076
  "organization": {
12971
13077
  "char": "o",
@@ -13030,7 +13136,7 @@
13030
13136
  },
13031
13137
  "hasDynamicHelp": false,
13032
13138
  "hiddenAliases": [],
13033
- "id": "return:ship",
13139
+ "id": "order:remove_tags",
13034
13140
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13035
13141
  "pluginName": "@commercelayer/cli-plugin-triggers",
13036
13142
  "pluginType": "core",
@@ -13040,11 +13146,11 @@
13040
13146
  "relativePath": [
13041
13147
  "lib",
13042
13148
  "commands",
13043
- "return",
13044
- "ship.js"
13149
+ "order",
13150
+ "remove_tags.js"
13045
13151
  ]
13046
13152
  },
13047
- "return:unarchive": {
13153
+ "order:reset_circuit": {
13048
13154
  "aliases": [],
13049
13155
  "args": {
13050
13156
  "id": {
@@ -13053,7 +13159,7 @@
13053
13159
  "required": true
13054
13160
  }
13055
13161
  },
13056
- "description": "Send this attribute if you want to unarchive the return.",
13162
+ "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.",
13057
13163
  "flags": {
13058
13164
  "organization": {
13059
13165
  "char": "o",
@@ -13118,7 +13224,7 @@
13118
13224
  },
13119
13225
  "hasDynamicHelp": false,
13120
13226
  "hiddenAliases": [],
13121
- "id": "return:unarchive",
13227
+ "id": "order:reset_circuit",
13122
13228
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13123
13229
  "pluginName": "@commercelayer/cli-plugin-triggers",
13124
13230
  "pluginType": "core",
@@ -13128,11 +13234,11 @@
13128
13234
  "relativePath": [
13129
13235
  "lib",
13130
13236
  "commands",
13131
- "return",
13132
- "unarchive.js"
13237
+ "order",
13238
+ "reset_circuit.js"
13133
13239
  ]
13134
13240
  },
13135
- "return_line_item": {
13241
+ "order:save_billing_address_to_customer_address_book": {
13136
13242
  "aliases": [],
13137
13243
  "args": {
13138
13244
  "id": {
@@ -13141,7 +13247,7 @@
13141
13247
  "required": true
13142
13248
  }
13143
13249
  },
13144
- "description": "execute an action on a resource of type return_line_items",
13250
+ "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.",
13145
13251
  "flags": {
13146
13252
  "organization": {
13147
13253
  "char": "o",
@@ -13206,7 +13312,7 @@
13206
13312
  },
13207
13313
  "hasDynamicHelp": false,
13208
13314
  "hiddenAliases": [],
13209
- "id": "return_line_item",
13315
+ "id": "order:save_billing_address_to_customer_address_book",
13210
13316
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13211
13317
  "pluginName": "@commercelayer/cli-plugin-triggers",
13212
13318
  "pluginType": "core",
@@ -13216,11 +13322,11 @@
13216
13322
  "relativePath": [
13217
13323
  "lib",
13218
13324
  "commands",
13219
- "return_line_item",
13220
- "index.js"
13325
+ "order",
13326
+ "save_billing_address_to_customer_address_book.js"
13221
13327
  ]
13222
13328
  },
13223
- "return_line_item:restock": {
13329
+ "order:save_payment_source_to_customer_wallet": {
13224
13330
  "aliases": [],
13225
13331
  "args": {
13226
13332
  "id": {
@@ -13229,7 +13335,7 @@
13229
13335
  "required": true
13230
13336
  }
13231
13337
  },
13232
- "description": "Send this attribute if you want to restock the line item.",
13338
+ "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.",
13233
13339
  "flags": {
13234
13340
  "organization": {
13235
13341
  "char": "o",
@@ -13294,7 +13400,7 @@
13294
13400
  },
13295
13401
  "hasDynamicHelp": false,
13296
13402
  "hiddenAliases": [],
13297
- "id": "return_line_item:restock",
13403
+ "id": "order:save_payment_source_to_customer_wallet",
13298
13404
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13299
13405
  "pluginName": "@commercelayer/cli-plugin-triggers",
13300
13406
  "pluginType": "core",
@@ -13304,11 +13410,11 @@
13304
13410
  "relativePath": [
13305
13411
  "lib",
13306
13412
  "commands",
13307
- "return_line_item",
13308
- "restock.js"
13413
+ "order",
13414
+ "save_payment_source_to_customer_wallet.js"
13309
13415
  ]
13310
13416
  },
13311
- "satispay_payment": {
13417
+ "order:save_shipping_address_to_customer_address_book": {
13312
13418
  "aliases": [],
13313
13419
  "args": {
13314
13420
  "id": {
@@ -13317,7 +13423,7 @@
13317
13423
  "required": true
13318
13424
  }
13319
13425
  },
13320
- "description": "execute an action on a resource of type satispay_payments",
13426
+ "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.",
13321
13427
  "flags": {
13322
13428
  "organization": {
13323
13429
  "char": "o",
@@ -13382,7 +13488,7 @@
13382
13488
  },
13383
13489
  "hasDynamicHelp": false,
13384
13490
  "hiddenAliases": [],
13385
- "id": "satispay_payment",
13491
+ "id": "order:save_shipping_address_to_customer_address_book",
13386
13492
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13387
13493
  "pluginName": "@commercelayer/cli-plugin-triggers",
13388
13494
  "pluginType": "core",
@@ -13392,11 +13498,11 @@
13392
13498
  "relativePath": [
13393
13499
  "lib",
13394
13500
  "commands",
13395
- "satispay_payment",
13396
- "index.js"
13501
+ "order",
13502
+ "save_shipping_address_to_customer_address_book.js"
13397
13503
  ]
13398
13504
  },
13399
- "satispay_payment:refresh": {
13505
+ "order:shipping_address_clone_id": {
13400
13506
  "aliases": [],
13401
13507
  "args": {
13402
13508
  "id": {
@@ -13405,7 +13511,7 @@
13405
13511
  "required": true
13406
13512
  }
13407
13513
  },
13408
- "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
13514
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
13409
13515
  "flags": {
13410
13516
  "organization": {
13411
13517
  "char": "o",
@@ -13466,11 +13572,20 @@
13466
13572
  "name": "unformatted",
13467
13573
  "allowNo": false,
13468
13574
  "type": "boolean"
13575
+ },
13576
+ "value": {
13577
+ "char": "v",
13578
+ "description": "the trigger attribute value",
13579
+ "name": "value",
13580
+ "required": true,
13581
+ "hasDynamicHelp": false,
13582
+ "multiple": false,
13583
+ "type": "option"
13469
13584
  }
13470
13585
  },
13471
13586
  "hasDynamicHelp": false,
13472
13587
  "hiddenAliases": [],
13473
- "id": "satispay_payment:refresh",
13588
+ "id": "order:shipping_address_clone_id",
13474
13589
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13475
13590
  "pluginName": "@commercelayer/cli-plugin-triggers",
13476
13591
  "pluginType": "core",
@@ -13480,11 +13595,11 @@
13480
13595
  "relativePath": [
13481
13596
  "lib",
13482
13597
  "commands",
13483
- "satispay_payment",
13484
- "refresh.js"
13598
+ "order",
13599
+ "shipping_address_clone_id.js"
13485
13600
  ]
13486
13601
  },
13487
- "shipment:add_tags": {
13602
+ "order:shipping_address_same_as_billing": {
13488
13603
  "aliases": [],
13489
13604
  "args": {
13490
13605
  "id": {
@@ -13493,7 +13608,7 @@
13493
13608
  "required": true
13494
13609
  }
13495
13610
  },
13496
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13611
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
13497
13612
  "flags": {
13498
13613
  "organization": {
13499
13614
  "char": "o",
@@ -13558,7 +13673,7 @@
13558
13673
  },
13559
13674
  "hasDynamicHelp": false,
13560
13675
  "hiddenAliases": [],
13561
- "id": "shipment:add_tags",
13676
+ "id": "order:shipping_address_same_as_billing",
13562
13677
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13563
13678
  "pluginName": "@commercelayer/cli-plugin-triggers",
13564
13679
  "pluginType": "core",
@@ -13568,11 +13683,11 @@
13568
13683
  "relativePath": [
13569
13684
  "lib",
13570
13685
  "commands",
13571
- "shipment",
13572
- "add_tags.js"
13686
+ "order",
13687
+ "shipping_address_same_as_billing.js"
13573
13688
  ]
13574
13689
  },
13575
- "shipment:cancel": {
13690
+ "order:start_editing": {
13576
13691
  "aliases": [],
13577
13692
  "args": {
13578
13693
  "id": {
@@ -13581,7 +13696,7 @@
13581
13696
  "required": true
13582
13697
  }
13583
13698
  },
13584
- "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
13699
+ "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.",
13585
13700
  "flags": {
13586
13701
  "organization": {
13587
13702
  "char": "o",
@@ -13646,7 +13761,7 @@
13646
13761
  },
13647
13762
  "hasDynamicHelp": false,
13648
13763
  "hiddenAliases": [],
13649
- "id": "shipment:cancel",
13764
+ "id": "order:start_editing",
13650
13765
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13651
13766
  "pluginName": "@commercelayer/cli-plugin-triggers",
13652
13767
  "pluginType": "core",
@@ -13656,11 +13771,11 @@
13656
13771
  "relativePath": [
13657
13772
  "lib",
13658
13773
  "commands",
13659
- "shipment",
13660
- "cancel.js"
13774
+ "order",
13775
+ "start_editing.js"
13661
13776
  ]
13662
13777
  },
13663
- "shipment:decrement_stock": {
13778
+ "order:stop_editing": {
13664
13779
  "aliases": [],
13665
13780
  "args": {
13666
13781
  "id": {
@@ -13669,7 +13784,7 @@
13669
13784
  "required": true
13670
13785
  }
13671
13786
  },
13672
- "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.",
13787
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
13673
13788
  "flags": {
13674
13789
  "organization": {
13675
13790
  "char": "o",
@@ -13734,7 +13849,7 @@
13734
13849
  },
13735
13850
  "hasDynamicHelp": false,
13736
13851
  "hiddenAliases": [],
13737
- "id": "shipment:decrement_stock",
13852
+ "id": "order:stop_editing",
13738
13853
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13739
13854
  "pluginName": "@commercelayer/cli-plugin-triggers",
13740
13855
  "pluginType": "core",
@@ -13744,11 +13859,11 @@
13744
13859
  "relativePath": [
13745
13860
  "lib",
13746
13861
  "commands",
13747
- "shipment",
13748
- "decrement_stock.js"
13862
+ "order",
13863
+ "stop_editing.js"
13749
13864
  ]
13750
13865
  },
13751
- "shipment:deliver": {
13866
+ "order:unarchive": {
13752
13867
  "aliases": [],
13753
13868
  "args": {
13754
13869
  "id": {
@@ -13757,7 +13872,7 @@
13757
13872
  "required": true
13758
13873
  }
13759
13874
  },
13760
- "description": "Send this attribute if you want to mark this shipment as delivered.",
13875
+ "description": "Send this attribute if you want to unarchive the order.",
13761
13876
  "flags": {
13762
13877
  "organization": {
13763
13878
  "char": "o",
@@ -13822,7 +13937,7 @@
13822
13937
  },
13823
13938
  "hasDynamicHelp": false,
13824
13939
  "hiddenAliases": [],
13825
- "id": "shipment:deliver",
13940
+ "id": "order:unarchive",
13826
13941
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13827
13942
  "pluginName": "@commercelayer/cli-plugin-triggers",
13828
13943
  "pluginType": "core",
@@ -13832,11 +13947,11 @@
13832
13947
  "relativePath": [
13833
13948
  "lib",
13834
13949
  "commands",
13835
- "shipment",
13836
- "deliver.js"
13950
+ "order",
13951
+ "unarchive.js"
13837
13952
  ]
13838
13953
  },
13839
- "shipment:get_rates": {
13954
+ "order:update_taxes": {
13840
13955
  "aliases": [],
13841
13956
  "args": {
13842
13957
  "id": {
@@ -13845,7 +13960,7 @@
13845
13960
  "required": true
13846
13961
  }
13847
13962
  },
13848
- "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
13963
+ "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).",
13849
13964
  "flags": {
13850
13965
  "organization": {
13851
13966
  "char": "o",
@@ -13910,7 +14025,7 @@
13910
14025
  },
13911
14026
  "hasDynamicHelp": false,
13912
14027
  "hiddenAliases": [],
13913
- "id": "shipment:get_rates",
14028
+ "id": "order:update_taxes",
13914
14029
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13915
14030
  "pluginName": "@commercelayer/cli-plugin-triggers",
13916
14031
  "pluginType": "core",
@@ -13920,11 +14035,11 @@
13920
14035
  "relativePath": [
13921
14036
  "lib",
13922
14037
  "commands",
13923
- "shipment",
13924
- "get_rates.js"
14038
+ "order",
14039
+ "update_taxes.js"
13925
14040
  ]
13926
14041
  },
13927
- "shipment": {
14042
+ "order:validate": {
13928
14043
  "aliases": [],
13929
14044
  "args": {
13930
14045
  "id": {
@@ -13933,7 +14048,7 @@
13933
14048
  "required": true
13934
14049
  }
13935
14050
  },
13936
- "description": "execute an action on a resource of type shipments",
14051
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
13937
14052
  "flags": {
13938
14053
  "organization": {
13939
14054
  "char": "o",
@@ -13998,7 +14113,7 @@
13998
14113
  },
13999
14114
  "hasDynamicHelp": false,
14000
14115
  "hiddenAliases": [],
14001
- "id": "shipment",
14116
+ "id": "order:validate",
14002
14117
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14003
14118
  "pluginName": "@commercelayer/cli-plugin-triggers",
14004
14119
  "pluginType": "core",
@@ -14008,11 +14123,11 @@
14008
14123
  "relativePath": [
14009
14124
  "lib",
14010
14125
  "commands",
14011
- "shipment",
14012
- "index.js"
14126
+ "order",
14127
+ "validate.js"
14013
14128
  ]
14014
14129
  },
14015
- "shipment:on_hold": {
14130
+ "percentage_discount_promotion:add_tags": {
14016
14131
  "aliases": [],
14017
14132
  "args": {
14018
14133
  "id": {
@@ -14021,7 +14136,7 @@
14021
14136
  "required": true
14022
14137
  }
14023
14138
  },
14024
- "description": "Send this attribute if you want to put this shipment on hold.",
14139
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14025
14140
  "flags": {
14026
14141
  "organization": {
14027
14142
  "char": "o",
@@ -14086,7 +14201,7 @@
14086
14201
  },
14087
14202
  "hasDynamicHelp": false,
14088
14203
  "hiddenAliases": [],
14089
- "id": "shipment:on_hold",
14204
+ "id": "percentage_discount_promotion:add_tags",
14090
14205
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14091
14206
  "pluginName": "@commercelayer/cli-plugin-triggers",
14092
14207
  "pluginType": "core",
@@ -14096,11 +14211,11 @@
14096
14211
  "relativePath": [
14097
14212
  "lib",
14098
14213
  "commands",
14099
- "shipment",
14100
- "on_hold.js"
14214
+ "percentage_discount_promotion",
14215
+ "add_tags.js"
14101
14216
  ]
14102
14217
  },
14103
- "shipment:packing": {
14218
+ "percentage_discount_promotion:disable": {
14104
14219
  "aliases": [],
14105
14220
  "args": {
14106
14221
  "id": {
@@ -14109,7 +14224,7 @@
14109
14224
  "required": true
14110
14225
  }
14111
14226
  },
14112
- "description": "Send this attribute if you want to start packing this shipment.",
14227
+ "description": "Send this attribute if you want to mark this resource as disabled.",
14113
14228
  "flags": {
14114
14229
  "organization": {
14115
14230
  "char": "o",
@@ -14174,7 +14289,7 @@
14174
14289
  },
14175
14290
  "hasDynamicHelp": false,
14176
14291
  "hiddenAliases": [],
14177
- "id": "shipment:packing",
14292
+ "id": "percentage_discount_promotion:disable",
14178
14293
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14179
14294
  "pluginName": "@commercelayer/cli-plugin-triggers",
14180
14295
  "pluginType": "core",
@@ -14184,11 +14299,11 @@
14184
14299
  "relativePath": [
14185
14300
  "lib",
14186
14301
  "commands",
14187
- "shipment",
14188
- "packing.js"
14302
+ "percentage_discount_promotion",
14303
+ "disable.js"
14189
14304
  ]
14190
14305
  },
14191
- "shipment:picking": {
14306
+ "percentage_discount_promotion:enable": {
14192
14307
  "aliases": [],
14193
14308
  "args": {
14194
14309
  "id": {
@@ -14197,7 +14312,7 @@
14197
14312
  "required": true
14198
14313
  }
14199
14314
  },
14200
- "description": "Send this attribute if you want to start picking this shipment.",
14315
+ "description": "Send this attribute if you want to mark this resource as enabled.",
14201
14316
  "flags": {
14202
14317
  "organization": {
14203
14318
  "char": "o",
@@ -14262,7 +14377,7 @@
14262
14377
  },
14263
14378
  "hasDynamicHelp": false,
14264
14379
  "hiddenAliases": [],
14265
- "id": "shipment:picking",
14380
+ "id": "percentage_discount_promotion:enable",
14266
14381
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14267
14382
  "pluginName": "@commercelayer/cli-plugin-triggers",
14268
14383
  "pluginType": "core",
@@ -14272,11 +14387,11 @@
14272
14387
  "relativePath": [
14273
14388
  "lib",
14274
14389
  "commands",
14275
- "shipment",
14276
- "picking.js"
14390
+ "percentage_discount_promotion",
14391
+ "enable.js"
14277
14392
  ]
14278
14393
  },
14279
- "shipment:purchase": {
14394
+ "percentage_discount_promotion": {
14280
14395
  "aliases": [],
14281
14396
  "args": {
14282
14397
  "id": {
@@ -14285,7 +14400,7 @@
14285
14400
  "required": true
14286
14401
  }
14287
14402
  },
14288
- "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
14403
+ "description": "execute an action on a resource of type percentage_discount_promotions",
14289
14404
  "flags": {
14290
14405
  "organization": {
14291
14406
  "char": "o",
@@ -14350,7 +14465,7 @@
14350
14465
  },
14351
14466
  "hasDynamicHelp": false,
14352
14467
  "hiddenAliases": [],
14353
- "id": "shipment:purchase",
14468
+ "id": "percentage_discount_promotion",
14354
14469
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14355
14470
  "pluginName": "@commercelayer/cli-plugin-triggers",
14356
14471
  "pluginType": "core",
@@ -14360,11 +14475,11 @@
14360
14475
  "relativePath": [
14361
14476
  "lib",
14362
14477
  "commands",
14363
- "shipment",
14364
- "purchase.js"
14478
+ "percentage_discount_promotion",
14479
+ "index.js"
14365
14480
  ]
14366
14481
  },
14367
- "shipment:ready_to_ship": {
14482
+ "percentage_discount_promotion:remove_tags": {
14368
14483
  "aliases": [],
14369
14484
  "args": {
14370
14485
  "id": {
@@ -14373,7 +14488,7 @@
14373
14488
  "required": true
14374
14489
  }
14375
14490
  },
14376
- "description": "Send this attribute if you want to mark this shipment as ready to ship.",
14491
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14377
14492
  "flags": {
14378
14493
  "organization": {
14379
14494
  "char": "o",
@@ -14438,7 +14553,7 @@
14438
14553
  },
14439
14554
  "hasDynamicHelp": false,
14440
14555
  "hiddenAliases": [],
14441
- "id": "shipment:ready_to_ship",
14556
+ "id": "percentage_discount_promotion:remove_tags",
14442
14557
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14443
14558
  "pluginName": "@commercelayer/cli-plugin-triggers",
14444
14559
  "pluginType": "core",
@@ -14448,11 +14563,11 @@
14448
14563
  "relativePath": [
14449
14564
  "lib",
14450
14565
  "commands",
14451
- "shipment",
14452
- "ready_to_ship.js"
14566
+ "percentage_discount_promotion",
14567
+ "remove_tags.js"
14453
14568
  ]
14454
14569
  },
14455
- "shipment:release_stock": {
14570
+ "price_list_scheduler:disable": {
14456
14571
  "aliases": [],
14457
14572
  "args": {
14458
14573
  "id": {
@@ -14461,7 +14576,7 @@
14461
14576
  "required": true
14462
14577
  }
14463
14578
  },
14464
- "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.",
14579
+ "description": "Send this attribute if you want to mark this resource as disabled.",
14465
14580
  "flags": {
14466
14581
  "organization": {
14467
14582
  "char": "o",
@@ -14526,7 +14641,7 @@
14526
14641
  },
14527
14642
  "hasDynamicHelp": false,
14528
14643
  "hiddenAliases": [],
14529
- "id": "shipment:release_stock",
14644
+ "id": "price_list_scheduler:disable",
14530
14645
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14531
14646
  "pluginName": "@commercelayer/cli-plugin-triggers",
14532
14647
  "pluginType": "core",
@@ -14536,11 +14651,11 @@
14536
14651
  "relativePath": [
14537
14652
  "lib",
14538
14653
  "commands",
14539
- "shipment",
14540
- "release_stock.js"
14654
+ "price_list_scheduler",
14655
+ "disable.js"
14541
14656
  ]
14542
14657
  },
14543
- "shipment:remove_tags": {
14658
+ "price_list_scheduler:enable": {
14544
14659
  "aliases": [],
14545
14660
  "args": {
14546
14661
  "id": {
@@ -14549,7 +14664,7 @@
14549
14664
  "required": true
14550
14665
  }
14551
14666
  },
14552
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14667
+ "description": "Send this attribute if you want to mark this resource as enabled.",
14553
14668
  "flags": {
14554
14669
  "organization": {
14555
14670
  "char": "o",
@@ -14614,7 +14729,7 @@
14614
14729
  },
14615
14730
  "hasDynamicHelp": false,
14616
14731
  "hiddenAliases": [],
14617
- "id": "shipment:remove_tags",
14732
+ "id": "price_list_scheduler:enable",
14618
14733
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14619
14734
  "pluginName": "@commercelayer/cli-plugin-triggers",
14620
14735
  "pluginType": "core",
@@ -14624,11 +14739,11 @@
14624
14739
  "relativePath": [
14625
14740
  "lib",
14626
14741
  "commands",
14627
- "shipment",
14628
- "remove_tags.js"
14742
+ "price_list_scheduler",
14743
+ "enable.js"
14629
14744
  ]
14630
14745
  },
14631
- "shipment:reserve_stock": {
14746
+ "price_list_scheduler": {
14632
14747
  "aliases": [],
14633
14748
  "args": {
14634
14749
  "id": {
@@ -14637,7 +14752,7 @@
14637
14752
  "required": true
14638
14753
  }
14639
14754
  },
14640
- "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.",
14755
+ "description": "execute an action on a resource of type price_list_schedulers",
14641
14756
  "flags": {
14642
14757
  "organization": {
14643
14758
  "char": "o",
@@ -14702,7 +14817,7 @@
14702
14817
  },
14703
14818
  "hasDynamicHelp": false,
14704
14819
  "hiddenAliases": [],
14705
- "id": "shipment:reserve_stock",
14820
+ "id": "price_list_scheduler",
14706
14821
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14707
14822
  "pluginName": "@commercelayer/cli-plugin-triggers",
14708
14823
  "pluginType": "core",
@@ -14712,11 +14827,11 @@
14712
14827
  "relativePath": [
14713
14828
  "lib",
14714
14829
  "commands",
14715
- "shipment",
14716
- "reserve_stock.js"
14830
+ "price_list_scheduler",
14831
+ "index.js"
14717
14832
  ]
14718
14833
  },
14719
- "shipment:ship": {
14834
+ "refund:forward": {
14720
14835
  "aliases": [],
14721
14836
  "args": {
14722
14837
  "id": {
@@ -14725,7 +14840,7 @@
14725
14840
  "required": true
14726
14841
  }
14727
14842
  },
14728
- "description": "Send this attribute if you want to mark this shipment as shipped.",
14843
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
14729
14844
  "flags": {
14730
14845
  "organization": {
14731
14846
  "char": "o",
@@ -14790,7 +14905,7 @@
14790
14905
  },
14791
14906
  "hasDynamicHelp": false,
14792
14907
  "hiddenAliases": [],
14793
- "id": "shipment:ship",
14908
+ "id": "refund:forward",
14794
14909
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14795
14910
  "pluginName": "@commercelayer/cli-plugin-triggers",
14796
14911
  "pluginType": "core",
@@ -14800,11 +14915,11 @@
14800
14915
  "relativePath": [
14801
14916
  "lib",
14802
14917
  "commands",
14803
- "shipment",
14804
- "ship.js"
14918
+ "refund",
14919
+ "forward.js"
14805
14920
  ]
14806
14921
  },
14807
- "shipment:upcoming": {
14922
+ "refund": {
14808
14923
  "aliases": [],
14809
14924
  "args": {
14810
14925
  "id": {
@@ -14813,7 +14928,7 @@
14813
14928
  "required": true
14814
14929
  }
14815
14930
  },
14816
- "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
14931
+ "description": "execute an action on a resource of type refunds",
14817
14932
  "flags": {
14818
14933
  "organization": {
14819
14934
  "char": "o",
@@ -14878,7 +14993,7 @@
14878
14993
  },
14879
14994
  "hasDynamicHelp": false,
14880
14995
  "hiddenAliases": [],
14881
- "id": "shipment:upcoming",
14996
+ "id": "refund",
14882
14997
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14883
14998
  "pluginName": "@commercelayer/cli-plugin-triggers",
14884
14999
  "pluginType": "core",
@@ -14888,11 +15003,11 @@
14888
15003
  "relativePath": [
14889
15004
  "lib",
14890
15005
  "commands",
14891
- "shipment",
14892
- "upcoming.js"
15006
+ "refund",
15007
+ "index.js"
14893
15008
  ]
14894
15009
  },
14895
- "shipping_method:disable": {
15010
+ "return_line_item": {
14896
15011
  "aliases": [],
14897
15012
  "args": {
14898
15013
  "id": {
@@ -14901,7 +15016,7 @@
14901
15016
  "required": true
14902
15017
  }
14903
15018
  },
14904
- "description": "Send this attribute if you want to mark this resource as disabled.",
15019
+ "description": "execute an action on a resource of type return_line_items",
14905
15020
  "flags": {
14906
15021
  "organization": {
14907
15022
  "char": "o",
@@ -14966,7 +15081,7 @@
14966
15081
  },
14967
15082
  "hasDynamicHelp": false,
14968
15083
  "hiddenAliases": [],
14969
- "id": "shipping_method:disable",
15084
+ "id": "return_line_item",
14970
15085
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14971
15086
  "pluginName": "@commercelayer/cli-plugin-triggers",
14972
15087
  "pluginType": "core",
@@ -14976,11 +15091,11 @@
14976
15091
  "relativePath": [
14977
15092
  "lib",
14978
15093
  "commands",
14979
- "shipping_method",
14980
- "disable.js"
15094
+ "return_line_item",
15095
+ "index.js"
14981
15096
  ]
14982
15097
  },
14983
- "shipping_method:enable": {
15098
+ "return_line_item:restock": {
14984
15099
  "aliases": [],
14985
15100
  "args": {
14986
15101
  "id": {
@@ -14989,7 +15104,7 @@
14989
15104
  "required": true
14990
15105
  }
14991
15106
  },
14992
- "description": "Send this attribute if you want to mark this resource as enabled.",
15107
+ "description": "Send this attribute if you want to restock the line item.",
14993
15108
  "flags": {
14994
15109
  "organization": {
14995
15110
  "char": "o",
@@ -15054,7 +15169,7 @@
15054
15169
  },
15055
15170
  "hasDynamicHelp": false,
15056
15171
  "hiddenAliases": [],
15057
- "id": "shipping_method:enable",
15172
+ "id": "return_line_item:restock",
15058
15173
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15059
15174
  "pluginName": "@commercelayer/cli-plugin-triggers",
15060
15175
  "pluginType": "core",
@@ -15064,11 +15179,11 @@
15064
15179
  "relativePath": [
15065
15180
  "lib",
15066
15181
  "commands",
15067
- "shipping_method",
15068
- "enable.js"
15182
+ "return_line_item",
15183
+ "restock.js"
15069
15184
  ]
15070
15185
  },
15071
- "shipping_method": {
15186
+ "satispay_payment": {
15072
15187
  "aliases": [],
15073
15188
  "args": {
15074
15189
  "id": {
@@ -15077,7 +15192,7 @@
15077
15192
  "required": true
15078
15193
  }
15079
15194
  },
15080
- "description": "execute an action on a resource of type shipping_methods",
15195
+ "description": "execute an action on a resource of type satispay_payments",
15081
15196
  "flags": {
15082
15197
  "organization": {
15083
15198
  "char": "o",
@@ -15142,7 +15257,7 @@
15142
15257
  },
15143
15258
  "hasDynamicHelp": false,
15144
15259
  "hiddenAliases": [],
15145
- "id": "shipping_method",
15260
+ "id": "satispay_payment",
15146
15261
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15147
15262
  "pluginName": "@commercelayer/cli-plugin-triggers",
15148
15263
  "pluginType": "core",
@@ -15152,11 +15267,11 @@
15152
15267
  "relativePath": [
15153
15268
  "lib",
15154
15269
  "commands",
15155
- "shipping_method",
15270
+ "satispay_payment",
15156
15271
  "index.js"
15157
15272
  ]
15158
15273
  },
15159
- "shipping_method:reset_circuit": {
15274
+ "satispay_payment:refresh": {
15160
15275
  "aliases": [],
15161
15276
  "args": {
15162
15277
  "id": {
@@ -15165,7 +15280,7 @@
15165
15280
  "required": true
15166
15281
  }
15167
15282
  },
15168
- "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.",
15283
+ "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
15169
15284
  "flags": {
15170
15285
  "organization": {
15171
15286
  "char": "o",
@@ -15230,7 +15345,7 @@
15230
15345
  },
15231
15346
  "hasDynamicHelp": false,
15232
15347
  "hiddenAliases": [],
15233
- "id": "shipping_method:reset_circuit",
15348
+ "id": "satispay_payment:refresh",
15234
15349
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15235
15350
  "pluginName": "@commercelayer/cli-plugin-triggers",
15236
15351
  "pluginType": "core",
@@ -15240,11 +15355,11 @@
15240
15355
  "relativePath": [
15241
15356
  "lib",
15242
15357
  "commands",
15243
- "shipping_method",
15244
- "reset_circuit.js"
15358
+ "satispay_payment",
15359
+ "refresh.js"
15245
15360
  ]
15246
15361
  },
15247
- "sku:add_tags": {
15362
+ "return:add_tags": {
15248
15363
  "aliases": [],
15249
15364
  "args": {
15250
15365
  "id": {
@@ -15318,7 +15433,7 @@
15318
15433
  },
15319
15434
  "hasDynamicHelp": false,
15320
15435
  "hiddenAliases": [],
15321
- "id": "sku:add_tags",
15436
+ "id": "return:add_tags",
15322
15437
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15323
15438
  "pluginName": "@commercelayer/cli-plugin-triggers",
15324
15439
  "pluginType": "core",
@@ -15328,11 +15443,11 @@
15328
15443
  "relativePath": [
15329
15444
  "lib",
15330
15445
  "commands",
15331
- "sku",
15446
+ "return",
15332
15447
  "add_tags.js"
15333
15448
  ]
15334
15449
  },
15335
- "sku": {
15450
+ "return:approve": {
15336
15451
  "aliases": [],
15337
15452
  "args": {
15338
15453
  "id": {
@@ -15341,7 +15456,7 @@
15341
15456
  "required": true
15342
15457
  }
15343
15458
  },
15344
- "description": "execute an action on a resource of type skus",
15459
+ "description": "Send this attribute if you want to mark this return as approved.",
15345
15460
  "flags": {
15346
15461
  "organization": {
15347
15462
  "char": "o",
@@ -15406,7 +15521,7 @@
15406
15521
  },
15407
15522
  "hasDynamicHelp": false,
15408
15523
  "hiddenAliases": [],
15409
- "id": "sku",
15524
+ "id": "return:approve",
15410
15525
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15411
15526
  "pluginName": "@commercelayer/cli-plugin-triggers",
15412
15527
  "pluginType": "core",
@@ -15416,11 +15531,11 @@
15416
15531
  "relativePath": [
15417
15532
  "lib",
15418
15533
  "commands",
15419
- "sku",
15420
- "index.js"
15534
+ "return",
15535
+ "approve.js"
15421
15536
  ]
15422
15537
  },
15423
- "sku:remove_tags": {
15538
+ "return:archive": {
15424
15539
  "aliases": [],
15425
15540
  "args": {
15426
15541
  "id": {
@@ -15429,7 +15544,7 @@
15429
15544
  "required": true
15430
15545
  }
15431
15546
  },
15432
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15547
+ "description": "Send this attribute if you want to archive the return.",
15433
15548
  "flags": {
15434
15549
  "organization": {
15435
15550
  "char": "o",
@@ -15494,7 +15609,7 @@
15494
15609
  },
15495
15610
  "hasDynamicHelp": false,
15496
15611
  "hiddenAliases": [],
15497
- "id": "sku:remove_tags",
15612
+ "id": "return:archive",
15498
15613
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15499
15614
  "pluginName": "@commercelayer/cli-plugin-triggers",
15500
15615
  "pluginType": "core",
@@ -15504,11 +15619,11 @@
15504
15619
  "relativePath": [
15505
15620
  "lib",
15506
15621
  "commands",
15507
- "sku",
15508
- "remove_tags.js"
15622
+ "return",
15623
+ "archive.js"
15509
15624
  ]
15510
15625
  },
15511
- "sku_option:add_tags": {
15626
+ "return:cancel": {
15512
15627
  "aliases": [],
15513
15628
  "args": {
15514
15629
  "id": {
@@ -15517,7 +15632,7 @@
15517
15632
  "required": true
15518
15633
  }
15519
15634
  },
15520
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15635
+ "description": "Send this attribute if you want to mark this return as cancelled.",
15521
15636
  "flags": {
15522
15637
  "organization": {
15523
15638
  "char": "o",
@@ -15582,7 +15697,7 @@
15582
15697
  },
15583
15698
  "hasDynamicHelp": false,
15584
15699
  "hiddenAliases": [],
15585
- "id": "sku_option:add_tags",
15700
+ "id": "return:cancel",
15586
15701
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15587
15702
  "pluginName": "@commercelayer/cli-plugin-triggers",
15588
15703
  "pluginType": "core",
@@ -15592,11 +15707,11 @@
15592
15707
  "relativePath": [
15593
15708
  "lib",
15594
15709
  "commands",
15595
- "sku_option",
15596
- "add_tags.js"
15710
+ "return",
15711
+ "cancel.js"
15597
15712
  ]
15598
15713
  },
15599
- "sku_option": {
15714
+ "return": {
15600
15715
  "aliases": [],
15601
15716
  "args": {
15602
15717
  "id": {
@@ -15605,7 +15720,7 @@
15605
15720
  "required": true
15606
15721
  }
15607
15722
  },
15608
- "description": "execute an action on a resource of type sku_options",
15723
+ "description": "execute an action on a resource of type returns",
15609
15724
  "flags": {
15610
15725
  "organization": {
15611
15726
  "char": "o",
@@ -15670,7 +15785,7 @@
15670
15785
  },
15671
15786
  "hasDynamicHelp": false,
15672
15787
  "hiddenAliases": [],
15673
- "id": "sku_option",
15788
+ "id": "return",
15674
15789
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15675
15790
  "pluginName": "@commercelayer/cli-plugin-triggers",
15676
15791
  "pluginType": "core",
@@ -15680,11 +15795,11 @@
15680
15795
  "relativePath": [
15681
15796
  "lib",
15682
15797
  "commands",
15683
- "sku_option",
15798
+ "return",
15684
15799
  "index.js"
15685
15800
  ]
15686
15801
  },
15687
- "sku_option:remove_tags": {
15802
+ "return:receive": {
15688
15803
  "aliases": [],
15689
15804
  "args": {
15690
15805
  "id": {
@@ -15693,7 +15808,7 @@
15693
15808
  "required": true
15694
15809
  }
15695
15810
  },
15696
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15811
+ "description": "Send this attribute if you want to mark this return as received.",
15697
15812
  "flags": {
15698
15813
  "organization": {
15699
15814
  "char": "o",
@@ -15758,7 +15873,7 @@
15758
15873
  },
15759
15874
  "hasDynamicHelp": false,
15760
15875
  "hiddenAliases": [],
15761
- "id": "sku_option:remove_tags",
15876
+ "id": "return:receive",
15762
15877
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15763
15878
  "pluginName": "@commercelayer/cli-plugin-triggers",
15764
15879
  "pluginType": "core",
@@ -15768,11 +15883,11 @@
15768
15883
  "relativePath": [
15769
15884
  "lib",
15770
15885
  "commands",
15771
- "sku_option",
15772
- "remove_tags.js"
15886
+ "return",
15887
+ "receive.js"
15773
15888
  ]
15774
15889
  },
15775
- "stock_item": {
15890
+ "return:refund": {
15776
15891
  "aliases": [],
15777
15892
  "args": {
15778
15893
  "id": {
@@ -15781,7 +15896,7 @@
15781
15896
  "required": true
15782
15897
  }
15783
15898
  },
15784
- "description": "execute an action on a resource of type stock_items",
15899
+ "description": "Send this attribute if you want to create a refund for this return.",
15785
15900
  "flags": {
15786
15901
  "organization": {
15787
15902
  "char": "o",
@@ -15846,7 +15961,7 @@
15846
15961
  },
15847
15962
  "hasDynamicHelp": false,
15848
15963
  "hiddenAliases": [],
15849
- "id": "stock_item",
15964
+ "id": "return:refund",
15850
15965
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15851
15966
  "pluginName": "@commercelayer/cli-plugin-triggers",
15852
15967
  "pluginType": "core",
@@ -15856,11 +15971,11 @@
15856
15971
  "relativePath": [
15857
15972
  "lib",
15858
15973
  "commands",
15859
- "stock_item",
15860
- "index.js"
15974
+ "return",
15975
+ "refund.js"
15861
15976
  ]
15862
15977
  },
15863
- "stock_item:validate": {
15978
+ "return:refund_amount_cents": {
15864
15979
  "aliases": [],
15865
15980
  "args": {
15866
15981
  "id": {
@@ -15869,7 +15984,7 @@
15869
15984
  "required": true
15870
15985
  }
15871
15986
  },
15872
- "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.",
15987
+ "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
15873
15988
  "flags": {
15874
15989
  "organization": {
15875
15990
  "char": "o",
@@ -15934,7 +16049,7 @@
15934
16049
  },
15935
16050
  "hasDynamicHelp": false,
15936
16051
  "hiddenAliases": [],
15937
- "id": "stock_item:validate",
16052
+ "id": "return:refund_amount_cents",
15938
16053
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15939
16054
  "pluginName": "@commercelayer/cli-plugin-triggers",
15940
16055
  "pluginType": "core",
@@ -15944,11 +16059,11 @@
15944
16059
  "relativePath": [
15945
16060
  "lib",
15946
16061
  "commands",
15947
- "stock_item",
15948
- "validate.js"
16062
+ "return",
16063
+ "refund_amount_cents.js"
15949
16064
  ]
15950
16065
  },
15951
- "stock_line_item:decrement_stock": {
16066
+ "return:reject": {
15952
16067
  "aliases": [],
15953
16068
  "args": {
15954
16069
  "id": {
@@ -15957,7 +16072,7 @@
15957
16072
  "required": true
15958
16073
  }
15959
16074
  },
15960
- "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.",
16075
+ "description": "Send this attribute if you want to mark this return as rejected.",
15961
16076
  "flags": {
15962
16077
  "organization": {
15963
16078
  "char": "o",
@@ -16022,7 +16137,7 @@
16022
16137
  },
16023
16138
  "hasDynamicHelp": false,
16024
16139
  "hiddenAliases": [],
16025
- "id": "stock_line_item:decrement_stock",
16140
+ "id": "return:reject",
16026
16141
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16027
16142
  "pluginName": "@commercelayer/cli-plugin-triggers",
16028
16143
  "pluginType": "core",
@@ -16032,11 +16147,11 @@
16032
16147
  "relativePath": [
16033
16148
  "lib",
16034
16149
  "commands",
16035
- "stock_line_item",
16036
- "decrement_stock.js"
16150
+ "return",
16151
+ "reject.js"
16037
16152
  ]
16038
16153
  },
16039
- "stock_line_item": {
16154
+ "return:remove_tags": {
16040
16155
  "aliases": [],
16041
16156
  "args": {
16042
16157
  "id": {
@@ -16045,7 +16160,7 @@
16045
16160
  "required": true
16046
16161
  }
16047
16162
  },
16048
- "description": "execute an action on a resource of type stock_line_items",
16163
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16049
16164
  "flags": {
16050
16165
  "organization": {
16051
16166
  "char": "o",
@@ -16110,7 +16225,7 @@
16110
16225
  },
16111
16226
  "hasDynamicHelp": false,
16112
16227
  "hiddenAliases": [],
16113
- "id": "stock_line_item",
16228
+ "id": "return:remove_tags",
16114
16229
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16115
16230
  "pluginName": "@commercelayer/cli-plugin-triggers",
16116
16231
  "pluginType": "core",
@@ -16120,11 +16235,11 @@
16120
16235
  "relativePath": [
16121
16236
  "lib",
16122
16237
  "commands",
16123
- "stock_line_item",
16124
- "index.js"
16238
+ "return",
16239
+ "remove_tags.js"
16125
16240
  ]
16126
16241
  },
16127
- "stock_line_item:release_stock": {
16242
+ "return:request": {
16128
16243
  "aliases": [],
16129
16244
  "args": {
16130
16245
  "id": {
@@ -16133,7 +16248,7 @@
16133
16248
  "required": true
16134
16249
  }
16135
16250
  },
16136
- "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.",
16251
+ "description": "Send this attribute if you want to activate this return.",
16137
16252
  "flags": {
16138
16253
  "organization": {
16139
16254
  "char": "o",
@@ -16198,7 +16313,7 @@
16198
16313
  },
16199
16314
  "hasDynamicHelp": false,
16200
16315
  "hiddenAliases": [],
16201
- "id": "stock_line_item:release_stock",
16316
+ "id": "return:request",
16202
16317
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16203
16318
  "pluginName": "@commercelayer/cli-plugin-triggers",
16204
16319
  "pluginType": "core",
@@ -16208,11 +16323,11 @@
16208
16323
  "relativePath": [
16209
16324
  "lib",
16210
16325
  "commands",
16211
- "stock_line_item",
16212
- "release_stock.js"
16326
+ "return",
16327
+ "request.js"
16213
16328
  ]
16214
16329
  },
16215
- "stock_line_item:reserve_stock": {
16330
+ "return:restock": {
16216
16331
  "aliases": [],
16217
16332
  "args": {
16218
16333
  "id": {
@@ -16221,7 +16336,7 @@
16221
16336
  "required": true
16222
16337
  }
16223
16338
  },
16224
- "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.",
16339
+ "description": "Send this attribute if you want to restock all of the return line items.",
16225
16340
  "flags": {
16226
16341
  "organization": {
16227
16342
  "char": "o",
@@ -16286,7 +16401,7 @@
16286
16401
  },
16287
16402
  "hasDynamicHelp": false,
16288
16403
  "hiddenAliases": [],
16289
- "id": "stock_line_item:reserve_stock",
16404
+ "id": "return:restock",
16290
16405
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16291
16406
  "pluginName": "@commercelayer/cli-plugin-triggers",
16292
16407
  "pluginType": "core",
@@ -16296,11 +16411,11 @@
16296
16411
  "relativePath": [
16297
16412
  "lib",
16298
16413
  "commands",
16299
- "stock_line_item",
16300
- "reserve_stock.js"
16414
+ "return",
16415
+ "restock.js"
16301
16416
  ]
16302
16417
  },
16303
- "stock_reservation": {
16418
+ "return:ship": {
16304
16419
  "aliases": [],
16305
16420
  "args": {
16306
16421
  "id": {
@@ -16309,7 +16424,7 @@
16309
16424
  "required": true
16310
16425
  }
16311
16426
  },
16312
- "description": "execute an action on a resource of type stock_reservations",
16427
+ "description": "Send this attribute if you want to mark this return as shipped.",
16313
16428
  "flags": {
16314
16429
  "organization": {
16315
16430
  "char": "o",
@@ -16374,7 +16489,7 @@
16374
16489
  },
16375
16490
  "hasDynamicHelp": false,
16376
16491
  "hiddenAliases": [],
16377
- "id": "stock_reservation",
16492
+ "id": "return:ship",
16378
16493
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16379
16494
  "pluginName": "@commercelayer/cli-plugin-triggers",
16380
16495
  "pluginType": "core",
@@ -16384,11 +16499,11 @@
16384
16499
  "relativePath": [
16385
16500
  "lib",
16386
16501
  "commands",
16387
- "stock_reservation",
16388
- "index.js"
16502
+ "return",
16503
+ "ship.js"
16389
16504
  ]
16390
16505
  },
16391
- "stock_reservation:pending": {
16506
+ "return:unarchive": {
16392
16507
  "aliases": [],
16393
16508
  "args": {
16394
16509
  "id": {
@@ -16397,7 +16512,7 @@
16397
16512
  "required": true
16398
16513
  }
16399
16514
  },
16400
- "description": "Send this attribute if you want to mark this stock reservation as pending.",
16515
+ "description": "Send this attribute if you want to unarchive the return.",
16401
16516
  "flags": {
16402
16517
  "organization": {
16403
16518
  "char": "o",
@@ -16462,7 +16577,7 @@
16462
16577
  },
16463
16578
  "hasDynamicHelp": false,
16464
16579
  "hiddenAliases": [],
16465
- "id": "stock_reservation:pending",
16580
+ "id": "return:unarchive",
16466
16581
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16467
16582
  "pluginName": "@commercelayer/cli-plugin-triggers",
16468
16583
  "pluginType": "core",
@@ -16472,11 +16587,11 @@
16472
16587
  "relativePath": [
16473
16588
  "lib",
16474
16589
  "commands",
16475
- "stock_reservation",
16476
- "pending.js"
16590
+ "return",
16591
+ "unarchive.js"
16477
16592
  ]
16478
16593
  },
16479
- "stock_transfer:cancel": {
16594
+ "shipping_method:disable": {
16480
16595
  "aliases": [],
16481
16596
  "args": {
16482
16597
  "id": {
@@ -16485,7 +16600,7 @@
16485
16600
  "required": true
16486
16601
  }
16487
16602
  },
16488
- "description": "Send this attribute if you want to cancel this stock transfer.",
16603
+ "description": "Send this attribute if you want to mark this resource as disabled.",
16489
16604
  "flags": {
16490
16605
  "organization": {
16491
16606
  "char": "o",
@@ -16550,7 +16665,7 @@
16550
16665
  },
16551
16666
  "hasDynamicHelp": false,
16552
16667
  "hiddenAliases": [],
16553
- "id": "stock_transfer:cancel",
16668
+ "id": "shipping_method:disable",
16554
16669
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16555
16670
  "pluginName": "@commercelayer/cli-plugin-triggers",
16556
16671
  "pluginType": "core",
@@ -16560,11 +16675,11 @@
16560
16675
  "relativePath": [
16561
16676
  "lib",
16562
16677
  "commands",
16563
- "stock_transfer",
16564
- "cancel.js"
16678
+ "shipping_method",
16679
+ "disable.js"
16565
16680
  ]
16566
16681
  },
16567
- "stock_transfer:complete": {
16682
+ "shipping_method:enable": {
16568
16683
  "aliases": [],
16569
16684
  "args": {
16570
16685
  "id": {
@@ -16573,7 +16688,7 @@
16573
16688
  "required": true
16574
16689
  }
16575
16690
  },
16576
- "description": "Send this attribute if you want to complete this stock transfer.",
16691
+ "description": "Send this attribute if you want to mark this resource as enabled.",
16577
16692
  "flags": {
16578
16693
  "organization": {
16579
16694
  "char": "o",
@@ -16638,7 +16753,7 @@
16638
16753
  },
16639
16754
  "hasDynamicHelp": false,
16640
16755
  "hiddenAliases": [],
16641
- "id": "stock_transfer:complete",
16756
+ "id": "shipping_method:enable",
16642
16757
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16643
16758
  "pluginName": "@commercelayer/cli-plugin-triggers",
16644
16759
  "pluginType": "core",
@@ -16648,11 +16763,11 @@
16648
16763
  "relativePath": [
16649
16764
  "lib",
16650
16765
  "commands",
16651
- "stock_transfer",
16652
- "complete.js"
16766
+ "shipping_method",
16767
+ "enable.js"
16653
16768
  ]
16654
16769
  },
16655
- "stock_transfer:in_transit": {
16770
+ "shipping_method": {
16656
16771
  "aliases": [],
16657
16772
  "args": {
16658
16773
  "id": {
@@ -16661,7 +16776,7 @@
16661
16776
  "required": true
16662
16777
  }
16663
16778
  },
16664
- "description": "Send this attribute if you want to mark this stock transfer as in transit.",
16779
+ "description": "execute an action on a resource of type shipping_methods",
16665
16780
  "flags": {
16666
16781
  "organization": {
16667
16782
  "char": "o",
@@ -16726,7 +16841,7 @@
16726
16841
  },
16727
16842
  "hasDynamicHelp": false,
16728
16843
  "hiddenAliases": [],
16729
- "id": "stock_transfer:in_transit",
16844
+ "id": "shipping_method",
16730
16845
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16731
16846
  "pluginName": "@commercelayer/cli-plugin-triggers",
16732
16847
  "pluginType": "core",
@@ -16736,11 +16851,11 @@
16736
16851
  "relativePath": [
16737
16852
  "lib",
16738
16853
  "commands",
16739
- "stock_transfer",
16740
- "in_transit.js"
16854
+ "shipping_method",
16855
+ "index.js"
16741
16856
  ]
16742
16857
  },
16743
- "stock_transfer": {
16858
+ "shipping_method:reset_circuit": {
16744
16859
  "aliases": [],
16745
16860
  "args": {
16746
16861
  "id": {
@@ -16749,7 +16864,7 @@
16749
16864
  "required": true
16750
16865
  }
16751
16866
  },
16752
- "description": "execute an action on a resource of type stock_transfers",
16867
+ "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.",
16753
16868
  "flags": {
16754
16869
  "organization": {
16755
16870
  "char": "o",
@@ -16814,7 +16929,7 @@
16814
16929
  },
16815
16930
  "hasDynamicHelp": false,
16816
16931
  "hiddenAliases": [],
16817
- "id": "stock_transfer",
16932
+ "id": "shipping_method:reset_circuit",
16818
16933
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16819
16934
  "pluginName": "@commercelayer/cli-plugin-triggers",
16820
16935
  "pluginType": "core",
@@ -16824,11 +16939,11 @@
16824
16939
  "relativePath": [
16825
16940
  "lib",
16826
16941
  "commands",
16827
- "stock_transfer",
16828
- "index.js"
16942
+ "shipping_method",
16943
+ "reset_circuit.js"
16829
16944
  ]
16830
16945
  },
16831
- "stock_transfer:on_hold": {
16946
+ "shipment:add_tags": {
16832
16947
  "aliases": [],
16833
16948
  "args": {
16834
16949
  "id": {
@@ -16837,7 +16952,7 @@
16837
16952
  "required": true
16838
16953
  }
16839
16954
  },
16840
- "description": "Send this attribute if you want to put this stock transfer on hold.",
16955
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16841
16956
  "flags": {
16842
16957
  "organization": {
16843
16958
  "char": "o",
@@ -16902,7 +17017,7 @@
16902
17017
  },
16903
17018
  "hasDynamicHelp": false,
16904
17019
  "hiddenAliases": [],
16905
- "id": "stock_transfer:on_hold",
17020
+ "id": "shipment:add_tags",
16906
17021
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16907
17022
  "pluginName": "@commercelayer/cli-plugin-triggers",
16908
17023
  "pluginType": "core",
@@ -16912,11 +17027,11 @@
16912
17027
  "relativePath": [
16913
17028
  "lib",
16914
17029
  "commands",
16915
- "stock_transfer",
16916
- "on_hold.js"
17030
+ "shipment",
17031
+ "add_tags.js"
16917
17032
  ]
16918
17033
  },
16919
- "stock_transfer:picking": {
17034
+ "shipment:cancel": {
16920
17035
  "aliases": [],
16921
17036
  "args": {
16922
17037
  "id": {
@@ -16925,7 +17040,7 @@
16925
17040
  "required": true
16926
17041
  }
16927
17042
  },
16928
- "description": "Send this attribute if you want to start picking this stock transfer.",
17043
+ "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
16929
17044
  "flags": {
16930
17045
  "organization": {
16931
17046
  "char": "o",
@@ -16990,7 +17105,7 @@
16990
17105
  },
16991
17106
  "hasDynamicHelp": false,
16992
17107
  "hiddenAliases": [],
16993
- "id": "stock_transfer:picking",
17108
+ "id": "shipment:cancel",
16994
17109
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16995
17110
  "pluginName": "@commercelayer/cli-plugin-triggers",
16996
17111
  "pluginType": "core",
@@ -17000,11 +17115,11 @@
17000
17115
  "relativePath": [
17001
17116
  "lib",
17002
17117
  "commands",
17003
- "stock_transfer",
17004
- "picking.js"
17118
+ "shipment",
17119
+ "cancel.js"
17005
17120
  ]
17006
17121
  },
17007
- "stock_transfer:upcoming": {
17122
+ "shipment:decrement_stock": {
17008
17123
  "aliases": [],
17009
17124
  "args": {
17010
17125
  "id": {
@@ -17013,7 +17128,7 @@
17013
17128
  "required": true
17014
17129
  }
17015
17130
  },
17016
- "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
17131
+ "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.",
17017
17132
  "flags": {
17018
17133
  "organization": {
17019
17134
  "char": "o",
@@ -17078,7 +17193,7 @@
17078
17193
  },
17079
17194
  "hasDynamicHelp": false,
17080
17195
  "hiddenAliases": [],
17081
- "id": "stock_transfer:upcoming",
17196
+ "id": "shipment:decrement_stock",
17082
17197
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17083
17198
  "pluginName": "@commercelayer/cli-plugin-triggers",
17084
17199
  "pluginType": "core",
@@ -17088,11 +17203,11 @@
17088
17203
  "relativePath": [
17089
17204
  "lib",
17090
17205
  "commands",
17091
- "stock_transfer",
17092
- "upcoming.js"
17206
+ "shipment",
17207
+ "decrement_stock.js"
17093
17208
  ]
17094
17209
  },
17095
- "stripe_payment": {
17210
+ "shipment:deliver": {
17096
17211
  "aliases": [],
17097
17212
  "args": {
17098
17213
  "id": {
@@ -17101,7 +17216,7 @@
17101
17216
  "required": true
17102
17217
  }
17103
17218
  },
17104
- "description": "execute an action on a resource of type stripe_payments",
17219
+ "description": "Send this attribute if you want to mark this shipment as delivered.",
17105
17220
  "flags": {
17106
17221
  "organization": {
17107
17222
  "char": "o",
@@ -17166,7 +17281,7 @@
17166
17281
  },
17167
17282
  "hasDynamicHelp": false,
17168
17283
  "hiddenAliases": [],
17169
- "id": "stripe_payment",
17284
+ "id": "shipment:deliver",
17170
17285
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17171
17286
  "pluginName": "@commercelayer/cli-plugin-triggers",
17172
17287
  "pluginType": "core",
@@ -17176,11 +17291,11 @@
17176
17291
  "relativePath": [
17177
17292
  "lib",
17178
17293
  "commands",
17179
- "stripe_payment",
17180
- "index.js"
17294
+ "shipment",
17295
+ "deliver.js"
17181
17296
  ]
17182
17297
  },
17183
- "stripe_payment:refresh": {
17298
+ "shipment:get_rates": {
17184
17299
  "aliases": [],
17185
17300
  "args": {
17186
17301
  "id": {
@@ -17189,7 +17304,7 @@
17189
17304
  "required": true
17190
17305
  }
17191
17306
  },
17192
- "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
17307
+ "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
17193
17308
  "flags": {
17194
17309
  "organization": {
17195
17310
  "char": "o",
@@ -17254,7 +17369,7 @@
17254
17369
  },
17255
17370
  "hasDynamicHelp": false,
17256
17371
  "hiddenAliases": [],
17257
- "id": "stripe_payment:refresh",
17372
+ "id": "shipment:get_rates",
17258
17373
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17259
17374
  "pluginName": "@commercelayer/cli-plugin-triggers",
17260
17375
  "pluginType": "core",
@@ -17264,11 +17379,11 @@
17264
17379
  "relativePath": [
17265
17380
  "lib",
17266
17381
  "commands",
17267
- "stripe_payment",
17268
- "refresh.js"
17382
+ "shipment",
17383
+ "get_rates.js"
17269
17384
  ]
17270
17385
  },
17271
- "stripe_payment:update": {
17386
+ "shipment": {
17272
17387
  "aliases": [],
17273
17388
  "args": {
17274
17389
  "id": {
@@ -17277,7 +17392,7 @@
17277
17392
  "required": true
17278
17393
  }
17279
17394
  },
17280
- "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
17395
+ "description": "execute an action on a resource of type shipments",
17281
17396
  "flags": {
17282
17397
  "organization": {
17283
17398
  "char": "o",
@@ -17342,7 +17457,7 @@
17342
17457
  },
17343
17458
  "hasDynamicHelp": false,
17344
17459
  "hiddenAliases": [],
17345
- "id": "stripe_payment:update",
17460
+ "id": "shipment",
17346
17461
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17347
17462
  "pluginName": "@commercelayer/cli-plugin-triggers",
17348
17463
  "pluginType": "core",
@@ -17352,11 +17467,11 @@
17352
17467
  "relativePath": [
17353
17468
  "lib",
17354
17469
  "commands",
17355
- "stripe_payment",
17356
- "update.js"
17470
+ "shipment",
17471
+ "index.js"
17357
17472
  ]
17358
17473
  },
17359
- "vertex_account": {
17474
+ "shipment:on_hold": {
17360
17475
  "aliases": [],
17361
17476
  "args": {
17362
17477
  "id": {
@@ -17365,7 +17480,7 @@
17365
17480
  "required": true
17366
17481
  }
17367
17482
  },
17368
- "description": "execute an action on a resource of type vertex_accounts",
17483
+ "description": "Send this attribute if you want to put this shipment on hold.",
17369
17484
  "flags": {
17370
17485
  "organization": {
17371
17486
  "char": "o",
@@ -17430,7 +17545,7 @@
17430
17545
  },
17431
17546
  "hasDynamicHelp": false,
17432
17547
  "hiddenAliases": [],
17433
- "id": "vertex_account",
17548
+ "id": "shipment:on_hold",
17434
17549
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17435
17550
  "pluginName": "@commercelayer/cli-plugin-triggers",
17436
17551
  "pluginType": "core",
@@ -17440,11 +17555,11 @@
17440
17555
  "relativePath": [
17441
17556
  "lib",
17442
17557
  "commands",
17443
- "vertex_account",
17444
- "index.js"
17558
+ "shipment",
17559
+ "on_hold.js"
17445
17560
  ]
17446
17561
  },
17447
- "vertex_account:refresh_token": {
17562
+ "shipment:packing": {
17448
17563
  "aliases": [],
17449
17564
  "args": {
17450
17565
  "id": {
@@ -17453,7 +17568,7 @@
17453
17568
  "required": true
17454
17569
  }
17455
17570
  },
17456
- "description": "Send this attribute if you want to manually refresh the access token.",
17571
+ "description": "Send this attribute if you want to start packing this shipment.",
17457
17572
  "flags": {
17458
17573
  "organization": {
17459
17574
  "char": "o",
@@ -17518,7 +17633,7 @@
17518
17633
  },
17519
17634
  "hasDynamicHelp": false,
17520
17635
  "hiddenAliases": [],
17521
- "id": "vertex_account:refresh_token",
17636
+ "id": "shipment:packing",
17522
17637
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17523
17638
  "pluginName": "@commercelayer/cli-plugin-triggers",
17524
17639
  "pluginType": "core",
@@ -17528,11 +17643,11 @@
17528
17643
  "relativePath": [
17529
17644
  "lib",
17530
17645
  "commands",
17531
- "vertex_account",
17532
- "refresh_token.js"
17646
+ "shipment",
17647
+ "packing.js"
17533
17648
  ]
17534
17649
  },
17535
- "void:forward": {
17650
+ "shipment:picking": {
17536
17651
  "aliases": [],
17537
17652
  "args": {
17538
17653
  "id": {
@@ -17541,7 +17656,7 @@
17541
17656
  "required": true
17542
17657
  }
17543
17658
  },
17544
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
17659
+ "description": "Send this attribute if you want to start picking this shipment.",
17545
17660
  "flags": {
17546
17661
  "organization": {
17547
17662
  "char": "o",
@@ -17606,7 +17721,7 @@
17606
17721
  },
17607
17722
  "hasDynamicHelp": false,
17608
17723
  "hiddenAliases": [],
17609
- "id": "void:forward",
17724
+ "id": "shipment:picking",
17610
17725
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17611
17726
  "pluginName": "@commercelayer/cli-plugin-triggers",
17612
17727
  "pluginType": "core",
@@ -17616,11 +17731,11 @@
17616
17731
  "relativePath": [
17617
17732
  "lib",
17618
17733
  "commands",
17619
- "void",
17620
- "forward.js"
17734
+ "shipment",
17735
+ "picking.js"
17621
17736
  ]
17622
17737
  },
17623
- "void": {
17738
+ "shipment:purchase": {
17624
17739
  "aliases": [],
17625
17740
  "args": {
17626
17741
  "id": {
@@ -17629,7 +17744,7 @@
17629
17744
  "required": true
17630
17745
  }
17631
17746
  },
17632
- "description": "execute an action on a resource of type voids",
17747
+ "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
17633
17748
  "flags": {
17634
17749
  "organization": {
17635
17750
  "char": "o",
@@ -17694,7 +17809,7 @@
17694
17809
  },
17695
17810
  "hasDynamicHelp": false,
17696
17811
  "hiddenAliases": [],
17697
- "id": "void",
17812
+ "id": "shipment:purchase",
17698
17813
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17699
17814
  "pluginName": "@commercelayer/cli-plugin-triggers",
17700
17815
  "pluginType": "core",
@@ -17704,11 +17819,11 @@
17704
17819
  "relativePath": [
17705
17820
  "lib",
17706
17821
  "commands",
17707
- "void",
17708
- "index.js"
17822
+ "shipment",
17823
+ "purchase.js"
17709
17824
  ]
17710
17825
  },
17711
- "webhook:disable": {
17826
+ "shipment:ready_to_ship": {
17712
17827
  "aliases": [],
17713
17828
  "args": {
17714
17829
  "id": {
@@ -17717,7 +17832,7 @@
17717
17832
  "required": true
17718
17833
  }
17719
17834
  },
17720
- "description": "Send this attribute if you want to mark this resource as disabled.",
17835
+ "description": "Send this attribute if you want to mark this shipment as ready to ship.",
17721
17836
  "flags": {
17722
17837
  "organization": {
17723
17838
  "char": "o",
@@ -17782,7 +17897,7 @@
17782
17897
  },
17783
17898
  "hasDynamicHelp": false,
17784
17899
  "hiddenAliases": [],
17785
- "id": "webhook:disable",
17900
+ "id": "shipment:ready_to_ship",
17786
17901
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17787
17902
  "pluginName": "@commercelayer/cli-plugin-triggers",
17788
17903
  "pluginType": "core",
@@ -17792,11 +17907,11 @@
17792
17907
  "relativePath": [
17793
17908
  "lib",
17794
17909
  "commands",
17795
- "webhook",
17796
- "disable.js"
17910
+ "shipment",
17911
+ "ready_to_ship.js"
17797
17912
  ]
17798
17913
  },
17799
- "webhook:enable": {
17914
+ "shipment:release_stock": {
17800
17915
  "aliases": [],
17801
17916
  "args": {
17802
17917
  "id": {
@@ -17805,7 +17920,7 @@
17805
17920
  "required": true
17806
17921
  }
17807
17922
  },
17808
- "description": "Send this attribute if you want to mark this resource as enabled.",
17923
+ "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.",
17809
17924
  "flags": {
17810
17925
  "organization": {
17811
17926
  "char": "o",
@@ -17870,7 +17985,7 @@
17870
17985
  },
17871
17986
  "hasDynamicHelp": false,
17872
17987
  "hiddenAliases": [],
17873
- "id": "webhook:enable",
17988
+ "id": "shipment:release_stock",
17874
17989
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17875
17990
  "pluginName": "@commercelayer/cli-plugin-triggers",
17876
17991
  "pluginType": "core",
@@ -17880,11 +17995,11 @@
17880
17995
  "relativePath": [
17881
17996
  "lib",
17882
17997
  "commands",
17883
- "webhook",
17884
- "enable.js"
17998
+ "shipment",
17999
+ "release_stock.js"
17885
18000
  ]
17886
18001
  },
17887
- "webhook": {
18002
+ "shipment:remove_tags": {
17888
18003
  "aliases": [],
17889
18004
  "args": {
17890
18005
  "id": {
@@ -17893,7 +18008,7 @@
17893
18008
  "required": true
17894
18009
  }
17895
18010
  },
17896
- "description": "execute an action on a resource of type webhooks",
18011
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17897
18012
  "flags": {
17898
18013
  "organization": {
17899
18014
  "char": "o",
@@ -17958,7 +18073,7 @@
17958
18073
  },
17959
18074
  "hasDynamicHelp": false,
17960
18075
  "hiddenAliases": [],
17961
- "id": "webhook",
18076
+ "id": "shipment:remove_tags",
17962
18077
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17963
18078
  "pluginName": "@commercelayer/cli-plugin-triggers",
17964
18079
  "pluginType": "core",
@@ -17968,11 +18083,11 @@
17968
18083
  "relativePath": [
17969
18084
  "lib",
17970
18085
  "commands",
17971
- "webhook",
17972
- "index.js"
18086
+ "shipment",
18087
+ "remove_tags.js"
17973
18088
  ]
17974
18089
  },
17975
- "webhook:reset_circuit": {
18090
+ "shipment:reserve_stock": {
17976
18091
  "aliases": [],
17977
18092
  "args": {
17978
18093
  "id": {
@@ -17981,7 +18096,7 @@
17981
18096
  "required": true
17982
18097
  }
17983
18098
  },
17984
- "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.",
18099
+ "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.",
17985
18100
  "flags": {
17986
18101
  "organization": {
17987
18102
  "char": "o",
@@ -18046,7 +18161,7 @@
18046
18161
  },
18047
18162
  "hasDynamicHelp": false,
18048
18163
  "hiddenAliases": [],
18049
- "id": "webhook:reset_circuit",
18164
+ "id": "shipment:reserve_stock",
18050
18165
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18051
18166
  "pluginName": "@commercelayer/cli-plugin-triggers",
18052
18167
  "pluginType": "core",
@@ -18056,11 +18171,11 @@
18056
18171
  "relativePath": [
18057
18172
  "lib",
18058
18173
  "commands",
18059
- "webhook",
18060
- "reset_circuit.js"
18174
+ "shipment",
18175
+ "reserve_stock.js"
18061
18176
  ]
18062
18177
  },
18063
- "order:add_tags": {
18178
+ "shipment:ship": {
18064
18179
  "aliases": [],
18065
18180
  "args": {
18066
18181
  "id": {
@@ -18069,7 +18184,7 @@
18069
18184
  "required": true
18070
18185
  }
18071
18186
  },
18072
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18187
+ "description": "Send this attribute if you want to mark this shipment as shipped.",
18073
18188
  "flags": {
18074
18189
  "organization": {
18075
18190
  "char": "o",
@@ -18134,7 +18249,7 @@
18134
18249
  },
18135
18250
  "hasDynamicHelp": false,
18136
18251
  "hiddenAliases": [],
18137
- "id": "order:add_tags",
18252
+ "id": "shipment:ship",
18138
18253
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18139
18254
  "pluginName": "@commercelayer/cli-plugin-triggers",
18140
18255
  "pluginType": "core",
@@ -18144,11 +18259,11 @@
18144
18259
  "relativePath": [
18145
18260
  "lib",
18146
18261
  "commands",
18147
- "order",
18148
- "add_tags.js"
18262
+ "shipment",
18263
+ "ship.js"
18149
18264
  ]
18150
18265
  },
18151
- "order:approve": {
18266
+ "shipment:upcoming": {
18152
18267
  "aliases": [],
18153
18268
  "args": {
18154
18269
  "id": {
@@ -18157,7 +18272,7 @@
18157
18272
  "required": true
18158
18273
  }
18159
18274
  },
18160
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
18275
+ "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
18161
18276
  "flags": {
18162
18277
  "organization": {
18163
18278
  "char": "o",
@@ -18222,7 +18337,7 @@
18222
18337
  },
18223
18338
  "hasDynamicHelp": false,
18224
18339
  "hiddenAliases": [],
18225
- "id": "order:approve",
18340
+ "id": "shipment:upcoming",
18226
18341
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18227
18342
  "pluginName": "@commercelayer/cli-plugin-triggers",
18228
18343
  "pluginType": "core",
@@ -18232,11 +18347,11 @@
18232
18347
  "relativePath": [
18233
18348
  "lib",
18234
18349
  "commands",
18235
- "order",
18236
- "approve.js"
18350
+ "shipment",
18351
+ "upcoming.js"
18237
18352
  ]
18238
18353
  },
18239
- "order:approve_and_capture": {
18354
+ "sku:add_tags": {
18240
18355
  "aliases": [],
18241
18356
  "args": {
18242
18357
  "id": {
@@ -18245,7 +18360,7 @@
18245
18360
  "required": true
18246
18361
  }
18247
18362
  },
18248
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
18363
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18249
18364
  "flags": {
18250
18365
  "organization": {
18251
18366
  "char": "o",
@@ -18310,7 +18425,7 @@
18310
18425
  },
18311
18426
  "hasDynamicHelp": false,
18312
18427
  "hiddenAliases": [],
18313
- "id": "order:approve_and_capture",
18428
+ "id": "sku:add_tags",
18314
18429
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18315
18430
  "pluginName": "@commercelayer/cli-plugin-triggers",
18316
18431
  "pluginType": "core",
@@ -18320,11 +18435,11 @@
18320
18435
  "relativePath": [
18321
18436
  "lib",
18322
18437
  "commands",
18323
- "order",
18324
- "approve_and_capture.js"
18438
+ "sku",
18439
+ "add_tags.js"
18325
18440
  ]
18326
18441
  },
18327
- "order:archive": {
18442
+ "sku": {
18328
18443
  "aliases": [],
18329
18444
  "args": {
18330
18445
  "id": {
@@ -18333,7 +18448,7 @@
18333
18448
  "required": true
18334
18449
  }
18335
18450
  },
18336
- "description": "Send this attribute if you want to archive the order.",
18451
+ "description": "execute an action on a resource of type skus",
18337
18452
  "flags": {
18338
18453
  "organization": {
18339
18454
  "char": "o",
@@ -18398,7 +18513,7 @@
18398
18513
  },
18399
18514
  "hasDynamicHelp": false,
18400
18515
  "hiddenAliases": [],
18401
- "id": "order:archive",
18516
+ "id": "sku",
18402
18517
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18403
18518
  "pluginName": "@commercelayer/cli-plugin-triggers",
18404
18519
  "pluginType": "core",
@@ -18408,11 +18523,11 @@
18408
18523
  "relativePath": [
18409
18524
  "lib",
18410
18525
  "commands",
18411
- "order",
18412
- "archive.js"
18526
+ "sku",
18527
+ "index.js"
18413
18528
  ]
18414
18529
  },
18415
- "order:authorization_amount_cents": {
18530
+ "sku:remove_tags": {
18416
18531
  "aliases": [],
18417
18532
  "args": {
18418
18533
  "id": {
@@ -18421,7 +18536,7 @@
18421
18536
  "required": true
18422
18537
  }
18423
18538
  },
18424
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
18539
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18425
18540
  "flags": {
18426
18541
  "organization": {
18427
18542
  "char": "o",
@@ -18486,7 +18601,7 @@
18486
18601
  },
18487
18602
  "hasDynamicHelp": false,
18488
18603
  "hiddenAliases": [],
18489
- "id": "order:authorization_amount_cents",
18604
+ "id": "sku:remove_tags",
18490
18605
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18491
18606
  "pluginName": "@commercelayer/cli-plugin-triggers",
18492
18607
  "pluginType": "core",
@@ -18496,11 +18611,11 @@
18496
18611
  "relativePath": [
18497
18612
  "lib",
18498
18613
  "commands",
18499
- "order",
18500
- "authorization_amount_cents.js"
18614
+ "sku",
18615
+ "remove_tags.js"
18501
18616
  ]
18502
18617
  },
18503
- "order:authorize": {
18618
+ "sku_option:add_tags": {
18504
18619
  "aliases": [],
18505
18620
  "args": {
18506
18621
  "id": {
@@ -18509,7 +18624,7 @@
18509
18624
  "required": true
18510
18625
  }
18511
18626
  },
18512
- "description": "Send this attribute if you want to authorize the order's payment source.",
18627
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18513
18628
  "flags": {
18514
18629
  "organization": {
18515
18630
  "char": "o",
@@ -18574,7 +18689,7 @@
18574
18689
  },
18575
18690
  "hasDynamicHelp": false,
18576
18691
  "hiddenAliases": [],
18577
- "id": "order:authorize",
18692
+ "id": "sku_option:add_tags",
18578
18693
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18579
18694
  "pluginName": "@commercelayer/cli-plugin-triggers",
18580
18695
  "pluginType": "core",
@@ -18584,11 +18699,11 @@
18584
18699
  "relativePath": [
18585
18700
  "lib",
18586
18701
  "commands",
18587
- "order",
18588
- "authorize.js"
18702
+ "sku_option",
18703
+ "add_tags.js"
18589
18704
  ]
18590
18705
  },
18591
- "order:billing_address_clone_id": {
18706
+ "sku_option": {
18592
18707
  "aliases": [],
18593
18708
  "args": {
18594
18709
  "id": {
@@ -18597,7 +18712,7 @@
18597
18712
  "required": true
18598
18713
  }
18599
18714
  },
18600
- "description": "The id of the address that you want to clone to create the order's billing address.",
18715
+ "description": "execute an action on a resource of type sku_options",
18601
18716
  "flags": {
18602
18717
  "organization": {
18603
18718
  "char": "o",
@@ -18658,20 +18773,11 @@
18658
18773
  "name": "unformatted",
18659
18774
  "allowNo": false,
18660
18775
  "type": "boolean"
18661
- },
18662
- "value": {
18663
- "char": "v",
18664
- "description": "the trigger attribute value",
18665
- "name": "value",
18666
- "required": true,
18667
- "hasDynamicHelp": false,
18668
- "multiple": false,
18669
- "type": "option"
18670
18776
  }
18671
18777
  },
18672
18778
  "hasDynamicHelp": false,
18673
18779
  "hiddenAliases": [],
18674
- "id": "order:billing_address_clone_id",
18780
+ "id": "sku_option",
18675
18781
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18676
18782
  "pluginName": "@commercelayer/cli-plugin-triggers",
18677
18783
  "pluginType": "core",
@@ -18681,11 +18787,11 @@
18681
18787
  "relativePath": [
18682
18788
  "lib",
18683
18789
  "commands",
18684
- "order",
18685
- "billing_address_clone_id.js"
18790
+ "sku_option",
18791
+ "index.js"
18686
18792
  ]
18687
18793
  },
18688
- "order:billing_address_same_as_shipping": {
18794
+ "sku_option:remove_tags": {
18689
18795
  "aliases": [],
18690
18796
  "args": {
18691
18797
  "id": {
@@ -18694,7 +18800,7 @@
18694
18800
  "required": true
18695
18801
  }
18696
18802
  },
18697
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
18803
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18698
18804
  "flags": {
18699
18805
  "organization": {
18700
18806
  "char": "o",
@@ -18759,7 +18865,7 @@
18759
18865
  },
18760
18866
  "hasDynamicHelp": false,
18761
18867
  "hiddenAliases": [],
18762
- "id": "order:billing_address_same_as_shipping",
18868
+ "id": "sku_option:remove_tags",
18763
18869
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18764
18870
  "pluginName": "@commercelayer/cli-plugin-triggers",
18765
18871
  "pluginType": "core",
@@ -18769,11 +18875,11 @@
18769
18875
  "relativePath": [
18770
18876
  "lib",
18771
18877
  "commands",
18772
- "order",
18773
- "billing_address_same_as_shipping.js"
18878
+ "sku_option",
18879
+ "remove_tags.js"
18774
18880
  ]
18775
18881
  },
18776
- "order:cancel": {
18882
+ "stock_item": {
18777
18883
  "aliases": [],
18778
18884
  "args": {
18779
18885
  "id": {
@@ -18782,7 +18888,7 @@
18782
18888
  "required": true
18783
18889
  }
18784
18890
  },
18785
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
18891
+ "description": "execute an action on a resource of type stock_items",
18786
18892
  "flags": {
18787
18893
  "organization": {
18788
18894
  "char": "o",
@@ -18847,7 +18953,7 @@
18847
18953
  },
18848
18954
  "hasDynamicHelp": false,
18849
18955
  "hiddenAliases": [],
18850
- "id": "order:cancel",
18956
+ "id": "stock_item",
18851
18957
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18852
18958
  "pluginName": "@commercelayer/cli-plugin-triggers",
18853
18959
  "pluginType": "core",
@@ -18857,11 +18963,11 @@
18857
18963
  "relativePath": [
18858
18964
  "lib",
18859
18965
  "commands",
18860
- "order",
18861
- "cancel.js"
18966
+ "stock_item",
18967
+ "index.js"
18862
18968
  ]
18863
18969
  },
18864
- "order:capture": {
18970
+ "stock_item:validate": {
18865
18971
  "aliases": [],
18866
18972
  "args": {
18867
18973
  "id": {
@@ -18870,7 +18976,7 @@
18870
18976
  "required": true
18871
18977
  }
18872
18978
  },
18873
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
18979
+ "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.",
18874
18980
  "flags": {
18875
18981
  "organization": {
18876
18982
  "char": "o",
@@ -18935,7 +19041,7 @@
18935
19041
  },
18936
19042
  "hasDynamicHelp": false,
18937
19043
  "hiddenAliases": [],
18938
- "id": "order:capture",
19044
+ "id": "stock_item:validate",
18939
19045
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18940
19046
  "pluginName": "@commercelayer/cli-plugin-triggers",
18941
19047
  "pluginType": "core",
@@ -18945,11 +19051,11 @@
18945
19051
  "relativePath": [
18946
19052
  "lib",
18947
19053
  "commands",
18948
- "order",
18949
- "capture.js"
19054
+ "stock_item",
19055
+ "validate.js"
18950
19056
  ]
18951
19057
  },
18952
- "order:commit_invoice": {
19058
+ "stock_line_item:decrement_stock": {
18953
19059
  "aliases": [],
18954
19060
  "args": {
18955
19061
  "id": {
@@ -18958,7 +19064,7 @@
18958
19064
  "required": true
18959
19065
  }
18960
19066
  },
18961
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
19067
+ "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.",
18962
19068
  "flags": {
18963
19069
  "organization": {
18964
19070
  "char": "o",
@@ -19023,7 +19129,7 @@
19023
19129
  },
19024
19130
  "hasDynamicHelp": false,
19025
19131
  "hiddenAliases": [],
19026
- "id": "order:commit_invoice",
19132
+ "id": "stock_line_item:decrement_stock",
19027
19133
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19028
19134
  "pluginName": "@commercelayer/cli-plugin-triggers",
19029
19135
  "pluginType": "core",
@@ -19033,11 +19139,11 @@
19033
19139
  "relativePath": [
19034
19140
  "lib",
19035
19141
  "commands",
19036
- "order",
19037
- "commit_invoice.js"
19142
+ "stock_line_item",
19143
+ "decrement_stock.js"
19038
19144
  ]
19039
19145
  },
19040
- "order:create_subscriptions": {
19146
+ "stock_line_item": {
19041
19147
  "aliases": [],
19042
19148
  "args": {
19043
19149
  "id": {
@@ -19046,7 +19152,7 @@
19046
19152
  "required": true
19047
19153
  }
19048
19154
  },
19049
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
19155
+ "description": "execute an action on a resource of type stock_line_items",
19050
19156
  "flags": {
19051
19157
  "organization": {
19052
19158
  "char": "o",
@@ -19111,7 +19217,7 @@
19111
19217
  },
19112
19218
  "hasDynamicHelp": false,
19113
19219
  "hiddenAliases": [],
19114
- "id": "order:create_subscriptions",
19220
+ "id": "stock_line_item",
19115
19221
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19116
19222
  "pluginName": "@commercelayer/cli-plugin-triggers",
19117
19223
  "pluginType": "core",
@@ -19121,11 +19227,11 @@
19121
19227
  "relativePath": [
19122
19228
  "lib",
19123
19229
  "commands",
19124
- "order",
19125
- "create_subscriptions.js"
19230
+ "stock_line_item",
19231
+ "index.js"
19126
19232
  ]
19127
19233
  },
19128
- "order:customer_payment_source_id": {
19234
+ "stock_line_item:release_stock": {
19129
19235
  "aliases": [],
19130
19236
  "args": {
19131
19237
  "id": {
@@ -19134,7 +19240,7 @@
19134
19240
  "required": true
19135
19241
  }
19136
19242
  },
19137
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
19243
+ "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.",
19138
19244
  "flags": {
19139
19245
  "organization": {
19140
19246
  "char": "o",
@@ -19195,20 +19301,11 @@
19195
19301
  "name": "unformatted",
19196
19302
  "allowNo": false,
19197
19303
  "type": "boolean"
19198
- },
19199
- "value": {
19200
- "char": "v",
19201
- "description": "the trigger attribute value",
19202
- "name": "value",
19203
- "required": true,
19204
- "hasDynamicHelp": false,
19205
- "multiple": false,
19206
- "type": "option"
19207
19304
  }
19208
19305
  },
19209
19306
  "hasDynamicHelp": false,
19210
19307
  "hiddenAliases": [],
19211
- "id": "order:customer_payment_source_id",
19308
+ "id": "stock_line_item:release_stock",
19212
19309
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19213
19310
  "pluginName": "@commercelayer/cli-plugin-triggers",
19214
19311
  "pluginType": "core",
@@ -19218,11 +19315,11 @@
19218
19315
  "relativePath": [
19219
19316
  "lib",
19220
19317
  "commands",
19221
- "order",
19222
- "customer_payment_source_id.js"
19318
+ "stock_line_item",
19319
+ "release_stock.js"
19223
19320
  ]
19224
19321
  },
19225
- "order:fix_payment_source": {
19322
+ "stock_line_item:reserve_stock": {
19226
19323
  "aliases": [],
19227
19324
  "args": {
19228
19325
  "id": {
@@ -19231,7 +19328,7 @@
19231
19328
  "required": true
19232
19329
  }
19233
19330
  },
19234
- "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.",
19331
+ "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.",
19235
19332
  "flags": {
19236
19333
  "organization": {
19237
19334
  "char": "o",
@@ -19296,7 +19393,7 @@
19296
19393
  },
19297
19394
  "hasDynamicHelp": false,
19298
19395
  "hiddenAliases": [],
19299
- "id": "order:fix_payment_source",
19396
+ "id": "stock_line_item:reserve_stock",
19300
19397
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19301
19398
  "pluginName": "@commercelayer/cli-plugin-triggers",
19302
19399
  "pluginType": "core",
@@ -19306,11 +19403,11 @@
19306
19403
  "relativePath": [
19307
19404
  "lib",
19308
19405
  "commands",
19309
- "order",
19310
- "fix_payment_source.js"
19406
+ "stock_line_item",
19407
+ "reserve_stock.js"
19311
19408
  ]
19312
19409
  },
19313
- "order:fulfill": {
19410
+ "stock_reservation": {
19314
19411
  "aliases": [],
19315
19412
  "args": {
19316
19413
  "id": {
@@ -19319,7 +19416,7 @@
19319
19416
  "required": true
19320
19417
  }
19321
19418
  },
19322
- "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.",
19419
+ "description": "execute an action on a resource of type stock_reservations",
19323
19420
  "flags": {
19324
19421
  "organization": {
19325
19422
  "char": "o",
@@ -19384,7 +19481,7 @@
19384
19481
  },
19385
19482
  "hasDynamicHelp": false,
19386
19483
  "hiddenAliases": [],
19387
- "id": "order:fulfill",
19484
+ "id": "stock_reservation",
19388
19485
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19389
19486
  "pluginName": "@commercelayer/cli-plugin-triggers",
19390
19487
  "pluginType": "core",
@@ -19394,11 +19491,11 @@
19394
19491
  "relativePath": [
19395
19492
  "lib",
19396
19493
  "commands",
19397
- "order",
19398
- "fulfill.js"
19494
+ "stock_reservation",
19495
+ "index.js"
19399
19496
  ]
19400
19497
  },
19401
- "order": {
19498
+ "stock_reservation:pending": {
19402
19499
  "aliases": [],
19403
19500
  "args": {
19404
19501
  "id": {
@@ -19407,7 +19504,7 @@
19407
19504
  "required": true
19408
19505
  }
19409
19506
  },
19410
- "description": "execute an action on a resource of type orders",
19507
+ "description": "Send this attribute if you want to mark this stock reservation as pending.",
19411
19508
  "flags": {
19412
19509
  "organization": {
19413
19510
  "char": "o",
@@ -19472,7 +19569,7 @@
19472
19569
  },
19473
19570
  "hasDynamicHelp": false,
19474
19571
  "hiddenAliases": [],
19475
- "id": "order",
19572
+ "id": "stock_reservation:pending",
19476
19573
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19477
19574
  "pluginName": "@commercelayer/cli-plugin-triggers",
19478
19575
  "pluginType": "core",
@@ -19482,11 +19579,11 @@
19482
19579
  "relativePath": [
19483
19580
  "lib",
19484
19581
  "commands",
19485
- "order",
19486
- "index.js"
19582
+ "stock_reservation",
19583
+ "pending.js"
19487
19584
  ]
19488
19585
  },
19489
- "order:nullify_payment_source": {
19586
+ "stripe_payment": {
19490
19587
  "aliases": [],
19491
19588
  "args": {
19492
19589
  "id": {
@@ -19495,7 +19592,7 @@
19495
19592
  "required": true
19496
19593
  }
19497
19594
  },
19498
- "description": "Send this attribute if you want to nullify the payment source for this order.",
19595
+ "description": "execute an action on a resource of type stripe_payments",
19499
19596
  "flags": {
19500
19597
  "organization": {
19501
19598
  "char": "o",
@@ -19560,7 +19657,7 @@
19560
19657
  },
19561
19658
  "hasDynamicHelp": false,
19562
19659
  "hiddenAliases": [],
19563
- "id": "order:nullify_payment_source",
19660
+ "id": "stripe_payment",
19564
19661
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19565
19662
  "pluginName": "@commercelayer/cli-plugin-triggers",
19566
19663
  "pluginType": "core",
@@ -19570,11 +19667,11 @@
19570
19667
  "relativePath": [
19571
19668
  "lib",
19572
19669
  "commands",
19573
- "order",
19574
- "nullify_payment_source.js"
19670
+ "stripe_payment",
19671
+ "index.js"
19575
19672
  ]
19576
19673
  },
19577
- "order:pending": {
19674
+ "stripe_payment:refresh": {
19578
19675
  "aliases": [],
19579
19676
  "args": {
19580
19677
  "id": {
@@ -19583,7 +19680,7 @@
19583
19680
  "required": true
19584
19681
  }
19585
19682
  },
19586
- "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
19683
+ "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
19587
19684
  "flags": {
19588
19685
  "organization": {
19589
19686
  "char": "o",
@@ -19648,7 +19745,7 @@
19648
19745
  },
19649
19746
  "hasDynamicHelp": false,
19650
19747
  "hiddenAliases": [],
19651
- "id": "order:pending",
19748
+ "id": "stripe_payment:refresh",
19652
19749
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19653
19750
  "pluginName": "@commercelayer/cli-plugin-triggers",
19654
19751
  "pluginType": "core",
@@ -19658,11 +19755,11 @@
19658
19755
  "relativePath": [
19659
19756
  "lib",
19660
19757
  "commands",
19661
- "order",
19662
- "pending.js"
19758
+ "stripe_payment",
19759
+ "refresh.js"
19663
19760
  ]
19664
19761
  },
19665
- "order:place": {
19762
+ "stripe_payment:update": {
19666
19763
  "aliases": [],
19667
19764
  "args": {
19668
19765
  "id": {
@@ -19671,7 +19768,7 @@
19671
19768
  "required": true
19672
19769
  }
19673
19770
  },
19674
- "description": "Send this attribute if you want to place the order.",
19771
+ "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
19675
19772
  "flags": {
19676
19773
  "organization": {
19677
19774
  "char": "o",
@@ -19736,7 +19833,7 @@
19736
19833
  },
19737
19834
  "hasDynamicHelp": false,
19738
19835
  "hiddenAliases": [],
19739
- "id": "order:place",
19836
+ "id": "stripe_payment:update",
19740
19837
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19741
19838
  "pluginName": "@commercelayer/cli-plugin-triggers",
19742
19839
  "pluginType": "core",
@@ -19746,11 +19843,11 @@
19746
19843
  "relativePath": [
19747
19844
  "lib",
19748
19845
  "commands",
19749
- "order",
19750
- "place.js"
19846
+ "stripe_payment",
19847
+ "update.js"
19751
19848
  ]
19752
19849
  },
19753
- "order:refresh": {
19850
+ "vertex_account": {
19754
19851
  "aliases": [],
19755
19852
  "args": {
19756
19853
  "id": {
@@ -19759,7 +19856,7 @@
19759
19856
  "required": true
19760
19857
  }
19761
19858
  },
19762
- "description": "Send this attribute if you want to manually refresh the order.",
19859
+ "description": "execute an action on a resource of type vertex_accounts",
19763
19860
  "flags": {
19764
19861
  "organization": {
19765
19862
  "char": "o",
@@ -19824,7 +19921,7 @@
19824
19921
  },
19825
19922
  "hasDynamicHelp": false,
19826
19923
  "hiddenAliases": [],
19827
- "id": "order:refresh",
19924
+ "id": "vertex_account",
19828
19925
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19829
19926
  "pluginName": "@commercelayer/cli-plugin-triggers",
19830
19927
  "pluginType": "core",
@@ -19834,11 +19931,11 @@
19834
19931
  "relativePath": [
19835
19932
  "lib",
19836
19933
  "commands",
19837
- "order",
19838
- "refresh.js"
19934
+ "vertex_account",
19935
+ "index.js"
19839
19936
  ]
19840
19937
  },
19841
- "order:refund": {
19938
+ "vertex_account:refresh_token": {
19842
19939
  "aliases": [],
19843
19940
  "args": {
19844
19941
  "id": {
@@ -19847,7 +19944,7 @@
19847
19944
  "required": true
19848
19945
  }
19849
19946
  },
19850
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
19947
+ "description": "Send this attribute if you want to manually refresh the access token.",
19851
19948
  "flags": {
19852
19949
  "organization": {
19853
19950
  "char": "o",
@@ -19912,7 +20009,7 @@
19912
20009
  },
19913
20010
  "hasDynamicHelp": false,
19914
20011
  "hiddenAliases": [],
19915
- "id": "order:refund",
20012
+ "id": "vertex_account:refresh_token",
19916
20013
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19917
20014
  "pluginName": "@commercelayer/cli-plugin-triggers",
19918
20015
  "pluginType": "core",
@@ -19922,11 +20019,11 @@
19922
20019
  "relativePath": [
19923
20020
  "lib",
19924
20021
  "commands",
19925
- "order",
19926
- "refund.js"
20022
+ "vertex_account",
20023
+ "refresh_token.js"
19927
20024
  ]
19928
20025
  },
19929
- "order:refund_invoice": {
20026
+ "void:forward": {
19930
20027
  "aliases": [],
19931
20028
  "args": {
19932
20029
  "id": {
@@ -19935,7 +20032,7 @@
19935
20032
  "required": true
19936
20033
  }
19937
20034
  },
19938
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
20035
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
19939
20036
  "flags": {
19940
20037
  "organization": {
19941
20038
  "char": "o",
@@ -20000,7 +20097,7 @@
20000
20097
  },
20001
20098
  "hasDynamicHelp": false,
20002
20099
  "hiddenAliases": [],
20003
- "id": "order:refund_invoice",
20100
+ "id": "void:forward",
20004
20101
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20005
20102
  "pluginName": "@commercelayer/cli-plugin-triggers",
20006
20103
  "pluginType": "core",
@@ -20010,11 +20107,11 @@
20010
20107
  "relativePath": [
20011
20108
  "lib",
20012
20109
  "commands",
20013
- "order",
20014
- "refund_invoice.js"
20110
+ "void",
20111
+ "forward.js"
20015
20112
  ]
20016
20113
  },
20017
- "order:remove_tags": {
20114
+ "void": {
20018
20115
  "aliases": [],
20019
20116
  "args": {
20020
20117
  "id": {
@@ -20023,7 +20120,7 @@
20023
20120
  "required": true
20024
20121
  }
20025
20122
  },
20026
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20123
+ "description": "execute an action on a resource of type voids",
20027
20124
  "flags": {
20028
20125
  "organization": {
20029
20126
  "char": "o",
@@ -20088,7 +20185,7 @@
20088
20185
  },
20089
20186
  "hasDynamicHelp": false,
20090
20187
  "hiddenAliases": [],
20091
- "id": "order:remove_tags",
20188
+ "id": "void",
20092
20189
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20093
20190
  "pluginName": "@commercelayer/cli-plugin-triggers",
20094
20191
  "pluginType": "core",
@@ -20098,11 +20195,11 @@
20098
20195
  "relativePath": [
20099
20196
  "lib",
20100
20197
  "commands",
20101
- "order",
20102
- "remove_tags.js"
20198
+ "void",
20199
+ "index.js"
20103
20200
  ]
20104
20201
  },
20105
- "order:reset_circuit": {
20202
+ "stock_transfer:cancel": {
20106
20203
  "aliases": [],
20107
20204
  "args": {
20108
20205
  "id": {
@@ -20111,7 +20208,7 @@
20111
20208
  "required": true
20112
20209
  }
20113
20210
  },
20114
- "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.",
20211
+ "description": "Send this attribute if you want to cancel this stock transfer.",
20115
20212
  "flags": {
20116
20213
  "organization": {
20117
20214
  "char": "o",
@@ -20176,7 +20273,7 @@
20176
20273
  },
20177
20274
  "hasDynamicHelp": false,
20178
20275
  "hiddenAliases": [],
20179
- "id": "order:reset_circuit",
20276
+ "id": "stock_transfer:cancel",
20180
20277
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20181
20278
  "pluginName": "@commercelayer/cli-plugin-triggers",
20182
20279
  "pluginType": "core",
@@ -20186,11 +20283,11 @@
20186
20283
  "relativePath": [
20187
20284
  "lib",
20188
20285
  "commands",
20189
- "order",
20190
- "reset_circuit.js"
20286
+ "stock_transfer",
20287
+ "cancel.js"
20191
20288
  ]
20192
20289
  },
20193
- "order:save_billing_address_to_customer_address_book": {
20290
+ "stock_transfer:complete": {
20194
20291
  "aliases": [],
20195
20292
  "args": {
20196
20293
  "id": {
@@ -20199,7 +20296,7 @@
20199
20296
  "required": true
20200
20297
  }
20201
20298
  },
20202
- "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.",
20299
+ "description": "Send this attribute if you want to complete this stock transfer.",
20203
20300
  "flags": {
20204
20301
  "organization": {
20205
20302
  "char": "o",
@@ -20264,7 +20361,7 @@
20264
20361
  },
20265
20362
  "hasDynamicHelp": false,
20266
20363
  "hiddenAliases": [],
20267
- "id": "order:save_billing_address_to_customer_address_book",
20364
+ "id": "stock_transfer:complete",
20268
20365
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20269
20366
  "pluginName": "@commercelayer/cli-plugin-triggers",
20270
20367
  "pluginType": "core",
@@ -20274,11 +20371,11 @@
20274
20371
  "relativePath": [
20275
20372
  "lib",
20276
20373
  "commands",
20277
- "order",
20278
- "save_billing_address_to_customer_address_book.js"
20374
+ "stock_transfer",
20375
+ "complete.js"
20279
20376
  ]
20280
20377
  },
20281
- "order:save_payment_source_to_customer_wallet": {
20378
+ "stock_transfer:in_transit": {
20282
20379
  "aliases": [],
20283
20380
  "args": {
20284
20381
  "id": {
@@ -20287,7 +20384,7 @@
20287
20384
  "required": true
20288
20385
  }
20289
20386
  },
20290
- "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.",
20387
+ "description": "Send this attribute if you want to mark this stock transfer as in transit.",
20291
20388
  "flags": {
20292
20389
  "organization": {
20293
20390
  "char": "o",
@@ -20352,7 +20449,7 @@
20352
20449
  },
20353
20450
  "hasDynamicHelp": false,
20354
20451
  "hiddenAliases": [],
20355
- "id": "order:save_payment_source_to_customer_wallet",
20452
+ "id": "stock_transfer:in_transit",
20356
20453
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20357
20454
  "pluginName": "@commercelayer/cli-plugin-triggers",
20358
20455
  "pluginType": "core",
@@ -20362,11 +20459,11 @@
20362
20459
  "relativePath": [
20363
20460
  "lib",
20364
20461
  "commands",
20365
- "order",
20366
- "save_payment_source_to_customer_wallet.js"
20462
+ "stock_transfer",
20463
+ "in_transit.js"
20367
20464
  ]
20368
20465
  },
20369
- "order:save_shipping_address_to_customer_address_book": {
20466
+ "stock_transfer": {
20370
20467
  "aliases": [],
20371
20468
  "args": {
20372
20469
  "id": {
@@ -20375,7 +20472,7 @@
20375
20472
  "required": true
20376
20473
  }
20377
20474
  },
20378
- "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.",
20475
+ "description": "execute an action on a resource of type stock_transfers",
20379
20476
  "flags": {
20380
20477
  "organization": {
20381
20478
  "char": "o",
@@ -20440,7 +20537,7 @@
20440
20537
  },
20441
20538
  "hasDynamicHelp": false,
20442
20539
  "hiddenAliases": [],
20443
- "id": "order:save_shipping_address_to_customer_address_book",
20540
+ "id": "stock_transfer",
20444
20541
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20445
20542
  "pluginName": "@commercelayer/cli-plugin-triggers",
20446
20543
  "pluginType": "core",
@@ -20450,11 +20547,11 @@
20450
20547
  "relativePath": [
20451
20548
  "lib",
20452
20549
  "commands",
20453
- "order",
20454
- "save_shipping_address_to_customer_address_book.js"
20550
+ "stock_transfer",
20551
+ "index.js"
20455
20552
  ]
20456
20553
  },
20457
- "order:shipping_address_clone_id": {
20554
+ "stock_transfer:on_hold": {
20458
20555
  "aliases": [],
20459
20556
  "args": {
20460
20557
  "id": {
@@ -20463,7 +20560,7 @@
20463
20560
  "required": true
20464
20561
  }
20465
20562
  },
20466
- "description": "The id of the address that you want to clone to create the order's shipping address.",
20563
+ "description": "Send this attribute if you want to put this stock transfer on hold.",
20467
20564
  "flags": {
20468
20565
  "organization": {
20469
20566
  "char": "o",
@@ -20524,20 +20621,11 @@
20524
20621
  "name": "unformatted",
20525
20622
  "allowNo": false,
20526
20623
  "type": "boolean"
20527
- },
20528
- "value": {
20529
- "char": "v",
20530
- "description": "the trigger attribute value",
20531
- "name": "value",
20532
- "required": true,
20533
- "hasDynamicHelp": false,
20534
- "multiple": false,
20535
- "type": "option"
20536
20624
  }
20537
20625
  },
20538
20626
  "hasDynamicHelp": false,
20539
20627
  "hiddenAliases": [],
20540
- "id": "order:shipping_address_clone_id",
20628
+ "id": "stock_transfer:on_hold",
20541
20629
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20542
20630
  "pluginName": "@commercelayer/cli-plugin-triggers",
20543
20631
  "pluginType": "core",
@@ -20547,11 +20635,11 @@
20547
20635
  "relativePath": [
20548
20636
  "lib",
20549
20637
  "commands",
20550
- "order",
20551
- "shipping_address_clone_id.js"
20638
+ "stock_transfer",
20639
+ "on_hold.js"
20552
20640
  ]
20553
20641
  },
20554
- "order:shipping_address_same_as_billing": {
20642
+ "stock_transfer:picking": {
20555
20643
  "aliases": [],
20556
20644
  "args": {
20557
20645
  "id": {
@@ -20560,7 +20648,7 @@
20560
20648
  "required": true
20561
20649
  }
20562
20650
  },
20563
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
20651
+ "description": "Send this attribute if you want to start picking this stock transfer.",
20564
20652
  "flags": {
20565
20653
  "organization": {
20566
20654
  "char": "o",
@@ -20625,7 +20713,7 @@
20625
20713
  },
20626
20714
  "hasDynamicHelp": false,
20627
20715
  "hiddenAliases": [],
20628
- "id": "order:shipping_address_same_as_billing",
20716
+ "id": "stock_transfer:picking",
20629
20717
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20630
20718
  "pluginName": "@commercelayer/cli-plugin-triggers",
20631
20719
  "pluginType": "core",
@@ -20635,11 +20723,11 @@
20635
20723
  "relativePath": [
20636
20724
  "lib",
20637
20725
  "commands",
20638
- "order",
20639
- "shipping_address_same_as_billing.js"
20726
+ "stock_transfer",
20727
+ "picking.js"
20640
20728
  ]
20641
20729
  },
20642
- "order:start_editing": {
20730
+ "stock_transfer:upcoming": {
20643
20731
  "aliases": [],
20644
20732
  "args": {
20645
20733
  "id": {
@@ -20648,7 +20736,7 @@
20648
20736
  "required": true
20649
20737
  }
20650
20738
  },
20651
- "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.",
20739
+ "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
20652
20740
  "flags": {
20653
20741
  "organization": {
20654
20742
  "char": "o",
@@ -20713,7 +20801,7 @@
20713
20801
  },
20714
20802
  "hasDynamicHelp": false,
20715
20803
  "hiddenAliases": [],
20716
- "id": "order:start_editing",
20804
+ "id": "stock_transfer:upcoming",
20717
20805
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20718
20806
  "pluginName": "@commercelayer/cli-plugin-triggers",
20719
20807
  "pluginType": "core",
@@ -20723,11 +20811,11 @@
20723
20811
  "relativePath": [
20724
20812
  "lib",
20725
20813
  "commands",
20726
- "order",
20727
- "start_editing.js"
20814
+ "stock_transfer",
20815
+ "upcoming.js"
20728
20816
  ]
20729
20817
  },
20730
- "order:stop_editing": {
20818
+ "webhook:disable": {
20731
20819
  "aliases": [],
20732
20820
  "args": {
20733
20821
  "id": {
@@ -20736,7 +20824,7 @@
20736
20824
  "required": true
20737
20825
  }
20738
20826
  },
20739
- "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
20827
+ "description": "Send this attribute if you want to mark this resource as disabled.",
20740
20828
  "flags": {
20741
20829
  "organization": {
20742
20830
  "char": "o",
@@ -20801,7 +20889,7 @@
20801
20889
  },
20802
20890
  "hasDynamicHelp": false,
20803
20891
  "hiddenAliases": [],
20804
- "id": "order:stop_editing",
20892
+ "id": "webhook:disable",
20805
20893
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20806
20894
  "pluginName": "@commercelayer/cli-plugin-triggers",
20807
20895
  "pluginType": "core",
@@ -20811,11 +20899,11 @@
20811
20899
  "relativePath": [
20812
20900
  "lib",
20813
20901
  "commands",
20814
- "order",
20815
- "stop_editing.js"
20902
+ "webhook",
20903
+ "disable.js"
20816
20904
  ]
20817
20905
  },
20818
- "order:unarchive": {
20906
+ "webhook:enable": {
20819
20907
  "aliases": [],
20820
20908
  "args": {
20821
20909
  "id": {
@@ -20824,7 +20912,7 @@
20824
20912
  "required": true
20825
20913
  }
20826
20914
  },
20827
- "description": "Send this attribute if you want to unarchive the order.",
20915
+ "description": "Send this attribute if you want to mark this resource as enabled.",
20828
20916
  "flags": {
20829
20917
  "organization": {
20830
20918
  "char": "o",
@@ -20889,7 +20977,7 @@
20889
20977
  },
20890
20978
  "hasDynamicHelp": false,
20891
20979
  "hiddenAliases": [],
20892
- "id": "order:unarchive",
20980
+ "id": "webhook:enable",
20893
20981
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20894
20982
  "pluginName": "@commercelayer/cli-plugin-triggers",
20895
20983
  "pluginType": "core",
@@ -20899,11 +20987,11 @@
20899
20987
  "relativePath": [
20900
20988
  "lib",
20901
20989
  "commands",
20902
- "order",
20903
- "unarchive.js"
20990
+ "webhook",
20991
+ "enable.js"
20904
20992
  ]
20905
20993
  },
20906
- "order:update_taxes": {
20994
+ "webhook": {
20907
20995
  "aliases": [],
20908
20996
  "args": {
20909
20997
  "id": {
@@ -20912,7 +21000,7 @@
20912
21000
  "required": true
20913
21001
  }
20914
21002
  },
20915
- "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).",
21003
+ "description": "execute an action on a resource of type webhooks",
20916
21004
  "flags": {
20917
21005
  "organization": {
20918
21006
  "char": "o",
@@ -20977,7 +21065,7 @@
20977
21065
  },
20978
21066
  "hasDynamicHelp": false,
20979
21067
  "hiddenAliases": [],
20980
- "id": "order:update_taxes",
21068
+ "id": "webhook",
20981
21069
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20982
21070
  "pluginName": "@commercelayer/cli-plugin-triggers",
20983
21071
  "pluginType": "core",
@@ -20987,11 +21075,11 @@
20987
21075
  "relativePath": [
20988
21076
  "lib",
20989
21077
  "commands",
20990
- "order",
20991
- "update_taxes.js"
21078
+ "webhook",
21079
+ "index.js"
20992
21080
  ]
20993
21081
  },
20994
- "order:validate": {
21082
+ "webhook:reset_circuit": {
20995
21083
  "aliases": [],
20996
21084
  "args": {
20997
21085
  "id": {
@@ -21000,7 +21088,7 @@
21000
21088
  "required": true
21001
21089
  }
21002
21090
  },
21003
- "description": "Send this attribute if you want to trigger the external validation for the order.",
21091
+ "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.",
21004
21092
  "flags": {
21005
21093
  "organization": {
21006
21094
  "char": "o",
@@ -21065,7 +21153,7 @@
21065
21153
  },
21066
21154
  "hasDynamicHelp": false,
21067
21155
  "hiddenAliases": [],
21068
- "id": "order:validate",
21156
+ "id": "webhook:reset_circuit",
21069
21157
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21070
21158
  "pluginName": "@commercelayer/cli-plugin-triggers",
21071
21159
  "pluginType": "core",
@@ -21075,10 +21163,10 @@
21075
21163
  "relativePath": [
21076
21164
  "lib",
21077
21165
  "commands",
21078
- "order",
21079
- "validate.js"
21166
+ "webhook",
21167
+ "reset_circuit.js"
21080
21168
  ]
21081
21169
  }
21082
21170
  },
21083
- "version": "4.14.2"
21171
+ "version": "4.15.0"
21084
21172
  }