@zernio/node 0.2.806 → 0.2.807

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
@@ -22469,7 +22469,7 @@ type GetInboxConversationMessagesResponse = ({
22469
22469
  createdAt?: string;
22470
22470
  attachments?: Array<{
22471
22471
  id?: string;
22472
- type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share';
22472
+ type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share' | 'template';
22473
22473
  /**
22474
22474
  * Instagram and Facebook only, and present only when it differs from `type`. Meta's own type before normalization: `ig_reel` and `reel` become `video`, while `ig_post`, `post`, `ig_story` and `story_mention` become `share`. A story mention is `type: "share"` with `originalType: "story_mention"`; render on this field, since `share` alone is ambiguous.
22475
22475
  */
@@ -22484,6 +22484,12 @@ type GetInboxConversationMessagesResponse = ({
22484
22484
  refreshUrl?: (string) | null;
22485
22485
  filename?: (string) | null;
22486
22486
  previewUrl?: (string) | null;
22487
+ /**
22488
+ * Template content (title, subtitle, image, buttons) when type is template
22489
+ */
22490
+ payload?: {
22491
+ [key: string]: unknown;
22492
+ };
22487
22493
  }>;
22488
22494
  /**
22489
22495
  * Reddit message subject
package/dist/index.d.ts CHANGED
@@ -22469,7 +22469,7 @@ type GetInboxConversationMessagesResponse = ({
22469
22469
  createdAt?: string;
22470
22470
  attachments?: Array<{
22471
22471
  id?: string;
22472
- type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share';
22472
+ type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share' | 'template';
22473
22473
  /**
22474
22474
  * Instagram and Facebook only, and present only when it differs from `type`. Meta's own type before normalization: `ig_reel` and `reel` become `video`, while `ig_post`, `post`, `ig_story` and `story_mention` become `share`. A story mention is `type: "share"` with `originalType: "story_mention"`; render on this field, since `share` alone is ambiguous.
22475
22475
  */
@@ -22484,6 +22484,12 @@ type GetInboxConversationMessagesResponse = ({
22484
22484
  refreshUrl?: (string) | null;
22485
22485
  filename?: (string) | null;
22486
22486
  previewUrl?: (string) | null;
22487
+ /**
22488
+ * Template content (title, subtitle, image, buttons) when type is template
22489
+ */
22490
+ payload?: {
22491
+ [key: string]: unknown;
22492
+ };
22487
22493
  }>;
22488
22494
  /**
22489
22495
  * Reddit message subject
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.806",
39
+ version: "0.2.807",
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.806",
8
+ version: "0.2.807",
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.806",
3
+ "version": "0.2.807",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -21956,7 +21956,7 @@ export type GetInboxConversationMessagesResponse = ({
21956
21956
  createdAt?: string;
21957
21957
  attachments?: Array<{
21958
21958
  id?: string;
21959
- type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share';
21959
+ type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share' | 'template';
21960
21960
  /**
21961
21961
  * Instagram and Facebook only, and present only when it differs from `type`. Meta's own type before normalization: `ig_reel` and `reel` become `video`, while `ig_post`, `post`, `ig_story` and `story_mention` become `share`. A story mention is `type: "share"` with `originalType: "story_mention"`; render on this field, since `share` alone is ambiguous.
21962
21962
  */
@@ -21971,6 +21971,12 @@ export type GetInboxConversationMessagesResponse = ({
21971
21971
  refreshUrl?: (string) | null;
21972
21972
  filename?: (string) | null;
21973
21973
  previewUrl?: (string) | null;
21974
+ /**
21975
+ * Template content (title, subtitle, image, buttons) when type is template
21976
+ */
21977
+ payload?: {
21978
+ [key: string]: unknown;
21979
+ };
21974
21980
  }>;
21975
21981
  /**
21976
21982
  * Reddit message subject