@hogsend/cli 0.8.0 → 0.10.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.
package/dist/bin.js CHANGED
@@ -2960,6 +2960,7 @@ var WEBHOOK_EVENT_TYPES = [
2960
2960
  "email.opened",
2961
2961
  "email.clicked",
2962
2962
  "email.bounced",
2963
+ "email.complained",
2963
2964
  "journey.completed",
2964
2965
  "bucket.entered",
2965
2966
  "bucket.left"
@@ -2987,14 +2988,14 @@ list options:
2987
2988
  create options (--url required, plus at least one event):
2988
2989
  --url <url> Destination URL (required).
2989
2990
  --event <type> Subscribe to an event; repeatable.
2990
- --all-events Subscribe to all 12 event types.
2991
+ --all-events Subscribe to all 13 event types.
2991
2992
  --description <text> Human label.
2992
2993
  --disabled Create the endpoint disabled.
2993
2994
 
2994
2995
  update options (only the provided fields change):
2995
2996
  --url <url> New destination URL.
2996
2997
  --event <type> Replace the subscribed events (repeatable).
2997
- --all-events Subscribe to all 12 event types.
2998
+ --all-events Subscribe to all 13 event types.
2998
2999
  --description <text> New description.
2999
3000
  --disabled / --enabled Disable or enable the endpoint.
3000
3001
 
@@ -3105,7 +3106,7 @@ function renderEndpoint(ctx, ep, title) {
3105
3106
  description: ep.description ?? color.dim("(none)"),
3106
3107
  status: ep.status === "enabled" ? color.green(ep.status) : color.yellow(ep.status),
3107
3108
  eventTypes: ep.eventTypes,
3108
- secretPrefix: ep.secretPrefix,
3109
+ secretPrefix: ep.secretPrefix ?? color.dim("(none \u2014 keyed destination)"),
3109
3110
  lastDeliveryAt: ep.lastDeliveryAt ?? color.dim("(never)"),
3110
3111
  createdAt: ep.createdAt,
3111
3112
  updatedAt: ep.updatedAt