@commercelayer/cli-plugin-triggers 4.5.0 → 4.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -196,7 +196,7 @@
196
196
  "index.js"
197
197
  ]
198
198
  },
199
- "authorization:capture": {
199
+ "axerve_payment": {
200
200
  "aliases": [],
201
201
  "args": {
202
202
  "id": {
@@ -205,7 +205,7 @@
205
205
  "required": true
206
206
  }
207
207
  },
208
- "description": "Send this attribute if you want to create a capture for this authorization.",
208
+ "description": "execute an action on a resource of type axerve_payments",
209
209
  "flags": {
210
210
  "organization": {
211
211
  "char": "o",
@@ -270,7 +270,7 @@
270
270
  },
271
271
  "hasDynamicHelp": false,
272
272
  "hiddenAliases": [],
273
- "id": "authorization:capture",
273
+ "id": "axerve_payment",
274
274
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
275
275
  "pluginName": "@commercelayer/cli-plugin-triggers",
276
276
  "pluginType": "core",
@@ -280,11 +280,11 @@
280
280
  "relativePath": [
281
281
  "lib",
282
282
  "commands",
283
- "authorization",
284
- "capture.js"
283
+ "axerve_payment",
284
+ "index.js"
285
285
  ]
286
286
  },
287
- "authorization:capture_amount_cents": {
287
+ "axerve_payment:update": {
288
288
  "aliases": [],
289
289
  "args": {
290
290
  "id": {
@@ -293,7 +293,7 @@
293
293
  "required": true
294
294
  }
295
295
  },
296
- "description": "The associated capture amount, in cents.",
296
+ "description": "Send this attribute if you want to update the payment with fresh order data.",
297
297
  "flags": {
298
298
  "organization": {
299
299
  "char": "o",
@@ -358,7 +358,7 @@
358
358
  },
359
359
  "hasDynamicHelp": false,
360
360
  "hiddenAliases": [],
361
- "id": "authorization:capture_amount_cents",
361
+ "id": "axerve_payment:update",
362
362
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
363
363
  "pluginName": "@commercelayer/cli-plugin-triggers",
364
364
  "pluginType": "core",
@@ -368,11 +368,11 @@
368
368
  "relativePath": [
369
369
  "lib",
370
370
  "commands",
371
- "authorization",
372
- "capture_amount_cents.js"
371
+ "axerve_payment",
372
+ "update.js"
373
373
  ]
374
374
  },
375
- "authorization": {
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": "execute an action on a resource of type authorizations",
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": "authorization",
449
+ "id": "authorization:capture",
450
450
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
451
451
  "pluginName": "@commercelayer/cli-plugin-triggers",
452
452
  "pluginType": "core",
@@ -457,10 +457,10 @@
457
457
  "lib",
458
458
  "commands",
459
459
  "authorization",
460
- "index.js"
460
+ "capture.js"
461
461
  ]
462
462
  },
463
- "authorization:void": {
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 create a void for this authorization.",
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": "authorization:void",
537
+ "id": "authorization:capture_amount_cents",
538
538
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
539
539
  "pluginName": "@commercelayer/cli-plugin-triggers",
540
540
  "pluginType": "core",
@@ -545,10 +545,10 @@
545
545
  "lib",
546
546
  "commands",
547
547
  "authorization",
548
- "void.js"
548
+ "capture_amount_cents.js"
549
549
  ]
550
550
  },
551
- "axerve_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 axerve_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": "axerve_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
- "axerve_payment",
636
- "index.js"
635
+ "authorization",
636
+ "forward.js"
637
637
  ]
638
638
  },
639
- "axerve_payment:update": {
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 update the payment with fresh order data.",
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": "axerve_payment:update",
713
+ "id": "authorization",
714
714
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
715
715
  "pluginName": "@commercelayer/cli-plugin-triggers",
716
716
  "pluginType": "core",
@@ -720,11 +720,11 @@
720
720
  "relativePath": [
721
721
  "lib",
722
722
  "commands",
723
- "axerve_payment",
724
- "update.js"
723
+ "authorization",
724
+ "index.js"
725
725
  ]
726
726
  },
727
- "bundle:compute_compare_at_amount": {
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 compute the compare_at_amount_cents as the sum of the prices of the bundle SKUs for the market.",
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": "bundle:compute_compare_at_amount",
801
+ "id": "authorization:void",
802
802
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
803
803
  "pluginName": "@commercelayer/cli-plugin-triggers",
804
804
  "pluginType": "core",
@@ -808,11 +808,11 @@
808
808
  "relativePath": [
809
809
  "lib",
810
810
  "commands",
811
- "bundle",
812
- "compute_compare_at_amount.js"
811
+ "authorization",
812
+ "void.js"
813
813
  ]
814
814
  },
815
- "bundle:compute_price_amount": {
815
+ "bundle:compute_compare_at_amount": {
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 if you want to compute the price_amount_cents as the sum of the prices of the bundle SKUs for the market.",
824
+ "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.",
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": "bundle:compute_price_amount",
889
+ "id": "bundle:compute_compare_at_amount",
890
890
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
891
891
  "pluginName": "@commercelayer/cli-plugin-triggers",
892
892
  "pluginType": "core",
@@ -897,10 +897,10 @@
897
897
  "lib",
898
898
  "commands",
899
899
  "bundle",
900
- "compute_price_amount.js"
900
+ "compute_compare_at_amount.js"
901
901
  ]
902
902
  },
903
- "bundle": {
903
+ "bundle:compute_price_amount": {
904
904
  "aliases": [],
905
905
  "args": {
906
906
  "id": {
@@ -909,7 +909,7 @@
909
909
  "required": true
910
910
  }
911
911
  },
912
- "description": "execute an action on a resource of type bundles",
912
+ "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.",
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": "bundle",
977
+ "id": "bundle:compute_price_amount",
978
978
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
979
979
  "pluginName": "@commercelayer/cli-plugin-triggers",
980
980
  "pluginType": "core",
@@ -985,10 +985,10 @@
985
985
  "lib",
986
986
  "commands",
987
987
  "bundle",
988
- "index.js"
988
+ "compute_price_amount.js"
989
989
  ]
990
990
  },
991
- "buy_x_pay_y_promotion:disable": {
991
+ "bundle": {
992
992
  "aliases": [],
993
993
  "args": {
994
994
  "id": {
@@ -997,7 +997,7 @@
997
997
  "required": true
998
998
  }
999
999
  },
1000
- "description": "Send this attribute if you want to mark this resource as disabled.",
1000
+ "description": "execute an action on a resource of type bundles",
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": "buy_x_pay_y_promotion:disable",
1065
+ "id": "bundle",
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
- "buy_x_pay_y_promotion",
1076
- "disable.js"
1075
+ "bundle",
1076
+ "index.js"
1077
1077
  ]
1078
1078
  },
1079
- "buy_x_pay_y_promotion:enable": {
1079
+ "buy_x_pay_y_promotion:disable": {
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 mark this resource as enabled.",
1088
+ "description": "Send this attribute if you want to mark this resource as disabled.",
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": "buy_x_pay_y_promotion:enable",
1153
+ "id": "buy_x_pay_y_promotion:disable",
1154
1154
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1155
1155
  "pluginName": "@commercelayer/cli-plugin-triggers",
1156
1156
  "pluginType": "core",
@@ -1161,10 +1161,10 @@
1161
1161
  "lib",
1162
1162
  "commands",
1163
1163
  "buy_x_pay_y_promotion",
1164
- "enable.js"
1164
+ "disable.js"
1165
1165
  ]
1166
1166
  },
1167
- "buy_x_pay_y_promotion": {
1167
+ "buy_x_pay_y_promotion:enable": {
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 buy_x_pay_y_promotions",
1176
+ "description": "Send this attribute if you want to mark this resource as enabled.",
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": "buy_x_pay_y_promotion",
1241
+ "id": "buy_x_pay_y_promotion:enable",
1242
1242
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1243
1243
  "pluginName": "@commercelayer/cli-plugin-triggers",
1244
1244
  "pluginType": "core",
@@ -1249,10 +1249,10 @@
1249
1249
  "lib",
1250
1250
  "commands",
1251
1251
  "buy_x_pay_y_promotion",
1252
- "index.js"
1252
+ "enable.js"
1253
1253
  ]
1254
1254
  },
1255
- "capture": {
1255
+ "buy_x_pay_y_promotion": {
1256
1256
  "aliases": [],
1257
1257
  "args": {
1258
1258
  "id": {
@@ -1261,7 +1261,7 @@
1261
1261
  "required": true
1262
1262
  }
1263
1263
  },
1264
- "description": "execute an action on a resource of type captures",
1264
+ "description": "execute an action on a resource of type buy_x_pay_y_promotions",
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": "capture",
1329
+ "id": "buy_x_pay_y_promotion",
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
- "capture",
1339
+ "buy_x_pay_y_promotion",
1340
1340
  "index.js"
1341
1341
  ]
1342
1342
  },
1343
- "capture:refund": {
1343
+ "capture:forward": {
1344
1344
  "aliases": [],
1345
1345
  "args": {
1346
1346
  "id": {
@@ -1349,7 +1349,7 @@
1349
1349
  "required": true
1350
1350
  }
1351
1351
  },
1352
- "description": "Send this attribute if you want to create a refund for this capture.",
1352
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
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": "capture:refund",
1417
+ "id": "capture:forward",
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
  "capture",
1428
- "refund.js"
1428
+ "forward.js"
1429
1429
  ]
1430
1430
  },
1431
- "capture:refund_amount_cents": {
1431
+ "capture": {
1432
1432
  "aliases": [],
1433
1433
  "args": {
1434
1434
  "id": {
@@ -1437,7 +1437,7 @@
1437
1437
  "required": true
1438
1438
  }
1439
1439
  },
1440
- "description": "The associated refund amount, in cents.",
1440
+ "description": "execute an action on a resource of type captures",
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": "capture:refund_amount_cents",
1505
+ "id": "capture",
1506
1506
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1507
1507
  "pluginName": "@commercelayer/cli-plugin-triggers",
1508
1508
  "pluginType": "core",
@@ -1513,10 +1513,10 @@
1513
1513
  "lib",
1514
1514
  "commands",
1515
1515
  "capture",
1516
- "refund_amount_cents.js"
1516
+ "index.js"
1517
1517
  ]
1518
1518
  },
1519
- "checkout_com_payment:details": {
1519
+ "capture:refund": {
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 send additional details the payment request (i.e. upon 3DS check).",
1528
+ "description": "Send this attribute if you want to create a refund for this capture.",
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": "checkout_com_payment:details",
1593
+ "id": "capture:refund",
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
- "checkout_com_payment",
1604
- "details.js"
1603
+ "capture",
1604
+ "refund.js"
1605
1605
  ]
1606
1606
  },
1607
- "checkout_com_payment": {
1607
+ "capture:refund_amount_cents": {
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 checkout_com_payments",
1616
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be refunded.",
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": "checkout_com_payment",
1681
+ "id": "capture:refund_amount_cents",
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
- "checkout_com_payment",
1692
- "index.js"
1691
+ "capture",
1692
+ "refund_amount_cents.js"
1693
1693
  ]
1694
1694
  },
1695
- "checkout_com_payment:refresh": {
1695
+ "checkout_com_payment:details": {
1696
1696
  "aliases": [],
1697
1697
  "args": {
1698
1698
  "id": {
@@ -1701,7 +1701,7 @@
1701
1701
  "required": true
1702
1702
  }
1703
1703
  },
1704
- "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
1704
+ "description": "Send this attribute if you want to send additional details the payment request (i.e. upon 3DS check).",
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": "checkout_com_payment:refresh",
1769
+ "id": "checkout_com_payment:details",
1770
1770
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1771
1771
  "pluginName": "@commercelayer/cli-plugin-triggers",
1772
1772
  "pluginType": "core",
@@ -1777,10 +1777,10 @@
1777
1777
  "lib",
1778
1778
  "commands",
1779
1779
  "checkout_com_payment",
1780
- "refresh.js"
1780
+ "details.js"
1781
1781
  ]
1782
1782
  },
1783
- "customer_password_reset": {
1783
+ "checkout_com_payment": {
1784
1784
  "aliases": [],
1785
1785
  "args": {
1786
1786
  "id": {
@@ -1789,7 +1789,7 @@
1789
1789
  "required": true
1790
1790
  }
1791
1791
  },
1792
- "description": "execute an action on a resource of type customer_password_resets",
1792
+ "description": "execute an action on a resource of type checkout_com_payments",
1793
1793
  "flags": {
1794
1794
  "organization": {
1795
1795
  "char": "o",
@@ -1854,7 +1854,7 @@
1854
1854
  },
1855
1855
  "hasDynamicHelp": false,
1856
1856
  "hiddenAliases": [],
1857
- "id": "customer_password_reset",
1857
+ "id": "checkout_com_payment",
1858
1858
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1859
1859
  "pluginName": "@commercelayer/cli-plugin-triggers",
1860
1860
  "pluginType": "core",
@@ -1864,11 +1864,11 @@
1864
1864
  "relativePath": [
1865
1865
  "lib",
1866
1866
  "commands",
1867
- "customer_password_reset",
1867
+ "checkout_com_payment",
1868
1868
  "index.js"
1869
1869
  ]
1870
1870
  },
1871
- "customer_password_reset:reset_password_token": {
1871
+ "checkout_com_payment:refresh": {
1872
1872
  "aliases": [],
1873
1873
  "args": {
1874
1874
  "id": {
@@ -1877,7 +1877,7 @@
1877
1877
  "required": true
1878
1878
  }
1879
1879
  },
1880
- "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
1880
+ "description": "Send this attribute if you want to refresh all the pending transactions, can be used as webhooks fallback logic.",
1881
1881
  "flags": {
1882
1882
  "organization": {
1883
1883
  "char": "o",
@@ -1942,7 +1942,7 @@
1942
1942
  },
1943
1943
  "hasDynamicHelp": false,
1944
1944
  "hiddenAliases": [],
1945
- "id": "customer_password_reset:reset_password_token",
1945
+ "id": "checkout_com_payment:refresh",
1946
1946
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
1947
1947
  "pluginName": "@commercelayer/cli-plugin-triggers",
1948
1948
  "pluginType": "core",
@@ -1952,11 +1952,11 @@
1952
1952
  "relativePath": [
1953
1953
  "lib",
1954
1954
  "commands",
1955
- "customer_password_reset",
1956
- "reset_password_token.js"
1955
+ "checkout_com_payment",
1956
+ "refresh.js"
1957
1957
  ]
1958
1958
  },
1959
- "external_gateway": {
1959
+ "customer_password_reset": {
1960
1960
  "aliases": [],
1961
1961
  "args": {
1962
1962
  "id": {
@@ -1965,7 +1965,7 @@
1965
1965
  "required": true
1966
1966
  }
1967
1967
  },
1968
- "description": "execute an action on a resource of type external_gateways",
1968
+ "description": "execute an action on a resource of type customer_password_resets",
1969
1969
  "flags": {
1970
1970
  "organization": {
1971
1971
  "char": "o",
@@ -2030,7 +2030,7 @@
2030
2030
  },
2031
2031
  "hasDynamicHelp": false,
2032
2032
  "hiddenAliases": [],
2033
- "id": "external_gateway",
2033
+ "id": "customer_password_reset",
2034
2034
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2035
2035
  "pluginName": "@commercelayer/cli-plugin-triggers",
2036
2036
  "pluginType": "core",
@@ -2040,11 +2040,11 @@
2040
2040
  "relativePath": [
2041
2041
  "lib",
2042
2042
  "commands",
2043
- "external_gateway",
2043
+ "customer_password_reset",
2044
2044
  "index.js"
2045
2045
  ]
2046
2046
  },
2047
- "external_gateway:reset_circuit": {
2047
+ "customer_password_reset:reset_password_token": {
2048
2048
  "aliases": [],
2049
2049
  "args": {
2050
2050
  "id": {
@@ -2053,7 +2053,7 @@
2053
2053
  "required": true
2054
2054
  }
2055
2055
  },
2056
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
2056
+ "description": "Send the 'reset_password_token' that you got on create when updating the customer password.",
2057
2057
  "flags": {
2058
2058
  "organization": {
2059
2059
  "char": "o",
@@ -2118,7 +2118,7 @@
2118
2118
  },
2119
2119
  "hasDynamicHelp": false,
2120
2120
  "hiddenAliases": [],
2121
- "id": "external_gateway:reset_circuit",
2121
+ "id": "customer_password_reset:reset_password_token",
2122
2122
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2123
2123
  "pluginName": "@commercelayer/cli-plugin-triggers",
2124
2124
  "pluginType": "core",
@@ -2128,11 +2128,11 @@
2128
2128
  "relativePath": [
2129
2129
  "lib",
2130
2130
  "commands",
2131
- "external_gateway",
2132
- "reset_circuit.js"
2131
+ "customer_password_reset",
2132
+ "reset_password_token.js"
2133
2133
  ]
2134
2134
  },
2135
- "external_promotion:disable": {
2135
+ "event": {
2136
2136
  "aliases": [],
2137
2137
  "args": {
2138
2138
  "id": {
@@ -2141,7 +2141,7 @@
2141
2141
  "required": true
2142
2142
  }
2143
2143
  },
2144
- "description": "Send this attribute if you want to mark this resource as disabled.",
2144
+ "description": "execute an action on a resource of type events",
2145
2145
  "flags": {
2146
2146
  "organization": {
2147
2147
  "char": "o",
@@ -2206,7 +2206,7 @@
2206
2206
  },
2207
2207
  "hasDynamicHelp": false,
2208
2208
  "hiddenAliases": [],
2209
- "id": "external_promotion:disable",
2209
+ "id": "event",
2210
2210
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2211
2211
  "pluginName": "@commercelayer/cli-plugin-triggers",
2212
2212
  "pluginType": "core",
@@ -2216,11 +2216,11 @@
2216
2216
  "relativePath": [
2217
2217
  "lib",
2218
2218
  "commands",
2219
- "external_promotion",
2220
- "disable.js"
2219
+ "event",
2220
+ "index.js"
2221
2221
  ]
2222
2222
  },
2223
- "external_promotion:enable": {
2223
+ "event:trigger": {
2224
2224
  "aliases": [],
2225
2225
  "args": {
2226
2226
  "id": {
@@ -2229,7 +2229,7 @@
2229
2229
  "required": true
2230
2230
  }
2231
2231
  },
2232
- "description": "Send this attribute if you want to mark this resource as enabled.",
2232
+ "description": "Send this attribute if you want to force webhooks execution for this event.",
2233
2233
  "flags": {
2234
2234
  "organization": {
2235
2235
  "char": "o",
@@ -2294,7 +2294,7 @@
2294
2294
  },
2295
2295
  "hasDynamicHelp": false,
2296
2296
  "hiddenAliases": [],
2297
- "id": "external_promotion:enable",
2297
+ "id": "event:trigger",
2298
2298
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2299
2299
  "pluginName": "@commercelayer/cli-plugin-triggers",
2300
2300
  "pluginType": "core",
@@ -2304,11 +2304,11 @@
2304
2304
  "relativePath": [
2305
2305
  "lib",
2306
2306
  "commands",
2307
- "external_promotion",
2308
- "enable.js"
2307
+ "event",
2308
+ "trigger.js"
2309
2309
  ]
2310
2310
  },
2311
- "external_promotion": {
2311
+ "external_gateway": {
2312
2312
  "aliases": [],
2313
2313
  "args": {
2314
2314
  "id": {
@@ -2317,7 +2317,7 @@
2317
2317
  "required": true
2318
2318
  }
2319
2319
  },
2320
- "description": "execute an action on a resource of type external_promotions",
2320
+ "description": "execute an action on a resource of type external_gateways",
2321
2321
  "flags": {
2322
2322
  "organization": {
2323
2323
  "char": "o",
@@ -2382,7 +2382,7 @@
2382
2382
  },
2383
2383
  "hasDynamicHelp": false,
2384
2384
  "hiddenAliases": [],
2385
- "id": "external_promotion",
2385
+ "id": "external_gateway",
2386
2386
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2387
2387
  "pluginName": "@commercelayer/cli-plugin-triggers",
2388
2388
  "pluginType": "core",
@@ -2392,11 +2392,11 @@
2392
2392
  "relativePath": [
2393
2393
  "lib",
2394
2394
  "commands",
2395
- "external_promotion",
2395
+ "external_gateway",
2396
2396
  "index.js"
2397
2397
  ]
2398
2398
  },
2399
- "external_promotion:reset_circuit": {
2399
+ "external_gateway:reset_circuit": {
2400
2400
  "aliases": [],
2401
2401
  "args": {
2402
2402
  "id": {
@@ -2470,7 +2470,7 @@
2470
2470
  },
2471
2471
  "hasDynamicHelp": false,
2472
2472
  "hiddenAliases": [],
2473
- "id": "external_promotion:reset_circuit",
2473
+ "id": "external_gateway:reset_circuit",
2474
2474
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2475
2475
  "pluginName": "@commercelayer/cli-plugin-triggers",
2476
2476
  "pluginType": "core",
@@ -2480,11 +2480,11 @@
2480
2480
  "relativePath": [
2481
2481
  "lib",
2482
2482
  "commands",
2483
- "external_promotion",
2483
+ "external_gateway",
2484
2484
  "reset_circuit.js"
2485
2485
  ]
2486
2486
  },
2487
- "external_tax_calculator": {
2487
+ "external_promotion:disable": {
2488
2488
  "aliases": [],
2489
2489
  "args": {
2490
2490
  "id": {
@@ -2493,7 +2493,7 @@
2493
2493
  "required": true
2494
2494
  }
2495
2495
  },
2496
- "description": "execute an action on a resource of type external_tax_calculators",
2496
+ "description": "Send this attribute if you want to mark this resource as disabled.",
2497
2497
  "flags": {
2498
2498
  "organization": {
2499
2499
  "char": "o",
@@ -2558,7 +2558,7 @@
2558
2558
  },
2559
2559
  "hasDynamicHelp": false,
2560
2560
  "hiddenAliases": [],
2561
- "id": "external_tax_calculator",
2561
+ "id": "external_promotion:disable",
2562
2562
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2563
2563
  "pluginName": "@commercelayer/cli-plugin-triggers",
2564
2564
  "pluginType": "core",
@@ -2568,11 +2568,11 @@
2568
2568
  "relativePath": [
2569
2569
  "lib",
2570
2570
  "commands",
2571
- "external_tax_calculator",
2572
- "index.js"
2571
+ "external_promotion",
2572
+ "disable.js"
2573
2573
  ]
2574
2574
  },
2575
- "external_tax_calculator:reset_circuit": {
2575
+ "external_promotion:enable": {
2576
2576
  "aliases": [],
2577
2577
  "args": {
2578
2578
  "id": {
@@ -2581,7 +2581,7 @@
2581
2581
  "required": true
2582
2582
  }
2583
2583
  },
2584
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
2584
+ "description": "Send this attribute if you want to mark this resource as enabled.",
2585
2585
  "flags": {
2586
2586
  "organization": {
2587
2587
  "char": "o",
@@ -2646,7 +2646,7 @@
2646
2646
  },
2647
2647
  "hasDynamicHelp": false,
2648
2648
  "hiddenAliases": [],
2649
- "id": "external_tax_calculator:reset_circuit",
2649
+ "id": "external_promotion:enable",
2650
2650
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2651
2651
  "pluginName": "@commercelayer/cli-plugin-triggers",
2652
2652
  "pluginType": "core",
@@ -2656,11 +2656,11 @@
2656
2656
  "relativePath": [
2657
2657
  "lib",
2658
2658
  "commands",
2659
- "external_tax_calculator",
2660
- "reset_circuit.js"
2659
+ "external_promotion",
2660
+ "enable.js"
2661
2661
  ]
2662
2662
  },
2663
- "fixed_amount_promotion:disable": {
2663
+ "external_promotion": {
2664
2664
  "aliases": [],
2665
2665
  "args": {
2666
2666
  "id": {
@@ -2669,7 +2669,7 @@
2669
2669
  "required": true
2670
2670
  }
2671
2671
  },
2672
- "description": "Send this attribute if you want to mark this resource as disabled.",
2672
+ "description": "execute an action on a resource of type external_promotions",
2673
2673
  "flags": {
2674
2674
  "organization": {
2675
2675
  "char": "o",
@@ -2734,7 +2734,7 @@
2734
2734
  },
2735
2735
  "hasDynamicHelp": false,
2736
2736
  "hiddenAliases": [],
2737
- "id": "fixed_amount_promotion:disable",
2737
+ "id": "external_promotion",
2738
2738
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2739
2739
  "pluginName": "@commercelayer/cli-plugin-triggers",
2740
2740
  "pluginType": "core",
@@ -2744,11 +2744,11 @@
2744
2744
  "relativePath": [
2745
2745
  "lib",
2746
2746
  "commands",
2747
- "fixed_amount_promotion",
2748
- "disable.js"
2747
+ "external_promotion",
2748
+ "index.js"
2749
2749
  ]
2750
2750
  },
2751
- "fixed_amount_promotion:enable": {
2751
+ "external_promotion:reset_circuit": {
2752
2752
  "aliases": [],
2753
2753
  "args": {
2754
2754
  "id": {
@@ -2757,7 +2757,7 @@
2757
2757
  "required": true
2758
2758
  }
2759
2759
  },
2760
- "description": "Send this attribute if you want to mark this resource as enabled.",
2760
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
2761
2761
  "flags": {
2762
2762
  "organization": {
2763
2763
  "char": "o",
@@ -2822,7 +2822,7 @@
2822
2822
  },
2823
2823
  "hasDynamicHelp": false,
2824
2824
  "hiddenAliases": [],
2825
- "id": "fixed_amount_promotion:enable",
2825
+ "id": "external_promotion:reset_circuit",
2826
2826
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2827
2827
  "pluginName": "@commercelayer/cli-plugin-triggers",
2828
2828
  "pluginType": "core",
@@ -2832,11 +2832,11 @@
2832
2832
  "relativePath": [
2833
2833
  "lib",
2834
2834
  "commands",
2835
- "fixed_amount_promotion",
2836
- "enable.js"
2835
+ "external_promotion",
2836
+ "reset_circuit.js"
2837
2837
  ]
2838
2838
  },
2839
- "fixed_amount_promotion": {
2839
+ "external_tax_calculator": {
2840
2840
  "aliases": [],
2841
2841
  "args": {
2842
2842
  "id": {
@@ -2845,7 +2845,7 @@
2845
2845
  "required": true
2846
2846
  }
2847
2847
  },
2848
- "description": "execute an action on a resource of type fixed_amount_promotions",
2848
+ "description": "execute an action on a resource of type external_tax_calculators",
2849
2849
  "flags": {
2850
2850
  "organization": {
2851
2851
  "char": "o",
@@ -2910,7 +2910,7 @@
2910
2910
  },
2911
2911
  "hasDynamicHelp": false,
2912
2912
  "hiddenAliases": [],
2913
- "id": "fixed_amount_promotion",
2913
+ "id": "external_tax_calculator",
2914
2914
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
2915
2915
  "pluginName": "@commercelayer/cli-plugin-triggers",
2916
2916
  "pluginType": "core",
@@ -2920,11 +2920,11 @@
2920
2920
  "relativePath": [
2921
2921
  "lib",
2922
2922
  "commands",
2923
- "fixed_amount_promotion",
2923
+ "external_tax_calculator",
2924
2924
  "index.js"
2925
2925
  ]
2926
2926
  },
2927
- "fixed_price_promotion:disable": {
2927
+ "external_tax_calculator:reset_circuit": {
2928
2928
  "aliases": [],
2929
2929
  "args": {
2930
2930
  "id": {
@@ -2933,7 +2933,7 @@
2933
2933
  "required": true
2934
2934
  }
2935
2935
  },
2936
- "description": "Send this attribute if you want to mark this resource as disabled.",
2936
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
2937
2937
  "flags": {
2938
2938
  "organization": {
2939
2939
  "char": "o",
@@ -2998,7 +2998,7 @@
2998
2998
  },
2999
2999
  "hasDynamicHelp": false,
3000
3000
  "hiddenAliases": [],
3001
- "id": "fixed_price_promotion:disable",
3001
+ "id": "external_tax_calculator:reset_circuit",
3002
3002
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3003
3003
  "pluginName": "@commercelayer/cli-plugin-triggers",
3004
3004
  "pluginType": "core",
@@ -3008,11 +3008,11 @@
3008
3008
  "relativePath": [
3009
3009
  "lib",
3010
3010
  "commands",
3011
- "fixed_price_promotion",
3012
- "disable.js"
3011
+ "external_tax_calculator",
3012
+ "reset_circuit.js"
3013
3013
  ]
3014
3014
  },
3015
- "fixed_price_promotion:enable": {
3015
+ "fixed_amount_promotion:disable": {
3016
3016
  "aliases": [],
3017
3017
  "args": {
3018
3018
  "id": {
@@ -3021,7 +3021,7 @@
3021
3021
  "required": true
3022
3022
  }
3023
3023
  },
3024
- "description": "Send this attribute if you want to mark this resource as enabled.",
3024
+ "description": "Send this attribute if you want to mark this resource as disabled.",
3025
3025
  "flags": {
3026
3026
  "organization": {
3027
3027
  "char": "o",
@@ -3086,7 +3086,7 @@
3086
3086
  },
3087
3087
  "hasDynamicHelp": false,
3088
3088
  "hiddenAliases": [],
3089
- "id": "fixed_price_promotion:enable",
3089
+ "id": "fixed_amount_promotion:disable",
3090
3090
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3091
3091
  "pluginName": "@commercelayer/cli-plugin-triggers",
3092
3092
  "pluginType": "core",
@@ -3096,11 +3096,11 @@
3096
3096
  "relativePath": [
3097
3097
  "lib",
3098
3098
  "commands",
3099
- "fixed_price_promotion",
3100
- "enable.js"
3099
+ "fixed_amount_promotion",
3100
+ "disable.js"
3101
3101
  ]
3102
3102
  },
3103
- "fixed_price_promotion": {
3103
+ "fixed_amount_promotion:enable": {
3104
3104
  "aliases": [],
3105
3105
  "args": {
3106
3106
  "id": {
@@ -3109,7 +3109,7 @@
3109
3109
  "required": true
3110
3110
  }
3111
3111
  },
3112
- "description": "execute an action on a resource of type fixed_price_promotions",
3112
+ "description": "Send this attribute if you want to mark this resource as enabled.",
3113
3113
  "flags": {
3114
3114
  "organization": {
3115
3115
  "char": "o",
@@ -3174,7 +3174,7 @@
3174
3174
  },
3175
3175
  "hasDynamicHelp": false,
3176
3176
  "hiddenAliases": [],
3177
- "id": "fixed_price_promotion",
3177
+ "id": "fixed_amount_promotion:enable",
3178
3178
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3179
3179
  "pluginName": "@commercelayer/cli-plugin-triggers",
3180
3180
  "pluginType": "core",
@@ -3184,11 +3184,11 @@
3184
3184
  "relativePath": [
3185
3185
  "lib",
3186
3186
  "commands",
3187
- "fixed_price_promotion",
3188
- "index.js"
3187
+ "fixed_amount_promotion",
3188
+ "enable.js"
3189
3189
  ]
3190
3190
  },
3191
- "free_gift_promotion:disable": {
3191
+ "fixed_amount_promotion": {
3192
3192
  "aliases": [],
3193
3193
  "args": {
3194
3194
  "id": {
@@ -3197,7 +3197,7 @@
3197
3197
  "required": true
3198
3198
  }
3199
3199
  },
3200
- "description": "Send this attribute if you want to mark this resource as disabled.",
3200
+ "description": "execute an action on a resource of type fixed_amount_promotions",
3201
3201
  "flags": {
3202
3202
  "organization": {
3203
3203
  "char": "o",
@@ -3262,7 +3262,7 @@
3262
3262
  },
3263
3263
  "hasDynamicHelp": false,
3264
3264
  "hiddenAliases": [],
3265
- "id": "free_gift_promotion:disable",
3265
+ "id": "fixed_amount_promotion",
3266
3266
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3267
3267
  "pluginName": "@commercelayer/cli-plugin-triggers",
3268
3268
  "pluginType": "core",
@@ -3272,11 +3272,11 @@
3272
3272
  "relativePath": [
3273
3273
  "lib",
3274
3274
  "commands",
3275
- "free_gift_promotion",
3276
- "disable.js"
3275
+ "fixed_amount_promotion",
3276
+ "index.js"
3277
3277
  ]
3278
3278
  },
3279
- "free_gift_promotion:enable": {
3279
+ "fixed_price_promotion:disable": {
3280
3280
  "aliases": [],
3281
3281
  "args": {
3282
3282
  "id": {
@@ -3285,7 +3285,7 @@
3285
3285
  "required": true
3286
3286
  }
3287
3287
  },
3288
- "description": "Send this attribute if you want to mark this resource as enabled.",
3288
+ "description": "Send this attribute if you want to mark this resource as disabled.",
3289
3289
  "flags": {
3290
3290
  "organization": {
3291
3291
  "char": "o",
@@ -3350,7 +3350,7 @@
3350
3350
  },
3351
3351
  "hasDynamicHelp": false,
3352
3352
  "hiddenAliases": [],
3353
- "id": "free_gift_promotion:enable",
3353
+ "id": "fixed_price_promotion:disable",
3354
3354
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3355
3355
  "pluginName": "@commercelayer/cli-plugin-triggers",
3356
3356
  "pluginType": "core",
@@ -3360,11 +3360,11 @@
3360
3360
  "relativePath": [
3361
3361
  "lib",
3362
3362
  "commands",
3363
- "free_gift_promotion",
3364
- "enable.js"
3363
+ "fixed_price_promotion",
3364
+ "disable.js"
3365
3365
  ]
3366
3366
  },
3367
- "free_gift_promotion": {
3367
+ "fixed_price_promotion:enable": {
3368
3368
  "aliases": [],
3369
3369
  "args": {
3370
3370
  "id": {
@@ -3373,7 +3373,7 @@
3373
3373
  "required": true
3374
3374
  }
3375
3375
  },
3376
- "description": "execute an action on a resource of type free_gift_promotions",
3376
+ "description": "Send this attribute if you want to mark this resource as enabled.",
3377
3377
  "flags": {
3378
3378
  "organization": {
3379
3379
  "char": "o",
@@ -3438,7 +3438,7 @@
3438
3438
  },
3439
3439
  "hasDynamicHelp": false,
3440
3440
  "hiddenAliases": [],
3441
- "id": "free_gift_promotion",
3441
+ "id": "fixed_price_promotion:enable",
3442
3442
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3443
3443
  "pluginName": "@commercelayer/cli-plugin-triggers",
3444
3444
  "pluginType": "core",
@@ -3448,11 +3448,11 @@
3448
3448
  "relativePath": [
3449
3449
  "lib",
3450
3450
  "commands",
3451
- "free_gift_promotion",
3452
- "index.js"
3451
+ "fixed_price_promotion",
3452
+ "enable.js"
3453
3453
  ]
3454
3454
  },
3455
- "free_shipping_promotion:disable": {
3455
+ "fixed_price_promotion": {
3456
3456
  "aliases": [],
3457
3457
  "args": {
3458
3458
  "id": {
@@ -3461,7 +3461,7 @@
3461
3461
  "required": true
3462
3462
  }
3463
3463
  },
3464
- "description": "Send this attribute if you want to mark this resource as disabled.",
3464
+ "description": "execute an action on a resource of type fixed_price_promotions",
3465
3465
  "flags": {
3466
3466
  "organization": {
3467
3467
  "char": "o",
@@ -3526,7 +3526,7 @@
3526
3526
  },
3527
3527
  "hasDynamicHelp": false,
3528
3528
  "hiddenAliases": [],
3529
- "id": "free_shipping_promotion:disable",
3529
+ "id": "fixed_price_promotion",
3530
3530
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3531
3531
  "pluginName": "@commercelayer/cli-plugin-triggers",
3532
3532
  "pluginType": "core",
@@ -3536,11 +3536,11 @@
3536
3536
  "relativePath": [
3537
3537
  "lib",
3538
3538
  "commands",
3539
- "free_shipping_promotion",
3540
- "disable.js"
3539
+ "fixed_price_promotion",
3540
+ "index.js"
3541
3541
  ]
3542
3542
  },
3543
- "free_shipping_promotion:enable": {
3543
+ "free_gift_promotion:disable": {
3544
3544
  "aliases": [],
3545
3545
  "args": {
3546
3546
  "id": {
@@ -3549,7 +3549,7 @@
3549
3549
  "required": true
3550
3550
  }
3551
3551
  },
3552
- "description": "Send this attribute if you want to mark this resource as enabled.",
3552
+ "description": "Send this attribute if you want to mark this resource as disabled.",
3553
3553
  "flags": {
3554
3554
  "organization": {
3555
3555
  "char": "o",
@@ -3614,7 +3614,7 @@
3614
3614
  },
3615
3615
  "hasDynamicHelp": false,
3616
3616
  "hiddenAliases": [],
3617
- "id": "free_shipping_promotion:enable",
3617
+ "id": "free_gift_promotion:disable",
3618
3618
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3619
3619
  "pluginName": "@commercelayer/cli-plugin-triggers",
3620
3620
  "pluginType": "core",
@@ -3624,11 +3624,11 @@
3624
3624
  "relativePath": [
3625
3625
  "lib",
3626
3626
  "commands",
3627
- "free_shipping_promotion",
3628
- "enable.js"
3627
+ "free_gift_promotion",
3628
+ "disable.js"
3629
3629
  ]
3630
3630
  },
3631
- "free_shipping_promotion": {
3631
+ "free_gift_promotion:enable": {
3632
3632
  "aliases": [],
3633
3633
  "args": {
3634
3634
  "id": {
@@ -3637,7 +3637,7 @@
3637
3637
  "required": true
3638
3638
  }
3639
3639
  },
3640
- "description": "execute an action on a resource of type free_shipping_promotions",
3640
+ "description": "Send this attribute if you want to mark this resource as enabled.",
3641
3641
  "flags": {
3642
3642
  "organization": {
3643
3643
  "char": "o",
@@ -3702,7 +3702,7 @@
3702
3702
  },
3703
3703
  "hasDynamicHelp": false,
3704
3704
  "hiddenAliases": [],
3705
- "id": "free_shipping_promotion",
3705
+ "id": "free_gift_promotion:enable",
3706
3706
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3707
3707
  "pluginName": "@commercelayer/cli-plugin-triggers",
3708
3708
  "pluginType": "core",
@@ -3712,11 +3712,11 @@
3712
3712
  "relativePath": [
3713
3713
  "lib",
3714
3714
  "commands",
3715
- "free_shipping_promotion",
3716
- "index.js"
3715
+ "free_gift_promotion",
3716
+ "enable.js"
3717
3717
  ]
3718
3718
  },
3719
- "gift_card:activate": {
3719
+ "free_gift_promotion": {
3720
3720
  "aliases": [],
3721
3721
  "args": {
3722
3722
  "id": {
@@ -3725,7 +3725,7 @@
3725
3725
  "required": true
3726
3726
  }
3727
3727
  },
3728
- "description": "Send this attribute if you want to activate a gift card.",
3728
+ "description": "execute an action on a resource of type free_gift_promotions",
3729
3729
  "flags": {
3730
3730
  "organization": {
3731
3731
  "char": "o",
@@ -3790,7 +3790,7 @@
3790
3790
  },
3791
3791
  "hasDynamicHelp": false,
3792
3792
  "hiddenAliases": [],
3793
- "id": "gift_card:activate",
3793
+ "id": "free_gift_promotion",
3794
3794
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3795
3795
  "pluginName": "@commercelayer/cli-plugin-triggers",
3796
3796
  "pluginType": "core",
@@ -3800,11 +3800,11 @@
3800
3800
  "relativePath": [
3801
3801
  "lib",
3802
3802
  "commands",
3803
- "gift_card",
3804
- "activate.js"
3803
+ "free_gift_promotion",
3804
+ "index.js"
3805
3805
  ]
3806
3806
  },
3807
- "gift_card:balance_change_cents": {
3807
+ "free_shipping_promotion:disable": {
3808
3808
  "aliases": [],
3809
3809
  "args": {
3810
3810
  "id": {
@@ -3813,7 +3813,7 @@
3813
3813
  "required": true
3814
3814
  }
3815
3815
  },
3816
- "description": "The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).",
3816
+ "description": "Send this attribute if you want to mark this resource as disabled.",
3817
3817
  "flags": {
3818
3818
  "organization": {
3819
3819
  "char": "o",
@@ -3878,7 +3878,7 @@
3878
3878
  },
3879
3879
  "hasDynamicHelp": false,
3880
3880
  "hiddenAliases": [],
3881
- "id": "gift_card:balance_change_cents",
3881
+ "id": "free_shipping_promotion:disable",
3882
3882
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3883
3883
  "pluginName": "@commercelayer/cli-plugin-triggers",
3884
3884
  "pluginType": "core",
@@ -3888,11 +3888,11 @@
3888
3888
  "relativePath": [
3889
3889
  "lib",
3890
3890
  "commands",
3891
- "gift_card",
3892
- "balance_change_cents.js"
3891
+ "free_shipping_promotion",
3892
+ "disable.js"
3893
3893
  ]
3894
3894
  },
3895
- "gift_card:deactivate": {
3895
+ "free_shipping_promotion:enable": {
3896
3896
  "aliases": [],
3897
3897
  "args": {
3898
3898
  "id": {
@@ -3901,7 +3901,7 @@
3901
3901
  "required": true
3902
3902
  }
3903
3903
  },
3904
- "description": "Send this attribute if you want to deactivate a gift card.",
3904
+ "description": "Send this attribute if you want to mark this resource as enabled.",
3905
3905
  "flags": {
3906
3906
  "organization": {
3907
3907
  "char": "o",
@@ -3966,7 +3966,7 @@
3966
3966
  },
3967
3967
  "hasDynamicHelp": false,
3968
3968
  "hiddenAliases": [],
3969
- "id": "gift_card:deactivate",
3969
+ "id": "free_shipping_promotion:enable",
3970
3970
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
3971
3971
  "pluginName": "@commercelayer/cli-plugin-triggers",
3972
3972
  "pluginType": "core",
@@ -3976,11 +3976,11 @@
3976
3976
  "relativePath": [
3977
3977
  "lib",
3978
3978
  "commands",
3979
- "gift_card",
3980
- "deactivate.js"
3979
+ "free_shipping_promotion",
3980
+ "enable.js"
3981
3981
  ]
3982
3982
  },
3983
- "gift_card": {
3983
+ "free_shipping_promotion": {
3984
3984
  "aliases": [],
3985
3985
  "args": {
3986
3986
  "id": {
@@ -3989,7 +3989,7 @@
3989
3989
  "required": true
3990
3990
  }
3991
3991
  },
3992
- "description": "execute an action on a resource of type gift_cards",
3992
+ "description": "execute an action on a resource of type free_shipping_promotions",
3993
3993
  "flags": {
3994
3994
  "organization": {
3995
3995
  "char": "o",
@@ -4054,7 +4054,7 @@
4054
4054
  },
4055
4055
  "hasDynamicHelp": false,
4056
4056
  "hiddenAliases": [],
4057
- "id": "gift_card",
4057
+ "id": "free_shipping_promotion",
4058
4058
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4059
4059
  "pluginName": "@commercelayer/cli-plugin-triggers",
4060
4060
  "pluginType": "core",
@@ -4064,11 +4064,11 @@
4064
4064
  "relativePath": [
4065
4065
  "lib",
4066
4066
  "commands",
4067
- "gift_card",
4067
+ "free_shipping_promotion",
4068
4068
  "index.js"
4069
4069
  ]
4070
4070
  },
4071
- "gift_card:purchase": {
4071
+ "gift_card:activate": {
4072
4072
  "aliases": [],
4073
4073
  "args": {
4074
4074
  "id": {
@@ -4077,7 +4077,7 @@
4077
4077
  "required": true
4078
4078
  }
4079
4079
  },
4080
- "description": "Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.",
4080
+ "description": "Send this attribute if you want to activate a gift card.",
4081
4081
  "flags": {
4082
4082
  "organization": {
4083
4083
  "char": "o",
@@ -4142,7 +4142,7 @@
4142
4142
  },
4143
4143
  "hasDynamicHelp": false,
4144
4144
  "hiddenAliases": [],
4145
- "id": "gift_card:purchase",
4145
+ "id": "gift_card:activate",
4146
4146
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4147
4147
  "pluginName": "@commercelayer/cli-plugin-triggers",
4148
4148
  "pluginType": "core",
@@ -4153,10 +4153,10 @@
4153
4153
  "lib",
4154
4154
  "commands",
4155
4155
  "gift_card",
4156
- "purchase.js"
4156
+ "activate.js"
4157
4157
  ]
4158
4158
  },
4159
- "in_stock_subscription:activate": {
4159
+ "gift_card:balance_change_cents": {
4160
4160
  "aliases": [],
4161
4161
  "args": {
4162
4162
  "id": {
@@ -4165,7 +4165,7 @@
4165
4165
  "required": true
4166
4166
  }
4167
4167
  },
4168
- "description": "Send this attribute if you want to activate an inactive subscription.",
4168
+ "description": "The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).",
4169
4169
  "flags": {
4170
4170
  "organization": {
4171
4171
  "char": "o",
@@ -4230,7 +4230,7 @@
4230
4230
  },
4231
4231
  "hasDynamicHelp": false,
4232
4232
  "hiddenAliases": [],
4233
- "id": "in_stock_subscription:activate",
4233
+ "id": "gift_card:balance_change_cents",
4234
4234
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4235
4235
  "pluginName": "@commercelayer/cli-plugin-triggers",
4236
4236
  "pluginType": "core",
@@ -4240,11 +4240,11 @@
4240
4240
  "relativePath": [
4241
4241
  "lib",
4242
4242
  "commands",
4243
- "in_stock_subscription",
4244
- "activate.js"
4243
+ "gift_card",
4244
+ "balance_change_cents.js"
4245
4245
  ]
4246
4246
  },
4247
- "in_stock_subscription:deactivate": {
4247
+ "gift_card:deactivate": {
4248
4248
  "aliases": [],
4249
4249
  "args": {
4250
4250
  "id": {
@@ -4253,7 +4253,7 @@
4253
4253
  "required": true
4254
4254
  }
4255
4255
  },
4256
- "description": "Send this attribute if you want to dactivate an active subscription.",
4256
+ "description": "Send this attribute if you want to deactivate a gift card.",
4257
4257
  "flags": {
4258
4258
  "organization": {
4259
4259
  "char": "o",
@@ -4318,7 +4318,7 @@
4318
4318
  },
4319
4319
  "hasDynamicHelp": false,
4320
4320
  "hiddenAliases": [],
4321
- "id": "in_stock_subscription:deactivate",
4321
+ "id": "gift_card:deactivate",
4322
4322
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4323
4323
  "pluginName": "@commercelayer/cli-plugin-triggers",
4324
4324
  "pluginType": "core",
@@ -4328,11 +4328,11 @@
4328
4328
  "relativePath": [
4329
4329
  "lib",
4330
4330
  "commands",
4331
- "in_stock_subscription",
4331
+ "gift_card",
4332
4332
  "deactivate.js"
4333
4333
  ]
4334
4334
  },
4335
- "in_stock_subscription": {
4335
+ "gift_card": {
4336
4336
  "aliases": [],
4337
4337
  "args": {
4338
4338
  "id": {
@@ -4341,7 +4341,7 @@
4341
4341
  "required": true
4342
4342
  }
4343
4343
  },
4344
- "description": "execute an action on a resource of type in_stock_subscriptions",
4344
+ "description": "execute an action on a resource of type gift_cards",
4345
4345
  "flags": {
4346
4346
  "organization": {
4347
4347
  "char": "o",
@@ -4406,7 +4406,7 @@
4406
4406
  },
4407
4407
  "hasDynamicHelp": false,
4408
4408
  "hiddenAliases": [],
4409
- "id": "in_stock_subscription",
4409
+ "id": "gift_card",
4410
4410
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4411
4411
  "pluginName": "@commercelayer/cli-plugin-triggers",
4412
4412
  "pluginType": "core",
@@ -4416,11 +4416,11 @@
4416
4416
  "relativePath": [
4417
4417
  "lib",
4418
4418
  "commands",
4419
- "in_stock_subscription",
4419
+ "gift_card",
4420
4420
  "index.js"
4421
4421
  ]
4422
4422
  },
4423
- "klarna_payment": {
4423
+ "gift_card:purchase": {
4424
4424
  "aliases": [],
4425
4425
  "args": {
4426
4426
  "id": {
@@ -4429,7 +4429,7 @@
4429
4429
  "required": true
4430
4430
  }
4431
4431
  },
4432
- "description": "execute an action on a resource of type klarna_payments",
4432
+ "description": "Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.",
4433
4433
  "flags": {
4434
4434
  "organization": {
4435
4435
  "char": "o",
@@ -4494,7 +4494,7 @@
4494
4494
  },
4495
4495
  "hasDynamicHelp": false,
4496
4496
  "hiddenAliases": [],
4497
- "id": "klarna_payment",
4497
+ "id": "gift_card:purchase",
4498
4498
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4499
4499
  "pluginName": "@commercelayer/cli-plugin-triggers",
4500
4500
  "pluginType": "core",
@@ -4504,11 +4504,11 @@
4504
4504
  "relativePath": [
4505
4505
  "lib",
4506
4506
  "commands",
4507
- "klarna_payment",
4508
- "index.js"
4507
+ "gift_card",
4508
+ "purchase.js"
4509
4509
  ]
4510
4510
  },
4511
- "klarna_payment:update": {
4511
+ "in_stock_subscription:activate": {
4512
4512
  "aliases": [],
4513
4513
  "args": {
4514
4514
  "id": {
@@ -4517,7 +4517,7 @@
4517
4517
  "required": true
4518
4518
  }
4519
4519
  },
4520
- "description": "Send this attribute if you want to update the payment session with fresh order data.",
4520
+ "description": "Send this attribute if you want to activate an inactive subscription.",
4521
4521
  "flags": {
4522
4522
  "organization": {
4523
4523
  "char": "o",
@@ -4582,7 +4582,7 @@
4582
4582
  },
4583
4583
  "hasDynamicHelp": false,
4584
4584
  "hiddenAliases": [],
4585
- "id": "klarna_payment:update",
4585
+ "id": "in_stock_subscription:activate",
4586
4586
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4587
4587
  "pluginName": "@commercelayer/cli-plugin-triggers",
4588
4588
  "pluginType": "core",
@@ -4592,11 +4592,11 @@
4592
4592
  "relativePath": [
4593
4593
  "lib",
4594
4594
  "commands",
4595
- "klarna_payment",
4596
- "update.js"
4595
+ "in_stock_subscription",
4596
+ "activate.js"
4597
4597
  ]
4598
4598
  },
4599
- "line_item:external_price": {
4599
+ "in_stock_subscription:deactivate": {
4600
4600
  "aliases": [],
4601
4601
  "args": {
4602
4602
  "id": {
@@ -4605,7 +4605,7 @@
4605
4605
  "required": true
4606
4606
  }
4607
4607
  },
4608
- "description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
4608
+ "description": "Send this attribute if you want to dactivate an active subscription.",
4609
4609
  "flags": {
4610
4610
  "organization": {
4611
4611
  "char": "o",
@@ -4670,7 +4670,7 @@
4670
4670
  },
4671
4671
  "hasDynamicHelp": false,
4672
4672
  "hiddenAliases": [],
4673
- "id": "line_item:external_price",
4673
+ "id": "in_stock_subscription:deactivate",
4674
4674
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4675
4675
  "pluginName": "@commercelayer/cli-plugin-triggers",
4676
4676
  "pluginType": "core",
@@ -4680,11 +4680,11 @@
4680
4680
  "relativePath": [
4681
4681
  "lib",
4682
4682
  "commands",
4683
- "line_item",
4684
- "external_price.js"
4683
+ "in_stock_subscription",
4684
+ "deactivate.js"
4685
4685
  ]
4686
4686
  },
4687
- "line_item": {
4687
+ "in_stock_subscription": {
4688
4688
  "aliases": [],
4689
4689
  "args": {
4690
4690
  "id": {
@@ -4693,7 +4693,7 @@
4693
4693
  "required": true
4694
4694
  }
4695
4695
  },
4696
- "description": "execute an action on a resource of type line_items",
4696
+ "description": "execute an action on a resource of type in_stock_subscriptions",
4697
4697
  "flags": {
4698
4698
  "organization": {
4699
4699
  "char": "o",
@@ -4758,7 +4758,7 @@
4758
4758
  },
4759
4759
  "hasDynamicHelp": false,
4760
4760
  "hiddenAliases": [],
4761
- "id": "line_item",
4761
+ "id": "in_stock_subscription",
4762
4762
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4763
4763
  "pluginName": "@commercelayer/cli-plugin-triggers",
4764
4764
  "pluginType": "core",
@@ -4768,11 +4768,11 @@
4768
4768
  "relativePath": [
4769
4769
  "lib",
4770
4770
  "commands",
4771
- "line_item",
4771
+ "in_stock_subscription",
4772
4772
  "index.js"
4773
4773
  ]
4774
4774
  },
4775
- "line_item:reserve_stock": {
4775
+ "klarna_payment": {
4776
4776
  "aliases": [],
4777
4777
  "args": {
4778
4778
  "id": {
@@ -4781,7 +4781,7 @@
4781
4781
  "required": true
4782
4782
  }
4783
4783
  },
4784
- "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed.",
4784
+ "description": "execute an action on a resource of type klarna_payments",
4785
4785
  "flags": {
4786
4786
  "organization": {
4787
4787
  "char": "o",
@@ -4846,7 +4846,7 @@
4846
4846
  },
4847
4847
  "hasDynamicHelp": false,
4848
4848
  "hiddenAliases": [],
4849
- "id": "line_item:reserve_stock",
4849
+ "id": "klarna_payment",
4850
4850
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4851
4851
  "pluginName": "@commercelayer/cli-plugin-triggers",
4852
4852
  "pluginType": "core",
@@ -4856,11 +4856,11 @@
4856
4856
  "relativePath": [
4857
4857
  "lib",
4858
4858
  "commands",
4859
- "line_item",
4860
- "reserve_stock.js"
4859
+ "klarna_payment",
4860
+ "index.js"
4861
4861
  ]
4862
4862
  },
4863
- "line_item:reset_circuit": {
4863
+ "klarna_payment:update": {
4864
4864
  "aliases": [],
4865
4865
  "args": {
4866
4866
  "id": {
@@ -4869,7 +4869,7 @@
4869
4869
  "required": true
4870
4870
  }
4871
4871
  },
4872
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
4872
+ "description": "Send this attribute if you want to update the payment session with fresh order data.",
4873
4873
  "flags": {
4874
4874
  "organization": {
4875
4875
  "char": "o",
@@ -4934,7 +4934,7 @@
4934
4934
  },
4935
4935
  "hasDynamicHelp": false,
4936
4936
  "hiddenAliases": [],
4937
- "id": "line_item:reset_circuit",
4937
+ "id": "klarna_payment:update",
4938
4938
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
4939
4939
  "pluginName": "@commercelayer/cli-plugin-triggers",
4940
4940
  "pluginType": "core",
@@ -4944,11 +4944,11 @@
4944
4944
  "relativePath": [
4945
4945
  "lib",
4946
4946
  "commands",
4947
- "line_item",
4948
- "reset_circuit.js"
4947
+ "klarna_payment",
4948
+ "update.js"
4949
4949
  ]
4950
4950
  },
4951
- "link:disable": {
4951
+ "line_item:external_price": {
4952
4952
  "aliases": [],
4953
4953
  "args": {
4954
4954
  "id": {
@@ -4957,7 +4957,7 @@
4957
4957
  "required": true
4958
4958
  }
4959
4959
  },
4960
- "description": "Send this attribute if you want to mark this resource as disabled.",
4960
+ "description": "When creating or updating a new line item, set this attribute to '1' if you want to inject the unit_amount_cents price from an external source. Any successive price computation will be done externally, until the attribute is reset to '0'.",
4961
4961
  "flags": {
4962
4962
  "organization": {
4963
4963
  "char": "o",
@@ -5022,7 +5022,7 @@
5022
5022
  },
5023
5023
  "hasDynamicHelp": false,
5024
5024
  "hiddenAliases": [],
5025
- "id": "link:disable",
5025
+ "id": "line_item:external_price",
5026
5026
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5027
5027
  "pluginName": "@commercelayer/cli-plugin-triggers",
5028
5028
  "pluginType": "core",
@@ -5032,11 +5032,11 @@
5032
5032
  "relativePath": [
5033
5033
  "lib",
5034
5034
  "commands",
5035
- "link",
5036
- "disable.js"
5035
+ "line_item",
5036
+ "external_price.js"
5037
5037
  ]
5038
5038
  },
5039
- "link:enable": {
5039
+ "line_item": {
5040
5040
  "aliases": [],
5041
5041
  "args": {
5042
5042
  "id": {
@@ -5045,7 +5045,7 @@
5045
5045
  "required": true
5046
5046
  }
5047
5047
  },
5048
- "description": "Send this attribute if you want to mark this resource as enabled.",
5048
+ "description": "execute an action on a resource of type line_items",
5049
5049
  "flags": {
5050
5050
  "organization": {
5051
5051
  "char": "o",
@@ -5110,7 +5110,7 @@
5110
5110
  },
5111
5111
  "hasDynamicHelp": false,
5112
5112
  "hiddenAliases": [],
5113
- "id": "link:enable",
5113
+ "id": "line_item",
5114
5114
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5115
5115
  "pluginName": "@commercelayer/cli-plugin-triggers",
5116
5116
  "pluginType": "core",
@@ -5120,11 +5120,11 @@
5120
5120
  "relativePath": [
5121
5121
  "lib",
5122
5122
  "commands",
5123
- "link",
5124
- "enable.js"
5123
+ "line_item",
5124
+ "index.js"
5125
5125
  ]
5126
5126
  },
5127
- "link": {
5127
+ "line_item:reserve_stock": {
5128
5128
  "aliases": [],
5129
5129
  "args": {
5130
5130
  "id": {
@@ -5133,7 +5133,7 @@
5133
5133
  "required": true
5134
5134
  }
5135
5135
  },
5136
- "description": "execute an action on a resource of type links",
5136
+ "description": "Send this attribute if you want to reserve the stock for the line item's SKUs quantity. Stock reservations expiration depends on the inventory model's cutoff. When used on update the existing active stock reservations are renewed.",
5137
5137
  "flags": {
5138
5138
  "organization": {
5139
5139
  "char": "o",
@@ -5198,7 +5198,7 @@
5198
5198
  },
5199
5199
  "hasDynamicHelp": false,
5200
5200
  "hiddenAliases": [],
5201
- "id": "link",
5201
+ "id": "line_item:reserve_stock",
5202
5202
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5203
5203
  "pluginName": "@commercelayer/cli-plugin-triggers",
5204
5204
  "pluginType": "core",
@@ -5208,11 +5208,11 @@
5208
5208
  "relativePath": [
5209
5209
  "lib",
5210
5210
  "commands",
5211
- "link",
5212
- "index.js"
5211
+ "line_item",
5212
+ "reserve_stock.js"
5213
5213
  ]
5214
5214
  },
5215
- "market:disable": {
5215
+ "line_item:reset_circuit": {
5216
5216
  "aliases": [],
5217
5217
  "args": {
5218
5218
  "id": {
@@ -5221,7 +5221,7 @@
5221
5221
  "required": true
5222
5222
  }
5223
5223
  },
5224
- "description": "Send this attribute if you want to mark this resource as disabled.",
5224
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
5225
5225
  "flags": {
5226
5226
  "organization": {
5227
5227
  "char": "o",
@@ -5286,95 +5286,7 @@
5286
5286
  },
5287
5287
  "hasDynamicHelp": false,
5288
5288
  "hiddenAliases": [],
5289
- "id": "market:disable",
5290
- "pluginAlias": "@commercelayer/cli-plugin-triggers",
5291
- "pluginName": "@commercelayer/cli-plugin-triggers",
5292
- "pluginType": "core",
5293
- "strict": true,
5294
- "enableJsonFlag": false,
5295
- "isESM": false,
5296
- "relativePath": [
5297
- "lib",
5298
- "commands",
5299
- "market",
5300
- "disable.js"
5301
- ]
5302
- },
5303
- "market:enable": {
5304
- "aliases": [],
5305
- "args": {
5306
- "id": {
5307
- "description": "the unique id of the resource",
5308
- "name": "id",
5309
- "required": true
5310
- }
5311
- },
5312
- "description": "Send this attribute if you want to mark this resource as enabled.",
5313
- "flags": {
5314
- "organization": {
5315
- "char": "o",
5316
- "description": "the slug of your organization",
5317
- "env": "CL_CLI_ORGANIZATION",
5318
- "hidden": true,
5319
- "name": "organization",
5320
- "required": true,
5321
- "hasDynamicHelp": false,
5322
- "multiple": false,
5323
- "type": "option"
5324
- },
5325
- "domain": {
5326
- "char": "d",
5327
- "dependsOn": [
5328
- "organization"
5329
- ],
5330
- "env": "CL_CLI_DOMAIN",
5331
- "hidden": true,
5332
- "name": "domain",
5333
- "required": false,
5334
- "hasDynamicHelp": false,
5335
- "multiple": false,
5336
- "type": "option"
5337
- },
5338
- "accessToken": {
5339
- "env": "CL_CLI_ACCESS_TOKEN",
5340
- "hidden": true,
5341
- "name": "accessToken",
5342
- "required": true,
5343
- "hasDynamicHelp": false,
5344
- "multiple": false,
5345
- "type": "option"
5346
- },
5347
- "print": {
5348
- "char": "p",
5349
- "description": "print out the modified resource",
5350
- "name": "print",
5351
- "allowNo": false,
5352
- "type": "boolean"
5353
- },
5354
- "json": {
5355
- "char": "j",
5356
- "dependsOn": [
5357
- "print"
5358
- ],
5359
- "description": "print result in JSON format",
5360
- "name": "json",
5361
- "allowNo": false,
5362
- "type": "boolean"
5363
- },
5364
- "unformatted": {
5365
- "char": "u",
5366
- "dependsOn": [
5367
- "json"
5368
- ],
5369
- "description": "print JSON output without indentation",
5370
- "name": "unformatted",
5371
- "allowNo": false,
5372
- "type": "boolean"
5373
- }
5374
- },
5375
- "hasDynamicHelp": false,
5376
- "hiddenAliases": [],
5377
- "id": "market:enable",
5289
+ "id": "line_item:reset_circuit",
5378
5290
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5379
5291
  "pluginName": "@commercelayer/cli-plugin-triggers",
5380
5292
  "pluginType": "core",
@@ -5384,11 +5296,11 @@
5384
5296
  "relativePath": [
5385
5297
  "lib",
5386
5298
  "commands",
5387
- "market",
5388
- "enable.js"
5299
+ "line_item",
5300
+ "reset_circuit.js"
5389
5301
  ]
5390
5302
  },
5391
- "market": {
5303
+ "link:disable": {
5392
5304
  "aliases": [],
5393
5305
  "args": {
5394
5306
  "id": {
@@ -5397,7 +5309,7 @@
5397
5309
  "required": true
5398
5310
  }
5399
5311
  },
5400
- "description": "execute an action on a resource of type markets",
5312
+ "description": "Send this attribute if you want to mark this resource as disabled.",
5401
5313
  "flags": {
5402
5314
  "organization": {
5403
5315
  "char": "o",
@@ -5462,7 +5374,7 @@
5462
5374
  },
5463
5375
  "hasDynamicHelp": false,
5464
5376
  "hiddenAliases": [],
5465
- "id": "market",
5377
+ "id": "link:disable",
5466
5378
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5467
5379
  "pluginName": "@commercelayer/cli-plugin-triggers",
5468
5380
  "pluginType": "core",
@@ -5472,11 +5384,11 @@
5472
5384
  "relativePath": [
5473
5385
  "lib",
5474
5386
  "commands",
5475
- "market",
5476
- "index.js"
5387
+ "link",
5388
+ "disable.js"
5477
5389
  ]
5478
5390
  },
5479
- "order_subscription:activate": {
5391
+ "link:enable": {
5480
5392
  "aliases": [],
5481
5393
  "args": {
5482
5394
  "id": {
@@ -5485,7 +5397,7 @@
5485
5397
  "required": true
5486
5398
  }
5487
5399
  },
5488
- "description": "Send this attribute if you want to mark this subscription as active.",
5400
+ "description": "Send this attribute if you want to mark this resource as enabled.",
5489
5401
  "flags": {
5490
5402
  "organization": {
5491
5403
  "char": "o",
@@ -5550,7 +5462,7 @@
5550
5462
  },
5551
5463
  "hasDynamicHelp": false,
5552
5464
  "hiddenAliases": [],
5553
- "id": "order_subscription:activate",
5465
+ "id": "link:enable",
5554
5466
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5555
5467
  "pluginName": "@commercelayer/cli-plugin-triggers",
5556
5468
  "pluginType": "core",
@@ -5560,11 +5472,11 @@
5560
5472
  "relativePath": [
5561
5473
  "lib",
5562
5474
  "commands",
5563
- "order_subscription",
5564
- "activate.js"
5475
+ "link",
5476
+ "enable.js"
5565
5477
  ]
5566
5478
  },
5567
- "order_subscription:cancel": {
5479
+ "link": {
5568
5480
  "aliases": [],
5569
5481
  "args": {
5570
5482
  "id": {
@@ -5573,7 +5485,7 @@
5573
5485
  "required": true
5574
5486
  }
5575
5487
  },
5576
- "description": "Send this attribute if you want to mark this subscription as cancelled.",
5488
+ "description": "execute an action on a resource of type links",
5577
5489
  "flags": {
5578
5490
  "organization": {
5579
5491
  "char": "o",
@@ -5638,7 +5550,7 @@
5638
5550
  },
5639
5551
  "hasDynamicHelp": false,
5640
5552
  "hiddenAliases": [],
5641
- "id": "order_subscription:cancel",
5553
+ "id": "link",
5642
5554
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5643
5555
  "pluginName": "@commercelayer/cli-plugin-triggers",
5644
5556
  "pluginType": "core",
@@ -5648,11 +5560,11 @@
5648
5560
  "relativePath": [
5649
5561
  "lib",
5650
5562
  "commands",
5651
- "order_subscription",
5652
- "cancel.js"
5563
+ "link",
5564
+ "index.js"
5653
5565
  ]
5654
5566
  },
5655
- "order_subscription:convert": {
5567
+ "market:disable": {
5656
5568
  "aliases": [],
5657
5569
  "args": {
5658
5570
  "id": {
@@ -5661,7 +5573,7 @@
5661
5573
  "required": true
5662
5574
  }
5663
5575
  },
5664
- "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
5576
+ "description": "Send this attribute if you want to mark this resource as disabled.",
5665
5577
  "flags": {
5666
5578
  "organization": {
5667
5579
  "char": "o",
@@ -5726,7 +5638,7 @@
5726
5638
  },
5727
5639
  "hasDynamicHelp": false,
5728
5640
  "hiddenAliases": [],
5729
- "id": "order_subscription:convert",
5641
+ "id": "market:disable",
5730
5642
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5731
5643
  "pluginName": "@commercelayer/cli-plugin-triggers",
5732
5644
  "pluginType": "core",
@@ -5736,11 +5648,11 @@
5736
5648
  "relativePath": [
5737
5649
  "lib",
5738
5650
  "commands",
5739
- "order_subscription",
5740
- "convert.js"
5651
+ "market",
5652
+ "disable.js"
5741
5653
  ]
5742
5654
  },
5743
- "order_subscription:deactivate": {
5655
+ "market:enable": {
5744
5656
  "aliases": [],
5745
5657
  "args": {
5746
5658
  "id": {
@@ -5749,7 +5661,7 @@
5749
5661
  "required": true
5750
5662
  }
5751
5663
  },
5752
- "description": "Send this attribute if you want to mark this subscription as inactive.",
5664
+ "description": "Send this attribute if you want to mark this resource as enabled.",
5753
5665
  "flags": {
5754
5666
  "organization": {
5755
5667
  "char": "o",
@@ -5814,7 +5726,7 @@
5814
5726
  },
5815
5727
  "hasDynamicHelp": false,
5816
5728
  "hiddenAliases": [],
5817
- "id": "order_subscription:deactivate",
5729
+ "id": "market:enable",
5818
5730
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5819
5731
  "pluginName": "@commercelayer/cli-plugin-triggers",
5820
5732
  "pluginType": "core",
@@ -5824,11 +5736,11 @@
5824
5736
  "relativePath": [
5825
5737
  "lib",
5826
5738
  "commands",
5827
- "order_subscription",
5828
- "deactivate.js"
5739
+ "market",
5740
+ "enable.js"
5829
5741
  ]
5830
5742
  },
5831
- "order_subscription": {
5743
+ "market": {
5832
5744
  "aliases": [],
5833
5745
  "args": {
5834
5746
  "id": {
@@ -5837,7 +5749,7 @@
5837
5749
  "required": true
5838
5750
  }
5839
5751
  },
5840
- "description": "execute an action on a resource of type order_subscriptions",
5752
+ "description": "execute an action on a resource of type markets",
5841
5753
  "flags": {
5842
5754
  "organization": {
5843
5755
  "char": "o",
@@ -5902,7 +5814,7 @@
5902
5814
  },
5903
5815
  "hasDynamicHelp": false,
5904
5816
  "hiddenAliases": [],
5905
- "id": "order_subscription",
5817
+ "id": "market",
5906
5818
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
5907
5819
  "pluginName": "@commercelayer/cli-plugin-triggers",
5908
5820
  "pluginType": "core",
@@ -5912,7 +5824,7 @@
5912
5824
  "relativePath": [
5913
5825
  "lib",
5914
5826
  "commands",
5915
- "order_subscription",
5827
+ "market",
5916
5828
  "index.js"
5917
5829
  ]
5918
5830
  },
@@ -6189,7 +6101,7 @@
6189
6101
  "required": true
6190
6102
  }
6191
6103
  },
6192
- "description": "The authorization amount, in cents.",
6104
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
6193
6105
  "flags": {
6194
6106
  "organization": {
6195
6107
  "char": "o",
@@ -6999,7 +6911,7 @@
6999
6911
  "required": true
7000
6912
  }
7001
6913
  },
7002
- "description": "Send this attribute if you want to mark as fulfilled a shipped/delivered order.",
6914
+ "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered).",
7003
6915
  "flags": {
7004
6916
  "organization": {
7005
6917
  "char": "o",
@@ -7504,7 +7416,632 @@
7504
7416
  },
7505
7417
  "hasDynamicHelp": false,
7506
7418
  "hiddenAliases": [],
7507
- "id": "order:refresh",
7419
+ "id": "order:refresh",
7420
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7421
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7422
+ "pluginType": "core",
7423
+ "strict": true,
7424
+ "enableJsonFlag": false,
7425
+ "isESM": false,
7426
+ "relativePath": [
7427
+ "lib",
7428
+ "commands",
7429
+ "order",
7430
+ "refresh.js"
7431
+ ]
7432
+ },
7433
+ "order:refund": {
7434
+ "aliases": [],
7435
+ "args": {
7436
+ "id": {
7437
+ "description": "the unique id of the resource",
7438
+ "name": "id",
7439
+ "required": true
7440
+ }
7441
+ },
7442
+ "description": "Send this attribute if you want to refund a captured order.",
7443
+ "flags": {
7444
+ "organization": {
7445
+ "char": "o",
7446
+ "description": "the slug of your organization",
7447
+ "env": "CL_CLI_ORGANIZATION",
7448
+ "hidden": true,
7449
+ "name": "organization",
7450
+ "required": true,
7451
+ "hasDynamicHelp": false,
7452
+ "multiple": false,
7453
+ "type": "option"
7454
+ },
7455
+ "domain": {
7456
+ "char": "d",
7457
+ "dependsOn": [
7458
+ "organization"
7459
+ ],
7460
+ "env": "CL_CLI_DOMAIN",
7461
+ "hidden": true,
7462
+ "name": "domain",
7463
+ "required": false,
7464
+ "hasDynamicHelp": false,
7465
+ "multiple": false,
7466
+ "type": "option"
7467
+ },
7468
+ "accessToken": {
7469
+ "env": "CL_CLI_ACCESS_TOKEN",
7470
+ "hidden": true,
7471
+ "name": "accessToken",
7472
+ "required": true,
7473
+ "hasDynamicHelp": false,
7474
+ "multiple": false,
7475
+ "type": "option"
7476
+ },
7477
+ "print": {
7478
+ "char": "p",
7479
+ "description": "print out the modified resource",
7480
+ "name": "print",
7481
+ "allowNo": false,
7482
+ "type": "boolean"
7483
+ },
7484
+ "json": {
7485
+ "char": "j",
7486
+ "dependsOn": [
7487
+ "print"
7488
+ ],
7489
+ "description": "print result in JSON format",
7490
+ "name": "json",
7491
+ "allowNo": false,
7492
+ "type": "boolean"
7493
+ },
7494
+ "unformatted": {
7495
+ "char": "u",
7496
+ "dependsOn": [
7497
+ "json"
7498
+ ],
7499
+ "description": "print JSON output without indentation",
7500
+ "name": "unformatted",
7501
+ "allowNo": false,
7502
+ "type": "boolean"
7503
+ }
7504
+ },
7505
+ "hasDynamicHelp": false,
7506
+ "hiddenAliases": [],
7507
+ "id": "order:refund",
7508
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7509
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7510
+ "pluginType": "core",
7511
+ "strict": true,
7512
+ "enableJsonFlag": false,
7513
+ "isESM": false,
7514
+ "relativePath": [
7515
+ "lib",
7516
+ "commands",
7517
+ "order",
7518
+ "refund.js"
7519
+ ]
7520
+ },
7521
+ "order:refund_invoice": {
7522
+ "aliases": [],
7523
+ "args": {
7524
+ "id": {
7525
+ "description": "the unique id of the resource",
7526
+ "name": "id",
7527
+ "required": true
7528
+ }
7529
+ },
7530
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
7531
+ "flags": {
7532
+ "organization": {
7533
+ "char": "o",
7534
+ "description": "the slug of your organization",
7535
+ "env": "CL_CLI_ORGANIZATION",
7536
+ "hidden": true,
7537
+ "name": "organization",
7538
+ "required": true,
7539
+ "hasDynamicHelp": false,
7540
+ "multiple": false,
7541
+ "type": "option"
7542
+ },
7543
+ "domain": {
7544
+ "char": "d",
7545
+ "dependsOn": [
7546
+ "organization"
7547
+ ],
7548
+ "env": "CL_CLI_DOMAIN",
7549
+ "hidden": true,
7550
+ "name": "domain",
7551
+ "required": false,
7552
+ "hasDynamicHelp": false,
7553
+ "multiple": false,
7554
+ "type": "option"
7555
+ },
7556
+ "accessToken": {
7557
+ "env": "CL_CLI_ACCESS_TOKEN",
7558
+ "hidden": true,
7559
+ "name": "accessToken",
7560
+ "required": true,
7561
+ "hasDynamicHelp": false,
7562
+ "multiple": false,
7563
+ "type": "option"
7564
+ },
7565
+ "print": {
7566
+ "char": "p",
7567
+ "description": "print out the modified resource",
7568
+ "name": "print",
7569
+ "allowNo": false,
7570
+ "type": "boolean"
7571
+ },
7572
+ "json": {
7573
+ "char": "j",
7574
+ "dependsOn": [
7575
+ "print"
7576
+ ],
7577
+ "description": "print result in JSON format",
7578
+ "name": "json",
7579
+ "allowNo": false,
7580
+ "type": "boolean"
7581
+ },
7582
+ "unformatted": {
7583
+ "char": "u",
7584
+ "dependsOn": [
7585
+ "json"
7586
+ ],
7587
+ "description": "print JSON output without indentation",
7588
+ "name": "unformatted",
7589
+ "allowNo": false,
7590
+ "type": "boolean"
7591
+ }
7592
+ },
7593
+ "hasDynamicHelp": false,
7594
+ "hiddenAliases": [],
7595
+ "id": "order:refund_invoice",
7596
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7597
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7598
+ "pluginType": "core",
7599
+ "strict": true,
7600
+ "enableJsonFlag": false,
7601
+ "isESM": false,
7602
+ "relativePath": [
7603
+ "lib",
7604
+ "commands",
7605
+ "order",
7606
+ "refund_invoice.js"
7607
+ ]
7608
+ },
7609
+ "order:reset_circuit": {
7610
+ "aliases": [],
7611
+ "args": {
7612
+ "id": {
7613
+ "description": "the unique id of the resource",
7614
+ "name": "id",
7615
+ "required": true
7616
+ }
7617
+ },
7618
+ "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
7619
+ "flags": {
7620
+ "organization": {
7621
+ "char": "o",
7622
+ "description": "the slug of your organization",
7623
+ "env": "CL_CLI_ORGANIZATION",
7624
+ "hidden": true,
7625
+ "name": "organization",
7626
+ "required": true,
7627
+ "hasDynamicHelp": false,
7628
+ "multiple": false,
7629
+ "type": "option"
7630
+ },
7631
+ "domain": {
7632
+ "char": "d",
7633
+ "dependsOn": [
7634
+ "organization"
7635
+ ],
7636
+ "env": "CL_CLI_DOMAIN",
7637
+ "hidden": true,
7638
+ "name": "domain",
7639
+ "required": false,
7640
+ "hasDynamicHelp": false,
7641
+ "multiple": false,
7642
+ "type": "option"
7643
+ },
7644
+ "accessToken": {
7645
+ "env": "CL_CLI_ACCESS_TOKEN",
7646
+ "hidden": true,
7647
+ "name": "accessToken",
7648
+ "required": true,
7649
+ "hasDynamicHelp": false,
7650
+ "multiple": false,
7651
+ "type": "option"
7652
+ },
7653
+ "print": {
7654
+ "char": "p",
7655
+ "description": "print out the modified resource",
7656
+ "name": "print",
7657
+ "allowNo": false,
7658
+ "type": "boolean"
7659
+ },
7660
+ "json": {
7661
+ "char": "j",
7662
+ "dependsOn": [
7663
+ "print"
7664
+ ],
7665
+ "description": "print result in JSON format",
7666
+ "name": "json",
7667
+ "allowNo": false,
7668
+ "type": "boolean"
7669
+ },
7670
+ "unformatted": {
7671
+ "char": "u",
7672
+ "dependsOn": [
7673
+ "json"
7674
+ ],
7675
+ "description": "print JSON output without indentation",
7676
+ "name": "unformatted",
7677
+ "allowNo": false,
7678
+ "type": "boolean"
7679
+ }
7680
+ },
7681
+ "hasDynamicHelp": false,
7682
+ "hiddenAliases": [],
7683
+ "id": "order:reset_circuit",
7684
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7685
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7686
+ "pluginType": "core",
7687
+ "strict": true,
7688
+ "enableJsonFlag": false,
7689
+ "isESM": false,
7690
+ "relativePath": [
7691
+ "lib",
7692
+ "commands",
7693
+ "order",
7694
+ "reset_circuit.js"
7695
+ ]
7696
+ },
7697
+ "order:save_billing_address_to_customer_address_book": {
7698
+ "aliases": [],
7699
+ "args": {
7700
+ "id": {
7701
+ "description": "the unique id of the resource",
7702
+ "name": "id",
7703
+ "required": true
7704
+ }
7705
+ },
7706
+ "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.",
7707
+ "flags": {
7708
+ "organization": {
7709
+ "char": "o",
7710
+ "description": "the slug of your organization",
7711
+ "env": "CL_CLI_ORGANIZATION",
7712
+ "hidden": true,
7713
+ "name": "organization",
7714
+ "required": true,
7715
+ "hasDynamicHelp": false,
7716
+ "multiple": false,
7717
+ "type": "option"
7718
+ },
7719
+ "domain": {
7720
+ "char": "d",
7721
+ "dependsOn": [
7722
+ "organization"
7723
+ ],
7724
+ "env": "CL_CLI_DOMAIN",
7725
+ "hidden": true,
7726
+ "name": "domain",
7727
+ "required": false,
7728
+ "hasDynamicHelp": false,
7729
+ "multiple": false,
7730
+ "type": "option"
7731
+ },
7732
+ "accessToken": {
7733
+ "env": "CL_CLI_ACCESS_TOKEN",
7734
+ "hidden": true,
7735
+ "name": "accessToken",
7736
+ "required": true,
7737
+ "hasDynamicHelp": false,
7738
+ "multiple": false,
7739
+ "type": "option"
7740
+ },
7741
+ "print": {
7742
+ "char": "p",
7743
+ "description": "print out the modified resource",
7744
+ "name": "print",
7745
+ "allowNo": false,
7746
+ "type": "boolean"
7747
+ },
7748
+ "json": {
7749
+ "char": "j",
7750
+ "dependsOn": [
7751
+ "print"
7752
+ ],
7753
+ "description": "print result in JSON format",
7754
+ "name": "json",
7755
+ "allowNo": false,
7756
+ "type": "boolean"
7757
+ },
7758
+ "unformatted": {
7759
+ "char": "u",
7760
+ "dependsOn": [
7761
+ "json"
7762
+ ],
7763
+ "description": "print JSON output without indentation",
7764
+ "name": "unformatted",
7765
+ "allowNo": false,
7766
+ "type": "boolean"
7767
+ }
7768
+ },
7769
+ "hasDynamicHelp": false,
7770
+ "hiddenAliases": [],
7771
+ "id": "order:save_billing_address_to_customer_address_book",
7772
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7773
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7774
+ "pluginType": "core",
7775
+ "strict": true,
7776
+ "enableJsonFlag": false,
7777
+ "isESM": false,
7778
+ "relativePath": [
7779
+ "lib",
7780
+ "commands",
7781
+ "order",
7782
+ "save_billing_address_to_customer_address_book.js"
7783
+ ]
7784
+ },
7785
+ "order:save_payment_source_to_customer_wallet": {
7786
+ "aliases": [],
7787
+ "args": {
7788
+ "id": {
7789
+ "description": "the unique id of the resource",
7790
+ "name": "id",
7791
+ "required": true
7792
+ }
7793
+ },
7794
+ "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.",
7795
+ "flags": {
7796
+ "organization": {
7797
+ "char": "o",
7798
+ "description": "the slug of your organization",
7799
+ "env": "CL_CLI_ORGANIZATION",
7800
+ "hidden": true,
7801
+ "name": "organization",
7802
+ "required": true,
7803
+ "hasDynamicHelp": false,
7804
+ "multiple": false,
7805
+ "type": "option"
7806
+ },
7807
+ "domain": {
7808
+ "char": "d",
7809
+ "dependsOn": [
7810
+ "organization"
7811
+ ],
7812
+ "env": "CL_CLI_DOMAIN",
7813
+ "hidden": true,
7814
+ "name": "domain",
7815
+ "required": false,
7816
+ "hasDynamicHelp": false,
7817
+ "multiple": false,
7818
+ "type": "option"
7819
+ },
7820
+ "accessToken": {
7821
+ "env": "CL_CLI_ACCESS_TOKEN",
7822
+ "hidden": true,
7823
+ "name": "accessToken",
7824
+ "required": true,
7825
+ "hasDynamicHelp": false,
7826
+ "multiple": false,
7827
+ "type": "option"
7828
+ },
7829
+ "print": {
7830
+ "char": "p",
7831
+ "description": "print out the modified resource",
7832
+ "name": "print",
7833
+ "allowNo": false,
7834
+ "type": "boolean"
7835
+ },
7836
+ "json": {
7837
+ "char": "j",
7838
+ "dependsOn": [
7839
+ "print"
7840
+ ],
7841
+ "description": "print result in JSON format",
7842
+ "name": "json",
7843
+ "allowNo": false,
7844
+ "type": "boolean"
7845
+ },
7846
+ "unformatted": {
7847
+ "char": "u",
7848
+ "dependsOn": [
7849
+ "json"
7850
+ ],
7851
+ "description": "print JSON output without indentation",
7852
+ "name": "unformatted",
7853
+ "allowNo": false,
7854
+ "type": "boolean"
7855
+ }
7856
+ },
7857
+ "hasDynamicHelp": false,
7858
+ "hiddenAliases": [],
7859
+ "id": "order:save_payment_source_to_customer_wallet",
7860
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7861
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7862
+ "pluginType": "core",
7863
+ "strict": true,
7864
+ "enableJsonFlag": false,
7865
+ "isESM": false,
7866
+ "relativePath": [
7867
+ "lib",
7868
+ "commands",
7869
+ "order",
7870
+ "save_payment_source_to_customer_wallet.js"
7871
+ ]
7872
+ },
7873
+ "order:save_shipping_address_to_customer_address_book": {
7874
+ "aliases": [],
7875
+ "args": {
7876
+ "id": {
7877
+ "description": "the unique id of the resource",
7878
+ "name": "id",
7879
+ "required": true
7880
+ }
7881
+ },
7882
+ "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.",
7883
+ "flags": {
7884
+ "organization": {
7885
+ "char": "o",
7886
+ "description": "the slug of your organization",
7887
+ "env": "CL_CLI_ORGANIZATION",
7888
+ "hidden": true,
7889
+ "name": "organization",
7890
+ "required": true,
7891
+ "hasDynamicHelp": false,
7892
+ "multiple": false,
7893
+ "type": "option"
7894
+ },
7895
+ "domain": {
7896
+ "char": "d",
7897
+ "dependsOn": [
7898
+ "organization"
7899
+ ],
7900
+ "env": "CL_CLI_DOMAIN",
7901
+ "hidden": true,
7902
+ "name": "domain",
7903
+ "required": false,
7904
+ "hasDynamicHelp": false,
7905
+ "multiple": false,
7906
+ "type": "option"
7907
+ },
7908
+ "accessToken": {
7909
+ "env": "CL_CLI_ACCESS_TOKEN",
7910
+ "hidden": true,
7911
+ "name": "accessToken",
7912
+ "required": true,
7913
+ "hasDynamicHelp": false,
7914
+ "multiple": false,
7915
+ "type": "option"
7916
+ },
7917
+ "print": {
7918
+ "char": "p",
7919
+ "description": "print out the modified resource",
7920
+ "name": "print",
7921
+ "allowNo": false,
7922
+ "type": "boolean"
7923
+ },
7924
+ "json": {
7925
+ "char": "j",
7926
+ "dependsOn": [
7927
+ "print"
7928
+ ],
7929
+ "description": "print result in JSON format",
7930
+ "name": "json",
7931
+ "allowNo": false,
7932
+ "type": "boolean"
7933
+ },
7934
+ "unformatted": {
7935
+ "char": "u",
7936
+ "dependsOn": [
7937
+ "json"
7938
+ ],
7939
+ "description": "print JSON output without indentation",
7940
+ "name": "unformatted",
7941
+ "allowNo": false,
7942
+ "type": "boolean"
7943
+ }
7944
+ },
7945
+ "hasDynamicHelp": false,
7946
+ "hiddenAliases": [],
7947
+ "id": "order:save_shipping_address_to_customer_address_book",
7948
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
7949
+ "pluginName": "@commercelayer/cli-plugin-triggers",
7950
+ "pluginType": "core",
7951
+ "strict": true,
7952
+ "enableJsonFlag": false,
7953
+ "isESM": false,
7954
+ "relativePath": [
7955
+ "lib",
7956
+ "commands",
7957
+ "order",
7958
+ "save_shipping_address_to_customer_address_book.js"
7959
+ ]
7960
+ },
7961
+ "order:shipping_address_clone_id": {
7962
+ "aliases": [],
7963
+ "args": {
7964
+ "id": {
7965
+ "description": "the unique id of the resource",
7966
+ "name": "id",
7967
+ "required": true
7968
+ }
7969
+ },
7970
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
7971
+ "flags": {
7972
+ "organization": {
7973
+ "char": "o",
7974
+ "description": "the slug of your organization",
7975
+ "env": "CL_CLI_ORGANIZATION",
7976
+ "hidden": true,
7977
+ "name": "organization",
7978
+ "required": true,
7979
+ "hasDynamicHelp": false,
7980
+ "multiple": false,
7981
+ "type": "option"
7982
+ },
7983
+ "domain": {
7984
+ "char": "d",
7985
+ "dependsOn": [
7986
+ "organization"
7987
+ ],
7988
+ "env": "CL_CLI_DOMAIN",
7989
+ "hidden": true,
7990
+ "name": "domain",
7991
+ "required": false,
7992
+ "hasDynamicHelp": false,
7993
+ "multiple": false,
7994
+ "type": "option"
7995
+ },
7996
+ "accessToken": {
7997
+ "env": "CL_CLI_ACCESS_TOKEN",
7998
+ "hidden": true,
7999
+ "name": "accessToken",
8000
+ "required": true,
8001
+ "hasDynamicHelp": false,
8002
+ "multiple": false,
8003
+ "type": "option"
8004
+ },
8005
+ "print": {
8006
+ "char": "p",
8007
+ "description": "print out the modified resource",
8008
+ "name": "print",
8009
+ "allowNo": false,
8010
+ "type": "boolean"
8011
+ },
8012
+ "json": {
8013
+ "char": "j",
8014
+ "dependsOn": [
8015
+ "print"
8016
+ ],
8017
+ "description": "print result in JSON format",
8018
+ "name": "json",
8019
+ "allowNo": false,
8020
+ "type": "boolean"
8021
+ },
8022
+ "unformatted": {
8023
+ "char": "u",
8024
+ "dependsOn": [
8025
+ "json"
8026
+ ],
8027
+ "description": "print JSON output without indentation",
8028
+ "name": "unformatted",
8029
+ "allowNo": false,
8030
+ "type": "boolean"
8031
+ },
8032
+ "value": {
8033
+ "char": "v",
8034
+ "description": "the trigger attribute value",
8035
+ "name": "value",
8036
+ "required": true,
8037
+ "hasDynamicHelp": false,
8038
+ "multiple": false,
8039
+ "type": "option"
8040
+ }
8041
+ },
8042
+ "hasDynamicHelp": false,
8043
+ "hiddenAliases": [],
8044
+ "id": "order:shipping_address_clone_id",
7508
8045
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7509
8046
  "pluginName": "@commercelayer/cli-plugin-triggers",
7510
8047
  "pluginType": "core",
@@ -7515,10 +8052,10 @@
7515
8052
  "lib",
7516
8053
  "commands",
7517
8054
  "order",
7518
- "refresh.js"
8055
+ "shipping_address_clone_id.js"
7519
8056
  ]
7520
8057
  },
7521
- "order:refund": {
8058
+ "order:shipping_address_same_as_billing": {
7522
8059
  "aliases": [],
7523
8060
  "args": {
7524
8061
  "id": {
@@ -7527,7 +8064,7 @@
7527
8064
  "required": true
7528
8065
  }
7529
8066
  },
7530
- "description": "Send this attribute if you want to refund a captured order.",
8067
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
7531
8068
  "flags": {
7532
8069
  "organization": {
7533
8070
  "char": "o",
@@ -7592,7 +8129,7 @@
7592
8129
  },
7593
8130
  "hasDynamicHelp": false,
7594
8131
  "hiddenAliases": [],
7595
- "id": "order:refund",
8132
+ "id": "order:shipping_address_same_as_billing",
7596
8133
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7597
8134
  "pluginName": "@commercelayer/cli-plugin-triggers",
7598
8135
  "pluginType": "core",
@@ -7603,10 +8140,10 @@
7603
8140
  "lib",
7604
8141
  "commands",
7605
8142
  "order",
7606
- "refund.js"
8143
+ "shipping_address_same_as_billing.js"
7607
8144
  ]
7608
8145
  },
7609
- "order:refund_invoice": {
8146
+ "order:start_editing": {
7610
8147
  "aliases": [],
7611
8148
  "args": {
7612
8149
  "id": {
@@ -7615,7 +8152,7 @@
7615
8152
  "required": true
7616
8153
  }
7617
8154
  },
7618
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
8155
+ "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount.",
7619
8156
  "flags": {
7620
8157
  "organization": {
7621
8158
  "char": "o",
@@ -7680,7 +8217,7 @@
7680
8217
  },
7681
8218
  "hasDynamicHelp": false,
7682
8219
  "hiddenAliases": [],
7683
- "id": "order:refund_invoice",
8220
+ "id": "order:start_editing",
7684
8221
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7685
8222
  "pluginName": "@commercelayer/cli-plugin-triggers",
7686
8223
  "pluginType": "core",
@@ -7691,10 +8228,10 @@
7691
8228
  "lib",
7692
8229
  "commands",
7693
8230
  "order",
7694
- "refund_invoice.js"
8231
+ "start_editing.js"
7695
8232
  ]
7696
8233
  },
7697
- "order:reset_circuit": {
8234
+ "order:stop_editing": {
7698
8235
  "aliases": [],
7699
8236
  "args": {
7700
8237
  "id": {
@@ -7703,7 +8240,7 @@
7703
8240
  "required": true
7704
8241
  }
7705
8242
  },
7706
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count.",
8243
+ "description": "Send this attribute to stop the editing for the order and return back to placed status.",
7707
8244
  "flags": {
7708
8245
  "organization": {
7709
8246
  "char": "o",
@@ -7768,7 +8305,7 @@
7768
8305
  },
7769
8306
  "hasDynamicHelp": false,
7770
8307
  "hiddenAliases": [],
7771
- "id": "order:reset_circuit",
8308
+ "id": "order:stop_editing",
7772
8309
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7773
8310
  "pluginName": "@commercelayer/cli-plugin-triggers",
7774
8311
  "pluginType": "core",
@@ -7779,10 +8316,10 @@
7779
8316
  "lib",
7780
8317
  "commands",
7781
8318
  "order",
7782
- "reset_circuit.js"
8319
+ "stop_editing.js"
7783
8320
  ]
7784
8321
  },
7785
- "order:save_billing_address_to_customer_address_book": {
8322
+ "order:unarchive": {
7786
8323
  "aliases": [],
7787
8324
  "args": {
7788
8325
  "id": {
@@ -7791,7 +8328,7 @@
7791
8328
  "required": true
7792
8329
  }
7793
8330
  },
7794
- "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.",
8331
+ "description": "Send this attribute if you want to unarchive the order.",
7795
8332
  "flags": {
7796
8333
  "organization": {
7797
8334
  "char": "o",
@@ -7856,7 +8393,7 @@
7856
8393
  },
7857
8394
  "hasDynamicHelp": false,
7858
8395
  "hiddenAliases": [],
7859
- "id": "order:save_billing_address_to_customer_address_book",
8396
+ "id": "order:unarchive",
7860
8397
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7861
8398
  "pluginName": "@commercelayer/cli-plugin-triggers",
7862
8399
  "pluginType": "core",
@@ -7867,10 +8404,10 @@
7867
8404
  "lib",
7868
8405
  "commands",
7869
8406
  "order",
7870
- "save_billing_address_to_customer_address_book.js"
8407
+ "unarchive.js"
7871
8408
  ]
7872
8409
  },
7873
- "order:save_payment_source_to_customer_wallet": {
8410
+ "order:update_taxes": {
7874
8411
  "aliases": [],
7875
8412
  "args": {
7876
8413
  "id": {
@@ -7879,7 +8416,7 @@
7879
8416
  "required": true
7880
8417
  }
7881
8418
  },
7882
- "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.",
8419
+ "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).",
7883
8420
  "flags": {
7884
8421
  "organization": {
7885
8422
  "char": "o",
@@ -7944,7 +8481,7 @@
7944
8481
  },
7945
8482
  "hasDynamicHelp": false,
7946
8483
  "hiddenAliases": [],
7947
- "id": "order:save_payment_source_to_customer_wallet",
8484
+ "id": "order:update_taxes",
7948
8485
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
7949
8486
  "pluginName": "@commercelayer/cli-plugin-triggers",
7950
8487
  "pluginType": "core",
@@ -7955,10 +8492,10 @@
7955
8492
  "lib",
7956
8493
  "commands",
7957
8494
  "order",
7958
- "save_payment_source_to_customer_wallet.js"
8495
+ "update_taxes.js"
7959
8496
  ]
7960
8497
  },
7961
- "order:save_shipping_address_to_customer_address_book": {
8498
+ "order:validate": {
7962
8499
  "aliases": [],
7963
8500
  "args": {
7964
8501
  "id": {
@@ -7967,7 +8504,7 @@
7967
8504
  "required": true
7968
8505
  }
7969
8506
  },
7970
- "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.",
8507
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
7971
8508
  "flags": {
7972
8509
  "organization": {
7973
8510
  "char": "o",
@@ -8032,7 +8569,7 @@
8032
8569
  },
8033
8570
  "hasDynamicHelp": false,
8034
8571
  "hiddenAliases": [],
8035
- "id": "order:save_shipping_address_to_customer_address_book",
8572
+ "id": "order:validate",
8036
8573
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8037
8574
  "pluginName": "@commercelayer/cli-plugin-triggers",
8038
8575
  "pluginType": "core",
@@ -8043,10 +8580,10 @@
8043
8580
  "lib",
8044
8581
  "commands",
8045
8582
  "order",
8046
- "save_shipping_address_to_customer_address_book.js"
8583
+ "validate.js"
8047
8584
  ]
8048
8585
  },
8049
- "order:shipping_address_clone_id": {
8586
+ "order_subscription:activate": {
8050
8587
  "aliases": [],
8051
8588
  "args": {
8052
8589
  "id": {
@@ -8055,7 +8592,7 @@
8055
8592
  "required": true
8056
8593
  }
8057
8594
  },
8058
- "description": "The id of the address that you want to clone to create the order's shipping address.",
8595
+ "description": "Send this attribute if you want to mark this subscription as active.",
8059
8596
  "flags": {
8060
8597
  "organization": {
8061
8598
  "char": "o",
@@ -8116,20 +8653,11 @@
8116
8653
  "name": "unformatted",
8117
8654
  "allowNo": false,
8118
8655
  "type": "boolean"
8119
- },
8120
- "value": {
8121
- "char": "v",
8122
- "description": "the trigger attribute value",
8123
- "name": "value",
8124
- "required": true,
8125
- "hasDynamicHelp": false,
8126
- "multiple": false,
8127
- "type": "option"
8128
8656
  }
8129
8657
  },
8130
8658
  "hasDynamicHelp": false,
8131
8659
  "hiddenAliases": [],
8132
- "id": "order:shipping_address_clone_id",
8660
+ "id": "order_subscription:activate",
8133
8661
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8134
8662
  "pluginName": "@commercelayer/cli-plugin-triggers",
8135
8663
  "pluginType": "core",
@@ -8139,11 +8667,11 @@
8139
8667
  "relativePath": [
8140
8668
  "lib",
8141
8669
  "commands",
8142
- "order",
8143
- "shipping_address_clone_id.js"
8670
+ "order_subscription",
8671
+ "activate.js"
8144
8672
  ]
8145
8673
  },
8146
- "order:shipping_address_same_as_billing": {
8674
+ "order_subscription:cancel": {
8147
8675
  "aliases": [],
8148
8676
  "args": {
8149
8677
  "id": {
@@ -8152,7 +8680,7 @@
8152
8680
  "required": true
8153
8681
  }
8154
8682
  },
8155
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
8683
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
8156
8684
  "flags": {
8157
8685
  "organization": {
8158
8686
  "char": "o",
@@ -8217,7 +8745,7 @@
8217
8745
  },
8218
8746
  "hasDynamicHelp": false,
8219
8747
  "hiddenAliases": [],
8220
- "id": "order:shipping_address_same_as_billing",
8748
+ "id": "order_subscription:cancel",
8221
8749
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8222
8750
  "pluginName": "@commercelayer/cli-plugin-triggers",
8223
8751
  "pluginType": "core",
@@ -8227,11 +8755,11 @@
8227
8755
  "relativePath": [
8228
8756
  "lib",
8229
8757
  "commands",
8230
- "order",
8231
- "shipping_address_same_as_billing.js"
8758
+ "order_subscription",
8759
+ "cancel.js"
8232
8760
  ]
8233
8761
  },
8234
- "order:start_editing": {
8762
+ "order_subscription:convert": {
8235
8763
  "aliases": [],
8236
8764
  "args": {
8237
8765
  "id": {
@@ -8240,7 +8768,7 @@
8240
8768
  "required": true
8241
8769
  }
8242
8770
  },
8243
- "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount.",
8771
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
8244
8772
  "flags": {
8245
8773
  "organization": {
8246
8774
  "char": "o",
@@ -8305,7 +8833,7 @@
8305
8833
  },
8306
8834
  "hasDynamicHelp": false,
8307
8835
  "hiddenAliases": [],
8308
- "id": "order:start_editing",
8836
+ "id": "order_subscription:convert",
8309
8837
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8310
8838
  "pluginName": "@commercelayer/cli-plugin-triggers",
8311
8839
  "pluginType": "core",
@@ -8315,11 +8843,11 @@
8315
8843
  "relativePath": [
8316
8844
  "lib",
8317
8845
  "commands",
8318
- "order",
8319
- "start_editing.js"
8846
+ "order_subscription",
8847
+ "convert.js"
8320
8848
  ]
8321
8849
  },
8322
- "order:stop_editing": {
8850
+ "order_subscription:deactivate": {
8323
8851
  "aliases": [],
8324
8852
  "args": {
8325
8853
  "id": {
@@ -8328,7 +8856,7 @@
8328
8856
  "required": true
8329
8857
  }
8330
8858
  },
8331
- "description": "Send this attribute to stop the editing for the order and return back to placed status.",
8859
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
8332
8860
  "flags": {
8333
8861
  "organization": {
8334
8862
  "char": "o",
@@ -8393,7 +8921,7 @@
8393
8921
  },
8394
8922
  "hasDynamicHelp": false,
8395
8923
  "hiddenAliases": [],
8396
- "id": "order:stop_editing",
8924
+ "id": "order_subscription:deactivate",
8397
8925
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8398
8926
  "pluginName": "@commercelayer/cli-plugin-triggers",
8399
8927
  "pluginType": "core",
@@ -8403,11 +8931,11 @@
8403
8931
  "relativePath": [
8404
8932
  "lib",
8405
8933
  "commands",
8406
- "order",
8407
- "stop_editing.js"
8934
+ "order_subscription",
8935
+ "deactivate.js"
8408
8936
  ]
8409
8937
  },
8410
- "order:unarchive": {
8938
+ "order_subscription": {
8411
8939
  "aliases": [],
8412
8940
  "args": {
8413
8941
  "id": {
@@ -8416,7 +8944,7 @@
8416
8944
  "required": true
8417
8945
  }
8418
8946
  },
8419
- "description": "Send this attribute if you want to unarchive the order.",
8947
+ "description": "execute an action on a resource of type order_subscriptions",
8420
8948
  "flags": {
8421
8949
  "organization": {
8422
8950
  "char": "o",
@@ -8481,7 +9009,7 @@
8481
9009
  },
8482
9010
  "hasDynamicHelp": false,
8483
9011
  "hiddenAliases": [],
8484
- "id": "order:unarchive",
9012
+ "id": "order_subscription",
8485
9013
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8486
9014
  "pluginName": "@commercelayer/cli-plugin-triggers",
8487
9015
  "pluginType": "core",
@@ -8491,11 +9019,11 @@
8491
9019
  "relativePath": [
8492
9020
  "lib",
8493
9021
  "commands",
8494
- "order",
8495
- "unarchive.js"
9022
+ "order_subscription",
9023
+ "index.js"
8496
9024
  ]
8497
9025
  },
8498
- "order:update_taxes": {
9026
+ "payment_method:disable": {
8499
9027
  "aliases": [],
8500
9028
  "args": {
8501
9029
  "id": {
@@ -8504,7 +9032,7 @@
8504
9032
  "required": true
8505
9033
  }
8506
9034
  },
8507
- "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).",
9035
+ "description": "Send this attribute if you want to mark this resource as disabled.",
8508
9036
  "flags": {
8509
9037
  "organization": {
8510
9038
  "char": "o",
@@ -8569,7 +9097,7 @@
8569
9097
  },
8570
9098
  "hasDynamicHelp": false,
8571
9099
  "hiddenAliases": [],
8572
- "id": "order:update_taxes",
9100
+ "id": "payment_method:disable",
8573
9101
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8574
9102
  "pluginName": "@commercelayer/cli-plugin-triggers",
8575
9103
  "pluginType": "core",
@@ -8579,11 +9107,11 @@
8579
9107
  "relativePath": [
8580
9108
  "lib",
8581
9109
  "commands",
8582
- "order",
8583
- "update_taxes.js"
9110
+ "payment_method",
9111
+ "disable.js"
8584
9112
  ]
8585
9113
  },
8586
- "order:validate": {
9114
+ "payment_method:enable": {
8587
9115
  "aliases": [],
8588
9116
  "args": {
8589
9117
  "id": {
@@ -8592,7 +9120,7 @@
8592
9120
  "required": true
8593
9121
  }
8594
9122
  },
8595
- "description": "Send this attribute if you want to trigger the external validation for the order.",
9123
+ "description": "Send this attribute if you want to mark this resource as enabled.",
8596
9124
  "flags": {
8597
9125
  "organization": {
8598
9126
  "char": "o",
@@ -8657,7 +9185,7 @@
8657
9185
  },
8658
9186
  "hasDynamicHelp": false,
8659
9187
  "hiddenAliases": [],
8660
- "id": "order:validate",
9188
+ "id": "payment_method:enable",
8661
9189
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8662
9190
  "pluginName": "@commercelayer/cli-plugin-triggers",
8663
9191
  "pluginType": "core",
@@ -8667,11 +9195,11 @@
8667
9195
  "relativePath": [
8668
9196
  "lib",
8669
9197
  "commands",
8670
- "order",
8671
- "validate.js"
9198
+ "payment_method",
9199
+ "enable.js"
8672
9200
  ]
8673
9201
  },
8674
- "payment_method:disable": {
9202
+ "payment_method": {
8675
9203
  "aliases": [],
8676
9204
  "args": {
8677
9205
  "id": {
@@ -8680,7 +9208,7 @@
8680
9208
  "required": true
8681
9209
  }
8682
9210
  },
8683
- "description": "Send this attribute if you want to mark this resource as disabled.",
9211
+ "description": "execute an action on a resource of type payment_methods",
8684
9212
  "flags": {
8685
9213
  "organization": {
8686
9214
  "char": "o",
@@ -8745,7 +9273,7 @@
8745
9273
  },
8746
9274
  "hasDynamicHelp": false,
8747
9275
  "hiddenAliases": [],
8748
- "id": "payment_method:disable",
9276
+ "id": "payment_method",
8749
9277
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8750
9278
  "pluginName": "@commercelayer/cli-plugin-triggers",
8751
9279
  "pluginType": "core",
@@ -8756,10 +9284,10 @@
8756
9284
  "lib",
8757
9285
  "commands",
8758
9286
  "payment_method",
8759
- "disable.js"
9287
+ "index.js"
8760
9288
  ]
8761
9289
  },
8762
- "payment_method:enable": {
9290
+ "percentage_discount_promotion:disable": {
8763
9291
  "aliases": [],
8764
9292
  "args": {
8765
9293
  "id": {
@@ -8768,7 +9296,7 @@
8768
9296
  "required": true
8769
9297
  }
8770
9298
  },
8771
- "description": "Send this attribute if you want to mark this resource as enabled.",
9299
+ "description": "Send this attribute if you want to mark this resource as disabled.",
8772
9300
  "flags": {
8773
9301
  "organization": {
8774
9302
  "char": "o",
@@ -8833,7 +9361,7 @@
8833
9361
  },
8834
9362
  "hasDynamicHelp": false,
8835
9363
  "hiddenAliases": [],
8836
- "id": "payment_method:enable",
9364
+ "id": "percentage_discount_promotion:disable",
8837
9365
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8838
9366
  "pluginName": "@commercelayer/cli-plugin-triggers",
8839
9367
  "pluginType": "core",
@@ -8843,11 +9371,11 @@
8843
9371
  "relativePath": [
8844
9372
  "lib",
8845
9373
  "commands",
8846
- "payment_method",
8847
- "enable.js"
9374
+ "percentage_discount_promotion",
9375
+ "disable.js"
8848
9376
  ]
8849
9377
  },
8850
- "payment_method": {
9378
+ "percentage_discount_promotion:enable": {
8851
9379
  "aliases": [],
8852
9380
  "args": {
8853
9381
  "id": {
@@ -8856,7 +9384,7 @@
8856
9384
  "required": true
8857
9385
  }
8858
9386
  },
8859
- "description": "execute an action on a resource of type payment_methods",
9387
+ "description": "Send this attribute if you want to mark this resource as enabled.",
8860
9388
  "flags": {
8861
9389
  "organization": {
8862
9390
  "char": "o",
@@ -8921,7 +9449,7 @@
8921
9449
  },
8922
9450
  "hasDynamicHelp": false,
8923
9451
  "hiddenAliases": [],
8924
- "id": "payment_method",
9452
+ "id": "percentage_discount_promotion:enable",
8925
9453
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8926
9454
  "pluginName": "@commercelayer/cli-plugin-triggers",
8927
9455
  "pluginType": "core",
@@ -8931,11 +9459,11 @@
8931
9459
  "relativePath": [
8932
9460
  "lib",
8933
9461
  "commands",
8934
- "payment_method",
8935
- "index.js"
9462
+ "percentage_discount_promotion",
9463
+ "enable.js"
8936
9464
  ]
8937
9465
  },
8938
- "percentage_discount_promotion:disable": {
9466
+ "percentage_discount_promotion": {
8939
9467
  "aliases": [],
8940
9468
  "args": {
8941
9469
  "id": {
@@ -8944,7 +9472,7 @@
8944
9472
  "required": true
8945
9473
  }
8946
9474
  },
8947
- "description": "Send this attribute if you want to mark this resource as disabled.",
9475
+ "description": "execute an action on a resource of type percentage_discount_promotions",
8948
9476
  "flags": {
8949
9477
  "organization": {
8950
9478
  "char": "o",
@@ -9009,7 +9537,7 @@
9009
9537
  },
9010
9538
  "hasDynamicHelp": false,
9011
9539
  "hiddenAliases": [],
9012
- "id": "percentage_discount_promotion:disable",
9540
+ "id": "percentage_discount_promotion",
9013
9541
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9014
9542
  "pluginName": "@commercelayer/cli-plugin-triggers",
9015
9543
  "pluginType": "core",
@@ -9020,10 +9548,10 @@
9020
9548
  "lib",
9021
9549
  "commands",
9022
9550
  "percentage_discount_promotion",
9023
- "disable.js"
9551
+ "index.js"
9024
9552
  ]
9025
9553
  },
9026
- "percentage_discount_promotion:enable": {
9554
+ "price_list_scheduler:disable": {
9027
9555
  "aliases": [],
9028
9556
  "args": {
9029
9557
  "id": {
@@ -9032,7 +9560,7 @@
9032
9560
  "required": true
9033
9561
  }
9034
9562
  },
9035
- "description": "Send this attribute if you want to mark this resource as enabled.",
9563
+ "description": "Send this attribute if you want to mark this resource as disabled.",
9036
9564
  "flags": {
9037
9565
  "organization": {
9038
9566
  "char": "o",
@@ -9097,7 +9625,7 @@
9097
9625
  },
9098
9626
  "hasDynamicHelp": false,
9099
9627
  "hiddenAliases": [],
9100
- "id": "percentage_discount_promotion:enable",
9628
+ "id": "price_list_scheduler:disable",
9101
9629
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9102
9630
  "pluginName": "@commercelayer/cli-plugin-triggers",
9103
9631
  "pluginType": "core",
@@ -9107,11 +9635,11 @@
9107
9635
  "relativePath": [
9108
9636
  "lib",
9109
9637
  "commands",
9110
- "percentage_discount_promotion",
9111
- "enable.js"
9638
+ "price_list_scheduler",
9639
+ "disable.js"
9112
9640
  ]
9113
9641
  },
9114
- "percentage_discount_promotion": {
9642
+ "price_list_scheduler:enable": {
9115
9643
  "aliases": [],
9116
9644
  "args": {
9117
9645
  "id": {
@@ -9120,7 +9648,7 @@
9120
9648
  "required": true
9121
9649
  }
9122
9650
  },
9123
- "description": "execute an action on a resource of type percentage_discount_promotions",
9651
+ "description": "Send this attribute if you want to mark this resource as enabled.",
9124
9652
  "flags": {
9125
9653
  "organization": {
9126
9654
  "char": "o",
@@ -9185,7 +9713,7 @@
9185
9713
  },
9186
9714
  "hasDynamicHelp": false,
9187
9715
  "hiddenAliases": [],
9188
- "id": "percentage_discount_promotion",
9716
+ "id": "price_list_scheduler:enable",
9189
9717
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9190
9718
  "pluginName": "@commercelayer/cli-plugin-triggers",
9191
9719
  "pluginType": "core",
@@ -9195,11 +9723,11 @@
9195
9723
  "relativePath": [
9196
9724
  "lib",
9197
9725
  "commands",
9198
- "percentage_discount_promotion",
9199
- "index.js"
9726
+ "price_list_scheduler",
9727
+ "enable.js"
9200
9728
  ]
9201
9729
  },
9202
- "price_list_scheduler:disable": {
9730
+ "price_list_scheduler": {
9203
9731
  "aliases": [],
9204
9732
  "args": {
9205
9733
  "id": {
@@ -9208,7 +9736,7 @@
9208
9736
  "required": true
9209
9737
  }
9210
9738
  },
9211
- "description": "Send this attribute if you want to mark this resource as disabled.",
9739
+ "description": "execute an action on a resource of type price_list_schedulers",
9212
9740
  "flags": {
9213
9741
  "organization": {
9214
9742
  "char": "o",
@@ -9273,7 +9801,7 @@
9273
9801
  },
9274
9802
  "hasDynamicHelp": false,
9275
9803
  "hiddenAliases": [],
9276
- "id": "price_list_scheduler:disable",
9804
+ "id": "price_list_scheduler",
9277
9805
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9278
9806
  "pluginName": "@commercelayer/cli-plugin-triggers",
9279
9807
  "pluginType": "core",
@@ -9284,10 +9812,10 @@
9284
9812
  "lib",
9285
9813
  "commands",
9286
9814
  "price_list_scheduler",
9287
- "disable.js"
9815
+ "index.js"
9288
9816
  ]
9289
9817
  },
9290
- "price_list_scheduler:enable": {
9818
+ "return:approve": {
9291
9819
  "aliases": [],
9292
9820
  "args": {
9293
9821
  "id": {
@@ -9296,7 +9824,7 @@
9296
9824
  "required": true
9297
9825
  }
9298
9826
  },
9299
- "description": "Send this attribute if you want to mark this resource as enabled.",
9827
+ "description": "Send this attribute if you want to mark this return as approved.",
9300
9828
  "flags": {
9301
9829
  "organization": {
9302
9830
  "char": "o",
@@ -9361,7 +9889,7 @@
9361
9889
  },
9362
9890
  "hasDynamicHelp": false,
9363
9891
  "hiddenAliases": [],
9364
- "id": "price_list_scheduler:enable",
9892
+ "id": "return:approve",
9365
9893
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9366
9894
  "pluginName": "@commercelayer/cli-plugin-triggers",
9367
9895
  "pluginType": "core",
@@ -9371,11 +9899,11 @@
9371
9899
  "relativePath": [
9372
9900
  "lib",
9373
9901
  "commands",
9374
- "price_list_scheduler",
9375
- "enable.js"
9902
+ "return",
9903
+ "approve.js"
9376
9904
  ]
9377
9905
  },
9378
- "price_list_scheduler": {
9906
+ "return:archive": {
9379
9907
  "aliases": [],
9380
9908
  "args": {
9381
9909
  "id": {
@@ -9384,7 +9912,7 @@
9384
9912
  "required": true
9385
9913
  }
9386
9914
  },
9387
- "description": "execute an action on a resource of type price_list_schedulers",
9915
+ "description": "Send this attribute if you want to archive the return.",
9388
9916
  "flags": {
9389
9917
  "organization": {
9390
9918
  "char": "o",
@@ -9449,7 +9977,7 @@
9449
9977
  },
9450
9978
  "hasDynamicHelp": false,
9451
9979
  "hiddenAliases": [],
9452
- "id": "price_list_scheduler",
9980
+ "id": "return:archive",
9453
9981
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9454
9982
  "pluginName": "@commercelayer/cli-plugin-triggers",
9455
9983
  "pluginType": "core",
@@ -9459,11 +9987,11 @@
9459
9987
  "relativePath": [
9460
9988
  "lib",
9461
9989
  "commands",
9462
- "price_list_scheduler",
9463
- "index.js"
9990
+ "return",
9991
+ "archive.js"
9464
9992
  ]
9465
9993
  },
9466
- "return:approve": {
9994
+ "return:cancel": {
9467
9995
  "aliases": [],
9468
9996
  "args": {
9469
9997
  "id": {
@@ -9472,7 +10000,7 @@
9472
10000
  "required": true
9473
10001
  }
9474
10002
  },
9475
- "description": "Send this attribute if you want to mark this return as approved.",
10003
+ "description": "Send this attribute if you want to mark this return as cancelled.",
9476
10004
  "flags": {
9477
10005
  "organization": {
9478
10006
  "char": "o",
@@ -9537,7 +10065,7 @@
9537
10065
  },
9538
10066
  "hasDynamicHelp": false,
9539
10067
  "hiddenAliases": [],
9540
- "id": "return:approve",
10068
+ "id": "return:cancel",
9541
10069
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9542
10070
  "pluginName": "@commercelayer/cli-plugin-triggers",
9543
10071
  "pluginType": "core",
@@ -9548,10 +10076,10 @@
9548
10076
  "lib",
9549
10077
  "commands",
9550
10078
  "return",
9551
- "approve.js"
10079
+ "cancel.js"
9552
10080
  ]
9553
10081
  },
9554
- "return:archive": {
10082
+ "return": {
9555
10083
  "aliases": [],
9556
10084
  "args": {
9557
10085
  "id": {
@@ -9560,7 +10088,7 @@
9560
10088
  "required": true
9561
10089
  }
9562
10090
  },
9563
- "description": "Send this attribute if you want to archive the return.",
10091
+ "description": "execute an action on a resource of type returns",
9564
10092
  "flags": {
9565
10093
  "organization": {
9566
10094
  "char": "o",
@@ -9625,7 +10153,7 @@
9625
10153
  },
9626
10154
  "hasDynamicHelp": false,
9627
10155
  "hiddenAliases": [],
9628
- "id": "return:archive",
10156
+ "id": "return",
9629
10157
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9630
10158
  "pluginName": "@commercelayer/cli-plugin-triggers",
9631
10159
  "pluginType": "core",
@@ -9636,10 +10164,10 @@
9636
10164
  "lib",
9637
10165
  "commands",
9638
10166
  "return",
9639
- "archive.js"
10167
+ "index.js"
9640
10168
  ]
9641
10169
  },
9642
- "return:cancel": {
10170
+ "return:receive": {
9643
10171
  "aliases": [],
9644
10172
  "args": {
9645
10173
  "id": {
@@ -9648,7 +10176,7 @@
9648
10176
  "required": true
9649
10177
  }
9650
10178
  },
9651
- "description": "Send this attribute if you want to mark this return as cancelled.",
10179
+ "description": "Send this attribute if you want to mark this return as received.",
9652
10180
  "flags": {
9653
10181
  "organization": {
9654
10182
  "char": "o",
@@ -9713,7 +10241,7 @@
9713
10241
  },
9714
10242
  "hasDynamicHelp": false,
9715
10243
  "hiddenAliases": [],
9716
- "id": "return:cancel",
10244
+ "id": "return:receive",
9717
10245
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9718
10246
  "pluginName": "@commercelayer/cli-plugin-triggers",
9719
10247
  "pluginType": "core",
@@ -9724,10 +10252,10 @@
9724
10252
  "lib",
9725
10253
  "commands",
9726
10254
  "return",
9727
- "cancel.js"
10255
+ "receive.js"
9728
10256
  ]
9729
10257
  },
9730
- "return": {
10258
+ "return:refund": {
9731
10259
  "aliases": [],
9732
10260
  "args": {
9733
10261
  "id": {
@@ -9736,7 +10264,7 @@
9736
10264
  "required": true
9737
10265
  }
9738
10266
  },
9739
- "description": "execute an action on a resource of type returns",
10267
+ "description": "Send this attribute if you want to create a refund for this return.",
9740
10268
  "flags": {
9741
10269
  "organization": {
9742
10270
  "char": "o",
@@ -9801,7 +10329,7 @@
9801
10329
  },
9802
10330
  "hasDynamicHelp": false,
9803
10331
  "hiddenAliases": [],
9804
- "id": "return",
10332
+ "id": "return:refund",
9805
10333
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9806
10334
  "pluginName": "@commercelayer/cli-plugin-triggers",
9807
10335
  "pluginType": "core",
@@ -9812,10 +10340,10 @@
9812
10340
  "lib",
9813
10341
  "commands",
9814
10342
  "return",
9815
- "index.js"
10343
+ "refund.js"
9816
10344
  ]
9817
10345
  },
9818
- "return:receive": {
10346
+ "return:refund_amount_cents": {
9819
10347
  "aliases": [],
9820
10348
  "args": {
9821
10349
  "id": {
@@ -9824,7 +10352,7 @@
9824
10352
  "required": true
9825
10353
  }
9826
10354
  },
9827
- "description": "Send this attribute if you want to mark this return as received.",
10355
+ "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
9828
10356
  "flags": {
9829
10357
  "organization": {
9830
10358
  "char": "o",
@@ -9889,7 +10417,7 @@
9889
10417
  },
9890
10418
  "hasDynamicHelp": false,
9891
10419
  "hiddenAliases": [],
9892
- "id": "return:receive",
10420
+ "id": "return:refund_amount_cents",
9893
10421
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9894
10422
  "pluginName": "@commercelayer/cli-plugin-triggers",
9895
10423
  "pluginType": "core",
@@ -9900,7 +10428,7 @@
9900
10428
  "lib",
9901
10429
  "commands",
9902
10430
  "return",
9903
- "receive.js"
10431
+ "refund_amount_cents.js"
9904
10432
  ]
9905
10433
  },
9906
10434
  "return:reject": {
@@ -14216,5 +14744,5 @@
14216
14744
  ]
14217
14745
  }
14218
14746
  },
14219
- "version": "4.5.0"
14747
+ "version": "4.7.0"
14220
14748
  }