@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 +4 -3
- package/dist/bin.js.map +1 -1
- package/package.json +2 -2
- package/skills/hogsend-authoring-destinations/SKILL.md +217 -0
- package/skills/hogsend-authoring-emails/references/tracking-and-unsubscribe.md +7 -2
- package/skills/hogsend-authoring-journeys/SKILL.md +11 -4
- package/skills/hogsend-authoring-journeys/references/journey-context.md +22 -8
- package/skills/hogsend-client-sdk/SKILL.md +18 -0
- package/skills/hogsend-client-sdk/references/api-surface.md +13 -4
- package/skills/hogsend-extending/SKILL.md +42 -11
- package/skills/hogsend-extending/references/swap-a-provider.md +15 -2
- package/skills/hogsend-webhooks-and-workflows/SKILL.md +16 -4
- package/src/commands/webhooks.ts +10 -7
- package/studio/assets/{index-D7Ax_oFF.js → index-CgJBk-Ft.js} +1 -1
- package/studio/index.html +1 -1
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
|
|
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
|
|
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
|