@zernio/node 0.2.828 → 0.2.829

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/index.d.mts CHANGED
@@ -4713,9 +4713,28 @@ type CtwaAdRequestBody = {
4713
4713
  */
4714
4714
  text: string;
4715
4715
  /**
4716
- * Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product).
4716
+ * Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product). Exactly one of prefillText or quickReplies.
4717
4717
  */
4718
- prefillText: string;
4718
+ prefillText?: string;
4719
+ /**
4720
+ * Tappable chips under the greeting instead of a prefilled
4721
+ * message. Exactly one of prefillText or quickReplies. Put
4722
+ * your own campaign or ad key in each payload: the tap arrives
4723
+ * on the messages webhook with that payload even where Meta
4724
+ * delivers no ad referral (Pages owned by an EU business under
4725
+ * the Europe/Japan Messenger restrictions).
4726
+ *
4727
+ */
4728
+ quickReplies?: Array<{
4729
+ /**
4730
+ * Chip label the person taps.
4731
+ */
4732
+ title: string;
4733
+ /**
4734
+ * Opaque string you choose; delivered on the message.received webhook as interactiveMetadata.quickReplyPayload when the chip is tapped.
4735
+ */
4736
+ payload: string;
4737
+ }>;
4719
4738
  };
4720
4739
  /**
4721
4740
  * Multi-creative shape: N CTWA ads under one campaign + one
package/dist/index.d.ts CHANGED
@@ -4713,9 +4713,28 @@ type CtwaAdRequestBody = {
4713
4713
  */
4714
4714
  text: string;
4715
4715
  /**
4716
- * Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product).
4716
+ * Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product). Exactly one of prefillText or quickReplies.
4717
4717
  */
4718
- prefillText: string;
4718
+ prefillText?: string;
4719
+ /**
4720
+ * Tappable chips under the greeting instead of a prefilled
4721
+ * message. Exactly one of prefillText or quickReplies. Put
4722
+ * your own campaign or ad key in each payload: the tap arrives
4723
+ * on the messages webhook with that payload even where Meta
4724
+ * delivers no ad referral (Pages owned by an EU business under
4725
+ * the Europe/Japan Messenger restrictions).
4726
+ *
4727
+ */
4728
+ quickReplies?: Array<{
4729
+ /**
4730
+ * Chip label the person taps.
4731
+ */
4732
+ title: string;
4733
+ /**
4734
+ * Opaque string you choose; delivered on the message.received webhook as interactiveMetadata.quickReplyPayload when the chip is tapped.
4735
+ */
4736
+ payload: string;
4737
+ }>;
4719
4738
  };
4720
4739
  /**
4721
4740
  * Multi-creative shape: N CTWA ads under one campaign + one
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.828",
39
+ version: "0.2.829",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.828",
8
+ version: "0.2.829",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.828",
3
+ "version": "0.2.829",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -3178,9 +3178,28 @@ export type CtwaAdRequestBody = {
3178
3178
  */
3179
3179
  text: string;
3180
3180
  /**
3181
- * Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product).
3181
+ * Message put into the user's text input, ready to send. Replaces Meta's default ("Hi! I want more info."). Lets one ad steer the opening message toward what it promotes (e.g. a specific product). Exactly one of prefillText or quickReplies.
3182
3182
  */
3183
- prefillText: string;
3183
+ prefillText?: string;
3184
+ /**
3185
+ * Tappable chips under the greeting instead of a prefilled
3186
+ * message. Exactly one of prefillText or quickReplies. Put
3187
+ * your own campaign or ad key in each payload: the tap arrives
3188
+ * on the messages webhook with that payload even where Meta
3189
+ * delivers no ad referral (Pages owned by an EU business under
3190
+ * the Europe/Japan Messenger restrictions).
3191
+ *
3192
+ */
3193
+ quickReplies?: Array<{
3194
+ /**
3195
+ * Chip label the person taps.
3196
+ */
3197
+ title: string;
3198
+ /**
3199
+ * Opaque string you choose; delivered on the message.received webhook as interactiveMetadata.quickReplyPayload when the chip is tapped.
3200
+ */
3201
+ payload: string;
3202
+ }>;
3184
3203
  };
3185
3204
  /**
3186
3205
  * Multi-creative shape: N CTWA ads under one campaign + one