@commercelayer/cli-plugin-triggers 4.14.0 → 4.14.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +726 -726
  2. package/package.json +7 -7
@@ -284,7 +284,7 @@
284
284
  "remove_tags.js"
285
285
  ]
286
286
  },
287
- "adyen_payment:authorize": {
287
+ "authorization:cancel": {
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 authorize the payment.",
296
+ "description": "Send this attribute if you want to void a succeeded authorization of a pending order (which is left unpaid).",
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": "adyen_payment:authorize",
361
+ "id": "authorization:cancel",
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
- "adyen_payment",
372
- "authorize.js"
371
+ "authorization",
372
+ "cancel.js"
373
373
  ]
374
374
  },
375
- "adyen_payment:balance": {
375
+ "authorization:capture": {
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 retrieve the balance remaining on a shopper's gift card.",
384
+ "description": "Send this attribute if you want to create a capture for this authorization.",
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": "adyen_payment:balance",
449
+ "id": "authorization:capture",
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
- "adyen_payment",
460
- "balance.js"
459
+ "authorization",
460
+ "capture.js"
461
461
  ]
462
462
  },
463
- "adyen_payment:details": {
463
+ "authorization:capture_amount_cents": {
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 if you want to send additional details the payment request.",
472
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
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": "adyen_payment:details",
537
+ "id": "authorization:capture_amount_cents",
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
- "adyen_payment",
548
- "details.js"
547
+ "authorization",
548
+ "capture_amount_cents.js"
549
549
  ]
550
550
  },
551
- "adyen_payment": {
551
+ "authorization:forward": {
552
552
  "aliases": [],
553
553
  "args": {
554
554
  "id": {
@@ -557,7 +557,7 @@
557
557
  "required": true
558
558
  }
559
559
  },
560
- "description": "execute an action on a resource of type adyen_payments",
560
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
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": "adyen_payment",
625
+ "id": "authorization:forward",
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
- "adyen_payment",
636
- "index.js"
635
+ "authorization",
636
+ "forward.js"
637
637
  ]
638
638
  },
639
- "authorization:cancel": {
639
+ "authorization": {
640
640
  "aliases": [],
641
641
  "args": {
642
642
  "id": {
@@ -645,7 +645,7 @@
645
645
  "required": true
646
646
  }
647
647
  },
648
- "description": "Send this attribute if you want to void a succeeded authorization of a pending order (which is left unpaid).",
648
+ "description": "execute an action on a resource of type authorizations",
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:cancel",
713
+ "id": "authorization",
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
- "cancel.js"
724
+ "index.js"
725
725
  ]
726
726
  },
727
- "authorization:capture": {
727
+ "authorization:void": {
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 capture for this authorization.",
736
+ "description": "Send this attribute if you want to create a void 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:capture",
801
+ "id": "authorization:void",
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
- "capture.js"
812
+ "void.js"
813
813
  ]
814
814
  },
815
- "authorization:capture_amount_cents": {
815
+ "axerve_payment": {
816
816
  "aliases": [],
817
817
  "args": {
818
818
  "id": {
@@ -821,7 +821,7 @@
821
821
  "required": true
822
822
  }
823
823
  },
824
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
824
+ "description": "execute an action on a resource of type axerve_payments",
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": "authorization:capture_amount_cents",
889
+ "id": "axerve_payment",
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
- "authorization",
900
- "capture_amount_cents.js"
899
+ "axerve_payment",
900
+ "index.js"
901
901
  ]
902
902
  },
903
- "authorization:forward": {
903
+ "axerve_payment:update": {
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 forward a stuck transaction to succeeded and update associated order states accordingly.",
912
+ "description": "Send this attribute if you want to update the payment with fresh order data.",
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": "authorization:forward",
977
+ "id": "axerve_payment:update",
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
- "authorization",
988
- "forward.js"
987
+ "axerve_payment",
988
+ "update.js"
989
989
  ]
990
990
  },
991
- "authorization": {
991
+ "bundle:add_tags": {
992
992
  "aliases": [],
993
993
  "args": {
994
994
  "id": {
@@ -997,7 +997,7 @@
997
997
  "required": true
998
998
  }
999
999
  },
1000
- "description": "execute an action on a resource of type authorizations",
1000
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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": "authorization",
1065
+ "id": "bundle:add_tags",
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
- "authorization",
1076
- "index.js"
1075
+ "bundle",
1076
+ "add_tags.js"
1077
1077
  ]
1078
1078
  },
1079
- "authorization:void": {
1079
+ "bundle:compute_compare_at_amount": {
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 create a void for this authorization.",
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.",
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": "authorization:void",
1153
+ "id": "bundle:compute_compare_at_amount",
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
- "authorization",
1164
- "void.js"
1163
+ "bundle",
1164
+ "compute_compare_at_amount.js"
1165
1165
  ]
1166
1166
  },
1167
- "axerve_payment": {
1167
+ "bundle:compute_price_amount": {
1168
1168
  "aliases": [],
1169
1169
  "args": {
1170
1170
  "id": {
@@ -1173,7 +1173,7 @@
1173
1173
  "required": true
1174
1174
  }
1175
1175
  },
1176
- "description": "execute an action on a resource of type axerve_payments",
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.",
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": "axerve_payment",
1241
+ "id": "bundle:compute_price_amount",
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
- "axerve_payment",
1252
- "index.js"
1251
+ "bundle",
1252
+ "compute_price_amount.js"
1253
1253
  ]
1254
1254
  },
1255
- "axerve_payment:update": {
1255
+ "bundle": {
1256
1256
  "aliases": [],
1257
1257
  "args": {
1258
1258
  "id": {
@@ -1261,7 +1261,7 @@
1261
1261
  "required": true
1262
1262
  }
1263
1263
  },
1264
- "description": "Send this attribute if you want to update the payment with fresh order data.",
1264
+ "description": "execute an action on a resource of type bundles",
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": "axerve_payment:update",
1329
+ "id": "bundle",
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
- "axerve_payment",
1340
- "update.js"
1339
+ "bundle",
1340
+ "index.js"
1341
1341
  ]
1342
1342
  },
1343
- "bundle:add_tags": {
1343
+ "bundle:remove_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 added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
1352
+ "description": "Comma separated list of tags to be removed. 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:add_tags",
1417
+ "id": "bundle:remove_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
- "add_tags.js"
1428
+ "remove_tags.js"
1429
1429
  ]
1430
1430
  },
1431
- "bundle:compute_compare_at_amount": {
1431
+ "adyen_payment:authorize": {
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 compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.",
1440
+ "description": "Send this attribute if you want to authorize the payment.",
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": "bundle:compute_compare_at_amount",
1505
+ "id": "adyen_payment:authorize",
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
- "bundle",
1516
- "compute_compare_at_amount.js"
1515
+ "adyen_payment",
1516
+ "authorize.js"
1517
1517
  ]
1518
1518
  },
1519
- "bundle:compute_price_amount": {
1519
+ "adyen_payment:balance": {
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 to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.",
1528
+ "description": "Send this attribute if you want retrieve the balance remaining on a shopper's gift card.",
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": "bundle:compute_price_amount",
1593
+ "id": "adyen_payment:balance",
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
- "bundle",
1604
- "compute_price_amount.js"
1603
+ "adyen_payment",
1604
+ "balance.js"
1605
1605
  ]
1606
1606
  },
1607
- "bundle": {
1607
+ "adyen_payment:details": {
1608
1608
  "aliases": [],
1609
1609
  "args": {
1610
1610
  "id": {
@@ -1613,7 +1613,7 @@
1613
1613
  "required": true
1614
1614
  }
1615
1615
  },
1616
- "description": "execute an action on a resource of type bundles",
1616
+ "description": "Send this attribute if you want to send additional details the payment request.",
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": "bundle",
1681
+ "id": "adyen_payment:details",
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
- "bundle",
1692
- "index.js"
1691
+ "adyen_payment",
1692
+ "details.js"
1693
1693
  ]
1694
1694
  },
1695
- "bundle:remove_tags": {
1695
+ "adyen_payment": {
1696
1696
  "aliases": [],
1697
1697
  "args": {
1698
1698
  "id": {
@@ -1701,7 +1701,7 @@
1701
1701
  "required": true
1702
1702
  }
1703
1703
  },
1704
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
1704
+ "description": "execute an action on a resource of type adyen_payments",
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": "bundle:remove_tags",
1769
+ "id": "adyen_payment",
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
- "bundle",
1780
- "remove_tags.js"
1779
+ "adyen_payment",
1780
+ "index.js"
1781
1781
  ]
1782
1782
  },
1783
1783
  "buy_x_pay_y_promotion:add_tags": {
@@ -10140,7 +10140,7 @@
10140
10140
  "index.js"
10141
10141
  ]
10142
10142
  },
10143
- "order:add_tags": {
10143
+ "order_subscription:activate": {
10144
10144
  "aliases": [],
10145
10145
  "args": {
10146
10146
  "id": {
@@ -10149,7 +10149,7 @@
10149
10149
  "required": true
10150
10150
  }
10151
10151
  },
10152
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10152
+ "description": "Send this attribute if you want to mark this subscription as active.",
10153
10153
  "flags": {
10154
10154
  "organization": {
10155
10155
  "char": "o",
@@ -10214,7 +10214,7 @@
10214
10214
  },
10215
10215
  "hasDynamicHelp": false,
10216
10216
  "hiddenAliases": [],
10217
- "id": "order:add_tags",
10217
+ "id": "order_subscription:activate",
10218
10218
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10219
10219
  "pluginName": "@commercelayer/cli-plugin-triggers",
10220
10220
  "pluginType": "core",
@@ -10224,11 +10224,11 @@
10224
10224
  "relativePath": [
10225
10225
  "lib",
10226
10226
  "commands",
10227
- "order",
10228
- "add_tags.js"
10227
+ "order_subscription",
10228
+ "activate.js"
10229
10229
  ]
10230
10230
  },
10231
- "order:approve": {
10231
+ "order_subscription:add_tags": {
10232
10232
  "aliases": [],
10233
10233
  "args": {
10234
10234
  "id": {
@@ -10237,7 +10237,7 @@
10237
10237
  "required": true
10238
10238
  }
10239
10239
  },
10240
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
10240
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10241
10241
  "flags": {
10242
10242
  "organization": {
10243
10243
  "char": "o",
@@ -10302,7 +10302,7 @@
10302
10302
  },
10303
10303
  "hasDynamicHelp": false,
10304
10304
  "hiddenAliases": [],
10305
- "id": "order:approve",
10305
+ "id": "order_subscription:add_tags",
10306
10306
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10307
10307
  "pluginName": "@commercelayer/cli-plugin-triggers",
10308
10308
  "pluginType": "core",
@@ -10312,11 +10312,11 @@
10312
10312
  "relativePath": [
10313
10313
  "lib",
10314
10314
  "commands",
10315
- "order",
10316
- "approve.js"
10315
+ "order_subscription",
10316
+ "add_tags.js"
10317
10317
  ]
10318
10318
  },
10319
- "order:approve_and_capture": {
10319
+ "order_subscription:cancel": {
10320
10320
  "aliases": [],
10321
10321
  "args": {
10322
10322
  "id": {
@@ -10325,7 +10325,7 @@
10325
10325
  "required": true
10326
10326
  }
10327
10327
  },
10328
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
10328
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
10329
10329
  "flags": {
10330
10330
  "organization": {
10331
10331
  "char": "o",
@@ -10390,7 +10390,7 @@
10390
10390
  },
10391
10391
  "hasDynamicHelp": false,
10392
10392
  "hiddenAliases": [],
10393
- "id": "order:approve_and_capture",
10393
+ "id": "order_subscription:cancel",
10394
10394
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10395
10395
  "pluginName": "@commercelayer/cli-plugin-triggers",
10396
10396
  "pluginType": "core",
@@ -10400,11 +10400,11 @@
10400
10400
  "relativePath": [
10401
10401
  "lib",
10402
10402
  "commands",
10403
- "order",
10404
- "approve_and_capture.js"
10403
+ "order_subscription",
10404
+ "cancel.js"
10405
10405
  ]
10406
10406
  },
10407
- "order:archive": {
10407
+ "order_subscription:convert": {
10408
10408
  "aliases": [],
10409
10409
  "args": {
10410
10410
  "id": {
@@ -10413,7 +10413,7 @@
10413
10413
  "required": true
10414
10414
  }
10415
10415
  },
10416
- "description": "Send this attribute if you want to archive the order.",
10416
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
10417
10417
  "flags": {
10418
10418
  "organization": {
10419
10419
  "char": "o",
@@ -10478,7 +10478,7 @@
10478
10478
  },
10479
10479
  "hasDynamicHelp": false,
10480
10480
  "hiddenAliases": [],
10481
- "id": "order:archive",
10481
+ "id": "order_subscription:convert",
10482
10482
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10483
10483
  "pluginName": "@commercelayer/cli-plugin-triggers",
10484
10484
  "pluginType": "core",
@@ -10488,11 +10488,11 @@
10488
10488
  "relativePath": [
10489
10489
  "lib",
10490
10490
  "commands",
10491
- "order",
10492
- "archive.js"
10491
+ "order_subscription",
10492
+ "convert.js"
10493
10493
  ]
10494
10494
  },
10495
- "order:authorization_amount_cents": {
10495
+ "order_subscription:deactivate": {
10496
10496
  "aliases": [],
10497
10497
  "args": {
10498
10498
  "id": {
@@ -10501,7 +10501,7 @@
10501
10501
  "required": true
10502
10502
  }
10503
10503
  },
10504
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
10504
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
10505
10505
  "flags": {
10506
10506
  "organization": {
10507
10507
  "char": "o",
@@ -10566,7 +10566,7 @@
10566
10566
  },
10567
10567
  "hasDynamicHelp": false,
10568
10568
  "hiddenAliases": [],
10569
- "id": "order:authorization_amount_cents",
10569
+ "id": "order_subscription:deactivate",
10570
10570
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10571
10571
  "pluginName": "@commercelayer/cli-plugin-triggers",
10572
10572
  "pluginType": "core",
@@ -10576,11 +10576,11 @@
10576
10576
  "relativePath": [
10577
10577
  "lib",
10578
10578
  "commands",
10579
- "order",
10580
- "authorization_amount_cents.js"
10579
+ "order_subscription",
10580
+ "deactivate.js"
10581
10581
  ]
10582
10582
  },
10583
- "order:authorize": {
10583
+ "order_subscription": {
10584
10584
  "aliases": [],
10585
10585
  "args": {
10586
10586
  "id": {
@@ -10589,7 +10589,7 @@
10589
10589
  "required": true
10590
10590
  }
10591
10591
  },
10592
- "description": "Send this attribute if you want to authorize the order's payment source.",
10592
+ "description": "execute an action on a resource of type order_subscriptions",
10593
10593
  "flags": {
10594
10594
  "organization": {
10595
10595
  "char": "o",
@@ -10654,7 +10654,7 @@
10654
10654
  },
10655
10655
  "hasDynamicHelp": false,
10656
10656
  "hiddenAliases": [],
10657
- "id": "order:authorize",
10657
+ "id": "order_subscription",
10658
10658
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10659
10659
  "pluginName": "@commercelayer/cli-plugin-triggers",
10660
10660
  "pluginType": "core",
@@ -10664,11 +10664,11 @@
10664
10664
  "relativePath": [
10665
10665
  "lib",
10666
10666
  "commands",
10667
- "order",
10668
- "authorize.js"
10667
+ "order_subscription",
10668
+ "index.js"
10669
10669
  ]
10670
10670
  },
10671
- "order:billing_address_clone_id": {
10671
+ "order_subscription:remove_tags": {
10672
10672
  "aliases": [],
10673
10673
  "args": {
10674
10674
  "id": {
@@ -10677,7 +10677,7 @@
10677
10677
  "required": true
10678
10678
  }
10679
10679
  },
10680
- "description": "The id of the address that you want to clone to create the order's billing address.",
10680
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
10681
10681
  "flags": {
10682
10682
  "organization": {
10683
10683
  "char": "o",
@@ -10738,20 +10738,11 @@
10738
10738
  "name": "unformatted",
10739
10739
  "allowNo": false,
10740
10740
  "type": "boolean"
10741
- },
10742
- "value": {
10743
- "char": "v",
10744
- "description": "the trigger attribute value",
10745
- "name": "value",
10746
- "required": true,
10747
- "hasDynamicHelp": false,
10748
- "multiple": false,
10749
- "type": "option"
10750
10741
  }
10751
10742
  },
10752
10743
  "hasDynamicHelp": false,
10753
10744
  "hiddenAliases": [],
10754
- "id": "order:billing_address_clone_id",
10745
+ "id": "order_subscription:remove_tags",
10755
10746
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10756
10747
  "pluginName": "@commercelayer/cli-plugin-triggers",
10757
10748
  "pluginType": "core",
@@ -10761,11 +10752,11 @@
10761
10752
  "relativePath": [
10762
10753
  "lib",
10763
10754
  "commands",
10764
- "order",
10765
- "billing_address_clone_id.js"
10755
+ "order_subscription",
10756
+ "remove_tags.js"
10766
10757
  ]
10767
10758
  },
10768
- "order:billing_address_same_as_shipping": {
10759
+ "payment_method:disable": {
10769
10760
  "aliases": [],
10770
10761
  "args": {
10771
10762
  "id": {
@@ -10774,7 +10765,7 @@
10774
10765
  "required": true
10775
10766
  }
10776
10767
  },
10777
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
10768
+ "description": "Send this attribute if you want to mark this resource as disabled.",
10778
10769
  "flags": {
10779
10770
  "organization": {
10780
10771
  "char": "o",
@@ -10839,7 +10830,7 @@
10839
10830
  },
10840
10831
  "hasDynamicHelp": false,
10841
10832
  "hiddenAliases": [],
10842
- "id": "order:billing_address_same_as_shipping",
10833
+ "id": "payment_method:disable",
10843
10834
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10844
10835
  "pluginName": "@commercelayer/cli-plugin-triggers",
10845
10836
  "pluginType": "core",
@@ -10849,11 +10840,11 @@
10849
10840
  "relativePath": [
10850
10841
  "lib",
10851
10842
  "commands",
10852
- "order",
10853
- "billing_address_same_as_shipping.js"
10843
+ "payment_method",
10844
+ "disable.js"
10854
10845
  ]
10855
10846
  },
10856
- "order:cancel": {
10847
+ "payment_method:enable": {
10857
10848
  "aliases": [],
10858
10849
  "args": {
10859
10850
  "id": {
@@ -10862,7 +10853,7 @@
10862
10853
  "required": true
10863
10854
  }
10864
10855
  },
10865
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
10856
+ "description": "Send this attribute if you want to mark this resource as enabled.",
10866
10857
  "flags": {
10867
10858
  "organization": {
10868
10859
  "char": "o",
@@ -10927,7 +10918,7 @@
10927
10918
  },
10928
10919
  "hasDynamicHelp": false,
10929
10920
  "hiddenAliases": [],
10930
- "id": "order:cancel",
10921
+ "id": "payment_method:enable",
10931
10922
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
10932
10923
  "pluginName": "@commercelayer/cli-plugin-triggers",
10933
10924
  "pluginType": "core",
@@ -10937,11 +10928,11 @@
10937
10928
  "relativePath": [
10938
10929
  "lib",
10939
10930
  "commands",
10940
- "order",
10941
- "cancel.js"
10931
+ "payment_method",
10932
+ "enable.js"
10942
10933
  ]
10943
10934
  },
10944
- "order:capture": {
10935
+ "payment_method": {
10945
10936
  "aliases": [],
10946
10937
  "args": {
10947
10938
  "id": {
@@ -10950,7 +10941,7 @@
10950
10941
  "required": true
10951
10942
  }
10952
10943
  },
10953
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
10944
+ "description": "execute an action on a resource of type payment_methods",
10954
10945
  "flags": {
10955
10946
  "organization": {
10956
10947
  "char": "o",
@@ -11015,7 +11006,7 @@
11015
11006
  },
11016
11007
  "hasDynamicHelp": false,
11017
11008
  "hiddenAliases": [],
11018
- "id": "order:capture",
11009
+ "id": "payment_method",
11019
11010
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11020
11011
  "pluginName": "@commercelayer/cli-plugin-triggers",
11021
11012
  "pluginType": "core",
@@ -11025,11 +11016,11 @@
11025
11016
  "relativePath": [
11026
11017
  "lib",
11027
11018
  "commands",
11028
- "order",
11029
- "capture.js"
11019
+ "payment_method",
11020
+ "index.js"
11030
11021
  ]
11031
11022
  },
11032
- "order:commit_invoice": {
11023
+ "percentage_discount_promotion:add_tags": {
11033
11024
  "aliases": [],
11034
11025
  "args": {
11035
11026
  "id": {
@@ -11038,7 +11029,7 @@
11038
11029
  "required": true
11039
11030
  }
11040
11031
  },
11041
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
11032
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
11042
11033
  "flags": {
11043
11034
  "organization": {
11044
11035
  "char": "o",
@@ -11103,7 +11094,7 @@
11103
11094
  },
11104
11095
  "hasDynamicHelp": false,
11105
11096
  "hiddenAliases": [],
11106
- "id": "order:commit_invoice",
11097
+ "id": "percentage_discount_promotion:add_tags",
11107
11098
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11108
11099
  "pluginName": "@commercelayer/cli-plugin-triggers",
11109
11100
  "pluginType": "core",
@@ -11113,11 +11104,11 @@
11113
11104
  "relativePath": [
11114
11105
  "lib",
11115
11106
  "commands",
11116
- "order",
11117
- "commit_invoice.js"
11107
+ "percentage_discount_promotion",
11108
+ "add_tags.js"
11118
11109
  ]
11119
11110
  },
11120
- "order:create_subscriptions": {
11111
+ "percentage_discount_promotion:disable": {
11121
11112
  "aliases": [],
11122
11113
  "args": {
11123
11114
  "id": {
@@ -11126,7 +11117,7 @@
11126
11117
  "required": true
11127
11118
  }
11128
11119
  },
11129
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
11120
+ "description": "Send this attribute if you want to mark this resource as disabled.",
11130
11121
  "flags": {
11131
11122
  "organization": {
11132
11123
  "char": "o",
@@ -11191,7 +11182,7 @@
11191
11182
  },
11192
11183
  "hasDynamicHelp": false,
11193
11184
  "hiddenAliases": [],
11194
- "id": "order:create_subscriptions",
11185
+ "id": "percentage_discount_promotion:disable",
11195
11186
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11196
11187
  "pluginName": "@commercelayer/cli-plugin-triggers",
11197
11188
  "pluginType": "core",
@@ -11201,11 +11192,11 @@
11201
11192
  "relativePath": [
11202
11193
  "lib",
11203
11194
  "commands",
11204
- "order",
11205
- "create_subscriptions.js"
11195
+ "percentage_discount_promotion",
11196
+ "disable.js"
11206
11197
  ]
11207
11198
  },
11208
- "order:customer_payment_source_id": {
11199
+ "percentage_discount_promotion:enable": {
11209
11200
  "aliases": [],
11210
11201
  "args": {
11211
11202
  "id": {
@@ -11214,7 +11205,7 @@
11214
11205
  "required": true
11215
11206
  }
11216
11207
  },
11217
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
11208
+ "description": "Send this attribute if you want to mark this resource as enabled.",
11218
11209
  "flags": {
11219
11210
  "organization": {
11220
11211
  "char": "o",
@@ -11275,20 +11266,11 @@
11275
11266
  "name": "unformatted",
11276
11267
  "allowNo": false,
11277
11268
  "type": "boolean"
11278
- },
11279
- "value": {
11280
- "char": "v",
11281
- "description": "the trigger attribute value",
11282
- "name": "value",
11283
- "required": true,
11284
- "hasDynamicHelp": false,
11285
- "multiple": false,
11286
- "type": "option"
11287
11269
  }
11288
11270
  },
11289
11271
  "hasDynamicHelp": false,
11290
11272
  "hiddenAliases": [],
11291
- "id": "order:customer_payment_source_id",
11273
+ "id": "percentage_discount_promotion:enable",
11292
11274
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11293
11275
  "pluginName": "@commercelayer/cli-plugin-triggers",
11294
11276
  "pluginType": "core",
@@ -11298,11 +11280,11 @@
11298
11280
  "relativePath": [
11299
11281
  "lib",
11300
11282
  "commands",
11301
- "order",
11302
- "customer_payment_source_id.js"
11283
+ "percentage_discount_promotion",
11284
+ "enable.js"
11303
11285
  ]
11304
11286
  },
11305
- "order:fix_payment_source": {
11287
+ "percentage_discount_promotion": {
11306
11288
  "aliases": [],
11307
11289
  "args": {
11308
11290
  "id": {
@@ -11311,7 +11293,7 @@
11311
11293
  "required": true
11312
11294
  }
11313
11295
  },
11314
- "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.",
11296
+ "description": "execute an action on a resource of type percentage_discount_promotions",
11315
11297
  "flags": {
11316
11298
  "organization": {
11317
11299
  "char": "o",
@@ -11376,7 +11358,7 @@
11376
11358
  },
11377
11359
  "hasDynamicHelp": false,
11378
11360
  "hiddenAliases": [],
11379
- "id": "order:fix_payment_source",
11361
+ "id": "percentage_discount_promotion",
11380
11362
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11381
11363
  "pluginName": "@commercelayer/cli-plugin-triggers",
11382
11364
  "pluginType": "core",
@@ -11386,11 +11368,11 @@
11386
11368
  "relativePath": [
11387
11369
  "lib",
11388
11370
  "commands",
11389
- "order",
11390
- "fix_payment_source.js"
11371
+ "percentage_discount_promotion",
11372
+ "index.js"
11391
11373
  ]
11392
11374
  },
11393
- "order:fulfill": {
11375
+ "percentage_discount_promotion:remove_tags": {
11394
11376
  "aliases": [],
11395
11377
  "args": {
11396
11378
  "id": {
@@ -11399,7 +11381,7 @@
11399
11381
  "required": true
11400
11382
  }
11401
11383
  },
11402
- "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.",
11384
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
11403
11385
  "flags": {
11404
11386
  "organization": {
11405
11387
  "char": "o",
@@ -11464,7 +11446,7 @@
11464
11446
  },
11465
11447
  "hasDynamicHelp": false,
11466
11448
  "hiddenAliases": [],
11467
- "id": "order:fulfill",
11449
+ "id": "percentage_discount_promotion:remove_tags",
11468
11450
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11469
11451
  "pluginName": "@commercelayer/cli-plugin-triggers",
11470
11452
  "pluginType": "core",
@@ -11474,11 +11456,11 @@
11474
11456
  "relativePath": [
11475
11457
  "lib",
11476
11458
  "commands",
11477
- "order",
11478
- "fulfill.js"
11459
+ "percentage_discount_promotion",
11460
+ "remove_tags.js"
11479
11461
  ]
11480
11462
  },
11481
- "order": {
11463
+ "price_list_scheduler:disable": {
11482
11464
  "aliases": [],
11483
11465
  "args": {
11484
11466
  "id": {
@@ -11487,7 +11469,7 @@
11487
11469
  "required": true
11488
11470
  }
11489
11471
  },
11490
- "description": "execute an action on a resource of type orders",
11472
+ "description": "Send this attribute if you want to mark this resource as disabled.",
11491
11473
  "flags": {
11492
11474
  "organization": {
11493
11475
  "char": "o",
@@ -11552,7 +11534,7 @@
11552
11534
  },
11553
11535
  "hasDynamicHelp": false,
11554
11536
  "hiddenAliases": [],
11555
- "id": "order",
11537
+ "id": "price_list_scheduler:disable",
11556
11538
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11557
11539
  "pluginName": "@commercelayer/cli-plugin-triggers",
11558
11540
  "pluginType": "core",
@@ -11562,11 +11544,11 @@
11562
11544
  "relativePath": [
11563
11545
  "lib",
11564
11546
  "commands",
11565
- "order",
11566
- "index.js"
11547
+ "price_list_scheduler",
11548
+ "disable.js"
11567
11549
  ]
11568
11550
  },
11569
- "order:nullify_payment_source": {
11551
+ "price_list_scheduler:enable": {
11570
11552
  "aliases": [],
11571
11553
  "args": {
11572
11554
  "id": {
@@ -11575,7 +11557,7 @@
11575
11557
  "required": true
11576
11558
  }
11577
11559
  },
11578
- "description": "Send this attribute if you want to nullify the payment source for this order.",
11560
+ "description": "Send this attribute if you want to mark this resource as enabled.",
11579
11561
  "flags": {
11580
11562
  "organization": {
11581
11563
  "char": "o",
@@ -11640,7 +11622,7 @@
11640
11622
  },
11641
11623
  "hasDynamicHelp": false,
11642
11624
  "hiddenAliases": [],
11643
- "id": "order:nullify_payment_source",
11625
+ "id": "price_list_scheduler:enable",
11644
11626
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11645
11627
  "pluginName": "@commercelayer/cli-plugin-triggers",
11646
11628
  "pluginType": "core",
@@ -11650,11 +11632,11 @@
11650
11632
  "relativePath": [
11651
11633
  "lib",
11652
11634
  "commands",
11653
- "order",
11654
- "nullify_payment_source.js"
11635
+ "price_list_scheduler",
11636
+ "enable.js"
11655
11637
  ]
11656
11638
  },
11657
- "order:pending": {
11639
+ "price_list_scheduler": {
11658
11640
  "aliases": [],
11659
11641
  "args": {
11660
11642
  "id": {
@@ -11663,7 +11645,7 @@
11663
11645
  "required": true
11664
11646
  }
11665
11647
  },
11666
- "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
11648
+ "description": "execute an action on a resource of type price_list_schedulers",
11667
11649
  "flags": {
11668
11650
  "organization": {
11669
11651
  "char": "o",
@@ -11728,7 +11710,7 @@
11728
11710
  },
11729
11711
  "hasDynamicHelp": false,
11730
11712
  "hiddenAliases": [],
11731
- "id": "order:pending",
11713
+ "id": "price_list_scheduler",
11732
11714
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11733
11715
  "pluginName": "@commercelayer/cli-plugin-triggers",
11734
11716
  "pluginType": "core",
@@ -11738,11 +11720,11 @@
11738
11720
  "relativePath": [
11739
11721
  "lib",
11740
11722
  "commands",
11741
- "order",
11742
- "pending.js"
11723
+ "price_list_scheduler",
11724
+ "index.js"
11743
11725
  ]
11744
11726
  },
11745
- "order:place": {
11727
+ "refund:forward": {
11746
11728
  "aliases": [],
11747
11729
  "args": {
11748
11730
  "id": {
@@ -11751,7 +11733,7 @@
11751
11733
  "required": true
11752
11734
  }
11753
11735
  },
11754
- "description": "Send this attribute if you want to place the order.",
11736
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
11755
11737
  "flags": {
11756
11738
  "organization": {
11757
11739
  "char": "o",
@@ -11816,7 +11798,7 @@
11816
11798
  },
11817
11799
  "hasDynamicHelp": false,
11818
11800
  "hiddenAliases": [],
11819
- "id": "order:place",
11801
+ "id": "refund:forward",
11820
11802
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11821
11803
  "pluginName": "@commercelayer/cli-plugin-triggers",
11822
11804
  "pluginType": "core",
@@ -11826,11 +11808,11 @@
11826
11808
  "relativePath": [
11827
11809
  "lib",
11828
11810
  "commands",
11829
- "order",
11830
- "place.js"
11811
+ "refund",
11812
+ "forward.js"
11831
11813
  ]
11832
11814
  },
11833
- "order:refresh": {
11815
+ "refund": {
11834
11816
  "aliases": [],
11835
11817
  "args": {
11836
11818
  "id": {
@@ -11839,7 +11821,7 @@
11839
11821
  "required": true
11840
11822
  }
11841
11823
  },
11842
- "description": "Send this attribute if you want to manually refresh the order.",
11824
+ "description": "execute an action on a resource of type refunds",
11843
11825
  "flags": {
11844
11826
  "organization": {
11845
11827
  "char": "o",
@@ -11904,7 +11886,7 @@
11904
11886
  },
11905
11887
  "hasDynamicHelp": false,
11906
11888
  "hiddenAliases": [],
11907
- "id": "order:refresh",
11889
+ "id": "refund",
11908
11890
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11909
11891
  "pluginName": "@commercelayer/cli-plugin-triggers",
11910
11892
  "pluginType": "core",
@@ -11914,11 +11896,11 @@
11914
11896
  "relativePath": [
11915
11897
  "lib",
11916
11898
  "commands",
11917
- "order",
11918
- "refresh.js"
11899
+ "refund",
11900
+ "index.js"
11919
11901
  ]
11920
11902
  },
11921
- "order:refund": {
11903
+ "return:add_tags": {
11922
11904
  "aliases": [],
11923
11905
  "args": {
11924
11906
  "id": {
@@ -11927,7 +11909,7 @@
11927
11909
  "required": true
11928
11910
  }
11929
11911
  },
11930
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
11912
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
11931
11913
  "flags": {
11932
11914
  "organization": {
11933
11915
  "char": "o",
@@ -11992,7 +11974,7 @@
11992
11974
  },
11993
11975
  "hasDynamicHelp": false,
11994
11976
  "hiddenAliases": [],
11995
- "id": "order:refund",
11977
+ "id": "return:add_tags",
11996
11978
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
11997
11979
  "pluginName": "@commercelayer/cli-plugin-triggers",
11998
11980
  "pluginType": "core",
@@ -12002,11 +11984,11 @@
12002
11984
  "relativePath": [
12003
11985
  "lib",
12004
11986
  "commands",
12005
- "order",
12006
- "refund.js"
11987
+ "return",
11988
+ "add_tags.js"
12007
11989
  ]
12008
11990
  },
12009
- "order:refund_invoice": {
11991
+ "return:approve": {
12010
11992
  "aliases": [],
12011
11993
  "args": {
12012
11994
  "id": {
@@ -12015,7 +11997,7 @@
12015
11997
  "required": true
12016
11998
  }
12017
11999
  },
12018
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12000
+ "description": "Send this attribute if you want to mark this return as approved.",
12019
12001
  "flags": {
12020
12002
  "organization": {
12021
12003
  "char": "o",
@@ -12080,7 +12062,7 @@
12080
12062
  },
12081
12063
  "hasDynamicHelp": false,
12082
12064
  "hiddenAliases": [],
12083
- "id": "order:refund_invoice",
12065
+ "id": "return:approve",
12084
12066
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12085
12067
  "pluginName": "@commercelayer/cli-plugin-triggers",
12086
12068
  "pluginType": "core",
@@ -12090,11 +12072,11 @@
12090
12072
  "relativePath": [
12091
12073
  "lib",
12092
12074
  "commands",
12093
- "order",
12094
- "refund_invoice.js"
12075
+ "return",
12076
+ "approve.js"
12095
12077
  ]
12096
12078
  },
12097
- "order:remove_tags": {
12079
+ "return:archive": {
12098
12080
  "aliases": [],
12099
12081
  "args": {
12100
12082
  "id": {
@@ -12103,7 +12085,7 @@
12103
12085
  "required": true
12104
12086
  }
12105
12087
  },
12106
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12088
+ "description": "Send this attribute if you want to archive the return.",
12107
12089
  "flags": {
12108
12090
  "organization": {
12109
12091
  "char": "o",
@@ -12168,7 +12150,7 @@
12168
12150
  },
12169
12151
  "hasDynamicHelp": false,
12170
12152
  "hiddenAliases": [],
12171
- "id": "order:remove_tags",
12153
+ "id": "return:archive",
12172
12154
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12173
12155
  "pluginName": "@commercelayer/cli-plugin-triggers",
12174
12156
  "pluginType": "core",
@@ -12178,11 +12160,11 @@
12178
12160
  "relativePath": [
12179
12161
  "lib",
12180
12162
  "commands",
12181
- "order",
12182
- "remove_tags.js"
12163
+ "return",
12164
+ "archive.js"
12183
12165
  ]
12184
12166
  },
12185
- "order:reset_circuit": {
12167
+ "return:cancel": {
12186
12168
  "aliases": [],
12187
12169
  "args": {
12188
12170
  "id": {
@@ -12191,7 +12173,7 @@
12191
12173
  "required": true
12192
12174
  }
12193
12175
  },
12194
- "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.",
12176
+ "description": "Send this attribute if you want to mark this return as cancelled.",
12195
12177
  "flags": {
12196
12178
  "organization": {
12197
12179
  "char": "o",
@@ -12256,7 +12238,7 @@
12256
12238
  },
12257
12239
  "hasDynamicHelp": false,
12258
12240
  "hiddenAliases": [],
12259
- "id": "order:reset_circuit",
12241
+ "id": "return:cancel",
12260
12242
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12261
12243
  "pluginName": "@commercelayer/cli-plugin-triggers",
12262
12244
  "pluginType": "core",
@@ -12266,11 +12248,11 @@
12266
12248
  "relativePath": [
12267
12249
  "lib",
12268
12250
  "commands",
12269
- "order",
12270
- "reset_circuit.js"
12251
+ "return",
12252
+ "cancel.js"
12271
12253
  ]
12272
12254
  },
12273
- "order:save_billing_address_to_customer_address_book": {
12255
+ "return": {
12274
12256
  "aliases": [],
12275
12257
  "args": {
12276
12258
  "id": {
@@ -12279,7 +12261,7 @@
12279
12261
  "required": true
12280
12262
  }
12281
12263
  },
12282
- "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.",
12264
+ "description": "execute an action on a resource of type returns",
12283
12265
  "flags": {
12284
12266
  "organization": {
12285
12267
  "char": "o",
@@ -12344,7 +12326,7 @@
12344
12326
  },
12345
12327
  "hasDynamicHelp": false,
12346
12328
  "hiddenAliases": [],
12347
- "id": "order:save_billing_address_to_customer_address_book",
12329
+ "id": "return",
12348
12330
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12349
12331
  "pluginName": "@commercelayer/cli-plugin-triggers",
12350
12332
  "pluginType": "core",
@@ -12354,11 +12336,11 @@
12354
12336
  "relativePath": [
12355
12337
  "lib",
12356
12338
  "commands",
12357
- "order",
12358
- "save_billing_address_to_customer_address_book.js"
12339
+ "return",
12340
+ "index.js"
12359
12341
  ]
12360
12342
  },
12361
- "order:save_payment_source_to_customer_wallet": {
12343
+ "return:receive": {
12362
12344
  "aliases": [],
12363
12345
  "args": {
12364
12346
  "id": {
@@ -12367,7 +12349,7 @@
12367
12349
  "required": true
12368
12350
  }
12369
12351
  },
12370
- "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.",
12352
+ "description": "Send this attribute if you want to mark this return as received.",
12371
12353
  "flags": {
12372
12354
  "organization": {
12373
12355
  "char": "o",
@@ -12432,7 +12414,7 @@
12432
12414
  },
12433
12415
  "hasDynamicHelp": false,
12434
12416
  "hiddenAliases": [],
12435
- "id": "order:save_payment_source_to_customer_wallet",
12417
+ "id": "return:receive",
12436
12418
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12437
12419
  "pluginName": "@commercelayer/cli-plugin-triggers",
12438
12420
  "pluginType": "core",
@@ -12442,11 +12424,11 @@
12442
12424
  "relativePath": [
12443
12425
  "lib",
12444
12426
  "commands",
12445
- "order",
12446
- "save_payment_source_to_customer_wallet.js"
12427
+ "return",
12428
+ "receive.js"
12447
12429
  ]
12448
12430
  },
12449
- "order:save_shipping_address_to_customer_address_book": {
12431
+ "return:refund": {
12450
12432
  "aliases": [],
12451
12433
  "args": {
12452
12434
  "id": {
@@ -12455,7 +12437,7 @@
12455
12437
  "required": true
12456
12438
  }
12457
12439
  },
12458
- "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.",
12440
+ "description": "Send this attribute if you want to create a refund for this return.",
12459
12441
  "flags": {
12460
12442
  "organization": {
12461
12443
  "char": "o",
@@ -12520,7 +12502,7 @@
12520
12502
  },
12521
12503
  "hasDynamicHelp": false,
12522
12504
  "hiddenAliases": [],
12523
- "id": "order:save_shipping_address_to_customer_address_book",
12505
+ "id": "return:refund",
12524
12506
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12525
12507
  "pluginName": "@commercelayer/cli-plugin-triggers",
12526
12508
  "pluginType": "core",
@@ -12530,11 +12512,11 @@
12530
12512
  "relativePath": [
12531
12513
  "lib",
12532
12514
  "commands",
12533
- "order",
12534
- "save_shipping_address_to_customer_address_book.js"
12515
+ "return",
12516
+ "refund.js"
12535
12517
  ]
12536
12518
  },
12537
- "order:shipping_address_clone_id": {
12519
+ "return:refund_amount_cents": {
12538
12520
  "aliases": [],
12539
12521
  "args": {
12540
12522
  "id": {
@@ -12543,7 +12525,7 @@
12543
12525
  "required": true
12544
12526
  }
12545
12527
  },
12546
- "description": "The id of the address that you want to clone to create the order's shipping address.",
12528
+ "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
12547
12529
  "flags": {
12548
12530
  "organization": {
12549
12531
  "char": "o",
@@ -12604,20 +12586,11 @@
12604
12586
  "name": "unformatted",
12605
12587
  "allowNo": false,
12606
12588
  "type": "boolean"
12607
- },
12608
- "value": {
12609
- "char": "v",
12610
- "description": "the trigger attribute value",
12611
- "name": "value",
12612
- "required": true,
12613
- "hasDynamicHelp": false,
12614
- "multiple": false,
12615
- "type": "option"
12616
12589
  }
12617
12590
  },
12618
12591
  "hasDynamicHelp": false,
12619
12592
  "hiddenAliases": [],
12620
- "id": "order:shipping_address_clone_id",
12593
+ "id": "return:refund_amount_cents",
12621
12594
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12622
12595
  "pluginName": "@commercelayer/cli-plugin-triggers",
12623
12596
  "pluginType": "core",
@@ -12627,11 +12600,11 @@
12627
12600
  "relativePath": [
12628
12601
  "lib",
12629
12602
  "commands",
12630
- "order",
12631
- "shipping_address_clone_id.js"
12603
+ "return",
12604
+ "refund_amount_cents.js"
12632
12605
  ]
12633
12606
  },
12634
- "order:shipping_address_same_as_billing": {
12607
+ "return:reject": {
12635
12608
  "aliases": [],
12636
12609
  "args": {
12637
12610
  "id": {
@@ -12640,7 +12613,7 @@
12640
12613
  "required": true
12641
12614
  }
12642
12615
  },
12643
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
12616
+ "description": "Send this attribute if you want to mark this return as rejected.",
12644
12617
  "flags": {
12645
12618
  "organization": {
12646
12619
  "char": "o",
@@ -12705,7 +12678,7 @@
12705
12678
  },
12706
12679
  "hasDynamicHelp": false,
12707
12680
  "hiddenAliases": [],
12708
- "id": "order:shipping_address_same_as_billing",
12681
+ "id": "return:reject",
12709
12682
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12710
12683
  "pluginName": "@commercelayer/cli-plugin-triggers",
12711
12684
  "pluginType": "core",
@@ -12715,11 +12688,11 @@
12715
12688
  "relativePath": [
12716
12689
  "lib",
12717
12690
  "commands",
12718
- "order",
12719
- "shipping_address_same_as_billing.js"
12691
+ "return",
12692
+ "reject.js"
12720
12693
  ]
12721
12694
  },
12722
- "order:start_editing": {
12695
+ "return:remove_tags": {
12723
12696
  "aliases": [],
12724
12697
  "args": {
12725
12698
  "id": {
@@ -12728,7 +12701,7 @@
12728
12701
  "required": true
12729
12702
  }
12730
12703
  },
12731
- "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.",
12704
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12732
12705
  "flags": {
12733
12706
  "organization": {
12734
12707
  "char": "o",
@@ -12793,7 +12766,7 @@
12793
12766
  },
12794
12767
  "hasDynamicHelp": false,
12795
12768
  "hiddenAliases": [],
12796
- "id": "order:start_editing",
12769
+ "id": "return:remove_tags",
12797
12770
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12798
12771
  "pluginName": "@commercelayer/cli-plugin-triggers",
12799
12772
  "pluginType": "core",
@@ -12803,11 +12776,11 @@
12803
12776
  "relativePath": [
12804
12777
  "lib",
12805
12778
  "commands",
12806
- "order",
12807
- "start_editing.js"
12779
+ "return",
12780
+ "remove_tags.js"
12808
12781
  ]
12809
12782
  },
12810
- "order:stop_editing": {
12783
+ "return:request": {
12811
12784
  "aliases": [],
12812
12785
  "args": {
12813
12786
  "id": {
@@ -12816,7 +12789,7 @@
12816
12789
  "required": true
12817
12790
  }
12818
12791
  },
12819
- "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
12792
+ "description": "Send this attribute if you want to activate this return.",
12820
12793
  "flags": {
12821
12794
  "organization": {
12822
12795
  "char": "o",
@@ -12881,7 +12854,7 @@
12881
12854
  },
12882
12855
  "hasDynamicHelp": false,
12883
12856
  "hiddenAliases": [],
12884
- "id": "order:stop_editing",
12857
+ "id": "return:request",
12885
12858
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12886
12859
  "pluginName": "@commercelayer/cli-plugin-triggers",
12887
12860
  "pluginType": "core",
@@ -12891,11 +12864,11 @@
12891
12864
  "relativePath": [
12892
12865
  "lib",
12893
12866
  "commands",
12894
- "order",
12895
- "stop_editing.js"
12867
+ "return",
12868
+ "request.js"
12896
12869
  ]
12897
12870
  },
12898
- "order:unarchive": {
12871
+ "return:restock": {
12899
12872
  "aliases": [],
12900
12873
  "args": {
12901
12874
  "id": {
@@ -12904,7 +12877,7 @@
12904
12877
  "required": true
12905
12878
  }
12906
12879
  },
12907
- "description": "Send this attribute if you want to unarchive the order.",
12880
+ "description": "Send this attribute if you want to restock all of the return line items.",
12908
12881
  "flags": {
12909
12882
  "organization": {
12910
12883
  "char": "o",
@@ -12969,7 +12942,7 @@
12969
12942
  },
12970
12943
  "hasDynamicHelp": false,
12971
12944
  "hiddenAliases": [],
12972
- "id": "order:unarchive",
12945
+ "id": "return:restock",
12973
12946
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12974
12947
  "pluginName": "@commercelayer/cli-plugin-triggers",
12975
12948
  "pluginType": "core",
@@ -12979,11 +12952,11 @@
12979
12952
  "relativePath": [
12980
12953
  "lib",
12981
12954
  "commands",
12982
- "order",
12983
- "unarchive.js"
12955
+ "return",
12956
+ "restock.js"
12984
12957
  ]
12985
12958
  },
12986
- "order:update_taxes": {
12959
+ "return:ship": {
12987
12960
  "aliases": [],
12988
12961
  "args": {
12989
12962
  "id": {
@@ -12992,7 +12965,7 @@
12992
12965
  "required": true
12993
12966
  }
12994
12967
  },
12995
- "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).",
12968
+ "description": "Send this attribute if you want to mark this return as shipped.",
12996
12969
  "flags": {
12997
12970
  "organization": {
12998
12971
  "char": "o",
@@ -13057,7 +13030,7 @@
13057
13030
  },
13058
13031
  "hasDynamicHelp": false,
13059
13032
  "hiddenAliases": [],
13060
- "id": "order:update_taxes",
13033
+ "id": "return:ship",
13061
13034
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13062
13035
  "pluginName": "@commercelayer/cli-plugin-triggers",
13063
13036
  "pluginType": "core",
@@ -13067,11 +13040,11 @@
13067
13040
  "relativePath": [
13068
13041
  "lib",
13069
13042
  "commands",
13070
- "order",
13071
- "update_taxes.js"
13043
+ "return",
13044
+ "ship.js"
13072
13045
  ]
13073
13046
  },
13074
- "order:validate": {
13047
+ "return:unarchive": {
13075
13048
  "aliases": [],
13076
13049
  "args": {
13077
13050
  "id": {
@@ -13080,7 +13053,7 @@
13080
13053
  "required": true
13081
13054
  }
13082
13055
  },
13083
- "description": "Send this attribute if you want to trigger the external validation for the order.",
13056
+ "description": "Send this attribute if you want to unarchive the return.",
13084
13057
  "flags": {
13085
13058
  "organization": {
13086
13059
  "char": "o",
@@ -13145,7 +13118,7 @@
13145
13118
  },
13146
13119
  "hasDynamicHelp": false,
13147
13120
  "hiddenAliases": [],
13148
- "id": "order:validate",
13121
+ "id": "return:unarchive",
13149
13122
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13150
13123
  "pluginName": "@commercelayer/cli-plugin-triggers",
13151
13124
  "pluginType": "core",
@@ -13155,11 +13128,11 @@
13155
13128
  "relativePath": [
13156
13129
  "lib",
13157
13130
  "commands",
13158
- "order",
13159
- "validate.js"
13131
+ "return",
13132
+ "unarchive.js"
13160
13133
  ]
13161
13134
  },
13162
- "order_subscription:activate": {
13135
+ "return_line_item": {
13163
13136
  "aliases": [],
13164
13137
  "args": {
13165
13138
  "id": {
@@ -13168,7 +13141,7 @@
13168
13141
  "required": true
13169
13142
  }
13170
13143
  },
13171
- "description": "Send this attribute if you want to mark this subscription as active.",
13144
+ "description": "execute an action on a resource of type return_line_items",
13172
13145
  "flags": {
13173
13146
  "organization": {
13174
13147
  "char": "o",
@@ -13233,7 +13206,7 @@
13233
13206
  },
13234
13207
  "hasDynamicHelp": false,
13235
13208
  "hiddenAliases": [],
13236
- "id": "order_subscription:activate",
13209
+ "id": "return_line_item",
13237
13210
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13238
13211
  "pluginName": "@commercelayer/cli-plugin-triggers",
13239
13212
  "pluginType": "core",
@@ -13243,11 +13216,11 @@
13243
13216
  "relativePath": [
13244
13217
  "lib",
13245
13218
  "commands",
13246
- "order_subscription",
13247
- "activate.js"
13219
+ "return_line_item",
13220
+ "index.js"
13248
13221
  ]
13249
13222
  },
13250
- "order_subscription:add_tags": {
13223
+ "return_line_item:restock": {
13251
13224
  "aliases": [],
13252
13225
  "args": {
13253
13226
  "id": {
@@ -13256,7 +13229,7 @@
13256
13229
  "required": true
13257
13230
  }
13258
13231
  },
13259
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13232
+ "description": "Send this attribute if you want to restock the line item.",
13260
13233
  "flags": {
13261
13234
  "organization": {
13262
13235
  "char": "o",
@@ -13321,7 +13294,7 @@
13321
13294
  },
13322
13295
  "hasDynamicHelp": false,
13323
13296
  "hiddenAliases": [],
13324
- "id": "order_subscription:add_tags",
13297
+ "id": "return_line_item:restock",
13325
13298
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13326
13299
  "pluginName": "@commercelayer/cli-plugin-triggers",
13327
13300
  "pluginType": "core",
@@ -13331,11 +13304,11 @@
13331
13304
  "relativePath": [
13332
13305
  "lib",
13333
13306
  "commands",
13334
- "order_subscription",
13335
- "add_tags.js"
13307
+ "return_line_item",
13308
+ "restock.js"
13336
13309
  ]
13337
13310
  },
13338
- "order_subscription:cancel": {
13311
+ "satispay_payment": {
13339
13312
  "aliases": [],
13340
13313
  "args": {
13341
13314
  "id": {
@@ -13344,7 +13317,7 @@
13344
13317
  "required": true
13345
13318
  }
13346
13319
  },
13347
- "description": "Send this attribute if you want to mark this subscription as cancelled.",
13320
+ "description": "execute an action on a resource of type satispay_payments",
13348
13321
  "flags": {
13349
13322
  "organization": {
13350
13323
  "char": "o",
@@ -13409,7 +13382,7 @@
13409
13382
  },
13410
13383
  "hasDynamicHelp": false,
13411
13384
  "hiddenAliases": [],
13412
- "id": "order_subscription:cancel",
13385
+ "id": "satispay_payment",
13413
13386
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13414
13387
  "pluginName": "@commercelayer/cli-plugin-triggers",
13415
13388
  "pluginType": "core",
@@ -13419,11 +13392,11 @@
13419
13392
  "relativePath": [
13420
13393
  "lib",
13421
13394
  "commands",
13422
- "order_subscription",
13423
- "cancel.js"
13395
+ "satispay_payment",
13396
+ "index.js"
13424
13397
  ]
13425
13398
  },
13426
- "order_subscription:convert": {
13399
+ "satispay_payment:refresh": {
13427
13400
  "aliases": [],
13428
13401
  "args": {
13429
13402
  "id": {
@@ -13432,7 +13405,7 @@
13432
13405
  "required": true
13433
13406
  }
13434
13407
  },
13435
- "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
13408
+ "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
13436
13409
  "flags": {
13437
13410
  "organization": {
13438
13411
  "char": "o",
@@ -13497,7 +13470,7 @@
13497
13470
  },
13498
13471
  "hasDynamicHelp": false,
13499
13472
  "hiddenAliases": [],
13500
- "id": "order_subscription:convert",
13473
+ "id": "satispay_payment:refresh",
13501
13474
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13502
13475
  "pluginName": "@commercelayer/cli-plugin-triggers",
13503
13476
  "pluginType": "core",
@@ -13507,11 +13480,11 @@
13507
13480
  "relativePath": [
13508
13481
  "lib",
13509
13482
  "commands",
13510
- "order_subscription",
13511
- "convert.js"
13483
+ "satispay_payment",
13484
+ "refresh.js"
13512
13485
  ]
13513
13486
  },
13514
- "order_subscription:deactivate": {
13487
+ "shipment:add_tags": {
13515
13488
  "aliases": [],
13516
13489
  "args": {
13517
13490
  "id": {
@@ -13520,7 +13493,7 @@
13520
13493
  "required": true
13521
13494
  }
13522
13495
  },
13523
- "description": "Send this attribute if you want to mark this subscription as inactive.",
13496
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13524
13497
  "flags": {
13525
13498
  "organization": {
13526
13499
  "char": "o",
@@ -13585,7 +13558,7 @@
13585
13558
  },
13586
13559
  "hasDynamicHelp": false,
13587
13560
  "hiddenAliases": [],
13588
- "id": "order_subscription:deactivate",
13561
+ "id": "shipment:add_tags",
13589
13562
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13590
13563
  "pluginName": "@commercelayer/cli-plugin-triggers",
13591
13564
  "pluginType": "core",
@@ -13595,11 +13568,11 @@
13595
13568
  "relativePath": [
13596
13569
  "lib",
13597
13570
  "commands",
13598
- "order_subscription",
13599
- "deactivate.js"
13571
+ "shipment",
13572
+ "add_tags.js"
13600
13573
  ]
13601
13574
  },
13602
- "order_subscription": {
13575
+ "shipment:cancel": {
13603
13576
  "aliases": [],
13604
13577
  "args": {
13605
13578
  "id": {
@@ -13608,7 +13581,7 @@
13608
13581
  "required": true
13609
13582
  }
13610
13583
  },
13611
- "description": "execute an action on a resource of type order_subscriptions",
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.",
13612
13585
  "flags": {
13613
13586
  "organization": {
13614
13587
  "char": "o",
@@ -13673,7 +13646,7 @@
13673
13646
  },
13674
13647
  "hasDynamicHelp": false,
13675
13648
  "hiddenAliases": [],
13676
- "id": "order_subscription",
13649
+ "id": "shipment:cancel",
13677
13650
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13678
13651
  "pluginName": "@commercelayer/cli-plugin-triggers",
13679
13652
  "pluginType": "core",
@@ -13683,11 +13656,11 @@
13683
13656
  "relativePath": [
13684
13657
  "lib",
13685
13658
  "commands",
13686
- "order_subscription",
13687
- "index.js"
13659
+ "shipment",
13660
+ "cancel.js"
13688
13661
  ]
13689
13662
  },
13690
- "order_subscription:remove_tags": {
13663
+ "shipment:decrement_stock": {
13691
13664
  "aliases": [],
13692
13665
  "args": {
13693
13666
  "id": {
@@ -13696,7 +13669,7 @@
13696
13669
  "required": true
13697
13670
  }
13698
13671
  },
13699
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
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.",
13700
13673
  "flags": {
13701
13674
  "organization": {
13702
13675
  "char": "o",
@@ -13761,7 +13734,7 @@
13761
13734
  },
13762
13735
  "hasDynamicHelp": false,
13763
13736
  "hiddenAliases": [],
13764
- "id": "order_subscription:remove_tags",
13737
+ "id": "shipment:decrement_stock",
13765
13738
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13766
13739
  "pluginName": "@commercelayer/cli-plugin-triggers",
13767
13740
  "pluginType": "core",
@@ -13771,11 +13744,11 @@
13771
13744
  "relativePath": [
13772
13745
  "lib",
13773
13746
  "commands",
13774
- "order_subscription",
13775
- "remove_tags.js"
13747
+ "shipment",
13748
+ "decrement_stock.js"
13776
13749
  ]
13777
13750
  },
13778
- "payment_method:disable": {
13751
+ "shipment:deliver": {
13779
13752
  "aliases": [],
13780
13753
  "args": {
13781
13754
  "id": {
@@ -13784,7 +13757,7 @@
13784
13757
  "required": true
13785
13758
  }
13786
13759
  },
13787
- "description": "Send this attribute if you want to mark this resource as disabled.",
13760
+ "description": "Send this attribute if you want to mark this shipment as delivered.",
13788
13761
  "flags": {
13789
13762
  "organization": {
13790
13763
  "char": "o",
@@ -13849,7 +13822,7 @@
13849
13822
  },
13850
13823
  "hasDynamicHelp": false,
13851
13824
  "hiddenAliases": [],
13852
- "id": "payment_method:disable",
13825
+ "id": "shipment:deliver",
13853
13826
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13854
13827
  "pluginName": "@commercelayer/cli-plugin-triggers",
13855
13828
  "pluginType": "core",
@@ -13859,11 +13832,11 @@
13859
13832
  "relativePath": [
13860
13833
  "lib",
13861
13834
  "commands",
13862
- "payment_method",
13863
- "disable.js"
13835
+ "shipment",
13836
+ "deliver.js"
13864
13837
  ]
13865
13838
  },
13866
- "payment_method:enable": {
13839
+ "shipment:get_rates": {
13867
13840
  "aliases": [],
13868
13841
  "args": {
13869
13842
  "id": {
@@ -13872,7 +13845,7 @@
13872
13845
  "required": true
13873
13846
  }
13874
13847
  },
13875
- "description": "Send this attribute if you want to mark this resource as enabled.",
13848
+ "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
13876
13849
  "flags": {
13877
13850
  "organization": {
13878
13851
  "char": "o",
@@ -13937,7 +13910,7 @@
13937
13910
  },
13938
13911
  "hasDynamicHelp": false,
13939
13912
  "hiddenAliases": [],
13940
- "id": "payment_method:enable",
13913
+ "id": "shipment:get_rates",
13941
13914
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13942
13915
  "pluginName": "@commercelayer/cli-plugin-triggers",
13943
13916
  "pluginType": "core",
@@ -13947,11 +13920,11 @@
13947
13920
  "relativePath": [
13948
13921
  "lib",
13949
13922
  "commands",
13950
- "payment_method",
13951
- "enable.js"
13923
+ "shipment",
13924
+ "get_rates.js"
13952
13925
  ]
13953
13926
  },
13954
- "payment_method": {
13927
+ "shipment": {
13955
13928
  "aliases": [],
13956
13929
  "args": {
13957
13930
  "id": {
@@ -13960,7 +13933,7 @@
13960
13933
  "required": true
13961
13934
  }
13962
13935
  },
13963
- "description": "execute an action on a resource of type payment_methods",
13936
+ "description": "execute an action on a resource of type shipments",
13964
13937
  "flags": {
13965
13938
  "organization": {
13966
13939
  "char": "o",
@@ -14025,7 +13998,7 @@
14025
13998
  },
14026
13999
  "hasDynamicHelp": false,
14027
14000
  "hiddenAliases": [],
14028
- "id": "payment_method",
14001
+ "id": "shipment",
14029
14002
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14030
14003
  "pluginName": "@commercelayer/cli-plugin-triggers",
14031
14004
  "pluginType": "core",
@@ -14035,11 +14008,11 @@
14035
14008
  "relativePath": [
14036
14009
  "lib",
14037
14010
  "commands",
14038
- "payment_method",
14011
+ "shipment",
14039
14012
  "index.js"
14040
14013
  ]
14041
14014
  },
14042
- "percentage_discount_promotion:add_tags": {
14015
+ "shipment:on_hold": {
14043
14016
  "aliases": [],
14044
14017
  "args": {
14045
14018
  "id": {
@@ -14048,7 +14021,7 @@
14048
14021
  "required": true
14049
14022
  }
14050
14023
  },
14051
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14024
+ "description": "Send this attribute if you want to put this shipment on hold.",
14052
14025
  "flags": {
14053
14026
  "organization": {
14054
14027
  "char": "o",
@@ -14113,7 +14086,7 @@
14113
14086
  },
14114
14087
  "hasDynamicHelp": false,
14115
14088
  "hiddenAliases": [],
14116
- "id": "percentage_discount_promotion:add_tags",
14089
+ "id": "shipment:on_hold",
14117
14090
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14118
14091
  "pluginName": "@commercelayer/cli-plugin-triggers",
14119
14092
  "pluginType": "core",
@@ -14123,11 +14096,11 @@
14123
14096
  "relativePath": [
14124
14097
  "lib",
14125
14098
  "commands",
14126
- "percentage_discount_promotion",
14127
- "add_tags.js"
14099
+ "shipment",
14100
+ "on_hold.js"
14128
14101
  ]
14129
14102
  },
14130
- "percentage_discount_promotion:disable": {
14103
+ "shipment:packing": {
14131
14104
  "aliases": [],
14132
14105
  "args": {
14133
14106
  "id": {
@@ -14136,7 +14109,7 @@
14136
14109
  "required": true
14137
14110
  }
14138
14111
  },
14139
- "description": "Send this attribute if you want to mark this resource as disabled.",
14112
+ "description": "Send this attribute if you want to start packing this shipment.",
14140
14113
  "flags": {
14141
14114
  "organization": {
14142
14115
  "char": "o",
@@ -14201,7 +14174,7 @@
14201
14174
  },
14202
14175
  "hasDynamicHelp": false,
14203
14176
  "hiddenAliases": [],
14204
- "id": "percentage_discount_promotion:disable",
14177
+ "id": "shipment:packing",
14205
14178
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14206
14179
  "pluginName": "@commercelayer/cli-plugin-triggers",
14207
14180
  "pluginType": "core",
@@ -14211,11 +14184,11 @@
14211
14184
  "relativePath": [
14212
14185
  "lib",
14213
14186
  "commands",
14214
- "percentage_discount_promotion",
14215
- "disable.js"
14187
+ "shipment",
14188
+ "packing.js"
14216
14189
  ]
14217
14190
  },
14218
- "percentage_discount_promotion:enable": {
14191
+ "shipment:picking": {
14219
14192
  "aliases": [],
14220
14193
  "args": {
14221
14194
  "id": {
@@ -14224,7 +14197,7 @@
14224
14197
  "required": true
14225
14198
  }
14226
14199
  },
14227
- "description": "Send this attribute if you want to mark this resource as enabled.",
14200
+ "description": "Send this attribute if you want to start picking this shipment.",
14228
14201
  "flags": {
14229
14202
  "organization": {
14230
14203
  "char": "o",
@@ -14289,7 +14262,7 @@
14289
14262
  },
14290
14263
  "hasDynamicHelp": false,
14291
14264
  "hiddenAliases": [],
14292
- "id": "percentage_discount_promotion:enable",
14265
+ "id": "shipment:picking",
14293
14266
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14294
14267
  "pluginName": "@commercelayer/cli-plugin-triggers",
14295
14268
  "pluginType": "core",
@@ -14299,11 +14272,11 @@
14299
14272
  "relativePath": [
14300
14273
  "lib",
14301
14274
  "commands",
14302
- "percentage_discount_promotion",
14303
- "enable.js"
14275
+ "shipment",
14276
+ "picking.js"
14304
14277
  ]
14305
14278
  },
14306
- "percentage_discount_promotion": {
14279
+ "shipment:purchase": {
14307
14280
  "aliases": [],
14308
14281
  "args": {
14309
14282
  "id": {
@@ -14312,7 +14285,7 @@
14312
14285
  "required": true
14313
14286
  }
14314
14287
  },
14315
- "description": "execute an action on a resource of type percentage_discount_promotions",
14288
+ "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
14316
14289
  "flags": {
14317
14290
  "organization": {
14318
14291
  "char": "o",
@@ -14377,7 +14350,7 @@
14377
14350
  },
14378
14351
  "hasDynamicHelp": false,
14379
14352
  "hiddenAliases": [],
14380
- "id": "percentage_discount_promotion",
14353
+ "id": "shipment:purchase",
14381
14354
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14382
14355
  "pluginName": "@commercelayer/cli-plugin-triggers",
14383
14356
  "pluginType": "core",
@@ -14387,11 +14360,11 @@
14387
14360
  "relativePath": [
14388
14361
  "lib",
14389
14362
  "commands",
14390
- "percentage_discount_promotion",
14391
- "index.js"
14363
+ "shipment",
14364
+ "purchase.js"
14392
14365
  ]
14393
14366
  },
14394
- "percentage_discount_promotion:remove_tags": {
14367
+ "shipment:ready_to_ship": {
14395
14368
  "aliases": [],
14396
14369
  "args": {
14397
14370
  "id": {
@@ -14400,7 +14373,7 @@
14400
14373
  "required": true
14401
14374
  }
14402
14375
  },
14403
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14376
+ "description": "Send this attribute if you want to mark this shipment as ready to ship.",
14404
14377
  "flags": {
14405
14378
  "organization": {
14406
14379
  "char": "o",
@@ -14465,7 +14438,7 @@
14465
14438
  },
14466
14439
  "hasDynamicHelp": false,
14467
14440
  "hiddenAliases": [],
14468
- "id": "percentage_discount_promotion:remove_tags",
14441
+ "id": "shipment:ready_to_ship",
14469
14442
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14470
14443
  "pluginName": "@commercelayer/cli-plugin-triggers",
14471
14444
  "pluginType": "core",
@@ -14475,11 +14448,11 @@
14475
14448
  "relativePath": [
14476
14449
  "lib",
14477
14450
  "commands",
14478
- "percentage_discount_promotion",
14479
- "remove_tags.js"
14451
+ "shipment",
14452
+ "ready_to_ship.js"
14480
14453
  ]
14481
14454
  },
14482
- "price_list_scheduler:disable": {
14455
+ "shipment:release_stock": {
14483
14456
  "aliases": [],
14484
14457
  "args": {
14485
14458
  "id": {
@@ -14488,7 +14461,7 @@
14488
14461
  "required": true
14489
14462
  }
14490
14463
  },
14491
- "description": "Send this attribute if you want to mark this resource as disabled.",
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.",
14492
14465
  "flags": {
14493
14466
  "organization": {
14494
14467
  "char": "o",
@@ -14553,7 +14526,7 @@
14553
14526
  },
14554
14527
  "hasDynamicHelp": false,
14555
14528
  "hiddenAliases": [],
14556
- "id": "price_list_scheduler:disable",
14529
+ "id": "shipment:release_stock",
14557
14530
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14558
14531
  "pluginName": "@commercelayer/cli-plugin-triggers",
14559
14532
  "pluginType": "core",
@@ -14563,11 +14536,11 @@
14563
14536
  "relativePath": [
14564
14537
  "lib",
14565
14538
  "commands",
14566
- "price_list_scheduler",
14567
- "disable.js"
14539
+ "shipment",
14540
+ "release_stock.js"
14568
14541
  ]
14569
14542
  },
14570
- "price_list_scheduler:enable": {
14543
+ "shipment:remove_tags": {
14571
14544
  "aliases": [],
14572
14545
  "args": {
14573
14546
  "id": {
@@ -14576,7 +14549,7 @@
14576
14549
  "required": true
14577
14550
  }
14578
14551
  },
14579
- "description": "Send this attribute if you want to mark this resource as enabled.",
14552
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14580
14553
  "flags": {
14581
14554
  "organization": {
14582
14555
  "char": "o",
@@ -14641,7 +14614,7 @@
14641
14614
  },
14642
14615
  "hasDynamicHelp": false,
14643
14616
  "hiddenAliases": [],
14644
- "id": "price_list_scheduler:enable",
14617
+ "id": "shipment:remove_tags",
14645
14618
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14646
14619
  "pluginName": "@commercelayer/cli-plugin-triggers",
14647
14620
  "pluginType": "core",
@@ -14651,11 +14624,11 @@
14651
14624
  "relativePath": [
14652
14625
  "lib",
14653
14626
  "commands",
14654
- "price_list_scheduler",
14655
- "enable.js"
14627
+ "shipment",
14628
+ "remove_tags.js"
14656
14629
  ]
14657
14630
  },
14658
- "price_list_scheduler": {
14631
+ "shipment:reserve_stock": {
14659
14632
  "aliases": [],
14660
14633
  "args": {
14661
14634
  "id": {
@@ -14664,7 +14637,7 @@
14664
14637
  "required": true
14665
14638
  }
14666
14639
  },
14667
- "description": "execute an action on a resource of type price_list_schedulers",
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.",
14668
14641
  "flags": {
14669
14642
  "organization": {
14670
14643
  "char": "o",
@@ -14729,7 +14702,7 @@
14729
14702
  },
14730
14703
  "hasDynamicHelp": false,
14731
14704
  "hiddenAliases": [],
14732
- "id": "price_list_scheduler",
14705
+ "id": "shipment:reserve_stock",
14733
14706
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14734
14707
  "pluginName": "@commercelayer/cli-plugin-triggers",
14735
14708
  "pluginType": "core",
@@ -14739,11 +14712,11 @@
14739
14712
  "relativePath": [
14740
14713
  "lib",
14741
14714
  "commands",
14742
- "price_list_scheduler",
14743
- "index.js"
14715
+ "shipment",
14716
+ "reserve_stock.js"
14744
14717
  ]
14745
14718
  },
14746
- "refund:forward": {
14719
+ "shipment:ship": {
14747
14720
  "aliases": [],
14748
14721
  "args": {
14749
14722
  "id": {
@@ -14752,7 +14725,7 @@
14752
14725
  "required": true
14753
14726
  }
14754
14727
  },
14755
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
14728
+ "description": "Send this attribute if you want to mark this shipment as shipped.",
14756
14729
  "flags": {
14757
14730
  "organization": {
14758
14731
  "char": "o",
@@ -14817,7 +14790,7 @@
14817
14790
  },
14818
14791
  "hasDynamicHelp": false,
14819
14792
  "hiddenAliases": [],
14820
- "id": "refund:forward",
14793
+ "id": "shipment:ship",
14821
14794
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14822
14795
  "pluginName": "@commercelayer/cli-plugin-triggers",
14823
14796
  "pluginType": "core",
@@ -14827,11 +14800,11 @@
14827
14800
  "relativePath": [
14828
14801
  "lib",
14829
14802
  "commands",
14830
- "refund",
14831
- "forward.js"
14803
+ "shipment",
14804
+ "ship.js"
14832
14805
  ]
14833
14806
  },
14834
- "refund": {
14807
+ "shipment:upcoming": {
14835
14808
  "aliases": [],
14836
14809
  "args": {
14837
14810
  "id": {
@@ -14840,7 +14813,7 @@
14840
14813
  "required": true
14841
14814
  }
14842
14815
  },
14843
- "description": "execute an action on a resource of type refunds",
14816
+ "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
14844
14817
  "flags": {
14845
14818
  "organization": {
14846
14819
  "char": "o",
@@ -14905,7 +14878,7 @@
14905
14878
  },
14906
14879
  "hasDynamicHelp": false,
14907
14880
  "hiddenAliases": [],
14908
- "id": "refund",
14881
+ "id": "shipment:upcoming",
14909
14882
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14910
14883
  "pluginName": "@commercelayer/cli-plugin-triggers",
14911
14884
  "pluginType": "core",
@@ -14915,11 +14888,11 @@
14915
14888
  "relativePath": [
14916
14889
  "lib",
14917
14890
  "commands",
14918
- "refund",
14919
- "index.js"
14891
+ "shipment",
14892
+ "upcoming.js"
14920
14893
  ]
14921
14894
  },
14922
- "return:add_tags": {
14895
+ "shipping_method:disable": {
14923
14896
  "aliases": [],
14924
14897
  "args": {
14925
14898
  "id": {
@@ -14928,7 +14901,7 @@
14928
14901
  "required": true
14929
14902
  }
14930
14903
  },
14931
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14904
+ "description": "Send this attribute if you want to mark this resource as disabled.",
14932
14905
  "flags": {
14933
14906
  "organization": {
14934
14907
  "char": "o",
@@ -14993,7 +14966,7 @@
14993
14966
  },
14994
14967
  "hasDynamicHelp": false,
14995
14968
  "hiddenAliases": [],
14996
- "id": "return:add_tags",
14969
+ "id": "shipping_method:disable",
14997
14970
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14998
14971
  "pluginName": "@commercelayer/cli-plugin-triggers",
14999
14972
  "pluginType": "core",
@@ -15003,11 +14976,11 @@
15003
14976
  "relativePath": [
15004
14977
  "lib",
15005
14978
  "commands",
15006
- "return",
15007
- "add_tags.js"
14979
+ "shipping_method",
14980
+ "disable.js"
15008
14981
  ]
15009
14982
  },
15010
- "return:approve": {
14983
+ "shipping_method:enable": {
15011
14984
  "aliases": [],
15012
14985
  "args": {
15013
14986
  "id": {
@@ -15016,7 +14989,7 @@
15016
14989
  "required": true
15017
14990
  }
15018
14991
  },
15019
- "description": "Send this attribute if you want to mark this return as approved.",
14992
+ "description": "Send this attribute if you want to mark this resource as enabled.",
15020
14993
  "flags": {
15021
14994
  "organization": {
15022
14995
  "char": "o",
@@ -15081,7 +15054,7 @@
15081
15054
  },
15082
15055
  "hasDynamicHelp": false,
15083
15056
  "hiddenAliases": [],
15084
- "id": "return:approve",
15057
+ "id": "shipping_method:enable",
15085
15058
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15086
15059
  "pluginName": "@commercelayer/cli-plugin-triggers",
15087
15060
  "pluginType": "core",
@@ -15091,11 +15064,11 @@
15091
15064
  "relativePath": [
15092
15065
  "lib",
15093
15066
  "commands",
15094
- "return",
15095
- "approve.js"
15067
+ "shipping_method",
15068
+ "enable.js"
15096
15069
  ]
15097
15070
  },
15098
- "return:archive": {
15071
+ "shipping_method": {
15099
15072
  "aliases": [],
15100
15073
  "args": {
15101
15074
  "id": {
@@ -15104,7 +15077,7 @@
15104
15077
  "required": true
15105
15078
  }
15106
15079
  },
15107
- "description": "Send this attribute if you want to archive the return.",
15080
+ "description": "execute an action on a resource of type shipping_methods",
15108
15081
  "flags": {
15109
15082
  "organization": {
15110
15083
  "char": "o",
@@ -15169,7 +15142,7 @@
15169
15142
  },
15170
15143
  "hasDynamicHelp": false,
15171
15144
  "hiddenAliases": [],
15172
- "id": "return:archive",
15145
+ "id": "shipping_method",
15173
15146
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15174
15147
  "pluginName": "@commercelayer/cli-plugin-triggers",
15175
15148
  "pluginType": "core",
@@ -15179,11 +15152,11 @@
15179
15152
  "relativePath": [
15180
15153
  "lib",
15181
15154
  "commands",
15182
- "return",
15183
- "archive.js"
15155
+ "shipping_method",
15156
+ "index.js"
15184
15157
  ]
15185
15158
  },
15186
- "return:cancel": {
15159
+ "shipping_method:reset_circuit": {
15187
15160
  "aliases": [],
15188
15161
  "args": {
15189
15162
  "id": {
@@ -15192,7 +15165,7 @@
15192
15165
  "required": true
15193
15166
  }
15194
15167
  },
15195
- "description": "Send this attribute if you want to mark this return as cancelled.",
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.",
15196
15169
  "flags": {
15197
15170
  "organization": {
15198
15171
  "char": "o",
@@ -15257,7 +15230,7 @@
15257
15230
  },
15258
15231
  "hasDynamicHelp": false,
15259
15232
  "hiddenAliases": [],
15260
- "id": "return:cancel",
15233
+ "id": "shipping_method:reset_circuit",
15261
15234
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15262
15235
  "pluginName": "@commercelayer/cli-plugin-triggers",
15263
15236
  "pluginType": "core",
@@ -15267,11 +15240,11 @@
15267
15240
  "relativePath": [
15268
15241
  "lib",
15269
15242
  "commands",
15270
- "return",
15271
- "cancel.js"
15243
+ "shipping_method",
15244
+ "reset_circuit.js"
15272
15245
  ]
15273
15246
  },
15274
- "return": {
15247
+ "sku:add_tags": {
15275
15248
  "aliases": [],
15276
15249
  "args": {
15277
15250
  "id": {
@@ -15280,7 +15253,7 @@
15280
15253
  "required": true
15281
15254
  }
15282
15255
  },
15283
- "description": "execute an action on a resource of type returns",
15256
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15284
15257
  "flags": {
15285
15258
  "organization": {
15286
15259
  "char": "o",
@@ -15345,7 +15318,7 @@
15345
15318
  },
15346
15319
  "hasDynamicHelp": false,
15347
15320
  "hiddenAliases": [],
15348
- "id": "return",
15321
+ "id": "sku:add_tags",
15349
15322
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15350
15323
  "pluginName": "@commercelayer/cli-plugin-triggers",
15351
15324
  "pluginType": "core",
@@ -15355,11 +15328,11 @@
15355
15328
  "relativePath": [
15356
15329
  "lib",
15357
15330
  "commands",
15358
- "return",
15359
- "index.js"
15331
+ "sku",
15332
+ "add_tags.js"
15360
15333
  ]
15361
15334
  },
15362
- "return:receive": {
15335
+ "sku": {
15363
15336
  "aliases": [],
15364
15337
  "args": {
15365
15338
  "id": {
@@ -15368,7 +15341,7 @@
15368
15341
  "required": true
15369
15342
  }
15370
15343
  },
15371
- "description": "Send this attribute if you want to mark this return as received.",
15344
+ "description": "execute an action on a resource of type skus",
15372
15345
  "flags": {
15373
15346
  "organization": {
15374
15347
  "char": "o",
@@ -15433,7 +15406,7 @@
15433
15406
  },
15434
15407
  "hasDynamicHelp": false,
15435
15408
  "hiddenAliases": [],
15436
- "id": "return:receive",
15409
+ "id": "sku",
15437
15410
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15438
15411
  "pluginName": "@commercelayer/cli-plugin-triggers",
15439
15412
  "pluginType": "core",
@@ -15443,11 +15416,11 @@
15443
15416
  "relativePath": [
15444
15417
  "lib",
15445
15418
  "commands",
15446
- "return",
15447
- "receive.js"
15419
+ "sku",
15420
+ "index.js"
15448
15421
  ]
15449
15422
  },
15450
- "return:refund": {
15423
+ "sku:remove_tags": {
15451
15424
  "aliases": [],
15452
15425
  "args": {
15453
15426
  "id": {
@@ -15456,7 +15429,7 @@
15456
15429
  "required": true
15457
15430
  }
15458
15431
  },
15459
- "description": "Send this attribute if you want to create a refund for this return.",
15432
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15460
15433
  "flags": {
15461
15434
  "organization": {
15462
15435
  "char": "o",
@@ -15521,7 +15494,7 @@
15521
15494
  },
15522
15495
  "hasDynamicHelp": false,
15523
15496
  "hiddenAliases": [],
15524
- "id": "return:refund",
15497
+ "id": "sku:remove_tags",
15525
15498
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15526
15499
  "pluginName": "@commercelayer/cli-plugin-triggers",
15527
15500
  "pluginType": "core",
@@ -15531,11 +15504,11 @@
15531
15504
  "relativePath": [
15532
15505
  "lib",
15533
15506
  "commands",
15534
- "return",
15535
- "refund.js"
15507
+ "sku",
15508
+ "remove_tags.js"
15536
15509
  ]
15537
15510
  },
15538
- "return:refund_amount_cents": {
15511
+ "sku_option:add_tags": {
15539
15512
  "aliases": [],
15540
15513
  "args": {
15541
15514
  "id": {
@@ -15544,7 +15517,7 @@
15544
15517
  "required": true
15545
15518
  }
15546
15519
  },
15547
- "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
15520
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15548
15521
  "flags": {
15549
15522
  "organization": {
15550
15523
  "char": "o",
@@ -15609,7 +15582,7 @@
15609
15582
  },
15610
15583
  "hasDynamicHelp": false,
15611
15584
  "hiddenAliases": [],
15612
- "id": "return:refund_amount_cents",
15585
+ "id": "sku_option:add_tags",
15613
15586
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15614
15587
  "pluginName": "@commercelayer/cli-plugin-triggers",
15615
15588
  "pluginType": "core",
@@ -15619,11 +15592,11 @@
15619
15592
  "relativePath": [
15620
15593
  "lib",
15621
15594
  "commands",
15622
- "return",
15623
- "refund_amount_cents.js"
15595
+ "sku_option",
15596
+ "add_tags.js"
15624
15597
  ]
15625
15598
  },
15626
- "return:reject": {
15599
+ "sku_option": {
15627
15600
  "aliases": [],
15628
15601
  "args": {
15629
15602
  "id": {
@@ -15632,7 +15605,7 @@
15632
15605
  "required": true
15633
15606
  }
15634
15607
  },
15635
- "description": "Send this attribute if you want to mark this return as rejected.",
15608
+ "description": "execute an action on a resource of type sku_options",
15636
15609
  "flags": {
15637
15610
  "organization": {
15638
15611
  "char": "o",
@@ -15697,7 +15670,7 @@
15697
15670
  },
15698
15671
  "hasDynamicHelp": false,
15699
15672
  "hiddenAliases": [],
15700
- "id": "return:reject",
15673
+ "id": "sku_option",
15701
15674
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15702
15675
  "pluginName": "@commercelayer/cli-plugin-triggers",
15703
15676
  "pluginType": "core",
@@ -15707,11 +15680,11 @@
15707
15680
  "relativePath": [
15708
15681
  "lib",
15709
15682
  "commands",
15710
- "return",
15711
- "reject.js"
15683
+ "sku_option",
15684
+ "index.js"
15712
15685
  ]
15713
15686
  },
15714
- "return:remove_tags": {
15687
+ "sku_option:remove_tags": {
15715
15688
  "aliases": [],
15716
15689
  "args": {
15717
15690
  "id": {
@@ -15785,7 +15758,7 @@
15785
15758
  },
15786
15759
  "hasDynamicHelp": false,
15787
15760
  "hiddenAliases": [],
15788
- "id": "return:remove_tags",
15761
+ "id": "sku_option:remove_tags",
15789
15762
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15790
15763
  "pluginName": "@commercelayer/cli-plugin-triggers",
15791
15764
  "pluginType": "core",
@@ -15795,11 +15768,11 @@
15795
15768
  "relativePath": [
15796
15769
  "lib",
15797
15770
  "commands",
15798
- "return",
15771
+ "sku_option",
15799
15772
  "remove_tags.js"
15800
15773
  ]
15801
15774
  },
15802
- "return:request": {
15775
+ "stock_item": {
15803
15776
  "aliases": [],
15804
15777
  "args": {
15805
15778
  "id": {
@@ -15808,7 +15781,7 @@
15808
15781
  "required": true
15809
15782
  }
15810
15783
  },
15811
- "description": "Send this attribute if you want to activate this return.",
15784
+ "description": "execute an action on a resource of type stock_items",
15812
15785
  "flags": {
15813
15786
  "organization": {
15814
15787
  "char": "o",
@@ -15873,7 +15846,7 @@
15873
15846
  },
15874
15847
  "hasDynamicHelp": false,
15875
15848
  "hiddenAliases": [],
15876
- "id": "return:request",
15849
+ "id": "stock_item",
15877
15850
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15878
15851
  "pluginName": "@commercelayer/cli-plugin-triggers",
15879
15852
  "pluginType": "core",
@@ -15883,11 +15856,11 @@
15883
15856
  "relativePath": [
15884
15857
  "lib",
15885
15858
  "commands",
15886
- "return",
15887
- "request.js"
15859
+ "stock_item",
15860
+ "index.js"
15888
15861
  ]
15889
15862
  },
15890
- "return:restock": {
15863
+ "stock_item:validate": {
15891
15864
  "aliases": [],
15892
15865
  "args": {
15893
15866
  "id": {
@@ -15896,7 +15869,7 @@
15896
15869
  "required": true
15897
15870
  }
15898
15871
  },
15899
- "description": "Send this attribute if you want to restock all of the return line items.",
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.",
15900
15873
  "flags": {
15901
15874
  "organization": {
15902
15875
  "char": "o",
@@ -15961,7 +15934,7 @@
15961
15934
  },
15962
15935
  "hasDynamicHelp": false,
15963
15936
  "hiddenAliases": [],
15964
- "id": "return:restock",
15937
+ "id": "stock_item:validate",
15965
15938
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15966
15939
  "pluginName": "@commercelayer/cli-plugin-triggers",
15967
15940
  "pluginType": "core",
@@ -15971,11 +15944,11 @@
15971
15944
  "relativePath": [
15972
15945
  "lib",
15973
15946
  "commands",
15974
- "return",
15975
- "restock.js"
15947
+ "stock_item",
15948
+ "validate.js"
15976
15949
  ]
15977
15950
  },
15978
- "return:ship": {
15951
+ "stock_line_item:decrement_stock": {
15979
15952
  "aliases": [],
15980
15953
  "args": {
15981
15954
  "id": {
@@ -15984,7 +15957,7 @@
15984
15957
  "required": true
15985
15958
  }
15986
15959
  },
15987
- "description": "Send this attribute if you want to mark this return as shipped.",
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.",
15988
15961
  "flags": {
15989
15962
  "organization": {
15990
15963
  "char": "o",
@@ -16049,7 +16022,7 @@
16049
16022
  },
16050
16023
  "hasDynamicHelp": false,
16051
16024
  "hiddenAliases": [],
16052
- "id": "return:ship",
16025
+ "id": "stock_line_item:decrement_stock",
16053
16026
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16054
16027
  "pluginName": "@commercelayer/cli-plugin-triggers",
16055
16028
  "pluginType": "core",
@@ -16059,11 +16032,11 @@
16059
16032
  "relativePath": [
16060
16033
  "lib",
16061
16034
  "commands",
16062
- "return",
16063
- "ship.js"
16035
+ "stock_line_item",
16036
+ "decrement_stock.js"
16064
16037
  ]
16065
16038
  },
16066
- "return:unarchive": {
16039
+ "stock_line_item": {
16067
16040
  "aliases": [],
16068
16041
  "args": {
16069
16042
  "id": {
@@ -16072,7 +16045,7 @@
16072
16045
  "required": true
16073
16046
  }
16074
16047
  },
16075
- "description": "Send this attribute if you want to unarchive the return.",
16048
+ "description": "execute an action on a resource of type stock_line_items",
16076
16049
  "flags": {
16077
16050
  "organization": {
16078
16051
  "char": "o",
@@ -16137,7 +16110,7 @@
16137
16110
  },
16138
16111
  "hasDynamicHelp": false,
16139
16112
  "hiddenAliases": [],
16140
- "id": "return:unarchive",
16113
+ "id": "stock_line_item",
16141
16114
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16142
16115
  "pluginName": "@commercelayer/cli-plugin-triggers",
16143
16116
  "pluginType": "core",
@@ -16147,11 +16120,11 @@
16147
16120
  "relativePath": [
16148
16121
  "lib",
16149
16122
  "commands",
16150
- "return",
16151
- "unarchive.js"
16123
+ "stock_line_item",
16124
+ "index.js"
16152
16125
  ]
16153
16126
  },
16154
- "return_line_item": {
16127
+ "stock_line_item:release_stock": {
16155
16128
  "aliases": [],
16156
16129
  "args": {
16157
16130
  "id": {
@@ -16160,7 +16133,7 @@
16160
16133
  "required": true
16161
16134
  }
16162
16135
  },
16163
- "description": "execute an action on a resource of type return_line_items",
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.",
16164
16137
  "flags": {
16165
16138
  "organization": {
16166
16139
  "char": "o",
@@ -16225,7 +16198,7 @@
16225
16198
  },
16226
16199
  "hasDynamicHelp": false,
16227
16200
  "hiddenAliases": [],
16228
- "id": "return_line_item",
16201
+ "id": "stock_line_item:release_stock",
16229
16202
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16230
16203
  "pluginName": "@commercelayer/cli-plugin-triggers",
16231
16204
  "pluginType": "core",
@@ -16235,11 +16208,11 @@
16235
16208
  "relativePath": [
16236
16209
  "lib",
16237
16210
  "commands",
16238
- "return_line_item",
16239
- "index.js"
16211
+ "stock_line_item",
16212
+ "release_stock.js"
16240
16213
  ]
16241
16214
  },
16242
- "return_line_item:restock": {
16215
+ "stock_line_item:reserve_stock": {
16243
16216
  "aliases": [],
16244
16217
  "args": {
16245
16218
  "id": {
@@ -16248,7 +16221,7 @@
16248
16221
  "required": true
16249
16222
  }
16250
16223
  },
16251
- "description": "Send this attribute if you want to restock the line item.",
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.",
16252
16225
  "flags": {
16253
16226
  "organization": {
16254
16227
  "char": "o",
@@ -16313,7 +16286,7 @@
16313
16286
  },
16314
16287
  "hasDynamicHelp": false,
16315
16288
  "hiddenAliases": [],
16316
- "id": "return_line_item:restock",
16289
+ "id": "stock_line_item:reserve_stock",
16317
16290
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16318
16291
  "pluginName": "@commercelayer/cli-plugin-triggers",
16319
16292
  "pluginType": "core",
@@ -16323,11 +16296,11 @@
16323
16296
  "relativePath": [
16324
16297
  "lib",
16325
16298
  "commands",
16326
- "return_line_item",
16327
- "restock.js"
16299
+ "stock_line_item",
16300
+ "reserve_stock.js"
16328
16301
  ]
16329
16302
  },
16330
- "satispay_payment": {
16303
+ "stock_reservation": {
16331
16304
  "aliases": [],
16332
16305
  "args": {
16333
16306
  "id": {
@@ -16336,7 +16309,7 @@
16336
16309
  "required": true
16337
16310
  }
16338
16311
  },
16339
- "description": "execute an action on a resource of type satispay_payments",
16312
+ "description": "execute an action on a resource of type stock_reservations",
16340
16313
  "flags": {
16341
16314
  "organization": {
16342
16315
  "char": "o",
@@ -16401,7 +16374,7 @@
16401
16374
  },
16402
16375
  "hasDynamicHelp": false,
16403
16376
  "hiddenAliases": [],
16404
- "id": "satispay_payment",
16377
+ "id": "stock_reservation",
16405
16378
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16406
16379
  "pluginName": "@commercelayer/cli-plugin-triggers",
16407
16380
  "pluginType": "core",
@@ -16411,11 +16384,11 @@
16411
16384
  "relativePath": [
16412
16385
  "lib",
16413
16386
  "commands",
16414
- "satispay_payment",
16387
+ "stock_reservation",
16415
16388
  "index.js"
16416
16389
  ]
16417
16390
  },
16418
- "satispay_payment:refresh": {
16391
+ "stock_reservation:pending": {
16419
16392
  "aliases": [],
16420
16393
  "args": {
16421
16394
  "id": {
@@ -16424,7 +16397,7 @@
16424
16397
  "required": true
16425
16398
  }
16426
16399
  },
16427
- "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
16400
+ "description": "Send this attribute if you want to mark this stock reservation as pending.",
16428
16401
  "flags": {
16429
16402
  "organization": {
16430
16403
  "char": "o",
@@ -16489,7 +16462,7 @@
16489
16462
  },
16490
16463
  "hasDynamicHelp": false,
16491
16464
  "hiddenAliases": [],
16492
- "id": "satispay_payment:refresh",
16465
+ "id": "stock_reservation:pending",
16493
16466
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16494
16467
  "pluginName": "@commercelayer/cli-plugin-triggers",
16495
16468
  "pluginType": "core",
@@ -16499,11 +16472,11 @@
16499
16472
  "relativePath": [
16500
16473
  "lib",
16501
16474
  "commands",
16502
- "satispay_payment",
16503
- "refresh.js"
16475
+ "stock_reservation",
16476
+ "pending.js"
16504
16477
  ]
16505
16478
  },
16506
- "shipment:add_tags": {
16479
+ "stock_transfer:cancel": {
16507
16480
  "aliases": [],
16508
16481
  "args": {
16509
16482
  "id": {
@@ -16512,7 +16485,7 @@
16512
16485
  "required": true
16513
16486
  }
16514
16487
  },
16515
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
16488
+ "description": "Send this attribute if you want to cancel this stock transfer.",
16516
16489
  "flags": {
16517
16490
  "organization": {
16518
16491
  "char": "o",
@@ -16577,7 +16550,7 @@
16577
16550
  },
16578
16551
  "hasDynamicHelp": false,
16579
16552
  "hiddenAliases": [],
16580
- "id": "shipment:add_tags",
16553
+ "id": "stock_transfer:cancel",
16581
16554
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16582
16555
  "pluginName": "@commercelayer/cli-plugin-triggers",
16583
16556
  "pluginType": "core",
@@ -16587,11 +16560,11 @@
16587
16560
  "relativePath": [
16588
16561
  "lib",
16589
16562
  "commands",
16590
- "shipment",
16591
- "add_tags.js"
16563
+ "stock_transfer",
16564
+ "cancel.js"
16592
16565
  ]
16593
16566
  },
16594
- "shipment:cancel": {
16567
+ "stock_transfer:complete": {
16595
16568
  "aliases": [],
16596
16569
  "args": {
16597
16570
  "id": {
@@ -16600,7 +16573,7 @@
16600
16573
  "required": true
16601
16574
  }
16602
16575
  },
16603
- "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
16576
+ "description": "Send this attribute if you want to complete this stock transfer.",
16604
16577
  "flags": {
16605
16578
  "organization": {
16606
16579
  "char": "o",
@@ -16665,7 +16638,7 @@
16665
16638
  },
16666
16639
  "hasDynamicHelp": false,
16667
16640
  "hiddenAliases": [],
16668
- "id": "shipment:cancel",
16641
+ "id": "stock_transfer:complete",
16669
16642
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16670
16643
  "pluginName": "@commercelayer/cli-plugin-triggers",
16671
16644
  "pluginType": "core",
@@ -16675,11 +16648,11 @@
16675
16648
  "relativePath": [
16676
16649
  "lib",
16677
16650
  "commands",
16678
- "shipment",
16679
- "cancel.js"
16651
+ "stock_transfer",
16652
+ "complete.js"
16680
16653
  ]
16681
16654
  },
16682
- "shipment:decrement_stock": {
16655
+ "stock_transfer:in_transit": {
16683
16656
  "aliases": [],
16684
16657
  "args": {
16685
16658
  "id": {
@@ -16688,7 +16661,7 @@
16688
16661
  "required": true
16689
16662
  }
16690
16663
  },
16691
- "description": "Send this attribute if you want to 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.",
16664
+ "description": "Send this attribute if you want to mark this stock transfer as in transit.",
16692
16665
  "flags": {
16693
16666
  "organization": {
16694
16667
  "char": "o",
@@ -16753,7 +16726,7 @@
16753
16726
  },
16754
16727
  "hasDynamicHelp": false,
16755
16728
  "hiddenAliases": [],
16756
- "id": "shipment:decrement_stock",
16729
+ "id": "stock_transfer:in_transit",
16757
16730
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16758
16731
  "pluginName": "@commercelayer/cli-plugin-triggers",
16759
16732
  "pluginType": "core",
@@ -16763,11 +16736,11 @@
16763
16736
  "relativePath": [
16764
16737
  "lib",
16765
16738
  "commands",
16766
- "shipment",
16767
- "decrement_stock.js"
16739
+ "stock_transfer",
16740
+ "in_transit.js"
16768
16741
  ]
16769
16742
  },
16770
- "shipment:deliver": {
16743
+ "stock_transfer": {
16771
16744
  "aliases": [],
16772
16745
  "args": {
16773
16746
  "id": {
@@ -16776,7 +16749,7 @@
16776
16749
  "required": true
16777
16750
  }
16778
16751
  },
16779
- "description": "Send this attribute if you want to mark this shipment as delivered.",
16752
+ "description": "execute an action on a resource of type stock_transfers",
16780
16753
  "flags": {
16781
16754
  "organization": {
16782
16755
  "char": "o",
@@ -16841,7 +16814,7 @@
16841
16814
  },
16842
16815
  "hasDynamicHelp": false,
16843
16816
  "hiddenAliases": [],
16844
- "id": "shipment:deliver",
16817
+ "id": "stock_transfer",
16845
16818
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16846
16819
  "pluginName": "@commercelayer/cli-plugin-triggers",
16847
16820
  "pluginType": "core",
@@ -16851,11 +16824,11 @@
16851
16824
  "relativePath": [
16852
16825
  "lib",
16853
16826
  "commands",
16854
- "shipment",
16855
- "deliver.js"
16827
+ "stock_transfer",
16828
+ "index.js"
16856
16829
  ]
16857
16830
  },
16858
- "shipment:get_rates": {
16831
+ "stock_transfer:on_hold": {
16859
16832
  "aliases": [],
16860
16833
  "args": {
16861
16834
  "id": {
@@ -16864,7 +16837,7 @@
16864
16837
  "required": true
16865
16838
  }
16866
16839
  },
16867
- "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
16840
+ "description": "Send this attribute if you want to put this stock transfer on hold.",
16868
16841
  "flags": {
16869
16842
  "organization": {
16870
16843
  "char": "o",
@@ -16929,7 +16902,7 @@
16929
16902
  },
16930
16903
  "hasDynamicHelp": false,
16931
16904
  "hiddenAliases": [],
16932
- "id": "shipment:get_rates",
16905
+ "id": "stock_transfer:on_hold",
16933
16906
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
16934
16907
  "pluginName": "@commercelayer/cli-plugin-triggers",
16935
16908
  "pluginType": "core",
@@ -16939,11 +16912,11 @@
16939
16912
  "relativePath": [
16940
16913
  "lib",
16941
16914
  "commands",
16942
- "shipment",
16943
- "get_rates.js"
16915
+ "stock_transfer",
16916
+ "on_hold.js"
16944
16917
  ]
16945
16918
  },
16946
- "shipment": {
16919
+ "stock_transfer:picking": {
16947
16920
  "aliases": [],
16948
16921
  "args": {
16949
16922
  "id": {
@@ -16952,7 +16925,7 @@
16952
16925
  "required": true
16953
16926
  }
16954
16927
  },
16955
- "description": "execute an action on a resource of type shipments",
16928
+ "description": "Send this attribute if you want to start picking this stock transfer.",
16956
16929
  "flags": {
16957
16930
  "organization": {
16958
16931
  "char": "o",
@@ -17017,7 +16990,7 @@
17017
16990
  },
17018
16991
  "hasDynamicHelp": false,
17019
16992
  "hiddenAliases": [],
17020
- "id": "shipment",
16993
+ "id": "stock_transfer:picking",
17021
16994
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17022
16995
  "pluginName": "@commercelayer/cli-plugin-triggers",
17023
16996
  "pluginType": "core",
@@ -17027,11 +17000,11 @@
17027
17000
  "relativePath": [
17028
17001
  "lib",
17029
17002
  "commands",
17030
- "shipment",
17031
- "index.js"
17003
+ "stock_transfer",
17004
+ "picking.js"
17032
17005
  ]
17033
17006
  },
17034
- "shipment:on_hold": {
17007
+ "stock_transfer:upcoming": {
17035
17008
  "aliases": [],
17036
17009
  "args": {
17037
17010
  "id": {
@@ -17040,7 +17013,7 @@
17040
17013
  "required": true
17041
17014
  }
17042
17015
  },
17043
- "description": "Send this attribute if you want to put this shipment on hold.",
17016
+ "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
17044
17017
  "flags": {
17045
17018
  "organization": {
17046
17019
  "char": "o",
@@ -17105,7 +17078,7 @@
17105
17078
  },
17106
17079
  "hasDynamicHelp": false,
17107
17080
  "hiddenAliases": [],
17108
- "id": "shipment:on_hold",
17081
+ "id": "stock_transfer:upcoming",
17109
17082
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17110
17083
  "pluginName": "@commercelayer/cli-plugin-triggers",
17111
17084
  "pluginType": "core",
@@ -17115,11 +17088,11 @@
17115
17088
  "relativePath": [
17116
17089
  "lib",
17117
17090
  "commands",
17118
- "shipment",
17119
- "on_hold.js"
17091
+ "stock_transfer",
17092
+ "upcoming.js"
17120
17093
  ]
17121
17094
  },
17122
- "shipment:packing": {
17095
+ "stripe_payment": {
17123
17096
  "aliases": [],
17124
17097
  "args": {
17125
17098
  "id": {
@@ -17128,7 +17101,7 @@
17128
17101
  "required": true
17129
17102
  }
17130
17103
  },
17131
- "description": "Send this attribute if you want to start packing this shipment.",
17104
+ "description": "execute an action on a resource of type stripe_payments",
17132
17105
  "flags": {
17133
17106
  "organization": {
17134
17107
  "char": "o",
@@ -17193,7 +17166,7 @@
17193
17166
  },
17194
17167
  "hasDynamicHelp": false,
17195
17168
  "hiddenAliases": [],
17196
- "id": "shipment:packing",
17169
+ "id": "stripe_payment",
17197
17170
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17198
17171
  "pluginName": "@commercelayer/cli-plugin-triggers",
17199
17172
  "pluginType": "core",
@@ -17203,11 +17176,11 @@
17203
17176
  "relativePath": [
17204
17177
  "lib",
17205
17178
  "commands",
17206
- "shipment",
17207
- "packing.js"
17179
+ "stripe_payment",
17180
+ "index.js"
17208
17181
  ]
17209
17182
  },
17210
- "shipment:picking": {
17183
+ "stripe_payment:refresh": {
17211
17184
  "aliases": [],
17212
17185
  "args": {
17213
17186
  "id": {
@@ -17216,7 +17189,7 @@
17216
17189
  "required": true
17217
17190
  }
17218
17191
  },
17219
- "description": "Send this attribute if you want to start picking this shipment.",
17192
+ "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
17220
17193
  "flags": {
17221
17194
  "organization": {
17222
17195
  "char": "o",
@@ -17281,7 +17254,7 @@
17281
17254
  },
17282
17255
  "hasDynamicHelp": false,
17283
17256
  "hiddenAliases": [],
17284
- "id": "shipment:picking",
17257
+ "id": "stripe_payment:refresh",
17285
17258
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17286
17259
  "pluginName": "@commercelayer/cli-plugin-triggers",
17287
17260
  "pluginType": "core",
@@ -17291,11 +17264,11 @@
17291
17264
  "relativePath": [
17292
17265
  "lib",
17293
17266
  "commands",
17294
- "shipment",
17295
- "picking.js"
17267
+ "stripe_payment",
17268
+ "refresh.js"
17296
17269
  ]
17297
17270
  },
17298
- "shipment:purchase": {
17271
+ "stripe_payment:update": {
17299
17272
  "aliases": [],
17300
17273
  "args": {
17301
17274
  "id": {
@@ -17304,7 +17277,7 @@
17304
17277
  "required": true
17305
17278
  }
17306
17279
  },
17307
- "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
17280
+ "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
17308
17281
  "flags": {
17309
17282
  "organization": {
17310
17283
  "char": "o",
@@ -17369,7 +17342,7 @@
17369
17342
  },
17370
17343
  "hasDynamicHelp": false,
17371
17344
  "hiddenAliases": [],
17372
- "id": "shipment:purchase",
17345
+ "id": "stripe_payment:update",
17373
17346
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17374
17347
  "pluginName": "@commercelayer/cli-plugin-triggers",
17375
17348
  "pluginType": "core",
@@ -17379,11 +17352,11 @@
17379
17352
  "relativePath": [
17380
17353
  "lib",
17381
17354
  "commands",
17382
- "shipment",
17383
- "purchase.js"
17355
+ "stripe_payment",
17356
+ "update.js"
17384
17357
  ]
17385
17358
  },
17386
- "shipment:ready_to_ship": {
17359
+ "vertex_account": {
17387
17360
  "aliases": [],
17388
17361
  "args": {
17389
17362
  "id": {
@@ -17392,7 +17365,7 @@
17392
17365
  "required": true
17393
17366
  }
17394
17367
  },
17395
- "description": "Send this attribute if you want to mark this shipment as ready to ship.",
17368
+ "description": "execute an action on a resource of type vertex_accounts",
17396
17369
  "flags": {
17397
17370
  "organization": {
17398
17371
  "char": "o",
@@ -17457,7 +17430,7 @@
17457
17430
  },
17458
17431
  "hasDynamicHelp": false,
17459
17432
  "hiddenAliases": [],
17460
- "id": "shipment:ready_to_ship",
17433
+ "id": "vertex_account",
17461
17434
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17462
17435
  "pluginName": "@commercelayer/cli-plugin-triggers",
17463
17436
  "pluginType": "core",
@@ -17467,11 +17440,11 @@
17467
17440
  "relativePath": [
17468
17441
  "lib",
17469
17442
  "commands",
17470
- "shipment",
17471
- "ready_to_ship.js"
17443
+ "vertex_account",
17444
+ "index.js"
17472
17445
  ]
17473
17446
  },
17474
- "shipment:release_stock": {
17447
+ "vertex_account:refresh_token": {
17475
17448
  "aliases": [],
17476
17449
  "args": {
17477
17450
  "id": {
@@ -17480,7 +17453,7 @@
17480
17453
  "required": true
17481
17454
  }
17482
17455
  },
17483
- "description": "Send this attribute if you want to 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.",
17456
+ "description": "Send this attribute if you want to manually refresh the access token.",
17484
17457
  "flags": {
17485
17458
  "organization": {
17486
17459
  "char": "o",
@@ -17545,7 +17518,7 @@
17545
17518
  },
17546
17519
  "hasDynamicHelp": false,
17547
17520
  "hiddenAliases": [],
17548
- "id": "shipment:release_stock",
17521
+ "id": "vertex_account:refresh_token",
17549
17522
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17550
17523
  "pluginName": "@commercelayer/cli-plugin-triggers",
17551
17524
  "pluginType": "core",
@@ -17555,11 +17528,11 @@
17555
17528
  "relativePath": [
17556
17529
  "lib",
17557
17530
  "commands",
17558
- "shipment",
17559
- "release_stock.js"
17531
+ "vertex_account",
17532
+ "refresh_token.js"
17560
17533
  ]
17561
17534
  },
17562
- "shipment:remove_tags": {
17535
+ "void:forward": {
17563
17536
  "aliases": [],
17564
17537
  "args": {
17565
17538
  "id": {
@@ -17568,7 +17541,7 @@
17568
17541
  "required": true
17569
17542
  }
17570
17543
  },
17571
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17544
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
17572
17545
  "flags": {
17573
17546
  "organization": {
17574
17547
  "char": "o",
@@ -17633,7 +17606,7 @@
17633
17606
  },
17634
17607
  "hasDynamicHelp": false,
17635
17608
  "hiddenAliases": [],
17636
- "id": "shipment:remove_tags",
17609
+ "id": "void:forward",
17637
17610
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17638
17611
  "pluginName": "@commercelayer/cli-plugin-triggers",
17639
17612
  "pluginType": "core",
@@ -17643,11 +17616,11 @@
17643
17616
  "relativePath": [
17644
17617
  "lib",
17645
17618
  "commands",
17646
- "shipment",
17647
- "remove_tags.js"
17619
+ "void",
17620
+ "forward.js"
17648
17621
  ]
17649
17622
  },
17650
- "shipment:reserve_stock": {
17623
+ "void": {
17651
17624
  "aliases": [],
17652
17625
  "args": {
17653
17626
  "id": {
@@ -17656,7 +17629,7 @@
17656
17629
  "required": true
17657
17630
  }
17658
17631
  },
17659
- "description": "Send this attribute 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.",
17632
+ "description": "execute an action on a resource of type voids",
17660
17633
  "flags": {
17661
17634
  "organization": {
17662
17635
  "char": "o",
@@ -17721,7 +17694,7 @@
17721
17694
  },
17722
17695
  "hasDynamicHelp": false,
17723
17696
  "hiddenAliases": [],
17724
- "id": "shipment:reserve_stock",
17697
+ "id": "void",
17725
17698
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17726
17699
  "pluginName": "@commercelayer/cli-plugin-triggers",
17727
17700
  "pluginType": "core",
@@ -17731,11 +17704,11 @@
17731
17704
  "relativePath": [
17732
17705
  "lib",
17733
17706
  "commands",
17734
- "shipment",
17735
- "reserve_stock.js"
17707
+ "void",
17708
+ "index.js"
17736
17709
  ]
17737
17710
  },
17738
- "shipment:ship": {
17711
+ "webhook:disable": {
17739
17712
  "aliases": [],
17740
17713
  "args": {
17741
17714
  "id": {
@@ -17744,7 +17717,7 @@
17744
17717
  "required": true
17745
17718
  }
17746
17719
  },
17747
- "description": "Send this attribute if you want to mark this shipment as shipped.",
17720
+ "description": "Send this attribute if you want to mark this resource as disabled.",
17748
17721
  "flags": {
17749
17722
  "organization": {
17750
17723
  "char": "o",
@@ -17809,7 +17782,7 @@
17809
17782
  },
17810
17783
  "hasDynamicHelp": false,
17811
17784
  "hiddenAliases": [],
17812
- "id": "shipment:ship",
17785
+ "id": "webhook:disable",
17813
17786
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17814
17787
  "pluginName": "@commercelayer/cli-plugin-triggers",
17815
17788
  "pluginType": "core",
@@ -17819,11 +17792,11 @@
17819
17792
  "relativePath": [
17820
17793
  "lib",
17821
17794
  "commands",
17822
- "shipment",
17823
- "ship.js"
17795
+ "webhook",
17796
+ "disable.js"
17824
17797
  ]
17825
17798
  },
17826
- "shipment:upcoming": {
17799
+ "webhook:enable": {
17827
17800
  "aliases": [],
17828
17801
  "args": {
17829
17802
  "id": {
@@ -17832,7 +17805,7 @@
17832
17805
  "required": true
17833
17806
  }
17834
17807
  },
17835
- "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
17808
+ "description": "Send this attribute if you want to mark this resource as enabled.",
17836
17809
  "flags": {
17837
17810
  "organization": {
17838
17811
  "char": "o",
@@ -17897,7 +17870,7 @@
17897
17870
  },
17898
17871
  "hasDynamicHelp": false,
17899
17872
  "hiddenAliases": [],
17900
- "id": "shipment:upcoming",
17873
+ "id": "webhook:enable",
17901
17874
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17902
17875
  "pluginName": "@commercelayer/cli-plugin-triggers",
17903
17876
  "pluginType": "core",
@@ -17907,11 +17880,11 @@
17907
17880
  "relativePath": [
17908
17881
  "lib",
17909
17882
  "commands",
17910
- "shipment",
17911
- "upcoming.js"
17883
+ "webhook",
17884
+ "enable.js"
17912
17885
  ]
17913
17886
  },
17914
- "shipping_method:disable": {
17887
+ "webhook": {
17915
17888
  "aliases": [],
17916
17889
  "args": {
17917
17890
  "id": {
@@ -17920,7 +17893,7 @@
17920
17893
  "required": true
17921
17894
  }
17922
17895
  },
17923
- "description": "Send this attribute if you want to mark this resource as disabled.",
17896
+ "description": "execute an action on a resource of type webhooks",
17924
17897
  "flags": {
17925
17898
  "organization": {
17926
17899
  "char": "o",
@@ -17985,7 +17958,7 @@
17985
17958
  },
17986
17959
  "hasDynamicHelp": false,
17987
17960
  "hiddenAliases": [],
17988
- "id": "shipping_method:disable",
17961
+ "id": "webhook",
17989
17962
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17990
17963
  "pluginName": "@commercelayer/cli-plugin-triggers",
17991
17964
  "pluginType": "core",
@@ -17995,11 +17968,11 @@
17995
17968
  "relativePath": [
17996
17969
  "lib",
17997
17970
  "commands",
17998
- "shipping_method",
17999
- "disable.js"
17971
+ "webhook",
17972
+ "index.js"
18000
17973
  ]
18001
17974
  },
18002
- "shipping_method:enable": {
17975
+ "webhook:reset_circuit": {
18003
17976
  "aliases": [],
18004
17977
  "args": {
18005
17978
  "id": {
@@ -18008,7 +17981,7 @@
18008
17981
  "required": true
18009
17982
  }
18010
17983
  },
18011
- "description": "Send this attribute if you want to mark this resource as enabled.",
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.",
18012
17985
  "flags": {
18013
17986
  "organization": {
18014
17987
  "char": "o",
@@ -18073,7 +18046,7 @@
18073
18046
  },
18074
18047
  "hasDynamicHelp": false,
18075
18048
  "hiddenAliases": [],
18076
- "id": "shipping_method:enable",
18049
+ "id": "webhook:reset_circuit",
18077
18050
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18078
18051
  "pluginName": "@commercelayer/cli-plugin-triggers",
18079
18052
  "pluginType": "core",
@@ -18083,11 +18056,11 @@
18083
18056
  "relativePath": [
18084
18057
  "lib",
18085
18058
  "commands",
18086
- "shipping_method",
18087
- "enable.js"
18059
+ "webhook",
18060
+ "reset_circuit.js"
18088
18061
  ]
18089
18062
  },
18090
- "shipping_method": {
18063
+ "order:add_tags": {
18091
18064
  "aliases": [],
18092
18065
  "args": {
18093
18066
  "id": {
@@ -18096,7 +18069,7 @@
18096
18069
  "required": true
18097
18070
  }
18098
18071
  },
18099
- "description": "execute an action on a resource of type shipping_methods",
18072
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18100
18073
  "flags": {
18101
18074
  "organization": {
18102
18075
  "char": "o",
@@ -18161,7 +18134,7 @@
18161
18134
  },
18162
18135
  "hasDynamicHelp": false,
18163
18136
  "hiddenAliases": [],
18164
- "id": "shipping_method",
18137
+ "id": "order:add_tags",
18165
18138
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18166
18139
  "pluginName": "@commercelayer/cli-plugin-triggers",
18167
18140
  "pluginType": "core",
@@ -18171,11 +18144,11 @@
18171
18144
  "relativePath": [
18172
18145
  "lib",
18173
18146
  "commands",
18174
- "shipping_method",
18175
- "index.js"
18147
+ "order",
18148
+ "add_tags.js"
18176
18149
  ]
18177
18150
  },
18178
- "shipping_method:reset_circuit": {
18151
+ "order:approve": {
18179
18152
  "aliases": [],
18180
18153
  "args": {
18181
18154
  "id": {
@@ -18184,7 +18157,7 @@
18184
18157
  "required": true
18185
18158
  }
18186
18159
  },
18187
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
18160
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
18188
18161
  "flags": {
18189
18162
  "organization": {
18190
18163
  "char": "o",
@@ -18249,7 +18222,7 @@
18249
18222
  },
18250
18223
  "hasDynamicHelp": false,
18251
18224
  "hiddenAliases": [],
18252
- "id": "shipping_method:reset_circuit",
18225
+ "id": "order:approve",
18253
18226
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18254
18227
  "pluginName": "@commercelayer/cli-plugin-triggers",
18255
18228
  "pluginType": "core",
@@ -18259,11 +18232,11 @@
18259
18232
  "relativePath": [
18260
18233
  "lib",
18261
18234
  "commands",
18262
- "shipping_method",
18263
- "reset_circuit.js"
18235
+ "order",
18236
+ "approve.js"
18264
18237
  ]
18265
18238
  },
18266
- "sku:add_tags": {
18239
+ "order:approve_and_capture": {
18267
18240
  "aliases": [],
18268
18241
  "args": {
18269
18242
  "id": {
@@ -18272,7 +18245,7 @@
18272
18245
  "required": true
18273
18246
  }
18274
18247
  },
18275
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18248
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
18276
18249
  "flags": {
18277
18250
  "organization": {
18278
18251
  "char": "o",
@@ -18337,7 +18310,7 @@
18337
18310
  },
18338
18311
  "hasDynamicHelp": false,
18339
18312
  "hiddenAliases": [],
18340
- "id": "sku:add_tags",
18313
+ "id": "order:approve_and_capture",
18341
18314
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18342
18315
  "pluginName": "@commercelayer/cli-plugin-triggers",
18343
18316
  "pluginType": "core",
@@ -18347,11 +18320,11 @@
18347
18320
  "relativePath": [
18348
18321
  "lib",
18349
18322
  "commands",
18350
- "sku",
18351
- "add_tags.js"
18323
+ "order",
18324
+ "approve_and_capture.js"
18352
18325
  ]
18353
18326
  },
18354
- "sku": {
18327
+ "order:archive": {
18355
18328
  "aliases": [],
18356
18329
  "args": {
18357
18330
  "id": {
@@ -18360,7 +18333,7 @@
18360
18333
  "required": true
18361
18334
  }
18362
18335
  },
18363
- "description": "execute an action on a resource of type skus",
18336
+ "description": "Send this attribute if you want to archive the order.",
18364
18337
  "flags": {
18365
18338
  "organization": {
18366
18339
  "char": "o",
@@ -18425,7 +18398,7 @@
18425
18398
  },
18426
18399
  "hasDynamicHelp": false,
18427
18400
  "hiddenAliases": [],
18428
- "id": "sku",
18401
+ "id": "order:archive",
18429
18402
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18430
18403
  "pluginName": "@commercelayer/cli-plugin-triggers",
18431
18404
  "pluginType": "core",
@@ -18435,11 +18408,11 @@
18435
18408
  "relativePath": [
18436
18409
  "lib",
18437
18410
  "commands",
18438
- "sku",
18439
- "index.js"
18411
+ "order",
18412
+ "archive.js"
18440
18413
  ]
18441
18414
  },
18442
- "sku:remove_tags": {
18415
+ "order:authorization_amount_cents": {
18443
18416
  "aliases": [],
18444
18417
  "args": {
18445
18418
  "id": {
@@ -18448,7 +18421,7 @@
18448
18421
  "required": true
18449
18422
  }
18450
18423
  },
18451
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18424
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
18452
18425
  "flags": {
18453
18426
  "organization": {
18454
18427
  "char": "o",
@@ -18513,7 +18486,7 @@
18513
18486
  },
18514
18487
  "hasDynamicHelp": false,
18515
18488
  "hiddenAliases": [],
18516
- "id": "sku:remove_tags",
18489
+ "id": "order:authorization_amount_cents",
18517
18490
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18518
18491
  "pluginName": "@commercelayer/cli-plugin-triggers",
18519
18492
  "pluginType": "core",
@@ -18523,11 +18496,11 @@
18523
18496
  "relativePath": [
18524
18497
  "lib",
18525
18498
  "commands",
18526
- "sku",
18527
- "remove_tags.js"
18499
+ "order",
18500
+ "authorization_amount_cents.js"
18528
18501
  ]
18529
18502
  },
18530
- "sku_option:add_tags": {
18503
+ "order:authorize": {
18531
18504
  "aliases": [],
18532
18505
  "args": {
18533
18506
  "id": {
@@ -18536,7 +18509,7 @@
18536
18509
  "required": true
18537
18510
  }
18538
18511
  },
18539
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18512
+ "description": "Send this attribute if you want to authorize the order's payment source.",
18540
18513
  "flags": {
18541
18514
  "organization": {
18542
18515
  "char": "o",
@@ -18601,7 +18574,7 @@
18601
18574
  },
18602
18575
  "hasDynamicHelp": false,
18603
18576
  "hiddenAliases": [],
18604
- "id": "sku_option:add_tags",
18577
+ "id": "order:authorize",
18605
18578
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18606
18579
  "pluginName": "@commercelayer/cli-plugin-triggers",
18607
18580
  "pluginType": "core",
@@ -18611,11 +18584,11 @@
18611
18584
  "relativePath": [
18612
18585
  "lib",
18613
18586
  "commands",
18614
- "sku_option",
18615
- "add_tags.js"
18587
+ "order",
18588
+ "authorize.js"
18616
18589
  ]
18617
18590
  },
18618
- "sku_option": {
18591
+ "order:billing_address_clone_id": {
18619
18592
  "aliases": [],
18620
18593
  "args": {
18621
18594
  "id": {
@@ -18624,7 +18597,7 @@
18624
18597
  "required": true
18625
18598
  }
18626
18599
  },
18627
- "description": "execute an action on a resource of type sku_options",
18600
+ "description": "The id of the address that you want to clone to create the order's billing address.",
18628
18601
  "flags": {
18629
18602
  "organization": {
18630
18603
  "char": "o",
@@ -18685,11 +18658,20 @@
18685
18658
  "name": "unformatted",
18686
18659
  "allowNo": false,
18687
18660
  "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"
18688
18670
  }
18689
18671
  },
18690
18672
  "hasDynamicHelp": false,
18691
18673
  "hiddenAliases": [],
18692
- "id": "sku_option",
18674
+ "id": "order:billing_address_clone_id",
18693
18675
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18694
18676
  "pluginName": "@commercelayer/cli-plugin-triggers",
18695
18677
  "pluginType": "core",
@@ -18699,11 +18681,11 @@
18699
18681
  "relativePath": [
18700
18682
  "lib",
18701
18683
  "commands",
18702
- "sku_option",
18703
- "index.js"
18684
+ "order",
18685
+ "billing_address_clone_id.js"
18704
18686
  ]
18705
18687
  },
18706
- "sku_option:remove_tags": {
18688
+ "order:billing_address_same_as_shipping": {
18707
18689
  "aliases": [],
18708
18690
  "args": {
18709
18691
  "id": {
@@ -18712,7 +18694,7 @@
18712
18694
  "required": true
18713
18695
  }
18714
18696
  },
18715
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18697
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
18716
18698
  "flags": {
18717
18699
  "organization": {
18718
18700
  "char": "o",
@@ -18777,7 +18759,7 @@
18777
18759
  },
18778
18760
  "hasDynamicHelp": false,
18779
18761
  "hiddenAliases": [],
18780
- "id": "sku_option:remove_tags",
18762
+ "id": "order:billing_address_same_as_shipping",
18781
18763
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18782
18764
  "pluginName": "@commercelayer/cli-plugin-triggers",
18783
18765
  "pluginType": "core",
@@ -18787,11 +18769,11 @@
18787
18769
  "relativePath": [
18788
18770
  "lib",
18789
18771
  "commands",
18790
- "sku_option",
18791
- "remove_tags.js"
18772
+ "order",
18773
+ "billing_address_same_as_shipping.js"
18792
18774
  ]
18793
18775
  },
18794
- "stock_item": {
18776
+ "order:cancel": {
18795
18777
  "aliases": [],
18796
18778
  "args": {
18797
18779
  "id": {
@@ -18800,7 +18782,7 @@
18800
18782
  "required": true
18801
18783
  }
18802
18784
  },
18803
- "description": "execute an action on a resource of type stock_items",
18785
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
18804
18786
  "flags": {
18805
18787
  "organization": {
18806
18788
  "char": "o",
@@ -18865,7 +18847,7 @@
18865
18847
  },
18866
18848
  "hasDynamicHelp": false,
18867
18849
  "hiddenAliases": [],
18868
- "id": "stock_item",
18850
+ "id": "order:cancel",
18869
18851
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18870
18852
  "pluginName": "@commercelayer/cli-plugin-triggers",
18871
18853
  "pluginType": "core",
@@ -18875,11 +18857,11 @@
18875
18857
  "relativePath": [
18876
18858
  "lib",
18877
18859
  "commands",
18878
- "stock_item",
18879
- "index.js"
18860
+ "order",
18861
+ "cancel.js"
18880
18862
  ]
18881
18863
  },
18882
- "stock_item:validate": {
18864
+ "order:capture": {
18883
18865
  "aliases": [],
18884
18866
  "args": {
18885
18867
  "id": {
@@ -18888,7 +18870,7 @@
18888
18870
  "required": true
18889
18871
  }
18890
18872
  },
18891
- "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.",
18873
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
18892
18874
  "flags": {
18893
18875
  "organization": {
18894
18876
  "char": "o",
@@ -18953,7 +18935,7 @@
18953
18935
  },
18954
18936
  "hasDynamicHelp": false,
18955
18937
  "hiddenAliases": [],
18956
- "id": "stock_item:validate",
18938
+ "id": "order:capture",
18957
18939
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18958
18940
  "pluginName": "@commercelayer/cli-plugin-triggers",
18959
18941
  "pluginType": "core",
@@ -18963,11 +18945,11 @@
18963
18945
  "relativePath": [
18964
18946
  "lib",
18965
18947
  "commands",
18966
- "stock_item",
18967
- "validate.js"
18948
+ "order",
18949
+ "capture.js"
18968
18950
  ]
18969
18951
  },
18970
- "stock_line_item:decrement_stock": {
18952
+ "order:commit_invoice": {
18971
18953
  "aliases": [],
18972
18954
  "args": {
18973
18955
  "id": {
@@ -18976,7 +18958,7 @@
18976
18958
  "required": true
18977
18959
  }
18978
18960
  },
18979
- "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.",
18961
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
18980
18962
  "flags": {
18981
18963
  "organization": {
18982
18964
  "char": "o",
@@ -19041,7 +19023,7 @@
19041
19023
  },
19042
19024
  "hasDynamicHelp": false,
19043
19025
  "hiddenAliases": [],
19044
- "id": "stock_line_item:decrement_stock",
19026
+ "id": "order:commit_invoice",
19045
19027
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19046
19028
  "pluginName": "@commercelayer/cli-plugin-triggers",
19047
19029
  "pluginType": "core",
@@ -19051,11 +19033,11 @@
19051
19033
  "relativePath": [
19052
19034
  "lib",
19053
19035
  "commands",
19054
- "stock_line_item",
19055
- "decrement_stock.js"
19036
+ "order",
19037
+ "commit_invoice.js"
19056
19038
  ]
19057
19039
  },
19058
- "stock_line_item": {
19040
+ "order:create_subscriptions": {
19059
19041
  "aliases": [],
19060
19042
  "args": {
19061
19043
  "id": {
@@ -19064,7 +19046,7 @@
19064
19046
  "required": true
19065
19047
  }
19066
19048
  },
19067
- "description": "execute an action on a resource of type stock_line_items",
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.",
19068
19050
  "flags": {
19069
19051
  "organization": {
19070
19052
  "char": "o",
@@ -19129,7 +19111,7 @@
19129
19111
  },
19130
19112
  "hasDynamicHelp": false,
19131
19113
  "hiddenAliases": [],
19132
- "id": "stock_line_item",
19114
+ "id": "order:create_subscriptions",
19133
19115
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19134
19116
  "pluginName": "@commercelayer/cli-plugin-triggers",
19135
19117
  "pluginType": "core",
@@ -19139,11 +19121,11 @@
19139
19121
  "relativePath": [
19140
19122
  "lib",
19141
19123
  "commands",
19142
- "stock_line_item",
19143
- "index.js"
19124
+ "order",
19125
+ "create_subscriptions.js"
19144
19126
  ]
19145
19127
  },
19146
- "stock_line_item:release_stock": {
19128
+ "order:customer_payment_source_id": {
19147
19129
  "aliases": [],
19148
19130
  "args": {
19149
19131
  "id": {
@@ -19152,7 +19134,7 @@
19152
19134
  "required": true
19153
19135
  }
19154
19136
  },
19155
- "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.",
19137
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
19156
19138
  "flags": {
19157
19139
  "organization": {
19158
19140
  "char": "o",
@@ -19213,11 +19195,20 @@
19213
19195
  "name": "unformatted",
19214
19196
  "allowNo": false,
19215
19197
  "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"
19216
19207
  }
19217
19208
  },
19218
19209
  "hasDynamicHelp": false,
19219
19210
  "hiddenAliases": [],
19220
- "id": "stock_line_item:release_stock",
19211
+ "id": "order:customer_payment_source_id",
19221
19212
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19222
19213
  "pluginName": "@commercelayer/cli-plugin-triggers",
19223
19214
  "pluginType": "core",
@@ -19227,11 +19218,11 @@
19227
19218
  "relativePath": [
19228
19219
  "lib",
19229
19220
  "commands",
19230
- "stock_line_item",
19231
- "release_stock.js"
19221
+ "order",
19222
+ "customer_payment_source_id.js"
19232
19223
  ]
19233
19224
  },
19234
- "stock_line_item:reserve_stock": {
19225
+ "order:fix_payment_source": {
19235
19226
  "aliases": [],
19236
19227
  "args": {
19237
19228
  "id": {
@@ -19240,7 +19231,7 @@
19240
19231
  "required": true
19241
19232
  }
19242
19233
  },
19243
- "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.",
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.",
19244
19235
  "flags": {
19245
19236
  "organization": {
19246
19237
  "char": "o",
@@ -19305,7 +19296,7 @@
19305
19296
  },
19306
19297
  "hasDynamicHelp": false,
19307
19298
  "hiddenAliases": [],
19308
- "id": "stock_line_item:reserve_stock",
19299
+ "id": "order:fix_payment_source",
19309
19300
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19310
19301
  "pluginName": "@commercelayer/cli-plugin-triggers",
19311
19302
  "pluginType": "core",
@@ -19315,11 +19306,11 @@
19315
19306
  "relativePath": [
19316
19307
  "lib",
19317
19308
  "commands",
19318
- "stock_line_item",
19319
- "reserve_stock.js"
19309
+ "order",
19310
+ "fix_payment_source.js"
19320
19311
  ]
19321
19312
  },
19322
- "stock_reservation": {
19313
+ "order:fulfill": {
19323
19314
  "aliases": [],
19324
19315
  "args": {
19325
19316
  "id": {
@@ -19328,7 +19319,7 @@
19328
19319
  "required": true
19329
19320
  }
19330
19321
  },
19331
- "description": "execute an action on a resource of type stock_reservations",
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.",
19332
19323
  "flags": {
19333
19324
  "organization": {
19334
19325
  "char": "o",
@@ -19393,7 +19384,7 @@
19393
19384
  },
19394
19385
  "hasDynamicHelp": false,
19395
19386
  "hiddenAliases": [],
19396
- "id": "stock_reservation",
19387
+ "id": "order:fulfill",
19397
19388
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19398
19389
  "pluginName": "@commercelayer/cli-plugin-triggers",
19399
19390
  "pluginType": "core",
@@ -19403,11 +19394,11 @@
19403
19394
  "relativePath": [
19404
19395
  "lib",
19405
19396
  "commands",
19406
- "stock_reservation",
19407
- "index.js"
19397
+ "order",
19398
+ "fulfill.js"
19408
19399
  ]
19409
19400
  },
19410
- "stock_reservation:pending": {
19401
+ "order": {
19411
19402
  "aliases": [],
19412
19403
  "args": {
19413
19404
  "id": {
@@ -19416,7 +19407,7 @@
19416
19407
  "required": true
19417
19408
  }
19418
19409
  },
19419
- "description": "Send this attribute if you want to mark this stock reservation as pending.",
19410
+ "description": "execute an action on a resource of type orders",
19420
19411
  "flags": {
19421
19412
  "organization": {
19422
19413
  "char": "o",
@@ -19481,7 +19472,7 @@
19481
19472
  },
19482
19473
  "hasDynamicHelp": false,
19483
19474
  "hiddenAliases": [],
19484
- "id": "stock_reservation:pending",
19475
+ "id": "order",
19485
19476
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19486
19477
  "pluginName": "@commercelayer/cli-plugin-triggers",
19487
19478
  "pluginType": "core",
@@ -19491,11 +19482,11 @@
19491
19482
  "relativePath": [
19492
19483
  "lib",
19493
19484
  "commands",
19494
- "stock_reservation",
19495
- "pending.js"
19485
+ "order",
19486
+ "index.js"
19496
19487
  ]
19497
19488
  },
19498
- "stock_transfer:cancel": {
19489
+ "order:nullify_payment_source": {
19499
19490
  "aliases": [],
19500
19491
  "args": {
19501
19492
  "id": {
@@ -19504,7 +19495,7 @@
19504
19495
  "required": true
19505
19496
  }
19506
19497
  },
19507
- "description": "Send this attribute if you want to cancel this stock transfer.",
19498
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
19508
19499
  "flags": {
19509
19500
  "organization": {
19510
19501
  "char": "o",
@@ -19569,7 +19560,7 @@
19569
19560
  },
19570
19561
  "hasDynamicHelp": false,
19571
19562
  "hiddenAliases": [],
19572
- "id": "stock_transfer:cancel",
19563
+ "id": "order:nullify_payment_source",
19573
19564
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19574
19565
  "pluginName": "@commercelayer/cli-plugin-triggers",
19575
19566
  "pluginType": "core",
@@ -19579,11 +19570,11 @@
19579
19570
  "relativePath": [
19580
19571
  "lib",
19581
19572
  "commands",
19582
- "stock_transfer",
19583
- "cancel.js"
19573
+ "order",
19574
+ "nullify_payment_source.js"
19584
19575
  ]
19585
19576
  },
19586
- "stock_transfer:complete": {
19577
+ "order:pending": {
19587
19578
  "aliases": [],
19588
19579
  "args": {
19589
19580
  "id": {
@@ -19592,7 +19583,7 @@
19592
19583
  "required": true
19593
19584
  }
19594
19585
  },
19595
- "description": "Send this attribute if you want to complete this stock transfer.",
19586
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
19596
19587
  "flags": {
19597
19588
  "organization": {
19598
19589
  "char": "o",
@@ -19657,7 +19648,7 @@
19657
19648
  },
19658
19649
  "hasDynamicHelp": false,
19659
19650
  "hiddenAliases": [],
19660
- "id": "stock_transfer:complete",
19651
+ "id": "order:pending",
19661
19652
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19662
19653
  "pluginName": "@commercelayer/cli-plugin-triggers",
19663
19654
  "pluginType": "core",
@@ -19667,11 +19658,11 @@
19667
19658
  "relativePath": [
19668
19659
  "lib",
19669
19660
  "commands",
19670
- "stock_transfer",
19671
- "complete.js"
19661
+ "order",
19662
+ "pending.js"
19672
19663
  ]
19673
19664
  },
19674
- "stock_transfer:in_transit": {
19665
+ "order:place": {
19675
19666
  "aliases": [],
19676
19667
  "args": {
19677
19668
  "id": {
@@ -19680,7 +19671,7 @@
19680
19671
  "required": true
19681
19672
  }
19682
19673
  },
19683
- "description": "Send this attribute if you want to mark this stock transfer as in transit.",
19674
+ "description": "Send this attribute if you want to place the order.",
19684
19675
  "flags": {
19685
19676
  "organization": {
19686
19677
  "char": "o",
@@ -19745,7 +19736,7 @@
19745
19736
  },
19746
19737
  "hasDynamicHelp": false,
19747
19738
  "hiddenAliases": [],
19748
- "id": "stock_transfer:in_transit",
19739
+ "id": "order:place",
19749
19740
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19750
19741
  "pluginName": "@commercelayer/cli-plugin-triggers",
19751
19742
  "pluginType": "core",
@@ -19755,11 +19746,11 @@
19755
19746
  "relativePath": [
19756
19747
  "lib",
19757
19748
  "commands",
19758
- "stock_transfer",
19759
- "in_transit.js"
19749
+ "order",
19750
+ "place.js"
19760
19751
  ]
19761
19752
  },
19762
- "stock_transfer": {
19753
+ "order:refresh": {
19763
19754
  "aliases": [],
19764
19755
  "args": {
19765
19756
  "id": {
@@ -19768,7 +19759,7 @@
19768
19759
  "required": true
19769
19760
  }
19770
19761
  },
19771
- "description": "execute an action on a resource of type stock_transfers",
19762
+ "description": "Send this attribute if you want to manually refresh the order.",
19772
19763
  "flags": {
19773
19764
  "organization": {
19774
19765
  "char": "o",
@@ -19833,7 +19824,7 @@
19833
19824
  },
19834
19825
  "hasDynamicHelp": false,
19835
19826
  "hiddenAliases": [],
19836
- "id": "stock_transfer",
19827
+ "id": "order:refresh",
19837
19828
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19838
19829
  "pluginName": "@commercelayer/cli-plugin-triggers",
19839
19830
  "pluginType": "core",
@@ -19843,11 +19834,11 @@
19843
19834
  "relativePath": [
19844
19835
  "lib",
19845
19836
  "commands",
19846
- "stock_transfer",
19847
- "index.js"
19837
+ "order",
19838
+ "refresh.js"
19848
19839
  ]
19849
19840
  },
19850
- "stock_transfer:on_hold": {
19841
+ "order:refund": {
19851
19842
  "aliases": [],
19852
19843
  "args": {
19853
19844
  "id": {
@@ -19856,7 +19847,7 @@
19856
19847
  "required": true
19857
19848
  }
19858
19849
  },
19859
- "description": "Send this attribute if you want to put this stock transfer on hold.",
19850
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
19860
19851
  "flags": {
19861
19852
  "organization": {
19862
19853
  "char": "o",
@@ -19921,7 +19912,7 @@
19921
19912
  },
19922
19913
  "hasDynamicHelp": false,
19923
19914
  "hiddenAliases": [],
19924
- "id": "stock_transfer:on_hold",
19915
+ "id": "order:refund",
19925
19916
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19926
19917
  "pluginName": "@commercelayer/cli-plugin-triggers",
19927
19918
  "pluginType": "core",
@@ -19931,11 +19922,11 @@
19931
19922
  "relativePath": [
19932
19923
  "lib",
19933
19924
  "commands",
19934
- "stock_transfer",
19935
- "on_hold.js"
19925
+ "order",
19926
+ "refund.js"
19936
19927
  ]
19937
19928
  },
19938
- "stock_transfer:picking": {
19929
+ "order:refund_invoice": {
19939
19930
  "aliases": [],
19940
19931
  "args": {
19941
19932
  "id": {
@@ -19944,7 +19935,7 @@
19944
19935
  "required": true
19945
19936
  }
19946
19937
  },
19947
- "description": "Send this attribute if you want to start picking this stock transfer.",
19938
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
19948
19939
  "flags": {
19949
19940
  "organization": {
19950
19941
  "char": "o",
@@ -20009,7 +20000,7 @@
20009
20000
  },
20010
20001
  "hasDynamicHelp": false,
20011
20002
  "hiddenAliases": [],
20012
- "id": "stock_transfer:picking",
20003
+ "id": "order:refund_invoice",
20013
20004
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20014
20005
  "pluginName": "@commercelayer/cli-plugin-triggers",
20015
20006
  "pluginType": "core",
@@ -20019,11 +20010,11 @@
20019
20010
  "relativePath": [
20020
20011
  "lib",
20021
20012
  "commands",
20022
- "stock_transfer",
20023
- "picking.js"
20013
+ "order",
20014
+ "refund_invoice.js"
20024
20015
  ]
20025
20016
  },
20026
- "stock_transfer:upcoming": {
20017
+ "order:remove_tags": {
20027
20018
  "aliases": [],
20028
20019
  "args": {
20029
20020
  "id": {
@@ -20032,7 +20023,7 @@
20032
20023
  "required": true
20033
20024
  }
20034
20025
  },
20035
- "description": "Send this attribute if you want to mark this stock transfer as upcoming.",
20026
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20036
20027
  "flags": {
20037
20028
  "organization": {
20038
20029
  "char": "o",
@@ -20097,7 +20088,7 @@
20097
20088
  },
20098
20089
  "hasDynamicHelp": false,
20099
20090
  "hiddenAliases": [],
20100
- "id": "stock_transfer:upcoming",
20091
+ "id": "order:remove_tags",
20101
20092
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20102
20093
  "pluginName": "@commercelayer/cli-plugin-triggers",
20103
20094
  "pluginType": "core",
@@ -20107,11 +20098,11 @@
20107
20098
  "relativePath": [
20108
20099
  "lib",
20109
20100
  "commands",
20110
- "stock_transfer",
20111
- "upcoming.js"
20101
+ "order",
20102
+ "remove_tags.js"
20112
20103
  ]
20113
20104
  },
20114
- "stripe_payment": {
20105
+ "order:reset_circuit": {
20115
20106
  "aliases": [],
20116
20107
  "args": {
20117
20108
  "id": {
@@ -20120,7 +20111,7 @@
20120
20111
  "required": true
20121
20112
  }
20122
20113
  },
20123
- "description": "execute an action on a resource of type stripe_payments",
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.",
20124
20115
  "flags": {
20125
20116
  "organization": {
20126
20117
  "char": "o",
@@ -20185,7 +20176,7 @@
20185
20176
  },
20186
20177
  "hasDynamicHelp": false,
20187
20178
  "hiddenAliases": [],
20188
- "id": "stripe_payment",
20179
+ "id": "order:reset_circuit",
20189
20180
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20190
20181
  "pluginName": "@commercelayer/cli-plugin-triggers",
20191
20182
  "pluginType": "core",
@@ -20195,11 +20186,11 @@
20195
20186
  "relativePath": [
20196
20187
  "lib",
20197
20188
  "commands",
20198
- "stripe_payment",
20199
- "index.js"
20189
+ "order",
20190
+ "reset_circuit.js"
20200
20191
  ]
20201
20192
  },
20202
- "stripe_payment:refresh": {
20193
+ "order:save_billing_address_to_customer_address_book": {
20203
20194
  "aliases": [],
20204
20195
  "args": {
20205
20196
  "id": {
@@ -20208,7 +20199,7 @@
20208
20199
  "required": true
20209
20200
  }
20210
20201
  },
20211
- "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
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.",
20212
20203
  "flags": {
20213
20204
  "organization": {
20214
20205
  "char": "o",
@@ -20273,7 +20264,7 @@
20273
20264
  },
20274
20265
  "hasDynamicHelp": false,
20275
20266
  "hiddenAliases": [],
20276
- "id": "stripe_payment:refresh",
20267
+ "id": "order:save_billing_address_to_customer_address_book",
20277
20268
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20278
20269
  "pluginName": "@commercelayer/cli-plugin-triggers",
20279
20270
  "pluginType": "core",
@@ -20283,11 +20274,11 @@
20283
20274
  "relativePath": [
20284
20275
  "lib",
20285
20276
  "commands",
20286
- "stripe_payment",
20287
- "refresh.js"
20277
+ "order",
20278
+ "save_billing_address_to_customer_address_book.js"
20288
20279
  ]
20289
20280
  },
20290
- "stripe_payment:update": {
20281
+ "order:save_payment_source_to_customer_wallet": {
20291
20282
  "aliases": [],
20292
20283
  "args": {
20293
20284
  "id": {
@@ -20296,7 +20287,7 @@
20296
20287
  "required": true
20297
20288
  }
20298
20289
  },
20299
- "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
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.",
20300
20291
  "flags": {
20301
20292
  "organization": {
20302
20293
  "char": "o",
@@ -20361,7 +20352,7 @@
20361
20352
  },
20362
20353
  "hasDynamicHelp": false,
20363
20354
  "hiddenAliases": [],
20364
- "id": "stripe_payment:update",
20355
+ "id": "order:save_payment_source_to_customer_wallet",
20365
20356
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20366
20357
  "pluginName": "@commercelayer/cli-plugin-triggers",
20367
20358
  "pluginType": "core",
@@ -20371,11 +20362,11 @@
20371
20362
  "relativePath": [
20372
20363
  "lib",
20373
20364
  "commands",
20374
- "stripe_payment",
20375
- "update.js"
20365
+ "order",
20366
+ "save_payment_source_to_customer_wallet.js"
20376
20367
  ]
20377
20368
  },
20378
- "vertex_account": {
20369
+ "order:save_shipping_address_to_customer_address_book": {
20379
20370
  "aliases": [],
20380
20371
  "args": {
20381
20372
  "id": {
@@ -20384,7 +20375,7 @@
20384
20375
  "required": true
20385
20376
  }
20386
20377
  },
20387
- "description": "execute an action on a resource of type vertex_accounts",
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.",
20388
20379
  "flags": {
20389
20380
  "organization": {
20390
20381
  "char": "o",
@@ -20449,7 +20440,7 @@
20449
20440
  },
20450
20441
  "hasDynamicHelp": false,
20451
20442
  "hiddenAliases": [],
20452
- "id": "vertex_account",
20443
+ "id": "order:save_shipping_address_to_customer_address_book",
20453
20444
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20454
20445
  "pluginName": "@commercelayer/cli-plugin-triggers",
20455
20446
  "pluginType": "core",
@@ -20459,11 +20450,11 @@
20459
20450
  "relativePath": [
20460
20451
  "lib",
20461
20452
  "commands",
20462
- "vertex_account",
20463
- "index.js"
20453
+ "order",
20454
+ "save_shipping_address_to_customer_address_book.js"
20464
20455
  ]
20465
20456
  },
20466
- "vertex_account:refresh_token": {
20457
+ "order:shipping_address_clone_id": {
20467
20458
  "aliases": [],
20468
20459
  "args": {
20469
20460
  "id": {
@@ -20472,7 +20463,7 @@
20472
20463
  "required": true
20473
20464
  }
20474
20465
  },
20475
- "description": "Send this attribute if you want to manually refresh the access token.",
20466
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
20476
20467
  "flags": {
20477
20468
  "organization": {
20478
20469
  "char": "o",
@@ -20533,11 +20524,20 @@
20533
20524
  "name": "unformatted",
20534
20525
  "allowNo": false,
20535
20526
  "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
20536
  }
20537
20537
  },
20538
20538
  "hasDynamicHelp": false,
20539
20539
  "hiddenAliases": [],
20540
- "id": "vertex_account:refresh_token",
20540
+ "id": "order:shipping_address_clone_id",
20541
20541
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20542
20542
  "pluginName": "@commercelayer/cli-plugin-triggers",
20543
20543
  "pluginType": "core",
@@ -20547,11 +20547,11 @@
20547
20547
  "relativePath": [
20548
20548
  "lib",
20549
20549
  "commands",
20550
- "vertex_account",
20551
- "refresh_token.js"
20550
+ "order",
20551
+ "shipping_address_clone_id.js"
20552
20552
  ]
20553
20553
  },
20554
- "void:forward": {
20554
+ "order:shipping_address_same_as_billing": {
20555
20555
  "aliases": [],
20556
20556
  "args": {
20557
20557
  "id": {
@@ -20560,7 +20560,7 @@
20560
20560
  "required": true
20561
20561
  }
20562
20562
  },
20563
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
20563
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
20564
20564
  "flags": {
20565
20565
  "organization": {
20566
20566
  "char": "o",
@@ -20625,7 +20625,7 @@
20625
20625
  },
20626
20626
  "hasDynamicHelp": false,
20627
20627
  "hiddenAliases": [],
20628
- "id": "void:forward",
20628
+ "id": "order:shipping_address_same_as_billing",
20629
20629
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20630
20630
  "pluginName": "@commercelayer/cli-plugin-triggers",
20631
20631
  "pluginType": "core",
@@ -20635,11 +20635,11 @@
20635
20635
  "relativePath": [
20636
20636
  "lib",
20637
20637
  "commands",
20638
- "void",
20639
- "forward.js"
20638
+ "order",
20639
+ "shipping_address_same_as_billing.js"
20640
20640
  ]
20641
20641
  },
20642
- "void": {
20642
+ "order:start_editing": {
20643
20643
  "aliases": [],
20644
20644
  "args": {
20645
20645
  "id": {
@@ -20648,7 +20648,7 @@
20648
20648
  "required": true
20649
20649
  }
20650
20650
  },
20651
- "description": "execute an action on a resource of type voids",
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.",
20652
20652
  "flags": {
20653
20653
  "organization": {
20654
20654
  "char": "o",
@@ -20713,7 +20713,7 @@
20713
20713
  },
20714
20714
  "hasDynamicHelp": false,
20715
20715
  "hiddenAliases": [],
20716
- "id": "void",
20716
+ "id": "order:start_editing",
20717
20717
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20718
20718
  "pluginName": "@commercelayer/cli-plugin-triggers",
20719
20719
  "pluginType": "core",
@@ -20723,11 +20723,11 @@
20723
20723
  "relativePath": [
20724
20724
  "lib",
20725
20725
  "commands",
20726
- "void",
20727
- "index.js"
20726
+ "order",
20727
+ "start_editing.js"
20728
20728
  ]
20729
20729
  },
20730
- "webhook:disable": {
20730
+ "order:stop_editing": {
20731
20731
  "aliases": [],
20732
20732
  "args": {
20733
20733
  "id": {
@@ -20736,7 +20736,7 @@
20736
20736
  "required": true
20737
20737
  }
20738
20738
  },
20739
- "description": "Send this attribute if you want to mark this resource as disabled.",
20739
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
20740
20740
  "flags": {
20741
20741
  "organization": {
20742
20742
  "char": "o",
@@ -20801,7 +20801,7 @@
20801
20801
  },
20802
20802
  "hasDynamicHelp": false,
20803
20803
  "hiddenAliases": [],
20804
- "id": "webhook:disable",
20804
+ "id": "order:stop_editing",
20805
20805
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20806
20806
  "pluginName": "@commercelayer/cli-plugin-triggers",
20807
20807
  "pluginType": "core",
@@ -20811,11 +20811,11 @@
20811
20811
  "relativePath": [
20812
20812
  "lib",
20813
20813
  "commands",
20814
- "webhook",
20815
- "disable.js"
20814
+ "order",
20815
+ "stop_editing.js"
20816
20816
  ]
20817
20817
  },
20818
- "webhook:enable": {
20818
+ "order:unarchive": {
20819
20819
  "aliases": [],
20820
20820
  "args": {
20821
20821
  "id": {
@@ -20824,7 +20824,7 @@
20824
20824
  "required": true
20825
20825
  }
20826
20826
  },
20827
- "description": "Send this attribute if you want to mark this resource as enabled.",
20827
+ "description": "Send this attribute if you want to unarchive the order.",
20828
20828
  "flags": {
20829
20829
  "organization": {
20830
20830
  "char": "o",
@@ -20889,7 +20889,7 @@
20889
20889
  },
20890
20890
  "hasDynamicHelp": false,
20891
20891
  "hiddenAliases": [],
20892
- "id": "webhook:enable",
20892
+ "id": "order:unarchive",
20893
20893
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20894
20894
  "pluginName": "@commercelayer/cli-plugin-triggers",
20895
20895
  "pluginType": "core",
@@ -20899,11 +20899,11 @@
20899
20899
  "relativePath": [
20900
20900
  "lib",
20901
20901
  "commands",
20902
- "webhook",
20903
- "enable.js"
20902
+ "order",
20903
+ "unarchive.js"
20904
20904
  ]
20905
20905
  },
20906
- "webhook": {
20906
+ "order:update_taxes": {
20907
20907
  "aliases": [],
20908
20908
  "args": {
20909
20909
  "id": {
@@ -20912,7 +20912,7 @@
20912
20912
  "required": true
20913
20913
  }
20914
20914
  },
20915
- "description": "execute an action on a resource of type webhooks",
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).",
20916
20916
  "flags": {
20917
20917
  "organization": {
20918
20918
  "char": "o",
@@ -20977,7 +20977,7 @@
20977
20977
  },
20978
20978
  "hasDynamicHelp": false,
20979
20979
  "hiddenAliases": [],
20980
- "id": "webhook",
20980
+ "id": "order:update_taxes",
20981
20981
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20982
20982
  "pluginName": "@commercelayer/cli-plugin-triggers",
20983
20983
  "pluginType": "core",
@@ -20987,11 +20987,11 @@
20987
20987
  "relativePath": [
20988
20988
  "lib",
20989
20989
  "commands",
20990
- "webhook",
20991
- "index.js"
20990
+ "order",
20991
+ "update_taxes.js"
20992
20992
  ]
20993
20993
  },
20994
- "webhook:reset_circuit": {
20994
+ "order:validate": {
20995
20995
  "aliases": [],
20996
20996
  "args": {
20997
20997
  "id": {
@@ -21000,7 +21000,7 @@
21000
21000
  "required": true
21001
21001
  }
21002
21002
  },
21003
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
21003
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
21004
21004
  "flags": {
21005
21005
  "organization": {
21006
21006
  "char": "o",
@@ -21065,7 +21065,7 @@
21065
21065
  },
21066
21066
  "hasDynamicHelp": false,
21067
21067
  "hiddenAliases": [],
21068
- "id": "webhook:reset_circuit",
21068
+ "id": "order:validate",
21069
21069
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
21070
21070
  "pluginName": "@commercelayer/cli-plugin-triggers",
21071
21071
  "pluginType": "core",
@@ -21075,10 +21075,10 @@
21075
21075
  "relativePath": [
21076
21076
  "lib",
21077
21077
  "commands",
21078
- "webhook",
21079
- "reset_circuit.js"
21078
+ "order",
21079
+ "validate.js"
21080
21080
  ]
21081
21081
  }
21082
21082
  },
21083
- "version": "4.14.0"
21083
+ "version": "4.14.2"
21084
21084
  }