@zernio/node 0.2.72 → 0.2.74
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 +26 -1
- package/dist/index.d.ts +26 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +26 -1
package/dist/index.d.mts
CHANGED
|
@@ -2389,7 +2389,7 @@ type RecyclingState = {
|
|
|
2389
2389
|
lastRecycledAt?: string;
|
|
2390
2390
|
};
|
|
2391
2391
|
/**
|
|
2392
|
-
* Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2392
|
+
* Posts are either link (with URL/media), native video (via nativeVideo), or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2393
2393
|
*/
|
|
2394
2394
|
type RedditPlatformData = {
|
|
2395
2395
|
/**
|
|
@@ -2412,6 +2412,19 @@ type RedditPlatformData = {
|
|
|
2412
2412
|
* Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
|
|
2413
2413
|
*/
|
|
2414
2414
|
flairId?: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
|
|
2417
|
+
*
|
|
2418
|
+
*/
|
|
2419
|
+
nativeVideo?: boolean;
|
|
2420
|
+
/**
|
|
2421
|
+
* When true (and nativeVideo is active), submits the video as a silent videogif (kind=videogif). Use for short looping clips without audio.
|
|
2422
|
+
*/
|
|
2423
|
+
videogif?: boolean;
|
|
2424
|
+
/**
|
|
2425
|
+
* Optional poster/thumbnail image URL for native video posts. If omitted, the first frame of the video is extracted and used automatically.
|
|
2426
|
+
*/
|
|
2427
|
+
videoPosterUrl?: string;
|
|
2415
2428
|
};
|
|
2416
2429
|
/**
|
|
2417
2430
|
* A normalized Reddit post returned by the feed and search endpoints
|
|
@@ -11591,6 +11604,10 @@ type UpdateAdData = {
|
|
|
11591
11604
|
id: string;
|
|
11592
11605
|
name: string;
|
|
11593
11606
|
}>;
|
|
11607
|
+
/**
|
|
11608
|
+
* Meta only. Omit to preserve the existing setting on update. 0 = disabled, 1 = enabled.
|
|
11609
|
+
*/
|
|
11610
|
+
advantage_audience?: 0 | 1;
|
|
11594
11611
|
};
|
|
11595
11612
|
name?: string;
|
|
11596
11613
|
};
|
|
@@ -11728,6 +11745,10 @@ type BoostPostData = {
|
|
|
11728
11745
|
id: string;
|
|
11729
11746
|
name: string;
|
|
11730
11747
|
}>;
|
|
11748
|
+
/**
|
|
11749
|
+
* Meta only. 0 = disabled (default), 1 = enabled.
|
|
11750
|
+
*/
|
|
11751
|
+
advantage_audience?: 0 | 1;
|
|
11731
11752
|
};
|
|
11732
11753
|
/**
|
|
11733
11754
|
* Max bid cap (Meta only)
|
|
@@ -11828,6 +11849,10 @@ type CreateStandaloneAdData = {
|
|
|
11828
11849
|
* Google Search RSA only. Extra descriptions.
|
|
11829
11850
|
*/
|
|
11830
11851
|
additionalDescriptions?: Array<(string)>;
|
|
11852
|
+
/**
|
|
11853
|
+
* Meta only. Controls the Advantage audience feature (targeting_automation). 0 = disabled (default), 1 = enabled. Meta Marketing API requires this field on all ad set creation requests.
|
|
11854
|
+
*/
|
|
11855
|
+
advantageAudience?: 0 | 1;
|
|
11831
11856
|
};
|
|
11832
11857
|
};
|
|
11833
11858
|
type CreateStandaloneAdResponse = ({
|
package/dist/index.d.ts
CHANGED
|
@@ -2389,7 +2389,7 @@ type RecyclingState = {
|
|
|
2389
2389
|
lastRecycledAt?: string;
|
|
2390
2390
|
};
|
|
2391
2391
|
/**
|
|
2392
|
-
* Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2392
|
+
* Posts are either link (with URL/media), native video (via nativeVideo), or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
2393
2393
|
*/
|
|
2394
2394
|
type RedditPlatformData = {
|
|
2395
2395
|
/**
|
|
@@ -2412,6 +2412,19 @@ type RedditPlatformData = {
|
|
|
2412
2412
|
* Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
|
|
2413
2413
|
*/
|
|
2414
2414
|
flairId?: string;
|
|
2415
|
+
/**
|
|
2416
|
+
* Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
|
|
2417
|
+
*
|
|
2418
|
+
*/
|
|
2419
|
+
nativeVideo?: boolean;
|
|
2420
|
+
/**
|
|
2421
|
+
* When true (and nativeVideo is active), submits the video as a silent videogif (kind=videogif). Use for short looping clips without audio.
|
|
2422
|
+
*/
|
|
2423
|
+
videogif?: boolean;
|
|
2424
|
+
/**
|
|
2425
|
+
* Optional poster/thumbnail image URL for native video posts. If omitted, the first frame of the video is extracted and used automatically.
|
|
2426
|
+
*/
|
|
2427
|
+
videoPosterUrl?: string;
|
|
2415
2428
|
};
|
|
2416
2429
|
/**
|
|
2417
2430
|
* A normalized Reddit post returned by the feed and search endpoints
|
|
@@ -11591,6 +11604,10 @@ type UpdateAdData = {
|
|
|
11591
11604
|
id: string;
|
|
11592
11605
|
name: string;
|
|
11593
11606
|
}>;
|
|
11607
|
+
/**
|
|
11608
|
+
* Meta only. Omit to preserve the existing setting on update. 0 = disabled, 1 = enabled.
|
|
11609
|
+
*/
|
|
11610
|
+
advantage_audience?: 0 | 1;
|
|
11594
11611
|
};
|
|
11595
11612
|
name?: string;
|
|
11596
11613
|
};
|
|
@@ -11728,6 +11745,10 @@ type BoostPostData = {
|
|
|
11728
11745
|
id: string;
|
|
11729
11746
|
name: string;
|
|
11730
11747
|
}>;
|
|
11748
|
+
/**
|
|
11749
|
+
* Meta only. 0 = disabled (default), 1 = enabled.
|
|
11750
|
+
*/
|
|
11751
|
+
advantage_audience?: 0 | 1;
|
|
11731
11752
|
};
|
|
11732
11753
|
/**
|
|
11733
11754
|
* Max bid cap (Meta only)
|
|
@@ -11828,6 +11849,10 @@ type CreateStandaloneAdData = {
|
|
|
11828
11849
|
* Google Search RSA only. Extra descriptions.
|
|
11829
11850
|
*/
|
|
11830
11851
|
additionalDescriptions?: Array<(string)>;
|
|
11852
|
+
/**
|
|
11853
|
+
* Meta only. Controls the Advantage audience feature (targeting_automation). 0 = disabled (default), 1 = enabled. Meta Marketing API requires this field on all ad set creation requests.
|
|
11854
|
+
*/
|
|
11855
|
+
advantageAudience?: 0 | 1;
|
|
11831
11856
|
};
|
|
11832
11857
|
};
|
|
11833
11858
|
type CreateStandaloneAdResponse = ({
|
package/package.json
CHANGED
|
@@ -1899,7 +1899,7 @@ export type RecyclingState = {
|
|
|
1899
1899
|
};
|
|
1900
1900
|
|
|
1901
1901
|
/**
|
|
1902
|
-
* Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
1902
|
+
* Posts are either link (with URL/media), native video (via nativeVideo), or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
|
|
1903
1903
|
*/
|
|
1904
1904
|
export type RedditPlatformData = {
|
|
1905
1905
|
/**
|
|
@@ -1922,6 +1922,19 @@ export type RedditPlatformData = {
|
|
|
1922
1922
|
* Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
|
|
1923
1923
|
*/
|
|
1924
1924
|
flairId?: string;
|
|
1925
|
+
/**
|
|
1926
|
+
* Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
|
|
1927
|
+
*
|
|
1928
|
+
*/
|
|
1929
|
+
nativeVideo?: boolean;
|
|
1930
|
+
/**
|
|
1931
|
+
* When true (and nativeVideo is active), submits the video as a silent videogif (kind=videogif). Use for short looping clips without audio.
|
|
1932
|
+
*/
|
|
1933
|
+
videogif?: boolean;
|
|
1934
|
+
/**
|
|
1935
|
+
* Optional poster/thumbnail image URL for native video posts. If omitted, the first frame of the video is extracted and used automatically.
|
|
1936
|
+
*/
|
|
1937
|
+
videoPosterUrl?: string;
|
|
1925
1938
|
};
|
|
1926
1939
|
|
|
1927
1940
|
/**
|
|
@@ -11871,6 +11884,10 @@ export type UpdateAdData = {
|
|
|
11871
11884
|
id: string;
|
|
11872
11885
|
name: string;
|
|
11873
11886
|
}>;
|
|
11887
|
+
/**
|
|
11888
|
+
* Meta only. Omit to preserve the existing setting on update. 0 = disabled, 1 = enabled.
|
|
11889
|
+
*/
|
|
11890
|
+
advantage_audience?: 0 | 1;
|
|
11874
11891
|
};
|
|
11875
11892
|
name?: string;
|
|
11876
11893
|
};
|
|
@@ -12020,6 +12037,10 @@ export type BoostPostData = {
|
|
|
12020
12037
|
id: string;
|
|
12021
12038
|
name: string;
|
|
12022
12039
|
}>;
|
|
12040
|
+
/**
|
|
12041
|
+
* Meta only. 0 = disabled (default), 1 = enabled.
|
|
12042
|
+
*/
|
|
12043
|
+
advantage_audience?: 0 | 1;
|
|
12023
12044
|
};
|
|
12024
12045
|
/**
|
|
12025
12046
|
* Max bid cap (Meta only)
|
|
@@ -12123,6 +12144,10 @@ export type CreateStandaloneAdData = {
|
|
|
12123
12144
|
* Google Search RSA only. Extra descriptions.
|
|
12124
12145
|
*/
|
|
12125
12146
|
additionalDescriptions?: Array<(string)>;
|
|
12147
|
+
/**
|
|
12148
|
+
* Meta only. Controls the Advantage audience feature (targeting_automation). 0 = disabled (default), 1 = enabled. Meta Marketing API requires this field on all ad set creation requests.
|
|
12149
|
+
*/
|
|
12150
|
+
advantageAudience?: 0 | 1;
|
|
12126
12151
|
};
|
|
12127
12152
|
};
|
|
12128
12153
|
|