@zernio/node 0.2.1510 → 0.2.1512

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
@@ -24457,6 +24457,14 @@ type YouTubePlatformData = {
24457
24457
  * Optional YouTube playlist ID to add the video to after upload (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Works for both immediate and scheduled uploads. Quota cost: 50 YouTube API units per call.
24458
24458
  */
24459
24459
  playlistId?: string;
24460
+ /**
24461
+ * Language of the title and description (BCP-47, e.g. ko).
24462
+ */
24463
+ defaultLanguage?: string;
24464
+ /**
24465
+ * Spoken language of the video (BCP-47, e.g. ko). When a video has no audio language, YouTube may set en-US once its metadata is updated.
24466
+ */
24467
+ defaultAudioLanguage?: string;
24460
24468
  };
24461
24469
  type YouTubeScopeMissingResponse = {
24462
24470
  success?: boolean;
@@ -29155,6 +29163,14 @@ type UpdatePostMetadataData = {
29155
29163
  * YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
29156
29164
  */
29157
29165
  playlistId?: string;
29166
+ /**
29167
+ * Language of the title and description (BCP-47, e.g. ko).
29168
+ */
29169
+ defaultLanguage?: string;
29170
+ /**
29171
+ * Spoken language of the video (BCP-47, e.g. ko). When a video has no audio language, YouTube may set en-US once its metadata is updated.
29172
+ */
29173
+ defaultAudioLanguage?: string;
29158
29174
  };
29159
29175
  path: {
29160
29176
  /**
@@ -57133,6 +57149,14 @@ type CreateAdCreativeData = {
57133
57149
  description?: string;
57134
57150
  callToAction?: string;
57135
57151
  }>;
57152
+ /**
57153
+ * Meta only. The Instagram account the creative runs as, mapped to `instagram_user_id`: an id from `GET /v1/ads/instagram-accounts`, including a Page-backed one.
57154
+ *
57155
+ * - Given, it is never swapped. One the ad account cannot use returns 400 `insufficient_permissions` on `instagramAccountId`.
57156
+ * - Omitted, it uses the account linked to the Page. When the ad account has no access to that one, it retries once with an authorized Instagram account, or returns 422 on `instagramAccountId` when there is none.
57157
+ *
57158
+ */
57159
+ instagramAccountId?: string;
57136
57160
  /**
57137
57161
  * Only with `carouselCards` (a 400 without them). Sets `link_data.multi_share_optimized`:
57138
57162
  *
@@ -59883,7 +59907,7 @@ type CreateStandaloneAdData = {
59883
59907
  */
59884
59908
  adSetName?: string;
59885
59909
  /**
59886
- * Meta only. Exact ad name (the single-creative ad object's name). Overrides the default, which is `name`. (For per-ad names on the multi-creative shape, set `name` on each `creatives[]` entry instead.)
59910
+ * Meta only. Exact ad name, overriding the default `name`. On the multi-creative shape it names every ad, numbered `#1`, `#2`... when there are several, unless a `creatives[]` entry sets its own `name`.
59887
59911
  */
59888
59912
  adName?: string;
59889
59913
  tracking?: AdTracking;
package/dist/index.d.ts CHANGED
@@ -24457,6 +24457,14 @@ type YouTubePlatformData = {
24457
24457
  * Optional YouTube playlist ID to add the video to after upload (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Works for both immediate and scheduled uploads. Quota cost: 50 YouTube API units per call.
24458
24458
  */
24459
24459
  playlistId?: string;
24460
+ /**
24461
+ * Language of the title and description (BCP-47, e.g. ko).
24462
+ */
24463
+ defaultLanguage?: string;
24464
+ /**
24465
+ * Spoken language of the video (BCP-47, e.g. ko). When a video has no audio language, YouTube may set en-US once its metadata is updated.
24466
+ */
24467
+ defaultAudioLanguage?: string;
24460
24468
  };
24461
24469
  type YouTubeScopeMissingResponse = {
24462
24470
  success?: boolean;
@@ -29155,6 +29163,14 @@ type UpdatePostMetadataData = {
29155
29163
  * YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
29156
29164
  */
29157
29165
  playlistId?: string;
29166
+ /**
29167
+ * Language of the title and description (BCP-47, e.g. ko).
29168
+ */
29169
+ defaultLanguage?: string;
29170
+ /**
29171
+ * Spoken language of the video (BCP-47, e.g. ko). When a video has no audio language, YouTube may set en-US once its metadata is updated.
29172
+ */
29173
+ defaultAudioLanguage?: string;
29158
29174
  };
29159
29175
  path: {
29160
29176
  /**
@@ -57133,6 +57149,14 @@ type CreateAdCreativeData = {
57133
57149
  description?: string;
57134
57150
  callToAction?: string;
57135
57151
  }>;
57152
+ /**
57153
+ * Meta only. The Instagram account the creative runs as, mapped to `instagram_user_id`: an id from `GET /v1/ads/instagram-accounts`, including a Page-backed one.
57154
+ *
57155
+ * - Given, it is never swapped. One the ad account cannot use returns 400 `insufficient_permissions` on `instagramAccountId`.
57156
+ * - Omitted, it uses the account linked to the Page. When the ad account has no access to that one, it retries once with an authorized Instagram account, or returns 422 on `instagramAccountId` when there is none.
57157
+ *
57158
+ */
57159
+ instagramAccountId?: string;
57136
57160
  /**
57137
57161
  * Only with `carouselCards` (a 400 without them). Sets `link_data.multi_share_optimized`:
57138
57162
  *
@@ -59883,7 +59907,7 @@ type CreateStandaloneAdData = {
59883
59907
  */
59884
59908
  adSetName?: string;
59885
59909
  /**
59886
- * Meta only. Exact ad name (the single-creative ad object's name). Overrides the default, which is `name`. (For per-ad names on the multi-creative shape, set `name` on each `creatives[]` entry instead.)
59910
+ * Meta only. Exact ad name, overriding the default `name`. On the multi-creative shape it names every ad, numbered `#1`, `#2`... when there are several, unless a `creatives[]` entry sets its own `name`.
59887
59911
  */
59888
59912
  adName?: string;
59889
59913
  tracking?: AdTracking;
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.1510",
39
+ version: "0.2.1512",
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.1510",
8
+ version: "0.2.1512",
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.1510",
3
+ "version": "0.2.1512",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15399,7 +15399,7 @@ export const listAdCreatives = <ThrowOnError extends boolean = false>(options: O
15399
15399
  *
15400
15400
  * ### Other fields
15401
15401
  *
15402
- * - The Page (and linked Instagram account, when present) is resolved from `accountId` as the story actor.
15402
+ * - The Page (and linked Instagram account, when present) is resolved from `accountId` as the story actor. `instagramAccountId` overrides the Instagram account.
15403
15403
  * - `creativeFeatures` configures Advantage+ enhancements.
15404
15404
  * - `promotion` is not supported and any object is rejected with 400.
15405
15405
  *
@@ -23142,6 +23142,14 @@ export type YouTubePlatformData = {
23142
23142
  * Optional YouTube playlist ID to add the video to after upload (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Works for both immediate and scheduled uploads. Quota cost: 50 YouTube API units per call.
23143
23143
  */
23144
23144
  playlistId?: string;
23145
+ /**
23146
+ * Language of the title and description (BCP-47, e.g. ko).
23147
+ */
23148
+ defaultLanguage?: string;
23149
+ /**
23150
+ * Spoken language of the video (BCP-47, e.g. ko). When a video has no audio language, YouTube may set en-US once its metadata is updated.
23151
+ */
23152
+ defaultAudioLanguage?: string;
23145
23153
  };
23146
23154
 
23147
23155
  export type YouTubeScopeMissingResponse = {
@@ -28149,6 +28157,14 @@ export type UpdatePostMetadataData = {
28149
28157
  * YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
28150
28158
  */
28151
28159
  playlistId?: string;
28160
+ /**
28161
+ * Language of the title and description (BCP-47, e.g. ko).
28162
+ */
28163
+ defaultLanguage?: string;
28164
+ /**
28165
+ * Spoken language of the video (BCP-47, e.g. ko). When a video has no audio language, YouTube may set en-US once its metadata is updated.
28166
+ */
28167
+ defaultAudioLanguage?: string;
28152
28168
  };
28153
28169
  path: {
28154
28170
  /**
@@ -58191,6 +58207,14 @@ export type CreateAdCreativeData = {
58191
58207
  description?: string;
58192
58208
  callToAction?: string;
58193
58209
  }>;
58210
+ /**
58211
+ * Meta only. The Instagram account the creative runs as, mapped to `instagram_user_id`: an id from `GET /v1/ads/instagram-accounts`, including a Page-backed one.
58212
+ *
58213
+ * - Given, it is never swapped. One the ad account cannot use returns 400 `insufficient_permissions` on `instagramAccountId`.
58214
+ * - Omitted, it uses the account linked to the Page. When the ad account has no access to that one, it retries once with an authorized Instagram account, or returns 422 on `instagramAccountId` when there is none.
58215
+ *
58216
+ */
58217
+ instagramAccountId?: string;
58194
58218
  /**
58195
58219
  * Only with `carouselCards` (a 400 without them). Sets `link_data.multi_share_optimized`:
58196
58220
  *
@@ -61115,7 +61139,7 @@ export type CreateStandaloneAdData = {
61115
61139
  */
61116
61140
  adSetName?: string;
61117
61141
  /**
61118
- * Meta only. Exact ad name (the single-creative ad object's name). Overrides the default, which is `name`. (For per-ad names on the multi-creative shape, set `name` on each `creatives[]` entry instead.)
61142
+ * Meta only. Exact ad name, overriding the default `name`. On the multi-creative shape it names every ad, numbered `#1`, `#2`... when there are several, unless a `creatives[]` entry sets its own `name`.
61119
61143
  */
61120
61144
  adName?: string;
61121
61145
  tracking?: AdTracking;