@zernio/node 0.2.190 → 0.2.191

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
@@ -14340,6 +14340,22 @@ type GetContactResponse = ({
14340
14340
  tags?: Array<(string)>;
14341
14341
  isSubscribed?: boolean;
14342
14342
  isBlocked?: boolean;
14343
+ /**
14344
+ * Messages sent to the contact, derived live from message history across all linked conversations.
14345
+ */
14346
+ messagesSentCount?: number;
14347
+ /**
14348
+ * Messages received from the contact, derived live from message history across all linked conversations.
14349
+ */
14350
+ messagesReceivedCount?: number;
14351
+ /**
14352
+ * Timestamp of the most recent outgoing message, or null if none.
14353
+ */
14354
+ lastMessageSentAt?: (string) | null;
14355
+ /**
14356
+ * Timestamp of the most recent incoming message, or null if none.
14357
+ */
14358
+ lastMessageReceivedAt?: (string) | null;
14343
14359
  customFields?: {
14344
14360
  [key: string]: unknown;
14345
14361
  };
@@ -14356,6 +14372,10 @@ type GetContactResponse = ({
14356
14372
  displayIdentifier?: string;
14357
14373
  isSubscribed?: boolean;
14358
14374
  conversationId?: string;
14375
+ /**
14376
+ * Most recent message (either direction) in this channel's conversation, or null if none.
14377
+ */
14378
+ lastActiveAt?: (string) | null;
14359
14379
  createdAt?: string;
14360
14380
  }>;
14361
14381
  });
package/dist/index.d.ts CHANGED
@@ -14340,6 +14340,22 @@ type GetContactResponse = ({
14340
14340
  tags?: Array<(string)>;
14341
14341
  isSubscribed?: boolean;
14342
14342
  isBlocked?: boolean;
14343
+ /**
14344
+ * Messages sent to the contact, derived live from message history across all linked conversations.
14345
+ */
14346
+ messagesSentCount?: number;
14347
+ /**
14348
+ * Messages received from the contact, derived live from message history across all linked conversations.
14349
+ */
14350
+ messagesReceivedCount?: number;
14351
+ /**
14352
+ * Timestamp of the most recent outgoing message, or null if none.
14353
+ */
14354
+ lastMessageSentAt?: (string) | null;
14355
+ /**
14356
+ * Timestamp of the most recent incoming message, or null if none.
14357
+ */
14358
+ lastMessageReceivedAt?: (string) | null;
14343
14359
  customFields?: {
14344
14360
  [key: string]: unknown;
14345
14361
  };
@@ -14356,6 +14372,10 @@ type GetContactResponse = ({
14356
14372
  displayIdentifier?: string;
14357
14373
  isSubscribed?: boolean;
14358
14374
  conversationId?: string;
14375
+ /**
14376
+ * Most recent message (either direction) in this channel's conversation, or null if none.
14377
+ */
14378
+ lastActiveAt?: (string) | null;
14359
14379
  createdAt?: string;
14360
14380
  }>;
14361
14381
  });
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.190",
39
+ version: "0.2.191",
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.190",
8
+ version: "0.2.191",
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.190",
3
+ "version": "0.2.191",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -14558,6 +14558,22 @@ export type GetContactResponse = ({
14558
14558
  tags?: Array<(string)>;
14559
14559
  isSubscribed?: boolean;
14560
14560
  isBlocked?: boolean;
14561
+ /**
14562
+ * Messages sent to the contact, derived live from message history across all linked conversations.
14563
+ */
14564
+ messagesSentCount?: number;
14565
+ /**
14566
+ * Messages received from the contact, derived live from message history across all linked conversations.
14567
+ */
14568
+ messagesReceivedCount?: number;
14569
+ /**
14570
+ * Timestamp of the most recent outgoing message, or null if none.
14571
+ */
14572
+ lastMessageSentAt?: (string) | null;
14573
+ /**
14574
+ * Timestamp of the most recent incoming message, or null if none.
14575
+ */
14576
+ lastMessageReceivedAt?: (string) | null;
14561
14577
  customFields?: {
14562
14578
  [key: string]: unknown;
14563
14579
  };
@@ -14574,6 +14590,10 @@ export type GetContactResponse = ({
14574
14590
  displayIdentifier?: string;
14575
14591
  isSubscribed?: boolean;
14576
14592
  conversationId?: string;
14593
+ /**
14594
+ * Most recent message (either direction) in this channel's conversation, or null if none.
14595
+ */
14596
+ lastActiveAt?: (string) | null;
14577
14597
  createdAt?: string;
14578
14598
  }>;
14579
14599
  });