@zernio/node 0.2.114 → 0.2.115

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
@@ -10004,6 +10004,25 @@ type SendPrivateReplyToCommentData = {
10004
10004
  * The message text to send as a private DM
10005
10005
  */
10006
10006
  message: string;
10007
+ /**
10008
+ * Optional quick-reply chips appended to the message. Visible only in the
10009
+ * Instagram and Messenger apps (not on web). Maximum 13 entries.
10010
+ *
10011
+ */
10012
+ quickReplies?: Array<{
10013
+ /**
10014
+ * Label shown on the chip. Truncated by Meta beyond 20 characters.
10015
+ */
10016
+ title: string;
10017
+ /**
10018
+ * Opaque value returned in the inbound webhook when the user taps the chip.
10019
+ */
10020
+ payload: string;
10021
+ /**
10022
+ * Optional thumbnail shown next to the chip title.
10023
+ */
10024
+ imageUrl?: string;
10025
+ }>;
10007
10026
  };
10008
10027
  path: {
10009
10028
  /**
package/dist/index.d.ts CHANGED
@@ -10004,6 +10004,25 @@ type SendPrivateReplyToCommentData = {
10004
10004
  * The message text to send as a private DM
10005
10005
  */
10006
10006
  message: string;
10007
+ /**
10008
+ * Optional quick-reply chips appended to the message. Visible only in the
10009
+ * Instagram and Messenger apps (not on web). Maximum 13 entries.
10010
+ *
10011
+ */
10012
+ quickReplies?: Array<{
10013
+ /**
10014
+ * Label shown on the chip. Truncated by Meta beyond 20 characters.
10015
+ */
10016
+ title: string;
10017
+ /**
10018
+ * Opaque value returned in the inbound webhook when the user taps the chip.
10019
+ */
10020
+ payload: string;
10021
+ /**
10022
+ * Optional thumbnail shown next to the chip title.
10023
+ */
10024
+ imageUrl?: string;
10025
+ }>;
10007
10026
  };
10008
10027
  path: {
10009
10028
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.114",
3
+ "version": "0.2.115",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2100,7 +2100,11 @@ export const unlikeInboxComment = <ThrowOnError extends boolean = false>(options
2100
2100
 
2101
2101
  /**
2102
2102
  * Send private reply
2103
- * Send a private message to the author of a comment. Supported on Instagram and Facebook only. One reply per comment, must be sent within 7 days, text only.
2103
+ * Send a private message to the author of a comment. Supported on Instagram and Facebook only.
2104
+ * One reply per comment, must be sent within 7 days. Optionally include up to 13 quick-reply
2105
+ * chips (`quickReplies`) on the same first message — useful for comment-to-DM automations
2106
+ * that want to capture intent in a single round-trip.
2107
+ *
2104
2108
  */
2105
2109
  export const sendPrivateReplyToComment = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SendPrivateReplyToCommentData, ThrowOnError>) => {
2106
2110
  return (options?.client ?? client).post<SendPrivateReplyToCommentResponse, SendPrivateReplyToCommentError, ThrowOnError>({
@@ -10034,6 +10034,25 @@ export type SendPrivateReplyToCommentData = {
10034
10034
  * The message text to send as a private DM
10035
10035
  */
10036
10036
  message: string;
10037
+ /**
10038
+ * Optional quick-reply chips appended to the message. Visible only in the
10039
+ * Instagram and Messenger apps (not on web). Maximum 13 entries.
10040
+ *
10041
+ */
10042
+ quickReplies?: Array<{
10043
+ /**
10044
+ * Label shown on the chip. Truncated by Meta beyond 20 characters.
10045
+ */
10046
+ title: string;
10047
+ /**
10048
+ * Opaque value returned in the inbound webhook when the user taps the chip.
10049
+ */
10050
+ payload: string;
10051
+ /**
10052
+ * Optional thumbnail shown next to the chip title.
10053
+ */
10054
+ imageUrl?: string;
10055
+ }>;
10037
10056
  };
10038
10057
  path: {
10039
10058
  /**