@zernio/node 0.2.450 → 0.2.452
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 +7 -7
- package/dist/index.d.ts +7 -7
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +7 -7
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
|
}>;
|
|
@@ -7711,7 +7711,7 @@ type status14 = 'pending' | 'active';
|
|
|
7711
7711
|
type WhatsAppTemplateButton = {
|
|
7712
7712
|
type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
|
|
7713
7713
|
/**
|
|
7714
|
-
* Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp).
|
|
7714
|
+
* Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp) and otp (omit it and WhatsApp supplies its own label, localized to the template language; an English label on a non-English template is rejected).
|
|
7715
7715
|
*/
|
|
7716
7716
|
text?: string;
|
|
7717
7717
|
/**
|
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
|
}>;
|
|
@@ -7711,7 +7711,7 @@ type status14 = 'pending' | 'active';
|
|
|
7711
7711
|
type WhatsAppTemplateButton = {
|
|
7712
7712
|
type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
|
|
7713
7713
|
/**
|
|
7714
|
-
* Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp).
|
|
7714
|
+
* Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp) and otp (omit it and WhatsApp supplies its own label, localized to the template language; an English label on a non-English template is rejected).
|
|
7715
7715
|
*/
|
|
7716
7716
|
text?: string;
|
|
7717
7717
|
/**
|
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.452",
|
|
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.452",
|
|
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
|
}>;
|
|
@@ -6801,7 +6801,7 @@ export type status14 = 'pending' | 'active';
|
|
|
6801
6801
|
export type WhatsAppTemplateButton = {
|
|
6802
6802
|
type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
|
|
6803
6803
|
/**
|
|
6804
|
-
* Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp).
|
|
6804
|
+
* Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp) and otp (omit it and WhatsApp supplies its own label, localized to the template language; an English label on a non-English template is rejected).
|
|
6805
6805
|
*/
|
|
6806
6806
|
text?: string;
|
|
6807
6807
|
/**
|