@commercelayer/cli-plugin-triggers 3.13.0 → 3.14.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 (60) hide show
  1. package/README.md +486 -3
  2. package/lib/commands/buy_x_pay_y_promotion/disable.d.ts +9 -0
  3. package/lib/commands/buy_x_pay_y_promotion/disable.js +21 -0
  4. package/lib/commands/buy_x_pay_y_promotion/enable.d.ts +9 -0
  5. package/lib/commands/buy_x_pay_y_promotion/enable.js +21 -0
  6. package/lib/commands/buy_x_pay_y_promotion/index.d.ts +9 -0
  7. package/lib/commands/buy_x_pay_y_promotion/index.js +38 -0
  8. package/lib/commands/external_promotion/disable.d.ts +9 -0
  9. package/lib/commands/external_promotion/disable.js +21 -0
  10. package/lib/commands/external_promotion/enable.d.ts +9 -0
  11. package/lib/commands/external_promotion/enable.js +21 -0
  12. package/lib/commands/external_promotion/index.d.ts +9 -0
  13. package/lib/commands/external_promotion/index.js +38 -0
  14. package/lib/commands/fixed_amount_promotion/disable.d.ts +9 -0
  15. package/lib/commands/fixed_amount_promotion/disable.js +21 -0
  16. package/lib/commands/fixed_amount_promotion/enable.d.ts +9 -0
  17. package/lib/commands/fixed_amount_promotion/enable.js +21 -0
  18. package/lib/commands/fixed_amount_promotion/index.d.ts +9 -0
  19. package/lib/commands/fixed_amount_promotion/index.js +38 -0
  20. package/lib/commands/fixed_price_promotion/disable.d.ts +9 -0
  21. package/lib/commands/fixed_price_promotion/disable.js +21 -0
  22. package/lib/commands/fixed_price_promotion/enable.d.ts +9 -0
  23. package/lib/commands/fixed_price_promotion/enable.js +21 -0
  24. package/lib/commands/fixed_price_promotion/index.d.ts +9 -0
  25. package/lib/commands/fixed_price_promotion/index.js +38 -0
  26. package/lib/commands/free_gift_promotion/disable.d.ts +9 -0
  27. package/lib/commands/free_gift_promotion/disable.js +21 -0
  28. package/lib/commands/free_gift_promotion/enable.d.ts +9 -0
  29. package/lib/commands/free_gift_promotion/enable.js +21 -0
  30. package/lib/commands/free_gift_promotion/index.d.ts +9 -0
  31. package/lib/commands/free_gift_promotion/index.js +38 -0
  32. package/lib/commands/free_shipping_promotion/disable.d.ts +9 -0
  33. package/lib/commands/free_shipping_promotion/disable.js +21 -0
  34. package/lib/commands/free_shipping_promotion/enable.d.ts +9 -0
  35. package/lib/commands/free_shipping_promotion/enable.js +21 -0
  36. package/lib/commands/free_shipping_promotion/index.d.ts +9 -0
  37. package/lib/commands/free_shipping_promotion/index.js +38 -0
  38. package/lib/commands/percentage_discount_promotion/disable.d.ts +9 -0
  39. package/lib/commands/percentage_discount_promotion/disable.js +21 -0
  40. package/lib/commands/percentage_discount_promotion/enable.d.ts +9 -0
  41. package/lib/commands/percentage_discount_promotion/enable.js +21 -0
  42. package/lib/commands/percentage_discount_promotion/index.d.ts +9 -0
  43. package/lib/commands/percentage_discount_promotion/index.js +38 -0
  44. package/lib/triggers/buy_x_pay_y_promotions.d.ts +3 -0
  45. package/lib/triggers/buy_x_pay_y_promotions.js +15 -0
  46. package/lib/triggers/external_promotions.d.ts +3 -0
  47. package/lib/triggers/external_promotions.js +15 -0
  48. package/lib/triggers/fixed_amount_promotions.d.ts +3 -0
  49. package/lib/triggers/fixed_amount_promotions.js +15 -0
  50. package/lib/triggers/fixed_price_promotions.d.ts +3 -0
  51. package/lib/triggers/fixed_price_promotions.js +15 -0
  52. package/lib/triggers/free_gift_promotions.d.ts +3 -0
  53. package/lib/triggers/free_gift_promotions.js +15 -0
  54. package/lib/triggers/free_shipping_promotions.d.ts +3 -0
  55. package/lib/triggers/free_shipping_promotions.js +15 -0
  56. package/lib/triggers/orders.js +1 -1
  57. package/lib/triggers/percentage_discount_promotions.d.ts +3 -0
  58. package/lib/triggers/percentage_discount_promotions.js +15 -0
  59. package/oclif.manifest.json +1535 -23
  60. package/package.json +16 -17
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercelayer/cli-plugin-triggers",
3
3
  "description": "Commerce Layer CLI Triggers plugin",
4
- "version": "3.13.0",
4
+ "version": "3.14.0",
5
5
  "author": "Pierluigi Viti <pierluigi@commercelayer.io>",
6
6
  "bugs": "https://github.com/commercelayer/commercelayer-cli-plugin-triggers/issues",
7
7
  "engines": {
@@ -44,16 +44,16 @@
44
44
  "types": "lib/index.d.ts",
45
45
  "devDependencies": {
46
46
  "@commercelayer/cli-dev": "^2.0.5",
47
- "@commercelayer/eslint-config-ts": "^1.0.1",
48
- "@oclif/plugin-help": "^5.2.11",
49
- "@oclif/test": "^2.3.26",
50
- "@types/chai": "^4.3.5",
51
- "@types/inquirer": "^8.2.6",
52
- "@types/lodash": "^4.14.195",
53
- "@types/mocha": "^10.0.1",
54
- "@types/node": "^20.4.0",
55
- "chai": "^4.3.7",
56
- "eslint": "^8.44.0",
47
+ "@commercelayer/eslint-config-ts": "^1.1.0",
48
+ "@oclif/plugin-help": "^5.2.20",
49
+ "@oclif/test": "^2.5.6",
50
+ "@types/chai": "^4.3.7",
51
+ "@types/inquirer": "^8.2.7",
52
+ "@types/lodash": "^4.14.199",
53
+ "@types/mocha": "^10.0.2",
54
+ "@types/node": "^20.8.4",
55
+ "chai": "^4.3.10",
56
+ "eslint": "^8.51.0",
57
57
  "inflector-js": "^1.0.1",
58
58
  "lodash": "^4.17.21",
59
59
  "mocha": "^10.2.0",
@@ -62,12 +62,11 @@
62
62
  "typescript": "5.0.4"
63
63
  },
64
64
  "dependencies": {
65
- "@commercelayer/cli-core": "^3.10.0",
66
- "@commercelayer/js-auth": "^2.3.0",
67
- "@commercelayer/sdk": "^5.7.0",
68
- "@oclif/core": "^2.8.11",
69
- "inquirer": "^8.2.5",
70
- "tslib": "^2.6.0"
65
+ "@commercelayer/cli-core": "^3.12.1",
66
+ "@commercelayer/sdk": "^5.16.0",
67
+ "@oclif/core": "^2.15.0",
68
+ "inquirer": "^8.2.6",
69
+ "tslib": "^2.6.2"
71
70
  },
72
71
  "publishConfig": {
73
72
  "access": "public"