@zernio/node 0.2.102 → 0.2.104
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 +21 -2
- package/dist/index.d.ts +21 -2
- package/package.json +1 -1
- package/src/generated/types.gen.ts +21 -2
package/dist/index.d.mts
CHANGED
|
@@ -1360,9 +1360,13 @@ type BusinessCenter = {
|
|
|
1360
1360
|
*/
|
|
1361
1361
|
name?: string;
|
|
1362
1362
|
/**
|
|
1363
|
-
* Number of advertisers
|
|
1363
|
+
* Number of advertisers reachable under this BC for the calling token.
|
|
1364
|
+
* `null` when the BC asset walk returned empty or failed (typical for
|
|
1365
|
+
* agency apps without full BC asset read scope) — distinct from `0`,
|
|
1366
|
+
* which would imply the BC genuinely has no advertisers.
|
|
1367
|
+
*
|
|
1364
1368
|
*/
|
|
1365
|
-
advertiserCount?: number;
|
|
1369
|
+
advertiserCount?: (number) | null;
|
|
1366
1370
|
};
|
|
1367
1371
|
/**
|
|
1368
1372
|
* A single conversion event to relay to the ad platform. All PII fields
|
|
@@ -4726,6 +4730,10 @@ type GetDailyMetricsError = ({
|
|
|
4726
4730
|
});
|
|
4727
4731
|
type GetBestTimeToPostData = {
|
|
4728
4732
|
query?: {
|
|
4733
|
+
/**
|
|
4734
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4735
|
+
*/
|
|
4736
|
+
accountId?: string;
|
|
4729
4737
|
/**
|
|
4730
4738
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4731
4739
|
*/
|
|
@@ -4768,6 +4776,10 @@ type GetBestTimeToPostError = ({
|
|
|
4768
4776
|
});
|
|
4769
4777
|
type GetContentDecayData = {
|
|
4770
4778
|
query?: {
|
|
4779
|
+
/**
|
|
4780
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4781
|
+
*/
|
|
4782
|
+
accountId?: string;
|
|
4771
4783
|
/**
|
|
4772
4784
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4773
4785
|
*/
|
|
@@ -4810,6 +4822,10 @@ type GetContentDecayError = ({
|
|
|
4810
4822
|
});
|
|
4811
4823
|
type GetPostingFrequencyData = {
|
|
4812
4824
|
query?: {
|
|
4825
|
+
/**
|
|
4826
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4827
|
+
*/
|
|
4828
|
+
accountId?: string;
|
|
4813
4829
|
/**
|
|
4814
4830
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4815
4831
|
*/
|
|
@@ -12930,6 +12946,9 @@ type BoostPostData = {
|
|
|
12930
12946
|
targeting?: {
|
|
12931
12947
|
ageMin?: number;
|
|
12932
12948
|
ageMax?: number;
|
|
12949
|
+
/**
|
|
12950
|
+
* ISO country codes. Required for TikTok boosts (TikTok's ad group requires location_ids); optional on other platforms.
|
|
12951
|
+
*/
|
|
12933
12952
|
countries?: Array<(string)>;
|
|
12934
12953
|
/**
|
|
12935
12954
|
* Interest objects from /v1/ads/interests. Each must include id and name.
|
package/dist/index.d.ts
CHANGED
|
@@ -1360,9 +1360,13 @@ type BusinessCenter = {
|
|
|
1360
1360
|
*/
|
|
1361
1361
|
name?: string;
|
|
1362
1362
|
/**
|
|
1363
|
-
* Number of advertisers
|
|
1363
|
+
* Number of advertisers reachable under this BC for the calling token.
|
|
1364
|
+
* `null` when the BC asset walk returned empty or failed (typical for
|
|
1365
|
+
* agency apps without full BC asset read scope) — distinct from `0`,
|
|
1366
|
+
* which would imply the BC genuinely has no advertisers.
|
|
1367
|
+
*
|
|
1364
1368
|
*/
|
|
1365
|
-
advertiserCount?: number;
|
|
1369
|
+
advertiserCount?: (number) | null;
|
|
1366
1370
|
};
|
|
1367
1371
|
/**
|
|
1368
1372
|
* A single conversion event to relay to the ad platform. All PII fields
|
|
@@ -4726,6 +4730,10 @@ type GetDailyMetricsError = ({
|
|
|
4726
4730
|
});
|
|
4727
4731
|
type GetBestTimeToPostData = {
|
|
4728
4732
|
query?: {
|
|
4733
|
+
/**
|
|
4734
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4735
|
+
*/
|
|
4736
|
+
accountId?: string;
|
|
4729
4737
|
/**
|
|
4730
4738
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4731
4739
|
*/
|
|
@@ -4768,6 +4776,10 @@ type GetBestTimeToPostError = ({
|
|
|
4768
4776
|
});
|
|
4769
4777
|
type GetContentDecayData = {
|
|
4770
4778
|
query?: {
|
|
4779
|
+
/**
|
|
4780
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4781
|
+
*/
|
|
4782
|
+
accountId?: string;
|
|
4771
4783
|
/**
|
|
4772
4784
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4773
4785
|
*/
|
|
@@ -4810,6 +4822,10 @@ type GetContentDecayError = ({
|
|
|
4810
4822
|
});
|
|
4811
4823
|
type GetPostingFrequencyData = {
|
|
4812
4824
|
query?: {
|
|
4825
|
+
/**
|
|
4826
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4827
|
+
*/
|
|
4828
|
+
accountId?: string;
|
|
4813
4829
|
/**
|
|
4814
4830
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4815
4831
|
*/
|
|
@@ -12930,6 +12946,9 @@ type BoostPostData = {
|
|
|
12930
12946
|
targeting?: {
|
|
12931
12947
|
ageMin?: number;
|
|
12932
12948
|
ageMax?: number;
|
|
12949
|
+
/**
|
|
12950
|
+
* ISO country codes. Required for TikTok boosts (TikTok's ad group requires location_ids); optional on other platforms.
|
|
12951
|
+
*/
|
|
12933
12952
|
countries?: Array<(string)>;
|
|
12934
12953
|
/**
|
|
12935
12954
|
* Interest objects from /v1/ads/interests. Each must include id and name.
|
package/package.json
CHANGED
|
@@ -781,9 +781,13 @@ export type BusinessCenter = {
|
|
|
781
781
|
*/
|
|
782
782
|
name?: string;
|
|
783
783
|
/**
|
|
784
|
-
* Number of advertisers
|
|
784
|
+
* Number of advertisers reachable under this BC for the calling token.
|
|
785
|
+
* `null` when the BC asset walk returned empty or failed (typical for
|
|
786
|
+
* agency apps without full BC asset read scope) — distinct from `0`,
|
|
787
|
+
* which would imply the BC genuinely has no advertisers.
|
|
788
|
+
*
|
|
785
789
|
*/
|
|
786
|
-
advertiserCount?: number;
|
|
790
|
+
advertiserCount?: (number) | null;
|
|
787
791
|
};
|
|
788
792
|
|
|
789
793
|
/**
|
|
@@ -4342,6 +4346,10 @@ export type GetDailyMetricsError = ({
|
|
|
4342
4346
|
|
|
4343
4347
|
export type GetBestTimeToPostData = {
|
|
4344
4348
|
query?: {
|
|
4349
|
+
/**
|
|
4350
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4351
|
+
*/
|
|
4352
|
+
accountId?: string;
|
|
4345
4353
|
/**
|
|
4346
4354
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4347
4355
|
*/
|
|
@@ -4387,6 +4395,10 @@ export type GetBestTimeToPostError = ({
|
|
|
4387
4395
|
|
|
4388
4396
|
export type GetContentDecayData = {
|
|
4389
4397
|
query?: {
|
|
4398
|
+
/**
|
|
4399
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4400
|
+
*/
|
|
4401
|
+
accountId?: string;
|
|
4390
4402
|
/**
|
|
4391
4403
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4392
4404
|
*/
|
|
@@ -4432,6 +4444,10 @@ export type GetContentDecayError = ({
|
|
|
4432
4444
|
|
|
4433
4445
|
export type GetPostingFrequencyData = {
|
|
4434
4446
|
query?: {
|
|
4447
|
+
/**
|
|
4448
|
+
* Filter by social account ID. Omit for all accounts.
|
|
4449
|
+
*/
|
|
4450
|
+
accountId?: string;
|
|
4435
4451
|
/**
|
|
4436
4452
|
* Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
|
|
4437
4453
|
*/
|
|
@@ -13261,6 +13277,9 @@ export type BoostPostData = {
|
|
|
13261
13277
|
targeting?: {
|
|
13262
13278
|
ageMin?: number;
|
|
13263
13279
|
ageMax?: number;
|
|
13280
|
+
/**
|
|
13281
|
+
* ISO country codes. Required for TikTok boosts (TikTok's ad group requires location_ids); optional on other platforms.
|
|
13282
|
+
*/
|
|
13264
13283
|
countries?: Array<(string)>;
|
|
13265
13284
|
/**
|
|
13266
13285
|
* Interest objects from /v1/ads/interests. Each must include id and name.
|