@commercelayer/cli-plugin-triggers 4.7.0 → 4.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/oclif.manifest.json +32 -32
  2. package/package.json +10 -10
@@ -196,7 +196,7 @@
196
196
  "index.js"
197
197
  ]
198
198
  },
199
- "axerve_payment": {
199
+ "authorization:capture": {
200
200
  "aliases": [],
201
201
  "args": {
202
202
  "id": {
@@ -205,7 +205,7 @@
205
205
  "required": true
206
206
  }
207
207
  },
208
- "description": "execute an action on a resource of type axerve_payments",
208
+ "description": "Send this attribute if you want to create a capture for this authorization.",
209
209
  "flags": {
210
210
  "organization": {
211
211
  "char": "o",
@@ -270,7 +270,7 @@
270
270
  },
271
271
  "hasDynamicHelp": false,
272
272
  "hiddenAliases": [],
273
- "id": "axerve_payment",
273
+ "id": "authorization:capture",
274
274
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
275
275
  "pluginName": "@commercelayer/cli-plugin-triggers",
276
276
  "pluginType": "core",
@@ -280,11 +280,11 @@
280
280
  "relativePath": [
281
281
  "lib",
282
282
  "commands",
283
- "axerve_payment",
284
- "index.js"
283
+ "authorization",
284
+ "capture.js"
285
285
  ]
286
286
  },
287
- "axerve_payment:update": {
287
+ "authorization:capture_amount_cents": {
288
288
  "aliases": [],
289
289
  "args": {
290
290
  "id": {
@@ -293,7 +293,7 @@
293
293
  "required": true
294
294
  }
295
295
  },
296
- "description": "Send this attribute if you want to update the payment with fresh order data.",
296
+ "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
297
297
  "flags": {
298
298
  "organization": {
299
299
  "char": "o",
@@ -358,7 +358,7 @@
358
358
  },
359
359
  "hasDynamicHelp": false,
360
360
  "hiddenAliases": [],
361
- "id": "axerve_payment:update",
361
+ "id": "authorization:capture_amount_cents",
362
362
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
363
363
  "pluginName": "@commercelayer/cli-plugin-triggers",
364
364
  "pluginType": "core",
@@ -368,11 +368,11 @@
368
368
  "relativePath": [
369
369
  "lib",
370
370
  "commands",
371
- "axerve_payment",
372
- "update.js"
371
+ "authorization",
372
+ "capture_amount_cents.js"
373
373
  ]
374
374
  },
375
- "authorization:capture": {
375
+ "authorization:forward": {
376
376
  "aliases": [],
377
377
  "args": {
378
378
  "id": {
@@ -381,7 +381,7 @@
381
381
  "required": true
382
382
  }
383
383
  },
384
- "description": "Send this attribute if you want to create a capture for this authorization.",
384
+ "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
385
385
  "flags": {
386
386
  "organization": {
387
387
  "char": "o",
@@ -446,7 +446,7 @@
446
446
  },
447
447
  "hasDynamicHelp": false,
448
448
  "hiddenAliases": [],
449
- "id": "authorization:capture",
449
+ "id": "authorization:forward",
450
450
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
451
451
  "pluginName": "@commercelayer/cli-plugin-triggers",
452
452
  "pluginType": "core",
@@ -457,10 +457,10 @@
457
457
  "lib",
458
458
  "commands",
459
459
  "authorization",
460
- "capture.js"
460
+ "forward.js"
461
461
  ]
462
462
  },
463
- "authorization:capture_amount_cents": {
463
+ "authorization": {
464
464
  "aliases": [],
465
465
  "args": {
466
466
  "id": {
@@ -469,7 +469,7 @@
469
469
  "required": true
470
470
  }
471
471
  },
472
- "description": "Send this attribute as a value in cents if you want to overwrite the amount to be captured.",
472
+ "description": "execute an action on a resource of type authorizations",
473
473
  "flags": {
474
474
  "organization": {
475
475
  "char": "o",
@@ -534,7 +534,7 @@
534
534
  },
535
535
  "hasDynamicHelp": false,
536
536
  "hiddenAliases": [],
537
- "id": "authorization:capture_amount_cents",
537
+ "id": "authorization",
538
538
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
539
539
  "pluginName": "@commercelayer/cli-plugin-triggers",
540
540
  "pluginType": "core",
@@ -545,10 +545,10 @@
545
545
  "lib",
546
546
  "commands",
547
547
  "authorization",
548
- "capture_amount_cents.js"
548
+ "index.js"
549
549
  ]
550
550
  },
551
- "authorization:forward": {
551
+ "authorization:void": {
552
552
  "aliases": [],
553
553
  "args": {
554
554
  "id": {
@@ -557,7 +557,7 @@
557
557
  "required": true
558
558
  }
559
559
  },
560
- "description": "Send this attribute if you want to forward a stuck transaction to succeeded and update associated order states accordingly.",
560
+ "description": "Send this attribute if you want to create a void for this authorization.",
561
561
  "flags": {
562
562
  "organization": {
563
563
  "char": "o",
@@ -622,7 +622,7 @@
622
622
  },
623
623
  "hasDynamicHelp": false,
624
624
  "hiddenAliases": [],
625
- "id": "authorization:forward",
625
+ "id": "authorization:void",
626
626
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
627
627
  "pluginName": "@commercelayer/cli-plugin-triggers",
628
628
  "pluginType": "core",
@@ -633,10 +633,10 @@
633
633
  "lib",
634
634
  "commands",
635
635
  "authorization",
636
- "forward.js"
636
+ "void.js"
637
637
  ]
638
638
  },
639
- "authorization": {
639
+ "axerve_payment": {
640
640
  "aliases": [],
641
641
  "args": {
642
642
  "id": {
@@ -645,7 +645,7 @@
645
645
  "required": true
646
646
  }
647
647
  },
648
- "description": "execute an action on a resource of type authorizations",
648
+ "description": "execute an action on a resource of type axerve_payments",
649
649
  "flags": {
650
650
  "organization": {
651
651
  "char": "o",
@@ -710,7 +710,7 @@
710
710
  },
711
711
  "hasDynamicHelp": false,
712
712
  "hiddenAliases": [],
713
- "id": "authorization",
713
+ "id": "axerve_payment",
714
714
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
715
715
  "pluginName": "@commercelayer/cli-plugin-triggers",
716
716
  "pluginType": "core",
@@ -720,11 +720,11 @@
720
720
  "relativePath": [
721
721
  "lib",
722
722
  "commands",
723
- "authorization",
723
+ "axerve_payment",
724
724
  "index.js"
725
725
  ]
726
726
  },
727
- "authorization:void": {
727
+ "axerve_payment:update": {
728
728
  "aliases": [],
729
729
  "args": {
730
730
  "id": {
@@ -733,7 +733,7 @@
733
733
  "required": true
734
734
  }
735
735
  },
736
- "description": "Send this attribute if you want to create a void for this authorization.",
736
+ "description": "Send this attribute if you want to update the payment with fresh order data.",
737
737
  "flags": {
738
738
  "organization": {
739
739
  "char": "o",
@@ -798,7 +798,7 @@
798
798
  },
799
799
  "hasDynamicHelp": false,
800
800
  "hiddenAliases": [],
801
- "id": "authorization:void",
801
+ "id": "axerve_payment:update",
802
802
  "pluginAlias": "@commercelayer/cli-plugin-triggers",
803
803
  "pluginName": "@commercelayer/cli-plugin-triggers",
804
804
  "pluginType": "core",
@@ -808,8 +808,8 @@
808
808
  "relativePath": [
809
809
  "lib",
810
810
  "commands",
811
- "authorization",
812
- "void.js"
811
+ "axerve_payment",
812
+ "update.js"
813
813
  ]
814
814
  },
815
815
  "bundle:compute_compare_at_amount": {
@@ -14744,5 +14744,5 @@
14744
14744
  ]
14745
14745
  }
14746
14746
  },
14747
- "version": "4.7.0"
14747
+ "version": "4.7.1"
14748
14748
  }
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": "4.7.0",
4
+ "version": "4.7.1",
5
5
  "author": "Pierluigi Viti <pierluigi@commercelayer.io>",
6
6
  "homepage": "https://github.com/commercelayer/commercelayer-cli-plugin-triggers",
7
7
  "repository": "commercelayer/commercelayer-cli-plugin-triggers",
@@ -56,29 +56,29 @@
56
56
  "devDependencies": {
57
57
  "@commercelayer/cli-dev": "^3.0.5",
58
58
  "@commercelayer/eslint-config-ts": "^1.4.5",
59
- "@oclif/plugin-help": "^6.2.6",
59
+ "@oclif/plugin-help": "^6.2.8",
60
60
  "@oclif/test": "^3.2.15",
61
61
  "@semantic-release/changelog": "^6.0.3",
62
62
  "@semantic-release/git": "^10.0.1",
63
- "@types/chai": "^4.3.16",
63
+ "@types/chai": "^4.3.17",
64
64
  "@types/inquirer": "^8.2.10",
65
65
  "@types/lodash.snakecase": "^4.1.9",
66
66
  "@types/mocha": "^10.0.7",
67
- "@types/node": "^20.14.10",
68
- "chai": "^4.4.1",
67
+ "@types/node": "^20.16.1",
68
+ "chai": "^4.5.0",
69
69
  "eslint": "^8.57.0",
70
70
  "inflector-js": "^1.0.1",
71
71
  "lodash.snakecase": "^4.1.1",
72
- "mocha": "^10.6.0",
72
+ "mocha": "^10.7.3",
73
73
  "nyc": "^15.1.0",
74
- "oclif": "^4.14.5",
74
+ "oclif": "^4.14.22",
75
75
  "semantic-release": "^22.0.12",
76
- "tsx": "^4.16.2",
76
+ "tsx": "^4.17.0",
77
77
  "typescript": "5.3.2"
78
78
  },
79
79
  "dependencies": {
80
- "@commercelayer/cli-core": "^5.1.1",
81
- "@commercelayer/sdk": "^6.9.1",
80
+ "@commercelayer/cli-core": "^5.2.3",
81
+ "@commercelayer/sdk": "^6.13.0",
82
82
  "@oclif/core": "^3.27.0",
83
83
  "inquirer": "^8.2.6",
84
84
  "tslib": "^2.6.3"