@getlatedev/node 0.2.1190 → 0.2.1191
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 +29 -8
- package/dist/index.d.ts +29 -8
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +29 -8
package/dist/index.d.mts
CHANGED
|
@@ -9375,23 +9375,44 @@ type InstagramBusinessDiscovery = {
|
|
|
9375
9375
|
* Most recent media first, up to `limit`.
|
|
9376
9376
|
*/
|
|
9377
9377
|
media: Array<{
|
|
9378
|
-
id
|
|
9379
|
-
caption
|
|
9378
|
+
id: string;
|
|
9379
|
+
caption: (string) | null;
|
|
9380
9380
|
/**
|
|
9381
9381
|
* IMAGE, VIDEO or CAROUSEL_ALBUM
|
|
9382
9382
|
*/
|
|
9383
|
-
mediaType
|
|
9383
|
+
mediaType: (string) | null;
|
|
9384
9384
|
/**
|
|
9385
9385
|
* FEED or REELS
|
|
9386
9386
|
*/
|
|
9387
|
-
mediaProductType
|
|
9388
|
-
timestamp
|
|
9389
|
-
permalink
|
|
9387
|
+
mediaProductType: (string) | null;
|
|
9388
|
+
timestamp: (string) | null;
|
|
9389
|
+
permalink: (string) | null;
|
|
9390
9390
|
/**
|
|
9391
9391
|
* Null when the owner hides like counts
|
|
9392
9392
|
*/
|
|
9393
|
-
likeCount
|
|
9394
|
-
commentsCount
|
|
9393
|
+
likeCount: (number) | null;
|
|
9394
|
+
commentsCount: (number) | null;
|
|
9395
|
+
/**
|
|
9396
|
+
* Temporary CDN URL that expires; download the file rather than storing the link. Null on videos whose audio is licensed music, use thumbnailUrl for the cover.
|
|
9397
|
+
*/
|
|
9398
|
+
mediaUrl: (string) | null;
|
|
9399
|
+
/**
|
|
9400
|
+
* Video cover frame, VIDEO only. Temporary CDN URL.
|
|
9401
|
+
*/
|
|
9402
|
+
thumbnailUrl: (string) | null;
|
|
9403
|
+
/**
|
|
9404
|
+
* Reels only. Null on images and carousels.
|
|
9405
|
+
*/
|
|
9406
|
+
viewCount: (number) | null;
|
|
9407
|
+
/**
|
|
9408
|
+
* Carousel slides in order. Null unless mediaType is CAROUSEL_ALBUM.
|
|
9409
|
+
*/
|
|
9410
|
+
children: Array<{
|
|
9411
|
+
id: string;
|
|
9412
|
+
mediaType: (string) | null;
|
|
9413
|
+
mediaUrl: (string) | null;
|
|
9414
|
+
thumbnailUrl: (string) | null;
|
|
9415
|
+
}> | null;
|
|
9395
9416
|
}>;
|
|
9396
9417
|
};
|
|
9397
9418
|
type InstagramDemographicsResponse = {
|
package/dist/index.d.ts
CHANGED
|
@@ -9375,23 +9375,44 @@ type InstagramBusinessDiscovery = {
|
|
|
9375
9375
|
* Most recent media first, up to `limit`.
|
|
9376
9376
|
*/
|
|
9377
9377
|
media: Array<{
|
|
9378
|
-
id
|
|
9379
|
-
caption
|
|
9378
|
+
id: string;
|
|
9379
|
+
caption: (string) | null;
|
|
9380
9380
|
/**
|
|
9381
9381
|
* IMAGE, VIDEO or CAROUSEL_ALBUM
|
|
9382
9382
|
*/
|
|
9383
|
-
mediaType
|
|
9383
|
+
mediaType: (string) | null;
|
|
9384
9384
|
/**
|
|
9385
9385
|
* FEED or REELS
|
|
9386
9386
|
*/
|
|
9387
|
-
mediaProductType
|
|
9388
|
-
timestamp
|
|
9389
|
-
permalink
|
|
9387
|
+
mediaProductType: (string) | null;
|
|
9388
|
+
timestamp: (string) | null;
|
|
9389
|
+
permalink: (string) | null;
|
|
9390
9390
|
/**
|
|
9391
9391
|
* Null when the owner hides like counts
|
|
9392
9392
|
*/
|
|
9393
|
-
likeCount
|
|
9394
|
-
commentsCount
|
|
9393
|
+
likeCount: (number) | null;
|
|
9394
|
+
commentsCount: (number) | null;
|
|
9395
|
+
/**
|
|
9396
|
+
* Temporary CDN URL that expires; download the file rather than storing the link. Null on videos whose audio is licensed music, use thumbnailUrl for the cover.
|
|
9397
|
+
*/
|
|
9398
|
+
mediaUrl: (string) | null;
|
|
9399
|
+
/**
|
|
9400
|
+
* Video cover frame, VIDEO only. Temporary CDN URL.
|
|
9401
|
+
*/
|
|
9402
|
+
thumbnailUrl: (string) | null;
|
|
9403
|
+
/**
|
|
9404
|
+
* Reels only. Null on images and carousels.
|
|
9405
|
+
*/
|
|
9406
|
+
viewCount: (number) | null;
|
|
9407
|
+
/**
|
|
9408
|
+
* Carousel slides in order. Null unless mediaType is CAROUSEL_ALBUM.
|
|
9409
|
+
*/
|
|
9410
|
+
children: Array<{
|
|
9411
|
+
id: string;
|
|
9412
|
+
mediaType: (string) | null;
|
|
9413
|
+
mediaUrl: (string) | null;
|
|
9414
|
+
thumbnailUrl: (string) | null;
|
|
9415
|
+
}> | null;
|
|
9395
9416
|
}>;
|
|
9396
9417
|
};
|
|
9397
9418
|
type InstagramDemographicsResponse = {
|
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.1191",
|
|
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.1191",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -2999,6 +2999,8 @@ export const getInstagramAudio = <ThrowOnError extends boolean = false>(options:
|
|
|
2999
2999
|
*
|
|
3000
3000
|
* `likeCount` is null when the owner hides like counts.
|
|
3001
3001
|
*
|
|
3002
|
+
* Media URLs are temporary, and fields Meta does not return come back as null, never omitted.
|
|
3003
|
+
*
|
|
3002
3004
|
*/
|
|
3003
3005
|
export const getInstagramBusinessDiscovery = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetInstagramBusinessDiscoveryData, ThrowOnError>) => {
|
|
3004
3006
|
return (options?.client ?? client).get<GetInstagramBusinessDiscoveryResponse, GetInstagramBusinessDiscoveryError, ThrowOnError>({
|
|
@@ -7683,23 +7683,44 @@ export type InstagramBusinessDiscovery = {
|
|
|
7683
7683
|
* Most recent media first, up to `limit`.
|
|
7684
7684
|
*/
|
|
7685
7685
|
media: Array<{
|
|
7686
|
-
id
|
|
7687
|
-
caption
|
|
7686
|
+
id: string;
|
|
7687
|
+
caption: (string) | null;
|
|
7688
7688
|
/**
|
|
7689
7689
|
* IMAGE, VIDEO or CAROUSEL_ALBUM
|
|
7690
7690
|
*/
|
|
7691
|
-
mediaType
|
|
7691
|
+
mediaType: (string) | null;
|
|
7692
7692
|
/**
|
|
7693
7693
|
* FEED or REELS
|
|
7694
7694
|
*/
|
|
7695
|
-
mediaProductType
|
|
7696
|
-
timestamp
|
|
7697
|
-
permalink
|
|
7695
|
+
mediaProductType: (string) | null;
|
|
7696
|
+
timestamp: (string) | null;
|
|
7697
|
+
permalink: (string) | null;
|
|
7698
7698
|
/**
|
|
7699
7699
|
* Null when the owner hides like counts
|
|
7700
7700
|
*/
|
|
7701
|
-
likeCount
|
|
7702
|
-
commentsCount
|
|
7701
|
+
likeCount: (number) | null;
|
|
7702
|
+
commentsCount: (number) | null;
|
|
7703
|
+
/**
|
|
7704
|
+
* Temporary CDN URL that expires; download the file rather than storing the link. Null on videos whose audio is licensed music, use thumbnailUrl for the cover.
|
|
7705
|
+
*/
|
|
7706
|
+
mediaUrl: (string) | null;
|
|
7707
|
+
/**
|
|
7708
|
+
* Video cover frame, VIDEO only. Temporary CDN URL.
|
|
7709
|
+
*/
|
|
7710
|
+
thumbnailUrl: (string) | null;
|
|
7711
|
+
/**
|
|
7712
|
+
* Reels only. Null on images and carousels.
|
|
7713
|
+
*/
|
|
7714
|
+
viewCount: (number) | null;
|
|
7715
|
+
/**
|
|
7716
|
+
* Carousel slides in order. Null unless mediaType is CAROUSEL_ALBUM.
|
|
7717
|
+
*/
|
|
7718
|
+
children: Array<{
|
|
7719
|
+
id: string;
|
|
7720
|
+
mediaType: (string) | null;
|
|
7721
|
+
mediaUrl: (string) | null;
|
|
7722
|
+
thumbnailUrl: (string) | null;
|
|
7723
|
+
}> | null;
|
|
7703
7724
|
}>;
|
|
7704
7725
|
};
|
|
7705
7726
|
|