@commercelayer/cli-plugin-triggers 4.17.0 → 4.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +620 -620
  67. package/package.json +16 -17
@@ -1692,182 +1692,6 @@
1692
1692
  "index.js"
1693
1693
  ]
1694
1694
  },
1695
- "axerve_payment": {
1696
- "aliases": [],
1697
- "args": {
1698
- "id": {
1699
- "description": "the unique id of the resource",
1700
- "name": "id",
1701
- "required": true
1702
- }
1703
- },
1704
- "description": "execute an action on a resource of type axerve_payments",
1705
- "flags": {
1706
- "organization": {
1707
- "char": "o",
1708
- "description": "the slug of your organization",
1709
- "env": "CL_CLI_ORGANIZATION",
1710
- "hidden": true,
1711
- "name": "organization",
1712
- "required": true,
1713
- "hasDynamicHelp": false,
1714
- "multiple": false,
1715
- "type": "option"
1716
- },
1717
- "domain": {
1718
- "char": "d",
1719
- "dependsOn": [
1720
- "organization"
1721
- ],
1722
- "env": "CL_CLI_DOMAIN",
1723
- "hidden": true,
1724
- "name": "domain",
1725
- "required": false,
1726
- "hasDynamicHelp": false,
1727
- "multiple": false,
1728
- "type": "option"
1729
- },
1730
- "accessToken": {
1731
- "env": "CL_CLI_ACCESS_TOKEN",
1732
- "hidden": true,
1733
- "name": "accessToken",
1734
- "required": true,
1735
- "hasDynamicHelp": false,
1736
- "multiple": false,
1737
- "type": "option"
1738
- },
1739
- "print": {
1740
- "char": "p",
1741
- "description": "print out the modified resource",
1742
- "name": "print",
1743
- "allowNo": false,
1744
- "type": "boolean"
1745
- },
1746
- "json": {
1747
- "char": "j",
1748
- "dependsOn": [
1749
- "print"
1750
- ],
1751
- "description": "print result in JSON format",
1752
- "name": "json",
1753
- "allowNo": false,
1754
- "type": "boolean"
1755
- },
1756
- "unformatted": {
1757
- "char": "u",
1758
- "dependsOn": [
1759
- "json"
1760
- ],
1761
- "description": "print JSON output without indentation",
1762
- "name": "unformatted",
1763
- "allowNo": false,
1764
- "type": "boolean"
1765
- }
1766
- },
1767
- "hasDynamicHelp": false,
1768
- "hiddenAliases": [],
1769
- "id": "axerve_payment",
1770
- "pluginAlias": "@commercelayer/cli-plugin-triggers",
1771
- "pluginName": "@commercelayer/cli-plugin-triggers",
1772
- "pluginType": "core",
1773
- "strict": true,
1774
- "enableJsonFlag": false,
1775
- "isESM": false,
1776
- "relativePath": [
1777
- "lib",
1778
- "commands",
1779
- "axerve_payment",
1780
- "index.js"
1781
- ]
1782
- },
1783
- "axerve_payment:update": {
1784
- "aliases": [],
1785
- "args": {
1786
- "id": {
1787
- "description": "the unique id of the resource",
1788
- "name": "id",
1789
- "required": true
1790
- }
1791
- },
1792
- "description": "Send this attribute if you want to update the payment with fresh order data.",
1793
- "flags": {
1794
- "organization": {
1795
- "char": "o",
1796
- "description": "the slug of your organization",
1797
- "env": "CL_CLI_ORGANIZATION",
1798
- "hidden": true,
1799
- "name": "organization",
1800
- "required": true,
1801
- "hasDynamicHelp": false,
1802
- "multiple": false,
1803
- "type": "option"
1804
- },
1805
- "domain": {
1806
- "char": "d",
1807
- "dependsOn": [
1808
- "organization"
1809
- ],
1810
- "env": "CL_CLI_DOMAIN",
1811
- "hidden": true,
1812
- "name": "domain",
1813
- "required": false,
1814
- "hasDynamicHelp": false,
1815
- "multiple": false,
1816
- "type": "option"
1817
- },
1818
- "accessToken": {
1819
- "env": "CL_CLI_ACCESS_TOKEN",
1820
- "hidden": true,
1821
- "name": "accessToken",
1822
- "required": true,
1823
- "hasDynamicHelp": false,
1824
- "multiple": false,
1825
- "type": "option"
1826
- },
1827
- "print": {
1828
- "char": "p",
1829
- "description": "print out the modified resource",
1830
- "name": "print",
1831
- "allowNo": false,
1832
- "type": "boolean"
1833
- },
1834
- "json": {
1835
- "char": "j",
1836
- "dependsOn": [
1837
- "print"
1838
- ],
1839
- "description": "print result in JSON format",
1840
- "name": "json",
1841
- "allowNo": false,
1842
- "type": "boolean"
1843
- },
1844
- "unformatted": {
1845
- "char": "u",
1846
- "dependsOn": [
1847
- "json"
1848
- ],
1849
- "description": "print JSON output without indentation",
1850
- "name": "unformatted",
1851
- "allowNo": false,
1852
- "type": "boolean"
1853
- }
1854
- },
1855
- "hasDynamicHelp": false,
1856
- "hiddenAliases": [],
1857
- "id": "axerve_payment:update",
1858
- "pluginAlias": "@commercelayer/cli-plugin-triggers",
1859
- "pluginName": "@commercelayer/cli-plugin-triggers",
1860
- "pluginType": "core",
1861
- "strict": true,
1862
- "enableJsonFlag": false,
1863
- "isESM": false,
1864
- "relativePath": [
1865
- "lib",
1866
- "commands",
1867
- "axerve_payment",
1868
- "update.js"
1869
- ]
1870
- },
1871
1695
  "braintree_gateway:disable": {
1872
1696
  "aliases": [],
1873
1697
  "args": {
@@ -8820,7 +8644,7 @@
8820
8644
  "remove_tags.js"
8821
8645
  ]
8822
8646
  },
8823
- "gift_card:activate": {
8647
+ "import": {
8824
8648
  "aliases": [],
8825
8649
  "args": {
8826
8650
  "id": {
@@ -8829,7 +8653,7 @@
8829
8653
  "required": true
8830
8654
  }
8831
8655
  },
8832
- "description": "Send this attribute if you want to activate a gift card.",
8656
+ "description": "execute an action on a resource of type imports",
8833
8657
  "flags": {
8834
8658
  "organization": {
8835
8659
  "char": "o",
@@ -8894,7 +8718,7 @@
8894
8718
  },
8895
8719
  "hasDynamicHelp": false,
8896
8720
  "hiddenAliases": [],
8897
- "id": "gift_card:activate",
8721
+ "id": "import",
8898
8722
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8899
8723
  "pluginName": "@commercelayer/cli-plugin-triggers",
8900
8724
  "pluginType": "core",
@@ -8904,11 +8728,11 @@
8904
8728
  "relativePath": [
8905
8729
  "lib",
8906
8730
  "commands",
8907
- "gift_card",
8908
- "activate.js"
8731
+ "import",
8732
+ "index.js"
8909
8733
  ]
8910
8734
  },
8911
- "gift_card:add_tags": {
8735
+ "import:interrupt": {
8912
8736
  "aliases": [],
8913
8737
  "args": {
8914
8738
  "id": {
@@ -8917,7 +8741,7 @@
8917
8741
  "required": true
8918
8742
  }
8919
8743
  },
8920
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
8744
+ "description": "Send this attribute if you want to mark status as 'interrupted'.",
8921
8745
  "flags": {
8922
8746
  "organization": {
8923
8747
  "char": "o",
@@ -8982,7 +8806,7 @@
8982
8806
  },
8983
8807
  "hasDynamicHelp": false,
8984
8808
  "hiddenAliases": [],
8985
- "id": "gift_card:add_tags",
8809
+ "id": "import:interrupt",
8986
8810
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
8987
8811
  "pluginName": "@commercelayer/cli-plugin-triggers",
8988
8812
  "pluginType": "core",
@@ -8992,11 +8816,11 @@
8992
8816
  "relativePath": [
8993
8817
  "lib",
8994
8818
  "commands",
8995
- "gift_card",
8996
- "add_tags.js"
8819
+ "import",
8820
+ "interrupt.js"
8997
8821
  ]
8998
8822
  },
8999
- "gift_card:balance_change_cents": {
8823
+ "gift_card:activate": {
9000
8824
  "aliases": [],
9001
8825
  "args": {
9002
8826
  "id": {
@@ -9005,7 +8829,7 @@
9005
8829
  "required": true
9006
8830
  }
9007
8831
  },
9008
- "description": "The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).",
8832
+ "description": "Send this attribute if you want to activate a gift card.",
9009
8833
  "flags": {
9010
8834
  "organization": {
9011
8835
  "char": "o",
@@ -9070,7 +8894,7 @@
9070
8894
  },
9071
8895
  "hasDynamicHelp": false,
9072
8896
  "hiddenAliases": [],
9073
- "id": "gift_card:balance_change_cents",
8897
+ "id": "gift_card:activate",
9074
8898
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9075
8899
  "pluginName": "@commercelayer/cli-plugin-triggers",
9076
8900
  "pluginType": "core",
@@ -9081,10 +8905,10 @@
9081
8905
  "lib",
9082
8906
  "commands",
9083
8907
  "gift_card",
9084
- "balance_change_cents.js"
8908
+ "activate.js"
9085
8909
  ]
9086
8910
  },
9087
- "gift_card:deactivate": {
8911
+ "gift_card:add_tags": {
9088
8912
  "aliases": [],
9089
8913
  "args": {
9090
8914
  "id": {
@@ -9093,7 +8917,7 @@
9093
8917
  "required": true
9094
8918
  }
9095
8919
  },
9096
- "description": "Send this attribute if you want to deactivate a gift card.",
8920
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9097
8921
  "flags": {
9098
8922
  "organization": {
9099
8923
  "char": "o",
@@ -9158,7 +8982,7 @@
9158
8982
  },
9159
8983
  "hasDynamicHelp": false,
9160
8984
  "hiddenAliases": [],
9161
- "id": "gift_card:deactivate",
8985
+ "id": "gift_card:add_tags",
9162
8986
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9163
8987
  "pluginName": "@commercelayer/cli-plugin-triggers",
9164
8988
  "pluginType": "core",
@@ -9169,10 +8993,10 @@
9169
8993
  "lib",
9170
8994
  "commands",
9171
8995
  "gift_card",
9172
- "deactivate.js"
8996
+ "add_tags.js"
9173
8997
  ]
9174
8998
  },
9175
- "gift_card": {
8999
+ "gift_card:balance_change_cents": {
9176
9000
  "aliases": [],
9177
9001
  "args": {
9178
9002
  "id": {
@@ -9181,7 +9005,7 @@
9181
9005
  "required": true
9182
9006
  }
9183
9007
  },
9184
- "description": "execute an action on a resource of type gift_cards",
9008
+ "description": "The balance change, in cents. Send a negative value to reduces the card balance by the specified amount. Send a positive value to recharge the gift card (if rechargeable).",
9185
9009
  "flags": {
9186
9010
  "organization": {
9187
9011
  "char": "o",
@@ -9246,7 +9070,7 @@
9246
9070
  },
9247
9071
  "hasDynamicHelp": false,
9248
9072
  "hiddenAliases": [],
9249
- "id": "gift_card",
9073
+ "id": "gift_card:balance_change_cents",
9250
9074
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9251
9075
  "pluginName": "@commercelayer/cli-plugin-triggers",
9252
9076
  "pluginType": "core",
@@ -9257,10 +9081,10 @@
9257
9081
  "lib",
9258
9082
  "commands",
9259
9083
  "gift_card",
9260
- "index.js"
9084
+ "balance_change_cents.js"
9261
9085
  ]
9262
9086
  },
9263
- "gift_card:purchase": {
9087
+ "gift_card:deactivate": {
9264
9088
  "aliases": [],
9265
9089
  "args": {
9266
9090
  "id": {
@@ -9269,7 +9093,7 @@
9269
9093
  "required": true
9270
9094
  }
9271
9095
  },
9272
- "description": "Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.",
9096
+ "description": "Send this attribute if you want to deactivate a gift card.",
9273
9097
  "flags": {
9274
9098
  "organization": {
9275
9099
  "char": "o",
@@ -9334,7 +9158,7 @@
9334
9158
  },
9335
9159
  "hasDynamicHelp": false,
9336
9160
  "hiddenAliases": [],
9337
- "id": "gift_card:purchase",
9161
+ "id": "gift_card:deactivate",
9338
9162
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9339
9163
  "pluginName": "@commercelayer/cli-plugin-triggers",
9340
9164
  "pluginType": "core",
@@ -9345,10 +9169,10 @@
9345
9169
  "lib",
9346
9170
  "commands",
9347
9171
  "gift_card",
9348
- "purchase.js"
9172
+ "deactivate.js"
9349
9173
  ]
9350
9174
  },
9351
- "gift_card:remove_tags": {
9175
+ "gift_card": {
9352
9176
  "aliases": [],
9353
9177
  "args": {
9354
9178
  "id": {
@@ -9357,7 +9181,7 @@
9357
9181
  "required": true
9358
9182
  }
9359
9183
  },
9360
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9184
+ "description": "execute an action on a resource of type gift_cards",
9361
9185
  "flags": {
9362
9186
  "organization": {
9363
9187
  "char": "o",
@@ -9422,7 +9246,7 @@
9422
9246
  },
9423
9247
  "hasDynamicHelp": false,
9424
9248
  "hiddenAliases": [],
9425
- "id": "gift_card:remove_tags",
9249
+ "id": "gift_card",
9426
9250
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9427
9251
  "pluginName": "@commercelayer/cli-plugin-triggers",
9428
9252
  "pluginType": "core",
@@ -9433,10 +9257,10 @@
9433
9257
  "lib",
9434
9258
  "commands",
9435
9259
  "gift_card",
9436
- "remove_tags.js"
9260
+ "index.js"
9437
9261
  ]
9438
9262
  },
9439
- "import": {
9263
+ "gift_card:purchase": {
9440
9264
  "aliases": [],
9441
9265
  "args": {
9442
9266
  "id": {
@@ -9445,7 +9269,7 @@
9445
9269
  "required": true
9446
9270
  }
9447
9271
  },
9448
- "description": "execute an action on a resource of type imports",
9272
+ "description": "Send this attribute if you want to confirm a draft gift card. The gift card becomes 'inactive', waiting to be activated.",
9449
9273
  "flags": {
9450
9274
  "organization": {
9451
9275
  "char": "o",
@@ -9510,7 +9334,7 @@
9510
9334
  },
9511
9335
  "hasDynamicHelp": false,
9512
9336
  "hiddenAliases": [],
9513
- "id": "import",
9337
+ "id": "gift_card:purchase",
9514
9338
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9515
9339
  "pluginName": "@commercelayer/cli-plugin-triggers",
9516
9340
  "pluginType": "core",
@@ -9520,11 +9344,11 @@
9520
9344
  "relativePath": [
9521
9345
  "lib",
9522
9346
  "commands",
9523
- "import",
9524
- "index.js"
9347
+ "gift_card",
9348
+ "purchase.js"
9525
9349
  ]
9526
9350
  },
9527
- "import:interrupt": {
9351
+ "gift_card:remove_tags": {
9528
9352
  "aliases": [],
9529
9353
  "args": {
9530
9354
  "id": {
@@ -9533,7 +9357,7 @@
9533
9357
  "required": true
9534
9358
  }
9535
9359
  },
9536
- "description": "Send this attribute if you want to mark status as 'interrupted'.",
9360
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
9537
9361
  "flags": {
9538
9362
  "organization": {
9539
9363
  "char": "o",
@@ -9598,7 +9422,7 @@
9598
9422
  },
9599
9423
  "hasDynamicHelp": false,
9600
9424
  "hiddenAliases": [],
9601
- "id": "import:interrupt",
9425
+ "id": "gift_card:remove_tags",
9602
9426
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
9603
9427
  "pluginName": "@commercelayer/cli-plugin-triggers",
9604
9428
  "pluginType": "core",
@@ -9608,8 +9432,8 @@
9608
9432
  "relativePath": [
9609
9433
  "lib",
9610
9434
  "commands",
9611
- "import",
9612
- "interrupt.js"
9435
+ "gift_card",
9436
+ "remove_tags.js"
9613
9437
  ]
9614
9438
  },
9615
9439
  "in_stock_subscription:activate": {
@@ -11988,7 +11812,7 @@
11988
11812
  "index.js"
11989
11813
  ]
11990
11814
  },
11991
- "order:add_tags": {
11815
+ "axerve_payment": {
11992
11816
  "aliases": [],
11993
11817
  "args": {
11994
11818
  "id": {
@@ -11997,7 +11821,7 @@
11997
11821
  "required": true
11998
11822
  }
11999
11823
  },
12000
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
11824
+ "description": "execute an action on a resource of type axerve_payments",
12001
11825
  "flags": {
12002
11826
  "organization": {
12003
11827
  "char": "o",
@@ -12062,7 +11886,7 @@
12062
11886
  },
12063
11887
  "hasDynamicHelp": false,
12064
11888
  "hiddenAliases": [],
12065
- "id": "order:add_tags",
11889
+ "id": "axerve_payment",
12066
11890
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12067
11891
  "pluginName": "@commercelayer/cli-plugin-triggers",
12068
11892
  "pluginType": "core",
@@ -12072,11 +11896,11 @@
12072
11896
  "relativePath": [
12073
11897
  "lib",
12074
11898
  "commands",
12075
- "order",
12076
- "add_tags.js"
11899
+ "axerve_payment",
11900
+ "index.js"
12077
11901
  ]
12078
11902
  },
12079
- "order:approve": {
11903
+ "axerve_payment:update": {
12080
11904
  "aliases": [],
12081
11905
  "args": {
12082
11906
  "id": {
@@ -12085,7 +11909,7 @@
12085
11909
  "required": true
12086
11910
  }
12087
11911
  },
12088
- "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
11912
+ "description": "Send this attribute if you want to update the payment with fresh order data.",
12089
11913
  "flags": {
12090
11914
  "organization": {
12091
11915
  "char": "o",
@@ -12150,7 +11974,7 @@
12150
11974
  },
12151
11975
  "hasDynamicHelp": false,
12152
11976
  "hiddenAliases": [],
12153
- "id": "order:approve",
11977
+ "id": "axerve_payment:update",
12154
11978
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12155
11979
  "pluginName": "@commercelayer/cli-plugin-triggers",
12156
11980
  "pluginType": "core",
@@ -12160,11 +11984,11 @@
12160
11984
  "relativePath": [
12161
11985
  "lib",
12162
11986
  "commands",
12163
- "order",
12164
- "approve.js"
11987
+ "axerve_payment",
11988
+ "update.js"
12165
11989
  ]
12166
11990
  },
12167
- "order:approve_and_capture": {
11991
+ "order_subscription:activate": {
12168
11992
  "aliases": [],
12169
11993
  "args": {
12170
11994
  "id": {
@@ -12173,7 +11997,7 @@
12173
11997
  "required": true
12174
11998
  }
12175
11999
  },
12176
- "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
12000
+ "description": "Send this attribute if you want to mark this subscription as active.",
12177
12001
  "flags": {
12178
12002
  "organization": {
12179
12003
  "char": "o",
@@ -12238,7 +12062,7 @@
12238
12062
  },
12239
12063
  "hasDynamicHelp": false,
12240
12064
  "hiddenAliases": [],
12241
- "id": "order:approve_and_capture",
12065
+ "id": "order_subscription:activate",
12242
12066
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12243
12067
  "pluginName": "@commercelayer/cli-plugin-triggers",
12244
12068
  "pluginType": "core",
@@ -12248,11 +12072,11 @@
12248
12072
  "relativePath": [
12249
12073
  "lib",
12250
12074
  "commands",
12251
- "order",
12252
- "approve_and_capture.js"
12075
+ "order_subscription",
12076
+ "activate.js"
12253
12077
  ]
12254
12078
  },
12255
- "order:archive": {
12079
+ "order_subscription:add_tags": {
12256
12080
  "aliases": [],
12257
12081
  "args": {
12258
12082
  "id": {
@@ -12261,7 +12085,7 @@
12261
12085
  "required": true
12262
12086
  }
12263
12087
  },
12264
- "description": "Send this attribute if you want to archive the order.",
12088
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12265
12089
  "flags": {
12266
12090
  "organization": {
12267
12091
  "char": "o",
@@ -12326,7 +12150,7 @@
12326
12150
  },
12327
12151
  "hasDynamicHelp": false,
12328
12152
  "hiddenAliases": [],
12329
- "id": "order:archive",
12153
+ "id": "order_subscription:add_tags",
12330
12154
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12331
12155
  "pluginName": "@commercelayer/cli-plugin-triggers",
12332
12156
  "pluginType": "core",
@@ -12336,11 +12160,11 @@
12336
12160
  "relativePath": [
12337
12161
  "lib",
12338
12162
  "commands",
12339
- "order",
12340
- "archive.js"
12163
+ "order_subscription",
12164
+ "add_tags.js"
12341
12165
  ]
12342
12166
  },
12343
- "order:authorization_amount_cents": {
12167
+ "order_subscription:cancel": {
12344
12168
  "aliases": [],
12345
12169
  "args": {
12346
12170
  "id": {
@@ -12349,7 +12173,7 @@
12349
12173
  "required": true
12350
12174
  }
12351
12175
  },
12352
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
12176
+ "description": "Send this attribute if you want to mark this subscription as cancelled.",
12353
12177
  "flags": {
12354
12178
  "organization": {
12355
12179
  "char": "o",
@@ -12414,7 +12238,7 @@
12414
12238
  },
12415
12239
  "hasDynamicHelp": false,
12416
12240
  "hiddenAliases": [],
12417
- "id": "order:authorization_amount_cents",
12241
+ "id": "order_subscription:cancel",
12418
12242
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12419
12243
  "pluginName": "@commercelayer/cli-plugin-triggers",
12420
12244
  "pluginType": "core",
@@ -12424,11 +12248,11 @@
12424
12248
  "relativePath": [
12425
12249
  "lib",
12426
12250
  "commands",
12427
- "order",
12428
- "authorization_amount_cents.js"
12251
+ "order_subscription",
12252
+ "cancel.js"
12429
12253
  ]
12430
12254
  },
12431
- "order:authorize": {
12255
+ "order_subscription:convert": {
12432
12256
  "aliases": [],
12433
12257
  "args": {
12434
12258
  "id": {
@@ -12437,7 +12261,7 @@
12437
12261
  "required": true
12438
12262
  }
12439
12263
  },
12440
- "description": "Send this attribute if you want to authorize the order's payment source.",
12264
+ "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
12441
12265
  "flags": {
12442
12266
  "organization": {
12443
12267
  "char": "o",
@@ -12502,7 +12326,7 @@
12502
12326
  },
12503
12327
  "hasDynamicHelp": false,
12504
12328
  "hiddenAliases": [],
12505
- "id": "order:authorize",
12329
+ "id": "order_subscription:convert",
12506
12330
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12507
12331
  "pluginName": "@commercelayer/cli-plugin-triggers",
12508
12332
  "pluginType": "core",
@@ -12512,11 +12336,11 @@
12512
12336
  "relativePath": [
12513
12337
  "lib",
12514
12338
  "commands",
12515
- "order",
12516
- "authorize.js"
12339
+ "order_subscription",
12340
+ "convert.js"
12517
12341
  ]
12518
12342
  },
12519
- "order:billing_address_clone_id": {
12343
+ "order_subscription:deactivate": {
12520
12344
  "aliases": [],
12521
12345
  "args": {
12522
12346
  "id": {
@@ -12525,7 +12349,7 @@
12525
12349
  "required": true
12526
12350
  }
12527
12351
  },
12528
- "description": "The id of the address that you want to clone to create the order's billing address.",
12352
+ "description": "Send this attribute if you want to mark this subscription as inactive.",
12529
12353
  "flags": {
12530
12354
  "organization": {
12531
12355
  "char": "o",
@@ -12586,20 +12410,99 @@
12586
12410
  "name": "unformatted",
12587
12411
  "allowNo": false,
12588
12412
  "type": "boolean"
12413
+ }
12414
+ },
12415
+ "hasDynamicHelp": false,
12416
+ "hiddenAliases": [],
12417
+ "id": "order_subscription:deactivate",
12418
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
12419
+ "pluginName": "@commercelayer/cli-plugin-triggers",
12420
+ "pluginType": "core",
12421
+ "strict": true,
12422
+ "enableJsonFlag": false,
12423
+ "isESM": false,
12424
+ "relativePath": [
12425
+ "lib",
12426
+ "commands",
12427
+ "order_subscription",
12428
+ "deactivate.js"
12429
+ ]
12430
+ },
12431
+ "order_subscription": {
12432
+ "aliases": [],
12433
+ "args": {
12434
+ "id": {
12435
+ "description": "the unique id of the resource",
12436
+ "name": "id",
12437
+ "required": true
12438
+ }
12439
+ },
12440
+ "description": "execute an action on a resource of type order_subscriptions",
12441
+ "flags": {
12442
+ "organization": {
12443
+ "char": "o",
12444
+ "description": "the slug of your organization",
12445
+ "env": "CL_CLI_ORGANIZATION",
12446
+ "hidden": true,
12447
+ "name": "organization",
12448
+ "required": true,
12449
+ "hasDynamicHelp": false,
12450
+ "multiple": false,
12451
+ "type": "option"
12589
12452
  },
12590
- "value": {
12591
- "char": "v",
12592
- "description": "the trigger attribute value",
12593
- "name": "value",
12453
+ "domain": {
12454
+ "char": "d",
12455
+ "dependsOn": [
12456
+ "organization"
12457
+ ],
12458
+ "env": "CL_CLI_DOMAIN",
12459
+ "hidden": true,
12460
+ "name": "domain",
12461
+ "required": false,
12462
+ "hasDynamicHelp": false,
12463
+ "multiple": false,
12464
+ "type": "option"
12465
+ },
12466
+ "accessToken": {
12467
+ "env": "CL_CLI_ACCESS_TOKEN",
12468
+ "hidden": true,
12469
+ "name": "accessToken",
12594
12470
  "required": true,
12595
12471
  "hasDynamicHelp": false,
12596
12472
  "multiple": false,
12597
12473
  "type": "option"
12474
+ },
12475
+ "print": {
12476
+ "char": "p",
12477
+ "description": "print out the modified resource",
12478
+ "name": "print",
12479
+ "allowNo": false,
12480
+ "type": "boolean"
12481
+ },
12482
+ "json": {
12483
+ "char": "j",
12484
+ "dependsOn": [
12485
+ "print"
12486
+ ],
12487
+ "description": "print result in JSON format",
12488
+ "name": "json",
12489
+ "allowNo": false,
12490
+ "type": "boolean"
12491
+ },
12492
+ "unformatted": {
12493
+ "char": "u",
12494
+ "dependsOn": [
12495
+ "json"
12496
+ ],
12497
+ "description": "print JSON output without indentation",
12498
+ "name": "unformatted",
12499
+ "allowNo": false,
12500
+ "type": "boolean"
12598
12501
  }
12599
12502
  },
12600
12503
  "hasDynamicHelp": false,
12601
12504
  "hiddenAliases": [],
12602
- "id": "order:billing_address_clone_id",
12505
+ "id": "order_subscription",
12603
12506
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12604
12507
  "pluginName": "@commercelayer/cli-plugin-triggers",
12605
12508
  "pluginType": "core",
@@ -12609,11 +12512,11 @@
12609
12512
  "relativePath": [
12610
12513
  "lib",
12611
12514
  "commands",
12612
- "order",
12613
- "billing_address_clone_id.js"
12515
+ "order_subscription",
12516
+ "index.js"
12614
12517
  ]
12615
12518
  },
12616
- "order:billing_address_same_as_shipping": {
12519
+ "order_subscription:remove_tags": {
12617
12520
  "aliases": [],
12618
12521
  "args": {
12619
12522
  "id": {
@@ -12622,7 +12525,7 @@
12622
12525
  "required": true
12623
12526
  }
12624
12527
  },
12625
- "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
12528
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12626
12529
  "flags": {
12627
12530
  "organization": {
12628
12531
  "char": "o",
@@ -12687,7 +12590,7 @@
12687
12590
  },
12688
12591
  "hasDynamicHelp": false,
12689
12592
  "hiddenAliases": [],
12690
- "id": "order:billing_address_same_as_shipping",
12593
+ "id": "order_subscription:remove_tags",
12691
12594
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12692
12595
  "pluginName": "@commercelayer/cli-plugin-triggers",
12693
12596
  "pluginType": "core",
@@ -12697,11 +12600,11 @@
12697
12600
  "relativePath": [
12698
12601
  "lib",
12699
12602
  "commands",
12700
- "order",
12701
- "billing_address_same_as_shipping.js"
12603
+ "order_subscription",
12604
+ "remove_tags.js"
12702
12605
  ]
12703
12606
  },
12704
- "order:cancel": {
12607
+ "payment_method:disable": {
12705
12608
  "aliases": [],
12706
12609
  "args": {
12707
12610
  "id": {
@@ -12710,7 +12613,7 @@
12710
12613
  "required": true
12711
12614
  }
12712
12615
  },
12713
- "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
12616
+ "description": "Send this attribute if you want to mark this resource as disabled.",
12714
12617
  "flags": {
12715
12618
  "organization": {
12716
12619
  "char": "o",
@@ -12775,7 +12678,7 @@
12775
12678
  },
12776
12679
  "hasDynamicHelp": false,
12777
12680
  "hiddenAliases": [],
12778
- "id": "order:cancel",
12681
+ "id": "payment_method:disable",
12779
12682
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12780
12683
  "pluginName": "@commercelayer/cli-plugin-triggers",
12781
12684
  "pluginType": "core",
@@ -12785,11 +12688,11 @@
12785
12688
  "relativePath": [
12786
12689
  "lib",
12787
12690
  "commands",
12788
- "order",
12789
- "cancel.js"
12691
+ "payment_method",
12692
+ "disable.js"
12790
12693
  ]
12791
12694
  },
12792
- "order:capture": {
12695
+ "payment_method:enable": {
12793
12696
  "aliases": [],
12794
12697
  "args": {
12795
12698
  "id": {
@@ -12798,7 +12701,7 @@
12798
12701
  "required": true
12799
12702
  }
12800
12703
  },
12801
- "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
12704
+ "description": "Send this attribute if you want to mark this resource as enabled.",
12802
12705
  "flags": {
12803
12706
  "organization": {
12804
12707
  "char": "o",
@@ -12863,7 +12766,7 @@
12863
12766
  },
12864
12767
  "hasDynamicHelp": false,
12865
12768
  "hiddenAliases": [],
12866
- "id": "order:capture",
12769
+ "id": "payment_method:enable",
12867
12770
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12868
12771
  "pluginName": "@commercelayer/cli-plugin-triggers",
12869
12772
  "pluginType": "core",
@@ -12873,11 +12776,11 @@
12873
12776
  "relativePath": [
12874
12777
  "lib",
12875
12778
  "commands",
12876
- "order",
12877
- "capture.js"
12779
+ "payment_method",
12780
+ "enable.js"
12878
12781
  ]
12879
12782
  },
12880
- "order:commit_invoice": {
12783
+ "payment_method": {
12881
12784
  "aliases": [],
12882
12785
  "args": {
12883
12786
  "id": {
@@ -12886,7 +12789,7 @@
12886
12789
  "required": true
12887
12790
  }
12888
12791
  },
12889
- "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
12792
+ "description": "execute an action on a resource of type payment_methods",
12890
12793
  "flags": {
12891
12794
  "organization": {
12892
12795
  "char": "o",
@@ -12951,7 +12854,7 @@
12951
12854
  },
12952
12855
  "hasDynamicHelp": false,
12953
12856
  "hiddenAliases": [],
12954
- "id": "order:commit_invoice",
12857
+ "id": "payment_method",
12955
12858
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
12956
12859
  "pluginName": "@commercelayer/cli-plugin-triggers",
12957
12860
  "pluginType": "core",
@@ -12961,11 +12864,11 @@
12961
12864
  "relativePath": [
12962
12865
  "lib",
12963
12866
  "commands",
12964
- "order",
12965
- "commit_invoice.js"
12867
+ "payment_method",
12868
+ "index.js"
12966
12869
  ]
12967
12870
  },
12968
- "order:create_subscriptions": {
12871
+ "order:add_tags": {
12969
12872
  "aliases": [],
12970
12873
  "args": {
12971
12874
  "id": {
@@ -12974,7 +12877,7 @@
12974
12877
  "required": true
12975
12878
  }
12976
12879
  },
12977
- "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
12880
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
12978
12881
  "flags": {
12979
12882
  "organization": {
12980
12883
  "char": "o",
@@ -13039,7 +12942,7 @@
13039
12942
  },
13040
12943
  "hasDynamicHelp": false,
13041
12944
  "hiddenAliases": [],
13042
- "id": "order:create_subscriptions",
12945
+ "id": "order:add_tags",
13043
12946
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13044
12947
  "pluginName": "@commercelayer/cli-plugin-triggers",
13045
12948
  "pluginType": "core",
@@ -13050,10 +12953,10 @@
13050
12953
  "lib",
13051
12954
  "commands",
13052
12955
  "order",
13053
- "create_subscriptions.js"
12956
+ "add_tags.js"
13054
12957
  ]
13055
12958
  },
13056
- "order:customer_payment_source_id": {
12959
+ "order:approve": {
13057
12960
  "aliases": [],
13058
12961
  "args": {
13059
12962
  "id": {
@@ -13062,7 +12965,7 @@
13062
12965
  "required": true
13063
12966
  }
13064
12967
  },
13065
- "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
12968
+ "description": "Send this attribute if you want to approve a placed order. Cannot be passed by sales channels.",
13066
12969
  "flags": {
13067
12970
  "organization": {
13068
12971
  "char": "o",
@@ -13123,20 +13026,11 @@
13123
13026
  "name": "unformatted",
13124
13027
  "allowNo": false,
13125
13028
  "type": "boolean"
13126
- },
13127
- "value": {
13128
- "char": "v",
13129
- "description": "the trigger attribute value",
13130
- "name": "value",
13131
- "required": true,
13132
- "hasDynamicHelp": false,
13133
- "multiple": false,
13134
- "type": "option"
13135
13029
  }
13136
13030
  },
13137
13031
  "hasDynamicHelp": false,
13138
13032
  "hiddenAliases": [],
13139
- "id": "order:customer_payment_source_id",
13033
+ "id": "order:approve",
13140
13034
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13141
13035
  "pluginName": "@commercelayer/cli-plugin-triggers",
13142
13036
  "pluginType": "core",
@@ -13147,10 +13041,10 @@
13147
13041
  "lib",
13148
13042
  "commands",
13149
13043
  "order",
13150
- "customer_payment_source_id.js"
13044
+ "approve.js"
13151
13045
  ]
13152
13046
  },
13153
- "order:fix_payment_source": {
13047
+ "order:approve_and_capture": {
13154
13048
  "aliases": [],
13155
13049
  "args": {
13156
13050
  "id": {
@@ -13159,7 +13053,7 @@
13159
13053
  "required": true
13160
13054
  }
13161
13055
  },
13162
- "description": "Send this attribute if you want to set the payment source associated with the last succeeded authorization. At the end of the fix the order should be placed and authorized and ready to be approved. A tentative to fix the payment source is done before approval automatically. Cannot be passed by sales channels.",
13056
+ "description": "Send this attribute if you want to approve and capture a placed order. Cannot be passed by sales channels.",
13163
13057
  "flags": {
13164
13058
  "organization": {
13165
13059
  "char": "o",
@@ -13224,7 +13118,7 @@
13224
13118
  },
13225
13119
  "hasDynamicHelp": false,
13226
13120
  "hiddenAliases": [],
13227
- "id": "order:fix_payment_source",
13121
+ "id": "order:approve_and_capture",
13228
13122
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13229
13123
  "pluginName": "@commercelayer/cli-plugin-triggers",
13230
13124
  "pluginType": "core",
@@ -13235,10 +13129,10 @@
13235
13129
  "lib",
13236
13130
  "commands",
13237
13131
  "order",
13238
- "fix_payment_source.js"
13132
+ "approve_and_capture.js"
13239
13133
  ]
13240
13134
  },
13241
- "order:fulfill": {
13135
+ "order:archive": {
13242
13136
  "aliases": [],
13243
13137
  "args": {
13244
13138
  "id": {
@@ -13247,7 +13141,7 @@
13247
13141
  "required": true
13248
13142
  }
13249
13143
  },
13250
- "description": "Send this attribute if you want to mark as fulfilled the order (shipments must be cancelled, shipped or delivered, alternatively order must be approved). Cannot be passed by sales channels.",
13144
+ "description": "Send this attribute if you want to archive the order.",
13251
13145
  "flags": {
13252
13146
  "organization": {
13253
13147
  "char": "o",
@@ -13312,7 +13206,7 @@
13312
13206
  },
13313
13207
  "hasDynamicHelp": false,
13314
13208
  "hiddenAliases": [],
13315
- "id": "order:fulfill",
13209
+ "id": "order:archive",
13316
13210
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13317
13211
  "pluginName": "@commercelayer/cli-plugin-triggers",
13318
13212
  "pluginType": "core",
@@ -13323,10 +13217,10 @@
13323
13217
  "lib",
13324
13218
  "commands",
13325
13219
  "order",
13326
- "fulfill.js"
13220
+ "archive.js"
13327
13221
  ]
13328
13222
  },
13329
- "order": {
13223
+ "order:authorization_amount_cents": {
13330
13224
  "aliases": [],
13331
13225
  "args": {
13332
13226
  "id": {
@@ -13335,7 +13229,7 @@
13335
13229
  "required": true
13336
13230
  }
13337
13231
  },
13338
- "description": "execute an action on a resource of type orders",
13232
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be authorized.",
13339
13233
  "flags": {
13340
13234
  "organization": {
13341
13235
  "char": "o",
@@ -13400,7 +13294,7 @@
13400
13294
  },
13401
13295
  "hasDynamicHelp": false,
13402
13296
  "hiddenAliases": [],
13403
- "id": "order",
13297
+ "id": "order:authorization_amount_cents",
13404
13298
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13405
13299
  "pluginName": "@commercelayer/cli-plugin-triggers",
13406
13300
  "pluginType": "core",
@@ -13411,10 +13305,10 @@
13411
13305
  "lib",
13412
13306
  "commands",
13413
13307
  "order",
13414
- "index.js"
13308
+ "authorization_amount_cents.js"
13415
13309
  ]
13416
13310
  },
13417
- "order:nullify_payment_source": {
13311
+ "order:authorize": {
13418
13312
  "aliases": [],
13419
13313
  "args": {
13420
13314
  "id": {
@@ -13423,7 +13317,7 @@
13423
13317
  "required": true
13424
13318
  }
13425
13319
  },
13426
- "description": "Send this attribute if you want to nullify the payment source for this order.",
13320
+ "description": "Send this attribute if you want to authorize the order's payment source.",
13427
13321
  "flags": {
13428
13322
  "organization": {
13429
13323
  "char": "o",
@@ -13488,7 +13382,7 @@
13488
13382
  },
13489
13383
  "hasDynamicHelp": false,
13490
13384
  "hiddenAliases": [],
13491
- "id": "order:nullify_payment_source",
13385
+ "id": "order:authorize",
13492
13386
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13493
13387
  "pluginName": "@commercelayer/cli-plugin-triggers",
13494
13388
  "pluginType": "core",
@@ -13499,10 +13393,10 @@
13499
13393
  "lib",
13500
13394
  "commands",
13501
13395
  "order",
13502
- "nullify_payment_source.js"
13396
+ "authorize.js"
13503
13397
  ]
13504
13398
  },
13505
- "order:pending": {
13399
+ "order:billing_address_clone_id": {
13506
13400
  "aliases": [],
13507
13401
  "args": {
13508
13402
  "id": {
@@ -13511,7 +13405,7 @@
13511
13405
  "required": true
13512
13406
  }
13513
13407
  },
13514
- "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
13408
+ "description": "The id of the address that you want to clone to create the order's billing address.",
13515
13409
  "flags": {
13516
13410
  "organization": {
13517
13411
  "char": "o",
@@ -13572,11 +13466,20 @@
13572
13466
  "name": "unformatted",
13573
13467
  "allowNo": false,
13574
13468
  "type": "boolean"
13469
+ },
13470
+ "value": {
13471
+ "char": "v",
13472
+ "description": "the trigger attribute value",
13473
+ "name": "value",
13474
+ "required": true,
13475
+ "hasDynamicHelp": false,
13476
+ "multiple": false,
13477
+ "type": "option"
13575
13478
  }
13576
13479
  },
13577
13480
  "hasDynamicHelp": false,
13578
13481
  "hiddenAliases": [],
13579
- "id": "order:pending",
13482
+ "id": "order:billing_address_clone_id",
13580
13483
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13581
13484
  "pluginName": "@commercelayer/cli-plugin-triggers",
13582
13485
  "pluginType": "core",
@@ -13587,10 +13490,10 @@
13587
13490
  "lib",
13588
13491
  "commands",
13589
13492
  "order",
13590
- "pending.js"
13493
+ "billing_address_clone_id.js"
13591
13494
  ]
13592
13495
  },
13593
- "order:place": {
13496
+ "order:billing_address_same_as_shipping": {
13594
13497
  "aliases": [],
13595
13498
  "args": {
13596
13499
  "id": {
@@ -13599,7 +13502,7 @@
13599
13502
  "required": true
13600
13503
  }
13601
13504
  },
13602
- "description": "Send this attribute if you want to place the order.",
13505
+ "description": "Send this attribute if you want the billing address to be cloned from the order's shipping address.",
13603
13506
  "flags": {
13604
13507
  "organization": {
13605
13508
  "char": "o",
@@ -13664,7 +13567,7 @@
13664
13567
  },
13665
13568
  "hasDynamicHelp": false,
13666
13569
  "hiddenAliases": [],
13667
- "id": "order:place",
13570
+ "id": "order:billing_address_same_as_shipping",
13668
13571
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13669
13572
  "pluginName": "@commercelayer/cli-plugin-triggers",
13670
13573
  "pluginType": "core",
@@ -13675,10 +13578,10 @@
13675
13578
  "lib",
13676
13579
  "commands",
13677
13580
  "order",
13678
- "place.js"
13581
+ "billing_address_same_as_shipping.js"
13679
13582
  ]
13680
13583
  },
13681
- "order:refresh": {
13584
+ "order:cancel": {
13682
13585
  "aliases": [],
13683
13586
  "args": {
13684
13587
  "id": {
@@ -13687,7 +13590,7 @@
13687
13590
  "required": true
13688
13591
  }
13689
13592
  },
13690
- "description": "Send this attribute if you want to manually refresh the order.",
13593
+ "description": "Send this attribute if you want to cancel a placed order. The order's authorization will be automatically voided.",
13691
13594
  "flags": {
13692
13595
  "organization": {
13693
13596
  "char": "o",
@@ -13752,7 +13655,7 @@
13752
13655
  },
13753
13656
  "hasDynamicHelp": false,
13754
13657
  "hiddenAliases": [],
13755
- "id": "order:refresh",
13658
+ "id": "order:cancel",
13756
13659
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13757
13660
  "pluginName": "@commercelayer/cli-plugin-triggers",
13758
13661
  "pluginType": "core",
@@ -13763,10 +13666,10 @@
13763
13666
  "lib",
13764
13667
  "commands",
13765
13668
  "order",
13766
- "refresh.js"
13669
+ "cancel.js"
13767
13670
  ]
13768
13671
  },
13769
- "order:refund": {
13672
+ "order:capture": {
13770
13673
  "aliases": [],
13771
13674
  "args": {
13772
13675
  "id": {
@@ -13775,7 +13678,7 @@
13775
13678
  "required": true
13776
13679
  }
13777
13680
  },
13778
- "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
13681
+ "description": "Send this attribute if you want to capture an authorized order. Cannot be passed by sales channels.",
13779
13682
  "flags": {
13780
13683
  "organization": {
13781
13684
  "char": "o",
@@ -13840,7 +13743,7 @@
13840
13743
  },
13841
13744
  "hasDynamicHelp": false,
13842
13745
  "hiddenAliases": [],
13843
- "id": "order:refund",
13746
+ "id": "order:capture",
13844
13747
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13845
13748
  "pluginName": "@commercelayer/cli-plugin-triggers",
13846
13749
  "pluginType": "core",
@@ -13851,10 +13754,10 @@
13851
13754
  "lib",
13852
13755
  "commands",
13853
13756
  "order",
13854
- "refund.js"
13757
+ "capture.js"
13855
13758
  ]
13856
13759
  },
13857
- "order:refund_invoice": {
13760
+ "order:commit_invoice": {
13858
13761
  "aliases": [],
13859
13762
  "args": {
13860
13763
  "id": {
@@ -13863,7 +13766,7 @@
13863
13766
  "required": true
13864
13767
  }
13865
13768
  },
13866
- "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
13769
+ "description": "Send this attribute if you want commit the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
13867
13770
  "flags": {
13868
13771
  "organization": {
13869
13772
  "char": "o",
@@ -13928,7 +13831,7 @@
13928
13831
  },
13929
13832
  "hasDynamicHelp": false,
13930
13833
  "hiddenAliases": [],
13931
- "id": "order:refund_invoice",
13834
+ "id": "order:commit_invoice",
13932
13835
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
13933
13836
  "pluginName": "@commercelayer/cli-plugin-triggers",
13934
13837
  "pluginType": "core",
@@ -13939,10 +13842,10 @@
13939
13842
  "lib",
13940
13843
  "commands",
13941
13844
  "order",
13942
- "refund_invoice.js"
13845
+ "commit_invoice.js"
13943
13846
  ]
13944
13847
  },
13945
- "order:remove_tags": {
13848
+ "order:create_subscriptions": {
13946
13849
  "aliases": [],
13947
13850
  "args": {
13948
13851
  "id": {
@@ -13951,7 +13854,7 @@
13951
13854
  "required": true
13952
13855
  }
13953
13856
  },
13954
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
13857
+ "description": "Send this attribute upon/after placing the order if you want to create order subscriptions from the line items that have a frequency.",
13955
13858
  "flags": {
13956
13859
  "organization": {
13957
13860
  "char": "o",
@@ -14016,7 +13919,7 @@
14016
13919
  },
14017
13920
  "hasDynamicHelp": false,
14018
13921
  "hiddenAliases": [],
14019
- "id": "order:remove_tags",
13922
+ "id": "order:create_subscriptions",
14020
13923
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14021
13924
  "pluginName": "@commercelayer/cli-plugin-triggers",
14022
13925
  "pluginType": "core",
@@ -14027,10 +13930,10 @@
14027
13930
  "lib",
14028
13931
  "commands",
14029
13932
  "order",
14030
- "remove_tags.js"
13933
+ "create_subscriptions.js"
14031
13934
  ]
14032
13935
  },
14033
- "order:reset_circuit": {
13936
+ "order:customer_payment_source_id": {
14034
13937
  "aliases": [],
14035
13938
  "args": {
14036
13939
  "id": {
@@ -14039,7 +13942,7 @@
14039
13942
  "required": true
14040
13943
  }
14041
13944
  },
14042
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
13945
+ "description": "The id of the customer payment source (i.e. credit card) that you want to use as the order's payment source.",
14043
13946
  "flags": {
14044
13947
  "organization": {
14045
13948
  "char": "o",
@@ -14100,11 +14003,20 @@
14100
14003
  "name": "unformatted",
14101
14004
  "allowNo": false,
14102
14005
  "type": "boolean"
14006
+ },
14007
+ "value": {
14008
+ "char": "v",
14009
+ "description": "the trigger attribute value",
14010
+ "name": "value",
14011
+ "required": true,
14012
+ "hasDynamicHelp": false,
14013
+ "multiple": false,
14014
+ "type": "option"
14103
14015
  }
14104
14016
  },
14105
14017
  "hasDynamicHelp": false,
14106
14018
  "hiddenAliases": [],
14107
- "id": "order:reset_circuit",
14019
+ "id": "order:customer_payment_source_id",
14108
14020
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14109
14021
  "pluginName": "@commercelayer/cli-plugin-triggers",
14110
14022
  "pluginType": "core",
@@ -14115,10 +14027,10 @@
14115
14027
  "lib",
14116
14028
  "commands",
14117
14029
  "order",
14118
- "reset_circuit.js"
14030
+ "customer_payment_source_id.js"
14119
14031
  ]
14120
14032
  },
14121
- "order:save_billing_address_to_customer_address_book": {
14033
+ "order:fix_payment_source": {
14122
14034
  "aliases": [],
14123
14035
  "args": {
14124
14036
  "id": {
@@ -14127,7 +14039,7 @@
14127
14039
  "required": true
14128
14040
  }
14129
14041
  },
14130
- "description": "Send this attribute if you want the order's billing address to be saved in the customer's address book as a customer address.",
14042
+ "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.",
14131
14043
  "flags": {
14132
14044
  "organization": {
14133
14045
  "char": "o",
@@ -14192,7 +14104,7 @@
14192
14104
  },
14193
14105
  "hasDynamicHelp": false,
14194
14106
  "hiddenAliases": [],
14195
- "id": "order:save_billing_address_to_customer_address_book",
14107
+ "id": "order:fix_payment_source",
14196
14108
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14197
14109
  "pluginName": "@commercelayer/cli-plugin-triggers",
14198
14110
  "pluginType": "core",
@@ -14203,10 +14115,10 @@
14203
14115
  "lib",
14204
14116
  "commands",
14205
14117
  "order",
14206
- "save_billing_address_to_customer_address_book.js"
14118
+ "fix_payment_source.js"
14207
14119
  ]
14208
14120
  },
14209
- "order:save_payment_source_to_customer_wallet": {
14121
+ "order:fulfill": {
14210
14122
  "aliases": [],
14211
14123
  "args": {
14212
14124
  "id": {
@@ -14215,7 +14127,7 @@
14215
14127
  "required": true
14216
14128
  }
14217
14129
  },
14218
- "description": "Send this attribute if you want the order's payment source to be saved in the customer's wallet as a customer payment source.",
14130
+ "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.",
14219
14131
  "flags": {
14220
14132
  "organization": {
14221
14133
  "char": "o",
@@ -14280,7 +14192,7 @@
14280
14192
  },
14281
14193
  "hasDynamicHelp": false,
14282
14194
  "hiddenAliases": [],
14283
- "id": "order:save_payment_source_to_customer_wallet",
14195
+ "id": "order:fulfill",
14284
14196
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14285
14197
  "pluginName": "@commercelayer/cli-plugin-triggers",
14286
14198
  "pluginType": "core",
@@ -14291,10 +14203,10 @@
14291
14203
  "lib",
14292
14204
  "commands",
14293
14205
  "order",
14294
- "save_payment_source_to_customer_wallet.js"
14206
+ "fulfill.js"
14295
14207
  ]
14296
14208
  },
14297
- "order:save_shipping_address_to_customer_address_book": {
14209
+ "order": {
14298
14210
  "aliases": [],
14299
14211
  "args": {
14300
14212
  "id": {
@@ -14303,7 +14215,7 @@
14303
14215
  "required": true
14304
14216
  }
14305
14217
  },
14306
- "description": "Send this attribute if you want the order's shipping address to be saved in the customer's address book as a customer address.",
14218
+ "description": "execute an action on a resource of type orders",
14307
14219
  "flags": {
14308
14220
  "organization": {
14309
14221
  "char": "o",
@@ -14368,7 +14280,7 @@
14368
14280
  },
14369
14281
  "hasDynamicHelp": false,
14370
14282
  "hiddenAliases": [],
14371
- "id": "order:save_shipping_address_to_customer_address_book",
14283
+ "id": "order",
14372
14284
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14373
14285
  "pluginName": "@commercelayer/cli-plugin-triggers",
14374
14286
  "pluginType": "core",
@@ -14379,10 +14291,10 @@
14379
14291
  "lib",
14380
14292
  "commands",
14381
14293
  "order",
14382
- "save_shipping_address_to_customer_address_book.js"
14294
+ "index.js"
14383
14295
  ]
14384
14296
  },
14385
- "order:shipping_address_clone_id": {
14297
+ "order:nullify_payment_source": {
14386
14298
  "aliases": [],
14387
14299
  "args": {
14388
14300
  "id": {
@@ -14391,7 +14303,7 @@
14391
14303
  "required": true
14392
14304
  }
14393
14305
  },
14394
- "description": "The id of the address that you want to clone to create the order's shipping address.",
14306
+ "description": "Send this attribute if you want to nullify the payment source for this order.",
14395
14307
  "flags": {
14396
14308
  "organization": {
14397
14309
  "char": "o",
@@ -14452,20 +14364,99 @@
14452
14364
  "name": "unformatted",
14453
14365
  "allowNo": false,
14454
14366
  "type": "boolean"
14367
+ }
14368
+ },
14369
+ "hasDynamicHelp": false,
14370
+ "hiddenAliases": [],
14371
+ "id": "order:nullify_payment_source",
14372
+ "pluginAlias": "@commercelayer/cli-plugin-triggers",
14373
+ "pluginName": "@commercelayer/cli-plugin-triggers",
14374
+ "pluginType": "core",
14375
+ "strict": true,
14376
+ "enableJsonFlag": false,
14377
+ "isESM": false,
14378
+ "relativePath": [
14379
+ "lib",
14380
+ "commands",
14381
+ "order",
14382
+ "nullify_payment_source.js"
14383
+ ]
14384
+ },
14385
+ "order:pending": {
14386
+ "aliases": [],
14387
+ "args": {
14388
+ "id": {
14389
+ "description": "the unique id of the resource",
14390
+ "name": "id",
14391
+ "required": true
14392
+ }
14393
+ },
14394
+ "description": "Send this attribute if you want to move a draft or placing order to pending. Cannot be passed by sales channels.",
14395
+ "flags": {
14396
+ "organization": {
14397
+ "char": "o",
14398
+ "description": "the slug of your organization",
14399
+ "env": "CL_CLI_ORGANIZATION",
14400
+ "hidden": true,
14401
+ "name": "organization",
14402
+ "required": true,
14403
+ "hasDynamicHelp": false,
14404
+ "multiple": false,
14405
+ "type": "option"
14455
14406
  },
14456
- "value": {
14457
- "char": "v",
14458
- "description": "the trigger attribute value",
14459
- "name": "value",
14407
+ "domain": {
14408
+ "char": "d",
14409
+ "dependsOn": [
14410
+ "organization"
14411
+ ],
14412
+ "env": "CL_CLI_DOMAIN",
14413
+ "hidden": true,
14414
+ "name": "domain",
14415
+ "required": false,
14416
+ "hasDynamicHelp": false,
14417
+ "multiple": false,
14418
+ "type": "option"
14419
+ },
14420
+ "accessToken": {
14421
+ "env": "CL_CLI_ACCESS_TOKEN",
14422
+ "hidden": true,
14423
+ "name": "accessToken",
14460
14424
  "required": true,
14461
14425
  "hasDynamicHelp": false,
14462
14426
  "multiple": false,
14463
14427
  "type": "option"
14428
+ },
14429
+ "print": {
14430
+ "char": "p",
14431
+ "description": "print out the modified resource",
14432
+ "name": "print",
14433
+ "allowNo": false,
14434
+ "type": "boolean"
14435
+ },
14436
+ "json": {
14437
+ "char": "j",
14438
+ "dependsOn": [
14439
+ "print"
14440
+ ],
14441
+ "description": "print result in JSON format",
14442
+ "name": "json",
14443
+ "allowNo": false,
14444
+ "type": "boolean"
14445
+ },
14446
+ "unformatted": {
14447
+ "char": "u",
14448
+ "dependsOn": [
14449
+ "json"
14450
+ ],
14451
+ "description": "print JSON output without indentation",
14452
+ "name": "unformatted",
14453
+ "allowNo": false,
14454
+ "type": "boolean"
14464
14455
  }
14465
14456
  },
14466
14457
  "hasDynamicHelp": false,
14467
14458
  "hiddenAliases": [],
14468
- "id": "order:shipping_address_clone_id",
14459
+ "id": "order:pending",
14469
14460
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14470
14461
  "pluginName": "@commercelayer/cli-plugin-triggers",
14471
14462
  "pluginType": "core",
@@ -14476,10 +14467,10 @@
14476
14467
  "lib",
14477
14468
  "commands",
14478
14469
  "order",
14479
- "shipping_address_clone_id.js"
14470
+ "pending.js"
14480
14471
  ]
14481
14472
  },
14482
- "order:shipping_address_same_as_billing": {
14473
+ "order:place": {
14483
14474
  "aliases": [],
14484
14475
  "args": {
14485
14476
  "id": {
@@ -14488,7 +14479,7 @@
14488
14479
  "required": true
14489
14480
  }
14490
14481
  },
14491
- "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
14482
+ "description": "Send this attribute if you want to place the order.",
14492
14483
  "flags": {
14493
14484
  "organization": {
14494
14485
  "char": "o",
@@ -14553,7 +14544,7 @@
14553
14544
  },
14554
14545
  "hasDynamicHelp": false,
14555
14546
  "hiddenAliases": [],
14556
- "id": "order:shipping_address_same_as_billing",
14547
+ "id": "order:place",
14557
14548
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14558
14549
  "pluginName": "@commercelayer/cli-plugin-triggers",
14559
14550
  "pluginType": "core",
@@ -14564,10 +14555,10 @@
14564
14555
  "lib",
14565
14556
  "commands",
14566
14557
  "order",
14567
- "shipping_address_same_as_billing.js"
14558
+ "place.js"
14568
14559
  ]
14569
14560
  },
14570
- "order:start_editing": {
14561
+ "order:refresh": {
14571
14562
  "aliases": [],
14572
14563
  "args": {
14573
14564
  "id": {
@@ -14576,7 +14567,7 @@
14576
14567
  "required": true
14577
14568
  }
14578
14569
  },
14579
- "description": "Send this attribute if you want to edit the order after it is placed. Remember you cannot exceed the original total amount. Cannot be passed by sales channels.",
14570
+ "description": "Send this attribute if you want to manually refresh the order.",
14580
14571
  "flags": {
14581
14572
  "organization": {
14582
14573
  "char": "o",
@@ -14641,7 +14632,7 @@
14641
14632
  },
14642
14633
  "hasDynamicHelp": false,
14643
14634
  "hiddenAliases": [],
14644
- "id": "order:start_editing",
14635
+ "id": "order:refresh",
14645
14636
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14646
14637
  "pluginName": "@commercelayer/cli-plugin-triggers",
14647
14638
  "pluginType": "core",
@@ -14652,10 +14643,10 @@
14652
14643
  "lib",
14653
14644
  "commands",
14654
14645
  "order",
14655
- "start_editing.js"
14646
+ "refresh.js"
14656
14647
  ]
14657
14648
  },
14658
- "order:stop_editing": {
14649
+ "order:refund": {
14659
14650
  "aliases": [],
14660
14651
  "args": {
14661
14652
  "id": {
@@ -14664,7 +14655,7 @@
14664
14655
  "required": true
14665
14656
  }
14666
14657
  },
14667
- "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
14658
+ "description": "Send this attribute if you want to refund a captured order. Cannot be passed by sales channels.",
14668
14659
  "flags": {
14669
14660
  "organization": {
14670
14661
  "char": "o",
@@ -14729,7 +14720,7 @@
14729
14720
  },
14730
14721
  "hasDynamicHelp": false,
14731
14722
  "hiddenAliases": [],
14732
- "id": "order:stop_editing",
14723
+ "id": "order:refund",
14733
14724
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14734
14725
  "pluginName": "@commercelayer/cli-plugin-triggers",
14735
14726
  "pluginType": "core",
@@ -14740,10 +14731,10 @@
14740
14731
  "lib",
14741
14732
  "commands",
14742
14733
  "order",
14743
- "stop_editing.js"
14734
+ "refund.js"
14744
14735
  ]
14745
14736
  },
14746
- "order:unarchive": {
14737
+ "order:refund_invoice": {
14747
14738
  "aliases": [],
14748
14739
  "args": {
14749
14740
  "id": {
@@ -14752,7 +14743,7 @@
14752
14743
  "required": true
14753
14744
  }
14754
14745
  },
14755
- "description": "Send this attribute if you want to unarchive the order.",
14746
+ "description": "Send this attribute if you want refund the sales tax invoice to the associated tax calculator (currently supported by Avalara).",
14756
14747
  "flags": {
14757
14748
  "organization": {
14758
14749
  "char": "o",
@@ -14817,7 +14808,7 @@
14817
14808
  },
14818
14809
  "hasDynamicHelp": false,
14819
14810
  "hiddenAliases": [],
14820
- "id": "order:unarchive",
14811
+ "id": "order:refund_invoice",
14821
14812
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14822
14813
  "pluginName": "@commercelayer/cli-plugin-triggers",
14823
14814
  "pluginType": "core",
@@ -14828,10 +14819,10 @@
14828
14819
  "lib",
14829
14820
  "commands",
14830
14821
  "order",
14831
- "unarchive.js"
14822
+ "refund_invoice.js"
14832
14823
  ]
14833
14824
  },
14834
- "order:update_taxes": {
14825
+ "order:remove_tags": {
14835
14826
  "aliases": [],
14836
14827
  "args": {
14837
14828
  "id": {
@@ -14840,7 +14831,7 @@
14840
14831
  "required": true
14841
14832
  }
14842
14833
  },
14843
- "description": "Send this attribute if you want to force tax calculation for this order (a tax calculator must be associated to the order's market).",
14834
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
14844
14835
  "flags": {
14845
14836
  "organization": {
14846
14837
  "char": "o",
@@ -14905,7 +14896,7 @@
14905
14896
  },
14906
14897
  "hasDynamicHelp": false,
14907
14898
  "hiddenAliases": [],
14908
- "id": "order:update_taxes",
14899
+ "id": "order:remove_tags",
14909
14900
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14910
14901
  "pluginName": "@commercelayer/cli-plugin-triggers",
14911
14902
  "pluginType": "core",
@@ -14916,10 +14907,10 @@
14916
14907
  "lib",
14917
14908
  "commands",
14918
14909
  "order",
14919
- "update_taxes.js"
14910
+ "remove_tags.js"
14920
14911
  ]
14921
14912
  },
14922
- "order:validate": {
14913
+ "order:reset_circuit": {
14923
14914
  "aliases": [],
14924
14915
  "args": {
14925
14916
  "id": {
@@ -14928,7 +14919,7 @@
14928
14919
  "required": true
14929
14920
  }
14930
14921
  },
14931
- "description": "Send this attribute if you want to trigger the external validation for the order.",
14922
+ "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.",
14932
14923
  "flags": {
14933
14924
  "organization": {
14934
14925
  "char": "o",
@@ -14993,7 +14984,7 @@
14993
14984
  },
14994
14985
  "hasDynamicHelp": false,
14995
14986
  "hiddenAliases": [],
14996
- "id": "order:validate",
14987
+ "id": "order:reset_circuit",
14997
14988
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
14998
14989
  "pluginName": "@commercelayer/cli-plugin-triggers",
14999
14990
  "pluginType": "core",
@@ -15004,10 +14995,10 @@
15004
14995
  "lib",
15005
14996
  "commands",
15006
14997
  "order",
15007
- "validate.js"
14998
+ "reset_circuit.js"
15008
14999
  ]
15009
15000
  },
15010
- "order_subscription:activate": {
15001
+ "order:save_billing_address_to_customer_address_book": {
15011
15002
  "aliases": [],
15012
15003
  "args": {
15013
15004
  "id": {
@@ -15016,7 +15007,7 @@
15016
15007
  "required": true
15017
15008
  }
15018
15009
  },
15019
- "description": "Send this attribute if you want to mark this subscription as active.",
15010
+ "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.",
15020
15011
  "flags": {
15021
15012
  "organization": {
15022
15013
  "char": "o",
@@ -15081,7 +15072,7 @@
15081
15072
  },
15082
15073
  "hasDynamicHelp": false,
15083
15074
  "hiddenAliases": [],
15084
- "id": "order_subscription:activate",
15075
+ "id": "order:save_billing_address_to_customer_address_book",
15085
15076
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15086
15077
  "pluginName": "@commercelayer/cli-plugin-triggers",
15087
15078
  "pluginType": "core",
@@ -15091,11 +15082,11 @@
15091
15082
  "relativePath": [
15092
15083
  "lib",
15093
15084
  "commands",
15094
- "order_subscription",
15095
- "activate.js"
15085
+ "order",
15086
+ "save_billing_address_to_customer_address_book.js"
15096
15087
  ]
15097
15088
  },
15098
- "order_subscription:add_tags": {
15089
+ "order:save_payment_source_to_customer_wallet": {
15099
15090
  "aliases": [],
15100
15091
  "args": {
15101
15092
  "id": {
@@ -15104,7 +15095,7 @@
15104
15095
  "required": true
15105
15096
  }
15106
15097
  },
15107
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15098
+ "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.",
15108
15099
  "flags": {
15109
15100
  "organization": {
15110
15101
  "char": "o",
@@ -15169,7 +15160,7 @@
15169
15160
  },
15170
15161
  "hasDynamicHelp": false,
15171
15162
  "hiddenAliases": [],
15172
- "id": "order_subscription:add_tags",
15163
+ "id": "order:save_payment_source_to_customer_wallet",
15173
15164
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15174
15165
  "pluginName": "@commercelayer/cli-plugin-triggers",
15175
15166
  "pluginType": "core",
@@ -15179,11 +15170,11 @@
15179
15170
  "relativePath": [
15180
15171
  "lib",
15181
15172
  "commands",
15182
- "order_subscription",
15183
- "add_tags.js"
15173
+ "order",
15174
+ "save_payment_source_to_customer_wallet.js"
15184
15175
  ]
15185
15176
  },
15186
- "order_subscription:cancel": {
15177
+ "order:save_shipping_address_to_customer_address_book": {
15187
15178
  "aliases": [],
15188
15179
  "args": {
15189
15180
  "id": {
@@ -15192,7 +15183,7 @@
15192
15183
  "required": true
15193
15184
  }
15194
15185
  },
15195
- "description": "Send this attribute if you want to mark this subscription as cancelled.",
15186
+ "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.",
15196
15187
  "flags": {
15197
15188
  "organization": {
15198
15189
  "char": "o",
@@ -15257,7 +15248,7 @@
15257
15248
  },
15258
15249
  "hasDynamicHelp": false,
15259
15250
  "hiddenAliases": [],
15260
- "id": "order_subscription:cancel",
15251
+ "id": "order:save_shipping_address_to_customer_address_book",
15261
15252
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15262
15253
  "pluginName": "@commercelayer/cli-plugin-triggers",
15263
15254
  "pluginType": "core",
@@ -15267,11 +15258,11 @@
15267
15258
  "relativePath": [
15268
15259
  "lib",
15269
15260
  "commands",
15270
- "order_subscription",
15271
- "cancel.js"
15261
+ "order",
15262
+ "save_shipping_address_to_customer_address_book.js"
15272
15263
  ]
15273
15264
  },
15274
- "order_subscription:convert": {
15265
+ "order:shipping_address_clone_id": {
15275
15266
  "aliases": [],
15276
15267
  "args": {
15277
15268
  "id": {
@@ -15280,7 +15271,7 @@
15280
15271
  "required": true
15281
15272
  }
15282
15273
  },
15283
- "description": "Send this attribute if you want to convert a manual subscription to an automatic one. A subscription model is required before conversion.",
15274
+ "description": "The id of the address that you want to clone to create the order's shipping address.",
15284
15275
  "flags": {
15285
15276
  "organization": {
15286
15277
  "char": "o",
@@ -15341,11 +15332,20 @@
15341
15332
  "name": "unformatted",
15342
15333
  "allowNo": false,
15343
15334
  "type": "boolean"
15335
+ },
15336
+ "value": {
15337
+ "char": "v",
15338
+ "description": "the trigger attribute value",
15339
+ "name": "value",
15340
+ "required": true,
15341
+ "hasDynamicHelp": false,
15342
+ "multiple": false,
15343
+ "type": "option"
15344
15344
  }
15345
15345
  },
15346
15346
  "hasDynamicHelp": false,
15347
15347
  "hiddenAliases": [],
15348
- "id": "order_subscription:convert",
15348
+ "id": "order:shipping_address_clone_id",
15349
15349
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15350
15350
  "pluginName": "@commercelayer/cli-plugin-triggers",
15351
15351
  "pluginType": "core",
@@ -15355,11 +15355,11 @@
15355
15355
  "relativePath": [
15356
15356
  "lib",
15357
15357
  "commands",
15358
- "order_subscription",
15359
- "convert.js"
15358
+ "order",
15359
+ "shipping_address_clone_id.js"
15360
15360
  ]
15361
15361
  },
15362
- "order_subscription:deactivate": {
15362
+ "order:shipping_address_same_as_billing": {
15363
15363
  "aliases": [],
15364
15364
  "args": {
15365
15365
  "id": {
@@ -15368,7 +15368,7 @@
15368
15368
  "required": true
15369
15369
  }
15370
15370
  },
15371
- "description": "Send this attribute if you want to mark this subscription as inactive.",
15371
+ "description": "Send this attribute if you want the shipping address to be cloned from the order's billing address.",
15372
15372
  "flags": {
15373
15373
  "organization": {
15374
15374
  "char": "o",
@@ -15433,7 +15433,7 @@
15433
15433
  },
15434
15434
  "hasDynamicHelp": false,
15435
15435
  "hiddenAliases": [],
15436
- "id": "order_subscription:deactivate",
15436
+ "id": "order:shipping_address_same_as_billing",
15437
15437
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15438
15438
  "pluginName": "@commercelayer/cli-plugin-triggers",
15439
15439
  "pluginType": "core",
@@ -15443,11 +15443,11 @@
15443
15443
  "relativePath": [
15444
15444
  "lib",
15445
15445
  "commands",
15446
- "order_subscription",
15447
- "deactivate.js"
15446
+ "order",
15447
+ "shipping_address_same_as_billing.js"
15448
15448
  ]
15449
15449
  },
15450
- "order_subscription": {
15450
+ "order:start_editing": {
15451
15451
  "aliases": [],
15452
15452
  "args": {
15453
15453
  "id": {
@@ -15456,7 +15456,7 @@
15456
15456
  "required": true
15457
15457
  }
15458
15458
  },
15459
- "description": "execute an action on a resource of type order_subscriptions",
15459
+ "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.",
15460
15460
  "flags": {
15461
15461
  "organization": {
15462
15462
  "char": "o",
@@ -15521,7 +15521,7 @@
15521
15521
  },
15522
15522
  "hasDynamicHelp": false,
15523
15523
  "hiddenAliases": [],
15524
- "id": "order_subscription",
15524
+ "id": "order:start_editing",
15525
15525
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15526
15526
  "pluginName": "@commercelayer/cli-plugin-triggers",
15527
15527
  "pluginType": "core",
@@ -15531,11 +15531,11 @@
15531
15531
  "relativePath": [
15532
15532
  "lib",
15533
15533
  "commands",
15534
- "order_subscription",
15535
- "index.js"
15534
+ "order",
15535
+ "start_editing.js"
15536
15536
  ]
15537
15537
  },
15538
- "order_subscription:remove_tags": {
15538
+ "order:stop_editing": {
15539
15539
  "aliases": [],
15540
15540
  "args": {
15541
15541
  "id": {
@@ -15544,7 +15544,7 @@
15544
15544
  "required": true
15545
15545
  }
15546
15546
  },
15547
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
15547
+ "description": "Send this attribute to stop the editing for the order and return back to placed status. Cannot be passed by sales channels.",
15548
15548
  "flags": {
15549
15549
  "organization": {
15550
15550
  "char": "o",
@@ -15609,7 +15609,7 @@
15609
15609
  },
15610
15610
  "hasDynamicHelp": false,
15611
15611
  "hiddenAliases": [],
15612
- "id": "order_subscription:remove_tags",
15612
+ "id": "order:stop_editing",
15613
15613
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15614
15614
  "pluginName": "@commercelayer/cli-plugin-triggers",
15615
15615
  "pluginType": "core",
@@ -15619,11 +15619,11 @@
15619
15619
  "relativePath": [
15620
15620
  "lib",
15621
15621
  "commands",
15622
- "order_subscription",
15623
- "remove_tags.js"
15622
+ "order",
15623
+ "stop_editing.js"
15624
15624
  ]
15625
15625
  },
15626
- "payment_method:disable": {
15626
+ "order:unarchive": {
15627
15627
  "aliases": [],
15628
15628
  "args": {
15629
15629
  "id": {
@@ -15632,7 +15632,7 @@
15632
15632
  "required": true
15633
15633
  }
15634
15634
  },
15635
- "description": "Send this attribute if you want to mark this resource as disabled.",
15635
+ "description": "Send this attribute if you want to unarchive the order.",
15636
15636
  "flags": {
15637
15637
  "organization": {
15638
15638
  "char": "o",
@@ -15697,7 +15697,7 @@
15697
15697
  },
15698
15698
  "hasDynamicHelp": false,
15699
15699
  "hiddenAliases": [],
15700
- "id": "payment_method:disable",
15700
+ "id": "order:unarchive",
15701
15701
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15702
15702
  "pluginName": "@commercelayer/cli-plugin-triggers",
15703
15703
  "pluginType": "core",
@@ -15707,11 +15707,11 @@
15707
15707
  "relativePath": [
15708
15708
  "lib",
15709
15709
  "commands",
15710
- "payment_method",
15711
- "disable.js"
15710
+ "order",
15711
+ "unarchive.js"
15712
15712
  ]
15713
15713
  },
15714
- "payment_method:enable": {
15714
+ "order:update_taxes": {
15715
15715
  "aliases": [],
15716
15716
  "args": {
15717
15717
  "id": {
@@ -15720,7 +15720,7 @@
15720
15720
  "required": true
15721
15721
  }
15722
15722
  },
15723
- "description": "Send this attribute if you want to mark this resource as enabled.",
15723
+ "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).",
15724
15724
  "flags": {
15725
15725
  "organization": {
15726
15726
  "char": "o",
@@ -15785,7 +15785,7 @@
15785
15785
  },
15786
15786
  "hasDynamicHelp": false,
15787
15787
  "hiddenAliases": [],
15788
- "id": "payment_method:enable",
15788
+ "id": "order:update_taxes",
15789
15789
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15790
15790
  "pluginName": "@commercelayer/cli-plugin-triggers",
15791
15791
  "pluginType": "core",
@@ -15795,11 +15795,11 @@
15795
15795
  "relativePath": [
15796
15796
  "lib",
15797
15797
  "commands",
15798
- "payment_method",
15799
- "enable.js"
15798
+ "order",
15799
+ "update_taxes.js"
15800
15800
  ]
15801
15801
  },
15802
- "payment_method": {
15802
+ "order:validate": {
15803
15803
  "aliases": [],
15804
15804
  "args": {
15805
15805
  "id": {
@@ -15808,7 +15808,7 @@
15808
15808
  "required": true
15809
15809
  }
15810
15810
  },
15811
- "description": "execute an action on a resource of type payment_methods",
15811
+ "description": "Send this attribute if you want to trigger the external validation for the order.",
15812
15812
  "flags": {
15813
15813
  "organization": {
15814
15814
  "char": "o",
@@ -15873,7 +15873,7 @@
15873
15873
  },
15874
15874
  "hasDynamicHelp": false,
15875
15875
  "hiddenAliases": [],
15876
- "id": "payment_method",
15876
+ "id": "order:validate",
15877
15877
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
15878
15878
  "pluginName": "@commercelayer/cli-plugin-triggers",
15879
15879
  "pluginType": "core",
@@ -15883,8 +15883,8 @@
15883
15883
  "relativePath": [
15884
15884
  "lib",
15885
15885
  "commands",
15886
- "payment_method",
15887
- "index.js"
15886
+ "order",
15887
+ "validate.js"
15888
15888
  ]
15889
15889
  },
15890
15890
  "paypal_gateway:disable": {
@@ -17031,7 +17031,7 @@
17031
17031
  "index.js"
17032
17032
  ]
17033
17033
  },
17034
- "return:add_tags": {
17034
+ "return_line_item": {
17035
17035
  "aliases": [],
17036
17036
  "args": {
17037
17037
  "id": {
@@ -17040,7 +17040,7 @@
17040
17040
  "required": true
17041
17041
  }
17042
17042
  },
17043
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17043
+ "description": "execute an action on a resource of type return_line_items",
17044
17044
  "flags": {
17045
17045
  "organization": {
17046
17046
  "char": "o",
@@ -17105,7 +17105,7 @@
17105
17105
  },
17106
17106
  "hasDynamicHelp": false,
17107
17107
  "hiddenAliases": [],
17108
- "id": "return:add_tags",
17108
+ "id": "return_line_item",
17109
17109
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17110
17110
  "pluginName": "@commercelayer/cli-plugin-triggers",
17111
17111
  "pluginType": "core",
@@ -17115,11 +17115,11 @@
17115
17115
  "relativePath": [
17116
17116
  "lib",
17117
17117
  "commands",
17118
- "return",
17119
- "add_tags.js"
17118
+ "return_line_item",
17119
+ "index.js"
17120
17120
  ]
17121
17121
  },
17122
- "return:approve": {
17122
+ "return_line_item:restock": {
17123
17123
  "aliases": [],
17124
17124
  "args": {
17125
17125
  "id": {
@@ -17128,7 +17128,7 @@
17128
17128
  "required": true
17129
17129
  }
17130
17130
  },
17131
- "description": "Send this attribute if you want to mark this return as approved.",
17131
+ "description": "Send this attribute if you want to restock the line item.",
17132
17132
  "flags": {
17133
17133
  "organization": {
17134
17134
  "char": "o",
@@ -17193,7 +17193,7 @@
17193
17193
  },
17194
17194
  "hasDynamicHelp": false,
17195
17195
  "hiddenAliases": [],
17196
- "id": "return:approve",
17196
+ "id": "return_line_item:restock",
17197
17197
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17198
17198
  "pluginName": "@commercelayer/cli-plugin-triggers",
17199
17199
  "pluginType": "core",
@@ -17203,11 +17203,11 @@
17203
17203
  "relativePath": [
17204
17204
  "lib",
17205
17205
  "commands",
17206
- "return",
17207
- "approve.js"
17206
+ "return_line_item",
17207
+ "restock.js"
17208
17208
  ]
17209
17209
  },
17210
- "return:archive": {
17210
+ "return:add_tags": {
17211
17211
  "aliases": [],
17212
17212
  "args": {
17213
17213
  "id": {
@@ -17216,7 +17216,7 @@
17216
17216
  "required": true
17217
17217
  }
17218
17218
  },
17219
- "description": "Send this attribute if you want to archive the return.",
17219
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
17220
17220
  "flags": {
17221
17221
  "organization": {
17222
17222
  "char": "o",
@@ -17281,7 +17281,7 @@
17281
17281
  },
17282
17282
  "hasDynamicHelp": false,
17283
17283
  "hiddenAliases": [],
17284
- "id": "return:archive",
17284
+ "id": "return:add_tags",
17285
17285
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17286
17286
  "pluginName": "@commercelayer/cli-plugin-triggers",
17287
17287
  "pluginType": "core",
@@ -17292,10 +17292,10 @@
17292
17292
  "lib",
17293
17293
  "commands",
17294
17294
  "return",
17295
- "archive.js"
17295
+ "add_tags.js"
17296
17296
  ]
17297
17297
  },
17298
- "return:cancel": {
17298
+ "return:approve": {
17299
17299
  "aliases": [],
17300
17300
  "args": {
17301
17301
  "id": {
@@ -17304,7 +17304,7 @@
17304
17304
  "required": true
17305
17305
  }
17306
17306
  },
17307
- "description": "Send this attribute if you want to mark this return as cancelled.",
17307
+ "description": "Send this attribute if you want to mark this return as approved.",
17308
17308
  "flags": {
17309
17309
  "organization": {
17310
17310
  "char": "o",
@@ -17369,7 +17369,7 @@
17369
17369
  },
17370
17370
  "hasDynamicHelp": false,
17371
17371
  "hiddenAliases": [],
17372
- "id": "return:cancel",
17372
+ "id": "return:approve",
17373
17373
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17374
17374
  "pluginName": "@commercelayer/cli-plugin-triggers",
17375
17375
  "pluginType": "core",
@@ -17380,10 +17380,10 @@
17380
17380
  "lib",
17381
17381
  "commands",
17382
17382
  "return",
17383
- "cancel.js"
17383
+ "approve.js"
17384
17384
  ]
17385
17385
  },
17386
- "return": {
17386
+ "return:archive": {
17387
17387
  "aliases": [],
17388
17388
  "args": {
17389
17389
  "id": {
@@ -17392,7 +17392,7 @@
17392
17392
  "required": true
17393
17393
  }
17394
17394
  },
17395
- "description": "execute an action on a resource of type returns",
17395
+ "description": "Send this attribute if you want to archive the return.",
17396
17396
  "flags": {
17397
17397
  "organization": {
17398
17398
  "char": "o",
@@ -17457,7 +17457,7 @@
17457
17457
  },
17458
17458
  "hasDynamicHelp": false,
17459
17459
  "hiddenAliases": [],
17460
- "id": "return",
17460
+ "id": "return:archive",
17461
17461
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17462
17462
  "pluginName": "@commercelayer/cli-plugin-triggers",
17463
17463
  "pluginType": "core",
@@ -17468,10 +17468,10 @@
17468
17468
  "lib",
17469
17469
  "commands",
17470
17470
  "return",
17471
- "index.js"
17471
+ "archive.js"
17472
17472
  ]
17473
17473
  },
17474
- "return:receive": {
17474
+ "return:cancel": {
17475
17475
  "aliases": [],
17476
17476
  "args": {
17477
17477
  "id": {
@@ -17480,7 +17480,7 @@
17480
17480
  "required": true
17481
17481
  }
17482
17482
  },
17483
- "description": "Send this attribute if you want to mark this return as received.",
17483
+ "description": "Send this attribute if you want to mark this return as cancelled.",
17484
17484
  "flags": {
17485
17485
  "organization": {
17486
17486
  "char": "o",
@@ -17545,7 +17545,7 @@
17545
17545
  },
17546
17546
  "hasDynamicHelp": false,
17547
17547
  "hiddenAliases": [],
17548
- "id": "return:receive",
17548
+ "id": "return:cancel",
17549
17549
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17550
17550
  "pluginName": "@commercelayer/cli-plugin-triggers",
17551
17551
  "pluginType": "core",
@@ -17556,10 +17556,10 @@
17556
17556
  "lib",
17557
17557
  "commands",
17558
17558
  "return",
17559
- "receive.js"
17559
+ "cancel.js"
17560
17560
  ]
17561
17561
  },
17562
- "return:refund": {
17562
+ "return": {
17563
17563
  "aliases": [],
17564
17564
  "args": {
17565
17565
  "id": {
@@ -17568,7 +17568,7 @@
17568
17568
  "required": true
17569
17569
  }
17570
17570
  },
17571
- "description": "Send this attribute if you want to create a refund for this return.",
17571
+ "description": "execute an action on a resource of type returns",
17572
17572
  "flags": {
17573
17573
  "organization": {
17574
17574
  "char": "o",
@@ -17633,7 +17633,7 @@
17633
17633
  },
17634
17634
  "hasDynamicHelp": false,
17635
17635
  "hiddenAliases": [],
17636
- "id": "return:refund",
17636
+ "id": "return",
17637
17637
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17638
17638
  "pluginName": "@commercelayer/cli-plugin-triggers",
17639
17639
  "pluginType": "core",
@@ -17644,10 +17644,10 @@
17644
17644
  "lib",
17645
17645
  "commands",
17646
17646
  "return",
17647
- "refund.js"
17647
+ "index.js"
17648
17648
  ]
17649
17649
  },
17650
- "return:refund_amount_cents": {
17650
+ "return:receive": {
17651
17651
  "aliases": [],
17652
17652
  "args": {
17653
17653
  "id": {
@@ -17656,7 +17656,7 @@
17656
17656
  "required": true
17657
17657
  }
17658
17658
  },
17659
- "description": "Send this attribute as a value in cents to specify the amount to be refunded.",
17659
+ "description": "Send this attribute if you want to mark this return as received.",
17660
17660
  "flags": {
17661
17661
  "organization": {
17662
17662
  "char": "o",
@@ -17721,7 +17721,7 @@
17721
17721
  },
17722
17722
  "hasDynamicHelp": false,
17723
17723
  "hiddenAliases": [],
17724
- "id": "return:refund_amount_cents",
17724
+ "id": "return:receive",
17725
17725
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17726
17726
  "pluginName": "@commercelayer/cli-plugin-triggers",
17727
17727
  "pluginType": "core",
@@ -17732,10 +17732,10 @@
17732
17732
  "lib",
17733
17733
  "commands",
17734
17734
  "return",
17735
- "refund_amount_cents.js"
17735
+ "receive.js"
17736
17736
  ]
17737
17737
  },
17738
- "return:reject": {
17738
+ "return:refund": {
17739
17739
  "aliases": [],
17740
17740
  "args": {
17741
17741
  "id": {
@@ -17744,7 +17744,7 @@
17744
17744
  "required": true
17745
17745
  }
17746
17746
  },
17747
- "description": "Send this attribute if you want to mark this return as rejected.",
17747
+ "description": "Send this attribute if you want to create a refund for this return.",
17748
17748
  "flags": {
17749
17749
  "organization": {
17750
17750
  "char": "o",
@@ -17809,7 +17809,7 @@
17809
17809
  },
17810
17810
  "hasDynamicHelp": false,
17811
17811
  "hiddenAliases": [],
17812
- "id": "return:reject",
17812
+ "id": "return:refund",
17813
17813
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17814
17814
  "pluginName": "@commercelayer/cli-plugin-triggers",
17815
17815
  "pluginType": "core",
@@ -17820,10 +17820,10 @@
17820
17820
  "lib",
17821
17821
  "commands",
17822
17822
  "return",
17823
- "reject.js"
17823
+ "refund.js"
17824
17824
  ]
17825
17825
  },
17826
- "return:remove_tags": {
17826
+ "return:refund_amount_cents": {
17827
17827
  "aliases": [],
17828
17828
  "args": {
17829
17829
  "id": {
@@ -17832,7 +17832,7 @@
17832
17832
  "required": true
17833
17833
  }
17834
17834
  },
17835
- "description": "Comma separated list of tags to be removed. 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.",
17836
17836
  "flags": {
17837
17837
  "organization": {
17838
17838
  "char": "o",
@@ -17897,7 +17897,7 @@
17897
17897
  },
17898
17898
  "hasDynamicHelp": false,
17899
17899
  "hiddenAliases": [],
17900
- "id": "return:remove_tags",
17900
+ "id": "return:refund_amount_cents",
17901
17901
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17902
17902
  "pluginName": "@commercelayer/cli-plugin-triggers",
17903
17903
  "pluginType": "core",
@@ -17908,10 +17908,10 @@
17908
17908
  "lib",
17909
17909
  "commands",
17910
17910
  "return",
17911
- "remove_tags.js"
17911
+ "refund_amount_cents.js"
17912
17912
  ]
17913
17913
  },
17914
- "return:request": {
17914
+ "return:reject": {
17915
17915
  "aliases": [],
17916
17916
  "args": {
17917
17917
  "id": {
@@ -17920,7 +17920,7 @@
17920
17920
  "required": true
17921
17921
  }
17922
17922
  },
17923
- "description": "Send this attribute if you want to activate this return.",
17923
+ "description": "Send this attribute if you want to mark this return as rejected.",
17924
17924
  "flags": {
17925
17925
  "organization": {
17926
17926
  "char": "o",
@@ -17985,7 +17985,7 @@
17985
17985
  },
17986
17986
  "hasDynamicHelp": false,
17987
17987
  "hiddenAliases": [],
17988
- "id": "return:request",
17988
+ "id": "return:reject",
17989
17989
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
17990
17990
  "pluginName": "@commercelayer/cli-plugin-triggers",
17991
17991
  "pluginType": "core",
@@ -17996,10 +17996,10 @@
17996
17996
  "lib",
17997
17997
  "commands",
17998
17998
  "return",
17999
- "request.js"
17999
+ "reject.js"
18000
18000
  ]
18001
18001
  },
18002
- "return:restock": {
18002
+ "return:remove_tags": {
18003
18003
  "aliases": [],
18004
18004
  "args": {
18005
18005
  "id": {
@@ -18008,7 +18008,7 @@
18008
18008
  "required": true
18009
18009
  }
18010
18010
  },
18011
- "description": "Send this attribute if you want to restock all of the return line items.",
18011
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
18012
18012
  "flags": {
18013
18013
  "organization": {
18014
18014
  "char": "o",
@@ -18073,7 +18073,7 @@
18073
18073
  },
18074
18074
  "hasDynamicHelp": false,
18075
18075
  "hiddenAliases": [],
18076
- "id": "return:restock",
18076
+ "id": "return:remove_tags",
18077
18077
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18078
18078
  "pluginName": "@commercelayer/cli-plugin-triggers",
18079
18079
  "pluginType": "core",
@@ -18084,10 +18084,10 @@
18084
18084
  "lib",
18085
18085
  "commands",
18086
18086
  "return",
18087
- "restock.js"
18087
+ "remove_tags.js"
18088
18088
  ]
18089
18089
  },
18090
- "return:ship": {
18090
+ "return:request": {
18091
18091
  "aliases": [],
18092
18092
  "args": {
18093
18093
  "id": {
@@ -18096,7 +18096,7 @@
18096
18096
  "required": true
18097
18097
  }
18098
18098
  },
18099
- "description": "Send this attribute if you want to mark this return as shipped.",
18099
+ "description": "Send this attribute if you want to activate this return.",
18100
18100
  "flags": {
18101
18101
  "organization": {
18102
18102
  "char": "o",
@@ -18161,7 +18161,7 @@
18161
18161
  },
18162
18162
  "hasDynamicHelp": false,
18163
18163
  "hiddenAliases": [],
18164
- "id": "return:ship",
18164
+ "id": "return:request",
18165
18165
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18166
18166
  "pluginName": "@commercelayer/cli-plugin-triggers",
18167
18167
  "pluginType": "core",
@@ -18172,10 +18172,10 @@
18172
18172
  "lib",
18173
18173
  "commands",
18174
18174
  "return",
18175
- "ship.js"
18175
+ "request.js"
18176
18176
  ]
18177
18177
  },
18178
- "return:unarchive": {
18178
+ "return:restock": {
18179
18179
  "aliases": [],
18180
18180
  "args": {
18181
18181
  "id": {
@@ -18184,7 +18184,7 @@
18184
18184
  "required": true
18185
18185
  }
18186
18186
  },
18187
- "description": "Send this attribute if you want to unarchive the return.",
18187
+ "description": "Send this attribute if you want to restock all of the return line items.",
18188
18188
  "flags": {
18189
18189
  "organization": {
18190
18190
  "char": "o",
@@ -18249,7 +18249,7 @@
18249
18249
  },
18250
18250
  "hasDynamicHelp": false,
18251
18251
  "hiddenAliases": [],
18252
- "id": "return:unarchive",
18252
+ "id": "return:restock",
18253
18253
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18254
18254
  "pluginName": "@commercelayer/cli-plugin-triggers",
18255
18255
  "pluginType": "core",
@@ -18260,10 +18260,10 @@
18260
18260
  "lib",
18261
18261
  "commands",
18262
18262
  "return",
18263
- "unarchive.js"
18263
+ "restock.js"
18264
18264
  ]
18265
18265
  },
18266
- "return_line_item": {
18266
+ "return:ship": {
18267
18267
  "aliases": [],
18268
18268
  "args": {
18269
18269
  "id": {
@@ -18272,7 +18272,7 @@
18272
18272
  "required": true
18273
18273
  }
18274
18274
  },
18275
- "description": "execute an action on a resource of type return_line_items",
18275
+ "description": "Send this attribute if you want to mark this return as shipped.",
18276
18276
  "flags": {
18277
18277
  "organization": {
18278
18278
  "char": "o",
@@ -18337,7 +18337,7 @@
18337
18337
  },
18338
18338
  "hasDynamicHelp": false,
18339
18339
  "hiddenAliases": [],
18340
- "id": "return_line_item",
18340
+ "id": "return:ship",
18341
18341
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18342
18342
  "pluginName": "@commercelayer/cli-plugin-triggers",
18343
18343
  "pluginType": "core",
@@ -18347,11 +18347,11 @@
18347
18347
  "relativePath": [
18348
18348
  "lib",
18349
18349
  "commands",
18350
- "return_line_item",
18351
- "index.js"
18350
+ "return",
18351
+ "ship.js"
18352
18352
  ]
18353
18353
  },
18354
- "return_line_item:restock": {
18354
+ "return:unarchive": {
18355
18355
  "aliases": [],
18356
18356
  "args": {
18357
18357
  "id": {
@@ -18360,7 +18360,7 @@
18360
18360
  "required": true
18361
18361
  }
18362
18362
  },
18363
- "description": "Send this attribute if you want to restock the line item.",
18363
+ "description": "Send this attribute if you want to unarchive the return.",
18364
18364
  "flags": {
18365
18365
  "organization": {
18366
18366
  "char": "o",
@@ -18425,7 +18425,7 @@
18425
18425
  },
18426
18426
  "hasDynamicHelp": false,
18427
18427
  "hiddenAliases": [],
18428
- "id": "return_line_item:restock",
18428
+ "id": "return:unarchive",
18429
18429
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18430
18430
  "pluginName": "@commercelayer/cli-plugin-triggers",
18431
18431
  "pluginType": "core",
@@ -18435,8 +18435,8 @@
18435
18435
  "relativePath": [
18436
18436
  "lib",
18437
18437
  "commands",
18438
- "return_line_item",
18439
- "restock.js"
18438
+ "return",
18439
+ "unarchive.js"
18440
18440
  ]
18441
18441
  },
18442
18442
  "satispay_gateway:disable": {
@@ -18879,7 +18879,7 @@
18879
18879
  "refresh.js"
18880
18880
  ]
18881
18881
  },
18882
- "shipment:add_tags": {
18882
+ "shipping_method:add_tags": {
18883
18883
  "aliases": [],
18884
18884
  "args": {
18885
18885
  "id": {
@@ -18953,7 +18953,7 @@
18953
18953
  },
18954
18954
  "hasDynamicHelp": false,
18955
18955
  "hiddenAliases": [],
18956
- "id": "shipment:add_tags",
18956
+ "id": "shipping_method:add_tags",
18957
18957
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
18958
18958
  "pluginName": "@commercelayer/cli-plugin-triggers",
18959
18959
  "pluginType": "core",
@@ -18963,11 +18963,11 @@
18963
18963
  "relativePath": [
18964
18964
  "lib",
18965
18965
  "commands",
18966
- "shipment",
18966
+ "shipping_method",
18967
18967
  "add_tags.js"
18968
18968
  ]
18969
18969
  },
18970
- "shipment:cancel": {
18970
+ "shipping_method:disable": {
18971
18971
  "aliases": [],
18972
18972
  "args": {
18973
18973
  "id": {
@@ -18976,7 +18976,7 @@
18976
18976
  "required": true
18977
18977
  }
18978
18978
  },
18979
- "description": "Send this attribute if you want to mark this shipment as cancelled (unless already shipped or delivered). Cannot be passed by sales channels.",
18979
+ "description": "Send this attribute if you want to mark this resource as disabled.",
18980
18980
  "flags": {
18981
18981
  "organization": {
18982
18982
  "char": "o",
@@ -19041,7 +19041,7 @@
19041
19041
  },
19042
19042
  "hasDynamicHelp": false,
19043
19043
  "hiddenAliases": [],
19044
- "id": "shipment:cancel",
19044
+ "id": "shipping_method:disable",
19045
19045
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19046
19046
  "pluginName": "@commercelayer/cli-plugin-triggers",
19047
19047
  "pluginType": "core",
@@ -19051,11 +19051,11 @@
19051
19051
  "relativePath": [
19052
19052
  "lib",
19053
19053
  "commands",
19054
- "shipment",
19055
- "cancel.js"
19054
+ "shipping_method",
19055
+ "disable.js"
19056
19056
  ]
19057
19057
  },
19058
- "shipment:decrement_stock": {
19058
+ "shipping_method:enable": {
19059
19059
  "aliases": [],
19060
19060
  "args": {
19061
19061
  "id": {
@@ -19064,7 +19064,7 @@
19064
19064
  "required": true
19065
19065
  }
19066
19066
  },
19067
- "description": "Send this attribute if you want to automatically decrement and release the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19067
+ "description": "Send this attribute if you want to mark this resource as enabled.",
19068
19068
  "flags": {
19069
19069
  "organization": {
19070
19070
  "char": "o",
@@ -19129,7 +19129,7 @@
19129
19129
  },
19130
19130
  "hasDynamicHelp": false,
19131
19131
  "hiddenAliases": [],
19132
- "id": "shipment:decrement_stock",
19132
+ "id": "shipping_method:enable",
19133
19133
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19134
19134
  "pluginName": "@commercelayer/cli-plugin-triggers",
19135
19135
  "pluginType": "core",
@@ -19139,11 +19139,11 @@
19139
19139
  "relativePath": [
19140
19140
  "lib",
19141
19141
  "commands",
19142
- "shipment",
19143
- "decrement_stock.js"
19142
+ "shipping_method",
19143
+ "enable.js"
19144
19144
  ]
19145
19145
  },
19146
- "shipment:deliver": {
19146
+ "shipping_method": {
19147
19147
  "aliases": [],
19148
19148
  "args": {
19149
19149
  "id": {
@@ -19152,7 +19152,7 @@
19152
19152
  "required": true
19153
19153
  }
19154
19154
  },
19155
- "description": "Send this attribute if you want to mark this shipment as delivered.",
19155
+ "description": "execute an action on a resource of type shipping_methods",
19156
19156
  "flags": {
19157
19157
  "organization": {
19158
19158
  "char": "o",
@@ -19217,7 +19217,7 @@
19217
19217
  },
19218
19218
  "hasDynamicHelp": false,
19219
19219
  "hiddenAliases": [],
19220
- "id": "shipment:deliver",
19220
+ "id": "shipping_method",
19221
19221
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19222
19222
  "pluginName": "@commercelayer/cli-plugin-triggers",
19223
19223
  "pluginType": "core",
@@ -19227,11 +19227,11 @@
19227
19227
  "relativePath": [
19228
19228
  "lib",
19229
19229
  "commands",
19230
- "shipment",
19231
- "deliver.js"
19230
+ "shipping_method",
19231
+ "index.js"
19232
19232
  ]
19233
19233
  },
19234
- "shipment:get_rates": {
19234
+ "shipping_method:remove_tags": {
19235
19235
  "aliases": [],
19236
19236
  "args": {
19237
19237
  "id": {
@@ -19240,7 +19240,7 @@
19240
19240
  "required": true
19241
19241
  }
19242
19242
  },
19243
- "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
19243
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
19244
19244
  "flags": {
19245
19245
  "organization": {
19246
19246
  "char": "o",
@@ -19305,7 +19305,7 @@
19305
19305
  },
19306
19306
  "hasDynamicHelp": false,
19307
19307
  "hiddenAliases": [],
19308
- "id": "shipment:get_rates",
19308
+ "id": "shipping_method:remove_tags",
19309
19309
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19310
19310
  "pluginName": "@commercelayer/cli-plugin-triggers",
19311
19311
  "pluginType": "core",
@@ -19315,11 +19315,11 @@
19315
19315
  "relativePath": [
19316
19316
  "lib",
19317
19317
  "commands",
19318
- "shipment",
19319
- "get_rates.js"
19318
+ "shipping_method",
19319
+ "remove_tags.js"
19320
19320
  ]
19321
19321
  },
19322
- "shipment": {
19322
+ "shipping_method:reset_circuit": {
19323
19323
  "aliases": [],
19324
19324
  "args": {
19325
19325
  "id": {
@@ -19328,7 +19328,7 @@
19328
19328
  "required": true
19329
19329
  }
19330
19330
  },
19331
- "description": "execute an action on a resource of type shipments",
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.",
19332
19332
  "flags": {
19333
19333
  "organization": {
19334
19334
  "char": "o",
@@ -19393,7 +19393,7 @@
19393
19393
  },
19394
19394
  "hasDynamicHelp": false,
19395
19395
  "hiddenAliases": [],
19396
- "id": "shipment",
19396
+ "id": "shipping_method:reset_circuit",
19397
19397
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19398
19398
  "pluginName": "@commercelayer/cli-plugin-triggers",
19399
19399
  "pluginType": "core",
@@ -19403,11 +19403,11 @@
19403
19403
  "relativePath": [
19404
19404
  "lib",
19405
19405
  "commands",
19406
- "shipment",
19407
- "index.js"
19406
+ "shipping_method",
19407
+ "reset_circuit.js"
19408
19408
  ]
19409
19409
  },
19410
- "shipment:on_hold": {
19410
+ "shipment:add_tags": {
19411
19411
  "aliases": [],
19412
19412
  "args": {
19413
19413
  "id": {
@@ -19416,7 +19416,7 @@
19416
19416
  "required": true
19417
19417
  }
19418
19418
  },
19419
- "description": "Send this attribute if you want to put this shipment on hold.",
19419
+ "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
19420
19420
  "flags": {
19421
19421
  "organization": {
19422
19422
  "char": "o",
@@ -19481,7 +19481,7 @@
19481
19481
  },
19482
19482
  "hasDynamicHelp": false,
19483
19483
  "hiddenAliases": [],
19484
- "id": "shipment:on_hold",
19484
+ "id": "shipment:add_tags",
19485
19485
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19486
19486
  "pluginName": "@commercelayer/cli-plugin-triggers",
19487
19487
  "pluginType": "core",
@@ -19492,10 +19492,10 @@
19492
19492
  "lib",
19493
19493
  "commands",
19494
19494
  "shipment",
19495
- "on_hold.js"
19495
+ "add_tags.js"
19496
19496
  ]
19497
19497
  },
19498
- "shipment:packing": {
19498
+ "shipment:cancel": {
19499
19499
  "aliases": [],
19500
19500
  "args": {
19501
19501
  "id": {
@@ -19504,7 +19504,7 @@
19504
19504
  "required": true
19505
19505
  }
19506
19506
  },
19507
- "description": "Send this attribute if you want to start packing this shipment.",
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.",
19508
19508
  "flags": {
19509
19509
  "organization": {
19510
19510
  "char": "o",
@@ -19569,7 +19569,7 @@
19569
19569
  },
19570
19570
  "hasDynamicHelp": false,
19571
19571
  "hiddenAliases": [],
19572
- "id": "shipment:packing",
19572
+ "id": "shipment:cancel",
19573
19573
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19574
19574
  "pluginName": "@commercelayer/cli-plugin-triggers",
19575
19575
  "pluginType": "core",
@@ -19580,10 +19580,10 @@
19580
19580
  "lib",
19581
19581
  "commands",
19582
19582
  "shipment",
19583
- "packing.js"
19583
+ "cancel.js"
19584
19584
  ]
19585
19585
  },
19586
- "shipment:picking": {
19586
+ "shipment:decrement_stock": {
19587
19587
  "aliases": [],
19588
19588
  "args": {
19589
19589
  "id": {
@@ -19592,7 +19592,7 @@
19592
19592
  "required": true
19593
19593
  }
19594
19594
  },
19595
- "description": "Send this attribute if you want to start picking this shipment.",
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.",
19596
19596
  "flags": {
19597
19597
  "organization": {
19598
19598
  "char": "o",
@@ -19657,7 +19657,7 @@
19657
19657
  },
19658
19658
  "hasDynamicHelp": false,
19659
19659
  "hiddenAliases": [],
19660
- "id": "shipment:picking",
19660
+ "id": "shipment:decrement_stock",
19661
19661
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19662
19662
  "pluginName": "@commercelayer/cli-plugin-triggers",
19663
19663
  "pluginType": "core",
@@ -19668,10 +19668,10 @@
19668
19668
  "lib",
19669
19669
  "commands",
19670
19670
  "shipment",
19671
- "picking.js"
19671
+ "decrement_stock.js"
19672
19672
  ]
19673
19673
  },
19674
- "shipment:purchase": {
19674
+ "shipment:deliver": {
19675
19675
  "aliases": [],
19676
19676
  "args": {
19677
19677
  "id": {
@@ -19680,7 +19680,7 @@
19680
19680
  "required": true
19681
19681
  }
19682
19682
  },
19683
- "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
19683
+ "description": "Send this attribute if you want to mark this shipment as delivered.",
19684
19684
  "flags": {
19685
19685
  "organization": {
19686
19686
  "char": "o",
@@ -19745,7 +19745,7 @@
19745
19745
  },
19746
19746
  "hasDynamicHelp": false,
19747
19747
  "hiddenAliases": [],
19748
- "id": "shipment:purchase",
19748
+ "id": "shipment:deliver",
19749
19749
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19750
19750
  "pluginName": "@commercelayer/cli-plugin-triggers",
19751
19751
  "pluginType": "core",
@@ -19756,10 +19756,10 @@
19756
19756
  "lib",
19757
19757
  "commands",
19758
19758
  "shipment",
19759
- "purchase.js"
19759
+ "deliver.js"
19760
19760
  ]
19761
19761
  },
19762
- "shipment:ready_to_ship": {
19762
+ "shipment:get_rates": {
19763
19763
  "aliases": [],
19764
19764
  "args": {
19765
19765
  "id": {
@@ -19768,7 +19768,7 @@
19768
19768
  "required": true
19769
19769
  }
19770
19770
  },
19771
- "description": "Send this attribute if you want to mark this shipment as ready to ship.",
19771
+ "description": "Send this attribute if you want get the shipping rates from the associated carrier accounts.",
19772
19772
  "flags": {
19773
19773
  "organization": {
19774
19774
  "char": "o",
@@ -19833,7 +19833,7 @@
19833
19833
  },
19834
19834
  "hasDynamicHelp": false,
19835
19835
  "hiddenAliases": [],
19836
- "id": "shipment:ready_to_ship",
19836
+ "id": "shipment:get_rates",
19837
19837
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19838
19838
  "pluginName": "@commercelayer/cli-plugin-triggers",
19839
19839
  "pluginType": "core",
@@ -19844,10 +19844,10 @@
19844
19844
  "lib",
19845
19845
  "commands",
19846
19846
  "shipment",
19847
- "ready_to_ship.js"
19847
+ "get_rates.js"
19848
19848
  ]
19849
19849
  },
19850
- "shipment:release_stock": {
19850
+ "shipment": {
19851
19851
  "aliases": [],
19852
19852
  "args": {
19853
19853
  "id": {
@@ -19856,7 +19856,7 @@
19856
19856
  "required": true
19857
19857
  }
19858
19858
  },
19859
- "description": "Send this attribute if you want to automatically destroy the stock reservations for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
19859
+ "description": "execute an action on a resource of type shipments",
19860
19860
  "flags": {
19861
19861
  "organization": {
19862
19862
  "char": "o",
@@ -19921,7 +19921,7 @@
19921
19921
  },
19922
19922
  "hasDynamicHelp": false,
19923
19923
  "hiddenAliases": [],
19924
- "id": "shipment:release_stock",
19924
+ "id": "shipment",
19925
19925
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
19926
19926
  "pluginName": "@commercelayer/cli-plugin-triggers",
19927
19927
  "pluginType": "core",
@@ -19932,10 +19932,10 @@
19932
19932
  "lib",
19933
19933
  "commands",
19934
19934
  "shipment",
19935
- "release_stock.js"
19935
+ "index.js"
19936
19936
  ]
19937
19937
  },
19938
- "shipment:remove_tags": {
19938
+ "shipment:on_hold": {
19939
19939
  "aliases": [],
19940
19940
  "args": {
19941
19941
  "id": {
@@ -19944,7 +19944,7 @@
19944
19944
  "required": true
19945
19945
  }
19946
19946
  },
19947
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
19947
+ "description": "Send this attribute if you want to put this shipment on hold.",
19948
19948
  "flags": {
19949
19949
  "organization": {
19950
19950
  "char": "o",
@@ -20009,7 +20009,7 @@
20009
20009
  },
20010
20010
  "hasDynamicHelp": false,
20011
20011
  "hiddenAliases": [],
20012
- "id": "shipment:remove_tags",
20012
+ "id": "shipment:on_hold",
20013
20013
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20014
20014
  "pluginName": "@commercelayer/cli-plugin-triggers",
20015
20015
  "pluginType": "core",
@@ -20020,10 +20020,10 @@
20020
20020
  "lib",
20021
20021
  "commands",
20022
20022
  "shipment",
20023
- "remove_tags.js"
20023
+ "on_hold.js"
20024
20024
  ]
20025
20025
  },
20026
- "shipment:reserve_stock": {
20026
+ "shipment:packing": {
20027
20027
  "aliases": [],
20028
20028
  "args": {
20029
20029
  "id": {
@@ -20032,7 +20032,7 @@
20032
20032
  "required": true
20033
20033
  }
20034
20034
  },
20035
- "description": "Send this attribute if you want to automatically reserve the stock for each of the associated stock line item. Can be done only when fulfillment is in progress. Cannot be passed by sales channels.",
20035
+ "description": "Send this attribute if you want to start packing this shipment.",
20036
20036
  "flags": {
20037
20037
  "organization": {
20038
20038
  "char": "o",
@@ -20097,7 +20097,7 @@
20097
20097
  },
20098
20098
  "hasDynamicHelp": false,
20099
20099
  "hiddenAliases": [],
20100
- "id": "shipment:reserve_stock",
20100
+ "id": "shipment:packing",
20101
20101
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20102
20102
  "pluginName": "@commercelayer/cli-plugin-triggers",
20103
20103
  "pluginType": "core",
@@ -20108,10 +20108,10 @@
20108
20108
  "lib",
20109
20109
  "commands",
20110
20110
  "shipment",
20111
- "reserve_stock.js"
20111
+ "packing.js"
20112
20112
  ]
20113
20113
  },
20114
- "shipment:ship": {
20114
+ "shipment:picking": {
20115
20115
  "aliases": [],
20116
20116
  "args": {
20117
20117
  "id": {
@@ -20120,7 +20120,7 @@
20120
20120
  "required": true
20121
20121
  }
20122
20122
  },
20123
- "description": "Send this attribute if you want to mark this shipment as shipped.",
20123
+ "description": "Send this attribute if you want to start picking this shipment.",
20124
20124
  "flags": {
20125
20125
  "organization": {
20126
20126
  "char": "o",
@@ -20185,7 +20185,7 @@
20185
20185
  },
20186
20186
  "hasDynamicHelp": false,
20187
20187
  "hiddenAliases": [],
20188
- "id": "shipment:ship",
20188
+ "id": "shipment:picking",
20189
20189
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20190
20190
  "pluginName": "@commercelayer/cli-plugin-triggers",
20191
20191
  "pluginType": "core",
@@ -20196,10 +20196,10 @@
20196
20196
  "lib",
20197
20197
  "commands",
20198
20198
  "shipment",
20199
- "ship.js"
20199
+ "picking.js"
20200
20200
  ]
20201
20201
  },
20202
- "shipment:upcoming": {
20202
+ "shipment:purchase": {
20203
20203
  "aliases": [],
20204
20204
  "args": {
20205
20205
  "id": {
@@ -20208,7 +20208,7 @@
20208
20208
  "required": true
20209
20209
  }
20210
20210
  },
20211
- "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
20211
+ "description": "Send this attribute if you want to purchase this shipment with the selected rate.",
20212
20212
  "flags": {
20213
20213
  "organization": {
20214
20214
  "char": "o",
@@ -20273,7 +20273,7 @@
20273
20273
  },
20274
20274
  "hasDynamicHelp": false,
20275
20275
  "hiddenAliases": [],
20276
- "id": "shipment:upcoming",
20276
+ "id": "shipment:purchase",
20277
20277
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20278
20278
  "pluginName": "@commercelayer/cli-plugin-triggers",
20279
20279
  "pluginType": "core",
@@ -20284,10 +20284,10 @@
20284
20284
  "lib",
20285
20285
  "commands",
20286
20286
  "shipment",
20287
- "upcoming.js"
20287
+ "purchase.js"
20288
20288
  ]
20289
20289
  },
20290
- "shipping_method:add_tags": {
20290
+ "shipment:ready_to_ship": {
20291
20291
  "aliases": [],
20292
20292
  "args": {
20293
20293
  "id": {
@@ -20296,7 +20296,7 @@
20296
20296
  "required": true
20297
20297
  }
20298
20298
  },
20299
- "description": "Comma separated list of tags to be added. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20299
+ "description": "Send this attribute if you want to mark this shipment as ready to ship.",
20300
20300
  "flags": {
20301
20301
  "organization": {
20302
20302
  "char": "o",
@@ -20361,7 +20361,7 @@
20361
20361
  },
20362
20362
  "hasDynamicHelp": false,
20363
20363
  "hiddenAliases": [],
20364
- "id": "shipping_method:add_tags",
20364
+ "id": "shipment:ready_to_ship",
20365
20365
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20366
20366
  "pluginName": "@commercelayer/cli-plugin-triggers",
20367
20367
  "pluginType": "core",
@@ -20371,11 +20371,11 @@
20371
20371
  "relativePath": [
20372
20372
  "lib",
20373
20373
  "commands",
20374
- "shipping_method",
20375
- "add_tags.js"
20374
+ "shipment",
20375
+ "ready_to_ship.js"
20376
20376
  ]
20377
20377
  },
20378
- "shipping_method:disable": {
20378
+ "shipment:release_stock": {
20379
20379
  "aliases": [],
20380
20380
  "args": {
20381
20381
  "id": {
@@ -20384,7 +20384,7 @@
20384
20384
  "required": true
20385
20385
  }
20386
20386
  },
20387
- "description": "Send this attribute if you want to mark this resource as disabled.",
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.",
20388
20388
  "flags": {
20389
20389
  "organization": {
20390
20390
  "char": "o",
@@ -20449,7 +20449,7 @@
20449
20449
  },
20450
20450
  "hasDynamicHelp": false,
20451
20451
  "hiddenAliases": [],
20452
- "id": "shipping_method:disable",
20452
+ "id": "shipment:release_stock",
20453
20453
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20454
20454
  "pluginName": "@commercelayer/cli-plugin-triggers",
20455
20455
  "pluginType": "core",
@@ -20459,11 +20459,11 @@
20459
20459
  "relativePath": [
20460
20460
  "lib",
20461
20461
  "commands",
20462
- "shipping_method",
20463
- "disable.js"
20462
+ "shipment",
20463
+ "release_stock.js"
20464
20464
  ]
20465
20465
  },
20466
- "shipping_method:enable": {
20466
+ "shipment:remove_tags": {
20467
20467
  "aliases": [],
20468
20468
  "args": {
20469
20469
  "id": {
@@ -20472,7 +20472,7 @@
20472
20472
  "required": true
20473
20473
  }
20474
20474
  },
20475
- "description": "Send this attribute if you want to mark this resource as enabled.",
20475
+ "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20476
20476
  "flags": {
20477
20477
  "organization": {
20478
20478
  "char": "o",
@@ -20537,7 +20537,7 @@
20537
20537
  },
20538
20538
  "hasDynamicHelp": false,
20539
20539
  "hiddenAliases": [],
20540
- "id": "shipping_method:enable",
20540
+ "id": "shipment:remove_tags",
20541
20541
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20542
20542
  "pluginName": "@commercelayer/cli-plugin-triggers",
20543
20543
  "pluginType": "core",
@@ -20547,11 +20547,11 @@
20547
20547
  "relativePath": [
20548
20548
  "lib",
20549
20549
  "commands",
20550
- "shipping_method",
20551
- "enable.js"
20550
+ "shipment",
20551
+ "remove_tags.js"
20552
20552
  ]
20553
20553
  },
20554
- "shipping_method": {
20554
+ "shipment:reserve_stock": {
20555
20555
  "aliases": [],
20556
20556
  "args": {
20557
20557
  "id": {
@@ -20560,7 +20560,7 @@
20560
20560
  "required": true
20561
20561
  }
20562
20562
  },
20563
- "description": "execute an action on a resource of type shipping_methods",
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.",
20564
20564
  "flags": {
20565
20565
  "organization": {
20566
20566
  "char": "o",
@@ -20625,7 +20625,7 @@
20625
20625
  },
20626
20626
  "hasDynamicHelp": false,
20627
20627
  "hiddenAliases": [],
20628
- "id": "shipping_method",
20628
+ "id": "shipment:reserve_stock",
20629
20629
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20630
20630
  "pluginName": "@commercelayer/cli-plugin-triggers",
20631
20631
  "pluginType": "core",
@@ -20635,11 +20635,11 @@
20635
20635
  "relativePath": [
20636
20636
  "lib",
20637
20637
  "commands",
20638
- "shipping_method",
20639
- "index.js"
20638
+ "shipment",
20639
+ "reserve_stock.js"
20640
20640
  ]
20641
20641
  },
20642
- "shipping_method:remove_tags": {
20642
+ "shipment:ship": {
20643
20643
  "aliases": [],
20644
20644
  "args": {
20645
20645
  "id": {
@@ -20648,7 +20648,7 @@
20648
20648
  "required": true
20649
20649
  }
20650
20650
  },
20651
- "description": "Comma separated list of tags to be removed. Duplicates, invalid and non existing ones are discarded. Cannot be passed by sales channels.",
20651
+ "description": "Send this attribute if you want to mark this shipment as shipped.",
20652
20652
  "flags": {
20653
20653
  "organization": {
20654
20654
  "char": "o",
@@ -20713,7 +20713,7 @@
20713
20713
  },
20714
20714
  "hasDynamicHelp": false,
20715
20715
  "hiddenAliases": [],
20716
- "id": "shipping_method:remove_tags",
20716
+ "id": "shipment:ship",
20717
20717
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20718
20718
  "pluginName": "@commercelayer/cli-plugin-triggers",
20719
20719
  "pluginType": "core",
@@ -20723,11 +20723,11 @@
20723
20723
  "relativePath": [
20724
20724
  "lib",
20725
20725
  "commands",
20726
- "shipping_method",
20727
- "remove_tags.js"
20726
+ "shipment",
20727
+ "ship.js"
20728
20728
  ]
20729
20729
  },
20730
- "shipping_method:reset_circuit": {
20730
+ "shipment:upcoming": {
20731
20731
  "aliases": [],
20732
20732
  "args": {
20733
20733
  "id": {
@@ -20736,7 +20736,7 @@
20736
20736
  "required": true
20737
20737
  }
20738
20738
  },
20739
- "description": "Send this attribute if you want to reset the circuit breaker associated to this resource to 'closed' state and zero failures count. Cannot be passed by sales channels.",
20739
+ "description": "Send this attribute if you want to mark this shipment as upcoming. Cannot be passed by sales channels.",
20740
20740
  "flags": {
20741
20741
  "organization": {
20742
20742
  "char": "o",
@@ -20801,7 +20801,7 @@
20801
20801
  },
20802
20802
  "hasDynamicHelp": false,
20803
20803
  "hiddenAliases": [],
20804
- "id": "shipping_method:reset_circuit",
20804
+ "id": "shipment:upcoming",
20805
20805
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
20806
20806
  "pluginName": "@commercelayer/cli-plugin-triggers",
20807
20807
  "pluginType": "core",
@@ -20811,8 +20811,8 @@
20811
20811
  "relativePath": [
20812
20812
  "lib",
20813
20813
  "commands",
20814
- "shipping_method",
20815
- "reset_circuit.js"
20814
+ "shipment",
20815
+ "upcoming.js"
20816
20816
  ]
20817
20817
  },
20818
20818
  "sku:add_tags": {
@@ -22927,7 +22927,7 @@
22927
22927
  "index.js"
22928
22928
  ]
22929
22929
  },
22930
- "stripe_payment": {
22930
+ "vertex_account": {
22931
22931
  "aliases": [],
22932
22932
  "args": {
22933
22933
  "id": {
@@ -22936,7 +22936,7 @@
22936
22936
  "required": true
22937
22937
  }
22938
22938
  },
22939
- "description": "execute an action on a resource of type stripe_payments",
22939
+ "description": "execute an action on a resource of type vertex_accounts",
22940
22940
  "flags": {
22941
22941
  "organization": {
22942
22942
  "char": "o",
@@ -23001,7 +23001,7 @@
23001
23001
  },
23002
23002
  "hasDynamicHelp": false,
23003
23003
  "hiddenAliases": [],
23004
- "id": "stripe_payment",
23004
+ "id": "vertex_account",
23005
23005
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23006
23006
  "pluginName": "@commercelayer/cli-plugin-triggers",
23007
23007
  "pluginType": "core",
@@ -23011,11 +23011,11 @@
23011
23011
  "relativePath": [
23012
23012
  "lib",
23013
23013
  "commands",
23014
- "stripe_payment",
23014
+ "vertex_account",
23015
23015
  "index.js"
23016
23016
  ]
23017
23017
  },
23018
- "stripe_payment:refresh": {
23018
+ "vertex_account:refresh_token": {
23019
23019
  "aliases": [],
23020
23020
  "args": {
23021
23021
  "id": {
@@ -23024,7 +23024,7 @@
23024
23024
  "required": true
23025
23025
  }
23026
23026
  },
23027
- "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
23027
+ "description": "Send this attribute if you want to manually refresh the access token.",
23028
23028
  "flags": {
23029
23029
  "organization": {
23030
23030
  "char": "o",
@@ -23089,7 +23089,7 @@
23089
23089
  },
23090
23090
  "hasDynamicHelp": false,
23091
23091
  "hiddenAliases": [],
23092
- "id": "stripe_payment:refresh",
23092
+ "id": "vertex_account:refresh_token",
23093
23093
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23094
23094
  "pluginName": "@commercelayer/cli-plugin-triggers",
23095
23095
  "pluginType": "core",
@@ -23099,11 +23099,11 @@
23099
23099
  "relativePath": [
23100
23100
  "lib",
23101
23101
  "commands",
23102
- "stripe_payment",
23103
- "refresh.js"
23102
+ "vertex_account",
23103
+ "refresh_token.js"
23104
23104
  ]
23105
23105
  },
23106
- "stripe_payment:update": {
23106
+ "stripe_payment": {
23107
23107
  "aliases": [],
23108
23108
  "args": {
23109
23109
  "id": {
@@ -23112,7 +23112,7 @@
23112
23112
  "required": true
23113
23113
  }
23114
23114
  },
23115
- "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
23115
+ "description": "execute an action on a resource of type stripe_payments",
23116
23116
  "flags": {
23117
23117
  "organization": {
23118
23118
  "char": "o",
@@ -23177,7 +23177,7 @@
23177
23177
  },
23178
23178
  "hasDynamicHelp": false,
23179
23179
  "hiddenAliases": [],
23180
- "id": "stripe_payment:update",
23180
+ "id": "stripe_payment",
23181
23181
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23182
23182
  "pluginName": "@commercelayer/cli-plugin-triggers",
23183
23183
  "pluginType": "core",
@@ -23188,10 +23188,10 @@
23188
23188
  "lib",
23189
23189
  "commands",
23190
23190
  "stripe_payment",
23191
- "update.js"
23191
+ "index.js"
23192
23192
  ]
23193
23193
  },
23194
- "vertex_account": {
23194
+ "stripe_payment:refresh": {
23195
23195
  "aliases": [],
23196
23196
  "args": {
23197
23197
  "id": {
@@ -23200,7 +23200,7 @@
23200
23200
  "required": true
23201
23201
  }
23202
23202
  },
23203
- "description": "execute an action on a resource of type vertex_accounts",
23203
+ "description": "Send this attribute if you want to refresh the payment status, can be used as webhooks fallback logic.",
23204
23204
  "flags": {
23205
23205
  "organization": {
23206
23206
  "char": "o",
@@ -23265,7 +23265,7 @@
23265
23265
  },
23266
23266
  "hasDynamicHelp": false,
23267
23267
  "hiddenAliases": [],
23268
- "id": "vertex_account",
23268
+ "id": "stripe_payment:refresh",
23269
23269
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23270
23270
  "pluginName": "@commercelayer/cli-plugin-triggers",
23271
23271
  "pluginType": "core",
@@ -23275,11 +23275,11 @@
23275
23275
  "relativePath": [
23276
23276
  "lib",
23277
23277
  "commands",
23278
- "vertex_account",
23279
- "index.js"
23278
+ "stripe_payment",
23279
+ "refresh.js"
23280
23280
  ]
23281
23281
  },
23282
- "vertex_account:refresh_token": {
23282
+ "stripe_payment:update": {
23283
23283
  "aliases": [],
23284
23284
  "args": {
23285
23285
  "id": {
@@ -23288,7 +23288,7 @@
23288
23288
  "required": true
23289
23289
  }
23290
23290
  },
23291
- "description": "Send this attribute if you want to manually refresh the access token.",
23291
+ "description": "Send this attribute if you want to update the created payment intent with fresh order data.",
23292
23292
  "flags": {
23293
23293
  "organization": {
23294
23294
  "char": "o",
@@ -23353,7 +23353,7 @@
23353
23353
  },
23354
23354
  "hasDynamicHelp": false,
23355
23355
  "hiddenAliases": [],
23356
- "id": "vertex_account:refresh_token",
23356
+ "id": "stripe_payment:update",
23357
23357
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
23358
23358
  "pluginName": "@commercelayer/cli-plugin-triggers",
23359
23359
  "pluginType": "core",
@@ -23363,8 +23363,8 @@
23363
23363
  "relativePath": [
23364
23364
  "lib",
23365
23365
  "commands",
23366
- "vertex_account",
23367
- "refresh_token.js"
23366
+ "stripe_payment",
23367
+ "update.js"
23368
23368
  ]
23369
23369
  },
23370
23370
  "void:forward": {
@@ -23896,5 +23896,5 @@
23896
23896
  ]
23897
23897
  }
23898
23898
  },
23899
- "version": "4.17.0"
23899
+ "version": "4.18.0"
23900
23900
  }