@zernio/node 0.2.499 → 0.2.500

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
@@ -23219,11 +23219,15 @@ type ListWhatsAppFlowResponsesError = ({
23219
23219
  } | unknown);
23220
23220
  type ListContactsData = {
23221
23221
  query?: {
23222
+ /**
23223
+ * Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.
23224
+ */
23225
+ accountId?: string;
23222
23226
  isSubscribed?: 'true' | 'false';
23223
23227
  limit?: number;
23224
23228
  platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp';
23225
23229
  /**
23226
- * Filter by profile. Omit to list across all profiles
23230
+ * 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.
23227
23231
  */
23228
23232
  profileId?: string;
23229
23233
  search?: string;
package/dist/index.d.ts CHANGED
@@ -23219,11 +23219,15 @@ type ListWhatsAppFlowResponsesError = ({
23219
23219
  } | unknown);
23220
23220
  type ListContactsData = {
23221
23221
  query?: {
23222
+ /**
23223
+ * Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.
23224
+ */
23225
+ accountId?: string;
23222
23226
  isSubscribed?: 'true' | 'false';
23223
23227
  limit?: number;
23224
23228
  platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp';
23225
23229
  /**
23226
- * Filter by profile. Omit to list across all profiles
23230
+ * 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.
23227
23231
  */
23228
23232
  profileId?: string;
23229
23233
  search?: 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.499",
39
+ version: "0.2.500",
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.499",
8
+ version: "0.2.500",
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.499",
3
+ "version": "0.2.500",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -23426,11 +23426,15 @@ export type ListWhatsAppFlowResponsesError = ({
23426
23426
 
23427
23427
  export type ListContactsData = {
23428
23428
  query?: {
23429
+ /**
23430
+ * Filter by the SocialAccount that owns the contact channel. Contacts are resolved through their channels, so the profileId contact filter is not applied while accountId is set. A profileId sent alongside is still access-checked and still scopes the returned filters.tags list.
23431
+ */
23432
+ accountId?: string;
23429
23433
  isSubscribed?: 'true' | 'false';
23430
23434
  limit?: number;
23431
23435
  platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp';
23432
23436
  /**
23433
- * Filter by profile. Omit to list across all profiles
23437
+ * 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.
23434
23438
  */
23435
23439
  profileId?: string;
23436
23440
  search?: string;