@zernio/node 0.2.680 → 0.2.681

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
@@ -27127,7 +27127,7 @@ type ListContactsData = {
27127
27127
  accountId?: string;
27128
27128
  isSubscribed?: 'true' | 'false';
27129
27129
  limit?: number;
27130
- platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp';
27130
+ platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack';
27131
27131
  /**
27132
27132
  * 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.
27133
27133
  */
@@ -27194,7 +27194,10 @@ type CreateContactData = {
27194
27194
  * Optional. Creates a channel if provided with platform + platformIdentifier
27195
27195
  */
27196
27196
  accountId?: string;
27197
- platform?: string;
27197
+ /**
27198
+ * Channel platform. Only the enum values support contact channels; any other platform is rejected with code platform_not_supported.
27199
+ */
27200
+ platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack';
27198
27201
  platformIdentifier?: string;
27199
27202
  displayIdentifier?: string;
27200
27203
  };
package/dist/index.d.ts CHANGED
@@ -27127,7 +27127,7 @@ type ListContactsData = {
27127
27127
  accountId?: string;
27128
27128
  isSubscribed?: 'true' | 'false';
27129
27129
  limit?: number;
27130
- platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp';
27130
+ platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack';
27131
27131
  /**
27132
27132
  * 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.
27133
27133
  */
@@ -27194,7 +27194,10 @@ type CreateContactData = {
27194
27194
  * Optional. Creates a channel if provided with platform + platformIdentifier
27195
27195
  */
27196
27196
  accountId?: string;
27197
- platform?: string;
27197
+ /**
27198
+ * Channel platform. Only the enum values support contact channels; any other platform is rejected with code platform_not_supported.
27199
+ */
27200
+ platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack';
27198
27201
  platformIdentifier?: string;
27199
27202
  displayIdentifier?: string;
27200
27203
  };
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.680",
39
+ version: "0.2.681",
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.680",
8
+ version: "0.2.681",
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.680",
3
+ "version": "0.2.681",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -27372,7 +27372,7 @@ export type ListContactsData = {
27372
27372
  accountId?: string;
27373
27373
  isSubscribed?: 'true' | 'false';
27374
27374
  limit?: number;
27375
- platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp';
27375
+ platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack';
27376
27376
  /**
27377
27377
  * 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.
27378
27378
  */
@@ -27442,7 +27442,10 @@ export type CreateContactData = {
27442
27442
  * Optional. Creates a channel if provided with platform + platformIdentifier
27443
27443
  */
27444
27444
  accountId?: string;
27445
- platform?: string;
27445
+ /**
27446
+ * Channel platform. Only the enum values support contact channels; any other platform is rejected with code platform_not_supported.
27447
+ */
27448
+ platform?: 'instagram' | 'facebook' | 'telegram' | 'twitter' | 'bluesky' | 'reddit' | 'whatsapp' | 'slack';
27446
27449
  platformIdentifier?: string;
27447
27450
  displayIdentifier?: string;
27448
27451
  };