@getlatedev/node 0.2.606 → 0.2.607
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 +68 -0
- package/dist/index.d.ts +68 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +68 -0
package/dist/index.d.mts
CHANGED
|
@@ -2354,6 +2354,22 @@ type AnalyticsListResponse = {
|
|
|
2354
2354
|
*/
|
|
2355
2355
|
altText?: string;
|
|
2356
2356
|
}>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
2359
|
+
*/
|
|
2360
|
+
mediaProductType?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
2363
|
+
*/
|
|
2364
|
+
isAiGenerated?: boolean;
|
|
2365
|
+
/**
|
|
2366
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
2367
|
+
*/
|
|
2368
|
+
isSharedToFeed?: boolean;
|
|
2369
|
+
/**
|
|
2370
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
2371
|
+
*/
|
|
2372
|
+
mediaAudioType?: string;
|
|
2357
2373
|
}>;
|
|
2358
2374
|
pagination?: Pagination;
|
|
2359
2375
|
/**
|
|
@@ -2435,6 +2451,22 @@ type AnalyticsSinglePostResponse = {
|
|
|
2435
2451
|
*/
|
|
2436
2452
|
unavailableReason?: 'platform_withheld';
|
|
2437
2453
|
}>;
|
|
2454
|
+
/**
|
|
2455
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
2456
|
+
*/
|
|
2457
|
+
mediaProductType?: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
2460
|
+
*/
|
|
2461
|
+
isAiGenerated?: boolean;
|
|
2462
|
+
/**
|
|
2463
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
2464
|
+
*/
|
|
2465
|
+
isSharedToFeed?: boolean;
|
|
2466
|
+
/**
|
|
2467
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
2468
|
+
*/
|
|
2469
|
+
mediaAudioType?: string;
|
|
2438
2470
|
};
|
|
2439
2471
|
/**
|
|
2440
2472
|
* Overall post status. "partial" when some platforms published and others failed.
|
|
@@ -4054,6 +4086,22 @@ type ExternalPostSummary = {
|
|
|
4054
4086
|
mediaItems?: Array<{
|
|
4055
4087
|
[key: string]: unknown;
|
|
4056
4088
|
}>;
|
|
4089
|
+
/**
|
|
4090
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
4091
|
+
*/
|
|
4092
|
+
mediaProductType?: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
4095
|
+
*/
|
|
4096
|
+
isAiGenerated?: boolean;
|
|
4097
|
+
/**
|
|
4098
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
4099
|
+
*/
|
|
4100
|
+
isSharedToFeed?: boolean;
|
|
4101
|
+
/**
|
|
4102
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
4103
|
+
*/
|
|
4104
|
+
mediaAudioType?: string;
|
|
4057
4105
|
/**
|
|
4058
4106
|
* Engagement + insights for the post. `likes` and `comments` are
|
|
4059
4107
|
* available immediately after an on-demand sync (they come from the
|
|
@@ -4113,6 +4161,22 @@ type ExternalPostWebhookPost = {
|
|
|
4113
4161
|
mediaItems: Array<ExternalPostMediaItem>;
|
|
4114
4162
|
thumbnailUrl: (string) | null;
|
|
4115
4163
|
publishedAt: string;
|
|
4164
|
+
/**
|
|
4165
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
4166
|
+
*/
|
|
4167
|
+
mediaProductType?: string;
|
|
4168
|
+
/**
|
|
4169
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
4170
|
+
*/
|
|
4171
|
+
isAiGenerated?: boolean;
|
|
4172
|
+
/**
|
|
4173
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
4174
|
+
*/
|
|
4175
|
+
isSharedToFeed?: boolean;
|
|
4176
|
+
/**
|
|
4177
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
4178
|
+
*/
|
|
4179
|
+
mediaAudioType?: string;
|
|
4116
4180
|
/**
|
|
4117
4181
|
* Always "external" — distinguishes these from Zernio-originated post.* events.
|
|
4118
4182
|
*/
|
|
@@ -22336,6 +22400,10 @@ type ListWhatsAppAccountEventsData = {
|
|
|
22336
22400
|
type ListWhatsAppAccountEventsResponse = ({
|
|
22337
22401
|
events?: Array<{
|
|
22338
22402
|
id?: string;
|
|
22403
|
+
/**
|
|
22404
|
+
* WhatsApp social account the event belongs to
|
|
22405
|
+
*/
|
|
22406
|
+
accountId?: string;
|
|
22339
22407
|
/**
|
|
22340
22408
|
* Event kind, e.g. template_approved, template_rejected, account_restricted, account_disconnected
|
|
22341
22409
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -2354,6 +2354,22 @@ type AnalyticsListResponse = {
|
|
|
2354
2354
|
*/
|
|
2355
2355
|
altText?: string;
|
|
2356
2356
|
}>;
|
|
2357
|
+
/**
|
|
2358
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
2359
|
+
*/
|
|
2360
|
+
mediaProductType?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
2363
|
+
*/
|
|
2364
|
+
isAiGenerated?: boolean;
|
|
2365
|
+
/**
|
|
2366
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
2367
|
+
*/
|
|
2368
|
+
isSharedToFeed?: boolean;
|
|
2369
|
+
/**
|
|
2370
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
2371
|
+
*/
|
|
2372
|
+
mediaAudioType?: string;
|
|
2357
2373
|
}>;
|
|
2358
2374
|
pagination?: Pagination;
|
|
2359
2375
|
/**
|
|
@@ -2435,6 +2451,22 @@ type AnalyticsSinglePostResponse = {
|
|
|
2435
2451
|
*/
|
|
2436
2452
|
unavailableReason?: 'platform_withheld';
|
|
2437
2453
|
}>;
|
|
2454
|
+
/**
|
|
2455
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
2456
|
+
*/
|
|
2457
|
+
mediaProductType?: string;
|
|
2458
|
+
/**
|
|
2459
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
2460
|
+
*/
|
|
2461
|
+
isAiGenerated?: boolean;
|
|
2462
|
+
/**
|
|
2463
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
2464
|
+
*/
|
|
2465
|
+
isSharedToFeed?: boolean;
|
|
2466
|
+
/**
|
|
2467
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
2468
|
+
*/
|
|
2469
|
+
mediaAudioType?: string;
|
|
2438
2470
|
};
|
|
2439
2471
|
/**
|
|
2440
2472
|
* Overall post status. "partial" when some platforms published and others failed.
|
|
@@ -4054,6 +4086,22 @@ type ExternalPostSummary = {
|
|
|
4054
4086
|
mediaItems?: Array<{
|
|
4055
4087
|
[key: string]: unknown;
|
|
4056
4088
|
}>;
|
|
4089
|
+
/**
|
|
4090
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
4091
|
+
*/
|
|
4092
|
+
mediaProductType?: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
4095
|
+
*/
|
|
4096
|
+
isAiGenerated?: boolean;
|
|
4097
|
+
/**
|
|
4098
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
4099
|
+
*/
|
|
4100
|
+
isSharedToFeed?: boolean;
|
|
4101
|
+
/**
|
|
4102
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
4103
|
+
*/
|
|
4104
|
+
mediaAudioType?: string;
|
|
4057
4105
|
/**
|
|
4058
4106
|
* Engagement + insights for the post. `likes` and `comments` are
|
|
4059
4107
|
* available immediately after an on-demand sync (they come from the
|
|
@@ -4113,6 +4161,22 @@ type ExternalPostWebhookPost = {
|
|
|
4113
4161
|
mediaItems: Array<ExternalPostMediaItem>;
|
|
4114
4162
|
thumbnailUrl: (string) | null;
|
|
4115
4163
|
publishedAt: string;
|
|
4164
|
+
/**
|
|
4165
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
4166
|
+
*/
|
|
4167
|
+
mediaProductType?: string;
|
|
4168
|
+
/**
|
|
4169
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
4170
|
+
*/
|
|
4171
|
+
isAiGenerated?: boolean;
|
|
4172
|
+
/**
|
|
4173
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
4174
|
+
*/
|
|
4175
|
+
isSharedToFeed?: boolean;
|
|
4176
|
+
/**
|
|
4177
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
4178
|
+
*/
|
|
4179
|
+
mediaAudioType?: string;
|
|
4116
4180
|
/**
|
|
4117
4181
|
* Always "external" — distinguishes these from Zernio-originated post.* events.
|
|
4118
4182
|
*/
|
|
@@ -22336,6 +22400,10 @@ type ListWhatsAppAccountEventsData = {
|
|
|
22336
22400
|
type ListWhatsAppAccountEventsResponse = ({
|
|
22337
22401
|
events?: Array<{
|
|
22338
22402
|
id?: string;
|
|
22403
|
+
/**
|
|
22404
|
+
* WhatsApp social account the event belongs to
|
|
22405
|
+
*/
|
|
22406
|
+
accountId?: string;
|
|
22339
22407
|
/**
|
|
22340
22408
|
* Event kind, e.g. template_approved, template_rejected, account_restricted, account_disconnected
|
|
22341
22409
|
*/
|
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.607",
|
|
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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.607",
|
|
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
|
@@ -1086,6 +1086,22 @@ export type AnalyticsListResponse = {
|
|
|
1086
1086
|
*/
|
|
1087
1087
|
altText?: string;
|
|
1088
1088
|
}>;
|
|
1089
|
+
/**
|
|
1090
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
1091
|
+
*/
|
|
1092
|
+
mediaProductType?: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
1095
|
+
*/
|
|
1096
|
+
isAiGenerated?: boolean;
|
|
1097
|
+
/**
|
|
1098
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
1099
|
+
*/
|
|
1100
|
+
isSharedToFeed?: boolean;
|
|
1101
|
+
/**
|
|
1102
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
1103
|
+
*/
|
|
1104
|
+
mediaAudioType?: string;
|
|
1089
1105
|
}>;
|
|
1090
1106
|
pagination?: Pagination;
|
|
1091
1107
|
/**
|
|
@@ -1169,6 +1185,22 @@ export type AnalyticsSinglePostResponse = {
|
|
|
1169
1185
|
*/
|
|
1170
1186
|
unavailableReason?: 'platform_withheld';
|
|
1171
1187
|
}>;
|
|
1188
|
+
/**
|
|
1189
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
1190
|
+
*/
|
|
1191
|
+
mediaProductType?: string;
|
|
1192
|
+
/**
|
|
1193
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
1194
|
+
*/
|
|
1195
|
+
isAiGenerated?: boolean;
|
|
1196
|
+
/**
|
|
1197
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
1198
|
+
*/
|
|
1199
|
+
isSharedToFeed?: boolean;
|
|
1200
|
+
/**
|
|
1201
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
1202
|
+
*/
|
|
1203
|
+
mediaAudioType?: string;
|
|
1172
1204
|
};
|
|
1173
1205
|
|
|
1174
1206
|
/**
|
|
@@ -2851,6 +2883,22 @@ export type ExternalPostSummary = {
|
|
|
2851
2883
|
mediaItems?: Array<{
|
|
2852
2884
|
[key: string]: unknown;
|
|
2853
2885
|
}>;
|
|
2886
|
+
/**
|
|
2887
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
2888
|
+
*/
|
|
2889
|
+
mediaProductType?: string;
|
|
2890
|
+
/**
|
|
2891
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
2892
|
+
*/
|
|
2893
|
+
isAiGenerated?: boolean;
|
|
2894
|
+
/**
|
|
2895
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
2896
|
+
*/
|
|
2897
|
+
isSharedToFeed?: boolean;
|
|
2898
|
+
/**
|
|
2899
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
2900
|
+
*/
|
|
2901
|
+
mediaAudioType?: string;
|
|
2854
2902
|
/**
|
|
2855
2903
|
* Engagement + insights for the post. `likes` and `comments` are
|
|
2856
2904
|
* available immediately after an on-demand sync (they come from the
|
|
@@ -2911,6 +2959,22 @@ export type ExternalPostWebhookPost = {
|
|
|
2911
2959
|
mediaItems: Array<ExternalPostMediaItem>;
|
|
2912
2960
|
thumbnailUrl: (string) | null;
|
|
2913
2961
|
publishedAt: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* Instagram only: the platform media product type (e.g. FEED, REELS, STORY, AD). Absent when the platform did not report it.
|
|
2964
|
+
*/
|
|
2965
|
+
mediaProductType?: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* Instagram only: whether Instagram labeled the media as AI-generated. Absent when the platform did not report it.
|
|
2968
|
+
*/
|
|
2969
|
+
isAiGenerated?: boolean;
|
|
2970
|
+
/**
|
|
2971
|
+
* Instagram reels only: whether the reel is also shared to the main feed. Absent when the platform did not report it.
|
|
2972
|
+
*/
|
|
2973
|
+
isSharedToFeed?: boolean;
|
|
2974
|
+
/**
|
|
2975
|
+
* Instagram only: audio type of the media (MUSIC or ORIGINAL_SOUND). Absent when the platform did not report it.
|
|
2976
|
+
*/
|
|
2977
|
+
mediaAudioType?: string;
|
|
2914
2978
|
/**
|
|
2915
2979
|
* Always "external" — distinguishes these from Zernio-originated post.* events.
|
|
2916
2980
|
*/
|
|
@@ -22311,6 +22375,10 @@ export type ListWhatsAppAccountEventsData = {
|
|
|
22311
22375
|
export type ListWhatsAppAccountEventsResponse = ({
|
|
22312
22376
|
events?: Array<{
|
|
22313
22377
|
id?: string;
|
|
22378
|
+
/**
|
|
22379
|
+
* WhatsApp social account the event belongs to
|
|
22380
|
+
*/
|
|
22381
|
+
accountId?: string;
|
|
22314
22382
|
/**
|
|
22315
22383
|
* Event kind, e.g. template_approved, template_rejected, account_restricted, account_disconnected
|
|
22316
22384
|
*/
|