@zernio/node 0.2.547 → 0.2.548

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
@@ -8201,7 +8201,7 @@ type WebhookPayloadMessageSent = {
8201
8201
  sender: {
8202
8202
  id: string;
8203
8203
  /**
8204
- * Zernio CRM Contact id for this sender, when one exists.
8204
+ * Always omitted on this event: the sender is the business, not a contact. Use conversation.contactId to join back to the CRM Contact.
8205
8205
  */
8206
8206
  contactId?: string;
8207
8207
  name?: string;
@@ -24288,6 +24288,9 @@ type ListContactsData = {
24288
24288
  * Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.
24289
24289
  */
24290
24290
  profileId?: string;
24291
+ /**
24292
+ * Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.
24293
+ */
24291
24294
  search?: string;
24292
24295
  skip?: number;
24293
24296
  tag?: string;
package/dist/index.d.ts CHANGED
@@ -8201,7 +8201,7 @@ type WebhookPayloadMessageSent = {
8201
8201
  sender: {
8202
8202
  id: string;
8203
8203
  /**
8204
- * Zernio CRM Contact id for this sender, when one exists.
8204
+ * Always omitted on this event: the sender is the business, not a contact. Use conversation.contactId to join back to the CRM Contact.
8205
8205
  */
8206
8206
  contactId?: string;
8207
8207
  name?: string;
@@ -24288,6 +24288,9 @@ type ListContactsData = {
24288
24288
  * Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.
24289
24289
  */
24290
24290
  profileId?: string;
24291
+ /**
24292
+ * Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.
24293
+ */
24291
24294
  search?: string;
24292
24295
  skip?: number;
24293
24296
  tag?: string;
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.547",
39
+ version: "0.2.548",
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.547",
8
+ version: "0.2.548",
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.547",
3
+ "version": "0.2.548",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6311,7 +6311,7 @@ export const listWhatsAppFlowResponses = <ThrowOnError extends boolean = false>(
6311
6311
 
6312
6312
  /**
6313
6313
  * List contacts
6314
- * List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and full-text search.
6314
+ * List and search contacts for a profile. Supports filtering by tags, platform, subscription status, and text search on name, email and company.
6315
6315
  */
6316
6316
  export const listContacts = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListContactsData, ThrowOnError>) => {
6317
6317
  return (options?.client ?? client).get<ListContactsResponse, ListContactsError, ThrowOnError>({
@@ -7196,7 +7196,7 @@ export type WebhookPayloadMessageSent = {
7196
7196
  sender: {
7197
7197
  id: string;
7198
7198
  /**
7199
- * Zernio CRM Contact id for this sender, when one exists.
7199
+ * Always omitted on this event: the sender is the business, not a contact. Use conversation.contactId to join back to the CRM Contact.
7200
7200
  */
7201
7201
  contactId?: string;
7202
7202
  name?: string;
@@ -24479,6 +24479,9 @@ export type ListContactsData = {
24479
24479
  * Filter by profile. Omit to list across all profiles. Matches the profile recorded on the contact itself, which is set when the contact is created and is independent of the profile its account currently belongs to. Filter by accountId to list a contact through its channel instead.
24480
24480
  */
24481
24481
  profileId?: string;
24482
+ /**
24483
+ * Case-insensitive substring match on the contact name, email and company. Phone numbers and other platform identifiers are not matched: they live on the contact channel, not on the contact. To reach a contact from an inbox webhook, use the conversation.contactId it already carries.
24484
+ */
24482
24485
  search?: string;
24483
24486
  skip?: number;
24484
24487
  tag?: string;