@commercelayer/cli-plugin-triggers 4.17.1 → 4.18.1

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