@zernio/node 0.2.449 → 0.2.451
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 +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -9
package/dist/index.d.mts
CHANGED
|
@@ -3878,7 +3878,7 @@ type InstagramPlatformData = {
|
|
|
3878
3878
|
graduationStrategy?: 'MANUAL' | 'SS_PERFORMANCE';
|
|
3879
3879
|
};
|
|
3880
3880
|
/**
|
|
3881
|
-
* Tag Instagram users
|
|
3881
|
+
* Tag Instagram users by username. The tag shape depends on the media: photos require x/y coordinates, Reels and videos take username only (coordinates are ignored), stories accept optional coordinates. For carousels, use mediaIndex to target specific slides (defaults to 0); video slides take username-only tags. Photo tags without valid coordinates are skipped.
|
|
3882
3882
|
*/
|
|
3883
3883
|
userTags?: Array<{
|
|
3884
3884
|
/**
|
|
@@ -3886,15 +3886,15 @@ type InstagramPlatformData = {
|
|
|
3886
3886
|
*/
|
|
3887
3887
|
username: string;
|
|
3888
3888
|
/**
|
|
3889
|
-
* X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right)
|
|
3889
|
+
* X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right). Required for photos, ignored for Reels/videos, optional for stories.
|
|
3890
3890
|
*/
|
|
3891
|
-
x
|
|
3891
|
+
x?: number;
|
|
3892
3892
|
/**
|
|
3893
|
-
* Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom)
|
|
3893
|
+
* Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom). Required for photos, ignored for Reels/videos, optional for stories.
|
|
3894
3894
|
*/
|
|
3895
|
-
y
|
|
3895
|
+
y?: number;
|
|
3896
3896
|
/**
|
|
3897
|
-
* Zero-based index of the carousel item to tag. Defaults to 0. Tags on
|
|
3897
|
+
* Zero-based index of the carousel item to tag. Defaults to 0. Tags on out-of-range indices are ignored.
|
|
3898
3898
|
*/
|
|
3899
3899
|
mediaIndex?: number;
|
|
3900
3900
|
}>;
|
|
@@ -6646,7 +6646,7 @@ type WebhookPayloadConversationStarted = {
|
|
|
6646
6646
|
* Internal conversation ID
|
|
6647
6647
|
*/
|
|
6648
6648
|
id: string;
|
|
6649
|
-
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms';
|
|
6649
|
+
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms' | 'slack';
|
|
6650
6650
|
platformConversationId: string;
|
|
6651
6651
|
/**
|
|
6652
6652
|
* Contact's platform identifier (IGSID, PSID, wa_id, etc.)
|
|
@@ -6678,7 +6678,7 @@ type WebhookPayloadConversationStarted = {
|
|
|
6678
6678
|
timestamp: string;
|
|
6679
6679
|
};
|
|
6680
6680
|
type event10 = 'conversation.started';
|
|
6681
|
-
type platform8 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms';
|
|
6681
|
+
type platform8 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms' | 'slack';
|
|
6682
6682
|
/**
|
|
6683
6683
|
* Webhook payload for post.external.created / post.external.updated /
|
|
6684
6684
|
* post.external.deleted. Fired by Zernio's background sync when it detects a
|
|
@@ -15354,7 +15354,7 @@ type SearchInboxConversationsData = {
|
|
|
15354
15354
|
/**
|
|
15355
15355
|
* Filter by platform (searchable platforms only)
|
|
15356
15356
|
*/
|
|
15357
|
-
platform?: 'facebook' | 'instagram' | 'telegram' | 'whatsapp' | 'sms';
|
|
15357
|
+
platform?: 'facebook' | 'instagram' | 'telegram' | 'whatsapp' | 'sms' | 'slack';
|
|
15358
15358
|
/**
|
|
15359
15359
|
* Filter by profile ID
|
|
15360
15360
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -3878,7 +3878,7 @@ type InstagramPlatformData = {
|
|
|
3878
3878
|
graduationStrategy?: 'MANUAL' | 'SS_PERFORMANCE';
|
|
3879
3879
|
};
|
|
3880
3880
|
/**
|
|
3881
|
-
* Tag Instagram users
|
|
3881
|
+
* Tag Instagram users by username. The tag shape depends on the media: photos require x/y coordinates, Reels and videos take username only (coordinates are ignored), stories accept optional coordinates. For carousels, use mediaIndex to target specific slides (defaults to 0); video slides take username-only tags. Photo tags without valid coordinates are skipped.
|
|
3882
3882
|
*/
|
|
3883
3883
|
userTags?: Array<{
|
|
3884
3884
|
/**
|
|
@@ -3886,15 +3886,15 @@ type InstagramPlatformData = {
|
|
|
3886
3886
|
*/
|
|
3887
3887
|
username: string;
|
|
3888
3888
|
/**
|
|
3889
|
-
* X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right)
|
|
3889
|
+
* X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right). Required for photos, ignored for Reels/videos, optional for stories.
|
|
3890
3890
|
*/
|
|
3891
|
-
x
|
|
3891
|
+
x?: number;
|
|
3892
3892
|
/**
|
|
3893
|
-
* Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom)
|
|
3893
|
+
* Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom). Required for photos, ignored for Reels/videos, optional for stories.
|
|
3894
3894
|
*/
|
|
3895
|
-
y
|
|
3895
|
+
y?: number;
|
|
3896
3896
|
/**
|
|
3897
|
-
* Zero-based index of the carousel item to tag. Defaults to 0. Tags on
|
|
3897
|
+
* Zero-based index of the carousel item to tag. Defaults to 0. Tags on out-of-range indices are ignored.
|
|
3898
3898
|
*/
|
|
3899
3899
|
mediaIndex?: number;
|
|
3900
3900
|
}>;
|
|
@@ -6646,7 +6646,7 @@ type WebhookPayloadConversationStarted = {
|
|
|
6646
6646
|
* Internal conversation ID
|
|
6647
6647
|
*/
|
|
6648
6648
|
id: string;
|
|
6649
|
-
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms';
|
|
6649
|
+
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms' | 'slack';
|
|
6650
6650
|
platformConversationId: string;
|
|
6651
6651
|
/**
|
|
6652
6652
|
* Contact's platform identifier (IGSID, PSID, wa_id, etc.)
|
|
@@ -6678,7 +6678,7 @@ type WebhookPayloadConversationStarted = {
|
|
|
6678
6678
|
timestamp: string;
|
|
6679
6679
|
};
|
|
6680
6680
|
type event10 = 'conversation.started';
|
|
6681
|
-
type platform8 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms';
|
|
6681
|
+
type platform8 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms' | 'slack';
|
|
6682
6682
|
/**
|
|
6683
6683
|
* Webhook payload for post.external.created / post.external.updated /
|
|
6684
6684
|
* post.external.deleted. Fired by Zernio's background sync when it detects a
|
|
@@ -15354,7 +15354,7 @@ type SearchInboxConversationsData = {
|
|
|
15354
15354
|
/**
|
|
15355
15355
|
* Filter by platform (searchable platforms only)
|
|
15356
15356
|
*/
|
|
15357
|
-
platform?: 'facebook' | 'instagram' | 'telegram' | 'whatsapp' | 'sms';
|
|
15357
|
+
platform?: 'facebook' | 'instagram' | 'telegram' | 'whatsapp' | 'sms' | 'slack';
|
|
15358
15358
|
/**
|
|
15359
15359
|
* Filter by profile ID
|
|
15360
15360
|
*/
|
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.
|
|
39
|
+
version: "0.2.451",
|
|
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.
|
|
8
|
+
version: "0.2.451",
|
|
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
|
@@ -2798,7 +2798,7 @@ export type InstagramPlatformData = {
|
|
|
2798
2798
|
graduationStrategy?: 'MANUAL' | 'SS_PERFORMANCE';
|
|
2799
2799
|
};
|
|
2800
2800
|
/**
|
|
2801
|
-
* Tag Instagram users
|
|
2801
|
+
* Tag Instagram users by username. The tag shape depends on the media: photos require x/y coordinates, Reels and videos take username only (coordinates are ignored), stories accept optional coordinates. For carousels, use mediaIndex to target specific slides (defaults to 0); video slides take username-only tags. Photo tags without valid coordinates are skipped.
|
|
2802
2802
|
*/
|
|
2803
2803
|
userTags?: Array<{
|
|
2804
2804
|
/**
|
|
@@ -2806,15 +2806,15 @@ export type InstagramPlatformData = {
|
|
|
2806
2806
|
*/
|
|
2807
2807
|
username: string;
|
|
2808
2808
|
/**
|
|
2809
|
-
* X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right)
|
|
2809
|
+
* X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right). Required for photos, ignored for Reels/videos, optional for stories.
|
|
2810
2810
|
*/
|
|
2811
|
-
x
|
|
2811
|
+
x?: number;
|
|
2812
2812
|
/**
|
|
2813
|
-
* Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom)
|
|
2813
|
+
* Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom). Required for photos, ignored for Reels/videos, optional for stories.
|
|
2814
2814
|
*/
|
|
2815
|
-
y
|
|
2815
|
+
y?: number;
|
|
2816
2816
|
/**
|
|
2817
|
-
* Zero-based index of the carousel item to tag. Defaults to 0. Tags on
|
|
2817
|
+
* Zero-based index of the carousel item to tag. Defaults to 0. Tags on out-of-range indices are ignored.
|
|
2818
2818
|
*/
|
|
2819
2819
|
mediaIndex?: number;
|
|
2820
2820
|
}>;
|
|
@@ -5688,7 +5688,7 @@ export type WebhookPayloadConversationStarted = {
|
|
|
5688
5688
|
* Internal conversation ID
|
|
5689
5689
|
*/
|
|
5690
5690
|
id: string;
|
|
5691
|
-
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms';
|
|
5691
|
+
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms' | 'slack';
|
|
5692
5692
|
platformConversationId: string;
|
|
5693
5693
|
/**
|
|
5694
5694
|
* Contact's platform identifier (IGSID, PSID, wa_id, etc.)
|
|
@@ -5722,7 +5722,7 @@ export type WebhookPayloadConversationStarted = {
|
|
|
5722
5722
|
|
|
5723
5723
|
export type event10 = 'conversation.started';
|
|
5724
5724
|
|
|
5725
|
-
export type platform8 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms';
|
|
5725
|
+
export type platform8 = 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky' | 'sms' | 'slack';
|
|
5726
5726
|
|
|
5727
5727
|
/**
|
|
5728
5728
|
* Webhook payload for post.external.created / post.external.updated /
|
|
@@ -15013,7 +15013,7 @@ export type SearchInboxConversationsData = {
|
|
|
15013
15013
|
/**
|
|
15014
15014
|
* Filter by platform (searchable platforms only)
|
|
15015
15015
|
*/
|
|
15016
|
-
platform?: 'facebook' | 'instagram' | 'telegram' | 'whatsapp' | 'sms';
|
|
15016
|
+
platform?: 'facebook' | 'instagram' | 'telegram' | 'whatsapp' | 'sms' | 'slack';
|
|
15017
15017
|
/**
|
|
15018
15018
|
* Filter by profile ID
|
|
15019
15019
|
*/
|